/* Navegação própria do Horizonte: linha do tempo e rotina diária. */
:root{--site-bg:#fff;--site-panel:#e9eff6;--site-line:#d5dfea;--site-ink:#0e1a27;--site-muted:#56697c;--site-accent:#8a6620}
:root[data-theme="dark"]{color-scheme:dark;--site-bg:#0d1826;--site-panel:#172637;--site-line:#2a3a4b;--site-ink:#edf2f8;--site-muted:#9cabbc;--site-accent:#e3be72;--bg:#0b131f;--paper:#111e2d;--ink:#edf2f8;--muted:#a6b5a4;--line:#2a3a4b;--green:#365c43;--lime:#d7e6b7;--soft:#1c2b23;--sage:#a1b98b;--purple:#292437;--orange:#30291f;--blue:#1d2b3b}
:root[data-theme="light"]{color-scheme:light}
body{padding-left:15.5rem}
.top{height:auto;min-height:77px;flex-wrap:wrap;gap:12px;background:var(--bg)}.horizonte-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.top .abrir-menu{display:none}.topactions,.top>.actions{flex-wrap:wrap}.top:has(.abrir-menu[aria-expanded="true"]){position:relative;z-index:45}
.site-toolbar{height:49px;display:flex;align-items:center;gap:12px;padding:0 4.5%;border-bottom:1px solid var(--line);background:var(--bg);font-size:11px;color:var(--muted)}
.site-toolbar>a{text-decoration:none;color:inherit}.site-toolbar>a:hover{text-decoration:underline}.site-toolbar .tema,.site-toolbar .abrir-menu{font:600 10px "Segoe UI",Arial,sans-serif;letter-spacing:1px;text-transform:uppercase;position:static;background:var(--site-panel);color:var(--site-ink);border:1px solid var(--site-line);border-radius:7px;padding:7px 11px;cursor:pointer}.site-toolbar .tema{margin-left:auto}.site-toolbar .abrir-menu{display:none}
.barra{position:fixed;z-index:30;top:0;left:0;width:15.5rem;height:100vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--site-bg);border-right:1px solid var(--site-line);padding:1.75rem .75rem 1.5rem;display:flex;flex-direction:column;gap:.15rem;color:var(--site-ink);font-family:"Segoe UI",Arial,sans-serif;line-height:1.7}
.barra-marca{padding:0 .6rem 1.5rem}.barra-marca a{display:block;text-decoration:none;color:inherit}.barra-marca .nome-site{font-family:Georgia,serif;font-size:1.3rem;font-weight:400;letter-spacing:.14em;text-transform:uppercase;display:block;line-height:1.2}.barra-marca .sub{font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--site-muted);display:block;margin-top:.4rem}
.barra .item{display:block;text-decoration:none;font-size:.92rem;font-weight:500;line-height:1.35;padding:.62rem .8rem;border:0;border-radius:8px;color:var(--site-ink);background:transparent;margin:0;min-width:0}
.barra .item:hover{background:var(--site-panel)}.barra .item[aria-current="page"]{background:var(--site-panel);color:var(--site-accent);font-weight:600}
.barra .grupo>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem .8rem .45rem;font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--site-muted)}.barra .grupo>summary::-webkit-details-marker{display:none}.barra .grupo>summary:hover{color:var(--site-accent)}.barra .grupo>summary:after{content:"";width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translate(-2px,-2px)}.barra .grupo[open]>summary:after{transform:rotate(-135deg) translate(-2px,-2px)}
.barra .sublista{list-style:none;margin:0 0 .5rem;padding:0}.barra .sublista .item{padding-left:1.5rem;font-size:.875rem;font-weight:400}.barra-rodape{margin-top:auto;padding:1rem .8rem 0;border-top:1px solid var(--site-line);font-size:.75rem;color:var(--site-muted);line-height:1.6}.veu{display:none}
:root[data-theme="dark"] .stat,:root[data-theme="dark"] .metric{background:var(--paper)}
:root[data-theme="dark"] .toast{background:#243448;color:#fff}
:root[data-theme="dark"] .btn,:root[data-theme="dark"] .range,:root[data-theme="dark"] .date-control input{background:var(--paper);border-color:var(--line)}
:root[data-theme="dark"] .primary{background:#365c43;color:white;border-color:#527450}
:root[data-theme="dark"] .agenda,:root[data-theme="dark"] .card,:root[data-theme="dark"] .dialog{background:var(--paper)}
:root[data-theme="dark"] .tabs,:root[data-theme="dark"] .agenda-foot,:root[data-theme="dark"] .day.weekend{background:#121f2c}
:root[data-theme="dark"] .tab.active{background:#243448;color:#b9d2a6}
:root[data-theme="dark"] .day.today,:root[data-theme="dark"] .lower,:root[data-theme="dark"] .tip,:root[data-theme="dark"] .empty-backlog,:root[data-theme="dark"] .later-task{background:#182820;border-color:#314632}
:root[data-theme="dark"] .item:not(.barra .item),:root[data-theme="dark"] .task{background:#1a2b22;border-color:#344632}
:root[data-theme="dark"] .item.done,:root[data-theme="dark"] .task.done{background:#18251d!important;border-color:#33432d!important}
:root[data-theme="dark"] .item.later,:root[data-theme="dark"] .confirm,:root[data-theme="dark"] .delete-check{background:#30291f;border-color:#584831}
:root[data-theme="dark"] .check{background:#14231c;border-color:#7a9167}
:root[data-theme="dark"] .done .check{background:#739062;color:white}
:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field select,:root[data-theme="dark"] .field textarea,:root[data-theme="dark"] .template-times input{background:#172637;color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .week-day{background:var(--paper);border-color:var(--line)}
:root[data-theme="dark"] .week-day.selected{background:var(--green)}
:root[data-theme="dark"] .period summary,:root[data-theme="dark"] .block,:root[data-theme="dark"] .pending,:root[data-theme="dark"] .day,:root[data-theme="dark"] .day-header{border-color:var(--line)}
:root[data-theme="dark"] .lower .btn,:root[data-theme="dark"] .pending .mini{background:#213527;border-color:#3c5234}
:root[data-theme="dark"] .tip .divider{background:#314632}
:root[data-theme="dark"] .slot strong,:root[data-theme="dark"] .item-title,:root[data-theme="dark"] .task-title{color:#d8e1ce}
:root[data-theme="dark"] .done .item-title,:root[data-theme="dark"] .done .task-title{color:#90a180}
:root[data-theme="dark"] .eyebrow,:root[data-theme="dark"] .lower p,:root[data-theme="dark"] .tip p,:root[data-theme="dark"] .tip small,:root[data-theme="dark"] .hero-note,:root[data-theme="dark"] .weekday,:root[data-theme="dark"] .day-month,:root[data-theme="dark"] .period summary,:root[data-theme="dark"] .slot,:root[data-theme="dark"] .slot span,:root[data-theme="dark"] .week-day small,:root[data-theme="dark"] .week-day .wd,:root[data-theme="dark"] .mini,:root[data-theme="dark"] .empty-day,:root[data-theme="dark"] .task-meta,:root[data-theme="dark"] .category,:root[data-theme="dark"] .textbtn{color:#a5b698}
@media(max-width:78rem){body{padding-left:0}.site-toolbar .abrir-menu{display:inline-block}.barra{width:min(19rem,86vw);padding-top:4.5rem;transform:translateX(-100%);transition:transform 160ms ease;z-index:40}.barra.aberta{transform:translateX(0)}.veu{display:block;position:fixed;z-index:35;inset:0;background:#0b131f99;border:0;width:100%;height:100%}.veu[hidden]{display:none}.site-toolbar .abrir-menu{z-index:45}.site-toolbar:has(.abrir-menu[aria-expanded="true"]){position:relative;z-index:45}}
@media(prefers-reduced-motion:reduce){.barra{transition:none}}
@media(max-width:78rem){.top .abrir-menu{display:inline-flex}.barra{padding-top:6rem}.top{height:auto}}
@media(max-width:600px){.top{align-items:flex-start}.horizonte-heading{gap:10px}.top .brand{font-size:20px}.top .brand small{display:none}.topactions,.top>.actions{gap:6px}.top .btn{font-size:10px;padding:9px 10px}}
