:root{--bg:#f5f5f3;--card:#fff;--text:#171717;--muted:#747474;--line:#e5e5e1;--dark:#111;--soft:#efefec;--red:#b42318;--redbg:#fff0f0;--redline:#e5a2a2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,Roboto,Arial,sans-serif}button,input,textarea,select{font:inherit}.app{max-width:650px;min-height:100vh;margin:0 auto;padding-bottom:86px}.top{position:sticky;top:0;z-index:20;background:#f5f5f3f5;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-bottom:1px solid rgba(0,0,0,.04);padding:15px 16px 10px}.brand{display:flex;justify-content:space-between;align-items:end}.brand h1{margin:0;font-size:19px;letter-spacing:.02em}.brand small{color:var(--muted)}.content{padding:15px}.primary{width:100%;border:0;border-radius:16px;padding:16px;background:var(--dark);color:#fff;font-weight:800;cursor:pointer}.secondary{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;font-weight:750;cursor:pointer}.secondary.mini{padding:6px 9px}.summary{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;cursor:pointer}.summary.dark{background:#111;color:#fff;border-color:#111}.summary.compact{padding:11px 13px}.summary.confirm{background:var(--redbg);border-color:var(--redline)}.summary.confirm .label,.summary.confirm .number{color:var(--red)}.label{font-size:12px;color:var(--muted);margin-bottom:5px}.dark .label{color:#ccc}.number{font-size:24px;font-weight:850}.section-head{display:flex;justify-content:space-between;align-items:center;margin:21px 2px 9px}.section-head h3{margin:0;font-size:16px}.section-head span{font-size:12px;color:var(--muted)}.toolbar{display:flex;gap:7px;overflow:auto;padding-bottom:4px;margin-bottom:11px}.chip{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:750;cursor:pointer}.chip.active{background:#111;color:#fff;border-color:#111}.card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 13px;margin-bottom:8px}.case{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;cursor:pointer}.case h4{margin:0 0 4px;font-size:14px}.meta{font-size:12px;color:var(--muted);line-height:1.45}.badge{font-size:11px;padding:5px 7px;border:0;border-radius:8px;background:var(--soft);cursor:pointer}.date-action:hover,.date-link:hover{text-decoration:underline}.confirm-flag{display:inline-block;margin-top:5px;padding:4px 7px;border:0;border-radius:999px;background:#ffe3e3;color:var(--red);font-size:10px;font-weight:850;cursor:pointer}.search{width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;padding:13px;font-size:14px;outline:none;margin-bottom:10px}.nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(650px,100%);display:grid;grid-template-columns:repeat(3,1fr);background:#fffffff7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:7px 8px 10px;z-index:30}.nav button{border:0;background:transparent;color:#888;padding:8px 4px;font-size:12px;cursor:pointer}.nav button.active{color:#111;font-weight:850}.page{display:none}.page.active{display:block}.modal{position:fixed;inset:0;background:#0000007a;z-index:50;display:none;align-items:flex-end;justify-content:center}.modal.show{display:flex}.sheet{width:min(650px,100%);max-height:95vh;overflow:auto;background:var(--bg);border-radius:24px 24px 0 0;padding:12px 15px 28px}.mini-sheet{max-width:460px}.grab{width:42px;height:5px;border-radius:99px;background:#ccc;margin:0 auto 12px}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.sheet-head h3{margin:0;font-size:19px}.case-title-group{display:flex;align-items:center;gap:9px;min-width:0}.case-title-group h3{flex:none}.case-title-action{min-height:34px;padding:6px 10px;border-radius:10px;font-size:10px;font-weight:800;white-space:nowrap}.case-reset-head-btn{background:#fff!important;border:1px solid #d8d8d4!important;color:#555!important}.case-delete-head-btn{background:#fff8f8!important;border:1px solid #efb4b4!important;color:var(--red)!important}.close{border:0;background:var(--soft);border-radius:11px;padding:9px 11px;font-weight:750;cursor:pointer}.row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field{margin-bottom:10px}.field>label{display:block;font-size:12px;font-weight:800;color:#555;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;font-size:14px;outline:none}.field textarea{min-height:78px;resize:vertical}.clinic-row{display:grid;grid-template-columns:1fr auto;gap:7px}.add-clinic{border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 13px;font-weight:850;cursor:pointer}.work-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px;margin-bottom:8px}.work-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.work-head b{font-size:13px}.remove{border:0;background:transparent;color:#999;cursor:pointer}.unit-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.compact-units .field{margin-bottom:5px}.category-tabs{display:flex;gap:6px;overflow:auto;margin-bottom:7px}.category-tab{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 9px;font-size:11px;font-weight:800;cursor:pointer}.category-tab.active{background:#111;color:#fff}.product-buttons{display:grid;gap:5px}.product-btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 10px;text-align:left;font-size:12px;font-weight:750;cursor:pointer}.product-btn.selected{background:#111;color:#fff}.selected-product{margin-top:7px;background:var(--soft);border-radius:10px;padding:9px 10px;font-size:12px;font-weight:800}.add-work{width:100%;border:1px dashed #bbb;background:#fff;border-radius:12px;padding:12px;font-weight:800;cursor:pointer}.flag-check{display:inline-flex!important;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:9px 11px;font-size:13px!important;font-weight:750}.flag-check input{width:17px;height:17px}.save{width:100%;border:0;border-radius:14px;padding:15px;background:#111;color:#fff;font-weight:850;cursor:pointer;margin-top:13px}.detail-row{display:grid;grid-template-columns:88px 1fr;gap:8px;margin-bottom:6px}.detail-row .k{font-size:12px;color:var(--muted)}.detail-row .v{font-size:14px;font-weight:600}.work-summary{background:var(--soft);border-radius:11px;padding:9px 10px;margin-top:6px}.work-summary b{font-size:13px}.work-summary div{font-size:12px;color:#555;margin-top:3px}.date-link{border:0;background:transparent;padding:0;font-weight:750;cursor:pointer}.empty{text-align:center;color:var(--muted);padding:23px 4px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}.login-card h1{font-size:20px;margin:0 0 5px}.login-card p{font-size:13px;color:var(--muted);margin:0 0 18px}.login-card input{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px;margin-bottom:9px}.login-card button{width:100%;border:0;border-radius:12px;padding:13px;background:#111;color:#fff;font-weight:850;cursor:pointer}.error{color:var(--red);font-size:12px;margin-top:8px}.loading{padding:40px;text-align:center;color:var(--muted)}.tooth-selector{margin-bottom:12px;background:#fafafa;border:1px solid var(--line);border-radius:13px;padding:9px;touch-action:none;-webkit-user-select:none;user-select:none}.tooth-label{text-align:center;font-size:12px;font-weight:800;margin-bottom:6px}.tooth-row{display:grid;grid-template-columns:repeat(16,minmax(24px,1fr));gap:2px;margin:3px 0}.tooth-btn{min-width:0;padding:7px 1px;border:1px solid #d8d8d4;border-radius:7px;background:#fff;font-size:11px;cursor:pointer;touch-action:none}.tooth-btn.mid-gap{margin-right:5px}.tooth-btn.selected{background:#111;color:#fff;border-color:#111}.arch-btn{width:100%;border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px;font-size:11px;font-weight:750;cursor:pointer}.tooth-tools{display:flex;align-items:center;gap:8px;margin-top:7px}.tooth-selected{font-size:11px;color:var(--muted);flex:1;min-width:0}.auto-qty{display:flex!important;align-items:center;gap:5px;margin-top:5px!important;font-size:11px!important;color:var(--muted)!important;font-weight:600!important}.auto-qty input{width:auto!important;margin:0}.qty-status.warning{color:var(--red);font-weight:750}.settings-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;margin-bottom:12px}.settings-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.settings-title h3{margin:0;font-size:15px}.settings-help{margin:7px 0 10px}.manage-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:10px 0;border-top:1px solid #eee}.manage-row:first-of-type{border-top:0}.manage-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.xs{padding:6px 8px!important;font-size:11px}.danger{border:1px solid #efb4b4;background:#fff1f1;color:var(--red);border-radius:10px;padding:6px 8px;font-size:11px;font-weight:750;cursor:pointer}.danger:disabled,.secondary:disabled{opacity:.35;cursor:not-allowed}.setting-group h4{font-size:12px;margin:14px 0 0;color:#555}.quick-date-field{margin-top:12px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.inline-save{margin:0}@media(max-width:560px){.tooth-row{grid-template-columns:repeat(16,minmax(0,1fr));gap:1px}.tooth-btn{font-size:10px;padding:7px 0;border-radius:5px}.tooth-btn.mid-gap{margin-right:4px}.tooth-row .tooth-btn:nth-child(9){margin-top:0}.manage-row{grid-template-columns:1fr}.manage-actions{justify-content:flex-start}}@media(max-width:440px){.row{grid-template-columns:1fr}.brand h1{font-size:17px}.tooth-selector{padding:8px 6px}.tooth-row{gap:1px}.tooth-btn{font-size:9.5px;padding:7px 0}}.special-product-group{margin-top:10px;padding-top:9px;border-top:1px dashed #d8d8d4}.special-product-label{font-size:11px;font-weight:850;color:#555;margin-bottom:6px}.special-product-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.special-product-btn{text-align:center}.profile-preview{display:flex;flex-direction:column;gap:3px;background:var(--soft);border-radius:11px;padding:10px 11px;font-size:12px}.profile-preview b{font-size:13px}.profile-preview span{color:#666}.price-category{margin:14px 0}.price-category h4{font-size:12px;margin:0 0 5px;color:#555}.price-input-wrap{display:flex;align-items:center;gap:5px}.price-input-wrap input{min-width:0;width:100%;border:1px solid var(--line);border-radius:10px;padding:9px;text-align:right;font-size:13px}.price-input-wrap span{font-size:11px;color:var(--muted);white-space:nowrap}.price-box{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:9px;padding-top:9px;border-top:1px dashed #ddd}.price-box .field{margin:0}.price-help{margin-top:5px}.item-total{font-size:11px;color:var(--muted);text-align:right;padding-bottom:8px}.item-total b{display:block;font-size:14px;color:#111;margin-top:3px}.settlement-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.settlement-controls .field select,.settlement-controls .field input{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;font-size:14px}.settlement-total-card{background:#111;color:#fff;border-radius:18px;padding:16px;margin:2px 0 12px}.settlement-total-card>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px}.settlement-total-card>div:first-child span{color:#ccc}.settlement-total-card>div:first-child b{font-size:12px}.big-money{font-size:28px;font-weight:900;margin:11px 0}.settle-stats{display:flex;gap:7px;flex-wrap:wrap}.settle-stats span{background:#292929;border-radius:999px;padding:6px 8px;font-size:10px;color:#eee}.settlement-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #eee}.settlement-row:first-of-type{border-top:0}.settle-main{display:flex;flex-direction:column;gap:3px;min-width:0}.settle-main b{font-size:13px}.settle-main span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settle-money{text-align:right;font-size:10px;color:var(--muted)}.settle-money b{display:block;color:#111;font-size:13px;margin-top:2px}.missing-price{color:var(--red);font-weight:800}.price-warning{background:#fff1f1;border:1px solid #f1c3c3;border-radius:13px;padding:10px 11px;margin-bottom:10px;font-size:11px;color:#8e2020}.price-warning .secondary{margin-top:7px;background:#fff}.small-title{font-size:13px;margin:0 0 9px}.adjust-preview{background:var(--soft);border-radius:11px;padding:10px;font-size:12px;text-align:right}.adjust-preview b{font-size:14px}.save:disabled{opacity:.35;cursor:not-allowed}.final-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.invoice-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.small-primary{width:auto;padding:11px 14px;border-radius:12px}.lock-note{background:#fff5d6;border:1px solid #ead891;border-radius:12px;padding:9px 11px;margin-bottom:9px;font-size:12px;font-weight:750;color:#695100}@media(max-width:560px){.settlement-controls{grid-template-columns:1fr 1fr}.final-card{grid-template-columns:1fr}.invoice-actions{justify-content:flex-start}}@media(max-width:420px){.price-input-wrap{max-width:180px}.settlement-row{grid-template-columns:1fr}.settle-money{text-align:left}.settlement-total-card .big-money{font-size:25px}}.arch-only-selector{touch-action:auto}.arch-side-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0}.arch-side-btn{padding:14px 8px;border:1px solid #d8d8d4;border-radius:10px;background:#fff;font-size:20px;font-weight:850;cursor:pointer}.arch-side-btn.selected{background:#111;color:#fff;border-color:#111}.clinic-price-config-row{padding:9px 0;border-top:1px solid #eee;transition:.15s ease}.clinic-price-config-row:first-child{border-top:0}.price-config-main{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:10px;align-items:center}.price-name{display:flex;flex-direction:column;gap:2px}.price-name b{font-size:12px}.price-config-actions{display:flex;gap:5px;justify-content:flex-end;margin-top:5px}.price-row-hidden{opacity:.52;background:#fafafa}.price-row-hidden .price-name b{text-decoration:line-through;text-decoration-thickness:1px}.danger-lite{border-color:#efb4b4!important;color:var(--red)!important;background:#fff8f8!important}.clinic-price-category-list{border-radius:10px}@media(max-width:560px){.price-config-main{grid-template-columns:1fr 125px}}@media(max-width:420px){.price-config-main{grid-template-columns:1fr}.price-input-wrap{max-width:180px}.price-config-actions{justify-content:flex-start}}.home-block-title{display:flex;align-items:center;justify-content:space-between;margin:16px 1px 8px}.home-block-title h3{font-size:14px;margin:0}.home-block-title span{font-size:11px;color:var(--muted);font-weight:750}.records-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px}.records-summary>div{background:var(--soft);border-radius:12px;padding:10px 11px;display:flex;flex-direction:column;gap:3px}.records-summary span{font-size:10px;color:var(--muted)}.records-summary b{font-size:13px}.records-summary small{font-size:10px;color:var(--red);font-weight:750}@media(max-width:420px){.records-summary{grid-template-columns:1fr 1fr}}.nav{grid-template-columns:repeat(5,1fr)}.nav button{font-size:11px;padding:8px 2px}.home-summary-three .summary{padding:12px 10px}.home-summary-three .number{font-size:22px}.tomorrow-title{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:2px 1px 14px}.tomorrow-title .eyebrow{display:block;font-size:12px;color:var(--muted);font-weight:750;margin-bottom:3px}.tomorrow-title h2{margin:0;font-size:27px;letter-spacing:-.5px}.tomorrow-filter{margin:4px 0 7px}.tomorrow-empty{padding-top:50px;padding-bottom:50px}@media(max-width:440px){.nav button{font-size:10px}.home-summary-three .summary{padding:10px 7px}.home-summary-three .label{font-size:10px}.home-summary-three .number{font-size:20px}.tomorrow-title h2{font-size:25px}}.nav{grid-template-columns:repeat(4,1fr)}.nav button{font-size:12px;padding:8px 4px}.fab-new-case{position:fixed;z-index:35;left:calc(50% + min(325px,50vw) - 66px);bottom:78px;width:50px;height:50px;border:0;border-radius:50%;background:#111;color:#fff;font-size:28px;line-height:1;font-weight:500;box-shadow:0 8px 24px #00000038;cursor:pointer}.tomorrow-home{padding-top:18px;padding-bottom:34px}.tomorrow-home .tomorrow-title{margin-bottom:12px}.tomorrow-home .tomorrow-title h2{font-size:29px}.compact-empty{padding:14px 4px}.home-alerts{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.home-alert{border:1px solid var(--line);border-radius:14px;background:#fff;padding:11px 8px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;cursor:pointer;text-align:left;transition:background .12s,border-color .12s,box-shadow .12s}.home-alert span{font-size:10px;color:#111;font-weight:800}.home-alert b{font-size:21px;color:#111}.home-alert.undated-alert.has-items{background:#f3f8ff;border-color:#b8d3ee}.home-alert.undated-alert.has-items b{color:#1769aa}.home-alert.shade-alert.has-items{background:#fff8e2;border-color:#eed58b}.home-alert.shade-alert.has-items b{color:#9a6800}.home-alert.modeless-alert.has-items{background:#f6f2ff;border-color:#d8c8ee}.home-alert.modeless-alert.has-items b{color:#6f4aa1}.home-alert.confirm-alert.has-items{background:#fff0f0;border-color:#ef9b9b}.home-alert.confirm-alert.has-items b{color:#c62828}.home-alert.active{background:#f3f3f1;border-color:#8e8e89;box-shadow:inset 0 0 0 1px #8e8e89}.home-alert.active span{color:#111}.home-alert.undated-alert.has-items.active{background:#e7f2ff;border-color:#78addd;box-shadow:inset 0 0 0 1px #78addd}.home-alert.shade-alert.has-items.active{background:#fff0bd;border-color:#d9b54d;box-shadow:inset 0 0 0 1px #d9b54d}.home-alert.modeless-alert.has-items.active{background:#eee5ff;border-color:#b89bdc;box-shadow:inset 0 0 0 1px #b89bdc}.home-alert.confirm-alert.has-items.active{background:#ffe3e3;border-color:#e76f6f;box-shadow:inset 0 0 0 1px #e76f6f}.home-list-head{margin-top:20px}.clinic-case-group{margin:15px 0 20px}.clinic-case-head{display:flex;justify-content:space-between;align-items:center;padding:0 2px 7px}.clinic-case-head b{font-size:14px}.clinic-case-head span{font-size:11px;color:var(--muted)}.shade-optional-field input{background:#fcfcfb}@media(max-width:700px){.fab-new-case{left:auto;right:16px}}@media(max-width:520px){.home-alerts{grid-template-columns:repeat(2,1fr)}}@media(max-width:440px){.home-alerts{gap:6px}.home-alert{padding:10px 7px}.home-alert b{font-size:19px}.nav button{font-size:11px}.fab-new-case{width:48px;height:48px;bottom:76px;right:14px}}.settlement-overview{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:-4px 0 12px}.settlement-overview>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px 12px;display:flex;flex-direction:column;gap:4px}.settlement-overview span{font-size:10px;color:var(--muted);font-weight:800}.settlement-overview b{font-size:17px}.settlement-overview small{font-size:9px;color:var(--muted);line-height:1.3}@media(max-width:420px){.settlement-overview{grid-template-columns:1fr 1fr}.settlement-overview b{font-size:15px}.settlement-overview>div{padding:10px}}.case-flags{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:5px}.case-flags .confirm-flag,.check-first-title{margin-top:0}.issue-panel{margin-top:9px;padding:0 0 3px}.issue-list-head{margin-top:12px}.tomorrow-title-after-check{margin-top:22px!important}.compact-clinic-group{margin:12px 0 17px}.compact-clinic-group .clinic-case-head{padding-bottom:5px}.tomorrow-line-list{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.tomorrow-case-line{display:grid;grid-template-columns:92px minmax(0,1fr) 14px;align-items:center;gap:9px;min-height:38px;padding:7px 10px;border-top:1px solid #ededeb;cursor:pointer;background:#fff}.tomorrow-case-line:first-child{border-top:0}.tomorrow-case-line:hover{background:#fafafa}.tomorrow-patient{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tomorrow-arrow{font-size:18px;line-height:1;color:#aaa;text-align:right}@media(max-width:440px){.tomorrow-case-line{grid-template-columns:76px minmax(0,1fr) 12px;gap:7px;padding:7px 9px}.tomorrow-patient{font-size:11px}}.clinic-order-btn{min-width:30px;font-size:14px!important;font-weight:900}.fab-new-case{left:auto!important;right:max(16px,calc((100vw - 650px)/2 + 16px))!important;bottom:78px!important;width:auto!important;height:50px!important;border-radius:16px!important;padding:0 16px!important;display:flex!important;align-items:center;justify-content:center;gap:7px;background:#111;color:#fff;font-size:14px!important;font-weight:850!important;line-height:1!important;box-shadow:0 9px 24px #0000003d}.fab-new-case .fab-plus{font-size:23px;line-height:1;font-weight:500;margin-top:-1px}.fab-new-case .fab-label{white-space:nowrap;letter-spacing:-.1px}@media(max-width:440px){.fab-new-case{right:14px!important;bottom:76px!important;height:48px!important;padding:0 14px!important;font-size:13px!important}}.tomorrow-section-divider{height:1px;background:var(--line);margin:20px 0 0}.tomorrow-title-after-check{margin-top:16px!important;margin-bottom:10px!important}.prosthesis-title{margin-top:8px}.tomorrow-clinic-head{padding:0 2px 6px!important}.tomorrow-clinic-head b{font-size:13px;font-weight:900}.tomorrow-case-line{grid-template-columns:82px minmax(0,1fr) 12px;min-height:40px;padding:6px 9px;gap:8px}.tomorrow-patient{font-size:12px;font-weight:900}.tomorrow-tooth{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;border-radius:7px;background:#ededeb;color:#333;font-size:11px;font-weight:900;letter-spacing:-.15px;white-space:nowrap}.tomorrow-type{font-size:11px;color:#111;font-weight:900;white-space:nowrap}.muted-type{color:var(--muted);font-weight:700}.home-list-head{margin-top:22px}@media(max-width:440px){.tomorrow-case-line{grid-template-columns:68px minmax(0,1fr) 11px;gap:6px;padding:6px 8px}.tomorrow-patient{font-size:11px}.tomorrow-tooth{font-size:10px;padding:3px 6px;min-height:22px}.tomorrow-type{font-size:10px}}.prosthesis-count-list{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.prosthesis-count-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:40px;padding:8px 11px;border-top:1px solid #ededeb}.prosthesis-count-row b{font-size:12px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prosthesis-count-side{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.prosthesis-count-side strong{font-size:15px;font-weight:900;white-space:nowrap}.prosthesis-stat-arrow{display:inline-block;font-style:normal;font-size:21px;line-height:1;color:#9a9a96;transform:rotate(90deg);transition:transform .15s ease,color .15s ease}.prosthesis-count-row.active .prosthesis-stat-arrow{transform:rotate(-90deg);color:#555}@media(max-width:440px){.prosthesis-count-row{min-height:38px;padding:7px 10px}.prosthesis-count-row b{font-size:11px}.prosthesis-count-side strong{font-size:14px}.prosthesis-stat-arrow{font-size:19px}}button,input,select,textarea{font-family:inherit}.product-btn,.category-tab,.special-product-label,.selected-product{font-family:inherit;letter-spacing:-.12px}.product-btn{font-weight:700;line-height:1.35}.shade-picker{display:grid;gap:6px}.shade-picker .shade-preset,.shade-picker .shade-custom-input{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;font-size:14px;outline:none}.shade-custom-input{display:none}.shade-custom-input.show{display:block}.tomorrow-tooth{margin-right:10px!important}.tomorrow-type{display:inline-flex;align-items:center;min-height:22px;padding-left:10px;border-left:1px solid #d8d8d4;font-size:12px!important;font-weight:800!important;letter-spacing:-.12px}@media(max-width:440px){.tomorrow-tooth{margin-right:8px!important}.tomorrow-type{padding-left:8px;font-size:11px!important}}.prosthesis-title h3,.home-list-head h3{font-family:inherit!important;font-size:13px!important;font-weight:900!important;letter-spacing:0!important}.tomorrow-case-line{grid-template-columns:82px 108px minmax(0,1fr) 12px!important;gap:10px!important}.tomorrow-patient{min-width:0}.tomorrow-tooth{display:block!important;min-width:0!important;width:100%!important;min-height:0!important;margin:0!important;padding:4px 7px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.tomorrow-type{display:block!important;min-width:0!important;min-height:0!important;padding:0 0 0 10px!important;border-left:1px solid #d8d8d4!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:24px}.shade-picker{display:grid;gap:7px}.shade-system-tabs{display:grid;grid-template-columns:1fr 1fr auto;gap:6px}.shade-system-btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 10px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.shade-system-btn.active{background:#111;color:#fff;border-color:#111}.shade-value-select,.shade-custom-input{display:none;width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px;font-size:14px;outline:none}.shade-value-select.show,.shade-custom-input.show{display:block}@media(max-width:440px){.tomorrow-case-line{grid-template-columns:68px 88px minmax(0,1fr) 11px!important;gap:7px!important}.tomorrow-tooth{padding:3px 5px!important;font-size:10px!important}.tomorrow-type{padding-left:7px!important;font-size:10px!important}.shade-system-tabs{grid-template-columns:1fr 1fr auto;gap:5px}.shade-system-btn{padding:8px 7px;font-size:11px}}.flag-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.shade-check-option{background:#fffdf7}.shade-check-flag{display:inline-block;padding:4px 7px;border:0;border-radius:999px;background:#fff3d8;color:#8a5a00;font-size:10px;font-weight:850;cursor:pointer}.case-flags .shade-check-flag{margin-top:0}.shade-value-select option:disabled{color:#aaa}.flag-row .flag-check{background:#fff!important;border-color:var(--line)!important;color:var(--text)!important}.shade-check-option{background:#fff!important}.prosthesis-title h3,.home-list-head h3,.prosthesis-count-row b,.prosthesis-count-row span,.tomorrow-clinic-head b,.tomorrow-patient,.tomorrow-tooth,.tomorrow-type{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,Roboto,Arial,sans-serif!important;letter-spacing:.01em!important}.prosthesis-title h3,.home-list-head h3,.tomorrow-clinic-head b,.prosthesis-count-row b,.tomorrow-patient,.tomorrow-type,.prosthesis-count-row span{font-weight:700!important}.tomorrow-tooth{font-weight:650!important}.prosthesis-count-row{width:100%;border:0;border-top:1px solid #ededeb;background:#fff;text-align:left;cursor:pointer}.prosthesis-count-row:first-child{border-top:0}.prosthesis-count-row:hover{background:#fafafa}.prosthesis-count-row.active{background:#f1f1ef}.prosthesis-count-row.active b{font-weight:800!important}.stat-case-panel{margin-top:8px;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}.stat-case-panel-head{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;background:#f4f4f1;border-bottom:1px solid var(--line)}.stat-case-panel-head b{font-size:12px;font-weight:750}.stat-case-panel-head span{font-size:10px;color:var(--muted)}.stat-case-line{display:grid;grid-template-columns:88px 82px minmax(0,1fr) 12px;gap:8px;align-items:center;min-height:37px;padding:6px 9px;border-top:1px solid #ededeb;cursor:pointer}.stat-case-line:first-child{border-top:0}.stat-case-line:hover{background:#fafafa}.stat-case-clinic,.stat-case-patient,.stat-case-detail{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-case-clinic{font-size:10px;color:var(--muted)}.stat-case-patient{font-size:11px;font-weight:700}.stat-case-detail{display:flex;align-items:center;gap:6px;font-size:11px}.stat-case-work{display:inline-flex;align-items:center;gap:7px;min-width:0}.stat-case-tooth{display:inline-block;padding:2px 5px;border-radius:6px;background:#ededeb;font-size:10px;font-weight:650;white-space:nowrap}.stat-case-type{font-size:11px;font-weight:700;white-space:nowrap}.stat-case-sep{color:#bbb}@media(max-width:440px){.stat-case-line{grid-template-columns:68px 66px minmax(0,1fr) 10px;gap:6px;padding:6px 8px}.stat-case-clinic{font-size:9px}.stat-case-patient,.stat-case-type{font-size:10px}.stat-case-tooth{font-size:9px}}.product-btn,.product-row b,.price-name b,.selected-product,.prosthesis-count-row b,.tomorrow-type,.stat-case-type{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans KR,Roboto,Arial,sans-serif!important;font-weight:700!important;letter-spacing:.02em!important;font-synthesis:none}.brand-wordmark{display:flex;align-items:baseline;gap:5px;font-size:19px!important;letter-spacing:0!important;white-space:nowrap}.brand-wordmark .brand-main{font-weight:600;letter-spacing:.015em}.brand-wordmark .brand-sub{font-weight:400;color:#5f5f5f;letter-spacing:.01em}.tomorrow-case-line{grid-template-columns:28px 82px 108px minmax(0,1fr) 12px!important}.tomorrow-done-toggle{width:22px;height:22px;border:1px solid #c9c9c5;border-radius:7px;background:#fff;color:#fff;display:grid;place-items:center;padding:0;font-size:14px;font-weight:800;line-height:1;cursor:pointer;transition:background .12s,border-color .12s}.tomorrow-done-toggle:hover{border-color:#777}.tomorrow-done-toggle.checked{background:#777;border-color:#777}.tomorrow-case-line.work-done{background:#e9e9e6}.tomorrow-case-line.work-done:hover{background:#e4e4e1}.tomorrow-case-line.work-done .tomorrow-patient,.tomorrow-case-line.work-done .tomorrow-type{color:#777}.tomorrow-case-line.work-done .tomorrow-tooth{background:#dcdcd8;color:#777}.tomorrow-case-line.work-done .tomorrow-type{border-left-color:#c9c9c5!important}.tomorrow-case-line.work-done .tomorrow-arrow{color:#c0c0bc}@media(max-width:440px){.brand-wordmark{gap:5px;font-size:19px!important}.tomorrow-case-line{grid-template-columns:24px 68px 88px minmax(0,1fr) 11px!important;gap:7px!important}.tomorrow-done-toggle{width:20px;height:20px;border-radius:6px;font-size:12px}}.modeless-check-option{background:#fff!important}.modeless-check-flag{display:inline-block;padding:4px 7px;border:0;border-radius:999px;background:#f0e9fb;color:#6f4aa1;font-size:10px;font-weight:850;cursor:pointer}.case-flags .modeless-check-flag{margin-top:0}.records-missing-toggle{border:0;background:transparent;padding:0;margin-top:1px;color:var(--red);font-size:10px;font-weight:800;cursor:pointer;text-align:left}.records-missing-toggle span{margin-left:3px;color:inherit;font-size:10px}.records-missing-toggle.active{text-decoration:underline;text-underline-offset:2px}.records-missing-panel{margin:-4px 0 12px;border:1px solid #efc4c4;border-radius:13px;background:#fff8f8;overflow:hidden}.records-missing-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border-bottom:1px solid #f0d7d7}.records-missing-head b{font-size:12px;color:#8f2424}.records-missing-head span{font-size:9px;color:var(--muted)}.records-missing-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 11px;border-top:1px solid #f3dddd;cursor:pointer}.records-missing-row:first-of-type{border-top:0}.records-missing-row:hover{background:#fff0f0}.records-missing-row div{display:flex;flex-direction:column;gap:2px;min-width:0}.records-missing-row b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.records-missing-row span{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.records-missing-row strong{font-size:10px;color:#9d2626;white-space:nowrap}.settlement-row-editable{grid-template-columns:minmax(0,1fr) auto 12px!important;cursor:pointer;border-radius:8px;padding-left:5px;padding-right:4px;transition:background .12s}.settlement-row-editable:hover{background:#f7f7f5}.settle-edit-arrow{font-size:18px;color:#aaa;line-height:1;text-align:right}@media(max-width:560px){.settlement-row-editable{grid-template-columns:minmax(0,1fr) 12px!important}.settlement-row-editable .settle-money{grid-column:1/-1}.settle-edit-arrow{grid-column:2;grid-row:1}}.case-main{min-width:0}.bridge-case{align-items:start}.bridge-summary-title{margin:1px 0 3px;color:#1f5a40;font-size:12px;font-weight:760;line-height:1.35;letter-spacing:.005em}.bridge-summary-title b{font-weight:850}.bridge-work-line{font-size:11px;color:#5f5f5f;line-height:1.4;overflow-wrap:anywhere}.bridge-work-part{white-space:normal}.bridge-work-sep{color:#aaa}.mini-dentition{width:min(100%,310px);margin-top:7px;padding:1px 0;-webkit-user-select:none;user-select:none}.dent-row{position:relative;display:grid;grid-template-columns:repeat(16,minmax(0,1fr));align-items:center;gap:1px;min-height:17px}.dent-row+.dent-row{margin-top:1px;padding-top:2px;border-top:1px solid #deded9}.dent-row:after{content:"";position:absolute;top:1px;bottom:1px;left:50%;width:1px;background:#d4d4cf;transform:translate(-.5px);pointer-events:none}.dent-cell{display:grid;place-items:center;min-width:0;height:16px;border:1px solid transparent;border-radius:4px;color:#a2a29d;font-size:8.5px;font-weight:650;line-height:1}.dent-cell.is-selected{font-weight:850}.dent-cell.is-abutment{background:#eef6f0;border-color:#8bb89a;color:#1f5a40}.dent-cell.is-pontic{background:#f6f1e7;border-color:#d7c6a7;color:#876a3d}.bridge-case .case-flags{margin-top:7px}@media(max-width:440px){.bridge-summary-title{font-size:11px}.bridge-work-line{font-size:10px}.mini-dentition{width:100%;margin-top:6px}.dent-cell{height:15px;font-size:8px;border-radius:3px}.dent-row{min-height:16px}}.compact-case-sheet{padding:8px 10px 18px!important;max-height:none!important}.compact-sheet-head{display:flex;justify-content:flex-end;align-items:center;margin:0 0 4px}.compact-sheet-head .close{min-height:36px;padding:7px 12px}.compact-preview-card{margin:0!important;box-shadow:none!important;border-color:#e3e3df!important;cursor:default!important}.compact-preview-card:hover{background:#fff!important}.compact-preview-card .compact-date-badge{cursor:default}.compact-preview-card .case-flags span{display:inline-flex;align-items:center}@media(max-width:440px){.compact-case-sheet{padding:7px 8px 15px!important}}.tomorrow-case-entry{border-top:1px solid #ededeb;background:#fff}.tomorrow-case-entry:first-child{border-top:0}.tomorrow-case-entry .tomorrow-case-line{border-top:0!important}.tomorrow-case-line.expanded{background:#f7f7f4}.tomorrow-case-line.expanded .tomorrow-arrow{transform:rotate(90deg);color:#555}.tomorrow-arrow{transition:transform .15s ease,color .15s ease}.tomorrow-inline-detail{border-top:1px solid #e2e2de;background:#f7f7f4;padding:0}.tomorrow-inline-detail .compact-preview-card{margin:0!important;border:0!important;border-radius:0!important;background:#f7f7f4!important;padding:10px 12px 12px!important;box-shadow:none!important}.tomorrow-inline-detail .compact-preview-card:hover{background:#f7f7f4!important}.tomorrow-inline-detail .compact-date-badge{background:#ecece8}.tomorrow-inline-detail .mini-dentition{margin-top:7px}.tomorrow-inline-detail .case-flags{margin-top:8px}@media(max-width:440px){.tomorrow-inline-detail .compact-preview-card{padding:9px 10px 11px!important}}.tomorrow-inline-detail{padding:0!important;background:#f8f8f5!important}.tomorrow-detail-content{padding:9px 12px 11px}.tomorrow-detail-work{display:grid;gap:4px;margin:0 0 7px}.tomorrow-detail-work-row{display:grid;grid-template-columns:minmax(70px,105px) minmax(0,1fr) auto;align-items:center;gap:8px;min-height:24px}.tomorrow-detail-tooth{display:block;padding:3px 6px;border-radius:6px;background:#ecece9;color:#333;font-size:10px;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tomorrow-detail-type{min-width:0;color:#222;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tomorrow-detail-meta{color:#777;font-size:10px;font-weight:600;white-space:nowrap}.tomorrow-detail-empty{font-size:11px;color:#888}.tomorrow-detail-content .mini-dentition{margin-top:5px;width:min(100%,310px)}.tomorrow-detail-flags{margin-top:7px!important}.tomorrow-detail-content .case-flags span{display:inline-flex;align-items:center}@media(max-width:440px){.tomorrow-detail-content{padding:8px 9px 10px}.tomorrow-detail-work-row{grid-template-columns:minmax(64px,88px) minmax(0,1fr) auto;gap:6px;min-height:22px}.tomorrow-detail-tooth{font-size:9.5px;padding:3px 5px}.tomorrow-detail-type{font-size:10px}.tomorrow-detail-meta{font-size:9px}}.deadline-popup-backdrop{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;padding:18px;background:#18181657;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.deadline-popup{position:relative;width:min(760px,100%);max-height:min(82vh,780px);display:flex;flex-direction:column;border:1px solid #e7e5df;border-radius:28px;background:#fff;box-shadow:0 22px 60px #00000029;overflow:hidden}.deadline-popup-x{position:absolute;top:18px;right:18px;z-index:2;width:42px;height:42px;border:1px solid #e8e4dd;border-radius:999px;background:#fff;color:#4a4742;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 4px 12px #0000000f}.deadline-popup-head{padding:26px 72px 18px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}.deadline-popup-icon{width:72px;height:72px;border-radius:999px;background:#e8f2e7;color:#2f7b43;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;box-shadow:inset 0 0 0 1px #d6e6d4}.deadline-popup-head b{font-size:28px;line-height:1.2;color:#152118;letter-spacing:-.03em}.deadline-popup-list{overflow:auto;padding:10px 28px 0;display:flex;flex-direction:column;gap:12px}.deadline-popup-row{padding:0}.deadline-popup-card{display:grid;grid-template-columns:96px minmax(0,1fr) 138px;align-items:center;gap:18px;padding:18px 22px;border:1px solid #d7e4d6;border-radius:22px;background:#fff}.deadline-popup-due{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:0 16px;border-radius:18px;background:#fae7e4;color:#cb362a;font-size:20px;font-weight:900;letter-spacing:-.03em;white-space:nowrap}.deadline-popup-due.is-overdue{background:#c73e35;color:#fff}.deadline-popup-due.is-undated{background:#e9f1fb;color:#226fbe}.deadline-popup-case{min-width:0;display:flex;flex-direction:column;gap:9px}.deadline-popup-top{display:flex;align-items:center;gap:12px}.deadline-popup-identity{display:flex!important;align-items:center;gap:8px;min-width:0;flex:1}.deadline-popup-identity .case-identity-clinic{max-width:48%;font-size:19px;color:#191919;font-weight:850}.deadline-popup-identity .case-identity-patient{font-size:19px;font-weight:850;color:#191919;line-height:1.1}.deadline-popup-identity .case-identity-sep{height:16px}.deadline-popup-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0}.deadline-popup-date{font-size:12px;color:#858982;font-weight:750;white-space:nowrap}.deadline-popup-date.is-undated{color:#3d7df0;font-weight:850}.deadline-popup-overview.records-overview-line{grid-template-columns:minmax(102px,124px) minmax(0,1fr)!important;gap:10px!important;margin:0!important}.deadline-popup-overview .records-overview-tooth{width:100%!important;min-width:0!important}.deadline-popup-overview .records-overview-type{font-size:16px!important;line-height:30px!important;padding-left:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.deadline-popup-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%}.deadline-popup-pill{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:900;white-space:nowrap}.deadline-popup-pill.is-confirm{background:#ffe5e5;color:#c62828}.deadline-popup-pill.is-shade{background:#fff2d9;color:#c47b00}.deadline-popup-pill.is-modeless{background:#f2eaff;color:#8c63cf}.deadline-popup-pill.is-undated{background:#e7f0ff;color:#3d7df0}.deadline-popup-confirm{margin:18px 28px 28px;min-height:56px;border:0;border-radius:18px;background:#111;color:#fff;font-size:24px;font-weight:900;letter-spacing:-.03em;cursor:pointer}@media(max-width:640px){.deadline-popup-backdrop{padding:14px}.deadline-popup{border-radius:22px;max-height:84vh}.deadline-popup-x{top:14px;right:14px;width:38px;height:38px;font-size:24px}.deadline-popup-head{padding:20px 52px 12px}.deadline-popup-icon{width:62px;height:62px;font-size:26px}.deadline-popup-head b{font-size:22px}.deadline-popup-list{padding:10px 16px 0;gap:10px}.deadline-popup-card{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:16px;border-radius:18px}.deadline-popup-due{min-height:54px;font-size:18px;border-radius:16px}.deadline-popup-top{align-items:center;gap:8px}.deadline-popup-identity .case-identity-clinic{font-size:16px;max-width:48%}.deadline-popup-identity .case-identity-patient{font-size:16px}.deadline-popup-date{font-size:11px}.deadline-popup-overview.records-overview-line{grid-template-columns:minmax(88px,108px) minmax(0,1fr)!important;gap:8px!important}.deadline-popup-overview .records-overview-type{font-size:13px!important;line-height:26px!important;padding-left:8px!important}.deadline-popup-side{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;width:100%;padding-top:2px}.deadline-popup-pending{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;width:auto}.deadline-popup-pill{min-height:34px;padding:0 12px;font-size:12px}.deadline-popup-confirm{margin:16px 16px 18px;min-height:50px;border-radius:16px;font-size:21px}}.tomorrow-detail-dentition-row{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);align-items:center;column-gap:14px;width:100%;min-width:0;margin-top:5px}.tomorrow-detail-dentition-row .mini-dentition{width:100%!important;min-width:0;margin-top:0!important}.tomorrow-detail-dates{justify-self:end;display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:7px;background:#f4f4f1;border:1px solid #e8e8e3;color:#8b8b85;font-size:9.5px;font-weight:650;line-height:1;white-space:nowrap}.tomorrow-detail-dates span{display:inline-flex;align-items:center;gap:3px}.tomorrow-detail-dates b{font-size:9.5px;font-weight:800}.tomorrow-detail-dates i{font-style:normal;color:#b8b8b1}.tomorrow-date-complete{color:#4a4a46;font-weight:750}.tomorrow-date-complete b{color:#1f5a40}.tomorrow-date-received{color:#91918b}.tomorrow-date-received b{color:#74746f;font-weight:700}@media(max-width:440px){.tomorrow-detail-dentition-row{grid-template-columns:minmax(215px,1fr) auto;column-gap:8px}.tomorrow-detail-dates{padding:3px 6px;gap:4px;font-size:8.5px}.tomorrow-detail-dates b{font-size:8.5px}}.stat-case-entry{border-top:1px solid #ededeb;background:#fff}.stat-case-entry:first-child{border-top:0}.stat-case-entry .stat-case-line{border-top:0!important}.stat-case-line{grid-template-columns:76px 64px 100px minmax(0,1fr) 12px!important;gap:8px!important}.stat-case-line.expanded{background:#f7f7f4}.stat-case-line.expanded .tomorrow-arrow{transform:rotate(90deg);color:#555}.stat-case-line .stat-summary-tooth,.stat-case-line .stat-summary-type{margin:0!important}.stat-inline-detail{border-top:1px solid #e2e2de!important;background:#f8f8f5!important}@media(max-width:440px){.stat-case-line{grid-template-columns:54px 52px 74px minmax(0,1fr) 10px!important;gap:5px!important;padding:6px 7px!important}.stat-case-clinic{font-size:8.5px!important}.stat-case-patient{font-size:9.5px!important}.stat-case-line .stat-summary-tooth{font-size:9px!important;padding:3px 4px!important}.stat-case-line .stat-summary-type{font-size:9px!important;padding-left:5px!important}}.stat-case-panel-inline{margin:0!important;border:0!important;border-radius:0!important;border-top:1px solid #deded9!important;border-bottom:1px solid #deded9!important;background:#fafaf8!important;overflow:hidden}.stat-case-panel-inline .stat-case-list{background:#fff}.stat-case-panel-inline+.prosthesis-count-row{border-top:0!important}.records-date-group{margin:18px 0 20px}.records-date-group:first-of-type{margin-top:14px}.records-date-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 8px;padding:0 1px}.records-date-head h3{margin:0;font-size:15px;font-weight:850;letter-spacing:-.2px}.records-date-head span{font-size:10px;color:var(--muted);font-weight:750}.records-date-group.is-today .records-date-head h3{color:#135f42}.records-date-list .card:last-child{margin-bottom:0}.records-case-card{align-items:start;padding:11px 13px 10px}.records-case-main{min-width:0}.records-case-card h4{margin:0 0 6px;font-size:13px}.records-work-list{margin:0 0 6px!important;gap:4px!important}.records-work-row{min-height:23px}.records-dentition-row{display:grid;grid-template-columns:minmax(220px,310px) minmax(0,1fr);align-items:center;gap:10px;margin-top:4px;min-width:0}.records-dentition-row .mini-dentition{width:100%!important;margin-top:0!important;min-width:0}.records-received-date{justify-self:end;padding:3px 6px;border:1px solid #e8e8e3;border-radius:7px;background:#f4f4f1;color:#91918b;font-size:9px;font-weight:650;white-space:nowrap}.records-received-date b{color:#74746f;font-size:9px;font-weight:750}.records-case-flags{margin-top:7px!important}.records-date-action{align-self:start;white-space:nowrap;margin-top:0}@media(max-width:440px){.records-case-card{padding:9px 10px;gap:7px}.records-case-card h4{font-size:12px;margin-bottom:6px}.records-dentition-row{grid-template-columns:minmax(205px,1fr) auto;gap:6px}.records-received-date,.records-received-date b{font-size:8px}}.records-case-entry{margin-bottom:10px;border-radius:14px;overflow:hidden}.records-case-entry .records-case-card{margin:0;border-radius:14px;cursor:pointer}.records-case-entry.expanded .records-case-card{border-radius:14px 14px 0 0;border-bottom-color:#e8e6e1;background:#fbfbfa}.records-overview-line{display:grid;grid-template-columns:minmax(92px,116px) minmax(0,1fr);align-items:center;gap:9px;margin:1px 0 6px}.records-overview-tooth{min-width:0;width:100%;text-align:center}.records-overview-type{min-width:0;padding-left:9px;border-left:1px solid #d8d6d1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.records-dentition-only{display:flex;align-items:center;min-width:0;margin-top:2px}.records-dentition-only .mini-dentition{width:min(100%,340px)!important;margin:0!important}.records-inline-request{border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;background:#fff;padding:10px 12px 11px}.records-request-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.records-request-head>b{font-size:12px;font-weight:850}.records-request-edit{font-size:10px!important;padding:5px 9px!important}.records-request-dates{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:6px 8px;margin-bottom:8px;border-radius:9px;background:var(--soft)}.records-request-dates span{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.records-request-dates b,.records-request-dates .date-link{font-size:10px;font-weight:800;color:#222}.records-request-dates .date-link{border:0;background:transparent;padding:0;text-decoration:none}.records-request-work-list{display:flex;flex-direction:column;gap:5px}.records-request-work{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f3f2ef;border-radius:9px;padding:7px 9px}.records-request-work b{min-width:0;font-size:10px;line-height:1.3;overflow-wrap:anywhere}.records-request-work span{flex:none;font-size:9px;color:var(--muted);white-space:nowrap}.records-request-extras{display:flex;flex-direction:column;gap:5px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.records-request-extra{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:8px;min-height:22px}.records-request-extra>span{font-size:9px;color:var(--muted)}.records-request-extra>button{justify-self:start}.records-request-memo b{font-size:10px;font-weight:650;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:520px){.records-overview-line{grid-template-columns:minmax(82px,108px) minmax(0,1fr);gap:7px}.records-overview-type{font-size:10px;padding-left:7px}.records-request-work{padding:6px 8px}.records-request-extra{grid-template-columns:68px minmax(0,1fr)}}.records-inline-editor{border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;background:#fff}.records-inline-case-form{padding:11px 12px 14px;background:#fff}.records-inline-form-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.records-inline-head-actions{display:flex;align-items:center;gap:7px;margin-left:auto}.records-inline-head-actions button{min-height:34px;padding:6px 10px;border-radius:10px;font-size:10px;font-weight:800;white-space:nowrap}.records-inline-head-actions .records-delete-btn{background:#fff8f8;border:1px solid #efb4b4;color:var(--red)}@media(max-width:440px){.records-inline-head-actions{gap:5px}.records-inline-head-actions button{padding:6px 8px;font-size:9.5px}}.records-inline-form-head h3{margin:0;font-size:13px;font-weight:850}.records-inline-form-head .close{min-height:34px;padding:6px 10px;font-size:10px}.records-inline-case-form .price-box{display:none!important}.records-inline-case-form .work-item{margin-bottom:9px}.records-inline-case-form #saveCase{margin-top:8px}@media(max-width:520px){.records-inline-case-form{padding:9px 9px 12px}.records-inline-form-head{margin-bottom:8px}.records-inline-form-head h3{font-size:12px}}.records-edit-sheet .price-box{display:none!important}.detail-memo{white-space:pre-wrap;overflow-wrap:anywhere}.case-identity{display:flex;align-items:center;gap:7px;min-width:0}.case-identity-clinic{flex:none;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#85857f;font-size:10px;font-weight:650}.case-identity-sep{flex:none;width:1px;height:12px;background:#d1d1cc}.case-identity-patient{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#151515;font-size:13px;font-weight:850}.compact-identity{display:inline-flex!important;margin:0!important}.compact-identity .case-identity-clinic{font-size:10px}.compact-identity .case-identity-patient{font-size:11px}@media(max-width:440px){.case-identity{gap:6px}.case-identity-clinic{font-size:9px;max-width:40%}.case-identity-patient{font-size:12px}}.records-period-bar{margin:10px 0 7px}.records-period-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.records-period-tab{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 4px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.records-period-tab.active{background:#111;color:#fff;border-color:#111}.records-period-picker{margin-top:7px;display:flex;align-items:center;gap:6px}.records-period-picker.single input,.records-period-picker.single select{width:100%;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 10px;font:inherit;font-size:12px;font-weight:750}.records-period-picker.range{display:grid;grid-template-columns:1fr auto 1fr}.records-period-picker.range input{min-width:0;width:100%;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 8px;font:inherit;font-size:11px;font-weight:750}.records-period-picker.range span{font-size:11px;color:var(--muted);font-weight:800}.records-summary-context{margin:9px 2px -4px;font-size:11px;color:var(--muted);font-weight:800}@media(max-width:430px){.records-period-tab{font-size:10px;padding:7px 2px}.records-period-picker.range input{font-size:10px;padding:0 5px}}.prosthesis-count-side strong{font-size:12px!important;font-weight:750!important}@media(max-width:440px){.prosthesis-count-side strong{font-size:11px!important}}.issue-summary-case .issue-summary-line{display:flex;align-items:center;min-width:0;margin:5px 0 1px;gap:0}.issue-summary-case .issue-summary-line .tomorrow-tooth{flex:0 0 auto;min-width:92px;justify-content:center;margin-right:10px!important}.issue-summary-case .issue-summary-line .tomorrow-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.issue-summary-case .mini-dentition{margin-top:7px}@media(max-width:440px){.issue-summary-case .issue-summary-line .tomorrow-tooth{min-width:78px;margin-right:8px!important}}.issue-summary-case .issue-summary-line.records-overview-line{display:grid!important;grid-template-columns:minmax(92px,116px) minmax(0,1fr)!important;align-items:center!important;gap:9px!important;margin:1px 0 6px!important}.issue-summary-case .issue-summary-line .records-overview-tooth{width:100%!important;min-width:0!important;margin:0!important;text-align:center!important}.issue-summary-case .issue-summary-line .records-overview-type{min-width:0!important;margin:0!important;padding-left:9px!important;border-left:1px solid #d8d6d1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important;line-height:24px!important}@media(max-width:520px){.issue-summary-case .issue-summary-line.records-overview-line{grid-template-columns:minmax(82px,108px) minmax(0,1fr)!important;gap:7px!important}.issue-summary-case .issue-summary-line .records-overview-type{font-size:10px!important;padding-left:7px!important}}.settlement-privacy-card{min-height:270px;margin-top:8px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.settlement-privacy-mark{width:48px;height:48px;border-radius:15px;background:var(--soft);display:grid;place-items:center;font-size:21px;font-weight:850;color:#555;margin-bottom:15px}.settlement-privacy-card>b{font-size:15px;margin-bottom:6px}.settlement-privacy-card>p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.5}.settlement-show-btn{width:min(220px,100%);padding:13px 18px;border-radius:13px}.settlement-head-actions{display:flex;align-items:center;gap:8px}.settlement-head-actions>span{font-size:11px!important;color:var(--muted)}.settlement-hide-btn{padding:6px 9px!important;font-size:10px!important;border-radius:9px!important}.settings-privacy-card{min-height:270px;margin-top:8px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.settings-privacy-mark{width:48px;height:48px;border-radius:15px;background:var(--soft);display:grid;place-items:center;font-size:20px;font-weight:850;color:#555;margin-bottom:15px}.settings-privacy-card>b{font-size:15px;margin-bottom:6px}.settings-privacy-card>p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.5}.settings-show-btn{width:min(220px,100%);padding:13px 18px;border-radius:13px}.settings-hide-btn{padding:6px 9px!important;font-size:10px!important;border-radius:9px!important}@media(max-width:440px){.case-title-group{gap:7px}.case-title-action{padding:6px 8px;font-size:9.5px}}.detail-work-list{display:flex;flex-direction:column;gap:6px}.detail-work-item{display:grid;grid-template-columns:minmax(92px,116px) minmax(0,1fr);align-items:center;gap:10px;background:#f3f2ef;border-radius:10px;padding:8px 10px}.detail-work-tooth{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border-radius:8px;background:#e5e3df;color:#222;font-size:11px;font-weight:850;white-space:nowrap}.detail-work-type{min-width:0;padding-left:10px;border-left:1px solid #d8d6d1;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:520px){.detail-work-item{grid-template-columns:minmax(82px,104px) minmax(0,1fr);gap:8px;padding:7px 8px}.detail-work-type{font-size:11px;padding-left:8px}}.compact-record-entry{margin-bottom:8px}.compact-record-entry:last-child{margin-bottom:0}.records-compact-line{display:grid;grid-template-columns:minmax(92px,128px) 96px minmax(0,1fr) 12px;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}.records-compact-line:hover{background:#fafafa}.records-compact-person{display:flex;align-items:baseline;gap:7px;min-width:0}.records-compact-clinic{font-size:11px;color:#777b74;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.records-compact-patient{min-width:0;font-size:13px;font-weight:900;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.records-compact-tooth{width:100%;min-width:0}.records-compact-type{min-width:0;padding-left:10px;border-left:1px solid #d8d6d1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.detail-work-row .v{font-weight:600}.detail-work-block{display:flex;flex-direction:column;gap:6px}.detail-work-line.records-overview-line{margin:0!important}.detail-work-dentition{margin-top:2px}.detail-work-dentition .mini-dentition{width:min(100%,340px)!important;margin:0!important}.detail-inline-flags{display:flex;flex-wrap:wrap;gap:8px;align-items:center}@media(max-width:520px){.records-compact-line{grid-template-columns:minmax(82px,116px) 86px minmax(0,1fr) 11px;gap:8px;padding:7px 8px}.records-compact-person{gap:5px}.records-compact-clinic{font-size:10px}.records-compact-patient{font-size:12px}.records-compact-type{font-size:11px;padding-left:8px}}.backup-card{border-color:#cfded4}.backup-card.backup-due{background:#fbfdfb;border-color:#a9c9b5}.backup-status{font-size:10px;color:#6b756e;font-weight:800;text-align:right}.backup-due .backup-status{color:#2f7048}.backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.backup-actions button{min-height:42px;border-radius:12px;font-weight:850;cursor:pointer}.backup-actions .primary{border:0;background:#173f2d;color:#fff}@media(max-width:440px){.backup-actions{grid-template-columns:1fr}.backup-status{font-size:9px}}.backup-actions{grid-template-columns:1fr 1fr 1fr}.backup-actions .restore-button{border-color:#b8c8be;background:#f7faf8;color:#173f2d}.restore-sheet{max-width:560px}.restore-file-name{margin:2px 0 10px;padding:9px 10px;border-radius:10px;background:var(--soft);font-size:10px;color:#656963;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restore-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.restore-summary>div{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff}.restore-summary span{font-size:9px;color:var(--muted);font-weight:750}.restore-summary b{font-size:15px;color:#171717}.restore-note{margin:7px 0;padding:9px 10px;border-radius:10px;background:#eef6f0;color:#315f42;font-size:10px;font-weight:700;line-height:1.45}.restore-error{margin:8px 0;padding:10px;border:1px solid #efbaba;border-radius:11px;background:#fff5f5;color:#8d2929;font-size:10px;line-height:1.5}.restore-error b{display:block;margin-bottom:4px;font-size:11px}.restore-mode-help{display:flex;flex-direction:column;gap:3px;margin:13px 1px 7px}.restore-mode-help b{font-size:12px;color:#242424}.restore-mode-help span{font-size:10px;color:var(--muted);line-height:1.45}.restore-mode-help.danger-help{padding-top:11px;border-top:1px solid var(--line)}.restore-main-btn{width:100%;min-height:44px;border-radius:12px;font-weight:850;cursor:pointer}.restore-main-btn.primary{border:0;background:#173f2d;color:#fff}.restore-main-btn:disabled{opacity:.38;cursor:not-allowed}@media(max-width:560px){.backup-actions{grid-template-columns:1fr 1fr}.backup-csv-button{grid-column:1/-1}.restore-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:440px){.backup-actions{grid-template-columns:1fr}.backup-csv-button{grid-column:auto}.restore-summary{grid-template-columns:1fr 1fr 1fr}}.prosthesis-first-field{margin-bottom:10px}.shade-choice-panel{display:none;border:1px solid var(--line);border-radius:12px;background:#fff;padding:8px}.shade-choice-panel.show{display:flex;flex-direction:column;gap:7px}.shade-choice-group{display:flex;flex-wrap:wrap;gap:6px}.shade-choice-group.has-divider{padding-top:0;border-top:0}.shade-choice-btn{min-width:44px;border:1px solid #deddd8;background:#fff;border-radius:9px;padding:8px 9px;font-size:11px;font-weight:800;cursor:pointer}.shade-choice-btn.selected{background:#111;color:#fff;border-color:#111}.shade-choice-btn:hover{background:#f4f3f0}.shade-choice-btn.selected:hover{background:#111}@media(max-width:520px){.shade-choice-panel{padding:7px}.shade-choice-group{gap:5px}.shade-choice-btn{min-width:40px;padding:7px 8px;font-size:10px}}.shade-master .shade-choice-group{flex-wrap:nowrap}.shade-vita .shade-choice-group.vita-major-divider,.shade-master .shade-choice-group.master-major-divider{border-top:1px solid #e3e1dc;padding-top:7px;margin-top:1px}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.field-label-row>label{display:block;font-size:12px;font-weight:800;color:#555;margin:0}.form-quick-btn{border:0;background:transparent;padding:0;color:#6f746d;font-size:10px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}.form-quick-btn:hover{color:#111}.records-range-basis{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.records-range-basis-btn{height:32px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px;font-weight:800;cursor:pointer}.records-range-basis-btn.active{background:#efefec;border-color:#cfcfc9;color:#111;box-shadow:inset 0 0 0 1px #d8d8d2}
