/* Iralume — papel, floresta e luz. */
:root{--bg:#f5f4ef;--panel:#fffefa;--panel2:#efeee8;--line:#dedfd5;--text:#233f36;--muted:#65766c;--accent:#265b49;--teal:#3b7961;--danger:#a33b3b;--radius:18px;color-scheme:light;font-family:'Segoe UI',Arial,sans-serif}
body{font-size:14px;-webkit-font-smoothing:antialiased;background:var(--bg)}
button{border-radius:10px;background:#fffefa;min-height:40px;font-size:13px}
button:hover{background:#edf2e9;border-color:#709780;transform:none}
button.primary,.button-link{background:#285c49;border-color:#285c49;color:#fffefa;box-shadow:0 3px 6px #193e3510}
button.primary:hover{background:#1b4738;border-color:#1b4738}
button:focus-visible,a:focus-visible{outline:3px solid #b27b51;outline-offset:3px}
input,select,textarea{background:#fffefa;color:var(--text);border:1px solid #d4d9ce;border-radius:10px;min-height:44px}
input:focus,select:focus,textarea:focus{border-color:#487c60;box-shadow:0 0 0 3px #487c6015}
input::placeholder{color:#7c887d}input[type=checkbox]{min-height:0}
h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.3px;font-size:39px;line-height:1.16}
h2{font-weight:600;letter-spacing:-.4px;font-size:19px}h3{font-weight:600}a{color:#2e7054}
.eyebrow{color:#7e6249;font-size:10px;font-weight:600;letter-spacing:2px;margin-bottom:13px}
.shell{grid-template-columns:244px minmax(0,1fr)}
.sidebar{background:#193e35;color:#eef0e5;border:0;padding:35px 20px 22px;height:100dvh}
.brand{gap:12px;font-family:Georgia,serif;letter-spacing:-1px;font-size:32px;margin-bottom:47px;font-weight:400;color:#f8f4e9}
.brand-icon{border:0;border-radius:0;background:transparent url('./brand.svg') center/contain no-repeat;width:40px;height:40px;flex-shrink:0;font-size:0;color:transparent}
.brand span small{font-family:'Segoe UI',sans-serif;letter-spacing:1.7px;font-size:8px;color:#b1c3b7;margin-top:7px}
.nav-label{color:#99b1a2;letter-spacing:1.8px;font-size:9px;margin-bottom:17px}
.nav{gap:7px}.nav button{border:0;color:#c1d0c3;font-size:13px;padding:13px 15px;border-radius:10px;min-height:47px}
.nav button:hover{background:#ffffff0a;color:white}.nav button.active{background:#eceddc;color:#214e3b;box-shadow:0 3px 10px #102c2422}
.nav button.active svg{stroke-width:1.8}.nav svg{width:19px;height:19px}
.sidebar-bottom .local{color:#acc3b2;font-size:10px}.sidebar-bottom .dot{background:#adc593}
.sidebar .profile{border-top-color:#ffffff21;font-size:12px;padding-top:20px}
.sidebar .profile .muted{color:#adbeaf;font-size:10px;margin-top:4px}
.sidebar .avatar{background:#335849;color:#e8cfad;border:1px solid #617962}
.sidebar .profile button{background:transparent;border:0;color:#c6d1c2}
.topbar{background:#fbfaf6;height:78px;padding:0 42px;border-bottom:1px solid #e3e3da;font-size:12px}
.topbar strong{font-weight:600}.topbar>.small{color:#778273;font-size:11px}
main{max-width:1580px;padding:35px 42px;margin:0 auto}
.heading{margin-bottom:27px}.heading p{font-size:13px;margin-bottom:0}.heading h1{margin-bottom:11px}
.card{background:#fffefa;border:1px solid #e2e2d8;border-radius:18px;padding:25px;box-shadow:0 3px 16px #2e3f2a03}
.stats{gap:17px;margin-bottom:24px}.stat{padding:23px}.stat .label{font-size:11px;color:#6e7a6c}
.stat .num{font-family:Georgia,serif;font-size:35px;font-weight:400;letter-spacing:-1px;color:#284c3b;margin:21px 0 10px}
.stat .hint{font-size:10px;color:#7a8575}
.stat:first-child{background:#e9eddf;border-color:#dce3d0}.stat:first-child .num{color:#31563d}
.two{gap:22px}.badge{background:#edf2e6;color:#3f694c;border:1px solid #dce6d3;font-size:10px;border-radius:20px}
.badge.amber{background:#faf0df;color:#8d6636;border-color:#ecddc2}.badge.red{background:#fae9e6;color:#a04940;border-color:#e9c5bf}
.notice{background:#f0f1e6;border:1px solid #dfe4d2;color:#67745e;font-size:12px;line-height:1.8;border-radius:12px}
.notice strong{color:#395e3e}.welcome-guide{background:linear-gradient(110deg,#e9eddf,#f4f3e9);border:1px solid #dce2ce;border-radius:18px;padding:24px;margin-bottom:24px}
.welcome-guide h2{font-family:Georgia,serif;font-size:25px;font-weight:400}.welcome-guide .eyebrow{color:#6a7951}
.progress,.welcome-guide .progress{background:#dce1d1;height:4px}.progress span{background:#7c9868}
.guide-step{background:#fffef98c;border:1px solid #dce0d1;padding:15px 12px;border-radius:11px;min-height:87px}
.guide-step:hover{background:#fffefa}.guide-step strong{color:#415640;font-size:11px}.guide-step small{color:#778170;font-size:10px}
.step-number{border-color:#bdc9ae;color:#536b43}.guide-step.done .step-number{background:#617e4e;color:#fffefa}.step-arrow{color:#7d906a}
.quick{gap:12px}.quick button{background:#f6f6ef;border:1px solid #e4e5d9;padding:18px;text-align:left;color:#3e6149}.quick button span{color:#7e8778}
.empty{background:transparent;padding:38px 18px}.empty-icon{color:#879b75;background:#f0f2e8;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;margin:0 auto 17px;font-size:29px}
.empty h3{font-size:14px;color:#53664b}.empty p{font-size:12px;color:#7a8572}.empty .primary{margin-top:6px}
table{font-size:12px}th{font-size:9px;font-weight:600;letter-spacing:1px;color:#7a8271;background:#f8f8f2;padding:14px 12px}td{padding:17px 12px;border-bottom-color:#ecece3}
tbody tr:hover{background:#f6f7ef}.avatar{background:#e9eedf;color:#4a6c44;font-size:12px}.table-btn{color:#3e6e50;font-size:11px}
.tabs{border-bottom-color:#dddfd1}.tabs button{color:#7c8473}.tabs button.active{background:#e7eddd;color:#375b40;border:1px solid #d6dfca}
.file-card{background:#fafaf5}.file-card .file-icon{background:#edf0e3;color:#6c8655}.upload{background:#f8f9f1;border-color:#b2c29c}
.tooth svg{fill:#e8ede1;stroke:#7b9270}.tooth:hover{background:#e8eedf}.tooth.caries svg{fill:#d99388;stroke:#a95045}.tooth.restaurado svg{fill:#a6c6b3;stroke:#46785c}.tooth.ausente svg{opacity:.3}.tooth.implante svg{fill:#d6c7a2;stroke:#8c7744}.tooth.planejado svg{fill:#bab9d5;stroke:#737091}
.slot{background:#f1f4e9;color:#516d40;border-color:#dce4ce}.slot.busy{background:#f1f0eb;opacity:.5}.appointment-time{color:#557746}
.quote-preview{background:#eef2e6;border-color:#d4dfc5}.quote-preview strong{color:#456a37}.quote-checklist .complete{color:#3b7450}
.button-link.secondary{background:#f0f2e8;color:#44633b}.signature-tools{background:#fffefa}.signing-steps b{border-color:#c5d1b5;color:#526e3c}
dialog{background:#fffefa;border:1px solid #d8ddcd;border-radius:18px;box-shadow:0 20px 100px #17352a25;color:#294333}
dialog::backdrop{background:#193e3570;backdrop-filter:blur(5px)}dialog .modal-head,dialog .form-actions{background:#fffefa}
#modal-error{color:#a13e36!important}.backup-link{background:#f0f4e8;color:#47623b;border-color:#cfddbf}
#toast{background:#244f3b;color:#fffefa;box-shadow:0 10px 40px #25432c22}#toast.error{background:#9c493f;color:white}
footer{color:#949c8b;font-size:9px;letter-spacing:1px;padding-top:5px}
.auth{background:#f7f6f0;grid-template-columns:1.05fr 1fr;min-height:100dvh}
.auth-story{background:radial-gradient(ellipse at 90% 90%,#5d79582e,transparent 55%),#193e35;padding:48px 11%;border:0;position:relative;min-height:100dvh;color:#f4f0e4;isolation:isolate}
.auth-story:after{width:420px;height:420px;right:-110px;bottom:60px;border:1px solid #d8d3aa28;box-shadow:0 0 0 65px #193e35,0 0 0 66px #d8d3aa14,0 0 0 130px #193e35,0 0 0 131px #d8d3aa0b;z-index:-1}
.auth-story .brand{margin-bottom:30px;font-size:39px}.auth-story .brand-icon{width:48px;height:48px}
.auth-story .eyebrow{color:#d3bc93;font-size:10px;letter-spacing:2.4px}
.auth-story h1{font-family:Georgia,serif;font-size:clamp(52px,5.5vw,82px);line-height:1.06;font-weight:400;letter-spacing:-3px;margin:24px 0}
.auth-story h1 em{color:#dfbb96;font-weight:400}.auth-story .muted{color:#b9cab9;font-size:14px;line-height:1.9;max-width:350px}.auth-story .local{color:#b4c5b1;font-size:10px;line-height:1.7;margin-top:25px}.dot{background:#94b083}
.auth-form{background:radial-gradient(ellipse at 100% 0%,#e8dfc339,transparent 55%);padding:60px 12%}
.auth-box{max-width:370px}.auth-box h2{font-family:Georgia,serif;font-weight:400;font-size:34px;line-height:1.15;margin-bottom:17px;color:#284a37}
.auth-box>.muted{font-size:13px}.auth-box>.eyebrow{color:#9b7855;font-size:9px}.auth-box label{font-size:11px;color:#6a7968;margin-bottom:9px}
.auth-box .field{margin-top:24px}.auth-box input{min-height:49px;background:#fffefa;border-color:#d5dbcb}
.auth-box button.primary{min-height:50px;margin-top:29px;font-size:13px;display:flex;justify-content:space-between;align-items:center;padding:0 18px}
.auth-box .auth-footer{font-size:10px;line-height:1.9;color:#8b9382;border-color:#e1e3d7;margin-top:27px}
.auth-trust{font-size:9px;border:0;background:#ebefdf;color:#687d51;letter-spacing:.2px;padding:8px 12px;margin-bottom:28px}
.password-reveal,.auth-box .password-reveal{color:#78896a;font-size:10px;padding:10px 12px;min-height:40px}
.auth-box>.table-btn{width:auto;margin-top:3px;padding:9px 0;border:0;background:transparent;font-size:11px;text-align:left;color:#657e50}
.boot-screen{background:#f5f4ec}.boot-screen .brand-icon{height:60px;width:60px}.boot-screen h1{font-size:32px}
.cloud-hero{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#1d4437;border:0;color:#f4f1e6;padding:27px 30px;margin-bottom:25px;border-radius:18px;position:relative;overflow:hidden}
.cloud-hero .eyebrow{color:#d1b991;font-size:9px}.cloud-hero h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0 0 10px;letter-spacing:-.7px}.cloud-hero p{color:#b9cbb7;font-size:12px;margin:0;max-width:500px;line-height:1.7}
.cloud-hero button{background:#edf0dd;color:#365437;border:0;flex-shrink:0}.cloud-hero button:hover{background:white}
.cloud-note{display:flex;gap:8px;align-items:center;border:1px solid #dfe4d3;background:#f0f3e8;border-radius:20px;padding:6px 10px;color:#6c8054;font-size:10px}
.mobile-logout{display:none}
@media(max-width:700px){.mobile-logout{display:block;border:0;background:transparent;font-size:11px;color:#57744a;padding:8px;min-height:36px}}
@media(min-width:1500px){main{padding:40px 55px}.sidebar{padding-top:40px}}
@media(max-width:1150px){.shell{grid-template-columns:215px minmax(0,1fr)}.sidebar{padding:30px 14px}.topbar{padding:0 25px}main{padding:28px 25px}.stats{grid-template-columns:repeat(2,1fr)}.auth-story{padding:40px 9%}.auth-form{padding:40px 9%}.auth-story h1{font-size:64px}.guide-steps{grid-template-columns:1fr}}
@media(max-width:700px){.shell{display:block}.sidebar{position:relative;height:auto;padding:18px 16px}.sidebar .brand{margin-bottom:20px;font-size:27px}.sidebar .brand-icon{height:33px;width:33px}.sidebar .brand small{font-size:7px}.nav{flex-direction:row;overflow:auto;gap:5px;padding-bottom:2px}.nav button{white-space:nowrap;min-height:39px;padding:10px 12px;font-size:11px;gap:7px}.nav svg{width:15px;height:15px}.sidebar-bottom,.nav-label{display:none}.topbar{height:55px;padding:0 18px}.topbar>.small{display:none}main{padding:25px 17px}.heading{gap:17px}.heading h1{font-size:32px}.heading p{font-size:12px}.card{padding:19px}.stats{gap:10px}.stat{padding:19px 14px}.stat .num{font-size:28px}.stat .label,.stat .hint{font-size:10px}.cloud-hero{padding:22px;display:block}.cloud-hero h2{font-size:25px}.cloud-hero button{margin-top:17px}.auth{display:block}.auth-story{min-height:0;padding:28px 27px 26px}.auth-story .brand{margin:0 0 32px;font-size:32px}.auth-story .brand-icon{width:40px;height:40px}.auth-story h1{font-size:48px;letter-spacing:-1.7px;margin:16px 0 3px}.auth-story h1 br:nth-child(2){display:none}.auth-story .eyebrow{font-size:9px}.auth-story:after{display:block;width:170px;height:170px;right:-75px;bottom:0}.auth-story>p,.auth-story>div:nth-child(2)>p{display:none}.auth-form{padding:32px 27px 42px}.auth-box{max-width:420px}.auth-box h2{font-size:29px}.auth-trust{margin-bottom:24px}.table-wrap{overflow:auto}.document-paper{padding:22px}footer{gap:15px;line-height:1.7}.quote-checklist{gap:9px}.cloud-note{display:none}}
@media print{body{background:white;color:black}.cloud-hero,.cloud-note{display:none}.card{background:white}.document-paper{color:black}.workspace{display:block}.shell{display:block}main{max-width:none;padding:0}}
