:root{--bg:#f3f6fa;--surface:#fff;--ink:#243747;--muted:#8493a0;--line:#e8edf2;--blue:#6597c4;--blue-dark:#467cab;--nav:#183246;--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #91bee4;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:none;border-color:#87aed1;box-shadow:0 0 0 3px #78a8d01a}button:disabled{cursor:default;opacity:.5}p,h1,h2,h3{margin:0}h1,h2,h3{font-weight:600}p{line-height:1.7}svg{display:block}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.button{min-height:42px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 18px;transition:background .2s,box-shadow .2s;font-size:13px;white-space:nowrap}.button.primary{color:#fff;background:var(--blue)}.button.primary:hover{background:var(--blue-dark);box-shadow:0 4px 12px #6597c430}.button.secondary{background:#fff;border:1px solid #dfe7ee;color:#637786}.button.secondary:hover{background:#f3f7fa}.text-button{display:inline-flex;align-items:center;gap:7px;color:var(--blue-dark);background:none;padding:6px 0;font-size:12px;white-space:nowrap}.text-button .icon{width:16px;height:16px}.icon-button{background:none;width:36px;height:36px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:#8797a4;flex-shrink:0}.icon-button:hover{background:#edf3f8;color:var(--ink)}.overline{font-size:10px;letter-spacing:.17em;font-weight:600;color:#7f9ab0;line-height:1.6;display:block}.brand{display:flex;align-items:center;gap:12px;font-size:18px;letter-spacing:.06em;font-weight:500}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.13em;margin-top:5px;opacity:.55}.brand-mark{width:39px;height:39px;background:#a6c9e5;color:#fff;font-size:35px;font-weight:200;line-height:36px;text-align:center;border-radius:12px;display:block;letter-spacing:0;flex-shrink:0}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:16px;color:#8397a6}.muted{color:var(--muted)}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:linear-gradient(145deg,#e1effa,#edf5fb 53%,#d2e8f8);position:relative;overflow:hidden;padding:52px 10% 40px;display:flex;flex-direction:column;justify-content:space-between;min-height:760px}.auth-brand{position:relative;z-index:2;color:#3f637e}.auth-brand .brand-mark{background:#6a9fca}.story-main{position:relative;z-index:1;padding:65px 0}.story-main .overline{font-size:10px;color:#7396b2}.story-main h2{font-size:clamp(28px,2.8vw,44px);line-height:1.65;letter-spacing:.06em;font-weight:400;color:#2f526d;margin-top:22px}.story-main>p{margin-top:28px;color:#7a94a8;font-size:14px;letter-spacing:.05em;line-height:2}.story-features{margin-top:58px;display:grid;gap:20px;color:#547c9b;font-size:13px}.story-features span{display:flex;align-items:center;gap:13px}.story-features .icon{width:17px;height:17px}.story-footer{font-size:11px;letter-spacing:.06em;color:#8ba5b9;z-index:1}.orb{position:absolute;border-radius:50%;pointer-events:none}.orb-one{width:450px;height:450px;right:-280px;top:18%;background:radial-gradient(circle,#9bc9f080,#a8d4f011 66%)}.orb-two{width:450px;height:450px;left:-160px;bottom:-210px;border:1px solid #ffffff70;box-shadow:0 0 0 75px #ffffff20,0 0 0 150px #ffffff10}.auth-panel{position:relative;padding:60px;display:flex;flex-direction:column;justify-content:center;align-items:center}.back-site{position:absolute;right:46px;top:40px;font-size:12px;color:#91a0ac}.back-site:hover{color:#4b7d9e}.auth-card{width:100%;max-width:368px;margin:35px 0}.auth-icon{width:50px;height:50px;border-radius:15px;background:#eef5fb;display:flex;align-items:center;justify-content:center;color:#7aa9cf;margin-bottom:28px}.auth-icon .icon{width:23px;height:23px}.auth-card h1{font-size:30px;margin:9px 0 13px;font-weight:500;letter-spacing:.04em}.auth-card>.muted{font-size:13px}.auth-card form{margin-top:34px}label{display:block;color:#526573;font-size:12px;font-weight:500;margin:20px 0 10px}input,select,textarea{width:100%;border:1px solid #dfe7ee;background:#fff;color:var(--ink);padding:12px 14px;border-radius:9px;min-height:44px;transition:border-color .2s,box-shadow .2s}input::placeholder,textarea::placeholder{color:#adbac4;font-weight:400}textarea{resize:vertical;line-height:1.8}select{cursor:pointer;color:#637989}input[type=date],input[type=datetime-local]{font-size:12px;color:#687f90;min-width:0}.password-field{position:relative}.password-field input{padding-right:48px}.password-field .icon-button{position:absolute;right:5px;top:5px}.input-hint{font-size:11px;color:#9babb8;margin-top:9px;line-height:1.8}.form-error{font-size:12px;color:#bf6268;line-height:1.8;margin-top:14px;min-height:0}.auth-submit{margin-top:26px;width:100%;min-height:47px;justify-content:space-between;padding:12px 17px;font-size:14px}.auth-submit .icon{width:18px}.auth-footnote{display:flex;align-items:center;justify-content:center;gap:7px;color:#a3b0bb;font-size:11px;margin-top:26px}.auth-footnote .icon{width:13px;height:13px}.auth-copyright{position:absolute;bottom:32px;color:#b2bec7;font-size:10px;letter-spacing:.06em}.workspace{display:flex;min-height:100vh}.sidebar{width:228px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#d3e0e9;padding:33px 20px 20px;z-index:30;display:flex;flex-direction:column}.sidebar .brand{padding:0 9px;margin-bottom:54px;font-size:17px}.sidebar .brand-mark{width:35px;height:35px;font-size:32px;line-height:33px;border-radius:11px;background:#8bb7d7}.nav-caption{font-size:10px;letter-spacing:.1em;color:#748fA3;margin:0 16px 14px}.sidebar nav{display:grid;gap:9px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;background:none;color:#96aebf;border-radius:10px;padding:13px 15px;text-align:left;font-size:13px;min-height:47px;position:relative}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#ffffff08;color:#d4e4f0}.nav-item.active{background:#ffffff12;color:#e6f3fc}.nav-item.active:before{content:'';position:absolute;left:0;top:16px;bottom:16px;background:#a0c9e5;width:3px;border-radius:4px}.nav-count{font-size:10px;line-height:19px;min-width:20px;text-align:center;padding:0 5px;border-radius:5px;background:#ffffff10;color:#c5d8e8;margin-left:auto}.sidebar-note{display:flex;gap:9px;padding:19px 16px;border:1px solid #ffffff0c;border-radius:11px;margin-top:38px;font-size:11px;color:#b0c4d3;line-height:1.8}.status-dot{width:6px;height:6px;border-radius:50%;background:#9bcbba;flex-shrink:0;margin-top:6px}.sidebar-note p{font-size:10px;color:#6f8ea4;margin-top:4px}.sidebar-bottom{margin-top:auto;padding-top:35px}.sidebar-bottom>a{display:flex;gap:11px;color:#8ba5b9;font-size:12px;align-items:center;padding:16px}.sidebar-bottom>a .icon{width:16px;height:16px}.account{border-top:1px solid #ffffff0c;padding:22px 6px 2px;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#426277;color:#cce0ee;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}.account strong{font-size:12px;font-weight:500;display:block;max-width:99px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account small{font-size:9px;color:#7c98ac;display:block;margin-top:4px}.account .icon-button{margin-left:auto;color:#7694a9}.account .icon-button:hover{background:#ffffff0a;color:#c0d4e3}.account .icon{width:16px;height:16px}.main-layout{width:calc(100% - 228px);margin-left:228px;min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid #e9eef3;display:flex;justify-content:space-between;align-items:center;padding:0 40px}.topbar>div{display:flex;align-items:center}.breadcrumb{font-size:12px;color:#a0aeb9}.breadcrumb span{margin:0 12px;color:#c8d3dc}.breadcrumb b{font-size:12px;color:#627a8c;font-weight:400}.topbar-right{gap:20px;font-size:11px;color:#9aabb7}.topbar-divider{height:16px;width:1px;background:#e4ebf1}.online-label{display:flex;align-items:center;gap:7px}.online-label i{display:block;width:5px;height:5px;background:#8fbdad;border-radius:50%}.main-content{padding:37px 40px 24px;max-width:1530px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.page-heading h1{font-size:27px;font-weight:500;margin:7px 0 9px;letter-spacing:.025em}.page-heading p{color:#91a0ac;font-size:12px}.page-heading>.button{margin-top:15px;font-size:12px;background:#ffffff80}.page-heading>.button>span{font-size:19px;line-height:1}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid #e8edf2;border-radius:14px;text-align:left;padding:19px 21px 18px;color:var(--ink);box-shadow:0 2px 5px #304f6a02;transition:transform .2s,border-color .2s;min-width:0}.stat-card:hover{transform:translateY(-3px);border-color:#c5daeb}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#7c90a0;font-size:12px;gap:6px}.stat-icon{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:10px}.stat-icon .icon{width:17px;height:17px}.blue{background:#edf4fc;color:#7aa6d3}.amber{background:#fcf4e9;color:#d3aa72}.violet{background:#f1eff9;color:#a79bc7}.teal{background:#eaf5f3;color:#79b3ac}.stat-card>strong{font-weight:500;font-size:32px;letter-spacing:-.025em;display:block;margin:6px 0 9px;font-variant-numeric:tabular-nums}.stat-card>p{font-size:10px;color:#a0aeb9;display:flex;align-items:center;gap:6px;white-space:nowrap}.little-dot{height:4px;width:4px;background:#dab77f;border-radius:50%;display:inline-block}.panel{border:1px solid #e6edf2;background:#fff;border-radius:14px;min-width:0;box-shadow:0 2px 5px #304f6a02}.overview-panels{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:24px;margin-bottom:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 25px}.panel-heading h2{font-size:15px;letter-spacing:.015em;font-weight:500}.panel-heading p{font-size:10px;color:#a1afba;margin-top:7px}.chart-legend{display:flex;gap:16px;font-size:10px;color:#8c9dab}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{height:7px;width:7px;border-radius:2px;display:block}.booking-key{background:#a7c6e1}.inquiry-key{background:#dde9f2}.weekly-chart{height:198px;margin:0 25px 23px;display:flex;justify-content:space-around;align-items:stretch;gap:8px;border-bottom:1px solid #eff3f7;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#f2f5f8 45px,#f2f5f8 46px)}.chart-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;min-width:0;position:relative}.chart-bars{display:flex;gap:5px;align-items:flex-end;height:153px;width:34px}.chart-bars span{width:14px;border-radius:4px 4px 0 0;min-height:3px;background:#a7c6e1;position:relative}.chart-bars span+span{background:#dde9f2}.chart-bars b{position:absolute;top:-17px;font-size:9px;font-weight:400;width:100%;text-align:center;color:#8e9fae}.chart-day>small{font-size:10px;color:#94a5b2;padding-top:13px;background:#fff;height:32px;width:100%;text-align:center}.focus-panel{padding:25px 28px;background:linear-gradient(120deg,#eef5fb,#f7fafc);border-color:#e2ecf4;position:relative;overflow:hidden}.focus-panel:after{content:'';position:absolute;width:170px;height:170px;border:1px solid #dfeaf3;border-radius:50%;right:-120px;top:40px;box-shadow:0 0 0 25px #edf4f980,0 0 0 50px #edf4f960}.focus-icon{position:absolute;right:24px;top:26px;color:#a8c4da}.focus-icon .icon{width:22px;height:22px}.focus-panel .overline{font-size:9px;letter-spacing:.13em}.focus-panel h2{font-size:20px;font-weight:400;line-height:1.7;margin:15px 0 12px;color:#4c6d87;letter-spacing:.03em}.focus-panel p{font-size:11px;color:#8ca3b6;max-width:240px;min-height:37px}.focus-panel .button{min-height:36px;font-size:11px;margin-top:17px;position:relative;z-index:1;padding:8px 14px}.focus-panel .button .icon{width:16px;height:16px}.records-panel{overflow:hidden}.records-heading{padding-bottom:21px}.record-filters{border-top:1px solid var(--line)}.status-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);padding:0 25px;overflow-x:auto;scrollbar-width:thin}.status-tabs button{background:none;padding:18px 1px 15px;border-bottom:2px solid transparent;color:#98a7b4;font-size:12px;white-space:nowrap}.status-tabs button.selected{color:#608db4;border-color:#82abcE}.filter-row{display:flex;align-items:center;gap:10px;padding:19px 25px;border-bottom:1px solid var(--line)}.filter-row input,.filter-row select{min-height:37px;font-size:11px;padding:9px 10px;border-color:#e5ebf1;border-radius:7px}.search-field{position:relative;margin:0;flex:1;min-width:160px}.search-field .icon{position:absolute;width:15px;height:15px;left:11px;top:11px;color:#a8b6c1}.search-field input{padding-left:33px;font-weight:400;width:100%}.filter-row>select{width:140px;flex-shrink:0}.filter-row>input{width:124px;flex-shrink:0}.filter-row>.text-button{margin-left:3px;font-size:11px}.date-separator{font-size:10px;color:#acb8c1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-weight:400;color:#9dabb7;font-size:10px;padding:13px 25px;background:#fafbfd;border-top:1px solid #f0f4f7;border-bottom:1px solid #edf2f6;white-space:nowrap}td{padding:18px 25px;border-bottom:1px solid #f0f3f7;vertical-align:middle;color:#7c91a2;font-size:11px}tr:last-child td{border-bottom:0}tbody tr{transition:background .15s}tbody tr:hover{background:#fbfdff}th:last-child,td:last-child{padding-left:6px;padding-right:23px}.customer-cell{display:flex;align-items:center;gap:11px;min-width:135px}.customer-avatar{width:33px;height:33px;border-radius:10px;background:#edf4fa;color:#8badc8;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0}.customer-cell strong{display:block;color:#506a7e;font-size:12px;font-weight:500;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-cell small{font-size:10px;color:#a8b5c0;display:block;margin-top:5px;white-space:nowrap}.kind-label{display:inline-flex;align-items:center;gap:6px;color:#8d9eac;white-space:nowrap}.kind-label .icon{width:13px;height:13px}.need-cell{max-width:230px}.need-cell strong{display:block;font-weight:400;color:#6d8598;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.need-cell small{display:block;color:#acbac5;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px;margin-top:6px}.date-cell{white-space:nowrap;font-size:10px;color:#94a5b3}.date-cell small{display:block;color:#b1bdc8;margin-top:5px;font-size:9px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:10px;white-space:nowrap}.badge:before{content:'';height:4px;width:4px;border-radius:50%;background:currentColor}.badge.new{background:#fbf3e8;color:#c6a06b}.badge.contacted{background:#edf4fb;color:#7b9fc3}.badge.scheduled{background:#f1eff9;color:#a397bc}.badge.completed{background:#edf6f0;color:#85ac91}.badge.closed{background:#f0f3f5;color:#a0adb7}.row-action{font-size:10px;color:#719ac0;white-space:nowrap;background:none;padding:8px 0}.pagination{display:flex;align-items:center;justify-content:space-between;padding:17px 25px;border-top:1px solid var(--line);font-size:10px;color:#9aabb8;gap:14px}.pagination>div{display:flex;align-items:center;gap:12px}.pagination .button{min-height:30px;font-size:10px;padding:6px 10px;border-radius:6px}.empty-state{padding:50px 20px 60px;text-align:center}.empty-state>span{width:52px;height:52px;background:#f3f7fa;display:flex;align-items:center;justify-content:center;border-radius:15px;margin:0 auto 18px;color:#b1c7d8}.empty-state .icon{width:24px;height:24px}.empty-state h3{font-size:14px;font-weight:400;color:#7d94a5}.empty-state p{font-size:11px;color:#adbac4;margin-top:10px}.list-loading{padding:40px;text-align:center;color:#95a9b9;font-size:12px}.workspace-footer{font-size:9px;color:#b3bfc9;letter-spacing:.04em;display:flex;justify-content:space-between;margin-top:24px}.error-banner{background:#fcf0ee;border:1px solid #f4d9d4;color:#b66f66;padding:13px 16px;border-radius:9px;font-size:12px;margin-bottom:20px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#26465b;color:#fff;padding:13px 23px;border-radius:11px;box-shadow:0 8px 30px #223f5525;font-size:12px;max-width:calc(100% - 32px);line-height:1.6;text-align:center}.detail-drawer{position:fixed;inset:0 0 0 auto;margin:0;border:0;padding:0;width:min(490px,100%);max-width:100%;height:100%;max-height:100%;color:var(--ink);box-shadow:-12px 0 50px #253b4f15;background:#fff}.detail-drawer::backdrop{background:#223c5355;backdrop-filter:blur(2px)}.detail-drawer form{height:100%;display:flex;flex-direction:column}.detail-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:27px 30px;border-bottom:1px solid var(--line);flex-shrink:0}.detail-header h2{font-size:22px;font-weight:500;margin-top:7px}.detail-body{padding:0 30px 24px;overflow-y:auto;flex:1;overscroll-behavior:contain}.detail-section{padding:25px 0;border-bottom:1px solid var(--line)}.detail-section:last-child{border-bottom:0}.detail-section h3{font-size:13px;margin-bottom:18px;font-weight:500}.detail-summary{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.detail-customer{display:flex;align-items:center;gap:12px}.detail-customer .customer-avatar{width:42px;height:42px;font-size:16px;border-radius:12px}.detail-customer strong{font-size:17px;font-weight:500;overflow-wrap:anywhere}.detail-customer small{font-size:12px;display:block;margin-top:6px;color:#8a9fb0}.detail-fields{display:grid;grid-template-columns:90px minmax(0,1fr);gap:15px 10px;font-size:12px}.detail-fields dt{color:#a0b0bd}.detail-fields dd{margin:0;color:#607b90;overflow-wrap:anywhere}.detail-message{background:#f6f9fc;border:1px solid #edf2f7;padding:17px;border-radius:9px;color:#728a9e;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.detail-section label{margin-top:18px;color:#7b92a4;font-size:11px}.detail-section label small{font-weight:400;font-size:10px;color:#acb9c4;float:right}.detail-section textarea{font-size:12px;color:#6a8395}.detail-section select{font-size:12px}.activity-list{padding:0 0 0 6px;list-style:none;margin:0}.activity-list li{position:relative;border-left:1px solid #e0eaf2;padding:0 0 23px 20px;margin:0;font-size:11px;color:#7a92a6}.activity-list li:before{position:absolute;content:'';width:7px;height:7px;background:#aac8df;border:2px solid #fff;box-shadow:0 0 0 1px #d9e6ef;left:-4px;top:4px;border-radius:50%}.activity-list li:last-child{border-left-color:transparent;padding-bottom:0}.activity-list small{font-size:9px;color:#abbac5;display:block;margin-top:7px}.detail-footer{padding:20px 30px;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end;flex-shrink:0;background:#fff}.detail-footer .button{font-size:12px}.detail-footer .icon{width:16px;height:16px}.mobile-menu{display:none}.sidebar-backdrop{position:fixed;inset:0;background:#18324660;z-index:29;border-radius:0}
@media(min-width:1600px){.main-content{padding-top:45px}.weekly-chart{height:240px}.chart-bars{height:195px}.focus-panel{padding:30px}.focus-panel h2{margin-top:22px;font-size:23px}.focus-panel .button{margin-top:25px}td{padding-top:21px;padding-bottom:21px}}
@media(max-width:1200px){.sidebar{width:204px;padding-left:14px;padding-right:14px}.main-layout{margin-left:204px;width:calc(100% - 204px)}.main-content{padding:30px 24px 20px}.topbar{padding:0 24px}.stats-grid{gap:12px}.stat-card{padding:16px}.overview-panels{gap:18px;grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr)}.focus-panel{padding:23px}.panel-heading{padding:22px}.filter-row{flex-wrap:wrap}.search-field{flex-basis:calc(100% - 165px)}.filter-row>select{width:145px}.filter-row>input{width:145px}td,th{padding-left:18px;padding-right:18px}.need-cell{max-width:180px}.need-cell strong{max-width:160px}.need-cell small{max-width:150px}.customer-cell{min-width:120px}.chart-legend{gap:9px}.chart-panel .panel-heading{align-items:flex-start}}
@media(max-width:1000px){.auth-panel{padding:40px}.auth-story{padding-left:11%;padding-right:7%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card>strong{font-size:29px}.overview-panels{grid-template-columns:minmax(0,1fr)}.focus-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px}.focus-panel .overline{grid-column:1/-1}.focus-panel h2{font-size:18px;margin:7px 0;line-height:1.6}.focus-panel h2 br{display:none}.focus-panel p{grid-column:1;min-height:0;max-width:none}.focus-panel .button{grid-column:2;grid-row:2/4;margin:0;align-self:center}.focus-icon{display:none}.chart-panel .panel-heading{align-items:center}.page-heading h1{font-size:25px}.table-wrap table{min-width:670px}.stat-top{font-size:11px}.stat-card>p{font-size:10px}.sidebar .brand{gap:9px;font-size:16px}}
@media(max-width:760px){.auth{grid-template-columns:1fr}.auth-story{min-height:0;padding:26px 28px 32px}.auth-brand{font-size:16px}.story-main{padding:30px 0 0}.story-main h2{font-size:26px;line-height:1.55;margin-top:12px}.story-main>p,.story-features,.story-footer{display:none}.story-main>.overline{font-size:8px}.auth-panel{padding:40px 28px 65px}.auth-card{margin:0 auto;max-width:400px}.auth-icon{display:none}.auth-card h1{font-size:26px}.auth-card>.overline{font-size:9px}.back-site{top:18px;right:28px;font-size:10px}.auth-copyright{bottom:22px;font-size:9px}.auth-card form{margin-top:25px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:228px}.workspace.nav-open .sidebar{transform:translateX(0)}.main-layout{margin-left:0;width:100%}.mobile-menu{display:inline-flex;margin-right:7px;margin-left:-7px}.topbar{height:65px;padding:0 21px}.topbar-right{gap:10px}.today-date{font-size:10px}.online-label{display:none}.topbar-divider{display:none}.main-content{padding:25px 20px 20px}.page-heading{margin-bottom:23px;align-items:center;gap:12px}.page-heading .overline{font-size:8px}.page-heading h1{font-size:25px;margin-top:7px}.page-heading p{font-size:11px;max-width:230px}.page-heading>.button{font-size:10px;padding:9px 11px;min-height:35px;gap:6px}.stats-grid{gap:12px;margin-bottom:20px}.stat-card{padding:16px}.stat-card>strong{font-size:28px;margin:7px 0 10px}.stat-card>p{font-size:9px}.stat-icon{width:28px;height:28px;border-radius:8px}.stat-icon .icon{width:15px;height:15px}.stat-top{font-size:11px}.panel-heading{padding:20px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:9px}.overview-panels{gap:20px;margin-bottom:20px}.weekly-chart{margin:0 20px 20px;height:180px}.chart-bars{height:140px;width:28px;gap:4px}.chart-bars span{width:12px}.chart-legend{font-size:9px}.chart-legend i{width:6px;height:6px}.chart-day>small{font-size:9px}.focus-panel{padding:22px;grid-template-columns:minmax(0,1fr)}.focus-panel h2{font-size:18px}.focus-panel .button{grid-column:1;grid-row:auto;justify-self:start;margin-top:8px}.records-heading{align-items:flex-start}.table-wrap{overflow:visible}.table-wrap table{min-width:0}.table-wrap thead{display:none}.table-wrap tbody{display:grid}.table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:20px;gap:14px;border-top:1px solid var(--line)}.table-wrap td{padding:0!important;border:0;min-width:0}.table-wrap td:nth-child(1){grid-column:1;grid-row:1}.table-wrap td:nth-child(5){grid-column:2;grid-row:1;align-self:center;justify-self:end}.table-wrap td:nth-child(2){grid-column:1;grid-row:2}.table-wrap td:nth-child(3){grid-column:1/-1;grid-row:3;max-width:none;display:flex;gap:16px;align-items:center;flex-wrap:wrap}.table-wrap td:nth-child(4){grid-column:1;grid-row:4;align-self:center}.table-wrap td:nth-child(6){grid-column:2;grid-row:4;justify-self:end}.customer-cell strong{font-size:13px;max-width:190px}.customer-cell small{font-size:11px}.customer-avatar{width:36px;height:36px}.kind-label{font-size:10px}.need-cell strong,.need-cell small{max-width:none;font-size:11px;white-space:normal;overflow-wrap:anywhere}.need-cell small{font-size:10px;margin:0;flex:1;min-width:100px}.date-cell small{display:inline-block;margin:0 0 0 7px}.row-action{font-size:11px}.status-tabs{gap:21px;padding:0 20px}.status-tabs button{font-size:11px;padding-top:16px}.filter-row{padding:17px 20px;gap:10px}.search-field{flex-basis:100%;width:100%;min-width:0}.filter-row>select{width:100%;flex-basis:100%}.filter-row>input{flex:1;width:calc(50% - 14px)}.filter-row input,.filter-row select{min-height:40px;font-size:12px}.search-field .icon{top:12px}.filter-row>.text-button{margin-left:0;flex-basis:100%;justify-content:flex-end}.pagination{padding:17px 20px;flex-wrap:wrap;gap:16px}.pagination>div{margin-left:auto}.workspace-footer{font-size:8px;gap:20px;margin-top:20px}.workspace-footer span{white-space:nowrap}.detail-header{padding:23px}.detail-header h2{font-size:21px}.detail-body{padding:0 23px 22px}.detail-footer{padding:17px 23px;padding-bottom:max(17px,env(safe-area-inset-bottom))}.detail-fields{grid-template-columns:76px minmax(0,1fr);font-size:12px}.detail-section textarea{font-size:14px}.detail-section input,.detail-section select{font-size:14px;min-height:46px}.detail-section label{font-size:12px}.sidebar .brand{font-size:17px}.sidebar .brand-mark{width:35px}.detail-drawer{width:100%}}
@media(max-width:360px){.main-content{padding-left:14px;padding-right:14px}.topbar{padding-left:16px;padding-right:16px}.today-date{display:none}.page-heading h1{font-size:23px}.page-heading>.button{padding:8px;font-size:9px}.stat-card{padding:13px}.stat-card>p{font-size:8px}.panel-heading{padding:18px}.chart-legend{gap:6px;font-size:8px}.table-wrap tr{padding:18px}.customer-cell strong{max-width:150px}.focus-panel{padding:20px}.auth-panel{padding-left:24px;padding-right:24px}.detail-body{padding-left:19px;padding-right:19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.customer-cell>div,.detail-customer,.detail-customer>div{min-width:0}
.customer-cell small{max-width:185px;overflow:hidden;text-overflow:ellipsis}
.detail-summary{gap:15px}
.detail-summary>.badge{flex-shrink:0}
.detail-customer small{overflow-wrap:anywhere;line-height:1.6}
@media(max-width:760px){.customer-cell small{max-width:180px}}
@media(max-width:360px){.customer-cell small{max-width:140px}}
.table-wrap{position:relative}
/* Login accounts and auditable operations */
.record-heading-actions{display:flex;align-items:center;gap:20px}
.accounts-panel{overflow:hidden}
.account-search{max-width:280px;margin:0;width:40%}
.accounts-note{padding:20px 25px;border-top:1px solid var(--line);font-size:11px;color:#94a5b3;line-height:1.8}
.accounts-empty{padding:32px 20px;text-align:center;color:#91a4b2;font-size:12px}
.account-role-badge{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:10px;white-space:nowrap}
.account-role-badge.owner{background:#edf3fa;color:#769bc0}
.account-role-badge.staff{background:#f3f5f7;color:#96a5b0}
.account-updated{font-size:10px;min-width:130px}
.account-updated>small{display:block;font-size:9px;color:#a3b3bf;margin-top:7px;white-space:nowrap}
.account-editor,.operations-dialog{padding:0;border:1px solid #e4edf4;border-radius:17px;background:#fff;color:var(--ink);box-shadow:0 25px 100px #243c4f33;max-height:90vh;max-width:calc(100% - 32px)}
.account-editor{width:490px}
.account-editor[open]{display:flex;flex-direction:column}
.account-editor>form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.account-editor-body{padding:5px 30px 26px;overflow-y:auto}
.account-editor-body input[readonly],.account-editor-body select:disabled{background:#f4f7fa;color:#91a4b3;cursor:default}
.account-editor::backdrop,.operations-dialog::backdrop{background:#223c5355;backdrop-filter:blur(2px)}
.operations-dialog{width:720px}
.operations-dialog[open]{display:flex;flex-direction:column}
.operations-body{overflow-y:auto;padding:12px 30px 24px;min-height:0}
.operation-list{list-style:none;margin:22px 0 0;padding:0 0 0 5px}
.operation-list>li{border-left:1px solid #dfe9f0;position:relative;padding:0 0 26px 20px;font-size:12px;color:#698397;line-height:1.8}
.operation-list>li:before{position:absolute;content:'';width:7px;height:7px;border:2px solid #fff;box-shadow:0 0 0 1px #d9e6ef;border-radius:50%;background:#a7c6de;left:-4px;top:7px}
.operation-list>li:last-child{border-left-color:transparent;padding-bottom:0}
.operation-list small,.activity-list small{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:8px;line-height:1.8}
.operation-list small{font-size:10px;color:#a4b4c0}
.operation-list small strong,.activity-list small strong{font-weight:400;color:#7c96a9;overflow-wrap:anywhere}
.operation-reference{font-size:9px;letter-spacing:.025em;color:#8ea9bb;display:inline-block;margin-top:5px}
.operation-context{font-size:10px;color:#99aebd;margin-top:6px;overflow-wrap:anywhere}
.change-details{font-size:10px;color:#92a8ba;line-height:1.8;margin-top:9px}
.change-details summary{cursor:pointer;color:#769fbe;list-style:disclosure-closed}
.change-details p{padding:10px 12px;background:#f5f8fb;border-radius:7px;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;color:#8299aa}
.change-details b{display:block;font-size:9px;font-weight:500;color:#a3b3bf;margin-bottom:5px}
.operations-footer{align-items:center;flex-wrap:wrap}
.operations-footer>span{margin-right:auto;font-size:10px;color:#9daeba}
@media(max-width:1000px){.accounts-panel .panel-heading{align-items:flex-start;flex-wrap:wrap}.account-search{width:100%;max-width:none;flex-basis:100%}}
@media(max-width:760px){
 .page-heading{flex-wrap:wrap}.page-heading>div{flex:1;min-width:170px}.page-heading>#add-account:not([hidden]){margin-left:auto}
 .record-heading-actions{gap:10px}.record-heading-actions .text-button{font-size:10px}.record-heading-actions .icon{width:14px;height:14px}
 .account-search{margin-top:5px}.accounts-note{padding:18px 20px;font-size:10px}
 .table-wrap .accounts-table td:nth-child(1){grid-column:1;grid-row:1}
 .table-wrap .accounts-table td:nth-child(2){grid-column:1;grid-row:2}
 .table-wrap .accounts-table td:nth-child(3){grid-column:2;grid-row:1;display:block;align-self:center;justify-self:end}
 .table-wrap .accounts-table td:nth-child(4){grid-column:1/-1;grid-row:3}
 .table-wrap .accounts-table td:nth-child(4):before{content:'最近登录：';font-size:10px;color:#a6b5c0}
 .table-wrap .accounts-table td:nth-child(5){grid-column:1/-1;grid-row:4;justify-self:start;display:flex;flex-wrap:wrap;gap:7px;align-items:center}
 .table-wrap .accounts-table td:nth-child(5):before{content:'最近修改：';font-size:10px;color:#a6b5c0}
 .table-wrap .accounts-table td:nth-child(5) small{margin:0;font-size:9px}
 .table-wrap .accounts-table td:nth-child(6){grid-column:2;grid-row:2}
 .account-editor,.operations-dialog{max-width:calc(100% - 24px);max-height:94dvh;border-radius:13px}
 .account-editor .detail-header,.operations-dialog .detail-header{padding:20px}
 .account-editor-body{padding:0 20px 23px}.account-editor-body input,.account-editor-body select{font-size:16px}
 .operations-body{padding:10px 20px 24px}.operation-list>li{padding-left:17px;font-size:12px}
 .operations-footer{padding:16px 20px}.operations-footer .button{font-size:10px;min-height:35px;padding:7px 12px}
}
.page-heading>div{margin-right:auto}
.page-heading>#add-account{background:var(--blue);color:#fff;margin-left:0}
.page-heading>#add-account:hover{background:var(--blue-dark)}
