:root{--navy:#162e3c;--ink:#213547;--muted:#7b8794;--teal:#258c80;--line:#e7ecf0;--bg:#f5f7fa;--radius:12px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 "Segoe UI",Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.25;margin-bottom:9px}h2{font-size:17px;font-weight:650;letter-spacing:-.3px;margin-bottom:12px}h3{font-size:14px;font-weight:600;margin-bottom:10px}p{margin-bottom:14px}small{font-size:12px}strong,b{font-weight:600}.muted{color:var(--muted)}.text-danger,.danger-text{color:#bd6456!important}.text-teal{color:var(--teal)!important}.dot{margin:0 7px;color:#b3bcc7}.wide{grid-column:1/-1}.full-width{width:100%}.truncate{max-width:230px;overflow:hidden;text-overflow:ellipsis}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#b2c2cd;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:11px;color:#fff;padding:31px 25px 28px;font-size:22px;font-weight:700;letter-spacing:2.4px;line-height:1.15}.brand-mark{display:grid;place-items:center;width:37px;height:42px;background:#244c55;border-radius:10px;color:#87d7c6}.brand-mark svg{width:27px;height:30px}.brand-sub{display:block;font-size:8px;letter-spacing:2px;font-weight:500;margin-top:7px;color:#a2b9c7}.workspace-label{font-size:8px;letter-spacing:1.6px;margin:5px 25px 15px;color:#7d98aa}.sidebar nav{padding:0 15px;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#375462 transparent}.nav-link{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:7px;margin:3px 0;font-size:12.5px;position:relative}.nav-link svg{width:18px;height:18px;color:#8fa6b6}.nav-link:hover{background:#ffffff08;color:white}.nav-link.active{background:#294851;color:#c2eedf}.nav-link.active svg{color:#93d7c3}.nav-link.active:before{content:"";position:absolute;left:-15px;width:3px;height:22px;border-radius:0 2px 2px 0;background:#8bd5bc}.nav-caption{font-size:9px;letter-spacing:1.5px;color:#7793a5;padding:24px 13px 8px}.nav-count{margin-left:auto;background:#395a61;color:#bde5d9;min-width:20px;text-align:center;border-radius:4px;font-size:10px}.sidebar-footer{padding:19px 22px;border-top:1px solid #ffffff09;display:flex;align-items:center;gap:7px;font-size:10px;color:#91a7b5}.sidebar-footer .muted{margin-left:auto;font-size:9px}.live-dot{width:6px;height:6px;border-radius:50%;background:#7ec2ad}.app-shell{margin-left:242px}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 34px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:15px}.breadcrumb{font-size:11px;color:#919ca6}.breadcrumb span{padding:0 12px;color:#c9d1d8}.breadcrumb strong{color:#475865}.global-search{display:flex;align-items:center;gap:10px;background:#f7f9fb;border:1px solid #edf0f3;border-radius:7px;padding:8px 12px;max-width:295px;margin-left:auto}.global-search svg{width:16px;color:#8b99a6}.global-search input{border:0;background:transparent;outline:0;padding:0;width:165px;font-size:11px;min-height:22px}.global-search kbd{font:9px "Segoe UI";color:#94a0aa;white-space:nowrap;border:1px solid #e0e5eb;border-radius:3px;padding:2px 4px}.icon-btn{border:0;background:transparent;display:grid;place-items:center;position:relative;padding:6px;color:#788995}.icon-btn svg{width:19px;height:19px}.notification-icon i{position:absolute;width:5px;height:5px;border-radius:50%;background:#deaa74;right:8px;top:5px}.topbar-divider{height:27px;width:1px;background:var(--line);margin:0 3px}.user-menu{position:relative}.user-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#e9f0ef;color:#4b7b70;font-weight:700;font-size:12px}.user-copy strong{font-size:12px;display:block}.user-copy small{display:block;color:#92a0a9;font-size:10px}.chevron{color:#9eacb5;margin-left:7px}.user-dropdown{position:absolute;right:0;top:50px;min-width:185px;z-index:45;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 30px #14324315;padding:10px}.user-dropdown a,.user-dropdown button{display:block;padding:9px;border:0;background:none;text-align:left;width:100%;font-size:12px;color:var(--ink)}.menu-toggle{display:none}.main-content{padding:30px 34px 0;max-width:1820px;margin:auto;min-height:calc(100vh - 82px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{margin:0;color:var(--muted);font-size:12px}.section-kicker{display:block;font-size:9px;letter-spacing:1.8px;font-weight:600;color:#8595a0;margin-bottom:9px;text-transform:uppercase}.greeting-dot{color:var(--teal)}.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 16px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;min-height:39px}.btn svg{width:15px;height:15px}.primary{background:var(--teal);color:white;border-color:var(--teal)}.primary:hover{background:#19796e}.secondary{background:#fff;border-color:#dfe6ea;color:#536372}.secondary:hover{background:#f7fafb}.btn.small{padding:6px 10px;font-size:11px;min-height:31px}.text-link{font-size:11px;color:var(--teal);font-weight:600}.text-link span{margin-left:9px}.text-button{border:0;background:transparent;color:var(--teal);padding:8px 0;text-align:left;font-size:12px}.welcome-banner{position:relative;overflow:hidden;display:flex;justify-content:space-between;background:linear-gradient(110deg,#e5f0ed,#f1f6f4);border:1px solid #dcebe4;border-radius:12px;padding:26px 30px;margin-bottom:24px;min-height:188px}.banner-kicker{font-size:8px;letter-spacing:1.8px;color:#779c91;font-weight:600;display:block;margin-bottom:12px}.welcome-banner h2{font-size:23px;font-weight:600;letter-spacing:-.6px;margin-bottom:8px;color:#28564e}.welcome-banner p{font-size:11.5px;color:#69877e;margin-bottom:19px}.welcome-banner a{font-size:11px;font-weight:600;color:#36776a}.welcome-banner a span{margin-left:12px}.banner-art{position:absolute;right:47px;top:0;width:240px;height:100%;display:grid;place-items:center;pointer-events:none}.tooth-ring{border:1px solid #b8d3ca88;border-radius:50%;width:136px;height:136px;display:grid;place-items:center;background:#e6f0eb77;transform:rotate(-12deg)}.tooth-ring svg{width:63px;height:83px;color:#86b4a4;filter:drop-shadow(5px 9px 2px #96b3a82a)}.orb{position:absolute;border:1px solid #b8d3ca66;border-radius:50%;width:175px;height:175px}.orb-2{width:225px;height:225px;border-color:#b8d3ca44}.art-label{position:absolute;bottom:13px;font-size:6px;letter-spacing:1.6px;color:#91b1a4;display:flex;align-items:center;gap:5px}.art-label i{width:3px;height:3px;background:#7eb4a0;border-radius:50%}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:5px;color:#74838e;font-size:11px}.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px}.stat-icon svg{width:17px;height:17px}.indigo{color:#7784bd;background:#eff0fa}.blue{color:#719fbc;background:#ebf3f9}.teal{color:#70a894;background:#edf6f1}.orange{color:#c1946e;background:#faf0e7}.stat-value{font-size:31px;letter-spacing:-1px;font-weight:650;margin:4px 0 12px;line-height:1.25}.stat-value>span{float:right;font-size:18px;color:#d1d9df;padding-top:9px;font-weight:400}.stat-caption{border-top:1px solid #f0f3f5;padding-top:12px;display:flex;justify-content:space-between;font-size:9px;color:#a1aeb6}.stat-card>span{font-size:12px;color:var(--muted)}.stat-card>h2{font-size:23px;margin:9px 0 5px;word-break:break-word}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px}.dashboard-main,.dashboard-side{min-width:0}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;margin-bottom:22px;min-width:0}.panel-header{padding:22px 23px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #f0f3f6}.panel-header h2{font-size:14px;margin:0 0 4px}.panel-header p{font-size:10px;color:#9aa7b1;margin:0}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-title h2{margin:0}.padded{padding:24px}.table-wrap{overflow-x:auto;border-radius:0 0 var(--radius) var(--radius)}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:8px;letter-spacing:1px;font-weight:600;color:#8f9ca7;background:#fbfcfd;padding:14px 20px;white-space:nowrap}td{font-size:11px;padding:17px 20px;border-bottom:1px solid #f0f3f5;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfd}td small{display:block;font-size:9px;color:#98a4ae;margin-top:4px}td .cell-strong{font-size:10px;color:#586b78}.case-link{font-size:11px;font-weight:650;color:#486476;letter-spacing:.2px}.case-link:hover{color:var(--teal)}.patient-name{font-size:10px;color:#96a2ac;margin-top:4px}.privacy-icon{font-size:10px;color:#b1bac2;margin-left:3px}.doctor-avatar{display:inline-grid;place-items:center;font-size:8px;color:#8fa5b0;width:22px;height:22px;border:1px solid #e8eef1;background:#f5f8fa;border-radius:50%;margin-right:8px}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;max-width:100%;font-size:9px;font-weight:500;line-height:1.5;padding:4px 8px;border-radius:5px;background:#f1f3f5;color:#7a8793}.badge:before{content:"";display:inline-block;width:4px;height:4px;background:currentColor;border-radius:50%;opacity:.8}.status-new{background:#ecf1fa;color:#7c95bb}.status-draft,.neutral{background:#f0f3f5;color:#84939e}.status-accepted,.status-design{background:#eef0fb;color:#8990bc}.status-approval,.status-finishing,.warning{background:#faf1e5;color:#bd9667}.status-milling,.status-sinter{background:#eaf3f6;color:#6697a7}.status-porcelain,.status-qc{background:#f2eff9;color:#9d88b5}.status-ready,.success{background:#eaf5ef;color:#75a58a}.status-delivered{background:#eef3ef;color:#7f9b89}.danger{background:#fbeeea;color:#bb7465}.row-arrow{display:inline-grid;place-items:center;color:#abb9c3;border:1px solid #edf0f4;border-radius:5px;width:24px;height:24px}.empty-state{text-align:center;padding:45px 20px;color:#99a5ae;font-size:12px}.empty-state strong{display:block;font-size:14px;color:#708493;margin-bottom:7px}.empty-state p{max-width:340px;margin:0 auto;font-size:11px}.empty-state.compact{padding:28px 25px}.empty-check{display:grid;place-items:center;margin:0 auto 16px;border:1px solid #daeae3;background:#f1f8f4;border-radius:50%;width:40px;height:40px;color:#7ca896;font-size:21px}.count-pill{background:#eef4f2;color:#82a394;border-radius:5px;font-size:10px;padding:3px 7px}.updates-panel .panel-header{padding:22px 20px 17px}.update-item{display:flex;gap:12px;padding:17px 20px;border-bottom:1px solid #f1f3f6}.update-icon{display:grid;place-items:center;width:31px;height:31px;border:1px solid #e6eeef;background:#f5f9f8;color:#8eaaa3;border-radius:8px;flex-shrink:0}.update-icon svg{width:15px;height:15px}.update-item button{background:none;border:0;text-align:left;padding:0;flex:1;min-width:0}.update-item strong{font-size:11px;font-weight:500;color:#607481;display:block;margin-bottom:5px}.update-item button>span{font-size:9px;color:#92a0aa;display:block}.update-item i{font-size:7px;font-style:normal;background:#e8f4ef;padding:2px 4px;color:#83a996;border-radius:3px;margin-left:5px}.update-item small{display:block;color:#b0bac2;font-size:8px;margin-top:5px}.panel-bottom-link{display:flex;justify-content:space-between;padding:14px 20px;font-size:10px;color:#86a296}.tip-card,.balance-card{padding:24px;border:1px solid #dfeae6;background:#eff5f2;border-radius:12px;margin-bottom:22px}.tip-card h3{font-size:16px;font-weight:550;color:#557568;line-height:1.5}.tip-card p{font-size:11px;line-height:1.9;color:#839e92}.tip-card a,.balance-card a{font-size:10px;font-weight:600;color:#6c9383}.balance-card>span{font-size:9px;letter-spacing:1.4px;color:#749788}.balance-card h2{font-size:26px;color:#375f50;margin:12px 0 2px}.balance-card p{font-size:11px;color:#88a295}.mini-panel{padding:20px}.stock-warning{font-size:11px;display:flex;justify-content:space-between;padding:9px 0;border-top:1px solid var(--line);color:#9f8764}.pipeline{padding:20px 23px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.pipeline a{display:flex;flex-direction:column;gap:9px;min-width:0}.pipeline-bar{height:4px;border-radius:3px}.pipeline strong{font-size:20px;font-weight:550;color:#566c7b}.pipeline a>span:last-child{font-size:8px;color:#93a3ad;line-height:1.6}.page-footer{font-size:9px;color:#a6b1b9;padding:27px 0 21px;display:flex;align-items:center;justify-content:space-between;margin-top:6px}.page-footer>span:last-child{display:flex;align-items:center;gap:6px}.page-footer svg{width:11px;height:11px}.footer-dot{padding:0 7px;color:#c3ccd2}
input,select,textarea{border:1px solid #dce5e9;border-radius:7px;padding:10px 12px;color:var(--ink);background:white;width:100%;outline:none;min-height:42px;max-width:100%}input:focus,select:focus,textarea:focus{border-color:#8bbeb1;box-shadow:0 0 0 3px #258c8009}input::placeholder,textarea::placeholder{color:#aab4bd;font-size:12px}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--teal);vertical-align:middle}input[type=file]{font-size:12px}label{display:block;font-size:12px;font-weight:550;color:#627785;margin:14px 0 7px}form p label{margin-top:0}.helptext,.helper{font-size:11px;color:#91a0aa;display:block;margin-top:8px;font-weight:400}.helptext ul{padding-left:18px}.errorlist{color:#b86555;font-size:12px;padding-left:20px}.form-panel{max-width:760px;padding:28px}.form-panel form>p{margin-bottom:20px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}.field-grid label{margin-top:12px}.form-columns{display:grid;grid-template-columns:1fr 1.05fr;gap:24px}.stepper{display:flex;align-items:center;gap:17px;margin:0 0 24px;color:#9eacb4;font-size:12px}.stepper span{display:flex;align-items:center;gap:9px}.stepper b{border:1px solid #dce4e7;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:11px}.stepper i{width:55px;height:1px;background:#dfe7eb}.stepper .current{color:var(--teal)}.stepper .current b{background:var(--teal);color:#fff;border-color:var(--teal)}.tooth-grid{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:3px}.tooth{padding:6px 0;border:1px solid #e1e9ed;border-radius:7px;background:#fafcfd;color:#9dafb9;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.tooth svg{width:22px;height:32px}.tooth span{font-size:9px;font-weight:600}.tooth.selected{background:#e2f2ec;border-color:#78af9d;color:#448573}.tooth:hover{border-color:#8eafa8}.lower svg{transform:rotate(180deg)}.jaw-label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.2px;color:#9daeb6;margin:24px 0 13px}.jaw-divider{height:1px;background:#e1e8ec;margin:17px 0}.selected-teeth{display:flex;flex-wrap:wrap;gap:7px}.selected-chip{display:flex;align-items:center;gap:6px;border:1px solid #e0ece7;border-radius:5px;padding:5px 8px;font-size:10px;background:#f7faf8}.selected-chip b{color:#5e9482}.selected-chip button{border:0;background:none;color:#829c90;font-size:14px}.tooth-panel h3{margin-top:30px}.filter-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:20px;border-bottom:1px solid var(--line)}.filter-bar>input{max-width:235px}.filter-bar>select{width:auto;max-width:210px}.filter-bar p{margin:0}.filter-bar p label{font-size:10px;margin-bottom:4px}.filter-bar input,.filter-bar select{font-size:11px;min-height:39px}.advanced-filter{width:100%;font-size:11px;color:#8297a4}.advanced-filter .filter-bar{padding:14px 0 0;border:0}.advanced-filter input{max-width:180px}.pagination{padding:17px 21px;display:flex;justify-content:space-between;align-items:center;color:#8c9da8;font-size:11px;border-top:1px solid var(--line)}.back-link{font-size:11px;color:#8b9ca8;display:block;margin-bottom:10px}.case-title{display:flex;align-items:center;gap:14px}.case-title h1{margin-bottom:5px}.tabs{display:flex;gap:22px;border-bottom:1px solid #e0e6eb;margin-bottom:24px;overflow:auto}.tabs a{padding:10px 0 15px;font-size:12px;color:#8c9ba6;white-space:nowrap;border-bottom:2px solid transparent}.tabs .selected{border-color:var(--teal);color:var(--teal);font-weight:600}.detail-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:24px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0 30px}.detail-grid dt{font-size:10px;color:#91a2af;margin-bottom:7px}.detail-grid dd{margin:0;font-size:13px;word-break:break-word}.detail-grid dd small{display:block;font-size:10px}.shade-swatch{display:inline-block;width:12px;height:12px;border-radius:3px;background:#eee5d3;border:1px solid #e0d6c2;margin-right:7px}.tooth-prescription{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 27px}.tooth-prescription>span{display:flex;gap:8px;align-items:center;background:#f7faf9;border:1px solid #e5edeb;border-radius:6px;padding:5px 9px;font-size:11px;color:#7c958c}.tooth-prescription b{color:#518d78}.prose{color:#7b8c98;font-size:12px;line-height:1.9}.note-callout{background:#fbf8ef;padding:14px 17px;border-left:2px solid #d9c394;border-radius:5px;margin-top:18px;color:#a5987b;font-size:12px}.note-callout p{margin:5px 0 0}.note-item{padding:18px 0;border-bottom:1px solid var(--line);font-size:12px}.note-item small{display:block;color:#99a6b0;font-size:10px}.note-item .muted{font-size:10px;margin-left:7px}.note-item p{margin:10px 0 0;color:#728793;line-height:1.8}.compact-form{margin-top:22px}.quick-links a{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px;color:#6c8b83}.draft-banner{background:#ecf5f0;border:1px solid #d6e8de;border-radius:9px;padding:18px 22px;margin-bottom:23px;display:flex;justify-content:space-between;align-items:center;gap:15px;color:#548b75}.draft-banner strong{font-size:13px}.draft-banner p{font-size:11px;margin:4px 0 0;color:#85a18f}.card-list{padding:8px 24px}.trial-card{display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}.trial-number{background:#edf5f1;color:#7b9e8d;border-radius:10px;font-size:16px;font-weight:600;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}.trial-card>div{flex:1}.trial-card h3{margin:0 0 5px}.trial-card p,.trial-card small{font-size:11px;color:#96a4ae;margin:0}.timeline{padding:12px 0 12px 15px}.timeline article{border-left:1px solid #dce7e3;padding:0 0 30px 25px;position:relative}.timeline-dot{position:absolute;top:3px;left:-4px;width:7px;height:7px;background:#8bb8a6;border:2px solid #f3faf7;border-radius:50%;outline:1px solid #cfdfd7}.timeline small{font-size:10px;color:#a4b2b9}.timeline h3{font-size:12px;margin:7px 0 3px}.timeline p{font-size:10px;color:#9cabaf;margin:0}.check-results{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:10px;color:#8ca297}.privacy-warning{border:1px solid #ecd9b1;background:#fffbf0;padding:20px;border-radius:8px;color:#9a845a;font-size:12px;margin-top:20px}.privacy-warning h3{font-size:15px;color:#9c7b43}.checkbox-label{display:flex;align-items:center;gap:9px}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;max-width:570px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 70px #1234}dialog::backdrop{background:#12273566}.inbox-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.inbox-item h3{font-size:13px;margin:5px 0}.inbox-item small{font-size:10px;color:#9fafb8}.inbox-item.unread{border-left:2px solid #89b9a6;padding-left:16px}.inbox-item>div:last-child{display:flex;gap:15px;align-items:center}.period-summary{display:flex;flex-wrap:wrap;gap:22px;padding:15px 20px;color:#8196a1;font-size:11px;background:#f8fafb}.audit-details{font-size:10px;white-space:pre-wrap;max-width:220px;overflow-wrap:anywhere}.finance-chart{height:220px;display:flex;justify-content:space-around;gap:12px;align-items:flex-end;padding:15px 20px 0;border-bottom:1px solid var(--line)}.chart-column{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1;height:100%}.chart-bars{display:flex;align-items:flex-end;justify-content:center;gap:6px;flex:1;width:100%}.chart-bars div{max-width:35px;width:35%;background:#78ad99;border-radius:4px 4px 0 0;min-height:2px}.chart-bars div:last-child{background:#b6c5d4}.chart-column span{font-size:10px;color:#98a7b0;padding-bottom:10px}.chart-legend{display:flex;gap:20px;justify-content:center;margin-top:18px;font-size:11px;color:#91a1ac}.chart-legend i{display:inline-block;width:8px;height:8px;background:#78ad99;border-radius:2px;margin-right:5px}.chart-legend span:last-child i{background:#b6c5d4}.viewer-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;min-height:560px}.model-list{padding:22px;max-height:650px;overflow:auto}.model-list>p{font-size:11px}.model-toggle{display:flex;align-items:flex-start;gap:8px;margin:16px 0;font-size:11px;overflow-wrap:anywhere}.model-toggle input{margin-top:4px}.model-toggle small{display:block;color:#9cabb4;font-size:9px}.viewer-legend{font-size:9px;color:#98aab6;border-top:1px solid var(--line);padding-top:18px;margin-top:25px}.viewer-legend i{display:inline-block;background:#cae6d8;width:7px;height:7px;border-radius:50%;margin-right:4px}.viewer-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#edf2f5;display:flex;flex-direction:column;min-width:0}.viewer-toolbar{display:flex;justify-content:space-between;gap:10px;padding:12px;background:white;border-bottom:1px solid var(--line);flex-wrap:wrap}.viewer-toolbar button{font-size:10px;background:#f6f8f9;border:1px solid #e7edef;border-radius:5px;padding:7px;color:#6d8492;margin:2px}#viewer-canvas{min-height:450px;flex:1;position:relative}#viewer-canvas canvas{display:block;width:100%;height:100%}#viewer-status{position:absolute;z-index:2;top:40%;left:10%;width:80%;text-align:center;color:#8fa3af;font-size:13px;pointer-events:none}.viewer-watermark{position:absolute;bottom:20px;right:20px;color:#a7bac577;font-size:11px;letter-spacing:2px;pointer-events:none}.viewer-watermark small{font-size:7px;display:block;letter-spacing:3px}.viewer-footer{display:flex;justify-content:space-between;padding:12px 17px;background:white;color:#9aaab4;font-size:9px}.viewer-layout:fullscreen{background:var(--bg);padding:15px}.messages{margin-bottom:20px}.alert{padding:14px 18px;border:1px solid #d8e9de;background:#f0f8f3;border-radius:8px;color:#60987e;font-size:13px;margin-bottom:10px}.alert.error{border-color:#efd7cf;background:#fff4ef;color:#b46c58}.error-page{display:grid;place-items:center;min-height:100vh;padding:20px}.error-state{text-align:center;padding:65px 25px}.login-body{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-story{background:radial-gradient(ellipse at 80% 75%,#295552 0%,transparent 55%),#152f3d;color:white;padding:10px 8% 32px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;border:1px solid #57847930;width:500px;height:500px;border-radius:50%;bottom:-260px;right:-150px;box-shadow:0 0 0 70px #57847908,0 0 0 140px #57847905;pointer-events:none}.login-story .brand{padding:26px 0}.login-story-main{margin:auto 0;padding:50px 0;z-index:1}.eyebrow{font-size:9px;letter-spacing:2.7px;color:#8db4aa}.login-story h1{font-size:clamp(30px,3.3vw,51px);line-height:1.32;font-weight:500;letter-spacing:-1.5px;margin:23px 0}.login-story em{font-style:normal;color:#99cbbb}.login-story p{font-size:13px;line-height:1.9;color:#98b1b9}.login-process{display:flex;align-items:center;gap:18px;margin-top:40px;font-size:10px;color:#6e9994}.login-process span{display:flex;flex-direction:column;gap:4px}.login-process b{color:#b0c9c6;font-size:11px;font-weight:500}.login-process i{width:35px;height:1px;background:#ffffff18}.login-story>small{font-size:7px;letter-spacing:2px;color:#76959e;z-index:1}.login-panel{display:grid;place-items:center;padding:45px}.login-card{max-width:345px;width:100%}.login-card h2{font-size:29px;letter-spacing:-1px;margin-bottom:9px}.login-card>.muted{font-size:12px;margin-bottom:35px}.login-card label{font-size:11px;margin-top:22px;margin-bottom:8px}.login-card input{background:#fcfdfd;height:45px;font-size:13px}.login-submit{margin-top:28px;width:100%;height:44px;justify-content:space-between}.login-security{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:25px;color:#94a4ae;font-size:9px}.login-security svg{width:13px;height:13px}.login-help{border-top:1px solid var(--line);margin-top:32px;padding-top:23px;text-align:center;font-size:9px;color:#acb5bd}.mobile-overlay{display:none}
@media(min-width:1550px){.main-content{padding:36px 44px 0}.dashboard-columns{grid-template-columns:minmax(0,1fr) 335px}td{padding:20px 22px;font-size:12px}.welcome-banner{min-height:205px}.sidebar{width:254px}.app-shell{margin-left:254px}}
@media(max-width:1250px){.breadcrumb{display:none}.main-content{padding:25px 24px 0}.topbar{padding:0 24px}.stat-grid{gap:12px}.stat-card{padding:17px}.banner-art{right:5px;width:200px;opacity:.6}.welcome-banner p{max-width:70%}.welcome-banner h2{font-size:21px}.form-columns{grid-template-columns:1fr}.dashboard-main td,.dashboard-main th{padding:15px 11px}.dashboard-main .doctor-avatar{display:none}.dashboard-main td{font-size:10px}}
@media(max-width:1050px){.sidebar{width:210px}.app-shell{margin-left:210px}.brand{padding:28px 20px;font-size:19px}.brand-sub{font-size:7px}.nav-link{font-size:11px;padding:10px}.workspace-label{font-size:7px;letter-spacing:1.2px}.dashboard-columns{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.stat-top{font-size:10px}.stat-icon{width:25px;height:25px}.heading-actions .btn{padding:9px 12px;font-size:11px}.page-heading h1{font-size:26px}.detail-columns{grid-template-columns:1fr}.viewer-layout{grid-template-columns:200px minmax(0,1fr)}.user-copy{display:none}.topbar{height:70px}.stat-card>h2{font-size:20px}}
@media(max-width:780px){.sidebar{transform:translateX(-100%);width:240px;transition:transform .2s}.sidebar.open{transform:translateX(0)}.app-shell{margin-left:0}.menu-toggle{display:grid}.topbar{height:66px;padding:0 18px;gap:10px;position:sticky;top:0;z-index:30}.topbar-left{gap:0}.global-search{margin-left:0;max-width:300px;flex:1}.global-search input{width:100%;min-width:0}.global-search kbd{display:none}.topbar-right{gap:8px}.topbar-divider,.topbar-right .chevron{display:none}.main-content{padding:22px 18px 0}.mobile-overlay.open{display:block;position:fixed;inset:0;background:#10273566;z-index:35}.page-heading{align-items:flex-start;flex-wrap:wrap;margin-bottom:20px;gap:15px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.section-kicker{font-size:8px}.welcome-banner{padding:22px;min-height:190px}.welcome-banner h2{font-size:20px;max-width:75%}.welcome-banner p{font-size:11px;max-width:70%}.banner-art{right:-65px;opacity:.4}.stat-grid,.stat-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat-card{padding:16px}.stat-top{font-size:11px}.stat-value{font-size:29px}.dashboard-side{grid-template-columns:1fr}.panel-header{padding:19px 17px}.panel-header h2{font-size:14px}.panel-header p{font-size:9px}.pipeline{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 12px;padding:22px}.pipeline a>span:last-child{font-size:9px}.page-footer{font-size:8px;flex-wrap:wrap;gap:12px}.form-panel,.padded{padding:20px}.form-columns,.detail-columns{gap:0}.tooth-grid{gap:2px}.tooth-grid .tooth{padding:5px 0}.tooth svg{width:17px;height:26px}.tooth span{font-size:8px}.stepper{gap:8px;font-size:10px}.stepper i{width:15px}.stepper b{width:23px;height:23px}.stepper span{gap:5px}.field-grid{gap:0 12px}.tabs{gap:20px}.tabs a{font-size:11px}.draft-banner{flex-direction:column;align-items:flex-start;padding:17px}.draft-banner form,.draft-banner button{width:100%}.case-title h1{font-size:26px}.filter-bar{gap:10px;padding:17px}.filter-bar>input{max-width:none;flex:1;min-width:150px}.filter-bar>select{flex:1;min-width:140px;max-width:none}.filter-bar>p{flex:1;min-width:140px}.filter-bar .text-link{padding:12px}.period-summary{gap:12px}.inbox-item{gap:12px;align-items:flex-start}.inbox-item>div:last-child{flex-direction:column;gap:10px}.inbox-item .btn{font-size:10px;white-space:normal}.viewer-layout{grid-template-columns:1fr;gap:0}.model-list{max-height:230px;margin-bottom:16px;padding:18px}.model-list h2{font-size:14px}#model-controls{display:flex;flex-wrap:wrap;gap:12px}.model-toggle{max-width:46%;margin:5px 0}.viewer-legend{display:none}.viewer-toolbar{padding:8px}#viewer-canvas{min-height:400px}.login-body{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100vh;padding:32px}.login-card:before{content:"FABRİKA DENTAL";display:block;letter-spacing:3px;color:var(--teal);font-size:13px;font-weight:700;margin-bottom:40px}.login-card h2{font-size:28px}td{padding:15px 16px}.viewer-layout:fullscreen{overflow:auto}.panel-title{flex-wrap:wrap}.chart-column span{font-size:8px}.finance-chart{padding:10px 0 0}.btn{min-height:42px}.pagination{flex-wrap:wrap;gap:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media print{.sidebar,.topbar,.page-footer,.heading-actions,.tabs,form{display:none!important}.app-shell{margin:0}.main-content{padding:0}.panel{break-inside:avoid}.detail-columns{display:block}}.photo-gallery{display:flex;gap:16px;flex-wrap:wrap;padding:0 20px}.photo-gallery:has(a){padding-top:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.photo-gallery a{width:160px}.photo-gallery img{width:160px;height:120px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.photo-gallery span{display:block;font-size:9px;color:#91a4ae;margin-top:5px;overflow-wrap:anywhere}
/* Case-centered workspace */
.case-identity{display:flex;flex-direction:column;gap:6px;min-width:150px;color:#183b4b;text-decoration:none}
.case-identity strong{font-size:16px;font-weight:750;line-height:1.35}
.case-identity span{font-size:14px;font-weight:650;color:#147b79;letter-spacing:.02em}
.case-title h1{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.case-code{font-size:18px;color:#147b79;background:#e5f3f0;border-radius:8px;padding:7px 10px}
.case-workspace{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:22px}
.case-workspace .panel{margin-bottom:0}
.case-workspace h2{font-size:19px;margin:10px 0 16px}
.case-workspace .form-actions{flex-wrap:wrap}
.trial-shortcuts{display:grid;gap:10px;max-height:210px;overflow:auto}
.trial-shortcuts a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #e8edf0;font-weight:650;color:#183b4b}
.shipment-banner{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px;background:#e5f3f0;border:1px solid #b8dfd5;border-radius:14px;margin-bottom:20px}
.shipment-banner p{margin:8px 0 0}.status-shipped{background:#e5edff;color:#3455a2}.status-delivered{background:#ddf3e6;color:#246641}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.catalog-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e8edf0}
.catalog-row>span:first-child{flex:1}.catalog-row small{display:block;color:#667b86;margin-top:5px}
.signup-body{background:#edf3f4;margin:0;padding:35px 16px}.signup-card{max-width:620px;margin:0 auto}
.signup-card form p{margin-bottom:16px}.signup-card label{display:block;margin-bottom:7px}.signup-card .helptext{display:block;font-size:12px;color:#657983;line-height:1.5;margin-top:5px}
.signup-card ul{font-size:12px;color:#657983;padding-left:20px}.signup-card h1{font-size:27px;margin-top:22px}
button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:1100px){.case-workspace{grid-template-columns:1fr 1fr}.case-workspace>section:last-child{grid-column:1/-1}}
@media(max-width:700px){.case-workspace,.settings-grid{grid-template-columns:1fr}.case-workspace>section:last-child{grid-column:auto}.shipment-banner{align-items:flex-start;flex-direction:column}.case-title h1{font-size:25px}.case-identity strong{font-size:15px}.catalog-row{flex-wrap:wrap}}
