/* Visual inspirado no Nexo, mantendo a identidade Karoliny Braids. */
:root{--brown:#6f4330;--dark:#42281d;--mid:#a76f4b;--cream:#f8f4ef;--panel:#fff;--stroke:#eadfd7;--text:#382820;--muted:#85746b;--accent:#efd5b8}
body{font-family:Inter,"Segoe UI",system-ui,sans-serif;background:var(--cream);-webkit-font-smoothing:antialiased}
button,input,select{transition:background .16s,border-color .16s,box-shadow .16s}button{min-height:40px}button:hover{border-color:#cfb5a2;background:#fcf8f4}button.primary:hover{background:#5a3828;color:white}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#c58c62}
.app{display:block}aside{position:fixed;inset:0 auto 0 0;width:238px;z-index:5;padding:28px 18px 20px;display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#87614d var(--dark)}
.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:700;letter-spacing:-1.2px;line-height:1.1}.brandmark{width:39px;height:39px;display:grid;place-items:center;background:var(--accent);color:var(--dark);border-radius:12px;font-size:21px;letter-spacing:-1.5px;font-weight:650}.branddot{color:#d8a879}.brand small{font-size:8px;letter-spacing:2.2px;color:#d1b8a8;margin:7px 0 0;font-weight:500}
.workspace{margin:27px 0 26px;display:flex;align-items:center;gap:10px;border:1px solid #ffffff1f;background:#ffffff0b;padding:14px 12px;border-radius:10px}.workspace b{font-size:12px;font-weight:600}.workspace small{margin:4px 0 0;font-size:11px;color:#d0b5a3;letter-spacing:0}.workspace-dot{width:8px;height:8px;background:#e2b68c;border-radius:50%;box-shadow:0 0 0 4px #e2b68c14}
.nav-caption{font-size:9px;color:#bda08e;letter-spacing:1.8px;margin:0 12px 12px;font-weight:650}.nav{gap:5px;flex:none}.nav button{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:8px;color:#d1b8a8;font-size:12px;min-height:42px}.nav button.active,.nav button.active:hover{background:var(--accent);color:#4a2d21;font-weight:650}.nav button:hover{background:#ffffff12;color:#fffaf5}.nav-icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sidefoot{margin-top:auto;padding-top:28px}.side-note{padding:15px;border:1px solid #ffffff0d;background:#ffffff08;border-radius:10px}.side-note b{font-size:11px;font-weight:600}.side-note p{font-size:11px;color:#c5aa99;line-height:1.7;margin:7px 0 0}.profile{display:flex;align-items:center;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid #ffffff15}.avatar{width:35px;height:35px;display:grid;place-items:center;background:#684533;color:#f3d7b8;border-radius:50%;font-weight:650;font-size:11px}.profile b{font-size:11px;font-weight:600}.profile small{margin:3px 0 0;color:#c5aa99;font-size:10px}
main{margin:0 0 0 238px;width:auto;max-width:1800px;padding:0 38px 30px}.topbar{min-height:78px;border-bottom:1px solid var(--stroke);display:flex;align-items:center;justify-content:space-between;gap:16px}.crumb{color:var(--muted);font-size:11px;min-width:0}.crumb span{padding:0 10px;color:#c5b5a9}.crumb b{font-weight:550;color:#765b4b}.topbar-actions{display:flex;gap:14px;align-items:center}.sync-chip{display:flex;align-items:center;gap:7px;background:#f1e4d7;color:#76513e;border-radius:24px;padding:6px 11px;font-size:10px;max-width:300px}.sync-chip i{width:5px;height:5px;border-radius:50%;background:#a76f4b;flex-shrink:0}.logout{background:transparent;border:0;min-height:40px;font-size:11px;padding:7px 8px;color:#806454}
header{margin:30px 0 23px;align-items:center;gap:15px}h1{font-size:29px;letter-spacing:-1.1px;font-weight:650;line-height:1.25}.page-subtitle{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.7}.header-actions{gap:8px;flex-shrink:0;justify-content:flex-end}input,select,button,.filelabel{border-radius:7px}.header-actions button{font-size:11px;padding:10px 12px;white-space:nowrap}.period-label{display:block;font-weight:400}.period-label input{font-size:11px;padding:10px;min-height:40px;max-width:155px}.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}
.hero{background:#5a3828;color:#fff;border-radius:16px;padding:28px 32px;margin-bottom:22px;min-height:234px;display:flex;justify-content:space-between;position:relative;overflow:hidden;isolation:isolate}.hero-copy{z-index:1}.eyebrow{font-size:9px;letter-spacing:1.9px;color:#efc99e}.hero h2{font-size:30px;letter-spacing:-1px;line-height:1.16;font-weight:500;margin:13px 0}.hero p{font-size:11px;line-height:1.8;color:#d4bba9;margin:0}.hero button{background:transparent;border:0;color:#efc99e;padding:15px 0 0;font-size:11px}.hero button:hover{color:#fff6e9;background:transparent}.hero button span{padding-left:22px}.heroart{position:relative;isolation:isolate;width:43%;display:flex;flex-direction:column;justify-content:space-between;min-height:185px}.orbit{position:absolute;width:360px;height:360px;border:1px solid #efc69a24;border-radius:50%;right:-80px;top:-80px;z-index:-1}.o2{width:290px;height:290px;right:-45px;top:-45px}.o3{width:220px;height:220px;right:-10px;top:-10px}.artlabel{font-size:8px;letter-spacing:1.7px;color:#d5b9a5;padding-top:5px}.artbars{height:112px;display:flex;align-items:flex-end;gap:10px;padding:0 40px 0 5px}.artbars i{flex:1;max-width:30px;background:linear-gradient(#ecc89f,#b87850);border-radius:5px 5px 0 0;height:30%;opacity:.85}.artbars i:nth-child(2){height:45%}.artbars i:nth-child(3){height:38%}.artbars i:nth-child(4){height:65%}.artbars i:nth-child(5){height:59%}.artbars i:nth-child(6){height:82%}.artbars i:nth-child(7){height:100%;background:#f4d7b5}.artbottom{display:flex;flex-direction:column;border-top:1px solid #ffffff17;padding-top:10px;font-size:10px;color:#d5b9a5}.artbottom b{font-weight:500;color:#f0cda7;margin-top:4px}
.cards{gap:16px;margin-bottom:0}.card,.panel{border-radius:13px;border:1px solid var(--stroke);box-shadow:0 3px 10px #4a2d2103;padding:21px;background:var(--panel);min-width:0}.card{position:relative}.card .hint{display:block;font-size:11px;padding-right:25px;line-height:1.55;max-width:95%}.card .big{font-size:27px;letter-spacing:-.8px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums;margin:16px 0 0;overflow-wrap:anywhere}.card-symbol{position:absolute;right:18px;top:17px;font-size:17px;color:#8a5a40;background:#f5ebe2;border-radius:8px;padding:2px 7px}.card:first-child{background:#f3e9df;border-color:#e8d7c7}
.grid{gap:20px}.grid>*{min-width:0}.overview-charts{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);margin-top:22px}.overview-lists{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}h3{font-size:14px;font-weight:650;margin:0 0 16px;letter-spacing:-.1px}.panelhead{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:18px}.panelhead h3{margin-bottom:4px}.panelhead p{margin:0;font-size:10px}.chart-key{white-space:nowrap;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px;padding-top:2px}.chart-key i{width:7px;height:7px;background:#8a5237;border-radius:50%}.textbutton{background:transparent;border:0;padding:0;color:#80503a;font-size:10px;min-height:32px;white-space:nowrap}.textbutton:hover{background:transparent;text-decoration:underline}.bars{height:225px;gap:14px;padding:20px 6px 0;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#f1eae3 calc(25% - 1px),#f1eae3 25%)}.bar{background:linear-gradient(#9b6243,#6d402d);width:48%;max-width:44px;border-radius:5px 5px 0 0}.barcol{font-size:10px}.barcol span{font-size:10px}.goal-ring{width:156px;height:156px;border-radius:50%;margin:15px auto 23px;display:grid;place-items:center;background:conic-gradient(#8a5237 var(--progress),#f2e8dd 0)}.goal-ring>div{width:131px;height:131px;background:#fff;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.goal-ring strong{font-size:33px;font-weight:600;letter-spacing:-1px;line-height:1.2}.goal-ring small{font-size:18px}.goal-ring span{font-size:10px;color:var(--muted);margin-top:5px}.goal-totals{border-top:1px solid var(--stroke);padding-top:14px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted)}.goal-totals span{display:flex;flex-direction:column;gap:5px}.goal-totals span:last-child{text-align:right}.goal-totals b{font-size:12px;color:var(--text);font-weight:600}.goal-caveat{font-size:9px;color:var(--muted);margin:12px 0 0;line-height:1.6}
.panel{margin-bottom:20px}.section:not(#home)>.cards{margin-bottom:20px}.section>.toolbar{margin-bottom:20px}.toolbar .minor{max-width:750px}.minor{font-size:11px;line-height:1.7}.notice{background:#fcf6ed;border:1px solid #ebdccb;border-left:3px solid #b78c69;border-radius:8px;padding:12px 14px;color:#80624d;line-height:1.7}.scroll{max-width:100%}table{font-size:12px}th{background:transparent;font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;padding:4px 10px 14px;color:#938176}td{padding:15px 10px;border-bottom:1px solid #f2eae3}tbody tr:hover{background:#fcf8f4}.tag{border-radius:5px;background:#f1e5da;color:#76503d;font-size:10px}.calendar-day-entry{border-color:#f1e8e0}.calendar-cell{border-color:#eadfd7;border-radius:9px}.calendar-cell.selected{outline-color:#8a5237;background:#fbf5ee}.calendar-weekday{font-size:10px;color:#8c776a}
.app-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#998579;margin-top:9px;padding-top:10px}.authbox{border-radius:18px;padding:32px;background:#fff;box-shadow:0 20px 80px #4a2d2114}.authbox h1{font-size:26px}.authbox p{font-size:12px;line-height:1.7}.dialog{padding:28px;border-radius:15px;box-shadow:0 20px 100px #4a2d2126}.modal{background:#351f1766}.dialog h3{font-size:22px;font-weight:600;margin-bottom:22px}.dialog label{font-size:11px;color:#765c4b}.dialog input,.dialog select{min-height:42px}.dialog .foot{padding-top:18px;border-top:1px solid var(--stroke);margin-top:22px}#toast{z-index:20;background:#6f4330;border-radius:9px;font-size:12px;padding:13px 20px;box-shadow:0 6px 28px #4a2d2120}
@media(min-width:851px) and (max-height:850px){.side-note{display:none}.sidefoot{padding-top:12px}.workspace{margin:22px 0}.profile{margin-top:0}.nav{gap:3px}.nav button{padding-top:9px;padding-bottom:9px}}
@media(min-width:1600px){main{margin-right:auto}}
@media(max-width:1250px){main{padding:0 24px 28px}header{align-items:flex-start;flex-wrap:wrap}h1{font-size:27px}.card{padding:17px}.card .big{font-size:23px}.cards{gap:12px}.hero h2{font-size:28px}}
@media(max-width:1000px) and (min-width:851px){aside{width:210px;padding-inline:15px}main{margin-left:210px}.brand{font-size:22px}.nav button{font-size:11px}.hero{padding:26px}.artbars{padding-right:15px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-charts,.overview-lists{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){aside{position:relative;inset:auto;width:100%;padding:17px 18px 12px;overflow:visible}.workspace,.nav-caption,.sidefoot{display:none}.brand{font-size:24px}.brand small{display:block;font-size:7px}.brandmark{width:36px;height:36px}.nav{display:flex;flex-direction:row;overflow-x:auto;gap:4px;margin-top:16px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;padding-bottom:3px}.nav button{white-space:nowrap;flex-shrink:0;font-size:11px;padding:10px 12px;min-height:44px;gap:8px}.nav-icon{width:16px;height:16px}main{margin:0;padding:0 18px 25px;width:100%}.topbar{min-height:64px;gap:10px}.topbar-actions{gap:5px}.sync-chip{max-width:210px;font-size:9px;padding:6px 9px}.crumb{font-size:10px}.crumb span{padding:0 6px}header{margin:24px 0 20px;flex-direction:column;align-items:stretch;gap:17px}.header-actions{justify-content:flex-start}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-charts,.overview-lists,.grid{grid-template-columns:minmax(0,1fr)}.hero{padding:26px 24px;min-height:236px}.hero h2{font-size:28px}.heroart{width:40%}.card .big{font-size:25px}.bars{height:220px}}
@media(max-width:550px){main{padding:0 16px 23px}button,.filelabel{min-height:44px}.topbar{flex-wrap:wrap;padding:11px 0;gap:6px}.topbar-actions{margin-left:auto}.crumb{font-size:9px}.crumb span{padding:0 4px}.sync-chip{max-width:150px;font-size:9px}.logout{font-size:10px;padding-inline:5px;min-height:40px}h1{font-size:26px;letter-spacing:-.8px}.page-subtitle{font-size:11px;max-width:90%;line-height:1.8}.header-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;width:100%;flex-wrap:nowrap}.period-label input{width:100%;max-width:none;font-size:11px;min-height:44px;padding:8px 6px}.header-actions button{padding:9px 8px;font-size:10px}.hero{padding:25px 21px;min-height:256px;margin-bottom:18px}.hero h2{font-size:28px;line-height:1.2}.hero .eyebrow{font-size:7px;letter-spacing:1.5px}.hero p{font-size:10px}.heroart{position:absolute;width:32%;right:0;top:30px;bottom:20px;opacity:.6;pointer-events:none}.artlabel,.artbottom{display:none}.artbars{height:180px;padding:70px 0 0;gap:5px}.artbars i{opacity:.35}.artbars i:nth-child(7){opacity:.6}.orbit{right:-220px}.o2{right:-185px}.o3{right:-150px}.hero-copy{max-width:100%}.cards{gap:10px}.card{padding:15px 12px}.card .hint{font-size:10px;padding-right:18px;min-height:30px}.card-symbol{font-size:13px;right:10px;top:12px;padding:2px 5px}.card .big{font-size:23px;margin-top:12px}.panel{padding:19px 16px}.overview-charts{margin-top:18px;gap:0}.grid{gap:0}.panelhead h3{font-size:13px}.barcol span{font-size:9px}.bars{gap:7px;padding-inline:0}.formgrid{grid-template-columns:minmax(0,1fr);gap:13px}.row>label{min-width:120px}.dialog{padding:21px 18px;max-height:90dvh}.dialog input,.dialog select,input,select{font-size:16px}.dialog .foot{position:sticky;bottom:0;padding-block:12px;background:#fff;z-index:1}.dialog .foot button{font-size:13px}.modal{padding:8px}.app-footer{font-size:8px;gap:8px;line-height:1.8}.calendar-cell{padding:5px;min-height:64px}.calendar-count{overflow-wrap:anywhere}.calendar-weekday{font-size:9px}.calendar-grid{gap:3px}.calendar-n{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

.icon-arrow{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.hero button .icon-arrow{margin-left:22px}.card-symbol svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;display:block}.card .hint{min-height:34px}.card-symbol{padding:6px}.textbutton .icon-arrow{width:12px;height:12px;margin-left:2px}
