/* origem: styles */
:root { --canvas:#f6f6f6; --surface:#fff; --sidebar:#fafafa; --ink:#202020; --secondary:#686868; --muted:#8a8a8a; --line:#e5e5e5; --hover:#efefef; --radius:10px; --success:#286647; --success-bg:#edf5ef; --warning:#80540e; --warning-bg:#fbf2de; --danger:#9d3834; --danger-bg:#f9eeed; --sidebar-width:230px; --font-ui:'Helvetica Neue',Helvetica,ui-sans-serif,system-ui,sans-serif; font-family:var(--font-ui); color:var(--ink); font-synthesis:none; line-height:1.5; font-size:14px; -webkit-font-smoothing:antialiased }
* { box-sizing:border-box }
body { margin:0; background:var(--canvas) }
button, input, select, textarea { font:inherit; color:inherit }
button, a, select { -webkit-tap-highlight-color:transparent }
button { cursor:pointer }
button:disabled { cursor:default; opacity:.46 }
a { color:inherit; text-decoration:none }
button { border:0; background:none }
input, select, textarea { min-width:0 }
input[type=search]::-webkit-search-cancel-button { cursor:pointer }
img { max-width:100%; object-fit:cover }
h1, h2, h3, p { margin:0 }
h1 { font-size:28px; line-height:1.25; letter-spacing:-.7px; font-weight:600 }
h2 { font-size:15px; font-weight:600; line-height:1.4 }
h3 { font-size:13px; font-weight:600 }
strong { font-weight:600 }
small { font-size:12px }
button, a, input, select, textarea, summary { touch-action:manipulation }
:focus-visible { outline:2px solid #202020; outline-offset:3px }
main:focus { outline:none }
h1:focus { outline:none }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.skip-link { position:fixed; top:-80px; left:16px; background:#202020; color:white; z-index:100; padding:12px 20px; border-radius:6px }
.skip-link:focus { top:12px }
.icon { width:19px; height:19px; flex-shrink:0; display:inline-block; vertical-align:middle }
.icon-button { display:inline-flex; align-items:center; justify-content:center; min-width:42px; height:42px; border-radius:7px; color:var(--secondary) }
.icon-button:hover:not(:disabled) { background:var(--hover); color:var(--ink) }
.sidebar { position:fixed; inset:0 auto 0 0; width:var(--sidebar-width); border-right:1px solid var(--line); background:var(--sidebar); z-index:20 }
.sidebar-content { display:flex; flex-direction:column; height:100%; padding:31px 13px 18px; position:relative; overflow-y:auto }
.brand { display:flex; gap:10px; align-items:center; padding:0 13px }
.brand img { filter:grayscale(1) brightness(.45) }
.brand-symbol { object-fit:contain; width:30px; height:24px }
.brand-wordmark { width:142px; height:auto; object-fit:contain }
.nav-link { min-height:43px; padding:0 12px; display:flex; align-items:center; gap:11px; font-size:13px; color:#606060; border-radius:7px; margin-bottom:3px }
.nav-link:hover { background:#eee; color:#202020 }
.nav-link.active { background:#eaeaea; color:#161616; font-weight:600 }
.nav-link .icon { width:18px; height:18px }
.nav-link>span { flex:1 }
.workspace { margin-left:var(--sidebar-width); min-height:100dvh; display:flex; flex-direction:column }
.topbar { height:72px; min-height:72px; display:flex; align-items:center; padding:0 32px; gap:22px; background:rgba(255,255,255,.98); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:15 }
.topbar-crumb { font-size:12px; color:var(--secondary); min-width:62px }
.global-search { display:flex; align-items:center; gap:10px; max-width:380px; min-width:170px; flex:1; height:37px; color:#747474; font-size:12px; border:1px solid #e7e7e7; border-radius:7px; padding:0 11px; background:#f9f9f9; text-align:left }
.global-search:hover { border-color:#c8c8c8 }
.global-search .icon { width:16px; height:16px }
.global-search>span { flex:1 }
kbd { font-family:inherit; font-size:10px; background:#fff; border:1px solid #e5e5e5; border-radius:4px; padding:1px 5px; color:#888; white-space:nowrap }
.topbar-tools { margin-left:auto; display:flex; gap:10px; align-items:center }
.notification-button { position:relative; margin-left:6px }
.assistant-button + .notification-button { margin-left:0 }
.notification-button i { position:absolute; width:4px; height:4px; border-radius:50%; background:#686868; top:10px; right:12px; border:1px solid white }
.avatar { border-radius:50%; width:32px; height:32px; min-width:32px; font-size:10px; letter-spacing:.4px; font-weight:600; background:#292929; color:white }
.avatar:hover { background:#505050 }
.avatar .profile-avatar-art { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.mobile-menu { display:none }
.demo-banner { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:11px 34px; font-size:11px; border-bottom:1px solid var(--line); background:#f2f2f2; color:#6b6b6b }
.demo-banner strong { font-weight:600; color:#464646 }
.banner-divider { margin:0 9px }
.demo-banner a { display:flex; align-items:center; gap:5px; white-space:nowrap; font-size:10px }
.demo-banner a .icon { width:12px; height:12px }
main { width:100%; max-width:1490px; padding:34px 34px 28px; margin:0 auto; flex:1 }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:26px }
.page-heading p { color:var(--secondary); font-size:12px; margin-top:7px }
.page-actions { display:flex; gap:9px; flex-shrink:0 }
.button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:37px; padding:0 13px; border-radius:7px; font-size:12px; line-height:1.25; font-weight:500; white-space:nowrap; transition:background 140ms,border-color 140ms }
.button .icon { width:15px; height:15px }
.primary { color:white; background:#242424; border:1px solid #242424; box-shadow:0 1px 1px #00000015 }
.primary:hover:not(:disabled) { background:#414141; border-color:#414141 }
.secondary { background:white; border:1px solid #dbdbdb; box-shadow:0 1px 2px #00000006 }
.secondary:hover:not(:disabled) { background:#f5f5f5; border-color:#c5c5c5 }
.button.small { font-size:11px; min-height:32px; padding:0 10px }
.text-link { display:inline-flex; gap:6px; align-items:center; font-size:11px; font-weight:500; color:#4c4c4c; padding:4px 0 }
.text-link:hover { color:#111; text-decoration:underline; text-underline-offset:3px }
.text-link .icon { width:14px; height:14px }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:21px }
.metric { border:1px solid var(--line); background:white; border-radius:var(--radius); padding:17px 18px 16px; display:flex; flex-direction:column; min-height:137px; box-shadow:0 2px 4px #00000002 }
.metric:hover { border-color:#bdbdbd }
.metric>span:first-child { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; color:#5e5e5e }
.metric>span:first-child>.icon { width:13px; height:13px; color:#919191 }
.metric-value { font-size:27px; font-weight:500; letter-spacing:-.9px; line-height:1.3; margin-top:11px; font-variant-numeric:tabular-nums; white-space:nowrap }
.metric-value small { font-size:10px; letter-spacing:0; margin-left:8px; font-weight:400; color:#737373 }
.metric-comparison { display:flex; align-items:center; gap:4px; font-size:9px; color:#7d7d7d; white-space:nowrap; margin-top:10px }
.metric-comparison strong { font-weight:500; color:#555 }
.metric-comparison .icon { width:12px; height:12px }
.metric-comparison>span:last-child { margin-left:2px }
.panel { background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 2px 5px #00000002; min-width:0 }
.overview-grid { display:grid; grid-template-columns:minmax(0,1fr) 285px; gap:20px; margin-bottom:21px }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 21px 0 }
.section-heading h2 { font-size:13px }
.section-subtitle { font-size:11px; color:#818181; padding:5px 21px 0 }
.legend { display:flex; align-items:center; gap:16px }
.legend>span { display:flex; align-items:center; gap:6px }
.table-wrap { overflow-x:auto }
.badge { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; font-size:10px; font-weight:400; padding:3px 7px; border-radius:5px; line-height:1.3 }
.compact .badge { font-size:9px; padding:3px 5px }
.empty-state { display:flex; flex-direction:column; align-items:center; text-align:center; padding:65px 20px 60px }
.empty-state>.icon { width:30px; height:30px; color:#b2b2b2; margin-bottom:18px }
.empty-state h2 { font-size:17px; font-weight:500 }
.empty-state p { max-width:360px; font-size:12px; color:#969696; margin-top:8px }
.empty-state .button { margin-top:22px }
.future-panel { display:flex; flex-direction:column; align-items:center; padding:90px 28px; text-align:center }
.future-panel>.icon { height:35px; width:35px; color:#a0a0a0; margin-bottom:25px }
.eyebrow { font-size:9px; color:#999; letter-spacing:1px; text-transform:uppercase; margin-bottom:10px }
.future-panel h2 { font-size:24px; font-weight:500 }
.future-panel p { font-size:12px; color:#929292; max-width:330px; margin-top:10px }
.future-panel .button { margin-top:28px }
.workspace-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1490px; width:100%; padding:15px 35px 25px; margin:0 auto; color:#999; font-size:9px }
.workspace-footer select { appearance:none; background:none; border:0; font-size:10px; color:#818181; padding:10px 3px; cursor:pointer }
.empty-preview { text-align:center; padding-bottom:50px }
.empty-preview>.button { margin-top:-30px }
.skeleton { background:#e9e9e9; border-radius:8px; animation:breathe 1.6s ease-in-out infinite }
.sk-heading { height:28px; width:260px; margin-bottom:35px }
.skeleton-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:15px }
.sk-card { height:138px }
.sk-chart { height:360px; margin-top:25px }
@keyframes breathe { 50% { opacity:.45 } }
dialog { border:1px solid #dfdfdf; background:white; border-radius:12px; padding:0; color:var(--ink); width:min(520px,calc(100% - 32px)); max-height:calc(100dvh - 48px); box-shadow:0 15px 80px #00000020; overflow:auto }
dialog::backdrop { background:#00000035 }
.dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:24px 24px 20px; border-bottom:1px solid var(--line) }
.dialog-heading h2 { font-size:19px; font-weight:500; line-height:1.3; letter-spacing:-.3px; padding-top:4px }
.dialog-heading p { font-size:12px; color:#929292; margin-top:7px; max-width:350px }
.dialog-heading .icon-button { margin:-5px -7px 0 0 }
.dialog-body { padding:22px 24px }
.dialog-footer { padding:17px 24px; display:flex; justify-content:flex-end; gap:9px; border-top:1px solid var(--line); background:#fdfdfd; border-radius:0 0 12px 12px }
.dialog-footer .button { min-height:40px }
.field { display:flex; flex-direction:column; gap:7px; margin-bottom:20px; font-size:12px }
.field:last-child { margin-bottom:0 }
.field input, .field select, .field textarea { font-size:14px; border:1px solid #d6d6d6; border-radius:6px; padding:10px 11px; background:white; min-height:42px; width:100% }
.field small { font-size:10px; color:#919191; line-height:1.5 }
.field textarea { resize:vertical }
.form-error { color:var(--danger) }
.form-error { font-size:11px; line-height:1.5; padding:12px; background:var(--danger-bg); border-radius:6px }
.profile-content { display:flex; flex-direction:column; gap:12px }
.profile-content .button { justify-content:flex-start; min-height:44px }
.search-dialog { width:min(660px,calc(100% - 32px)); margin-top:12dvh; max-height:73dvh }
.search-dialog-top { display:flex; align-items:center; gap:13px; padding:12px 18px; border-bottom:1px solid #eee }
.search-dialog-top>.icon { color:#929292 }
.search-dialog-top input { flex:1; border:0; background:none; font-size:15px; outline:none; height:40px; width:100% }
.search-dialog-top input::placeholder { color:#aaa }
.search-results { padding:10px 13px; overflow:auto; max-height:53dvh }
.search-intro { padding:17px 13px 19px }
.search-intro h3 { font-size:15px; font-weight:500 }
.search-intro p { font-size:11px; color:#999; margin-top:6px; line-height:1.5 }
.search-group-title { font-size:9px; letter-spacing:1px; color:#a2a2a2; text-transform:uppercase; padding:10px 12px 5px; display:block }
.search-result { display:flex; align-items:center; gap:12px; min-height:48px; padding:10px 12px; border-radius:6px; width:100%; text-align:left; font-size:13px }
.search-result>span { flex:1 }
.search-result>.icon { color:#999; width:17px; height:17px }
.search-result>.icon:last-child { width:13px; height:13px }
.search-result:hover, .search-result:focus-visible { background:#f3f3f3 }
.search-result strong { font-size:12px; font-weight:500; display:block }
.search-result small { font-size:10px; color:#999; display:block; margin-top:3px }
.search-piece-result { min-height:58px }
.search-piece-thumb { width:36px; height:48px; object-fit:cover; border-radius:3px; flex:0 0 36px; background:#f2f0eb }
.search-piece-thumb-empty { display:grid; place-items:center; color:#929292 }
.search-piece-thumb-empty .icon { width:17px; height:17px }
.search-result-count { font-size:10px; color:#aaa; padding:8px 12px }
.search-dialog-bottom { display:flex; justify-content:space-between; align-items:center; padding:11px 22px; border-top:1px solid #eee; background:#fafafa; font-size:10px; color:#999 }
.nav-modal { margin:0 auto 0 0; max-height:100dvh; height:100dvh; width:280px; border-radius:0; border:0; overflow:visible }
.nav-modal .sidebar-content { padding-top:35px }
.nav-modal .brand { padding-left:10px }
.nav-close { position:absolute; top:23px; right:-51px; color:white; border:1px solid #ffffff55 }
.nav-close:hover { color:#222 }
.toast { position:fixed; bottom:26px; left:calc(50% + var(--sidebar-width)/2); transform:translate(-50%,20px); background:#262626; color:white; font-size:12px; padding:13px 20px; border-radius:8px; box-shadow:0 6px 26px #00000020; max-width:calc(100% - 40px); opacity:0; pointer-events:none; transition:opacity 150ms,transform 150ms; z-index:60 }
.toast.visible { opacity:1; transform:translate(-50%,0) }
@media(min-width:1650px) {
 main { padding-top:44px }
 .overview-grid { grid-template-columns:minmax(0,1fr) 315px }
 .metric { padding:21px 24px }
 .metric-value { font-size:31px }
}
@media(max-width:1250px) {
 :root { --sidebar-width:205px }
 .brand { gap:8px; padding:0 10px }
 .brand-wordmark { width:123px }
 .brand-symbol { width:25px }
 .topbar { padding:0 24px; gap:14px }
 .topbar-crumb { display:none }
 .global-search { max-width:290px }
 .topbar-tools { gap:7px }
 main { padding:29px 24px }
 .demo-banner { padding:10px 24px }
 .overview-grid { grid-template-columns:minmax(0,1fr) 260px; gap:16px }
 .metric { padding:16px 14px }
 .metric-value { font-size:24px }
 .metric-comparison { font-size:8px }
 .metric-comparison>span:last-child { white-space:normal }
 .section-heading { padding-left:18px; padding-right:18px }
}
@media(max-width:1000px) {
 :root { --sidebar-width:0px }
 .sidebar { display:none }
 .topbar { padding:0 22px; height:65px; min-height:65px; gap:14px }
 .mobile-menu { display:flex }
 .global-search { max-width:340px }
 .overview-grid { grid-template-columns:minmax(0,1fr) 270px }
 .metric-grid { gap:11px }
 .metric-comparison { font-size:9px }
 .toast { left:50% }
 .workspace-footer { padding-left:25px; padding-right:25px }
}
@media(max-width:760px) {
 h1 { font-size:26px }
 .topbar { padding:0 14px; gap:7px }
 .global-search { width:36px; max-width:36px; min-width:36px; border:0; background:transparent; padding:0; justify-content:center; height:42px; flex:0 }
 .global-search>span, .global-search kbd { display:none }
 .global-search>.icon { width:18px; height:18px }
 .topbar-tools { gap:5px }
 .notification-button { margin-left:2px; min-width:34px }
 .avatar { width:29px; height:29px; min-width:29px; font-size:9px }
 .demo-banner { padding:10px 20px; font-size:10px; align-items:flex-start }
 .demo-banner>span { max-width:420px }
 .banner-divider { margin:0 6px }
 .demo-banner a { font-size:10px; min-height:24px }
 .demo-banner .text-link { font-size:10px }
 .page-heading { align-items:flex-start; flex-direction:column; gap:18px; margin-bottom:23px }
 .page-heading p { font-size:12px }
 .page-actions { gap:8px }
 .page-actions .button { min-height:42px; font-size:12px }
 .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
 .metric { padding:18px; min-height:136px }
 .metric-value { font-size:27px }
 .metric>span:first-child { font-size:11px }
 .metric-comparison { font-size:9px }
 .overview-grid { grid-template-columns:minmax(0,1fr); gap:19px }
 .section-heading { padding-left:20px; padding-right:20px }
 .legend { gap:10px }
 .workspace-footer { padding-left:22px; padding-right:22px }
 .field input, .field select, .field textarea { font-size:16px; min-height:46px }
 .field label { font-size:13px }
 .button.small { min-height:42px; font-size:11px }
 .icon-button { min-height:44px; min-width:44px }
 .avatar { width:32px; height:32px }
 .search-dialog-top input { font-size:16px }
 .dialog-footer .button { min-height:44px }
 .search-dialog { margin-top:5dvh; max-height:85dvh }
 .search-results { max-height:66dvh }
 .nav-link { min-height:45px }
 .nav-modal { width:min(280px,calc(100vw - 60px)) }
 .nav-close { right:-51px }
}
@media(max-width:560px) {
 main { padding:25px 18px 22px }
 .topbar { padding:0 9px; gap:3px }
 .mobile-menu { min-width:35px }
 .global-search { min-width:30px; width:30px; max-width:30px }
 .topbar-tools { gap:2px }
 .notification-button { min-width:32px; height:44px }
 .notification-button>.icon { width:17px }
 .notification-button i { top:12px; right:7px }
 .avatar { width:30px; height:30px; min-width:30px; font-size:9px; margin-left:4px }
 .demo-banner { padding:10px 18px }
 .demo-banner a { display:none }
 .demo-banner>span { font-size:9px; line-height:1.5 }
 .banner-divider { margin:0 5px }
 .page-heading h1 { font-size:25px }
 .page-heading p { font-size:11px; line-height:1.6 }
 .page-actions { width:100% }
 .page-actions .button { flex:1; font-size:11px; padding:0 11px }
 .page-actions .icon { width:14px }
 .metric { padding:16px 14px; min-height:130px }
 .metric>span:first-child { font-size:10px }
 .metric-value { font-size:25px; margin-top:12px }
 .metric-value small { font-size:9px; margin-left:5px }
 .metric-comparison { font-size:8px; margin-top:10px }
 .metric-comparison>span:last-child { max-width:88px }
 .metric-comparison>.icon { width:11px }
 .legend { gap:9px }
 .section-heading h2 { font-size:12px }
 .section-heading { padding:18px 18px 0 }
 .section-heading .text-link { font-size:10px; min-height:26px }
 .compact .badge { font-size:9px }
 .future-panel { padding:70px 20px }
 .future-panel h2 { font-size:22px }
 .future-panel p { font-size:11px }
 .workspace-footer { padding:12px 18px 22px; font-size:8px; gap:8px }
 .workspace-footer select { font-size:9px; min-height:44px }
 .toast { bottom:17px; width:max-content; max-width:calc(100% - 30px); font-size:11px; padding:12px 16px }
 .dialog-heading { padding:21px 20px 17px }
 .dialog-heading h2 { font-size:18px }
 .dialog-heading p { font-size:11px; line-height:1.5 }
 .dialog-body { padding:20px }
 .dialog-footer { padding:15px 20px }
 .dialog-footer>.button { font-size:11px; flex:1; padding:0 8px }
 .search-dialog-top { padding:10px 13px; gap:9px }
 .search-dialog-top input { font-size:16px }
 .search-dialog-top input::placeholder { font-size:12px }
 .search-result { gap:10px }
 .search-result>.badge { font-size:8px; padding:3px 4px }
 .search-result small { font-size:9px }
 .skeleton-grid { grid-template-columns:repeat(2,1fr) }
 .sk-heading { width:200px }
 .sk-chart { height:230px }
}
@media(prefers-reduced-motion:reduce) {
 *, *::before, *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important }
}
.workspace-footer, .field small, .legend, .metric-comparison, .search-intro p, .search-result small, .search-group-title { color:#757575 }
@media(max-width:760px) {
 .topbar-tools { gap:3px }
}
@media(max-width:560px) {
 .topbar-tools { gap:1px }
 .metric>span:first-child { font-size:11px }
 .page-heading p { font-size:12px }
}
@media(max-width:350px) {
 .notification-button { min-width:30px }
 .metric-value { font-size:22px }
 .metric-value small { font-size:8px }
 .metric { padding:15px 12px }
 .metric-grid { gap:9px }
 .metric-comparison { font-size:8px }
 .brand-wordmark { width:130px }
}
/* origem: enhancements */
.toast { display:flex; align-items:center; gap:17px; }
.toast button { color:#fff; font-size:11px; border:1px solid #ffffff55; border-radius:5px; padding:6px 10px; }
.toast button:hover { background:#ffffff12; }
@media(max-width:560px) {
 .toast { gap:11px; }
 .toast button { min-height:40px; flex-shrink:0; }
}
/* origem: foundation */
.auth-workspace { display:flex; align-items:center; justify-content:center; min-height:100dvh; padding:36px 20px; background:#f6f6f6; }
.auth-card { width:100%; max-width:420px; padding:32px; border:1px solid #e4e4e4; border-radius:12px; background:#fff; }
.auth-wordmark { width:185px; height:auto; filter:grayscale(1) brightness(.45); margin-bottom:28px; }
.auth-environment { display:block; font-size:10px; color:#777; letter-spacing:.2px; margin-bottom:9px; }
.auth-card h1 { font-size:23px; line-height:1.3; letter-spacing:-.4px; }
.auth-card > p { font-size:12px; color:#777; line-height:1.65; margin-top:11px; }
.auth-card form { margin-top:25px; }
.auth-card .field { margin-bottom:18px; }
.auth-card .field input { font-size:15px; }
.auth-submit { width:100%; min-height:43px; margin-top:6px; }
.auth-card .auth-footnote { margin-top:24px; padding-top:17px; border-top:1px solid #ededed; font-size:10px; }
.profile-summary { padding:0 0 17px; border-bottom:1px solid #eee; margin-bottom:3px; }
.profile-summary strong { font-size:15px; display:block; font-weight:500; }
.profile-summary span { font-size:11px; color:#777; margin-top:5px; display:block; }
@media(max-width:560px) {
 .auth-workspace { padding:22px 16px; align-items:flex-start; }
 .auth-card { padding:25px 23px; margin-top:24px; }
 .auth-card h1 { font-size:22px; }
 .auth-card .field input { font-size:16px; min-height:46px; }
 .auth-submit { min-height:46px; }
}
.auth-card .auth-notice, .auth-notice { padding:12px 14px; background:#f4f4f4; border-radius:7px; color:#555; font-size:12px; line-height:1.6; margin-top:18px; }
.auth-recipient { font-size:12px; line-height:1.7; color:#666; margin-bottom:22px; overflow-wrap:anywhere; }
.auth-recipient strong { display:block; font-weight:500; color:#222; }
.auth-code { letter-spacing:.35em; font-variant-numeric:tabular-nums; }
.auth-code-actions { display:flex; justify-content:space-between; gap:12px; margin-top:18px; }
.auth-code-actions button { min-height:44px; }
/* origem: operations */
.ops-loading { padding:50px 22px; color:var(--muted,#777); font-size:12px; }
.page-actions { flex-wrap:wrap; }
/* origem: workflow */
.nav-subitems { padding:0 0 8px 30px }
.nav-subitem { display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:7px 12px;font-size:12px;border-radius:6px;color:var(--secondary);text-decoration:none }
.nav-subitem:hover { background:#eee;color:var(--ink) }
.nav-subitem.active { background:#e9e9e9;color:var(--ink);font-weight:600 }
.sidebar-toggle { display:flex;align-items:center;gap:8px;min-height:40px;border:1px solid var(--line);background:white;border-radius:7px;padding:8px 10px;font-size:12px;cursor:pointer;margin-bottom:12px }
.sidebar-toggle .icon { width:16px;height:16px }
.sidebar-content>.brand { flex-shrink:0 }
.nav-modal { background:var(--sidebar) }
.nav-modal .sidebar-content { height:100%;max-height:100dvh }
.nav-modal .nav-subitem { min-height:44px }
.nav-modal .nav-close { right:8px;top:25px;color:var(--ink);border:0;background:var(--sidebar) }
.todo-group { padding:20px }
.todo-group .section-heading { margin-bottom:12px }
.todo-group h2 { font-size:16px }
.todo-group p { color:var(--secondary);font-size:13px }
@media(min-width:1001px) {
 .sidebar-collapsed { --sidebar-width:72px }
 .sidebar-collapsed .sidebar-content { padding-left:10px;padding-right:10px }
 .sidebar-collapsed .brand { justify-content:center;align-self:center;width:52px;min-height:52px;padding:8px 0;margin-bottom:16px;gap:0 }
 .sidebar-collapsed .brand-symbol { flex-shrink:0 }
 .sidebar-collapsed .brand-wordmark, .sidebar-collapsed .sidebar-toggle span, .sidebar-collapsed .nav-link>span, .sidebar-collapsed .nav-subitems { display:none }
 .sidebar-collapsed .nav-link, .sidebar-collapsed .sidebar-toggle { justify-content:center;padding:12px }
 .sidebar-collapsed .nav-link { min-height:44px }
 .sidebar-collapsed .sidebar-toggle { width:100% }
}
@media(max-width:760px) {
 .todo-group { padding:16px }
}
/* origem: ui-refinement */
.nav-group-heading { display:flex;align-items:center;gap:2px }
.nav-subitems[hidden] { display:none }
.field-caption { display:inline-flex!important;align-items:center;gap:5px;flex-wrap:wrap }
.field-info { display:inline-grid;place-items:center;width:22px;height:22px;min-width:22px;padding:0;border:0;background:transparent;color:#929292;cursor:help;vertical-align:middle;line-height:1 }
.field-info .icon { width:13px!important;height:13px!important }
.field-info:hover, .field-info:focus-visible { color:#222 }
.field-info:focus-visible { outline:2px solid #555;outline-offset:1px;border-radius:50% }
.field-info-compact { flex:0 0 22px;position:relative!important;inset:auto!important;transform:none!important }
.field-tooltip { position:fixed;z-index:9000;width:max-content;max-width:min(300px,calc(100vw - 16px));background:#292929;color:white;padding:12px 14px;font-size:12px;font-weight:400;line-height:1.6;border-radius:7px;box-shadow:0 6px 20px #0002;white-space:normal;overflow-wrap:anywhere }
.field-tooltip[hidden] { display:none }
@media(min-width:1001px) {
 .sidebar-collapsed .nav-group-heading { display:block }
 .sidebar-collapsed .current-group>.nav-group-heading { background:#e9e9e9;border-radius:6px }
}
@media(max-width:800px) {
 .field-info { width:26px;height:26px;min-width:26px }
}
select[data-collection-enhanced][hidden] { display:none!important }
.nav-group-unified { border:0;background:none;color:inherit;width:100%;font:inherit;text-align:left;display:flex;align-items:center;gap:12px;padding:10px 12px;cursor:pointer;min-height:42px }
.nav-group-unified>span { flex:1 }
.nav-group-unified>.icon:last-child { width:13px;height:13px;opacity:.5 }
.nav-group-unified:focus-visible { outline:2px solid #555;outline-offset:-2px }
.sidebar .nav-link.active, .sidebar .nav-subitem.active, .nav-modal .nav-link.active, .nav-modal .nav-subitem.active, .nav-section.current-group .nav-group-heading { background:transparent!important;box-shadow:none;color:#171717;font-weight:600 }
.nav-subitem.active:before { background:#222 }
.sidebar-collapsed .nav-group-unified>span, .sidebar-collapsed .nav-group-unified>.icon:last-child { display:none }
.sidebar-collapsed .nav-group-unified { justify-content:center;padding:10px }
.sidebar-collapsed .nav-group-unified { display:flex }
/* origem: control-fixes */
input[type="checkbox"]:not([role="switch"]) { appearance:none;-webkit-appearance:none;display:inline-block;width:18px;min-width:18px;height:18px;min-height:18px;padding:0;margin:0;border:1px solid #c8c8c8;border-radius:4px;background:#fff;vertical-align:middle;flex:0 0 18px;cursor:pointer;transition:background .16s,border-color .16s }
input[type="checkbox"]:not([role="switch"]):checked { border-color:#262626;background:#262626 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat }
input[type="checkbox"]:not([role="switch"]):focus-visible { outline:0;box-shadow:0 0 0 3px #2222;border-color:#222 }
input[type="checkbox"]:not([role="switch"]):disabled { cursor:default;opacity:.5 }
@media(prefers-reduced-motion:reduce) {
 input[type="checkbox"] { transition:none }
}
.field input:not([type="checkbox"]):focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline:0;border-color:#555;box-shadow:0 0 0 2px #2221 }
/* origem: management */
.management-empty { padding:48px 24px;display:grid;justify-items:center;gap:16px;text-align:center }
.management-empty h1, .management-empty h2, .management-empty h3, .management-empty p { margin:0 }
.management-empty h2, .management-empty h3 { font-size:16px;font-weight:500 }
.management-empty p { font-size:13px;line-height:1.65;color:var(--muted);max-width:440px }
.management-empty.compact { padding:32px 24px }
.tasks-panel>.text-link { margin:0 20px 18px }
/* origem: productivity */
.notification-button { position:relative }
.todo-group>summary { display:flex;align-items:center;justify-content:space-between;padding:20px;gap:16px;list-style:none;cursor:pointer }
.todo-group>summary::-webkit-details-marker { display:none }
.todo-group>summary h2 { margin:0;font-size:15px;font-weight:500 }
.todo-group>summary .icon { transition:transform .15s }
.todo-group[open]>summary>.icon { transform:rotate(90deg) }
@media(max-width:650px) {
 .todo-group>summary { padding:18px }
}
/* origem: ops-center */
.oc-center { max-width:1400px;margin:0 auto }
.oc-center .page-heading p { color:var(--muted,#737373);max-width:760px;line-height:1.6;margin-top:8px }
.oc-panel { padding:24px;margin-bottom:20px;min-width:0 }
.oc-panel h2 { font-size:17px;line-height:1.4 }
.oc-panel h3 { font-size:14px;margin:22px 0 10px }
.oc-panel p { line-height:1.6;color:var(--muted,#737373) }
.oc-section-title, .oc-service, .oc-row-actions, .oc-form-actions, .oc-pagination { display:flex;align-items:center;gap:16px }
.oc-section-title { justify-content:space-between;margin-bottom:18px }
.oc-section-title h2 { margin:0 }
.oc-services { display:grid }
.oc-service { justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line,#ededed) }
.oc-service:last-child { border-bottom:0 }
.oc-service strong { font-size:14px }
.oc-service small, .oc-table small, .oc-check small { display:block;font-size:12px;color:var(--muted,#737373);line-height:1.6;margin-top:5px }
.oc-badge { display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;line-height:1.4;padding:5px 9px;border:1px solid #dedede;border-radius:6px;background:#fafafa;color:#555;white-space:normal;text-align:center;max-width:230px }
.oc-ok { border-color:#c9ddcf;color:#326142;background:#f6faf7 }
.oc-warning { border-color:#e4d8ba;color:#776138;background:#fbfaf6 }
.oc-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px }
.oc-notice { background:#f7f7f7;border:1px solid #ebebeb;padding:14px;border-radius:8px;font-size:13px }
.oc-filters { display:grid;grid-template-columns:1.2fr 1.1fr 1fr 1fr;gap:12px;margin-bottom:24px }
.oc-filters .field:last-child { grid-column:1/-1 }
.oc-form { display:grid;gap:18px }
.oc-form .field { display:grid;gap:8px }
.oc-form textarea { width:100%;min-height:150px;resize:vertical }
.oc-form fieldset { border:1px solid #e5e5e5;border-radius:8px;padding:16px;display:grid;gap:12px;margin:0;min-width:0 }
.oc-form legend { font-size:13px;font-weight:600;padding:0 6px }
.oc-check { display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;cursor:pointer }
.oc-check input { width:16px;height:16px;accent-color:#222;flex-shrink:0;margin-top:3px }
.oc-form-error:empty { display:none }
.oc-form-error { color:#854545!important;font-size:13px;margin:0 }
.oc-form-actions { justify-content:flex-end;flex-wrap:wrap }
.oc-action { width:176px;min-width:176px;justify-content:center;text-align:center;white-space:normal }
.oc-pagination { justify-content:flex-end;margin-top:20px;flex-wrap:wrap }
.oc-pagination>span:first-child { margin-right:auto;color:#737373;font-size:13px }
.oc-table { width:100%;font-size:13px }
.oc-table td { vertical-align:top }
.oc-table code { font-size:11px;overflow-wrap:anywhere;white-space:normal }
.oc-table .oc-action { display:flex;margin-top:10px }
.oc-dialog { width:min(620px,calc(100vw - 32px)) }
.oc-dialog>.oc-form { padding:24px }
.oc-empty { padding:22px 0 }
.oc-center a:focus-visible, .oc-center button:focus-visible, .oc-center input:focus-visible { outline:2px solid #333;outline-offset:3px }
@media(max-width:1000px) {
 .oc-filters { grid-template-columns:1fr 1fr }
 .oc-row-actions { flex-wrap:wrap;justify-content:flex-end }
}
@media(max-width:640px) {
 .oc-panel { padding:18px }
 .oc-grid { grid-template-columns:1fr;gap:14px }
 .oc-service { align-items:flex-start;flex-direction:column;gap:10px }
 .oc-row-actions { width:100%;justify-content:flex-start }
 .oc-action { width:100%;min-width:0 }
 .oc-section-title { align-items:flex-start;flex-direction:column }
 .oc-section-title>.oc-action { width:100% }
 .oc-form-actions { flex-direction:column }
 .oc-form-actions>* { width:100% }
 .oc-filters { grid-template-columns:1fr 1fr }
 .oc-pagination .oc-action { width:auto;flex:1 }
 .oc-table { min-width:620px }
 .oc-dialog>.oc-form { padding:18px }
}
.oc-form .field { margin:0 }
.oc-table th { text-align:left }
.oc-center { max-width:1200px }
.oc-center .page-heading { align-items:flex-start;gap:24px }
.oc-panel h2 { font-size:15px;font-weight:500 }
.oc-section-title { gap:20px;flex-wrap:wrap }
.oc-toolbar-actions { display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap }
.oc-section-title>.oc-toolbar-actions { margin-left:auto }
.oc-center .oc-action, .oc-dialog .oc-action { width:156px;min-width:156px;min-height:38px;padding:9px 12px;font-size:12px;line-height:1.5;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;margin-top:0 }
.oc-form-actions { gap:8px;padding-top:18px;border-top:1px solid #ededed }
.oc-row-actions { gap:10px;flex-shrink:0 }
.oc-user-row { padding:22px 0;gap:24px;align-items:center }
.oc-user-meta { display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#666;font-size:12px;margin:9px 0 }
.oc-user-meta>span+span:before { content:'·';margin-right:12px;color:#999 }
.oc-user-identity { min-width:0 }
.oc-user-identity>small { overflow-wrap:anywhere }
.oc-check { font-size:13px;gap:12px }
.oc-check input:not([role=switch]) { width:18px;height:18px;min-width:18px;margin-top:1px }
.oc-form fieldset { padding:18px;gap:16px }
.oc-form legend { font-weight:500 }
.oc-filters .field { margin:0;min-width:0 }
.oc-filters select, .oc-filters input { min-width:0;width:100% }
.oc-center .oc-table .oc-action { margin-top:10px }
.oc-dialog .oc-form-actions { display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap }
.oc-notice { margin:0 }
.oc-panel>.oc-grid { align-items:start }
@media(max-width:950px) {
 .oc-center .page-heading { flex-wrap:wrap }
 .oc-center .page-heading>.oc-toolbar-actions { margin-left:auto }
}
@media(max-width:640px) {
 .oc-toolbar-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px }
 .oc-center .oc-action, .oc-dialog .oc-action { width:100%;min-width:0;max-width:100%;font-size:12px }
 .oc-center .oc-row-actions { width:100%;justify-content:space-between;flex-direction:row }
 .oc-section-title>.oc-toolbar-actions { margin:0 }
 .oc-form-actions, .oc-dialog .oc-form-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;flex-direction:row }
 .oc-form-actions>.button:only-child { grid-column:1/-1 }
 .oc-user-row { align-items:flex-start;flex-direction:column;gap:16px }
 .oc-user-row .oc-row-actions .oc-action { width:156px }
 .oc-center .oc-pagination .oc-action { width:auto;flex:1 }
 .oc-center .page-heading>.oc-toolbar-actions { margin:0 }
}
/* origem: media-adjustment */
[data-author-drag] { touch-action:none;width:44px;height:44px;user-select:none }
/* origem: catalog-assist */
body [data-cta-action="preview"], body [data-cta-action="queue"] { min-height:40px; }
@media(max-width:700px) {
 body [data-cta-action="preview"], body [data-cta-action="queue"] { min-height:48px; }
}
/* origem: appearance */
:root { --canvas:#fff; --sidebar:#fff; --entry-ease:cubic-bezier(.2,.7,.2,1); }
body, .auth-workspace, .workspace, .topbar, .demo-banner, .workspace-footer { background:#fff; }
.metric { font-variant-numeric:tabular-nums; }
.metric>span:first-child { color:#454954; }
.metric-comparison { color:#595f69; }
#app .sidebar :is(.nav-link.active,.nav-subitem.active,.nav-group-unified[aria-expanded=true],.nav-section.current-group>.nav-group-unified) { color:#171717; }
.nav-link.active { background:#f0f0f0; }
.nav-subitem.active { color:#171717;background:#f0f0f0;border-radius:8px; }
.nav-link:focus-visible, .nav-group-unified:focus-visible, .nav-subitem:focus-visible, .appearance-option:focus-visible { outline:none;box-shadow:inset 0 0 0 2px #252525; }
.sidebar-content { animation:sidebar-enter 300ms var(--entry-ease) both; }
.sidebar-appearance { margin-top:auto;padding-top:16px; }
.appearance-trigger { width:100%;text-align:left;cursor:pointer;border:0;font:inherit; }
.appearance-trigger .icon { flex:none; }
.appearance-flyout { position:fixed;z-index:45;background:#fff;border:1px solid var(--accent-line);border-radius:20px;padding:8px;max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 16px 48px rgba(102,90,60,.11);animation:flyout-enter 200ms var(--entry-ease) both; }
.appearance-flyout-heading { padding:16px;color:#252525;font-size:12px;font-weight:600; }
.appearance-options, .floating-nav-items { display:grid;gap:8px; }
.appearance-option { display:flex;align-items:center;gap:16px;width:100%;min-height:72px;text-align:left;padding:12px;border:0;border-radius:12px;background:white;font:inherit;cursor:pointer; }
.appearance-option:hover { background:#f7f7f7; }
.appearance-option[aria-pressed=true] { background:#f0f0f0; }
.appearance-option>span:nth-child(2) { display:grid;gap:4px;flex:1;min-width:0; }
.appearance-option strong { font-size:13px;font-weight:500; }
.appearance-option small { font-size:11px;line-height:1.5;color:#626774; }
.appearance-option>.icon { width:16px;height:16px;color:#252525; }
.menu-preview { display:flex;width:32px;height:32px;gap:3px;border:1px solid #aaa;border-radius:6px;padding:4px;flex:none; }
.menu-preview i { width:11px;background:#555;border-radius:2px; }
.menu-preview b { flex:1;background:#e9e9e9;border-radius:2px; }
.floating-nav-items .nav-subitem { margin:0;padding:12px 16px;min-height:44px;border-radius:12px; }
.floating-nav-items .nav-subitem:hover { background:#f4f4f4; }
.team-avatar { width:40px;height:40px;object-fit:cover;border-radius:50%;flex:none;background:var(--accent-soft); }
.avatar { overflow:hidden;padding:0;background:var(--accent-soft); }
.avatar .team-avatar { width:100%;height:100%; }
.oc-user-row>.team-avatar { width:48px;height:48px; }
.oc-user-row .oc-user-identity { flex:1;min-width:0; }
.profile-content>[data-avatar-user] { justify-content:flex-start; }
.icon-disclosure { list-style:none; }
.icon-disclosure::-webkit-details-marker { display:none; }
.icon-disclosure>.disclosure-icon { width:16px;height:16px;display:inline-block;vertical-align:middle;margin-right:8px;transition:transform 180ms var(--entry-ease);flex:none; }
details[open]>.icon-disclosure>.disclosure-icon { transform:rotate(90deg); }
.card-enter { animation:card-enter 350ms var(--entry-ease) var(--entry-delay,0ms) backwards; }
@keyframes card-enter { from { opacity:0;transform:translateY(12px); } to { opacity:1;transform:translateY(0); } }
@keyframes sidebar-enter { from { opacity:0;transform:translateX(-8px); } to { opacity:1;transform:translateX(0); } }
@keyframes flyout-enter { from { opacity:0;transform:translateX(-6px); } to { opacity:1;transform:translateX(0); } }
@media(min-width:1001px) {
 #app.sidebar-floating { --sidebar-width:112px; }
 #app.sidebar-floating>.sidebar { inset:16px auto 16px 16px;width:80px;border:1px solid var(--accent-line);border-radius:40px;background:#fff;box-shadow:0 8px 32px rgba(102,90,60,.05); }
 #app.sidebar-floating .sidebar-content { padding:16px 8px 32px;overflow:hidden; }
 #app.sidebar-floating .sidebar-appearance { margin-top:0;padding-top:16px;flex-shrink:0; }
 #app.sidebar-floating .sidebar-header { justify-content:center;padding:8px 0 24px;min-height:64px; }
 #app.sidebar-floating .brand { width:40px;height:32px;justify-content:center; }
 #app.sidebar-floating .brand-symbol { display:block;width:28px;height:28px; }
 #app.sidebar-floating .brand-wordmark, #app.sidebar-floating .sidebar-toggle { display:none; }
 #app.sidebar-floating .sidebar-nav { gap:8px;min-height:0;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin; }
 #app.sidebar-floating .nav-section { margin:0;padding:0; }
 #app.sidebar-floating .sidebar :is(.nav-link,.nav-group-unified) { display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;margin:0 auto;border-radius:50%; }
 #app.sidebar-floating .sidebar :is(.nav-link,.nav-group-unified)>.icon { width:20px;height:20px;margin:0; }
 #app.sidebar-floating .sidebar :is(.nav-link,.nav-group-unified)>span, #app.sidebar-floating .sidebar .nav-group-unified>.icon:last-child, #app.sidebar-floating .sidebar .nav-subitems { display:none; }
 #app.sidebar-floating .nav-section.current-group>.nav-group-unified { background:#f0f0f0; }
 #app.sidebar-floating .sidebar :is(.nav-link,.nav-group-unified):hover { background:#f0f0f0; }
 .sidebar-collapsed .sidebar-appearance .appearance-trigger { justify-content:center;padding:12px; }
 .sidebar-collapsed .sidebar-appearance .appearance-trigger>span { display:none; }
}
@media(min-width:1001px) and (max-height:800px) {
 #app.sidebar-floating .sidebar-header { min-height:56px;padding-bottom:16px; }
 #app.sidebar-floating .sidebar :is(.nav-link,.nav-group-unified) { width:40px;height:40px;min-height:40px; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .sidebar :is(.nav-link,.nav-group-unified):hover>.icon:first-child { animation:nav-icon-tilt 460ms cubic-bezier(.25,.65,.3,1) both;transform-origin:50% 60%; }
}
@keyframes nav-icon-tilt { 0%,100% { transform:rotate(0); } 38% { transform:rotate(10deg); } 70% { transform:rotate(-2deg); } }
.auth-workspace.auth-loading { align-items:center; }
.brand-loading { display:grid;place-items:center; }
.brand-loading img { width:72px;height:72px;object-fit:contain; }
@media(max-width:1000px) {
 .sidebar-appearance { display:none; }
}
@media(max-width:600px) {
 .oc-user-row>.team-avatar { width:40px;height:40px; }
}
@media(prefers-reduced-motion:reduce) {
 .card-enter, .sidebar-content, .appearance-flyout { animation:none; }
 .icon-disclosure>.disclosure-icon { transition:none; }
}
/* origem: spacing */
:root { --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 40px; --space-6: 48px; --space-8: 64px; --panel-padding: var(--space-3); --section-gap: var(--space-3); }
main { padding: var(--space-4); }
.page-heading { gap: var(--space-3); margin-bottom: var(--space-3); }
.page-heading p { margin-top: var(--space-1); line-height: 1.6; }
.page-actions { gap: var(--space-1); flex-wrap: wrap; }
.button { gap: var(--space-1); min-height: var(--space-5); padding: var(--space-1) var(--space-2); }
.field { gap: var(--space-1); margin-bottom: var(--space-2); min-width: 0; }
.field :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]):not([type=hidden]),select,textarea) { padding: var(--space-1) var(--space-2); min-height: var(--space-5); min-width: 0; line-height: 1.5; }
.field > small { line-height: 1.6; }
.field > span { gap: var(--space-1); }
.field-info { flex-shrink: 0; }
.text-link { gap: var(--space-1); }
.overview-grid { gap: var(--section-gap); }
.overview-grid, .metric-grid { margin-bottom: var(--section-gap); }
.metric-grid { gap: var(--space-2); }
.section-heading { gap: var(--space-2); padding: var(--panel-padding) var(--panel-padding) 0; }
body :is(.oc-panel) { padding: var(--panel-padding); }
body :is(.oc-panel) h2 { margin-top: 0; }
body :is(.oc-form,.oc-filters) { gap: var(--space-2); }
body :is(.oc-toolbar-actions,.oc-row-actions,.oc-form-actions) { gap: var(--space-1); }
body dialog[open] :is(.dialog-heading) { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); padding: var(--panel-padding); border-bottom: 1px solid var(--line, #e5e5e5); }
body dialog[open] :is(.dialog-heading) h2 { padding: 0; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
body dialog[open] :is(.dialog-heading) p { margin: var(--space-1) 0 0; line-height: 1.6; }
body dialog[open] :is(.dialog-heading) > .icon-button { margin: 0; flex-shrink: 0; }
body dialog[open] :is(.dialog-body) { padding: var(--panel-padding); min-width: 0; }
body dialog[open] :is(.dialog-body) > p { margin: 0 0 var(--space-2); line-height: 1.6; }
body dialog[open] :is(.dialog-body) > p:last-child { margin-bottom: 0; }
body dialog[open] :is(.dialog-footer) { padding: var(--space-2) var(--panel-padding); gap: var(--space-1); flex-wrap: wrap; }
body dialog[open] :is(.dialog-footer) > .button { min-height: var(--space-5); min-width: 128px; }
.oc-panel { margin-bottom: var(--section-gap); }
.oc-section-title { gap: var(--space-2); margin-bottom: var(--space-3); }
.oc-grid { gap: var(--space-3); }
.oc-user-row { padding-block: var(--space-3); }
.oc-user-meta { gap: var(--space-2); }
.oc-service small, .oc-user-identity small { margin-top: var(--space-1); }
.oc-notice { padding: var(--space-2); }
.oc-form fieldset { padding: var(--space-2); }
.oc-form-actions { padding-top: var(--space-3); }
.oc-check { gap: var(--space-1); }
.oc-panel h3 { margin: var(--space-3) 0 var(--space-2); }
body details.todo-group { padding: 0; }
body .todo-group:not(details) { padding: var(--panel-padding); }
body .todo-group > summary { padding: var(--panel-padding); gap: var(--space-2); }
@media (max-width: 700px) {
 :root { --panel-padding: var(--space-2); }
 main { padding: var(--space-3) var(--space-2); }
 .page-heading { align-items: flex-start; }
 .button { min-height: var(--space-6); }
 .field :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=file]):not([type=hidden]),select) { min-height: var(--space-6); }
 .oc-row-actions, .oc-form-actions { gap: var(--space-1); }
 body dialog[open] :is(.dialog-footer) > .button { flex: 1; min-width: 0; min-height: var(--space-6); }
 body :is(#app,dialog[open]) :is(.button,.icon-button) { min-height: var(--space-6); height: auto; }
 body :is(#app,dialog[open]) .icon-button { min-width: var(--space-6); }
 body :is(#app,dialog[open]) :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select,textarea) { min-height: var(--space-6); min-width: 0; max-width: 100%; font-size: 16px; }
 body :is(#app,dialog[open]) button.text-link { min-height: var(--space-6); min-width: var(--space-6); }
 body :is(#app,dialog[open]) :is(.oc-check) { min-height: var(--space-6); }
}
@media(max-width:700px) {
 body .topbar { display:grid;grid-template-columns:48px minmax(0,1fr) 48px 48px 48px;height:auto;min-height:120px;padding:8px 16px;gap:8px;align-items:center }
 body .topbar>.mobile-menu { grid-area:1/1;min-width:48px;width:48px;height:48px }
 body .topbar>.global-search { grid-area:1/2;min-width:0;width:100%;max-width:none;height:48px;min-height:48px;padding:8px;gap:8px }
 body .topbar>.global-search>span { display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }
 body .topbar-tools { display:contents }
 body .topbar-tools>.assistant-button { grid-area:1/3;width:48px;height:48px }
 body .topbar-tools>.notification-button { grid-area:1/4;width:48px;height:48px }
 body .topbar-tools>.avatar { grid-area:1/5;width:48px;height:48px;min-width:48px }
}
body .metric-grid { gap:var(--section-gap); }
/* origem: navigation */
.sidebar-content { padding:16px 8px; overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; scrollbar-color:#c8c8c8 transparent; overscroll-behavior:contain; }
.sidebar-header { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; flex-shrink:0; margin-bottom:16px; padding:0 8px; }
.sidebar-header .brand { gap:8px; padding:0; min-width:0; }
.sidebar-header .brand-symbol { width:24px; height:24px; flex-shrink:0; }
.sidebar-header .brand-wordmark { width:112px; }
.sidebar-header .sidebar-toggle { flex:0 0 32px; justify-content:center; width:32px; height:32px; min-height:32px; margin:0; padding:8px; border:0; background:transparent; }
.sidebar-header .sidebar-toggle:hover { background:#eee; }
.sidebar-nav { height:auto; flex:0 0 auto; overflow:visible; padding:0; }
.sidebar-nav .nav-link, .sidebar-nav .nav-group-unified { min-height:40px; margin:0; padding:8px 12px; gap:8px; line-height:24px; font-size:13px; border-radius:8px; }
.sidebar-nav .nav-section { margin:0; }
.sidebar-nav .nav-link>.icon, .sidebar-nav .nav-group-unified>.icon:first-child { width:18px; height:18px; flex-shrink:0; }
.sidebar-nav .nav-group-unified>.icon:last-child { width:14px; height:14px; flex-shrink:0; }
.sidebar-nav .nav-subitems { padding:0 0 8px 24px; }
.sidebar-nav .nav-subitem { min-height:32px; padding:4px 12px; line-height:24px; }
.sidebar-nav .nav-link:focus-visible { outline:2px solid #555; outline-offset:-2px; }
.sidebar-nav .nav-group-unified:hover { background:#eee; }
.nav-modal .sidebar-header .nav-close { position:static; flex:0 0 40px; margin:0; }
.nav-modal .sidebar-content { height:100%; overflow-y:auto; }
@media(min-width:1001px) {
 .sidebar-collapsed .sidebar-header { display:grid; justify-content:center; gap:8px; margin-bottom:8px; padding:0; }
 .sidebar-collapsed .sidebar-header .brand { width:40px; min-height:40px; margin:0; padding:8px; }
 .sidebar-collapsed .sidebar-header .sidebar-toggle { width:40px; min-height:32px; }
 .sidebar-collapsed .sidebar-nav .nav-link, .sidebar-collapsed .sidebar-nav .nav-group-unified { min-height:40px; padding:8px; justify-content:center; }
}
@media(max-width:1000px) {
 .nav-modal .sidebar-nav .nav-link, .nav-modal .sidebar-nav .nav-group-unified, .nav-modal .sidebar-nav .nav-subitem { min-height:48px; padding-block:12px; }
}
/* Tema LOR: a cor da marca (#665A3C) e os tons derivados dela substituem a família de cores da referência. */
:root {
  --accent:#665a3c;
  --accent-hover:#584d34;
  --accent-ink:#49412b;
  --accent-soft:#f3f1ec;
  --accent-line:#e2dfd6;
}
/* A marca aparece na própria cor, sem o tratamento em cinza da referência. */
.brand img, .auth-wordmark { filter:none; }
.auth-wordmark { width:108px; margin-bottom:24px; }
.sidebar-header .brand-symbol { width:42px; height:24px; object-fit:contain; }
.sidebar-header .brand-wordmark { width:104px; height:auto; }
.brand-loading img { width:96px; height:auto; }
.team-avatar { display:grid; place-items:center; font-size:13px; font-weight:600; line-height:1; letter-spacing:.2px; color:var(--accent-ink); }
@media(max-width:700px) { body .topbar { min-height:64px; } }
/* O aviso com "Desfazer" precisa aceitar o clique enquanto está visível. */
.toast.visible { pointer-events:auto; }
/* ===== Rodada 2 (07/11): quatro tons, Início, acesso, entrada animada e assistente ===== */
/* Quatro tons suaves derivados de #665A3C (areia, sálvia, argila e pedra azulada). Tinta e texto passam de 4,5:1 sobre o fundo de cada tom. */
:root {
  --tone-1-bg:#f4efe2; --tone-1-line:#e6dcc2; --tone-1-ink:#4a3f20; --tone-1-text:#5a5136; --tone-1-icon:#7a6a3e;
  --tone-2-bg:#edf0e0; --tone-2-line:#dbe0c3; --tone-2-ink:#3b4720; --tone-2-text:#4d5636; --tone-2-icon:#66743c;
  --tone-3-bg:#f6e9e1; --tone-3-line:#ebd4c7; --tone-3-ink:#5a3322; --tone-3-text:#6b4a3c; --tone-3-icon:#8a5a43;
  --tone-4-bg:#e8eef0; --tone-4-line:#d1dde2; --tone-4-ink:#2e4550; --tone-4-text:#44585f; --tone-4-icon:#4f6d79;
  --previous-line:#8a9460;
  --soft-text:#6b6b6b;
}
.metric { background:var(--tone-bg,var(--accent-soft)); border-color:var(--tone-line,var(--accent-line)); }
.metric:nth-child(4n+1) { --tone-bg:var(--tone-1-bg); --tone-line:var(--tone-1-line); --tone-ink:var(--tone-1-ink); --tone-text:var(--tone-1-text); --tone-icon:var(--tone-1-icon); }
.metric:nth-child(4n+2) { --tone-bg:var(--tone-2-bg); --tone-line:var(--tone-2-line); --tone-ink:var(--tone-2-ink); --tone-text:var(--tone-2-text); --tone-icon:var(--tone-2-icon); }
.metric:nth-child(4n+3) { --tone-bg:var(--tone-3-bg); --tone-line:var(--tone-3-line); --tone-ink:var(--tone-3-ink); --tone-text:var(--tone-3-text); --tone-icon:var(--tone-3-icon); }
.metric:nth-child(4n+4) { --tone-bg:var(--tone-4-bg); --tone-line:var(--tone-4-line); --tone-ink:var(--tone-4-ink); --tone-text:var(--tone-4-text); --tone-icon:var(--tone-4-icon); }
.metric>span:first-child, .metric-comparison, .metric-comparison strong { color:var(--tone-text,#454954); }
.metric-value, .metric-value small { color:var(--tone-ink,var(--accent-ink)); }
.metric>span:first-child>.icon { color:var(--tone-icon,var(--accent)); }
.metric:hover { border-color:var(--tone-icon,#bdbdbd); }
@keyframes fade-up { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }

/* Distintivos em tons suaves. */
.badge-accent { background:var(--accent-soft); color:var(--accent-ink); }
.badge-neutral { background:#f1f0ee; color:#55524a; }
.badge-success { background:var(--success-bg); color:var(--success); }
.badge-warning { background:var(--warning-bg); color:var(--warning); }
.badge-demo { background:var(--warning-bg); color:var(--warning); font-weight:500; }
.badge-demo::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.demo-banner .badge-demo { margin-left:8px; font-size:11px; }

/* Início: a composição do painel de referência (título pequeno, cartões de 16 px, linhas com divisória), nos tons da LOR. */
.home-enter { animation:fade-up 240ms ease both; }
.home.is-busy :is(.metric-grid,.chart-card) { opacity:.55; transition:opacity 160ms ease; }
.home .page-heading { margin-bottom:32px; align-items:flex-end; }
.home .page-heading h1 { font-size:24px; font-weight:500; letter-spacing:-.02em; }
.home .page-heading p { font-size:14px; margin-top:4px; }
.home .page-actions { align-items:center; }
.home .panel { border-radius:16px; box-shadow:none; }
.home .metric-grid { gap:16px; margin-bottom:24px; }
.home .metric { border-radius:16px; padding:24px; min-height:0; transition:border-color 120ms ease; }
.home .metric>span:first-child { font-size:13px; }
.home .metric>span:first-child>.icon { width:16px; height:16px; fill:transparent; transition:fill 120ms ease; }
.home .metric:hover>span:first-child>.icon { fill:color-mix(in srgb, currentColor 14%, transparent); }
.home .metric-value { font-size:28px; margin-top:8px; letter-spacing:-.02em; }
.home .metric-value small { font-size:13px; margin-left:8px; }
.home .metric-comparison { font-size:12px; margin-top:12px; white-space:normal; align-items:flex-start; }
.home .metric-comparison .icon { width:14px; height:14px; margin-top:1px; flex:none; }
.home .badge { font-size:12px; font-weight:500; padding:2px 8px; border-radius:8px; }
.home-section { margin-top:40px; }
.home-heading { font-size:14px; font-weight:500; color:var(--secondary); margin-bottom:16px; }
.home-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:40px; }
.home-columns>.home-section { margin-top:0; }
.home-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-card { overflow:hidden; }
.home-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:24px 24px 0; flex-wrap:wrap; }
.home-card-heading h2 { font-size:14px; font-weight:500; }
.home-card-heading p { font-size:12px; color:var(--soft-text); margin-top:4px; }
.home-empty { display:flex; align-items:center; gap:12px; padding:24px; font-size:14px; color:var(--secondary); }
.home-empty>.icon { width:16px; height:16px; color:var(--accent); flex:none; }
.chart-card .empty-state { padding:48px 24px 56px; }
.chart-wrapper { padding:8px 16px 0; }
.sales-chart { display:block; width:100%; height:auto; overflow:visible; }
.sales-chart text { font-family:var(--font-ui); font-size:11px; fill:var(--soft-text); }
.chart-grid { stroke:#ece9e1; stroke-width:1; }
.chart-area { fill:var(--tone-1-bg); stroke:none; }
.chart-previous { stroke:var(--previous-line); stroke-width:1.8; fill:none; stroke-dasharray:4 5; }
.chart-current { stroke:var(--accent); stroke-width:2.4; fill:none; stroke-linejoin:round; stroke-linecap:round; }
.chart-point { fill:#fff; stroke:var(--accent); stroke-width:1.8; }
.chart-hit { fill:transparent; stroke:none; }
.chart-hit:hover { fill:var(--accent); }
.legend { color:var(--soft-text); font-size:12px; flex-wrap:wrap; }
.legend-line { display:inline-block; width:16px; height:0; border-top:2px solid var(--accent); }
.legend-line.dashed { border-top:2px dashed var(--previous-line); }
.chart-details { border-top:1px solid var(--line); margin-top:8px; font-size:13px; color:var(--secondary); }
.chart-details summary { cursor:pointer; padding:12px 24px; }
.chart-details .table-wrap { max-height:280px; overflow:auto; }
.home-table { width:100%; border-collapse:collapse; font-size:14px; }
.home-table th { text-align:left; padding:12px 24px; font-size:12px; font-weight:500; text-transform:uppercase; letter-spacing:.04em; color:var(--soft-text); border-bottom:1px solid var(--line); white-space:nowrap; }
.home-table td { padding:12px 24px; border-bottom:1px solid var(--line); vertical-align:middle; }
.home-table tbody tr:last-child td { border-bottom:0; }
.home-table tbody tr:hover { background:var(--accent-soft); }
.home-table .num { text-align:right; font-variant-numeric:tabular-nums; }
.home-table .mono { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:13px; }
.home-table .muted { color:var(--secondary); }
.home-table .nowrap { white-space:nowrap; }
.home-list .home-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 24px; border-bottom:1px solid var(--line); transition:background-color 120ms ease; }
.home-list .home-row:last-child { border-bottom:0; }
.home-row>div { min-width:0; flex:1; }
.home-row strong { display:block; font-size:14px; font-weight:500; }
.home-row small { display:block; font-size:13px; color:var(--secondary); margin-top:2px; }
.home-row-link:hover { background:var(--accent-soft); }
.home-row-link>.icon:last-child { width:16px; height:16px; color:var(--soft-text); flex:none; }
.home-row-icon { display:grid; place-items:center; width:36px; height:36px; flex:none; border-radius:10px; background:var(--accent-soft); color:var(--accent); }
.home-row-icon .icon { width:16px; height:16px; }
.icon-action .icon { fill:transparent; transition:fill 120ms ease; }
.icon-action:hover .icon { fill:color-mix(in srgb, currentColor 14%, transparent); }
.home-stage { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:24px; }
.home-stage strong { display:block; font-size:14px; font-weight:500; }
.home-stage small { display:block; font-size:13px; color:var(--secondary); margin-top:2px; }
.period-picker { position:relative; display:inline-flex; align-items:center; }
.period-picker select { appearance:none; height:40px; padding:0 36px 0 40px; border:1px solid var(--line); border-radius:10px; background:#fff; font:inherit; font-size:13px; color:var(--ink); cursor:pointer; }
.period-picker select:hover { border-color:#bdbdbd; }
.period-picker>.icon { position:absolute; pointer-events:none; color:var(--secondary); }
.period-picker>.icon:first-child { left:14px; width:16px; height:16px; }
.period-picker>.icon:last-child { right:14px; width:14px; height:14px; }
@media(max-width:1000px) {
 .home-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) {
 .home-columns { grid-template-columns:minmax(0,1fr); gap:0; }
 .home-columns { margin-top:0; }
 .home-columns>.home-section { margin-top:40px; }
}
@media(max-width:700px) {
 .home .page-heading { align-items:flex-start; margin-bottom:24px; }
 .home .page-actions { width:100%; justify-content:space-between; }
 .home .period-picker { flex:1; }
 .home .period-picker select { width:100%; }
 .home .metric-grid { gap:12px; }
 .home .metric { padding:16px; }
 .home .metric-value { font-size:24px; }
 .home .metric-value small { font-size:12px; margin-left:4px; }
 .home-cards { grid-template-columns:minmax(0,1fr); }
 .home-card-heading { padding:16px 16px 0; }
 .chart-wrapper { padding:8px 8px 0; }
 .chart-details summary { padding:12px 16px; }
 .home-list .home-row, .home-stage, .home-empty { padding-inline:16px; }
 .home-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
 .home-table, .home-table tbody, .home-table tr, .home-table td { display:block; }
 .home-table tr { padding:12px 16px; border-bottom:1px solid var(--line); }
 .home-table tbody tr:last-child { border-bottom:0; }
 .home-table td { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:4px 0; border:0; text-align:right; }
 .home-table td::before { content:attr(data-label); color:var(--soft-text); font-size:12px; text-align:left; flex:none; }
}

/* Acesso: uma coluna, sem cartão, o logo em cima e o mínimo de texto. */
.auth-workspace { flex-direction:column; gap:32px; padding:48px 24px 32px; background:#fff; }
.auth-card { max-width:360px; padding:0; border:0; border-radius:0; background:transparent; animation:fade-up 240ms ease both; }
.auth-card .auth-wordmark { display:block; width:96px; height:auto; margin:0 auto 40px; }
.auth-card h1 { font-size:20px; font-weight:500; letter-spacing:-.01em; text-align:center; }
.auth-card>p { font-size:13px; color:var(--soft-text); margin-top:8px; text-align:center; }
.auth-card form { margin-top:32px; }
.auth-card .field { margin-bottom:16px; }
.auth-card .field>span { font-size:13px; color:#454545; }
.auth-card .auth-code { text-align:center; }
.auth-keep { display:flex; align-items:flex-start; gap:12px; margin:0 0 16px; min-height:44px; cursor:pointer; }
.auth-keep input { flex:none; width:18px; height:18px; margin-top:2px; accent-color:var(--accent); cursor:pointer; }
.auth-keep span { font-size:14px; color:var(--ink); line-height:1.4; }
.auth-keep small { display:block; font-size:12px; color:var(--soft-text); margin-top:2px; }
.auth-footer { font-size:12px; color:var(--soft-text); text-align:center; }
@media(max-width:700px) {
 .auth-workspace { justify-content:flex-start; padding:40px 24px 24px; }
 .auth-workspace .auth-footer { margin-top:auto; }
 .auth-card .auth-wordmark { margin-bottom:32px; }
}

/* Entrada da marca: o traço do símbolo se desenha, o preenchimento aparece e, enquanto os dados carregam, ele respira. */
.dashboard-entrance { position:fixed; inset:0; z-index:100; display:grid; place-items:center; background:#fff; transition:opacity 260ms var(--entry-ease); }
.dashboard-entrance.is-leaving { opacity:0; pointer-events:none; }
html.entrance-skip .dashboard-entrance { display:none; }
.entrance-mark { width:120px; height:auto; overflow:visible; animation:entrance-rise 640ms var(--entry-ease) both, entrance-breathe 1500ms ease-in-out 900ms infinite; }
.dashboard-entrance.is-leaving .entrance-mark { animation:entrance-away 260ms var(--entry-ease) both; }
.entrance-outline { fill:none; stroke:var(--accent); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1 1; stroke-dashoffset:1; animation:entrance-draw 560ms cubic-bezier(.5,.05,.2,1) 40ms forwards, entrance-vanish 260ms ease-out 420ms forwards; }
.entrance-fill { fill:var(--accent); opacity:0; animation:entrance-appear 360ms ease-out 300ms forwards; }
@keyframes entrance-rise { from { transform:scale(.94); } to { transform:scale(1); } }
@keyframes entrance-draw { to { stroke-dashoffset:0; } }
@keyframes entrance-appear { to { opacity:1; } }
@keyframes entrance-vanish { to { opacity:0; } }
@keyframes entrance-breathe { 50% { opacity:.78; } }
@keyframes entrance-away { to { transform:scale(1.05); opacity:0; } }
@media(prefers-reduced-motion:reduce) {
 .dashboard-entrance { transition:opacity 160ms linear; }
 .entrance-mark, .dashboard-entrance.is-leaving .entrance-mark { animation:none; }
 .entrance-outline { display:none; }
 .entrance-fill { animation:none; opacity:1; }
 .home-enter, .auth-card { animation:none; }
 .home.is-busy :is(.metric-grid,.chart-card) { transition:none; }
}

/* Assistente (Módulo G, item G.2): a gaveta lateral. A conversa e os cartões de ação estão em assistente.css. */
.assistant-button { color:var(--accent); }
dialog.assistant-drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(420px,100%); max-width:100%; height:100dvh; max-height:100dvh; border:0; border-left:1px solid var(--line); border-radius:16px 0 0 16px; box-shadow:-16px 0 48px rgba(102,90,60,.12); animation:drawer-in 260ms var(--entry-ease) both; }
dialog.assistant-drawer::backdrop { background:rgba(40,34,20,.28); }
@keyframes drawer-in { from { transform:translateX(24px); opacity:0; } to { transform:none; opacity:1; } }
@media(max-width:700px) {
 dialog.assistant-drawer { width:100%; border-radius:0; border-left:0; }
}
@media(prefers-reduced-motion:reduce) {
 dialog.assistant-drawer { animation:none; }
}

/* A fazer e sino de avisos (`afazer.js`): a lista de `GET /api/v1/a-fazer`. Base neutra, linhas compactas em grade, o número à esquerda e o link à direita.
   Os exemplos abrem dentro da linha. O selo do sino só mostra o total. */
.notification-count { position:absolute; top:6px; right:4px; min-width:16px; height:16px; padding:0 4px; border-radius:8px; background:#202020; color:#fff; font-size:10px; font-weight:600; line-height:16px; text-align:center; font-variant-numeric:tabular-nums; pointer-events:none; }
.af-summary { margin:-8px 0 20px; font-size:13px; color:var(--secondary); }
.af-group { margin-top:28px; }
.af-group:first-of-type { margin-top:0; }
.af-list { overflow:hidden; }
.af-row { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:start; gap:14px; padding:14px 20px; border-bottom:1px solid var(--line); }
.af-row:last-child { border-bottom:0; }
.af-count { font-size:16px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; line-height:1.4; }
.af-title { display:grid; gap:2px; min-width:0; }
.af-title strong { font-size:14px; font-weight:500; overflow-wrap:anywhere; }
.af-title>small { font-size:12px; color:var(--secondary); }
.af-examples { margin-top:6px; font-size:12px; }
.af-examples summary { cursor:pointer; color:var(--secondary); width:max-content; }
.af-examples summary:hover { color:var(--ink); }
.af-examples ul { list-style:none; margin:8px 0 0; padding:0; display:grid; gap:6px; }
.af-examples .text-link { font-size:12px; overflow-wrap:anywhere; }
.af-open { white-space:nowrap; }
.af-message { padding:8px 0 14px; font-size:13px; color:var(--secondary); }
.af-bell { border:1px solid var(--line); border-radius:var(--radius); max-height:min(60vh,520px); overflow:auto; }
.af-bell .home-row { padding:12px 16px; gap:14px; }
.af-bell .af-count { min-width:28px; font-size:14px; }
.af-bell .home-row small { font-size:12px; }
.af-all { margin-top:16px; width:100%; justify-content:center; }
dialog.avisos-dialog.anchored { position:fixed; inset:auto; margin:0; max-height:calc(100dvh - 96px); box-shadow:0 12px 40px #0000001f; }
dialog.avisos-dialog.anchored::backdrop { background:transparent; }
dialog.avisos-dialog.anchored .dialog-heading { padding-bottom:12px; }
dialog.avisos-dialog.anchored .af-bell { max-height:min(50vh,440px); }
.home-row-icon.af-num { font-size:13px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.home-row-more strong { font-size:13px; color:var(--secondary); }
.home-ref { color:inherit; text-decoration:none; }
.home-ref:hover { text-decoration:underline; text-underline-offset:3px; }
.home-stage-link { color:inherit; text-decoration:none; transition:border-color 120ms ease; }
.home-stage-link:hover { border-color:#bdbdbd; }
@media(max-width:700px) {
 .af-row { grid-template-columns:28px minmax(0,1fr) auto; padding:12px 14px; gap:10px; }
 .af-open { padding:0 12px; }
 .notification-count { top:4px; right:0; }
}
/* ===== Como usar (manual da equipe): índice por tarefa com busca à esquerda, texto à direita. Base neutra; a cor da marca só no item aberto do índice. ===== */
.mn-layout { display:grid; grid-template-columns:minmax(220px,280px) minmax(0,1fr); gap:var(--space-3); align-items:start; }
.mn-index { padding:var(--space-3); position:sticky; top:88px; max-height:calc(100vh - 104px); overflow:auto; }
.mn-search { margin-bottom:var(--space-1); }
.mn-count { font-size:11px; color:var(--muted); margin:0 0 var(--space-2); }
.mn-nav-group { margin-bottom:var(--space-2); }
.mn-nav-title { display:block; font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); margin:0 0 6px 8px; }
.mn-nav ol { list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.mn-nav a { display:block; font-size:12px; line-height:1.45; color:var(--secondary); padding:6px 8px; border-radius:6px; text-decoration:none; }
.mn-nav a:hover { background:var(--hover); color:var(--ink); }
.mn-nav a[aria-current] { background:var(--accent-soft); color:var(--accent-ink); font-weight:500; }
.mn-body { max-width:880px; }
.mn-intro { padding-bottom:var(--space-2); border-bottom:1px solid var(--line); }
.mn-group>h2 { font-size:15px; font-weight:500; margin:var(--space-4) 0 0; }
.mn-intro[hidden]+.mn-group>h2, .mn-group:first-of-type>h2 { margin-top:var(--space-2); }
.mn-section { scroll-margin-top:96px; padding:var(--space-2) 0; border-bottom:1px solid var(--line); }
.mn-section h3 { font-size:14px; font-weight:500; margin:0 0 var(--space-1); color:var(--ink); }
.mn-body p, .mn-body li { font-size:13px; line-height:1.65; color:#4a4a4a; }
.mn-body p+p, .mn-body p+ul, .mn-body p+ol, .mn-body ul+p, .mn-body ol+p { margin-top:var(--space-1); }
.mn-body ul, .mn-body ol { margin:0; padding-left:20px; display:grid; gap:6px; }
.mn-body strong { font-weight:600; color:var(--ink); }
.mn-body .text-link { font-size:inherit; padding:0; text-decoration:underline; text-decoration-color:#c9c9c9; text-underline-offset:3px; }
.mn-body .text-link:hover { text-decoration-color:currentColor; }
.mn-open { display:inline-flex; margin-bottom:var(--space-1); }
.mn-body .mn-open { font-size:11px; }
@media(max-width:1000px) {
 .mn-layout { grid-template-columns:1fr; }
 .mn-index { position:static; max-height:none; }
 .mn-nav { max-height:320px; overflow:auto; }
}
