:root {
  color-scheme: light;
  --ink:#23352e; --muted:#647169; --green:#225940; --deep:#153d32; --lime:#d5e89b;
  --canvas:#f4f5ef; --paper:#fdfefa; --line:#dce2d8; --soft:#eaf0e5; --warn:#83551f;
  font-family:"Inter","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink); background:var(--canvas); font-size:14px; -webkit-font-smoothing:antialiased;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;overflow-x:clip}
body{font-variant-numeric:tabular-nums}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{ -webkit-tap-highlight-color:transparent }
button{cursor:pointer}
button:disabled{cursor:default}
a{color:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #61987b;outline-offset:2px}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
.icon{flex:none;vertical-align:middle;pointer-events:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.startup{padding:58px;color:var(--muted)}
.shell{min-height:100dvh;display:grid;grid-template-columns:222px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;color:#eff4e9;background:var(--deep);padding:28px 15px 17px}
.brand,.login-brand{display:flex;align-items:center;gap:11px}
.brand{padding:3px 4px 28px;white-space:nowrap;border-bottom:1px solid #36574b}
.brand strong{font-size:16px;font-weight:680;letter-spacing:-.045em}
.brand-mark{width:36px;height:36px;flex:none;border-radius:9px;display:grid;place-items:center;background:var(--lime);color:var(--deep)}
.sidebar nav{padding-top:27px}
.nav-label{font-size:11px;letter-spacing:.1em;font-weight:600;color:#acbeb2;padding:0 14px 12px}
.nav-link{margin:4px 0;display:flex;align-items:center;gap:12px;min-height:44px;padding:0 15px;border-radius:8px;text-decoration:none;color:#d3dfd5;white-space:nowrap;font-weight:500}
.nav-link:hover{background:#214a3c}
.nav-link.active{background:#315d47;color:#eef7d3}
.nav-link.active .icon{color:var(--lime)}
.account{display:flex;align-items:center;gap:10px;margin-top:auto;border-top:1px solid #36574b;padding:18px 6px 0;min-width:0}
.avatar{width:34px;height:34px;flex:none;border-radius:50%;background:#365747;display:grid;place-items:center;color:#dae8cf}
.account-info{display:grid;min-width:0;gap:3px}
.account-info strong{max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:600}
.account-info small{color:#aebfb3;font-size:11px}
.logout{display:grid;place-items:center;margin-left:auto;background:none;color:#c8d8cb;border:none;border-radius:6px;width:31px;height:32px}
.logout:hover{color:#fff;background:#315444}
.workspace{min-width:0}
.topbar{height:64px;padding:0 clamp(22px,3vw,56px);border-bottom:1px solid var(--line);background:#f9faf5;display:flex;align-items:center;justify-content:space-between;gap:12px}
.crumb,.top-date{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.crumb strong{color:#36483d;font-weight:600}.crumb-line{color:#97a195}
.top-date{gap:7px}
.page{max-width:1630px;margin:0 auto;padding:34px clamp(22px,3vw,56px) 50px}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px}
.page-head h1{font-size:clamp(27px,2.15vw,36px);font-weight:680;letter-spacing:-.055em;line-height:1.32;overflow-wrap:anywhere}
.page-head p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.page-actions,.period-actions{display:flex;align-items:center;gap:10px}
.btn,.icon-btn{border:1px solid #cdd7cb;background:var(--paper);color:#324c3c;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;vertical-align:middle;font-size:13px;line-height:1.3;font-weight:560;white-space:nowrap}
.btn{min-height:36px;padding:8px 13px}
.btn:hover,.icon-btn:hover{background:#edf2e8;border-color:#b7c8b6}
.btn-primary{background:var(--green);border-color:var(--green);color:#f8fcf1}
.btn-primary:hover{background:#194831;border-color:#194831}
.btn-quiet{border-color:transparent;background:transparent;color:#42614c}
.btn-quiet:hover{border-color:transparent}
.btn:disabled,.icon-btn:disabled{opacity:.42}
.icon-btn{width:31px;height:32px;padding:0;border-color:transparent;background:transparent}

.period-select{display:flex;align-items:center;gap:8px}


.today-pill,.count-pill{padding:2px 8px;border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap;line-height:1.6;background:#e4eddf;color:#476447}
.period-select{gap:0;background:var(--paper);border:1px solid #d2dbcf;border-radius:7px;padding:2px}
.period-select input{color:var(--ink);border:none;font-size:12px;background:transparent;max-width:150px;padding:3px 4px;min-height:28px}
.period-select input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6}
.period-select .icon-btn{width:26px;height:27px;border-radius:4px}
.panel{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:0 2px 4px #223b2308;overflow:hidden}
.panel-head{min-height:65px;padding:15px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}
.panel-head h2,.panel-title h2{font-size:17px;font-weight:650;letter-spacing:-.04em}
.panel-title{display:flex;align-items:center;gap:9px}.count-pill{background:#eef2e9;color:#596b59}
.table-wrap{max-width:100%;overflow-x:auto}
.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.data-table th,.data-table td{padding:12px 13px;border-bottom:1px solid #e8ece4;white-space:nowrap}
.data-table :is(th,td):first-child{padding-left:20px}
.data-table :is(th,td):last-child{padding-right:20px}
.data-table thead th{background:#f2f5ed;color:#566959;font-size:12px;font-weight:580;padding-top:11px;padding-bottom:11px}
.data-table thead small{font-size:10px;font-weight:450}
.data-table tbody th{font-weight:550}
.data-table tbody tr:last-child :is(td,th){border-bottom:0}
.data-table tbody tr:hover{background:#fafbf7}
.data-table tfoot :is(th,td){background:#edf3e8;font-weight:650;border-top:1px solid var(--line);border-bottom:0}
.daily-table .count-input{width:clamp(60px,6vw,88px);height:34px;text-align:right;padding:6px 9px;border:1px solid #d4dece;border-radius:6px;color:var(--ink);background:#fcfdf9;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.count-input::-webkit-inner-spin-button,.count-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.count-input::placeholder{color:#99a399}
.person{display:inline-flex;align-items:center;gap:9px;vertical-align:middle}
.daily-table th>.muted{margin-left:6px;font-weight:400}.person strong{font-weight:560;overflow-wrap:anywhere;white-space:normal}
.initial{display:inline-grid;place-items:center;width:28px;height:28px;flex:none;border-radius:7px;font-size:12px;font-weight:650}
.tint-0{background:#e2eddc;color:#4a6948}.tint-1{background:#f2e6d6;color:#8a6240}.tint-2{background:#e2ebee;color:#4d6874}.tint-3{background:#ede7ee;color:#746279}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:5px;padding:3px 7px;color:#656e64;background:#ecefe8;white-space:nowrap;font-weight:550}
.badge.good{color:#35664d;background:#e4f0e4}.badge.warning{color:#86551e;background:#f6ead4}
.ok-text{color:#477354}.warn-text{color:var(--warn)}.muted{color:var(--muted)}
.table-foot{border-top:1px solid var(--line);background:#f9faf5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;color:var(--muted);font-size:12px}
.table-foot span{display:inline-flex;align-items:center;gap:7px;line-height:1.6}.autosave{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.autosave .retry-save[hidden]{display:none}
.empty-state{text-align:center;padding:40px 20px;color:var(--ink)}
.empty-icon,.login-symbol{display:inline-grid;place-items:center;border-radius:13px;background:var(--soft);color:#4d6c52}
.empty-icon{width:48px;height:48px;margin-bottom:13px}.empty-state h3{font-size:16px;font-weight:580}
.empty-state p{font-size:13px;color:var(--muted);margin:7px 0 0;line-height:1.7}.empty-state .btn{margin-top:15px}
.dialog{width:min(530px,calc(100% - 28px));max-height:calc(100dvh - 40px);border:1px solid #d5ded1;border-radius:14px;color:var(--ink);background:var(--paper);padding:0;box-shadow:0 18px 80px #112c2840}
.dialog::backdrop{background:#15282266}
.dialog-head,.dialog-foot{display:flex;align-items:center;padding:15px 21px;gap:9px}
.dialog-head{justify-content:space-between;border-bottom:1px solid var(--line)}
.dialog-head h2{font-size:18px}.dialog-content{padding:20px 21px}
.dialog-foot{justify-content:flex-end;background:#f6f8f1;border-top:1px solid var(--line)}
.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:580;min-width:0}
.field small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.6}
.field :is(input,select,textarea){background:var(--paper);color:var(--ink);border:1px solid #cdd7cb;border-radius:6px;padding:9px 10px;width:100%;min-width:0;min-height:38px;font-weight:400}
.field textarea{resize:vertical}.field input:disabled{background:#edf0e9;color:#90998c}
.field input::placeholder,.field textarea::placeholder{color:#7b877a}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px}
.form-error{color:#933b2d;background:#faeee9;border-radius:6px;padding:9px 12px;font-size:13px;margin:0 21px 15px;line-height:1.5}
.staff-tools,.staff-line{display:flex;align-items:center;gap:10px}
.staff-tools{justify-content:space-between;margin-bottom:14px}
.staff-line{padding:9px 0;border-top:1px solid var(--line)}.staff-line .badge{margin-left:auto}
.staff-blank{padding:20px 0;color:var(--muted)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:9px;font-size:13px;background:#193b2e;color:#f9fbf6;padding:12px 18px;box-shadow:0 5px 25px #17312533;max-width:90vw;z-index:50}
.login{min-height:100dvh;display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);background:#f7f8f1}
.login-art{background:var(--deep);color:#f4f5ea;padding:clamp(27px,4.5vw,72px);position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;min-height:620px}
.login-brand{font-size:14px;font-weight:580;letter-spacing:.035em}
.login-art h1{font-size:clamp(40px,5.6vw,86px);line-height:1.16;letter-spacing:-.06em;font-weight:600;margin-top:clamp(38px,8vh,100px);z-index:1}
.title-dot{color:var(--lime)}.art-legend{font-size:11px;display:flex;align-items:center;gap:9px;color:#c4d4c5;margin-top:auto;padding-top:14px;z-index:1;flex-wrap:wrap}
.art-legend i{width:3px;height:3px;background:#90ad90;border-radius:50%}
.ledger-art{position:relative;flex:1;min-height:210px;max-height:470px;width:100%;margin:auto}
.paper{position:absolute;left:17%;top:16%;width:64%;height:60%;min-height:115px;border:1.5px solid #8baa80;border-radius:5px;transform:rotate(-17deg) skewX(20deg);background:#214e3e}
.paper.back{transform:translateY(27px) rotate(-17deg) skewX(20deg);background:#294d3e}
.paper.middle{transform:translateY(14px) rotate(-17deg) skewX(20deg);background:#2a5944}
.paper.front{padding:8% 7% 5%;background:#365e47;display:flex;flex-direction:column}
.paper-rule{position:absolute;left:10%;top:0;bottom:0;width:1px;background:#87a77875}
.paper-head,.paper-line{height:2px;background:#bbcf9d;opacity:.9;width:38%;margin-bottom:5%}
.paper-line{width:64%;opacity:.45;margin-bottom:8%}.paper-cols{flex:1;min-height:26px;border-block-end:1px solid #96b386;display:flex;gap:8%;align-items:flex-end}
.paper-cols i{height:25%;width:12%;background:#9fbf87}.paper-cols i:nth-child(2){height:48%}.paper-cols i:nth-child(3){height:65%}.paper-cols i:nth-child(4){height:51%}.paper-cols i:nth-child(5){height:90%;background:#d2e69e}
.paper-tab{width:6%;height:19%;min-height:45px;position:absolute;left:64%;top:10%;transform:rotate(-17deg) skewX(20deg);background:#d5e89b;clip-path:polygon(0 0,100% 0,100% 100%,50% 74%,0 100%)}
.login-side{display:grid;place-items:center;padding:45px 30px}
.login-form{width:min(100%,355px)}.login-symbol{width:47px;height:47px;margin-bottom:24px}
.login-form h2{font-size:32px;font-weight:660;letter-spacing:-.05em}.login-form>p{margin:8px 0 30px;color:var(--muted);font-size:14px}
.login-form .field{margin:0 0 18px}.login-form input{height:43px;background:#fcfdf9}
.login-submit{margin-top:6px;width:100%;height:44px;justify-content:space-between;padding-inline:17px}
.login-form .form-error{margin:0 0 12px}
@media(min-width:1600px){.shell{grid-template-columns:244px minmax(0,1fr)}.sidebar{padding-inline:20px}.topbar{height:70px}.page{padding-top:43px}}
@media(max-width:1150px){.shell{grid-template-columns:191px minmax(0,1fr)}.sidebar{padding-inline:10px}.brand{gap:8px}.brand strong{font-size:14px}.page{padding-inline:20px}.data-table :is(th,td){padding-inline:9px}.daily-table thead small{display:none}}
@media(max-width:850px){.shell{display:block}.sidebar{height:auto;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px 18px 6px;gap:7px}.brand{border:none;padding:0}.brand-mark{width:29px;height:29px;border-radius:7px}.brand-mark svg{width:22px}.brand strong{font-size:15px}.sidebar nav{grid-column:1 / -1;grid-row:2;display:flex;gap:3px;padding:0}.nav-label{display:none}.nav-link{justify-content:center;flex:1;min-height:36px;gap:7px;padding:0 5px;margin:0;font-size:12px}.nav-link .icon{width:15px}.account{grid-column:2;grid-row:1;border:0;margin:0;padding:0;gap:4px}.account .avatar,.account small{display:none}.account-info strong{max-width:100px;font-size:12px}.topbar{height:40px;padding:0 20px}.page{padding-top:23px}.page-head{margin-bottom:20px}.data-table{font-size:12px}.login-art{padding:36px 25px}.login-side{padding:35px 25px}}
@media(max-width:600px){.sidebar{padding-inline:12px}.nav-link .icon{display:none}.topbar{padding-inline:14px}.top-date{font-size:10px}.crumb{font-size:11px;gap:5px}.page{padding:21px 12px 35px}.page-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.page-head h1{font-size:27px}.page-head p{font-size:12px}.page-actions:empty{display:none}.period-actions{gap:2px}.period-select input{width:113px}.period-select .icon-btn{width:23px}.panel-head{padding:12px 13px;min-height:56px}.panel-head h2{font-size:16px}.table-foot{padding:10px 12px;font-size:11px}.daily-table{min-width:665px}.login{grid-template-columns:1fr;grid-template-rows:auto 1fr}.login-art{min-height:0;padding:24px;display:grid;gap:16px}.login-art h1{font-size:31px;line-height:1.25;margin:0}.login-art h1 br{display:none}.ledger-art,.art-legend{display:none}.login-side{padding:34px 24px 48px;align-items:start}.login-symbol{display:none}.login-form h2{font-size:25px}.form-grid{grid-template-columns:minmax(0,1fr)}.dialog-content{padding:16px}.toast{width:max-content}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

.staff-total {font-size:12px}
.staff-table td:last-child, .staff-table th:last-child {text-align:right}
@media (max-width:850px) {
  .sidebar nav {min-width:0; overflow-x:auto}
}
@media (max-width:600px) {
  .sidebar nav {gap:1px}
  .nav-link {padding-inline:3px}
  .staff-table {min-width:460px}
}

.exchange-fields{display:grid;gap:16px}.exchange-fields p{margin:0;line-height:1.65;font-size:13px}.exchange-fields [hidden]{display:none}
.exchange-totals{display:flex;flex-wrap:wrap;gap:8px 18px;background:#eef2e8;border-radius:7px;padding:12px;font-size:13px}
.exchange-check{display:flex;gap:6px;align-items:center;font-size:13px}

.target-note,.target-edit-month{color:var(--muted);font-size:12px;font-weight:450}
.target-edit-month{margin:0 0 14px}
.target-fields,.target-splits{display:grid;align-items:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.target-details{margin-top:19px;border-block:1px solid var(--line)}
.target-details summary{cursor:pointer;color:var(--green);font-size:13px;font-weight:580;padding:13px 0}
.target-splits{grid-template-columns:auto repeat(2,minmax(0,1fr));padding:0 0 14px;font-size:12px}
.target-splits>span,.target-splits strong{color:var(--muted);font-weight:500}
.target-note{margin:11px 0 0;line-height:1.6}
.summary-card{--summary-muted:var(--muted);--summary-rule:var(--line);min-width:0;padding:18px clamp(15px,1.6vw,24px);border:1px solid var(--summary-rule);border-radius:13px;background:var(--paper)}
.summary-card header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}
.month-heading{display:flex;align-items:baseline;gap:2px 10px;flex-wrap:wrap}
.summary-card h2{font-size:17px;font-weight:640}
.summary-card time,.summary-card dt{color:var(--summary-muted);font-size:12px}
.summary-card dl{display:grid;grid-template-columns:1.2fr repeat(4,minmax(0,1fr));margin:0}
.summary-card dl>div+div{border-left:1px solid var(--summary-rule);padding-left:clamp(10px,1.35vw,22px)}
.summary-card dt{font-weight:520;line-height:1.5}
.summary-card dd{margin:5px 0 0;font-size:clamp(24px,2.15vw,34px);font-weight:620;line-height:1.15;font-variant-numeric:tabular-nums}
.summary-card dd small{margin-left:4px;font-size:13px;font-weight:480;color:var(--summary-muted)}
.company-month{--summary-muted:#ceddd0;--summary-rule:#3e6052;color:#f6f9f1;background:var(--deep);border-color:var(--deep);margin-bottom:20px}
.comparison-period{font-size:12px;color:var(--summary-muted)}
.company-month dl>div:not(.visit-attainment) dd{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px}
.month-change{font-size:12px;font-weight:600;line-height:1.35;white-space:nowrap;color:var(--summary-muted)}
.month-change.up{color:#99e6af}
.month-change.down{color:#ffaaa1}
.visit-attainment dd:first-of-type,.visit-attainment dd small{color:var(--lime)}
.summary-card .attainment-detail{margin-top:7px;font-size:11px;font-weight:450;line-height:1.45;color:var(--summary-muted)}
.daily-panel .panel-head,.daily-table-tools{flex-wrap:wrap}
.company-day{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:clamp(14px,2vw,30px);padding:10px 20px;border-bottom:1px solid var(--line);background:#f8faf5}
.company-day h3{font-size:14px;font-weight:640;color:var(--green)}
.company-day dl{display:flex;align-items:baseline;gap:clamp(14px,2.3vw,36px);margin:0}
.company-day dl>div{display:flex;align-items:baseline;gap:6px}
.company-day dt,.company-day dd small{font-size:12px;font-weight:450;color:var(--muted)}
.company-day dd{margin:0;font-size:18px;font-weight:620;white-space:nowrap;font-variant-numeric:tabular-nums}
.company-day dd small{margin-left:3px}
.daily-table-tools{display:flex;gap:8px 18px;align-items:center}
.goal-period{display:flex;align-items:center;gap:8px;flex-shrink:0;color:var(--summary-muted);font-size:12px}
.goal-period input{color-scheme:dark;font:inherit;color:inherit;border:1px solid #597769;background:transparent;border-radius:6px;padding:5px 7px}
.daily-panel .entry-key{margin:4px 0 0;font-size:12px;color:var(--muted)}
.daily-table{min-width:790px;table-layout:fixed;font-variant-numeric:tabular-nums}
.daily-table .name-col,.daily-table .wide-rate-col{width:11%}
.daily-table .input-col{width:7%}
.daily-table .total-col,.daily-table .action-col{width:10%}
.daily-table colgroup+colgroup{border-left:1px solid #e3e9df}
.daily-table tr>:is(th,td),.daily-table tr>:is(th,td):is(:first-child,:last-child){text-align:center;padding:8px 4px}
.daily-table .metric-bands th{background:#eaf0e5;color:#3e5947;font-size:13px;font-weight:650;padding-block:8px}
.daily-table .metric-labels th{background:#f5f7f1;font-size:12px;font-weight:500;padding-block:8px}
.daily-table .metric-bands th:first-child,.daily-table tbody th[scope=row]{text-align:left;padding-inline:clamp(10px,1.25vw,20px) 4px}
.daily-table tbody th[scope=row]{font-weight:600;white-space:normal;overflow-wrap:anywhere}
.daily-table tbody tr:focus-within{background:#f6f9f2}
.daily-table .count-input{width:100%;max-width:64px;text-align:center;height:32px;padding-inline:3px}
.daily-table .goal-value{font:inherit;color:var(--muted);background:transparent;border:0;border-radius:5px;padding:5px 4px;min-height:32px;cursor:pointer}
.daily-table .goal-value b{font-weight:600;color:var(--green)}
.daily-table .goal-value:hover,.daily-table .goal-value:focus-visible{background:var(--soft);color:var(--green)}
.daily-table .row-target{min-height:30px;padding:4px 8px;font-size:12px;font-weight:550;color:var(--green);border-color:#c7d7c8;border-radius:6px}
.daily-table .row-target:hover{background:var(--soft);border-color:#a8c2af}
.daily-panel .autosave{flex-shrink:0}
.daily-table .plan-only-note{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}
.daily-table .count-input[aria-invalid=true]{border-color:#a04738}
@media(max-width:900px){
  .company-day{grid-template-columns:auto 1fr;gap:8px 12px}
  .company-day dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .company-day dl>div{flex-wrap:wrap;gap:2px 6px}
}
@media(max-width:600px){
  .company-month{margin-bottom:14px}
  .summary-card{padding:14px}
  .summary-card header{margin-bottom:12px}
  .company-month dl{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:12px}
  .company-month dl>div{grid-column:span 2}
  .company-month dl>.month-conversion{grid-column:span 3;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding-top:8px;border-top:1px solid var(--summary-rule)}
  .company-month .month-conversion:nth-child(4){border-left:0;padding-left:0}
  .month-conversion dd{font-size:17px;margin:0}
  .company-day{grid-template-columns:1fr;padding:10px 12px}
  .company-day dl>div{display:block}
  .daily-table-tools{width:100%;justify-content:space-between}
}
@media(max-width:380px){.goal-period{flex-direction:column;align-items:flex-end;gap:2px}.daily-table-tools{column-gap:4px}}
@media(max-width:1100px){
  .daily-table .metric-bands th:first-child,.daily-table tbody th[scope=row]{position:sticky;left:0;z-index:1;box-shadow:inset -1px 0 var(--line)}
  .daily-table tbody th:first-child{background:var(--paper)}
}

.phone-toolbar,.phone-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.phone-filters :is(input,select){height:35px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font:inherit;font-size:13px;padding:0 10px}
.phone-filters input{width:215px}
.phone-table{min-width:860px;table-layout:fixed}
.phone-table thead th:first-child{width:16%}
.phone-table thead th:nth-child(5){width:17%}
.phone-table thead th:last-child{width:24%}
.phone-table tbody td{padding-block:5px}
.phone-table :is(input,select,textarea){display:block;box-sizing:border-box;width:100%;min-height:32px;min-width:0;margin:0;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--ink);padding:5px 6px;font:inherit;line-height:1.5}
.phone-table :is(input,textarea)::placeholder{color:#879387}
.phone-table input[name=phone]{font-weight:560;font-variant-numeric:tabular-nums}
.phone-table select{cursor:pointer}
.phone-table select[name=status]{background:var(--soft);width:auto;max-width:100%}
.phone-table select[name=status]:has(option:checked[value="在用"]){background:#e4f0e4;color:#35664d}
.phone-table select[name=status]:has(option:checked[value="闲置"]){background:#f6ead4;color:#86551e}
.phone-table textarea{resize:vertical;field-sizing:content;white-space:pre-wrap;overflow-wrap:anywhere}
.phone-table :is(input,select,textarea):is(:hover,:focus){border-color:#bdcdbd;background:var(--paper)}
.phone-table [aria-invalid=true]{border-color:#a04738}
.phone-error{display:block;margin:4px 0;color:#984336;white-space:normal}
.phone-notes-field{grid-column:1 / -1}
.phone-actions{flex-wrap:wrap}
.phone-import-issues{max-height:12rem;overflow:auto;padding-left:1.6em;font-size:13px;line-height:1.7}
@media(max-width:600px){.phone-filters{width:100%;gap:6px}.phone-filters input{flex:1;min-width:0}}
