@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,system-ui,sans-serif;color:#1e3440;background:#f5f9f8;font-synthesis:none;--brand:#106d70;--brand-soft:#dcf2ee;--ink:#1e3440;--muted:#71828a;--line:#e4eeed;--surface:#fff;--shadow:0 7px 30px rgba(30,78,76,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}input,select,textarea{outline:none}input:focus,select:focus,textarea:focus{border-color:var(--brand)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}a{color:var(--brand)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.035em}h1{font-size:clamp(1.75rem,3vw,2.35rem);line-height:1.2}h2{font-size:1.25rem}h3{font-size:1rem}p{line-height:1.55}small{font-size:.82rem}::selection{background:var(--brand-soft)}.app-shell{min-height:100vh}.sidebar{display:none}.main-area{min-height:100vh}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 24px;position:sticky;top:0;z-index:20}.desktop-title{color:#8b9a9f;font-size:.86rem;white-space:nowrap}.mobile-brand{display:flex;align-items:center;gap:10px;min-width:0}.mobile-brand strong{font-family:Manrope;font-size:.9rem;line-height:1.2;max-width:190px}.brand-mark{background:var(--brand);color:#fff;width:43px;height:43px;border-radius:13px;display:grid;place-items:center;flex:none}.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:13px}.small-mark{width:35px;height:35px;border-radius:11px}.global-search{position:relative;max-width:420px;flex:1;margin-left:auto}.global-search .search-box{border:0;background:#f4f8f8}.search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;box-shadow:0 18px 50px #193f4333;border:1px solid var(--line);border-radius:16px;max-height:370px;overflow:auto;z-index:70;padding:6px}.search-results button{width:100%;border:0;background:none;display:flex;align-items:center;text-align:left;gap:12px;padding:10px;border-radius:10px;color:var(--ink)}.search-results button:hover{background:#f1f8f7}.search-results button>span{display:grid;gap:2px}.search-results small{color:var(--muted)}.search-results p{padding:12px;margin:0;color:var(--muted)}.top-avatar,.avatar{width:38px;height:38px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:800;flex:none}.content{max-width:1320px;margin:auto;padding:28px 24px 115px}.loading-state,.splash{display:grid;place-items:center;min-height:55vh;color:var(--muted)}.splash{min-height:100vh;align-content:center;gap:15px}.page-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:24px}.page-head h1{margin:3px 0 6px}.page-head p{color:var(--muted);margin:0}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--brand)}.button{border:1px solid var(--brand);background:var(--brand);color:#fff;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;min-height:46px;font-weight:800;white-space:nowrap;box-shadow:0 5px 15px color-mix(in srgb,var(--brand) 16%,transparent)}.button:hover:not(:disabled){filter:brightness(.94);transform:translateY(-1px)}.button.secondary{background:#e8f4f2;border-color:#d4eae6;color:var(--brand);box-shadow:none}.button.light{background:#fff;border-color:#fff;color:var(--brand);box-shadow:none}.button.ghost{background:transparent;border-color:var(--line);color:var(--ink);box-shadow:none}.button.small{min-height:38px;padding:8px 12px;font-size:.83rem}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:22px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.section-head h2{margin:0}.section-head p{margin:4px 0 0;color:var(--muted);font-size:.88rem}.text-action,.inline-link,.back-link{border:0;background:none;color:var(--brand);display:inline-flex;align-items:center;gap:4px;font-weight:800;padding:6px 2px;text-align:left}.inline-link.strong{font-size:.9rem}.text-action:hover,.inline-link:hover{text-decoration:underline}.danger-text{color:#bf4f4c}.count-pill{display:inline-flex;align-items:center;background:#eff6f5;color:#607a7b;padding:5px 10px;border-radius:99px;font-size:.75rem;font-weight:800;white-space:nowrap}.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:99px;padding:6px 10px;white-space:nowrap;font-size:.73rem;font-weight:800;background:#e7f0f0;color:#4b696b}.status-completed,.status-paid,.status-active,.status-confirmed{background:#ddf4e9;color:#247a54}.status-scheduled,.status-partially-paid,.status-checked-in,.status-in-progress{background:#e5f2ff;color:#416fad}.status-cancelled,.status-no-show,.status-disabled{background:#fce8e7;color:#ae5955}.status-unpaid,.status-planned{background:#fff0d8;color:#a87423}.demo-label{font-size:.68rem;font-style:normal;color:#8a699d;background:#f1eaf7;border-radius:99px;padding:3px 7px;vertical-align:middle;white-space:nowrap}.stack-list{display:grid}.list-panel{padding:0}.list-panel>.section-head,.list-panel>h2{padding:20px 22px 0}.list-panel>.empty{margin:15px}.list-card{display:flex;align-items:center;gap:15px;padding:15px 20px;border-top:1px solid var(--line)}.list-main{display:grid;gap:3px;flex:1;min-width:0}.list-main[role=button]{cursor:pointer}.list-main strong{font-size:.95rem}.list-main span,.list-main small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.list-card .chevron{color:#a6b7b8}.time-chip{padding:7px 10px;background:#eef8f6;color:var(--brand);border-radius:9px;font-size:.76rem;font-weight:800}.empty{text-align:center;padding:45px 20px;display:grid;justify-items:center;gap:10px}.empty h3{margin:0;font-size:1rem}.empty-icon{width:60px;height:60px;border-radius:18px;background:#eef7f5;color:var(--brand);display:grid;place-items:center}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px;box-shadow:var(--shadow);display:grid;gap:7px;min-width:0}.metric-icon{width:39px;height:39px;border-radius:12px;background:#eaf7f4;color:var(--brand);display:grid;place-items:center}.metric-card strong{font-family:Manrope;font-size:clamp(1.2rem,2.4vw,1.85rem);letter-spacing:-.04em;overflow-wrap:anywhere}.metric-card span{color:var(--muted);font-size:.83rem;font-weight:600}.metric-4 .metric-icon{background:#eaf3ff;color:#4d83ad}.metric-5 .metric-icon{background:#fff2e4;color:#c28545}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:17px}.toolbar.wrap{flex-wrap:wrap}.toolbar>.search-box{max-width:430px;flex:1}.search-box{height:45px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 14px;color:#94a4a8;min-width:0}.search-box input{width:100%;border:0;background:transparent;color:var(--ink);font-size:.9rem;outline:0}.search-box input:focus{box-shadow:none}.toolbar select,.toolbar input[type=date]{height:44px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:0 12px;color:var(--ink);max-width:180px}.segmented{display:inline-flex;background:#eaf2f1;padding:4px;border-radius:12px;gap:3px}.segmented button{border:0;background:none;border-radius:9px;padding:9px 13px;font-size:.84rem;font-weight:800;color:#72878a;white-space:nowrap}.segmented button.active{background:#fff;color:var(--brand);box-shadow:0 2px 7px #143b3c13}.switch-label,.check-label{display:inline-flex;align-items:center;gap:8px;font-size:.87rem;font-weight:700;color:#50666b;cursor:pointer}.check-label input,.switch-label input{accent-color:var(--brand);width:17px;height:17px}.patient-row,.invoice-row,.user-row{border-top:1px solid var(--line);padding:14px 20px;display:flex;align-items:center;gap:16px}.patient-row-main{min-width:0;flex:1;border:0;background:none;text-align:left;display:flex;align-items:center;gap:14px;color:var(--ink)}.patient-row-main>span{display:grid;gap:4px;min-width:0}.patient-row-main strong{font-size:.95rem}.patient-row-main small{color:var(--muted);overflow:hidden;text-overflow:ellipsis}.patient-row-main svg:last-child{margin-left:auto;color:#9aafb1;flex:none}.patient-avatar{width:46px;height:46px;border-radius:14px}.row-actions{display:flex;align-items:center;gap:10px}.row-actions button{border:0;background:none;color:var(--brand);font-size:.82rem;font-weight:800;padding:6px}.row-actions button:last-child{color:#b27774}.date-group+.date-group{border-top:1px solid var(--line)}.date-group h2{margin:0;padding:20px 22px 10px;font-size:1rem;display:flex;align-items:center;gap:9px}.appointment-row{display:flex;gap:20px;padding:16px 22px;border-top:1px solid var(--line);align-items:center}.time-rail{border-left:3px solid var(--brand);padding-left:12px;min-width:90px;display:grid;gap:3px}.time-rail strong{font-size:.86rem}.time-rail span,.appointment-main small{font-size:.79rem;color:var(--muted)}.appointment-main{display:grid;gap:4px;flex:1;min-width:0}.appointment-main button{border:0;background:none;padding:0;color:var(--ink);display:flex;align-items:center;gap:4px;text-align:left}.appointment-main button:hover{color:var(--brand)}.appointment-main span{font-size:.86rem;color:#526a70}.appointment-end{display:grid;justify-items:end;gap:5px}.treatment-row{display:grid;grid-template-columns:110px 1fr auto;gap:17px;align-items:center;padding:17px 22px;border-top:1px solid var(--line)}.treatment-date{font-size:.83rem;color:#789096}.treatment-row>div:nth-child(2){display:grid;gap:4px}.treatment-row small{color:var(--muted)}.row-tail{display:grid;justify-items:end;gap:5px}.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.service-card{border:1px solid var(--line);border-radius:17px;padding:19px;background:#fff;box-shadow:var(--shadow);display:grid;min-height:230px}.service-card.muted-card{opacity:.66}.service-card-top{display:flex;justify-content:space-between;margin-bottom:13px}.service-symbol{width:41px;height:41px;border-radius:12px;background:#e6f4f1;color:var(--brand);display:grid;place-items:center}.service-card>small{color:var(--brand);font-weight:800}.service-card h3{margin:6px 0 5px}.service-card p{color:var(--muted);font-size:.86rem;margin:0}.service-card-foot{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:end;margin-top:14px;padding-top:13px}.service-card-foot>div{display:grid;gap:3px}.service-card-foot strong{font-family:Manrope;font-size:1.06rem}.service-card-foot span{color:var(--muted);font-size:.78rem}.profile-hero{border-radius:22px;padding:25px;background:linear-gradient(115deg,var(--brand),#154c55);color:#fff;display:flex;align-items:center;gap:18px}.profile-avatar{width:75px;height:75px;border-radius:23px;background:#ffffff2b;display:grid;place-items:center;font-size:1.7rem;font-weight:800;flex:none}.profile-heading{flex:1}.profile-heading .eyebrow{color:#bcece4}.profile-heading h1{margin:4px 0}.profile-heading p{margin:0;color:#d6f1ee;font-size:.87rem}.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin:17px 0}.tab-strip{display:flex;overflow-x:auto;gap:5px;border-bottom:1px solid var(--line);margin-bottom:18px;scrollbar-width:none}.tab-strip button{background:none;border:0;border-bottom:3px solid transparent;padding:13px 14px;font-size:.86rem;font-weight:800;color:#758d90;white-space:nowrap}.tab-strip button.active{color:var(--brand);border-color:var(--brand)}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:15px}.profile-grid .panel h2{margin-bottom:20px}.profile-grid .panel h3{margin:22px 0 6px}.profile-grid .panel p{color:var(--muted)}.detail-line{display:flex;align-items:start;gap:11px;margin:15px 0;color:#51686d}.detail-line svg{color:var(--brand);flex:none}.detail-list{display:grid;grid-template-columns:1fr;gap:4px}.detail-list dt{font-size:.76rem;font-weight:800;color:#819498;text-transform:uppercase;margin-top:8px}.detail-list dd{margin:0}.summary-big{font-family:Manrope;font-weight:800;font-size:1.65rem;color:var(--brand)}.mini-stats{display:grid;gap:9px;border-top:1px solid var(--line);padding-top:18px}.note-text{white-space:pre-wrap}.back-link{margin:-7px 0 15px}.chart-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);gap:17px}.chart-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;min-width:0}.chart-legend{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:.78rem;margin-bottom:25px}.condition-dot{width:11px;height:11px;border-radius:50%;display:inline-block}.condition-dot.healthy{background:#72bbad}.condition-dot.issue{background:#ef9a7d}.condition-dot.restored{background:#8fa6d7}.tooth-arch+.tooth-arch{margin-top:28px}.arch-label{text-align:center;font-size:.79rem;font-weight:800;color:#82979a;margin-bottom:12px}.teeth-grid{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:4px}.tooth-cell{border:1px solid #cfe4df;background:#eef8f5;color:#3c9689;border-radius:12px;min-width:0;min-height:57px;display:grid;place-items:center;padding:5px 0}.tooth-cell span{font-size:.69rem;font-weight:800}.tooth-cell.selected{outline:3px solid var(--brand);outline-offset:1px}.tooth-cell.cond-caries,.tooth-cell.cond-extraction,.tooth-cell.cond-missing-tooth,.tooth-cell.cond-for-observation{background:#fff0e7;color:#c67250;border-color:#f2cbb7}.tooth-cell.cond-filling,.tooth-cell.cond-crown,.tooth-cell.cond-root-canal,.tooth-cell.cond-denture,.tooth-cell.cond-implant{background:#edf0fb;color:#6c7cb1;border-color:#d3d9f0}.tooth-details{display:grid;align-content:start;gap:13px}.tooth-details .section-head{margin-bottom:0}.tooth-details h2{margin:2px 0}.tooth-details small{color:var(--muted)}.form-message{color:var(--brand);font-size:.86rem;margin:0}.billing-summary,.report-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.billing-summary .panel,.report-overview .panel{display:grid;gap:6px}.billing-summary span,.report-overview span{color:var(--muted);font-size:.84rem}.billing-summary strong,.report-overview strong{font:800 1.3rem Manrope}.header-actions,.export-actions{display:flex;gap:8px;align-items:center}.invoice-icon{width:41px;height:41px;border-radius:12px;background:#e8f5f2;color:var(--brand);display:grid;place-items:center;flex:none}.invoice-main{display:grid;gap:3px;flex:1;min-width:0}.invoice-main strong,.invoice-main span,.invoice-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-main small{color:var(--muted)}.invoice-main .inline-link{padding:0}.invoice-tail{display:grid;justify-items:end;gap:3px}.invoice-tail small{color:var(--muted)}.invoice-actions{display:grid;gap:3px}.report-filter{display:flex;align-items:end;gap:12px;margin-bottom:15px}.report-filter .field{max-width:220px}.report-filter .button{margin-bottom:0}.scroll-segment{max-width:100%;overflow:auto}.report-row{border-top:1px solid var(--line);padding:15px 22px;display:flex;align-items:center;gap:14px;font-size:.86rem}.report-row strong{min-width:105px}.report-row span{flex:1;color:var(--muted)}.report-row b{white-space:nowrap}.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.settings-nav{display:grid;gap:5px}.settings-nav button{border:0;background:transparent;padding:13px 14px;text-align:left;color:#667d82;font-weight:800;border-radius:11px;display:flex;align-items:center;gap:10px}.settings-nav button.active{background:#e7f3f0;color:var(--brand)}.settings-content{min-width:0}.settings-content>form>.section-head{margin-bottom:24px}.settings-content h3{margin:25px 0 10px}.logo-editor{display:flex;align-items:center;gap:17px;padding:17px;background:#f6faf9;border:1px solid var(--line);border-radius:13px;margin-bottom:22px}.logo-preview{width:73px;height:73px;border-radius:18px;background:#e6f3f0;color:var(--brand);display:grid;place-items:center;flex:none}.logo-preview img{width:100%;height:100%;object-fit:cover;border-radius:18px}.logo-editor p{font-size:.8rem;color:var(--muted);margin:4px 0 8px}.logo-editor input{max-width:100%;font-size:.8rem}.color-row{display:flex;gap:20px}.color-row input{width:82px;height:46px;padding:5px}.user-row>div:nth-child(2){display:grid;gap:3px;flex:1}.user-row small{color:var(--muted)}.settings-password{margin-top:20px}.settings-actions{margin:18px 0}.backup-list>div{display:flex;align-items:center;gap:10px;padding:12px;border-top:1px solid var(--line);font-size:.84rem}.backup-list span{flex:1}.danger-zone{border:1px solid #f0dcd5;background:#fffaf7;border-radius:13px;padding:17px;margin-top:22px}.danger-zone h3{margin:0 0 5px}.danger-zone p{font-size:.84rem;color:var(--muted)}.danger-zone input{display:block;margin-bottom:12px;max-width:100%}.activity-row{border-top:1px solid var(--line);padding:14px 0;display:flex;align-items:center;gap:12px}.activity-dot{width:10px;height:10px;border-radius:50%;background:var(--brand);flex:none}.activity-row>div:nth-child(2){display:grid;gap:3px;flex:1}.activity-row small,.activity-row time{color:var(--muted);font-size:.77rem}.field{display:grid;gap:7px;font-size:.84rem;font-weight:800;color:#4b6368;min-width:0}.field input,.field select,.field textarea{width:100%;border:1px solid #d9e6e4;background:#fff;border-radius:10px;padding:11px 12px;min-height:45px;color:var(--ink);font-weight:500}.field textarea{resize:vertical;min-height:87px}.field small{font-weight:500;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field.wide{grid-column:1/-1}.modal-backdrop{position:fixed;inset:0;background:#142b36ad;z-index:100;display:grid;place-items:center;padding:20px}.modal{width:min(100%,620px);max-height:min(93vh,950px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 25px 80px #09202755;padding:22px}.modal-wide{width:min(100%,810px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:17px;border-bottom:1px solid var(--line);margin-bottom:17px}.modal-head h2{margin:0}.icon-button{border:0;background:#f1f6f5;color:#49676a;border-radius:10px;width:36px;height:36px;display:grid;place-items:center;flex:none}.record-form{display:grid;gap:17px}.record-form h3{margin:10px 0 -5px;border-bottom:1px solid var(--line);padding-bottom:8px}.accuracy{padding:13px;background:#f6faf9;border-radius:10px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:15px;border-top:1px solid var(--line)}.form-error{padding:11px 13px;background:#fff0ef;border:1px solid #f5c9c6;color:#a54543;border-radius:10px;font-size:.86rem;margin:0}.invoice-items{display:grid;gap:9px}.invoice-item{display:grid;grid-template-columns:1.2fr 1.4fr 70px 100px 36px;gap:8px;align-items:end}.invoice-item .icon-button{margin-bottom:4px}.add-line{justify-self:start}.invoice-summary{margin-left:auto;width:min(100%,300px);display:grid;gap:8px;background:#f6faf9;padding:15px;border-radius:13px}.invoice-summary>div:not(.field){display:flex;justify-content:space-between}.invoice-summary .summary-total{border-top:1px solid var(--line);padding-top:10px;color:var(--brand);font-size:1.06rem}.due-note{align-self:end;background:#f3f8f7;padding:13px;border-radius:9px;font-size:.82rem}.toast{position:fixed;right:18px;bottom:18px;z-index:140;background:#163e44;color:#fff;padding:13px 17px;border-radius:12px;box-shadow:0 13px 40px #0d373750;display:flex;align-items:center;gap:8px;font-weight:700;font-size:.86rem}.receipt-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.receipt-controls>div{display:flex;gap:8px}.receipt-paper{background:#fff;border:1px solid #e4e7e5;box-shadow:0 7px 20px #102c2d10;width:min(100%,440px);margin:0 auto;padding:30px;color:#203338;font-size:.82rem}.receipt-compact{max-width:300px;padding:15px}.receipt-brand{text-align:center}.receipt-brand img{width:53px;height:53px;object-fit:contain}.receipt-logo{width:46px;height:46px;border-radius:14px;background:var(--brand);color:#fff;display:grid;place-items:center;margin:0 auto 8px}.receipt-brand h2{font-size:1rem;margin:5px 0}.receipt-brand p{margin:2px 0;color:#708084}.receipt-rule{border-top:1px dashed #aebdbc;margin:18px 0}.receipt-meta,.receipt-totals{display:grid;gap:7px}.receipt-meta>div,.receipt-totals>div,.receipt-items>div{display:flex;justify-content:space-between;gap:10px}.receipt-meta span:first-child,.receipt-totals span{color:#708084}.receipt-items{display:grid;gap:10px}.receipt-items small{display:block;color:#708084}.receipt-grand{border-top:1px solid #dce7e5;padding-top:9px;font-size:1rem}.receipt-payment,.receipt-footer{text-align:center;color:#708084;font-size:.76rem;margin:20px 0 0}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,.8fr);background:#fff}.auth-intro{background:linear-gradient(142deg,#0f6669,#154d56 70%,#123d48);color:#fff;padding:clamp(35px,7vw,95px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;overflow:hidden}.auth-intro:before,.auth-intro:after{content:"";position:absolute;border:1px solid #ffffff1d;border-radius:50%;width:600px;height:600px;right:-270px;top:-200px}.auth-intro:after{width:450px;height:450px;right:-120px;top:auto;bottom:-250px}.auth-logo{width:72px;height:72px;border-radius:22px;background:#ffffff26;display:grid;place-items:center;margin-bottom:22px}.auth-logo img{width:100%;height:100%;border-radius:22px;object-fit:cover}.auth-brand{font:800 1rem Manrope;max-width:350px}.auth-intro h1{font-size:clamp(2.4rem,5vw,4.7rem);max-width:560px;line-height:1.08;margin:35px 0 18px}.auth-intro p{max-width:400px;color:#ccece8;font-size:1.05rem}.auth-decoration{display:flex;gap:8px;margin-top:50px}.auth-decoration span{height:6px;width:25px;background:#ffffff48;border-radius:8px}.auth-decoration span:first-child{width:55px;background:#fff}.auth-card{width:min(100%,490px);margin:auto;padding:35px 45px}.auth-card h2{font-size:2rem;margin:7px 0}.auth-card>p{color:var(--muted);margin-bottom:25px}.auth-form{display:grid;gap:17px}.auth-form h3{margin:17px 0 -7px}.auth-form .button{width:100%;margin-top:5px}.auth-options{display:flex;align-items:center;justify-content:space-between;gap:10px}.password-field{display:flex;border:1px solid #d9e6e4;border-radius:10px;align-items:center}.password-field input{border:0;box-shadow:none!important}.password-field button{border:0;background:none;color:#6c8488;padding:7px 10px}.auth-footer{border-top:1px solid var(--line);padding-top:18px;margin-top:27px;color:#789094;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.8rem}.help-note{background:#f2f9f7;padding:13px;border-radius:10px;color:#5c7779;font-size:.86rem}.auth-mobile-brand,.mobile-fab-wrap,.bottom-nav,.more-sheet{display:none}.chart-updated{font-size:.82rem;color:var(--muted);margin:0}.print-clinic-name{display:none}@media(min-width:1000px){.sidebar{width:243px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:22px 13px;z-index:30}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:5px 5px 26px;min-height:75px}.sidebar-brand strong{font:800 .9rem/1.25 Manrope;display:block}.sidebar-brand small{font-size:.7rem;color:var(--muted)}.side-section{font-size:.67rem;letter-spacing:.15em;color:#9aaeb0;font-weight:800;margin:17px 13px 12px}.sidebar nav{display:grid;gap:4px}.side-link{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;border-radius:11px;padding:12px;color:#61787d;font-size:.87rem;font-weight:800;text-align:left}.side-link.active,.side-link:hover{background:#e9f5f2;color:var(--brand)}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:15px}.signed-in{display:flex;gap:10px;align-items:center;padding:8px 6px 14px;min-width:0}.signed-in>div:last-child{min-width:0;display:grid}.signed-in strong{font-size:.78rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.signed-in small{text-transform:capitalize;color:var(--muted)}.main-area{margin-left:243px}.mobile-brand{display:none}.content{padding:32px 35px 70px}}@media(max-width:999px){.desktop-title{display:none}.topbar{padding:0 18px}.content{padding:24px 18px 120px}.mobile-fab-wrap{display:block;position:fixed;right:18px;bottom:87px;z-index:50}.fab{width:57px;height:57px;border:0;background:var(--brand);color:#fff;border-radius:18px;display:grid;place-items:center;box-shadow:0 10px 28px #0e5e6090}.fab.open{background:#244a50}.quick-menu{position:absolute;bottom:68px;right:0;width:210px;background:#fff;padding:7px;border:1px solid var(--line);border-radius:15px;box-shadow:0 15px 45px #0f424450}.quick-menu button{display:flex;align-items:center;gap:10px;border:0;background:none;color:var(--ink);width:100%;padding:12px;border-radius:9px;text-align:left;font-weight:700}.quick-menu button:hover{background:#f0f8f6}.quick-menu svg{color:var(--brand)}.bottom-nav{height:72px;display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:40;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav button{border:0;background:none;min-width:0;flex:1;display:grid;place-content:center;justify-items:center;gap:3px;color:#82979a;font-size:.67rem;font-weight:800}.bottom-nav button.active{color:var(--brand)}.more-sheet{display:grid;position:fixed;left:10px;right:10px;bottom:79px;background:#fff;border-radius:18px;border:1px solid var(--line);padding:12px;z-index:45;box-shadow:0 13px 50px #0a353540}.more-head{display:flex;justify-content:space-between;align-items:center;padding:8px}.more-head button,.more-sheet>button{border:0;background:none}.more-sheet>button{display:flex;align-items:center;gap:12px;text-align:left;padding:13px;border-radius:9px;color:var(--ink);font-weight:800}.more-sheet>button svg{color:var(--brand)}.toast{bottom:85px}}@media(max-width:700px){.topbar{height:64px;gap:9px}.top-avatar{display:none}.mobile-brand strong{max-width:130px;font-size:.72rem}.global-search{max-width:none}.global-search .search-box{height:39px;padding:0 9px}.global-search input{font-size:.74rem}.global-search input::placeholder{color:transparent}.global-search .search-box:focus-within{position:absolute;left:0;right:0;top:-20px;height:64px;background:#fff;z-index:3}.global-search .search-box:focus-within input::placeholder{color:#9baeb0}.content{padding:19px 14px 125px}.page-head{flex-direction:column;align-items:stretch;gap:12px}.page-head h1{font-size:1.7rem}.page-head p{font-size:.82rem}.page-head>.button,.page-head .header-actions .button{font-size:.82rem;padding:9px 10px;min-height:42px;width:100%}.page-head .header-actions .button.secondary{display:none}.metric-card{padding:14px}.metric-card strong{font-size:1.18rem}.panel{padding:17px}.list-panel{padding:0}.list-panel>.section-head,.list-panel>h2{padding:16px 16px 0}.list-card{padding:14px 15px}.list-card .time-chip{display:none}.list-card .badge{font-size:.66rem}.patient-row{padding:12px 14px;display:block}.patient-row-main{width:100%}.patient-row-main small{font-size:.76rem}.row-actions{padding-left:55px}.toolbar{flex-wrap:wrap}.toolbar>.search-box{max-width:none;flex-basis:100%}.toolbar select,.toolbar input[type=date]{flex:1;max-width:none;min-width:125px}.appointment-row{gap:10px;padding:14px}.time-rail{min-width:70px;padding-left:8px}.appointment-main{font-size:.84rem}.appointment-end .badge{font-size:.67rem}.treatment-row{grid-template-columns:1fr auto;gap:8px;padding:14px}.treatment-date{grid-column:1/-1}.row-tail{align-self:start}.service-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.profile-hero{padding:18px;flex-wrap:wrap}.profile-avatar{height:55px;width:55px;border-radius:15px;font-size:1.25rem}.profile-heading h1{font-size:1.35rem}.profile-hero .button{width:100%}.profile-actions{display:grid;grid-template-columns:repeat(2,1fr)}.profile-actions .button{font-size:.76rem;padding:8px;min-height:42px}.chart-layout{grid-template-columns:1fr}.chart-panel{padding:10px}.teeth-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.tooth-cell{min-height:53px;border-radius:8px}.tooth-cell svg{width:18px}.tooth-cell span{font-size:.65rem}.billing-summary,.report-overview{gap:7px}.billing-summary .panel,.report-overview .panel{padding:12px}.billing-summary span,.report-overview span{font-size:.68rem}.billing-summary strong,.report-overview strong{font-size:.94rem;overflow-wrap:anywhere}.invoice-row{padding:13px;display:grid;grid-template-columns:39px 1fr auto;gap:8px}.invoice-main{grid-column:2}.invoice-tail{grid-column:3;grid-row:1;align-self:start}.invoice-tail strong{font-size:.85rem}.invoice-actions{grid-column:2/-1;display:flex}.report-filter{flex-wrap:wrap}.report-filter .field{flex:1;min-width:130px}.report-filter .button{width:100%}.export-actions{margin-left:auto}.report-row{display:grid;gap:4px;padding:13px}.report-row strong,.report-row span,.report-row b{min-width:0}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow-x:auto;scrollbar-width:none}.settings-nav button{flex:none;font-size:.78rem;padding:10px}.settings-nav button svg{width:16px}.settings-content{padding:16px}.settings-content .section-head{align-items:start}.settings-content .section-head .button{font-size:.76rem;padding:8px}.user-row{display:grid;grid-template-columns:38px 1fr auto;padding:13px}.user-row .row-actions{grid-column:2/-1;padding:0;flex-wrap:wrap}.activity-row time{font-size:.67rem}.modal-backdrop{padding:0;align-items:end}.modal{width:100%;max-height:94vh;border-radius:20px 20px 0 0;padding:16px}.form-grid{grid-template-columns:1fr}.invoice-item{grid-template-columns:1fr 1fr 36px;align-items:end;padding:9px;background:#f7faf9;border-radius:11px}.invoice-item .field:nth-child(1),.invoice-item .field:nth-child(2){grid-column:1/-1}.invoice-item .icon-button{grid-column:3;grid-row:3}.invoice-item .field:nth-child(3){grid-column:1;grid-row:3}.invoice-item .field:nth-child(4){grid-column:2;grid-row:3}.receipt-controls{align-items:start;flex-wrap:wrap}.receipt-controls>div{width:100%}.receipt-controls .button{flex:1}.auth-layout{grid-template-columns:1fr;align-items:center;background:#f4faf8}.auth-intro{display:none}.auth-card{background:#fff;min-height:100vh;width:100%;max-width:460px;padding:35px 26px;display:flex;flex-direction:column;justify-content:center}.auth-mobile-brand{display:flex;gap:11px;align-items:center;margin-bottom:35px}.auth-card h2{font-size:1.8rem}.auth-card>p{font-size:.88rem}.auth-footer{margin-top:50px}}@media(max-width:380px){.mobile-brand strong{max-width:100px}.metric-card span{font-size:.75rem}.tooth-cell svg{width:16px}.tooth-cell span{font-size:.62rem}.receipt-controls .button{font-size:.74rem}}@media print{body{background:#fff}.sidebar,.topbar,.bottom-nav,.mobile-fab-wrap,.more-sheet,.toast,.modal-head,.receipt-controls,.page-head,.toolbar,.report-filter,.report-overview,.settings-nav{display:none!important}.main-area{margin:0}.content{padding:0}.modal-backdrop{position:static;background:none;display:block;padding:0}.modal{box-shadow:none;border:0;max-height:none;overflow:visible;padding:0;width:100%}.receipt-paper{box-shadow:none;border:0;width:100%;max-width:none;margin:0;padding:0}.receipt-compact{width:80mm;max-width:80mm}.report-print{box-shadow:none;border:0;padding:0}.report-print h2{padding:0}.content:has(.report-print)>*:not(.report-print){display:none}@page{margin:12mm}}@media(max-width:430px){.teeth-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:430px){.billing-summary,.report-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-summary .panel:last-child,.report-overview .panel:last-child{grid-column:1/-1}}@media(max-width:700px){.tab-strip{flex-wrap:wrap;overflow:visible}.tab-strip button{min-height:44px;flex:1 1 auto}.scroll-segment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:visible}.scroll-segment button{white-space:normal;min-height:44px}.export-actions{width:100%;justify-content:flex-end}.export-actions .button{min-height:42px}.invoice-actions{gap:12px}}@media(max-width:700px){.export-actions{justify-content:space-between;padding-right:70px}.export-actions .button{flex:1;padding:8px 6px}}@media(max-width:700px){.settings-content .section-head{flex-direction:column;align-items:stretch}.settings-content .section-head .button{width:100%}.logo-editor>div:last-child{min-width:0}.logo-editor input[type=file]{width:100%}}@media(max-width:430px){.logo-editor{flex-wrap:wrap}.logo-editor>div:last-child{width:100%}}@media print{body:has(#receipt-print) .main-area{display:none!important}}@media print{.print-clinic-name{display:block;font:800 1.15rem Manrope;margin-bottom:9px}}
