/* Generated by build_web_css.py; preserve source cascade order. */

/* appearance.css */
/* Loaded before the legacy layers so screen-only dark colors can take
   precedence over their important rules without changing their layout. */
@layer haiyue-night;

#accountMenu .account-appearance {
  min-width:0;
  margin:8px 4px 6px;
  padding:0 0 9px;
  border:0;
  border-bottom:1px solid var(--hy-border,#d9e2ed);
}
#accountMenu .account-appearance legend {
  padding:0;
  margin-bottom:6px;
  color:var(--hy-secondary,#526780);
  font-size:12px;
}
#accountMenu .appearance-options {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border:1px solid var(--hy-action-edge,#c4cdd7);
  border-radius:6px;
}
#accountMenu .appearance-options label {
  position:relative;
  display:block;
  min-width:0;
  margin:0;
  cursor:pointer;
}
#accountMenu .appearance-options label + label {
  border-inline-start:1px solid var(--hy-action-edge,#c4cdd7);
}
#accountMenu .appearance-options input {
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  opacity:0;
}
#accountMenu .appearance-options span {
  display:grid;
  place-items:center;
  min-height:30px;
  padding:3px;
  text-align:center;
  font-size:12px;
  color:var(--hy-action-text,#20262e);
}
#accountMenu .appearance-options label:first-child span {border-radius:5px 0 0 5px}
#accountMenu .appearance-options label:last-child span {border-radius:0 5px 5px 0}
#accountMenu .appearance-options label:hover span {background:var(--appearance-hover,#f1f4f7)}
#accountMenu .appearance-options input:checked + span {
  background:var(--appearance-selected,#245f9c);
  color:#fff;
}
#accountMenu .appearance-options input:focus-visible + span {
  outline:2px solid var(--appearance-focus,#245f9c);
  outline-offset:-2px;
}
#accountMenu .appearance-location {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:4px 8px;
  margin-top:6px;
  font-size:10px;
  color:var(--hy-secondary,#526780);
}
#accountMenu .appearance-location[hidden] {display:none!important}
#accountMenu #appearanceLocate {
  padding:4px 0;
  border:0;
  background:transparent;
  color:var(--appearance-link,#245f9c);
  text-decoration:underline;
}
@media(pointer:coarse) {
  #accountMenu .appearance-options span {min-height:42px}
}

@layer haiyue-night {
  @media screen {
    html[data-hy-theme="night"] {
      color-scheme:dark;
      --night-canvas:#000;
      --night-surface:#111820;
      --night-raised:#182330;
      --night-input:#0c131c;
      --night-border:#425368;
      --night-rule:#2a3849;
      --night-ink:#e9f0f8;
      --night-muted:#acc0d4;
      --night-link:#8cc4ff;
      --night-hover:#1c3044;
      --night-selected:#203d58;
      --night-blue:#245f9c;
      --night-blue-hover:#2a70b3;
      --night-danger:#ffa198;
      --night-warn:#ffca85;
      --night-success:#8bdbb2;
      --appearance-hover:var(--night-hover);
      --appearance-selected:var(--night-blue);
      --appearance-focus:var(--night-link);
      --appearance-link:var(--night-link);
      --hy-field-surface:var(--night-input)!important;
      --hy-field-edge:var(--night-border)!important;
      --hy-field-ink:var(--night-ink)!important;
      --hy-action-edge:var(--night-border)!important;
      --hy-action-text:var(--night-ink)!important;
      --hy-action-blue:var(--night-blue)!important;
      --hy-action-blue-hover:var(--night-blue-hover)!important;
      --hy-action-gray:var(--night-raised)!important;
      --hy-list-head:var(--night-raised)!important;
      --hy-list-rule:var(--night-rule)!important;
      --hy-list-ink:var(--night-ink)!important;
      --hy-list-muted:var(--night-muted)!important;
      --hy-list-hover:var(--night-hover)!important;
      background:var(--night-canvas)!important;
    }
    html[data-hy-theme="night"] body {
      --bg:var(--night-canvas)!important;
      --card:var(--night-surface)!important;
      --text:var(--night-ink)!important;
      --muted:var(--night-muted)!important;
      --line:var(--night-rule)!important;
      --border:var(--night-rule)!important;
      --primary:var(--night-link)!important;
      --accent:var(--night-blue)!important;
      --danger:var(--night-danger)!important;
      --warn:var(--night-warn)!important;
      --hy-canvas:var(--night-canvas)!important;
      --hy-surface:var(--night-surface)!important;
      --hy-ink:var(--night-ink)!important;
      --hy-secondary:var(--night-muted)!important;
      --hy-border:var(--night-rule)!important;
      --hy-ui-page:var(--night-canvas)!important;
      --hy-ui-ink:var(--night-ink)!important;
      --hy-ui-muted:var(--night-muted)!important;
      --hy-ui-line:var(--night-rule)!important;
      --hy-ui-primary:var(--night-link)!important;
      --mist-ice:var(--night-input)!important;
      --mist-blue:var(--night-raised)!important;
      --mist-control:var(--night-input)!important;
      --mist-surface:var(--night-surface)!important;
      --mist-muted:var(--night-muted)!important;
      --mist-white-line:var(--night-rule)!important;
      background:var(--night-canvas)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(.app-shell,.main) {
      background-color:var(--night-canvas)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] #loginView {
      background:linear-gradient(#0009,#0009),var(--login-background-photo,none) center/cover no-repeat #000!important;
    }
    html[data-hy-theme="night"] :is(
      .topbar,.sidebar .brand,.account-menu,.login-card,.panel,.modal,.drawer,dialog:not(#imageBackdrop),
      .asset-query-panel,.asset-card:not(tr),.task-card,.task-filters,.hk-stat,.metric,
      .supplier-workspace,.invoice-workspace,.delivery-workspace,.compact-filter-row,
      .table-wrap,.ui-asset-table-wrap,.workspace-tab-overflow,.asset-filter-popover,.ui-date-range-panel,
      .range-popover,.person-search-results,[popover],#imageBackdrop.pc-image-preview
    ) {
      background-color:var(--night-surface)!important;
      border-color:var(--night-rule)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(.modal-head,.drawer-head,.modal-actions,.drawer-footer,.account-menu-heading) {
      border-color:var(--night-rule)!important;
    }
    html[data-hy-theme="night"] :is(
      .custody-asset-summary,.repair-asset-summary,.maintenance-report-photo,.multi-photo-preview,
      .empty-state,.lo-sewing-details,.linen-inventory-missing>div,.linen-inventory-progress,
      .image-preview-placeholder-visual,#imageGalleryEmpty,#imagePreviewStatus,
      .asset-r1-power-panel,.workspace-tab-menu,.toast
    ) {
      background-color:var(--night-raised)!important;
      border-color:var(--night-rule)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(.modal-mask,.drawer-mask,.sidebar-scrim) {background-color:#0009!important}
    html[data-hy-theme="night"] dialog::backdrop {background:#000a!important}
    html[data-hy-theme="night"] :is(h1,h2,h3,h4,.account-menu-heading b) {color:var(--night-ink)!important}
    html[data-hy-theme="night"] :is(
      label,legend,.muted,.date,.account-menu-heading span,.hy-float-hint,.field-label,
      .linen-daily-date,.linen-daily-axis,.linen-scrap-axis,.linen-scrap-label,#imageMetadata,#imageCounter,
      #imagePreviewFeedback,.workspace-page-close,#sessionIdleCounter
    ) {color:var(--night-muted)!important}
    html[data-hy-theme="night"] #sessionIdleCounter.is-warning {color:var(--night-warn)!important}
    html[data-hy-theme="night"] #loginView .login-logo {
      background:#e7eef6!important;
      border-radius:6px;
    }
    html[data-hy-theme="night"] :is(
      input:not([type="checkbox"],[type="radio"],[type="range"],[type="hidden"],[type="color"]),select,textarea,
      .ui-date-range-toggle
    ) {
      background-color:var(--night-input)!important;
      border-color:var(--night-border)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(input,textarea)::placeholder {color:var(--night-muted)!important}
    html[data-hy-theme="night"] :is(input,select,textarea)[readonly] {background-color:var(--night-raised)!important}
    html[data-hy-theme="night"] .hy-float-hint.is-up {background-color:var(--night-input)!important}
    html[data-hy-theme="night"] :is(input[type="radio"],input[type="checkbox"],input[type="range"]) {accent-color:var(--night-link)!important}
    html[data-hy-theme="night"] :is(button,input,select,textarea,a,summary):focus-visible {
      outline-color:var(--night-link)!important;
    }
    html[data-hy-theme="night"] :is(
      a,.link-button,.hy-text-action,[data-hy-tone="link"],.ui-filter-clear,.account-menu-action,
      .web-version-link,#moreSystemsToggle
    ) {color:var(--night-link)!important}
    html[data-hy-theme="night"] :is([data-hy-tone="secondary"],[data-hy-tone="outline"],.btn:not(.primary):not(.danger):not([data-hy-tone]),.image-zoom-toolbar button) {
      background-color:transparent!important;
      border-color:var(--night-border)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is([data-hy-tone="primary"],.btn.primary) {
      background-color:var(--night-blue)!important;
      border-color:var(--night-blue)!important;
      color:#fff!important;
    }
    html[data-hy-theme="night"] :is([data-hy-tone="primary"],.btn.primary):not(:disabled,[aria-disabled="true"]):hover {
      background-color:var(--night-blue-hover)!important;
    }
    html[data-hy-theme="night"] :is([data-hy-tone="secondary"],[data-hy-tone="outline"],.account-menu-action,.person-search-option):not(:disabled):hover {
      background-color:var(--night-hover)!important;
    }
    html[data-hy-theme="night"] :is([data-hy-tone],.btn):is(:disabled,[aria-disabled="true"]) {
      background-color:#202832!important;
      border-color:var(--night-rule)!important;
      color:#8496a9!important;
    }
    html[data-hy-theme="night"] :is(.workspace-page-tab,.workspace-tabs>button,.linen-laundry-toolbar button,.image-gallery-tabs button) {
      color:var(--night-muted)!important;
      border-color:var(--night-rule)!important;
    }
    html[data-hy-theme="night"] :is(.workspace-page-tab.is-active,.workspace-tabs>button.active,.image-gallery-tabs button.active,.btn.active:not(.primary)) {
      background-color:var(--night-selected)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] .workspace-page-tab .workspace-page-select {color:inherit!important}
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) table {
      background-color:var(--night-surface)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) table :is(th,td) {border-color:var(--night-rule)!important}
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) table thead :is(th,td) {
      background-color:var(--night-raised)!important;
      color:var(--night-muted)!important;
    }
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) tbody>tr {
      background-color:var(--night-surface)!important;
      border-color:var(--night-rule)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) tbody :is(th,td) {
      background-color:transparent!important;
      color:inherit!important;
    }
    html[data-hy-theme="night"] .linen-balance-identity strong {color:var(--night-ink)!important}
    html[data-hy-theme="night"] .linen-balance-identity small {color:var(--night-muted)!important}
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) tbody>tr:hover {background-color:var(--night-hover)!important}
    html[data-hy-theme="night"] :is(.page,.modal,.drawer) tbody>tr:is(.selected,[aria-selected="true"]) {background-color:var(--night-selected)!important}
    html[data-hy-theme="night"] :is(.danger-text,.form-error,.account-logout) {color:var(--night-danger)!important}
    html[data-hy-theme="night"] :is(.btn.danger,.btn.danger-outline) {
      background-color:#382325!important;
      border-color:#895557!important;
      color:var(--night-danger)!important;
    }
    html[data-hy-theme="night"] :is(.asset-edit-note,.schema-notice,.linen-low-stock, .return-approval-notice) {
      background-color:#2d241a!important;
      border-color:#654b2f!important;
      color:var(--night-warn)!important;
    }
    html[data-hy-theme="night"] :is(.success-text,.online-pill) {color:var(--night-success)!important}
    html[data-hy-theme="night"] :is(.linen-daily-column,.linen-daily-legend>span).is-outgoing {--column-color:#ee8580!important}
    html[data-hy-theme="night"] :is(.linen-daily-column,.linen-daily-legend>span).is-incoming {--column-color:#73b9fa!important}
    html[data-hy-theme="night"] :is(.linen-daily-bin:hover,.linen-daily-bin[aria-pressed="true"],.lo-sewing-group[open]>summary) {
      background-color:var(--night-hover)!important;
    }
    html[data-hy-theme="night"] :is(#imageBackdrop,#imageGalleryTabs,.image-zoom-toolbar) {border-color:var(--night-rule)!important}
    html[data-hy-theme="night"] :is(#imageGalleryTabs,.image-zoom-toolbar) {
      background-color:var(--night-surface)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] #imageBackdrop.pc-image-preview :is(#imageClose,#imagePrev,#imageNext) {
      background-color:var(--night-surface)!important;
      border-color:var(--night-border)!important;
      color:var(--night-ink)!important;
    }
    html[data-hy-theme="night"] :is(.image-loading,.linen-loading-cell,.hy-query-skeleton i,.skeleton,.image-preview-placeholder-visual) {
      background-image:linear-gradient(100deg,#151e29 24%,#213247 50%,#151e29 76%)!important;
      border-color:var(--night-rule)!important;
    }
    html[data-hy-theme="night"] #imagePreviewFeedback.has-thumbnail .image-preview-placeholder-visual {
      background-image:none!important;
    }
    html[data-hy-theme="night"] ::selection {background:#305f8e;color:#fff}
  }
}


/* style.css */
:root{
  --nav:#102748;--nav2:#17365f;--accent:#1f6feb;--accent2:#0f8a78;
  --bg:#f3f6fa;--card:#fff;--text:#172033;--muted:#6b778c;--line:#e2e8f0;
  --danger:#c23b3b;--warn:#a86600;--shadow:0 8px 24px rgba(20,40,70,.08)
}
*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--text);background:var(--bg)}
button,input,select,textarea{font:inherit}.hidden{display:none!important}
.login-shell{min-height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#0d2342,#1b4e7c)}
.login-card{width:min(420px,calc(100% - 32px));background:#fff;border-radius:20px;padding:36px;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.brand-mark{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#225ea9,#20a28f);color:#fff;font-weight:800;letter-spacing:.5px}
.brand-mark.small{width:38px;height:38px;border-radius:11px;font-size:13px}
.login-card h1{margin:20px 0 5px}.login-card p{margin:0 0 28px;color:var(--muted)}
label{display:block;font-size:13px;color:#4d5a70;margin:14px 0}label input{margin-top:7px}
input,select,textarea{width:100%;border:1px solid #cfd7e3;border-radius:9px;background:#fff;padding:10px 12px;outline:none;transition:.15s}
input:focus,select:focus,textarea:focus{border-color:#4d8ee8;box-shadow:0 0 0 3px rgba(31,111,235,.12)}
.btn{border:1px solid #cfd7e3;border-radius:9px;background:#fff;padding:9px 15px;cursor:pointer;color:#25334a}
.btn:hover{background:#f7f9fc}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.danger{background:#fff1f1;border-color:#f1c4c4;color:var(--danger)}
.btn:disabled{opacity:.42;cursor:not-allowed}.btn.return-ready{background:#178f55;border-color:#178f55;color:#fff;box-shadow:0 5px 14px rgba(23,143,85,.2)}.btn.return-ready:hover{background:#117846}
.btn.wide{width:100%;padding:12px}.text-btn{border:0;background:none;color:#b8cae1;padding:0;cursor:pointer}.form-error{color:var(--danger);font-size:13px;margin-top:10px}
.app-shell{display:flex;min-height:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:var(--nav);color:#fff;padding:20px 14px;display:flex;flex-direction:column;z-index:20}
.brand{display:flex;align-items:center;gap:11px;padding:4px 8px 22px}.brand strong{display:block}.brand small{display:block;color:#9fb4cd;margin-top:2px}
.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;background:transparent;color:#cbd8e8;text-align:left;padding:11px 13px;border-radius:9px;cursor:pointer}
.sidebar nav button.active,.sidebar nav button:hover{background:var(--nav2);color:#fff}.sidebar-user{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding:16px 10px 0}.sidebar-user small{color:#9fb4cd;display:block;margin:4px 0 11px}
.main{margin-left:230px;width:calc(100% - 230px);padding:0 28px 36px}.topbar{height:92px;display:flex;align-items:center;gap:24px}.topbar h2{margin:0;font-size:23px}.topbar p{margin:4px 0 0;color:var(--muted);font-size:13px}.top-search{margin-left:auto;display:flex;gap:8px;width:min(440px,45vw)}.page{display:none}.page.active{display:block}
.main.topology-active>.topbar .topbar-heading{display:none!important}
.metrics{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:14px;margin-bottom:18px}.metric{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}.metric small{color:var(--muted)}.metric b{display:block;font-size:28px;margin-top:7px}
.panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow);margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-head h3{margin:0}.panel-head p{margin:5px 0 0;color:var(--muted);font-size:13px}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick{border:1px solid var(--line);background:#fbfcfe;border-radius:12px;padding:18px;text-align:left;cursor:pointer}.quick:hover{border-color:#8ab4ef;background:#f7fbff}.quick b{display:block;margin-bottom:7px}.quick span{font-size:12px;color:var(--muted);line-height:1.55}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stat-list{display:grid;gap:8px}.stat-row{display:flex;justify-content:space-between;border-bottom:1px dashed var(--line);padding:8px 0}.stat-row:last-child{border:0}.muted{color:var(--muted);font-size:13px}
.inline-form{display:flex;gap:9px;align-items:center}.inline-form input{max-width:320px}.filter-grid{display:grid;grid-template-columns:2fr 1.2fr repeat(4,1fr);gap:9px}.toolbar{display:flex;align-items:center;gap:9px;margin:12px 0 16px}
.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:13px}.asset-card{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;cursor:pointer;transition:.15s}.asset-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(25,60,100,.1);border-color:#b8cbea}.asset-photo{height:220px;background:#f7f9fc;display:flex;align-items:center;justify-content:center;color:#9aa8ba;overflow:hidden;padding:10px;position:relative}
.asset-photo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center!important;cursor:zoom-in}.asset-info{padding:14px}.asset-info h4{margin:0 0 4px;font-size:16px}.asset-info .id{font-size:12px;color:var(--muted);margin-bottom:10px}.asset-meta{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;font-size:13px}.asset-meta span:nth-child(odd){color:var(--muted)}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:12px;background:#edf4ff;color:#245c9e}.badge.green{background:#e8f7f2;color:#13735f}.badge.warn{background:#fff4da;color:#835600}
.asset-in-transit{margin-left:4px;color:#bd5f08;font-size:11px;font-style:normal;font-weight:850;white-space:nowrap}.asset-transit-note{margin:9px 0 0;color:#9a5b12;font-size:12px;line-height:1.5}.person-search-results{display:grid;gap:4px;margin-top:5px;max-height:180px;overflow:auto}.person-search-option{min-height:34px;padding:6px 9px;border:1px solid #d7e3ee;border-radius:7px;background:#fff;color:#244e77;text-align:left;font-size:13px;font-weight:750;cursor:pointer}.person-search-option:hover{border-color:#4b8bce;background:#eef6ff}.person-search-results small{padding:5px 1px;color:#76899b}
.notice{padding:11px 13px;border-radius:9px;background:#eff6ff;border:1px solid #cfe1fa;margin:13px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:#5a687e;font-weight:600}
.backdrop{position:fixed;inset:0;background:rgba(4,18,36,.38);z-index:90}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(560px,92vw);background:#fff;z-index:100;box-shadow:-10px 0 40px rgba(0,0,0,.18);overflow:auto}.drawer-head,.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.drawer-head small{color:var(--muted)}.drawer-head h3,.modal-head h3{margin:3px 0 0}.icon-btn{border:0;background:transparent;font-size:23px;cursor:pointer}.detail{padding:20px}.detail-photo{height:250px;background:#edf1f6;border-radius:12px;overflow:hidden;display:grid;place-items:center;color:#9aa8ba}.detail-photo img{width:100%;height:100%;object-fit:contain}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.detail-item{background:#f7f9fc;border-radius:9px;padding:10px 12px}.detail-item small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.timeline{border-left:2px solid #d8e1ed;margin:10px 0 0 8px;padding-left:17px}.timeline-item{position:relative;margin:0 0 16px}.timeline-item:before{content:"";position:absolute;left:-23px;top:5px;width:9px;height:9px;background:#5c8fd6;border-radius:50%}.timeline-item small{color:var(--muted)}
.modal{position:fixed;z-index:101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,calc(100% - 28px));max-height:90vh;overflow:auto;background:#fff;border-radius:15px;box-shadow:0 24px 80px rgba(0,0,0,.25)}.modal-body{padding:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.form-grid .full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.toast{position:fixed;right:24px;bottom:24px;z-index:130;background:#18304e;color:#fff;padding:12px 16px;border-radius:9px;box-shadow:var(--shadow);max-width:360px}.toast.error{background:#8f2e2e}.mobile-only{display:none}
@media(max-width:1100px){.metrics{grid-template-columns:repeat(3,1fr)}.filter-grid{grid-template-columns:repeat(3,1fr)}.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){
 .sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.main{margin-left:0;width:100%;padding:0 14px 28px}.topbar{height:auto;padding:16px 0;align-items:flex-start;flex-wrap:wrap}.top-search{order:3;width:100%;margin-left:0}.mobile-only{display:block}.metrics{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.filter-grid{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}.inline-form input{max-width:none;flex:1 1 100%}
}

/* ===== 查询语义、完整导入复核、详情与盘点职责 ===== */
.room-scope-explain{flex:1 1 100%;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%}.room-scope-explain span{padding:7px 9px;border-radius:8px;background:#fff;color:#60748d;font-size:11px}.room-scope-explain b{display:block;color:#274f7c;margin-bottom:2px}
.owner-asset-search-panel{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(260px,1fr) auto;gap:12px;align-items:end;margin-top:10px;padding:11px 12px;border:1px dashed #c8d7e9;border-radius:11px;background:#fafcff}.owner-asset-search-panel>div>b,.owner-asset-search-panel>div>span{display:block}.owner-asset-search-panel>div>span{margin-top:4px;color:#6d8097;font-size:12px;line-height:1.45}.owner-asset-search-panel.exclusive-active{border:2px solid #0b61d8;background:#edf5ff}.owner-asset-search-panel.exclusive-active>div>b{color:#0b57d0}.owner-room-filter{margin:0}
select:disabled,button:disabled{cursor:not-allowed}.asset-search-primary select:disabled{background:#eef1f5;color:#8a96a6;border-color:#d9e0e8}

.asset-detail-hero{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:14px}.asset-photo-cover{position:relative;width:180px;height:150px;border:1px solid #d5e1ee;border-radius:14px;overflow:hidden;background:#f1f5f9;color:#7f8ea2;cursor:pointer;padding:0}.asset-photo-cover img{width:100%;height:100%;object-fit:cover}.photo-count-badge{position:absolute;right:7px;bottom:7px;padding:4px 8px;border-radius:999px;background:rgba(8,36,72,.82);color:#fff;font-size:11px;font-weight:750}.asset-hero-main h3{margin:10px 0 5px;font-size:23px;color:#102f58}.asset-hero-main p{margin:0;color:#647890}.asset-id-copy{display:inline-flex;margin-top:10px;padding:5px 9px;border-radius:7px;background:#eef3f9;color:#355576;font-family:monospace}.asset-hero-tags{display:flex;gap:6px;flex-wrap:wrap}.asset-alert{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf1f5;color:#526378;font-size:11px;font-weight:800}.asset-alert.ok{background:#e7f5eb;color:#26713c}.asset-alert.danger,.detail-item.danger{background:#fff0ed;color:#b0382c}.asset-alert.warn,.detail-item.warn{background:#fff5dc;color:#99600d}.asset-alert.info,.detail-item.info{background:#eaf3ff;color:#2260a5}.asset-alert.permission.限制{background:#fde8e8;color:#c32929}.asset-alert.permission.审批{background:#fff2c7;color:#986000}.asset-detail-section{margin-top:12px;padding:12px;border:1px solid #dce5f0;border-radius:12px;background:#fff}.asset-detail-section h4{margin:0 0 9px;color:#1b426e}.detail-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.detail-grid.compact .detail-item{padding:8px 9px;min-height:58px;border-radius:8px;background:#f7f9fc}.detail-grid.compact .detail-item.important{background:#edf5ff}.detail-grid.compact .detail-item b{font-size:13px;overflow-wrap:anywhere}.asset-detail-more{margin-top:12px;border:1px solid #dbe4ef;border-radius:10px;padding:10px}.asset-detail-more>summary,.barcode-block>summary{cursor:pointer;color:#315d8d;font-weight:750}.asset-detail-more .detail-grid{margin-top:9px}.barcode-block{margin-top:12px}.photo-gallery-main{height:min(62vh,620px);display:grid;place-items:center;border-radius:12px;background:#0d1725;overflow:hidden}.photo-gallery-main img{max-width:100%;max-height:100%;object-fit:contain}.photo-gallery-thumbs{display:flex;gap:7px;overflow-x:auto;margin-top:10px}.photo-gallery-thumbs button{border:1px solid #d2deeb;background:#fff;border-radius:8px;padding:7px 10px;white-space:nowrap;cursor:pointer}.photo-gallery-thumbs button.active{border-color:#0b61d8;background:#eaf3ff;color:#0b57d0}.modal.modal-photo-gallery{width:min(980px,calc(100vw - 24px))}

.batch-preview-wrap{max-height:none;overflow:visible}.batch-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}.batch-preview-head b,.batch-preview-head span{display:block}.batch-preview-head>div>span{margin-top:3px;color:#6b7f98;font-size:12px}.batch-preview-list{display:grid;gap:10px}.batch-preview-card{border:1px solid #dbe5f0;border-radius:11px;background:#fff;padding:11px}.batch-preview-card.batch-row-error{border-color:#eca79e;background:#fffafa}.batch-preview-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.batch-preview-card-head span,.batch-preview-card-head b{display:block}.batch-preview-card-head>div>span{color:#71839a;font-size:11px}.batch-preview-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;margin-top:9px}.batch-preview-fields>div{padding:7px 8px;border-radius:7px;background:#f6f8fb;min-width:0}.batch-preview-fields small,.batch-preview-fields b{display:block}.batch-preview-fields small{color:#7a899c;font-size:10px}.batch-preview-fields b{margin-top:2px;font-size:12px;overflow-wrap:anywhere}.batch-preview-errors{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.batch-preview-errors span{padding:4px 7px;border-radius:6px;background:#ffebe8;color:#a83a2e;font-size:11px}.batch-row-editor{max-height:62vh;overflow-y:auto;padding-right:4px}.modal.modal-import-review{width:min(880px,calc(100vw - 24px))}.batch-final-list{display:grid;gap:7px;max-height:55vh;overflow-y:auto;margin:10px 0}.batch-final-list>div{display:grid;grid-template-columns:75px minmax(160px,.8fr) minmax(220px,1.2fr) minmax(260px,1.3fr);gap:8px;align-items:center;padding:9px;border:1px solid #e0e7f0;border-radius:9px}.batch-final-list span,.batch-final-list small{color:#687b92;font-size:11px}.batch-final-list b{color:#173d6b}

.rr-bulk-tools{grid-template-columns:minmax(150px,.6fr) minmax(260px,1fr) auto!important;align-items:end}.rr-bulk-label b,.rr-bulk-label span{display:block}.rr-bulk-label span{margin-top:3px;color:#71839a;font-size:11px}.rr-bulk-tools>label{display:grid;gap:5px;color:#61758e;font-size:11px}.rr-bulk-actions{display:flex;gap:7px;align-items:stretch}.rr-bulk-actions .btn{min-height:42px}.rr-list-head{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(160px,.55fr) minmax(220px,.75fr);gap:9px;padding:7px 10px;color:#6c7f96;font-size:11px;font-weight:750;border-bottom:1px solid #dce5ef}.room-return-row.configure{grid-template-columns:24px minmax(0,1fr) minmax(160px,.55fr) minmax(220px,.75fr)!important;align-items:center!important}.room-return-row.configure .rr-asset-summary{min-width:0}.rr-asset-line{display:grid;grid-template-columns:46px minmax(120px,1fr) minmax(75px,.55fr) minmax(130px,1fr) minmax(110px,.8fr) minmax(85px,.6fr);gap:7px;align-items:center}.rr-asset-line .choice-thumb{width:46px!important;height:42px!important}.rr-asset-line>span{font-size:11px;color:#5e7188;overflow-wrap:anywhere}.rr-asset-line .rr-ownership{color:#6e4c20}.rr-action-field,.rr-target-wrap{display:grid;gap:5px;margin:0;color:#61758e;font-size:11px}.room-return-row.configure .rr-target-wrap.hidden{display:block!important;visibility:hidden}.room-return-row.configure select,.room-return-row.configure input{min-width:0}.ownership-risk{display:inline-flex;margin-top:5px}

.maintenance-history-filters{grid-template-columns:minmax(250px,1fr) 180px auto;align-items:end}.maintenance-history-summary{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.maintenance-history-summary span{padding:7px 10px;border:1px solid #d9e4f1;border-radius:8px;background:#f7faff;color:#62758d;font-size:12px}.maintenance-history-summary b{color:#194a81;font-size:15px}.maintenance-history-list{display:grid;gap:10px}.maintenance-asset-history{border:1px solid #d9e4f0;border-radius:11px;background:#fff;overflow:hidden}.maintenance-asset-history>summary{display:grid;grid-template-columns:58px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;background:#f5f9fe;cursor:pointer}.maintenance-asset-history>summary .maint-thumb{width:58px;height:48px}.maintenance-asset-history>summary b,.maintenance-asset-history>summary span{display:block}.maintenance-asset-history>summary span{color:#6d8097;font-size:11px}.maintenance-history-records{padding:0 12px}.maintenance-history-records article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:11px 0;border-top:1px dashed #dce5ef}.maintenance-history-no{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:#1b5ca7;font-size:11px;font-weight:800}.maintenance-record-title{display:flex;gap:8px;align-items:center}.maintenance-history-records p{margin:5px 0;color:#263f5e}.maintenance-history-records small{display:block;margin-top:3px;color:#71839a}
.inventory-role-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.inventory-role-guide>div{padding:11px;border:1px solid #d9e5f2;border-radius:10px;background:#f8fbff}.inventory-role-guide b,.inventory-role-guide span{display:block}.inventory-role-guide b{color:#194d86}.inventory-role-guide span{margin-top:4px;color:#687d95;font-size:12px;line-height:1.5}

.linen-kpi-draft{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0}.linen-kpi-draft>div{padding:12px;border:1px solid #d8e5ee;border-radius:11px;background:#fff}.linen-kpi-draft small,.linen-kpi-draft b,.linen-kpi-draft span{display:block}.linen-kpi-draft b{margin:5px 0;font-size:22px;color:#17548d}.linen-kpi-draft span{color:#74869a;font-size:11px}.linen-tabs{margin-bottom:12px}.linen-pane{padding:2px}.linen-process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.linen-process-grid article{position:relative;padding:15px;border:1px solid #d9e5ef;border-radius:12px;background:#fff}.linen-process-grid h4{margin:8px 0 5px;color:#173f6d}.linen-process-grid p{margin:0 0 9px;color:#667b92;line-height:1.55}.linen-process-grid article>b{font-size:12px;color:#2d6a5d}.linen-step{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e7f3ff;color:#155da9;font-size:11px;font-weight:800}.linen-ledger-example{display:flex;gap:12px;margin-top:11px;padding:11px;border-left:4px solid #39a17b;border-radius:8px;background:#effaf6;color:#496e65}.linen-ledger-example b{white-space:nowrap;color:#17664e}.linen-module-grid.compact{grid-template-columns:repeat(2,1fr)}.linen-module-grid.compact p{min-height:auto}.linen-catalog-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.linen-catalog-fields>div{padding:13px;border:1px solid #dce6ef;border-radius:10px;background:#fff}.linen-catalog-fields b,.linen-catalog-fields span{display:block}.linen-catalog-fields span{margin-top:4px;color:#6a7f94;font-size:12px}

@media(max-width:1050px){.detail-grid.compact{grid-template-columns:repeat(2,1fr)}.rr-bulk-tools{grid-template-columns:1fr 1fr!important}.rr-bulk-actions{grid-column:1/-1}.rr-list-head{display:none}.room-return-row.configure{grid-template-columns:24px minmax(0,1fr)!important}.room-return-row.configure>.rr-action-field,.room-return-row.configure>.rr-target-wrap{grid-column:2}.rr-asset-line{grid-template-columns:46px minmax(120px,1fr) repeat(2,minmax(85px,.7fr))}.rr-asset-line>span:nth-of-type(3),.rr-asset-line>span:nth-of-type(4){grid-column:auto}.linen-kpi-draft{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.room-scope-explain,.owner-asset-search-panel,.asset-detail-hero,.linen-process-grid,.linen-catalog-fields,.linen-module-grid.compact,.inventory-role-guide{grid-template-columns:1fr}.asset-photo-cover{width:100%;height:200px}.detail-grid.compact{grid-template-columns:1fr 1fr}.batch-preview-card-head{grid-template-columns:1fr auto}.batch-preview-card-head .btn{grid-column:1/-1}.batch-final-list>div{grid-template-columns:1fr}.maintenance-history-filters{grid-template-columns:1fr}.maintenance-asset-history>summary{grid-template-columns:50px 1fr auto}.maintenance-asset-history>summary .btn{grid-column:2/-1}.linen-kpi-draft{grid-template-columns:1fr 1fr}.rr-bulk-tools{grid-template-columns:1fr!important}.rr-asset-line{grid-template-columns:42px 1fr}.rr-asset-line>span{grid-column:2}.room-return-row.configure>.rr-action-field,.room-return-row.configure>.rr-target-wrap{grid-column:1/-1}.room-return-row.configure .rr-target-wrap.hidden{display:none!important}.modal.modal-room-return{height:95vh}.room-return-confirm-check{font-size:12px}}

#maintenanceBody .btn,#usersBody .btn{padding:6px 9px;font-size:12px;margin-right:4px}

.login-logo{display:block;width:min(330px,100%);height:100px;object-fit:contain;object-position:left center;margin:0 0 14px}
.sidebar-logo{width:76px;height:40px;object-fit:contain;object-position:left center;filter:none}
.brand{gap:8px}
.image-backdrop{position:fixed;inset:0;background:rgba(3,10,20,.9);z-index:200;display:flex;align-items:center;justify-content:center;padding:30px}
.image-backdrop img{max-width:96vw;max-height:92vh;object-fit:contain;box-shadow:0 16px 70px rgba(0,0,0,.45)}
.image-close{position:fixed;right:24px;top:18px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:32px;line-height:42px;cursor:pointer;z-index:201}
.detail-photo{cursor:zoom-in;background:#fff}
.detail-photo img{object-fit:contain}
@media(max-width:760px){
  .login-logo{height:82px}
  .sidebar-logo{width:68px;height:36px}
}

.detail-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}

.room-candidates-wrap{margin-top:14px}
.room-help{font-size:13px;color:var(--muted);margin-bottom:8px}
.room-candidates{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px}
.room-candidate{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 13px;text-align:left;cursor:pointer}
.room-candidate:hover{border-color:#8ab4ef;background:#f7fbff}
.room-candidate.selected{border:2px solid var(--accent);background:#eef5ff}
.room-candidate strong{display:block;font-size:16px;margin-bottom:4px}
.room-candidate span{display:block;font-size:12px;color:var(--muted);line-height:1.5}
.selected-room{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:12px 14px;border:1px solid #bcd3f2;background:#f0f6ff;border-radius:10px}
.selected-room small{display:block;color:var(--muted);margin-bottom:3px}
.selected-room strong{font-size:16px}

.form-section-title{font-weight:700;margin:22px 0 10px;padding-top:5px;border-top:1px solid var(--line);color:#26364e}
.form-section-title:first-of-type{margin-top:0;border-top:0}
.form-section-title>span{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:6px;border-radius:999px;background:#e8f1ff;color:#0b57d0;font-size:12px}.form-details{margin:18px 0;border:1px solid #dbe5f0;border-radius:12px;background:#fbfdff;overflow:visible}.form-details>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;color:#26364e;list-style:none}.form-details>summary::-webkit-details-marker{display:none}.form-details>summary span{font-size:12px;color:var(--muted);font-weight:400}.form-details[open]>summary{border-bottom:1px solid #e2eaf3;background:#f3f7fc;border-radius:12px 12px 0 0}.form-details>.form-grid{padding:15px}.procurement-core-grid{padding-bottom:6px}
.form-grid-3{grid-template-columns:repeat(3,1fr)}
.input-action{display:flex;gap:7px;margin-top:7px}
.input-action input{margin-top:0}
.input-action .btn{white-space:nowrap}
.upload-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}
.upload-box{margin:0;border:1px dashed #aebbcf;border-radius:11px;background:#fafcff;padding:16px;cursor:pointer;text-align:center}
.upload-box input{display:none}
.upload-box span{display:block;font-weight:600;color:#2d5f9f;margin-bottom:5px}
.upload-box small{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.form-grid-3{grid-template-columns:1fr 1fr}.upload-grid{grid-template-columns:1fr}}
@media(max-width:600px){.form-grid-3{grid-template-columns:1fr}}


/* Web V0.4 - Mobile / PWA */
.remember-row{display:flex;align-items:center;gap:8px;margin:4px 0 14px;cursor:pointer}
.remember-row input{width:auto;margin:0}
.remember-row span{font-size:12px;color:var(--muted)}

.sidebar-install{width:100%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#d9e7f7;border-radius:8px;padding:9px 10px;margin:0 0 12px;cursor:pointer}
.sidebar-install:hover{background:rgba(255,255,255,.1)}
.sidebar-scrim{display:none}

.online-pill{margin-left:auto;white-space:nowrap;padding:4px 9px;border-radius:999px;background:#e8f7f2;color:#13735f;font-size:12px}
.online-pill.offline{background:#fff1f1;color:#a12f2f}
.top-search{margin-left:0}

.step-title{display:flex;align-items:center;gap:9px;margin:18px 0 10px;color:#33445c}
.step-title b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:#1f6feb;font-size:13px}
.transfer-results{display:grid;gap:8px;margin-top:12px}
.transfer-choice{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);background:#fff;padding:12px;border-radius:10px;cursor:pointer}
.transfer-choice:hover{border-color:#8ab4ef;background:#f8fbff}
.transfer-choice .tc-main{flex:1;min-width:0}
.transfer-choice strong{display:block;margin-bottom:4px}
.transfer-choice small{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.transfer-choice .tc-loc{font-size:12px;color:#395a7f;background:#edf4ff;border-radius:999px;padding:4px 8px;white-space:nowrap}
.transfer-selected{margin-top:14px;border-top:1px solid var(--line);padding-top:2px}
.transfer-summary{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #cfe1fa;background:#f5f9ff;border-radius:10px;margin-bottom:12px}
.transfer-summary .ts-body{flex:1}
.transfer-summary strong{display:block}
.transfer-summary small{display:block;color:var(--muted);margin-top:3px}

.mobile-nav{display:none}
.network-banner{position:fixed;z-index:300;left:50%;transform:translateX(-50%);top:12px;background:#8f2e2e;color:white;border-radius:999px;padding:9px 15px;font-size:13px;box-shadow:0 5px 20px rgba(0,0,0,.18)}

@media(max-width:760px){
  body{padding-bottom:74px}
  .app-shell{min-height:calc(100vh - 72px)}
  .sidebar{width:min(82vw,300px);z-index:220;padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .sidebar.open + *{}
  .sidebar-scrim{display:block;position:fixed;inset:0;background:rgba(4,18,36,.42);z-index:210}
  .main{padding:0 12px 28px}
  .topbar{padding:12px 0 10px;gap:10px;position:sticky;top:0;z-index:15;background:rgba(243,246,250,.95);backdrop-filter:blur(8px)}
  .topbar h2{font-size:20px}
  .topbar p{display:none}
  .top-search{order:3;width:100%;gap:6px}
  .top-search input{height:44px}
  .online-pill{margin-left:auto}
  .panel{padding:14px;border-radius:12px;margin-bottom:12px}
  .panel-head{margin-bottom:12px;align-items:flex-start}
  .panel-head h3{font-size:17px}
  .metrics{grid-template-columns:repeat(2,1fr);gap:9px}
  .metric{padding:13px;border-radius:11px}
  .metric b{font-size:24px}
  .quick-grid{grid-template-columns:1fr 1fr;gap:8px}
  .quick{padding:14px 12px}
  .filter-grid{grid-template-columns:1fr}
  .filter-grid input{height:46px}
  .asset-grid{grid-template-columns:1fr;gap:10px}
  .asset-card{display:grid;grid-template-columns:128px 1fr;min-height:132px}
  .asset-photo{height:132px;padding:6px;border-radius:0}
  .asset-info{padding:11px}
  .asset-meta{font-size:12px;gap:4px 8px}
  .asset-info h4{font-size:15px}
  .room-candidates{grid-template-columns:1fr}
  .room-candidate{min-height:72px}
  .selected-room{align-items:flex-start;flex-direction:column}
  .selected-room .btn{width:100%}
  .toolbar{flex-wrap:wrap}
  .btn{min-height:42px}
  .mobile-primary{margin-top:12px;min-height:48px}
  input,select,textarea{font-size:16px;min-height:44px} /* 避免iPhone聚焦时自动放大 */
  .drawer{width:100vw}
  .detail{padding:14px}
  .detail-photo{height:230px}
  .modal{width:calc(100% - 16px);max-height:92vh}
  .modal-body{padding:14px}
  .form-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:auto}
  .upload-grid{grid-template-columns:1fr}
  .table-wrap{-webkit-overflow-scrolling:touch}
  table{min-width:760px}
  .toast{right:12px;left:12px;bottom:86px;max-width:none;text-align:center}
  .image-backdrop{padding:12px}
  .image-close{right:12px;top:12px}
  .transfer-choice{min-height:70px}
  .transfer-choice .tc-loc{max-width:110px;overflow:hidden;text-overflow:ellipsis}
  .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:180;background:rgba(255,255,255,.98);border-top:1px solid #dbe3ed;padding:5px 5px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(20,40,70,.07)}
  .mobile-nav button{border:0;background:transparent;color:#64748b;padding:9px 2px 7px;border-radius:9px;font-size:12px;cursor:pointer}
  .mobile-nav button.active{color:#1f6feb;background:#eef5ff;font-weight:700}
  .login-shell{min-height:100dvh;padding:18px 0}
  .login-card{padding:24px 22px;border-radius:18px}
  .login-logo{height:68px;margin-bottom:4px}
  .login-card h1{font-size:26px;margin-top:12px}
  .login-card p{margin-bottom:20px}
}

@media(max-width:390px){
  .quick-grid{grid-template-columns:1fr}
  .asset-card{grid-template-columns:112px 1fr}
  .asset-photo{height:124px}
}

/* V0.5 */
.room-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.asset-filter-grid{grid-template-columns:repeat(4,minmax(160px,1fr))}
.date-filter{font-size:12px;color:var(--muted)}.date-filter input{margin-top:5px}
.barcode-block{margin:14px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:center}
.barcode-block small{display:block;text-align:left;color:var(--muted);margin-bottom:8px}
.barcode-block svg{width:100%;max-width:430px;height:76px;background:#fff}.barcode-caption{font-family:monospace;letter-spacing:1px;font-size:13px}
.inventory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:12px 0}
.inventory-head h4{margin:4px 0;font-size:19px}.inventory-metrics{display:grid;grid-template-columns:repeat(4,78px);gap:8px}
.inventory-metrics>div{background:#f5f8fc;border:1px solid var(--line);border-radius:10px;padding:9px;text-align:center}
.inventory-metrics small{display:block;color:var(--muted)}.inventory-metrics b{display:block;font-size:22px;margin-top:3px}
.inventory-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.inventory-list{display:grid;gap:7px}
.inv-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}
.inv-item.checked{border-color:#b8dfd1;background:#f4fcf8}.inv-item.missing{border-color:#f0c3c3;background:#fff7f7}.inv-item.unexpected{border-color:#efcf9b;background:#fffaf0}
.inv-item strong,.inv-item small{display:block}.inv-item small{color:var(--muted);margin-top:2px}.inv-state{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:12px}
.checked .inv-state{background:#dff5eb;color:#167058}.missing .inv-state{background:#fde8e8;color:#a13636}.unexpected .inv-state{background:#fff0d2;color:#8a5b05}
.danger-outline{border-color:#d88;color:#9c3030;background:#fff}
.schema-auth{padding:13px;border:1px solid #dce6f2;background:#f7faff;border-radius:10px;margin-bottom:14px}
.schema-auth p{font-size:12px;color:var(--muted);margin:4px 0 10px}.parameter-groups{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px}
.parameter-card{border:1px solid var(--line);border-radius:11px;padding:13px;background:#fff}.parameter-card h4{margin:0 0 3px}.parameter-card p{margin:0 0 9px;font-size:12px;color:var(--muted)}
.parameter-options{display:flex;gap:6px;flex-wrap:wrap;min-height:30px;margin-bottom:10px}.parameter-option{border-radius:999px;background:#eef3f8;padding:4px 8px;font-size:12px}
.parameter-add{display:flex;gap:7px}.parameter-add input{margin:0;min-width:0}.parameter-location-list{margin-top:16px;display:grid;gap:7px}
.parameter-location{display:grid;grid-template-columns:130px 1fr 90px 130px 80px;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff}
.parameter-location small{display:block;color:var(--muted)}.parameter-location.disabled{opacity:.55}
@media(max-width:900px){.asset-filter-grid{grid-template-columns:repeat(2,1fr)}.inventory-columns{grid-template-columns:1fr}.parameter-groups{grid-template-columns:1fr}.parameter-location{grid-template-columns:110px 1fr 80px}.parameter-location .pm-area{display:none}}
@media(max-width:760px){.room-actions{width:100%;justify-content:stretch}.room-actions .btn{flex:1 1 140px}.asset-filter-grid{grid-template-columns:1fr}.inventory-head{flex-direction:column}.inventory-metrics{width:100%;grid-template-columns:repeat(4,1fr)}.inventory-metrics>div{padding:8px 4px}.inventory-metrics b{font-size:19px}.parameter-add{flex-direction:column}.parameter-location{grid-template-columns:90px 1fr 72px;gap:7px}}

/* V0.5.2 */
.login-version{display:inline-flex;align-items:center;padding:4px 9px;margin:-10px 0 18px;border-radius:999px;background:#eef4fb;color:#60728c;font-size:11px;line-height:1;border:1px solid #dde8f4}
.login-version.version-warning{background:#fff1e8;color:#9a571d;border-color:#f2cfad}

/* V0.5.3 */
.snapshot-history-box{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.snapshot-history-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:10px;
}
.snapshot-history-head h4{margin:0 0 3px;font-size:17px}
.snapshot-history-head p{margin:0;color:var(--muted);font-size:12px}
.snapshot-batches{display:grid;gap:10px}
.snapshot-batch{
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  padding:12px;
}
.snapshot-batch-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.snapshot-batch-top strong{display:block}
.snapshot-batch-top small{display:block;color:var(--muted);margin-top:3px}
.snapshot-assets{
  margin-top:9px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.snapshot-asset-chip{
  padding:5px 8px;
  border-radius:8px;
  background:#f2f6fa;
  font-size:12px;
  color:#42536b;
}
@media(max-width:760px){
  .snapshot-history-head,.snapshot-batch-top{flex-direction:column}
  .snapshot-batch-top .btn{width:100%}
}

/* V0.5.4 */
.location-picker{position:relative}
.location-suggestions{
  position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:150;
  max-height:280px;overflow:auto;background:#fff;border:1px solid #cfdbea;
  border-radius:10px;box-shadow:0 12px 28px rgba(24,45,78,.16);padding:5px
}
.location-suggestion{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;
  border:0;background:#fff;border-radius:7px;padding:9px 10px;text-align:left;cursor:pointer
}
.location-suggestion:hover{background:#edf5ff}
.location-suggestion strong{display:block;color:#17263c}
.location-suggestion small{display:block;color:var(--muted);margin-top:2px}
.location-suggestion .loc-type{font-size:11px;color:#54708f;white-space:nowrap}
.metric.metric-link{
  border:1px solid var(--line);font:inherit;text-align:left;cursor:pointer;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease
}
.metric.metric-link:hover{transform:translateY(-1px);border-color:#a9c8ef;box-shadow:0 5px 15px rgba(31,111,235,.08)}
.metric.metric-link:focus-visible{outline:2px solid #2a73df;outline-offset:2px}
.metric .metric-go{font-size:11px;color:#6a7e98;margin-top:5px}
.asset-edit-note{
  padding:9px 11px;border-radius:9px;background:#fff8e8;color:#76591d;
  font-size:12px;margin-bottom:12px;border:1px solid #f1ddb0
}
.asset-source-readonly{
  display:grid;align-content:center;gap:4px;min-height:66px;padding:10px 12px;
  border:1px solid #c9dce9;border-radius:9px;background:#f0f7fb;color:#173b5b
}
.asset-source-readonly small{color:#617d92;font-size:12px}
.asset-source-readonly b{font-size:15px}
@media(max-width:760px){.location-suggestions{max-height:220px}}

/* V0.5.5 */
.detail-photo{
  height:auto!important;
  min-height:220px;
  max-height:380px;
  padding:10px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  background:#f4f7fb;
}
.detail-photo img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:350px!important;
  object-fit:contain!important;
  object-position:center!important;
  cursor:zoom-in;
}
.asset-photo img{
  object-fit:contain!important;
  object-position:center!important;
}
.log-filter-grid{grid-template-columns:2fr 1fr 1fr 1fr 1fr}
.pager{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:14px}
.required-label::after{content:" *";color:#d93025;font-weight:700}
.permission-summary{display:grid;gap:10px;margin-top:12px}
.permission-role-card{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}
.permission-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.permission-tag{padding:4px 8px;border-radius:999px;background:#eef4fb;color:#3e5774;font-size:12px}
.scan-frame{position:relative;background:#111;border-radius:10px;overflow:hidden}
.scan-frame video{display:block;width:100%;max-height:55vh;object-fit:cover}
.scan-line{position:absolute;left:10%;right:10%;top:50%;height:2px;background:#2a73df;box-shadow:0 0 12px #2a73df}
.scan-status{font-size:12px;color:var(--muted);margin-top:8px}
.asset-scan-modal .scan-guide{margin:0 0 8px;color:#45627e;line-height:1.5}.asset-scan-modal .scan-frame{margin-top:8px}.asset-scan-modal #scanStart{margin-top:9px}.scan-manual-fallback{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-top:12px;padding-top:11px;border-top:1px solid #e1e8f0}.scan-manual-fallback label{display:grid;gap:5px;color:#60758a;font-size:12px}.scan-manual-fallback input{width:100%;min-height:42px}.scan-result{margin-top:12px;padding:11px 12px;border:1px solid #a9c9e8;border-radius:10px;background:#f4f9ff}.scan-result-head{display:flex;align-items:center;justify-content:space-between;color:#195c91;font-weight:800}.scan-result-head b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2d9a62;color:#fff}.scan-result dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.scan-result dl>div{min-width:0;padding:7px 8px;border-radius:7px;background:#fff}.scan-result dt{color:#72869a;font-size:11px}.scan-result dd{margin:3px 0 0;overflow:hidden;color:#193f63;font-size:14px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.scan-result .wide{width:100%;min-height:42px}
.linen-entry-guide{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:11px 13px;border:1px solid #cbddec;border-radius:10px;background:#f4f9ff}.linen-entry-guide>div{display:grid;gap:3px;min-width:0}.linen-entry-guide b{color:#174f7e}.linen-entry-guide span{color:#5b748b;font-size:13px;line-height:1.45}.linen-entry-guide .btn{flex:0 0 auto}.linen-catalog-thumb{display:inline-grid;place-items:center;width:46px;height:42px;overflow:hidden;padding:0;border:1px solid #c8d9e8;border-radius:7px;background:#f6f9fc;cursor:pointer}.linen-catalog-thumb img{width:100%;height:100%;object-fit:cover}.linen-current-image{display:flex;align-items:center;gap:10px;margin:7px 0;color:#627b91;font-size:12px}.linen-current-image .linen-catalog-thumb{width:80px;height:65px}
.overview-data-note{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;margin:10px 0 0;padding:9px 11px;border:1px solid #d6e4f0;border-radius:9px;background:#f7fbff;color:#60758a;font-size:12px}.overview-data-note b{color:#235b88;font-weight:750}.overview-data-note small{grid-column:1/-1;color:#71869a}
.asset-scan-header-group{align-items:center}.asset-header-scan{display:none;border-color:#c83a39!important;background:#d94340!important;color:#fff!important;box-shadow:0 4px 12px #c83a3940}.asset-header-scan:hover{background:#b93230!important}.asset-header-scan span{font-size:18px;line-height:1}
@media(max-width:900px){.log-filter-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.log-filter-grid{grid-template-columns:1fr}.detail-photo{min-height:180px}}


/* =========================
   Web V0.6.0 管理后台
   ========================= */
:root{
  --nav:#06245d;
  --nav2:#0a3177;
  --accent:#0b57d0;
  --accent-soft:#edf4ff;
  --bg:#f3f6fb;
  --card:#fff;
  --text:#172033;
  --muted:#6b778c;
  --line:#dfe7f1;
  --danger:#bd2f38;
  --warn:#986100;
  --shadow:0 6px 20px rgba(24,47,82,.07);
}
.sidebar{background:linear-gradient(180deg,#05235a 0%,#082e70 100%)}
.brand{border-bottom:1px solid rgba(255,255,255,.12)}
#nav{padding-top:8px}
.nav-group-label{
  padding:14px 16px 6px;color:rgba(255,255,255,.48);font-size:10px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase
}
#nav button{display:flex;align-items:center;gap:10px}
#nav .nav-icon{display:grid;place-items:center;width:22px;height:22px;font-size:14px;color:#cfe0ff}
#nav button.active .nav-icon{color:#fff}
.topbar{background:rgba(255,255,255,.95);backdrop-filter:blur(10px)}
.dashboard-metrics{grid-template-columns:repeat(4,minmax(150px,1fr))}
.dashboard-metric{min-height:118px;padding:18px}
.dashboard-metric small{font-size:13px}
.dashboard-metric b{font-size:32px;line-height:1;margin:11px 0 8px;display:block}
.dashboard-metric span{font-size:11px;color:var(--muted)}
.dashboard-grid{display:grid;gap:14px;margin-top:14px}
.dashboard-priority-grid{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)}
.dashboard-main-grid{grid-template-columns:1fr 1fr}
.todo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.todo-card{
  position:relative;border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;text-align:left;cursor:pointer;
  min-height:112px;transition:transform .12s ease,border-color .12s ease
}
.todo-card:hover{transform:translateY(-1px);border-color:#afc9ee}
.todo-card span{display:block;font-size:12px;color:#4d5e76}
.todo-card b{display:block;font-size:28px;margin:7px 0 5px}
.todo-card small{color:var(--muted);line-height:1.35}
.todo-card.danger b{color:#b8323c}.todo-card.warn b{color:#966300}.todo-card.info b{color:#0b57d0}
.age-bars{display:grid;gap:10px}
.age-row{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}
.age-row-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;font-size:12px}
.age-row-label b{font-size:13px}.age-track{height:9px;border-radius:999px;background:#edf1f6;overflow:hidden}
.age-track i{display:block;height:100%;border-radius:999px;background:#7fa9e6;min-width:0}
.age-row.warn .age-track i{background:#d7ad56}.age-row.danger .age-track i{background:#d7797f}
.overdue-list,.activity-list{display:grid;gap:0;max-height:430px;overflow:auto}
.overdue-item{
  display:grid;grid-template-columns:minmax(170px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:center;
  width:100%;border:0;border-bottom:1px solid #edf1f5;background:#fff;padding:12px 4px;text-align:left;cursor:pointer
}
.overdue-item:last-child{border-bottom:0}.overdue-item:hover{background:#f8fbff}
.overdue-item strong,.overdue-item small{display:block}.overdue-item small{color:var(--muted);margin-top:3px}
.overdue-fault{font-size:12px;color:#4f6076;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.days-badge{padding:5px 8px;background:#fff0f0;color:#a82d35;border-radius:999px;font-size:12px;font-weight:700}
.activity-item{display:grid;grid-template-columns:12px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid #edf1f5}
.activity-dot{width:8px;height:8px;border-radius:50%;background:#77a3e2;margin-top:6px}
.activity-body>div{display:flex;gap:8px;align-items:center}.activity-body b{font-size:13px}.activity-body span{font-size:12px;color:#375d92}
.activity-body p{margin:3px 0;font-size:12px;color:#53647a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.activity-body small{color:var(--muted);font-size:11px}
.empty-state{padding:22px;text-align:center;color:var(--muted);font-size:13px}
.schema-notice{
  display:flex;align-items:center;gap:10px;padding:11px 14px;margin-bottom:14px;border:1px solid #edc778;border-radius:10px;
  background:#fff9e9;color:#72520c;font-size:12px
}
.schema-notice strong{white-space:nowrap}.schema-notice span{overflow:hidden;text-overflow:ellipsis}
.dashboard-quick-grid{grid-template-columns:repeat(6,1fr)}
.field-help{display:block;font-size:11px;color:var(--muted);margin-top:4px;font-weight:400}
.custody-flow-note{padding:12px 14px;border:1px solid #cfddf2;background:#f6f9fe;border-radius:10px;color:#46617f;font-size:12px;line-height:1.5;margin-bottom:14px}
.custody-actions,.custody-tab-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.custody-selected-card{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px;border:1px solid var(--line);border-radius:10px;padding:13px;background:#fff}
.custody-selected-card strong,.custody-selected-card small,.custody-selected-card b{display:block}
.custody-selected-card small{color:var(--muted);margin-top:3px}
.custody-asset-summary{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.custody-asset-summary strong,.custody-asset-summary span{display:block}.custody-asset-summary span{font-size:12px;color:var(--muted);margin-top:4px}
.people-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:9px;margin-top:14px}
.person-card{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff}
.person-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#edf4ff;color:#0b57d0;font-weight:800}
.person-card strong,.person-card small{display:block}.person-card small{color:var(--muted);margin-top:3px;font-size:11px}
.person-status{font-size:11px;padding:4px 7px;border-radius:999px;background:#f0f2f5;color:#657284}.person-status.active{background:#e8f6ef;color:#177153}
.error-text{color:#a52d34}
@media(max-width:1180px){
  .todo-grid{grid-template-columns:repeat(2,1fr)}
  .dashboard-quick-grid{grid-template-columns:repeat(3,1fr)}
  .people-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .dashboard-priority-grid,.dashboard-main-grid{grid-template-columns:1fr}
  .dashboard-metrics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .dashboard-metrics{grid-template-columns:repeat(2,1fr)}
  .dashboard-metric{min-height:100px;padding:14px}
  .dashboard-metric b{font-size:27px}
  .todo-grid{grid-template-columns:1fr 1fr}
  .dashboard-quick-grid{grid-template-columns:1fr 1fr}
  .overdue-item{grid-template-columns:1fr auto}.overdue-fault{grid-column:1/-1}
  .people-grid{grid-template-columns:1fr}
  .custody-selected-card{grid-template-columns:1fr}
  .nav-group-label{padding-left:18px}
}

/* V0.6.0 报废管理 */
.panel-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.disposal-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.disposal-summary-card{
  border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px;text-align:left;cursor:pointer
}
.disposal-summary-card:hover{border-color:#afc9ee;background:#fbfdff}
.disposal-summary-card small,.disposal-summary-card b,.disposal-summary-card span{display:block}
.disposal-summary-card small{color:var(--muted)}
.disposal-summary-card b{font-size:28px;margin:6px 0;color:#163b73}
.disposal-summary-card span{font-size:11px;color:var(--muted)}
.disposal-list{display:grid;gap:9px}
.disposal-item{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;
  border:1px solid var(--line);border-radius:10px;background:#fff;padding:13px
}
.disposal-item-main strong,.disposal-item-main small{display:block}
.disposal-item-main small{color:var(--muted);margin-top:3px}
.disposal-item-main p{margin:7px 0 5px;font-size:12px;color:#4f6076}
.disposal-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:#718096}
.disposal-item-actions{display:flex;align-items:center;justify-content:flex-end}
.checkbox-label{display:flex!important;align-items:center;gap:8px;min-height:44px}
.checkbox-label input{width:auto;min-height:auto;margin:0}
@media(max-width:760px){
  .disposal-summary{grid-template-columns:1fr}
  .disposal-item{grid-template-columns:1fr}
  .disposal-item-actions{justify-content:flex-start}
}


/* V0.6.1 左侧导航滚动与单行对齐 */
@media(min-width:761px){
  .sidebar{
    height:100vh;
    min-height:0;
    overflow:hidden;
    padding:16px 12px 14px;
  }
  .sidebar .brand{
    flex:0 0 auto;
    padding:4px 8px 15px;
    margin-bottom:2px;
  }
  .sidebar nav{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    gap:2px;
    padding:5px 4px 10px 0;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.24) transparent;
  }
  .sidebar nav::-webkit-scrollbar{width:5px}
  .sidebar nav::-webkit-scrollbar-track{background:transparent}
  .sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:99px}
  .sidebar nav button,
  #nav button{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto;
    width:100%;
    min-width:0;
    min-height:40px;
    gap:10px;
    padding:9px 11px;
    line-height:1.2;
    font-size:14px;
    white-space:nowrap;
    overflow:hidden;
  }
  #nav button>span:not(.nav-icon){
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  #nav .nav-icon{
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex:0 0 20px;
    width:20px;
    height:20px;
    line-height:1;
  }
  #nav .nav-icon svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .nav-group-label{
    flex:0 0 auto;
    padding:12px 12px 5px;
    font-size:10px;
  }
  .sidebar-user{
    flex:0 0 auto;
    margin-top:0;
    padding:12px 9px 0;
    background:linear-gradient(180deg,rgba(8,46,112,0),#082e70 14%);
  }
}

/* V0.6.1 资产筛选：保管人 */
#fCustodian{min-width:0}

/* V0.6.2 Dashboard、分页、人员/保管人参数优化 */
.dashboard-main-grid{
  grid-template-columns:minmax(420px,.95fr) minmax(0,1.45fr);
  align-items:stretch;
}
.dashboard-main-grid>.panel{min-width:0}
.dashboard-overdue-panel{min-width:420px}
.dashboard-overdue-panel .overdue-list{min-width:0}
.dashboard-overdue-panel .overdue-item{
  grid-template-columns:minmax(190px,1.15fr) minmax(130px,.85fr) auto;
  min-width:0;
}
.dashboard-overdue-panel .overdue-item>div{min-width:0}
.dashboard-overdue-panel .panel-head>div{min-width:0}

/* 最近动态：缩略图 + 单行管理视图 */
.dashboard-activity-panel{min-width:0}
.activity-list{overflow-x:hidden}
.activity-line{
  display:flex;
  width:100%;
  align-items:center;
  gap:11px;
  border:0;
  border-bottom:1px solid #edf1f5;
  background:#fff;
  padding:9px 0;
  text-align:left;
  cursor:pointer;
  min-width:0;
}
.activity-line:hover{background:#f8fbff}
.activity-thumb{
  flex:0 0 46px;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#f5f7fa;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#9aa8ba;
  font-size:10px;
}
.activity-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff}
.activity-one-line{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:1 1 auto;
  white-space:nowrap;
}
.activity-one-line>*{min-width:0}
.activity-type{
  flex:0 0 auto;
  font-size:12px;
  padding:4px 7px;
  border-radius:999px;
  background:#edf4ff;
  color:#245c9e;
}
.activity-one-line strong{flex:0 1 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.activity-id{flex:0 1 auto;max-width:145px;color:#375d92;font-size:12px;overflow:hidden;text-overflow:ellipsis}
.activity-summary{flex:1 1 180px;color:#53647a;font-size:12px;overflow:hidden;text-overflow:ellipsis}
.activity-one-line small{flex:0 0 auto;color:var(--muted);font-size:11px}

/* 资产中心分页 */
.asset-pager{padding:6px 0 2px}
.asset-pager .btn:disabled{opacity:.42;cursor:not-allowed}

/* 基础参数：人员 / 保管人 */
.parameter-person-toolbar{margin-bottom:10px}
.parameter-help{
  padding:9px 12px;
  border-radius:9px;
  border:1px solid #d9e5f5;
  background:#f7faff;
  color:#52677f;
  font-size:12px;
  margin-bottom:12px;
}
.parameter-people-list{display:grid;gap:7px}
.parameter-person-row{
  display:grid;
  grid-template-columns:42px minmax(190px,1fr) auto 82px auto;
  gap:11px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  padding:10px 12px;
}
.parameter-person-row[data-person-row]{cursor:pointer}
.parameter-person-row[data-person-row]:hover{border-color:#8fb3df;background:#f8fbff}
.parameter-person-row.inactive{background:#fafbfc;opacity:.78}
.parameter-person-avatar{
  width:42px;height:42px;border-radius:10px;background:#edf4ff;color:#0b57d0;
  display:grid;place-items:center;font-weight:800
}
.parameter-person-main{min-width:0}
.parameter-person-main strong,.parameter-person-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.parameter-person-main small{color:var(--muted);font-size:11px;margin-top:3px}
.person-asset-count{text-align:center;min-width:66px;border:1px solid #d7e2ef;border-radius:9px;background:#f7faff;padding:5px 8px;cursor:pointer}
.person-asset-count:disabled{cursor:default;opacity:.55}
.person-asset-count b,.person-asset-count small{display:block}
.person-asset-count b{font-size:18px;color:#173e78}
.person-asset-count small{font-size:10px;color:var(--muted)}
.person-asset-count-placeholder{visibility:hidden;pointer-events:none}
.parameter-person-actions{display:flex;gap:6px;justify-content:flex-end}
.person-account-line{color:#355d8b!important}

/* V0.8.3：审批中心、资产筛选分层与产权风险 */
.nav-count{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#d92d20;color:#fff;display:grid;place-items:center;font-size:11px}
.approval-summary{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px;margin-bottom:14px}.approval-summary-card{border:1px solid #d6e2f0;border-radius:12px;background:#fff;padding:14px}.approval-summary-card small,.approval-summary-card b{display:block}.approval-summary-card small{color:#687d96}.approval-summary-card b{font-size:28px;color:#174e8f;margin-top:7px}.approval-center-grid{align-items:start}
.ownership-risk{display:block;margin-top:5px;padding:5px 8px;border-radius:7px;background:#fff0ee;color:#b42318;font-size:11px;font-weight:800}
.asset-search-primary{display:grid;grid-template-columns:minmax(210px,1.4fr) repeat(4,minmax(130px,.8fr)) auto auto;gap:8px;align-items:center}.asset-quick-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:9px 11px;border-radius:10px;background:#f5f8fc;border:1px solid #e0e8f2}.asset-quick-filters>span,.toolbar-label{color:#62758d;font-size:12px;font-weight:800}.asset-action-toolbar{margin-top:9px;border-top:1px solid #e5ebf2;padding-top:10px}.dashboard-metrics{grid-template-columns:repeat(5,minmax(140px,1fr))}
@media(max-width:1100px){.asset-search-primary{grid-template-columns:repeat(3,1fr)}.dashboard-metrics{grid-template-columns:repeat(3,1fr)}.parameter-person-row{grid-template-columns:42px minmax(180px,1fr) auto 76px}.parameter-person-actions{grid-column:2/-1}}
@media(max-width:700px){.asset-search-primary,.approval-summary{grid-template-columns:1fr 1fr}.approval-center-grid{grid-template-columns:1fr}.parameter-person-row{grid-template-columns:38px minmax(0,1fr) auto}.parameter-person-avatar{width:38px;height:38px}.parameter-person-row>.person-status{display:none}.person-asset-count{grid-column:3}.parameter-person-actions{grid-column:1/-1;justify-content:flex-start}}
.person-edit-summary{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#f8fafc;margin-bottom:12px}
.person-edit-summary span{color:var(--muted);font-size:12px}

@media(max-width:1180px){
  .dashboard-main-grid{grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr)}
  .dashboard-overdue-panel{min-width:360px}
  .activity-one-line small{display:none}
  .parameter-person-row{grid-template-columns:42px minmax(160px,1fr) auto 70px}
  .parameter-person-actions{grid-column:2/-1}
}
@media(max-width:900px){
  .dashboard-main-grid{grid-template-columns:1fr}
  .dashboard-overdue-panel{min-width:0}
}
@media(max-width:760px){
  .activity-line{align-items:flex-start}
  .activity-one-line{display:grid;grid-template-columns:auto 1fr;gap:4px 7px;white-space:normal}
  .activity-summary{grid-column:1/-1;white-space:nowrap}
  .activity-one-line small{display:block;grid-column:1/-1}
  .activity-id{max-width:none}
  .parameter-person-row{grid-template-columns:42px minmax(0,1fr) auto}
  .person-asset-count{grid-column:2/3;text-align:left}
  .parameter-person-actions{grid-column:1/-1;justify-content:flex-start}
}


/* V0.6.3 手机照片 / 批量导入 / 调拨联动 */
.workflow-fields{margin:12px 0;padding:14px;border:1px solid #d9e5f4;border-radius:14px;background:#f8fbff}.workflow-inner{margin:0}.workflow-tip{color:#5d6b7d;font-size:13px}.qr-upload-panel{margin-top:16px;padding:14px;border-radius:14px;background:#f3f8ff;border:1px solid #cfe0f6}.qr-upload-layout{display:flex;gap:16px;align-items:center}.qr-upload-layout img{width:170px;height:170px;background:#fff;padding:5px;border-radius:10px;border:1px solid #d8e2ef}.qr-upload-layout b{font-size:17px}.qr-upload-layout p{margin:6px 0;color:#4b607a}.qr-upload-layout small{color:#667085}.qr-status{margin-top:10px;padding:8px 10px;border-radius:8px;background:#fff;color:#174a8b}.batch-guide{padding:12px 14px;background:#fff8e8;border:1px solid #f1dfae;border-radius:12px;margin-bottom:14px;color:#6f5417}.file-btn{position:relative;overflow:hidden;cursor:pointer}.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.batch-preview-wrap{max-height:500px;margin-top:14px}.import-error-row{background:#fff5f5}.ok-text{color:#137333;font-weight:700}.batch-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){.qr-upload-layout{align-items:flex-start}.qr-upload-layout img{width:132px;height:132px}.batch-export-grid{grid-template-columns:1fr}}

/* V0.6.3.1 hotfix: batch import validation states */
.batch-row-error{background:#fff5f5}
.notice.success{background:#eef9f1;border-color:#cfe8d5;color:#176b36}
.notice.warn{background:#fff8e8;border-color:#f1dfae;color:#7a5a12}

/* V0.6.4 资产生命周期 / 采购质保筛选 */
.lifecycle-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:20px 0 10px;padding-top:14px;border-top:1px solid #e5edf8}
.lifecycle-head h4{margin:0 0 3px}.lifecycle-head small{color:#71809a}
.lifecycle-timeline{position:relative;padding-left:2px}
.lifecycle-item{position:relative;display:grid;grid-template-columns:18px 1fr;gap:10px;padding:12px 8px 12px 0;border-bottom:1px solid #edf2f8}
.lifecycle-item:last-child{border-bottom:0}
.lifecycle-dot{width:10px;height:10px;border-radius:50%;margin-top:6px;background:#7b8da9;box-shadow:0 0 0 4px #edf2f8}
.lifecycle-item.flow .lifecycle-dot{background:#2468d8;box-shadow:0 0 0 4px #e5efff}
.lifecycle-item.maintenance .lifecycle-dot{background:#c17800;box-shadow:0 0 0 4px #fff2d8}
.lifecycle-item.disposal .lifecycle-dot{background:#b3261e;box-shadow:0 0 0 4px #fde8e7}
.lifecycle-item.custody .lifecycle-dot{background:#257a4a;box-shadow:0 0 0 4px #e6f4ea}
.lifecycle-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lifecycle-title span{font-size:11px;padding:2px 7px;border-radius:999px;background:#edf2f8;color:#596982}
.lifecycle-title b{font-size:14px}
.lifecycle-summary{margin-top:4px;font-size:13px;color:#24344d;word-break:break-word}
.lifecycle-detail,.lifecycle-time{display:block;margin-top:4px;color:#74839a;line-height:1.5}
@media(max-width:760px){.lifecycle-item{grid-template-columns:14px 1fr}.lifecycle-title{align-items:flex-start}.lifecycle-head{align-items:flex-start}}


/* V0.6.5 批量操作中心 */
.batch-ops-warning{margin:0 0 14px;padding:11px 13px;border:1px solid #d9e5f7;background:#f5f9ff;border-radius:10px;color:#395575;font-size:13px}
.batch-ops-filter{grid-template-columns:2fr repeat(4,1fr)}
.batch-selected-count{margin-left:auto;font-weight:700;color:#0b57d0;background:#edf4ff;border:1px solid #cfe0fb;border-radius:999px;padding:7px 12px;white-space:nowrap}
.batch-ops-table-wrap{max-height:560px}
.batch-ops-table .check-col{width:44px;text-align:center}
.batch-ops-table input[type=checkbox]{width:18px;height:18px;accent-color:#0b57d0;cursor:pointer}
.batch-operation-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.batch-operation-card{margin:0}
.batch-operation-card .panel-head{align-items:flex-start}
#boResultPanel{margin-top:14px}
.badge.red{background:#fff0f0;color:#b42318;border-color:#ffd3d0}
@media(max-width:1180px){.batch-operation-cards{grid-template-columns:1fr}.batch-ops-filter{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.batch-ops-filter{grid-template-columns:1fr}.batch-selected-count{margin-left:0}.batch-ops-table-wrap{overflow:auto}.batch-ops-table{min-width:850px}}


/* ===== V0.6.6 资产工作台 / 搜索卡片 / 图片预览 ===== */
.asset-workspace-tabs{
  display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding:8px;
  background:#eef4ff;border:1px solid #d7e4f7;border-radius:12px;
}
.asset-workspace-tabs button{
  appearance:none;border:1px solid transparent;background:transparent;color:#31577f;
  font:inherit;font-weight:600;padding:9px 14px;border-radius:9px;cursor:pointer;
}
.asset-workspace-tabs button:hover{background:#fff;border-color:#c6d8f1}
.asset-workspace-tabs button.active{background:#0b57d0;color:#fff;box-shadow:0 3px 10px rgba(11,87,208,.18)}

.rich-asset-choice{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;min-height:88px}
.choice-thumb{
  width:72px;height:64px;border-radius:8px;background:#f2f5f9;color:#9baabd;
  display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:11px;
}
.choice-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.rich-asset-choice .tc-main small+small{margin-top:3px}
.rich-selected-summary{display:grid!important;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:12px}
.custody-selected-card.rich-selected-summary{grid-template-columns:78px minmax(0,1fr) minmax(180px,.8fr)}
.person-assets-card{width:100%;text-align:left;font:inherit;cursor:pointer}
.person-assets-card:disabled{cursor:default;opacity:.68}
.person-assets-card:not(:disabled):hover{border-color:#8ab4ef;background:#f8fbff}
.person-assets-summary{margin-bottom:10px;padding:10px 12px;border-radius:9px;background:#eef5ff;color:#31577f;font-weight:600}

.upload-box-preview{padding-top:10px}
.upload-preview{
  height:120px;margin-bottom:9px;border-radius:8px;background:#f1f4f8;color:#9aa8ba;
  display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:12px;
}
.upload-preview img{width:100%;height:100%;object-fit:cover;display:block}
input:disabled{background:#f1f4f8;color:#6f7f91}

@media(max-width:760px){
  .asset-workspace-tabs{display:grid;grid-template-columns:1fr}
  .asset-workspace-tabs button{text-align:left}
  .rich-asset-choice{grid-template-columns:64px minmax(0,1fr)}
  .rich-asset-choice .tc-loc{grid-column:2;justify-self:start}
  .choice-thumb{width:64px;height:58px}
  .custody-selected-card.rich-selected-summary{grid-template-columns:64px 1fr}
  .custody-selected-card.rich-selected-summary>div:last-child{grid-column:1/-1}
}


/* ===== V0.6.7 统一资产操作面板 / 资产内批量操作 / 盘点检索 ===== */
.asset-room-index-panel{padding-bottom:14px}
.room-index-strip{display:flex;gap:10px;overflow-x:auto;padding-top:10px;scrollbar-width:thin}
.room-index-chip{min-width:150px;border:1px solid #c9d8ee;background:#f8fbff;border-radius:12px;padding:10px 12px;text-align:left;cursor:pointer;color:#17345f;display:grid;gap:2px}
.room-index-chip:hover{border-color:#0b61d8;background:#edf5ff}.room-index-chip b{font-size:15px;color:#082e67}.room-index-chip span{font-size:13px}.room-index-chip small{color:#6b7f99}
.asset-card.selectable{position:relative;padding-top:0}.asset-card-check{position:absolute;top:10px;right:10px;z-index:5;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.94);border:1px solid #b9cbea;display:grid;place-items:center;box-shadow:0 3px 10px rgba(20,55,100,.12);cursor:pointer}.asset-card-check input{width:17px;height:17px;accent-color:#0b61d8}
.batch-action-main{border-color:#0b61d8!important;color:#0b61d8!important;font-weight:700}.integrated-batch-modal #iabResult{margin-top:14px}
.asset-operation-panel{margin-top:16px;border:1px solid #c9dbf5;background:#f7fbff;border-radius:14px;padding:14px}.operation-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.operation-panel-head h4{margin:0;color:#0a2f67}.operation-panel-head small{display:block;margin-top:3px;color:#6c7f99}.asset-operation-panel .detail-actions{margin:0;display:flex;flex-wrap:wrap;gap:8px}
.maint-asset-cell{display:flex;align-items:center;gap:10px;min-width:220px}.maint-asset-cell>div:last-child{display:grid;gap:2px}.maint-asset-cell small{display:block;color:#71829a}.maint-thumb{width:64px;height:52px;border-radius:9px;border:1px solid #d5e0ef;background:#f4f7fb;overflow:hidden;display:grid;place-items:center;font-size:11px;color:#8292aa;flex:0 0 auto}.maint-thumb img{width:100%;height:100%;object-fit:cover}.maintenance-age-tag{display:inline-block;margin-top:5px;padding:3px 7px;border-radius:999px;background:#eef4fb;color:#526b88;font-size:12px}.maintenance-age-tag.overdue{background:#fff0ed;color:#b43b2e}.row-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:180px}
.inventory-history-filters{grid-template-columns:minmax(240px,1.5fr) minmax(150px,.8fr) minmax(170px,1fr) minmax(170px,1fr)}
.config-audit-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:10px;align-items:center}.config-audit-flow>div{border:1px solid #d7e4f5;border-radius:12px;background:#f8fbff;padding:14px;min-height:82px}.config-audit-flow b{display:block;color:#0a376f;margin-bottom:5px}.config-audit-flow span{font-size:13px;color:#657a95}.config-audit-flow i{font-style:normal;color:#7d96b6;font-size:20px}
@media(max-width:900px){.inventory-history-filters{grid-template-columns:1fr 1fr}.config-audit-flow{grid-template-columns:1fr}.config-audit-flow i{transform:rotate(90deg);text-align:center}.asset-operation-panel .detail-actions .btn{flex:1 1 calc(50% - 8px)}}

/* ===== V0.7.2 装修配置需求 / 备料 / 低耗品 ===== */
.inventory-tabs{display:flex;gap:8px;margin-bottom:14px;padding:6px;background:#eaf1fb;border:1px solid #d3e0f2;border-radius:12px;position:sticky;top:0;z-index:9}
.inventory-tabs button{border:0;background:transparent;border-radius:9px;padding:10px 18px;color:#47627f;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.inventory-tabs button.active{background:#fff;color:#0b57d0;box-shadow:0 2px 9px rgba(24,61,112,.10)}
.inventory-pane.hidden{display:none!important}
.config-start-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.4fr) auto;gap:12px;align-items:end}
.config-start-grid label{display:grid;gap:6px;color:#526a87;font-size:13px}.config-start-grid select{min-height:44px}
.config-logic-note{margin-top:12px;border-left:4px solid #68a0ec;background:#f4f8fe;border-radius:9px;padding:10px 12px;display:flex;gap:10px;align-items:flex-start;color:#55708f}.config-logic-note b{color:#17477f;white-space:nowrap}
.config-metrics{grid-template-columns:repeat(4,minmax(74px,92px))}
.config-check-list{display:grid;gap:10px;margin-top:14px}
.config-check-card{border:1px solid #d8e3f2;border-radius:13px;background:#fff;padding:13px;display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(320px,2fr);gap:14px;align-items:start}
.config-check-card.abnormal{border-color:#f1b9b1;background:#fffafa}.config-check-card.pending{border-color:#f0d29b;background:#fffdf7}.config-check-card.normal{border-color:#c8e2d0;background:#fbfffc}
.config-item-head{display:flex;gap:10px;align-items:flex-start}.config-item-ref{width:74px;height:64px;border:1px solid #d9e4f1;border-radius:9px;background:#f3f6fa;overflow:hidden;display:grid;place-items:center;color:#8999ad;font-size:11px;flex:0 0 auto}.config-item-ref img{width:100%;height:100%;object-fit:cover}
.config-item-title{display:grid;gap:3px}.config-item-title strong{font-size:17px;color:#102d55}.config-item-title small{color:#6c7f98}.config-type-tag{display:inline-flex;width:max-content;padding:3px 8px;border-radius:999px;background:#e9f2ff;color:#225c9d;font-size:12px}.config-type-tag.low{background:#f3ecff;color:#6f48a8}
.config-qty-row{display:grid;grid-template-columns:repeat(4,minmax(80px,1fr));gap:8px;margin-top:10px}.config-qty-row>div{border:1px solid #e2e9f3;border-radius:9px;padding:8px;background:#f8fafc}.config-qty-row small{display:block;color:#788aa2}.config-qty-row b{display:block;margin-top:3px;font-size:17px}
.config-actual-control{display:flex;align-items:center;gap:6px}.config-actual-control button{width:34px;height:34px;border:1px solid #c9d6e8;border-radius:8px;background:#fff;cursor:pointer;font-size:18px}.config-actual-control input{width:88px;text-align:center}
.config-asset-mini-list{display:grid;gap:6px;margin-top:8px}.config-asset-mini{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;align-items:center;border:1px solid #e0e8f2;border-radius:9px;padding:6px 8px;background:#fafcff}.config-asset-mini .thumb{width:52px;height:44px;border-radius:7px;background:#eef2f7;overflow:hidden;display:grid;place-items:center;font-size:10px;color:#8a98aa}.config-asset-mini .thumb img{width:100%;height:100%;object-fit:cover}.config-asset-mini small{display:block;color:#6d7f96;margin-top:2px}
.config-edit-grid{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(170px,1fr);gap:8px}.config-edit-grid label{display:grid;gap:5px;font-size:12px;color:#627690}.config-edit-grid .full{grid-column:1/-1}.config-edit-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.config-result-tag{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700}.config-result-tag.normal{background:#e7f6eb;color:#29733d}.config-result-tag.missing,.config-result-tag.damaged{background:#fff0ed;color:#a83a2e}.config-result-tag.extra{background:#fff5df;color:#9b6513}.config-result-tag.pending{background:#f0f2f5;color:#647489}
.config-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:12px}.config-item-card{border:1px solid #d8e2ef;border-radius:12px;padding:11px;background:#fff;display:grid;grid-template-columns:66px 1fr;gap:10px}.config-item-card.inactive{opacity:.58}.config-item-card .config-item-ref{width:66px;height:58px}.config-item-card .actions{grid-column:1/-1;display:flex;gap:6px;justify-content:flex-end}.config-item-card p{margin:3px 0;color:#6a7d94;font-size:12px}
.config-template-list{display:grid;gap:9px}.config-template-card{border:1px solid #d8e3f1;border-radius:12px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff}.config-template-card.inactive{opacity:.62}.config-template-card strong{display:block;color:#173963;font-size:16px}.config-template-card small{display:block;color:#71839a;margin-top:4px}.config-template-actions{display:flex;gap:6px;flex-wrap:wrap}
.template-detail-list{display:grid;gap:8px;margin-top:12px}.template-detail-row{border:1px solid #dfe7f1;border-radius:10px;padding:9px 10px;display:grid;grid-template-columns:minmax(160px,1.2fr) 90px 120px 150px 80px auto;gap:8px;align-items:center}.template-detail-row.inactive{opacity:.5}.template-detail-row small{color:#73849a}
.config-purchase-qty{font-size:18px;font-weight:800;color:#b25422}.config-task-head{border-bottom:1px solid #e2e9f2;padding-bottom:12px}
@media(max-width:1000px){.config-start-grid{grid-template-columns:1fr 1fr}.config-start-grid .btn{grid-column:1/-1}.config-check-card{grid-template-columns:1fr}.template-detail-row{grid-template-columns:1fr 80px 110px}.template-detail-row>*:nth-child(n+4){grid-column:auto}}
@media(max-width:760px){.inventory-tabs{overflow-x:auto;position:static}.inventory-tabs button{padding:9px 13px}.config-start-grid{grid-template-columns:1fr}.config-qty-row{grid-template-columns:1fr 1fr}.config-edit-grid{grid-template-columns:1fr}.config-check-card{padding:10px}.config-template-card{grid-template-columns:1fr}.template-detail-row{grid-template-columns:1fr 1fr}.template-detail-row .btn{grid-column:1/-1}.config-item-grid{grid-template-columns:1fr}}


/* ===== V0.7.2 装修配置需求 / 备料 ===== */
.demand-create-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(190px,1fr) minmax(190px,1fr) minmax(150px,.8fr) minmax(280px,1.5fr) auto;gap:10px;align-items:end}.demand-create-grid label{display:grid;gap:5px;font-size:12px;color:#5f738d}.demand-create-grid .wide{grid-column:span 2}.demand-create-grid select,.demand-create-grid input{min-height:42px}.demand-logic-note{margin-top:12px}.demand-metrics{grid-template-columns:repeat(5,minmax(82px,100px))}.demand-toolbar{position:sticky;top:56px;z-index:7;background:#fff;padding:10px 0;border-bottom:1px solid #edf1f6}.demand-detail-list{display:grid;gap:11px;margin-top:14px}.demand-card{border:1px solid #d9e4f2;border-radius:13px;background:#fff;padding:13px}.demand-card.normal{border-color:#cfe5d6;background:#fcfffd}.demand-card.missing{border-color:#efb9b0;background:#fffafa}.demand-card.pending{border-color:#ebd19c;background:#fffdf7}.demand-card.disabled{opacity:.68;background:#f7f8fa}.demand-item-main{display:grid;gap:10px}.demand-item-title{display:flex;align-items:flex-start;gap:9px}.demand-item-title strong{font-size:17px;color:#143963}.demand-item-title small{display:block;margin-top:3px;color:#6f8197}.demand-qty-grid{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(320px,2fr) minmax(100px,.6fr) minmax(110px,.7fr);gap:8px;align-items:start}.demand-qty-grid>div{border:1px solid #e2e9f2;border-radius:9px;padding:9px;background:#f9fbfd}.demand-qty-grid small{display:block;color:#76889f;margin-bottom:4px}.demand-minimum-input{width:86px;text-align:center;margin-right:5px}.demand-asset-summary{display:flex;gap:13px;flex-wrap:wrap;color:#526b88;margin-bottom:7px}.demand-asset-summary b{color:#173d6c}.demand-reserved-mini{position:relative;padding-right:84px}.demand-asset-state{position:absolute;right:8px;top:50%;transform:translateY(-50%);border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.demand-asset-state.reserved{background:#fff1dc;color:#995e0f}.demand-asset-state.arrived{background:#e6f5ea;color:#26733c}.demand-line-controls{display:grid;grid-template-columns:160px minmax(260px,1fr) auto;gap:9px;align-items:end;margin-top:10px;padding-top:10px;border-top:1px dashed #dce5ef}.demand-line-controls label{display:grid;gap:4px;font-size:12px;color:#687c95}.demand-line-controls .wide{min-width:0}.demand-feedback{display:grid;gap:4px;font-size:12px;color:#687c95;margin-top:3px}.demand-feedback textarea{resize:vertical}.demand-empty{padding:28px;text-align:center;border:1px dashed #cbd9ea;border-radius:12px}.demand-asset-picker .demand-candidate{margin-bottom:7px}.demand-candidate.blocked{opacity:.55}.danger-text{color:#b34234!important}.success-text{color:#2b7a45!important}.purchase-feedback-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,1.5fr) auto;gap:7px;align-items:center;padding:4px 0;border-bottom:1px dashed #e1e7ef}.purchase-feedback-row:last-child{border-bottom:0}.purchase-feedback-row input{min-height:34px}.template-detail-row{grid-template-columns:minmax(220px,1fr) 100px 90px auto}
@media(max-width:1250px){.demand-create-grid{grid-template-columns:1fr 1fr 1fr}.demand-create-grid .wide{grid-column:span 2}.demand-create-grid .btn{min-height:42px}.demand-qty-grid{grid-template-columns:1fr 1.8fr 1fr 1fr}.demand-line-controls{grid-template-columns:150px 1fr auto}}
@media(max-width:900px){.demand-create-grid{grid-template-columns:1fr 1fr}.demand-create-grid .wide{grid-column:1/-1}.demand-qty-grid{grid-template-columns:1fr 1fr}.demand-line-controls{grid-template-columns:1fr}.demand-toolbar{position:static}.demand-metrics{grid-template-columns:repeat(3,minmax(75px,1fr))}.purchase-feedback-row{grid-template-columns:1fr}}
@media(max-width:620px){.demand-create-grid{grid-template-columns:1fr}.demand-create-grid .wide{grid-column:auto}.demand-qty-grid{grid-template-columns:1fr}.demand-metrics{grid-template-columns:1fr 1fr}.demand-reserved-mini{padding-right:8px}.demand-asset-state{position:static;transform:none;width:max-content;margin-top:5px}}

/* ===== V0.7.2 盘点取消 / 大批量需求单 / 类别目录 ===== */
.demand-asset-state.moved{background:#fff1f0;color:#b42318;border:1px solid #fecdca}
.inv-status{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700}.inv-status.running{background:#e8f1ff;color:#145db5}.inv-status.done{background:#e6f5ea;color:#277441}.inv-status.cancelled{background:#f1f2f4;color:#6e7784}
.demand-item-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(140px,.8fr)) auto;gap:8px;align-items:center;margin:12px 0;padding:10px;background:#f6f9fd;border:1px solid #dde7f4;border-radius:10px}
.demand-category-group,.config-catalog-group{border:1px solid #d8e3f1;border-radius:12px;background:#fff;overflow:hidden}.demand-category-group+*,.config-catalog-group+*{margin-top:10px}.demand-category-group>summary,.config-catalog-group>summary{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;background:#eef5ff;color:#173f72;cursor:pointer}.demand-category-group>summary span,.config-catalog-group>summary span{font-size:12px;color:#6b7f98}
.demand-compact-table{overflow-x:auto}.demand-compact-head,.demand-compact-row{display:grid;grid-template-columns:minmax(210px,1.5fr) 76px 116px 135px 76px 110px 70px;gap:8px;align-items:center;min-width:860px}.demand-compact-head{padding:8px 12px;background:#f8fafc;color:#71839a;font-size:12px;font-weight:700;border-bottom:1px solid #e3eaf3}.demand-compact-row{padding:9px 12px;border-bottom:1px solid #edf1f6;font-size:13px}.demand-compact-row:last-child{border-bottom:0}.demand-compact-row.not-needed{opacity:.6;background:#f7f8fa}.demand-compact-row>span:first-child b{display:block;color:#173963}.demand-compact-row>span:first-child small{display:block;margin-top:2px;color:#71839a}.demand-inline-number{width:68px;min-height:32px;padding:5px 7px}.demand-compact-extra{grid-column:1/-1}.demand-row-details{border-top:1px dashed #dce5ef;padding-top:6px}.demand-row-details>summary{cursor:pointer;color:#3569a5;font-size:12px}.demand-detail-fields{display:grid;grid-template-columns:150px minmax(240px,1fr) minmax(240px,1fr);gap:8px;margin-top:8px}.demand-detail-fields label{display:grid;gap:4px;color:#687c95;font-size:12px}.config-catalog-groups{display:grid;gap:10px;margin-top:12px}.config-catalog-group .config-item-grid{padding:0 12px 12px}
@media(max-width:900px){.demand-item-filters{grid-template-columns:1fr 1fr}.demand-item-filters span{grid-column:1/-1}.demand-detail-fields{grid-template-columns:1fr}.config-catalog-groups .config-item-grid{grid-template-columns:1fr}}

/* ===== V0.8.0 状态规则 / 分类 / 标签回收 / 房间退租 / 布草规划 ===== */
.quick-filter-btn.active{background:#e7f0ff;border-color:#0b61d8;color:#0b57d0;font-weight:800;box-shadow:0 0 0 2px rgba(11,97,216,.08)}
.maintenance-methods{border:1px solid #cfdfed;border-radius:12px;padding:12px 14px;min-width:0}.maintenance-methods legend{padding:0 5px;color:#263b50;font-weight:700}.maintenance-method-options{display:flex;gap:12px;flex-wrap:wrap}.maintenance-method-options label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d7e5ef;border-radius:10px;background:rgba(255,255,255,.73);cursor:pointer}.maintenance-method-options label:has(input:checked){border-color:#4b75a2;background:#eaf3f8;color:#263b50}.maintenance-method-options input{accent-color:#4b75a2}.maintenance-method-options input:focus-visible{outline:2px solid #4b75a2;outline-offset:3px}
.room-index-chip.selected{background:#e5f0ff;border-color:#0b61d8;box-shadow:0 0 0 2px rgba(11,97,216,.10)}
.lifecycle-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:thin}.lifecycle-tabs button{border:1px solid #d2deed;background:#fff;border-radius:999px;padding:6px 10px;color:#566a85;white-space:nowrap;cursor:pointer}.lifecycle-tabs button b{margin-left:3px;color:#193b69}.lifecycle-tabs button.active{background:#0b57d0;border-color:#0b57d0;color:#fff}.lifecycle-tabs button.active b{color:#fff}
.existing-photo-section{margin:12px 0;padding:12px;border:1px solid #dbe5f1;border-radius:12px;background:#f8fbff}.existing-photo-section>h4{margin:0 0 10px}.existing-photo-group+*{margin-top:12px}.existing-photo-group>b{display:block;margin-bottom:6px;color:#3c526f}.existing-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px}.existing-photo{height:84px;border:1px solid #d3dfed;border-radius:9px;background:#eef3f8;color:#7b8ca2;overflow:hidden;cursor:pointer;padding:0}.existing-photo img{width:100%;height:100%;object-fit:cover!important}.existing-photo:hover{border-color:#4b82ca}
.disposal-filters{display:grid;grid-template-columns:minmax(240px,1fr) 170px auto auto;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #e5ebf3}.disposal-item{grid-template-columns:76px minmax(0,1fr) auto}.disposal-thumb{width:76px;height:68px;border:1px solid #d6e0ed;border-radius:9px;background:#f1f4f8;color:#8492a5;overflow:hidden;display:grid;place-items:center;font-size:11px}.disposal-thumb img{width:100%;height:100%;object-fit:cover!important}.disposal-item-actions{gap:6px;flex-wrap:wrap}
.parameter-tabs{display:flex;gap:8px;margin-bottom:14px;padding:6px;background:#eaf1fb;border:1px solid #d3e0f2;border-radius:12px;position:sticky;top:0;z-index:9}.parameter-tabs button{border:0;background:transparent;border-radius:9px;padding:10px 18px;color:#47627f;font:inherit;font-weight:700;cursor:pointer}.parameter-tabs button.active{background:#fff;color:#0b57d0;box-shadow:0 2px 9px rgba(24,61,112,.10)}
.location-permission-help{margin:4px 0 12px;padding:10px 12px;border-radius:9px;background:#f3f7fc;color:#5d718b;font-size:12px;line-height:1.8}.location-permission-help b{color:#1c487e}.transfer-approval-list{display:grid;gap:9px}.transfer-approval-row{display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid #dae4f0;border-radius:10px;padding:10px;background:#fff}.transfer-approval-row .choice-thumb{width:66px;height:56px}.transfer-approval-row strong,.transfer-approval-row small{display:block}.transfer-approval-row small{margin-top:3px;color:#6d7f96}.transfer-approval-row .transfer-approval-kind{display:inline-flex;width:max-content;margin-top:5px;padding:2px 7px;border-radius:999px;background:#eef4fc;color:#315f95;font-weight:800}.person-type-tag{display:inline-flex;vertical-align:middle;margin-left:5px;padding:2px 7px;border-radius:999px;background:#e7f3ea;color:#28713f;font-size:11px;font-weight:700}.person-type-tag.external{background:#fff2df;color:#9a6115}
.room-return-list{max-height:430px;overflow:auto;display:grid;gap:7px;margin:12px 0}.room-return-row{display:grid!important;grid-template-columns:24px 68px minmax(0,1fr);gap:9px;align-items:center;border:1px solid #dce5f0;border-radius:10px;padding:8px;background:#fff;cursor:pointer}.room-return-row>input{width:18px;min-height:18px;accent-color:#0b57d0}.room-return-row .choice-thumb{width:68px;height:56px}.room-return-row strong,.room-return-row small{display:block}.room-return-row small{margin-top:2px;color:#6e8097}
.linen-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#f3f8ff,#eef8f4)}.linen-hero h3{font-size:24px;margin:10px 0 4px;color:#123d70}.linen-hero p{margin:0;color:#5e728c}.linen-state-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:430px}.linen-state-tags span{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #cfe0e5;color:#356a65;font-size:12px;font-weight:700}.linen-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr) auto);gap:10px;align-items:center;margin:14px 0}.linen-flow>div{min-height:100px;border:1px solid #d7e4ef;border-radius:12px;background:#fff;padding:14px}.linen-flow b,.linen-flow span{display:block}.linen-flow b{color:#174b79;margin-bottom:7px}.linen-flow span{color:#687d94;font-size:13px;line-height:1.55}.linen-flow i{font-style:normal;color:#7c9ab8;font-size:20px}.linen-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.linen-module-grid .panel{margin:0}.linen-module-grid h3{margin:0 0 7px;color:#173c69}.linen-module-grid p{min-height:48px;color:#687a90;line-height:1.55}.linen-plan-tag{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf4ff;color:#31659d;font-size:11px}
.linen-flow{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)}
@media(max-width:900px){.disposal-filters{grid-template-columns:1fr 1fr}.linen-hero{align-items:flex-start;flex-direction:column}.linen-state-tags{justify-content:flex-start}.linen-flow{grid-template-columns:1fr}.linen-flow i{transform:rotate(90deg);text-align:center}.linen-module-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.disposal-filters{grid-template-columns:1fr}.disposal-item{grid-template-columns:64px minmax(0,1fr)}.disposal-thumb{width:64px;height:58px}.disposal-item-actions{grid-column:1/-1;justify-content:flex-start}.parameter-tabs{overflow-x:auto;position:static}.parameter-tabs button{padding:9px 12px;white-space:nowrap}.transfer-approval-row{grid-template-columns:56px 1fr}.transfer-approval-row .choice-thumb{width:56px;height:50px}.transfer-approval-row .btn{grid-column:1/-1}.linen-module-grid{grid-template-columns:1fr}.room-return-row{grid-template-columns:22px 56px 1fr}.room-return-row .choice-thumb{width:56px;height:50px}}

/* ===== V0.8.1 两级分类 / 处置冻结 / 房间权限 / 退租复核 ===== */
.disposal-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.disposal-summary-card.completed{border-color:#c6d3e3;background:#f7f9fc}.disposal-summary-card.completed b{color:#586a82}.completed-item{background:#f8fafc;border-color:#cfd9e6}.terminal-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e9edf2;color:#59697d;font-size:11px;font-weight:800}.terminal-asset-panel{border-color:#cbd5e1;background:#f5f7fa}.terminal-asset-panel .operation-panel-head h4{color:#475569}.asset-card.terminal-card{background:#f5f7fa;border-color:#cbd5e1}.asset-card.terminal-card .asset-photo{filter:grayscale(.35)}
.category-maintenance-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;margin-bottom:14px}.category-maintenance-card{border:1px solid #d7e2f0;border-radius:11px;padding:12px;background:#f8fbff}.category-maintenance-card>b,.category-maintenance-card>small{display:block}.category-maintenance-card>small{color:#6d8098;margin:4px 0 10px}.category-map-form{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(160px,1fr) auto;gap:7px}.asset-category-tree{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.asset-category-group{border:1px solid #dce5f0;border-radius:11px;background:#fff;overflow:hidden}.asset-category-group header{display:flex;justify-content:space-between;gap:8px;padding:9px 11px;background:#edf5ff;color:#173e70}.asset-category-group header span{font-size:11px;color:#6b7f98}.asset-category-group>div{display:flex;gap:6px;flex-wrap:wrap;padding:10px;min-height:50px}.category-chip{border:1px solid #cfdaea;border-radius:999px;background:#fff;color:#435a76;padding:5px 9px;cursor:pointer}.category-chip:hover{border-color:#4d83c8;color:#1357a6;background:#f2f7ff}.unmapped-category-box{margin-top:12px;border:1px solid #efcc96;border-radius:11px;background:#fffaf0;padding:12px}.unmapped-category-box>p{margin:4px 0 10px;color:#86612c;font-size:12px}.unmapped-category-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,1fr) auto;gap:8px;align-items:center;padding:7px 0;border-top:1px dashed #ead6b7}.unmapped-category-row:first-of-type{border-top:0}.batch-category-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:5px}
.asset-setting-tabs{display:flex;gap:6px;margin:12px 0 0;border-bottom:1px solid #d7e2f0}.asset-setting-tabs button{min-height:44px;padding:9px 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:#57708a;font:inherit;font-weight:700;cursor:pointer}.asset-setting-tabs button[aria-selected=true]{border-bottom-color:#5075a1;color:#274f7b}.asset-setting-tabs button:focus-visible{outline:2px solid #5075a1}.asset-setting-intro{margin:12px 0;color:#667d94;font-size:13px;line-height:1.5}[data-asset-category-pane][hidden]{display:none}.asset-recycle-filters{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) auto auto;align-items:end;gap:10px;margin:12px 0 15px}.asset-recycle-filters label{display:grid;gap:5px;color:#506a83;font-size:13px;font-weight:650}.asset-recycle-filters input{min-width:0;min-height:42px;padding:8px 11px;border:1px solid #b9cede;border-radius:8px;background:#fff;font:inherit}.asset-recycle-filters>button{justify-self:start}.asset-recycle-filters>span{padding-bottom:7px;color:#627991;font-size:12px}.asset-recycle-list{display:grid;gap:9px}.asset-recycle-list article{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px;border:1px solid #d9e6ef;border-radius:10px;background:#fff}.asset-recycle-list .choice-thumb{width:68px;height:58px}.asset-recycle-detail-trigger{display:grid;gap:4px;min-width:0;padding:4px;border:0;background:transparent;color:#254d75;text-align:left;cursor:pointer}.asset-recycle-detail-trigger:hover b{text-decoration:underline}.asset-recycle-detail-trigger:focus-visible{outline:2px solid #5075a1}.asset-recycle-detail-trigger small{color:#647b90;font-size:12px;overflow-wrap:anywhere}.asset-recycle-list .pm-asset-restore{min-height:40px}.recycled-asset-detail .notice{margin-top:0}.recycled-asset-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.recycled-asset-facts>div{display:grid;gap:4px;padding:9px;border:1px solid #d9e6ef;border-radius:8px}.recycled-asset-facts small{color:#657c93}.recycled-asset-facts strong{overflow-wrap:anywhere}.recycled-asset-photo{display:grid;gap:7px;margin-top:12px}.recycled-asset-photo .choice-thumb{width:90px;height:76px}
@media(max-width:650px){.asset-recycle-filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto}.asset-recycle-filters>span{grid-column:1/-1;padding-bottom:0}.asset-recycle-list article{grid-template-columns:54px minmax(0,1fr);gap:8px}.asset-recycle-list .choice-thumb{width:54px;height:50px}.asset-recycle-list .pm-asset-restore{grid-column:2;justify-self:end}.recycled-asset-facts{grid-template-columns:1fr}}
.asset-parameter-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.asset-parameter-panel{min-width:0;border:1px solid #d3e3ed;border-radius:12px;background:#f8fbfd;padding:14px}.asset-parameter-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;color:#263b50}.asset-parameter-head b,.asset-parameter-head small,.asset-parameter-row small{display:block}.asset-parameter-head small,.asset-parameter-row small{color:#60768a;font-size:12px}.asset-parameter-list,.asset-parameter-checks{max-height:420px;overflow:auto;display:grid;gap:6px}.asset-parameter-row,.asset-parameter-checks label{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:8px 10px;border:1px solid #d8e6ef;border-radius:9px;background:#fff}.asset-parameter-row>div{min-width:0}.asset-parameter-checks label{cursor:pointer;justify-content:flex-start}.asset-parameter-checks input{width:18px;height:18px;flex:none;accent-color:#4b75a2}.asset-parameter-checks span{flex:1}.asset-parameter-checks small{color:#60768a}.asset-parameter-category{display:grid;gap:5px;margin-bottom:10px}.asset-parameter-category select{min-height:44px}.asset-parameter-actions{display:flex;justify-content:flex-end;margin-top:12px}.asset-parameter-fields{margin:12px 0;padding:14px;border:1px solid #cbdfea;border-radius:11px;background:#f1f7fa}.asset-parameter-fields.full{grid-column:1/-1}.asset-parameter-heading{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px;color:#263b50}.asset-parameter-heading small{color:#60768a}.asset-parameter-fields label{min-width:0}.asset-parameter-fields input,.asset-parameter-fields select{min-height:44px}
@media(max-width:800px){.asset-parameter-layout{grid-template-columns:1fr}.asset-parameter-heading{display:block}.asset-parameter-heading small{display:block}}
.parameter-location-list{gap:12px}.parameter-location-group{border:1px solid #d8e3ef;border-radius:11px;overflow:hidden;background:#fff}.parameter-location-group>header{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:#edf5ff;color:#17416f}.parameter-location-group>header span{font-size:12px;color:#6a7f98}.parameter-location{grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) 76px 68px auto;border:0;border-top:1px solid #e5ebf2;border-radius:0;padding:10px 12px}.parameter-location:first-of-type{border-top:0}.parameter-location-actions{display:flex;gap:6px;justify-content:flex-end}.location-permission-tag{display:inline-flex;justify-content:center;border-radius:999px;padding:4px 8px;background:#e7f4eb;color:#28723f;font-size:11px;font-weight:800}.location-permission-tag.restricted{background:#fdeaea;color:#c62828}.location-permission-tag.approval{background:#fff4cf;color:#a66b00}
.room-return-steps{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.room-return-steps span{border:1px solid #d7e1ee;border-radius:9px;padding:9px 11px;background:#f5f7fa;color:#687a91;font-size:12px;font-weight:700}.room-return-steps span.active{border-color:#0b61d8;background:#eaf2ff;color:#0b57d0}.room-return-row.frozen{opacity:.6;background:#f1f3f6;cursor:not-allowed}.room-return-row.review-row{grid-template-columns:32px minmax(0,1fr);cursor:default}.review-no{width:26px;height:26px;border-radius:999px;background:#eaf2ff;color:#0b57d0;display:grid;place-items:center;font-size:12px;font-weight:800}.room-return-review-summary{display:flex;gap:8px;flex-wrap:wrap;padding:11px;border:1px solid #bfd2ee;border-radius:10px;background:#f3f8ff}.room-return-review-summary b{color:#0b4d9e;margin-right:6px}.room-return-review-summary span{padding-left:9px;border-left:1px solid #cdd9e8;color:#4d647f}.room-return-confirm-check{display:flex!important;align-items:flex-start;gap:9px;border:1px solid #efc38e;background:#fff8ec;border-radius:10px;padding:11px;color:#785018;font-weight:700}.room-return-confirm-check input{width:19px;min-height:19px;flex:0 0 auto}.danger-note{margin-top:8px;border-left:4px solid #d65c4c;background:#fff2f0;border-radius:8px;padding:9px 11px;color:#8e3c32;font-size:12px}
.location-permission-inline{font-weight:800}.location-permission-inline.restricted{color:#cf2d2d}.location-permission-inline.approval{color:#b77900}.location-permission-inline.normal{color:inherit}
.role-permission-editor{display:grid;gap:12px}.role-permission-config{border:1px solid #dbe5f0;border-radius:12px;background:#fff;overflow:hidden}.role-permission-config>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f5f8fc}.role-permission-config>header strong,.role-permission-config>header small{display:block}.role-permission-config>header strong{font-size:15px}.role-permission-config>header small{margin-top:3px;color:var(--muted)}.role-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;padding:12px}.permission-group{display:grid;align-content:start;gap:7px}.permission-group>b{font-size:12px;color:#294d75}.permission-check{display:flex!important;align-items:flex-start;gap:8px;padding:8px 9px;border:1px solid #e1e8f0;border-radius:8px;background:#fbfdff;font-size:12px}.permission-check input{width:17px;min-height:17px;flex:0 0 auto}.permission-check small{display:block;color:var(--muted);margin-top:2px}.role-picker{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:8px;padding:10px;border:1px solid #dbe5f0;border-radius:10px;background:#f8fbff}.role-picker label{display:flex!important;align-items:center;gap:8px}.role-picker input{width:18px;min-height:18px}.person-form-section{border:1px solid #dbe5f0;border-radius:10px;padding:12px;background:#fbfdff}.person-form-section>h4{margin:0 0 9px}.person-identity-lock{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.room-return-row.configure{grid-template-columns:24px 64px minmax(210px,1fr) minmax(150px,.65fr) minmax(190px,.85fr)}.room-return-row.configure .rr-row-controls{display:contents}.room-return-row.configure select{min-width:0}.room-return-row.configure .rr-target-wrap.hidden{display:block!important;visibility:hidden}.room-return-row.review-row{grid-template-columns:32px minmax(0,1fr) minmax(180px,.65fr)}.rr-review-action{font-size:12px;font-weight:800;color:#254f7f}.rr-review-action.danger{color:#b33a2e}
input[readonly]{background:#f2f5f8;color:#53657a}.field-help{display:block;margin-top:4px;color:#73849a;font-size:11px}
@media(max-width:1000px){.disposal-summary{grid-template-columns:repeat(2,1fr)}.category-maintenance-grid{grid-template-columns:1fr}.parameter-location{grid-template-columns:minmax(150px,1fr) minmax(130px,1fr) 72px auto}.parameter-location>.person-status{display:none}}
@media(max-width:700px){.disposal-summary{grid-template-columns:1fr}.category-map-form,.unmapped-category-row,.batch-category-pair{grid-template-columns:1fr}.asset-category-tree{grid-template-columns:1fr}.parameter-location{grid-template-columns:1fr auto}.parameter-location>small{grid-column:1/-1}.parameter-location-actions{grid-column:1/-1;justify-content:stretch}.parameter-location-actions .btn{flex:1}.room-return-review-summary{display:grid}.room-return-review-summary span{padding-left:0;border-left:0}.room-return-steps{grid-template-columns:1fr}}
@media(max-width:800px){.role-permission-grid{grid-template-columns:1fr 1fr}.room-return-row.configure{grid-template-columns:22px 54px minmax(0,1fr)}.room-return-row.configure .rr-row-controls{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.room-return-row.review-row{grid-template-columns:32px 1fr}.rr-review-action{grid-column:2}}
@media(max-width:560px){.role-permission-grid,.role-picker{grid-template-columns:1fr}.room-return-row.configure .rr-row-controls{grid-template-columns:1fr}.room-return-row.configure .rr-target-wrap.hidden{display:none!important}.room-return-row.review-row{grid-template-columns:30px 1fr}}

/* ===== 待办、房间语义、验收入库与紧凑管理界面 ===== */
.sidebar-account-btn{width:100%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#e6f0fb;border-radius:8px;padding:8px 10px;margin:0 0 10px;cursor:pointer}.sidebar-account-btn:hover{background:rgba(255,255,255,.13)}
.asset-room-selection{margin-top:11px;padding:10px 12px;border:1px solid #a9c8ef;border-radius:11px;background:#f0f6ff;display:flex;align-items:center;justify-content:space-between;gap:12px}.asset-room-selection small,.asset-room-selection strong{display:block}.asset-room-selection small{color:#6c809a;margin-bottom:3px}.asset-room-selection strong{color:#113f78}.room-scope-switch{display:flex;gap:5px;flex-wrap:wrap}.room-scope-switch button{border:1px solid #c5d7ed;background:#fff;color:#496582;border-radius:8px;padding:7px 10px;cursor:pointer}.room-scope-switch button.active{background:#0b61d8;border-color:#0b61d8;color:#fff;box-shadow:0 3px 10px rgba(11,97,216,.18)}
.room-index-chip.inactive{border-style:dashed;background:#f5f6f8;color:#657286}.room-index-chip.inactive span{color:#9a5b16;font-weight:700}
.asset-search-primary{grid-template-columns:minmax(220px,1.7fr) repeat(4,minmax(135px,1fr)) auto auto}.asset-advanced-filters{grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr) minmax(150px,.8fr) minmax(180px,1fr) minmax(150px,.7fr) minmax(165px,.8fr) minmax(165px,.8fr);align-items:end}.asset-advanced-filters>label{margin:0}.compact-filter-field>span,.task-filter-field>span{display:block;margin-bottom:6px;color:#65778e;font-size:12px;font-weight:700}.compact-filter-field input{margin-top:0}.purchase-order-filter{max-width:210px}.filter-active{border-color:#1f6feb!important;background:#eef6ff!important;box-shadow:0 0 0 2px rgba(31,111,235,.11)!important;color:#153e72!important}.active-filter-strip{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0 0;padding:8px 10px;border-radius:9px;background:#f2f7fd;color:#58708d;font-size:12px}.active-filter-strip>span{font-weight:800;color:#254f7f}.active-filter-strip b{border:1px solid #c7d9ef;background:#fff;border-radius:999px;padding:4px 8px;font-weight:600;color:#315c8c}
.uniform-filter-grid{align-items:end;padding:12px;border:1px solid #dce5f0;border-radius:11px;background:#f8fafc;gap:10px}.uniform-filter-grid .task-filter-field{margin:0;min-width:0}.uniform-filter-grid input,.uniform-filter-grid select{height:42px;min-height:42px;margin:0}.inventory-history-filters{grid-template-columns:minmax(230px,1.4fr) repeat(3,minmax(155px,1fr))}.log-filter-grid{grid-template-columns:minmax(240px,1.45fr) repeat(4,minmax(145px,1fr))}.all-assets-scope{margin-top:7px;width:max-content}
.procurement-tabs{display:flex;gap:7px;margin-bottom:12px;padding:6px;border:1px solid #d4e1f1;border-radius:11px;background:#eaf1fb}.procurement-tabs button{border:0;background:transparent;color:#4c6682;border-radius:8px;padding:9px 14px;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}.procurement-tabs button.active{background:#fff;color:#0b57d0;box-shadow:0 2px 9px rgba(24,61,112,.1)}.procurement-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px 15px;border-radius:12px;background:linear-gradient(135deg,#f1f7ff,#f4fbf8);border:1px solid #d8e7f4}.procurement-intro b,.procurement-intro span{display:block}.procurement-intro b{font-size:18px;color:#123e72}.procurement-intro div>span{margin-top:3px;color:#667b94;font-size:12px}.procurement-import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.procurement-import-step{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:center;border:1px solid #dce6f2;border-radius:11px;background:#f8fbff;padding:12px}.procurement-import-step>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#dceaff;color:#145ab1;font-weight:800}.procurement-import-step b,.procurement-import-step small{display:block}.procurement-import-step small{margin-top:3px;color:#71839a;overflow:hidden;text-overflow:ellipsis}.procurement-import-step .btn{grid-column:1/-1}.procurement-submit-bar{position:sticky;bottom:0;z-index:7;background:rgba(255,255,255,.96);padding:10px;border-top:1px solid #e3eaf2;box-shadow:0 -7px 18px rgba(30,55,90,.06)}#assetCreateForm label{margin-top:7px;margin-bottom:7px}
.modal.modal-wide{width:min(900px,calc(100vw - 24px))}.person-assets-modal{max-height:75vh;overflow-y:auto}
.modal.modal-room-return{width:min(920px,calc(100vw - 24px));height:min(88vh,820px);overflow:hidden;display:flex;flex-direction:column}.modal-room-return .modal-head{flex:0 0 auto}.modal-room-return #modalBody{flex:1;min-height:0;overflow:hidden}.modal-room-return .room-return-modal{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.modal-room-return #rrStep1,.modal-room-return #rrStep2{flex:1;min-height:0;display:flex;flex-direction:column}.modal-room-return .room-return-list{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden}.modal-room-return .modal-actions{flex:0 0 auto;flex-wrap:wrap;margin:0;padding-top:12px;border-top:1px solid var(--line);background:#fff}.rr-bulk-tools{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;align-items:end;margin-top:10px}.rr-bulk-tools label{margin:0}.room-return-row.configure{grid-template-columns:22px 56px minmax(0,1fr)!important;align-items:start;cursor:default}.room-return-row.configure .choice-thumb{width:56px;height:50px}.room-return-row.configure .rr-row-controls{grid-column:3;display:grid!important;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr);gap:8px;margin-top:8px}.room-return-row.configure .rr-row-controls label{display:grid;gap:5px;margin:0;color:#61758e;font-size:11px}.room-return-row.configure .rr-row-controls input,.room-return-row.configure .rr-row-controls select{margin:0;min-width:0}.room-return-row.configure .rr-target-wrap.hidden{display:none!important;visibility:visible}.room-return-row strong,.room-return-row small{overflow-wrap:anywhere}.room-return-row.review-row{grid-template-columns:32px minmax(0,1fr) minmax(190px,.65fr)}
.maint-asset-link{border:0;background:transparent;text-align:left;padding:3px;border-radius:9px;cursor:pointer;color:inherit}.maint-asset-link:hover{background:#eef5ff}.maintenance-data-warning{display:block;color:#a15b12;margin-top:5px;white-space:normal;max-width:180px}.person-type-tag.warning{background:#fff0dc;color:#a25c08}.people-scope-tabs,.role-permission-tabs{display:flex;gap:6px;overflow-x:auto;padding:6px;margin:10px 0;border:1px solid #d8e3f1;border-radius:10px;background:#eef4fb}.people-scope-tabs button,.role-permission-tab{border:0;background:transparent;border-radius:8px;padding:7px 11px;color:#49627f;cursor:pointer;white-space:nowrap}.people-scope-tabs button.active,.role-permission-tab.active{background:#fff;color:#0b57d0;box-shadow:0 2px 8px rgba(20,55,100,.1)}.parameter-person-row.account-warning{border-color:#edc485;background:#fffaf0}.account-warning-text{color:#9b5c12!important}.role-permission-config>header{position:sticky;top:0;z-index:2}.role-config-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.role-permission-grid{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:8px;padding:10px}.permission-group{gap:5px;padding:8px;border:1px solid #e3eaf3;border-radius:9px;background:#fff}.permission-check{position:relative;margin:0!important;min-height:36px;align-items:center!important;padding:6px 28px 6px 8px;line-height:1.35}.permission-check>i{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#e8f1fc;color:#386898;font-style:normal;font-size:11px;cursor:help}.permission-check:hover{border-color:#a9c8ef;background:#f3f8ff}
@media(max-width:1150px){.asset-search-primary{grid-template-columns:repeat(3,minmax(150px,1fr))}.asset-advanced-filters,.log-filter-grid{grid-template-columns:1fr 1fr}.log-keyword-field{grid-column:1/-1}.purchase-order-filter{max-width:none}}
@media(max-width:900px){.asset-room-selection{align-items:flex-start;flex-direction:column}.inventory-history-filters{grid-template-columns:1fr 1fr}.procurement-import-steps{grid-template-columns:1fr}.rr-bulk-tools{grid-template-columns:1fr}}
@media(max-width:620px){.asset-search-primary,.asset-advanced-filters,.uniform-filter-grid{grid-template-columns:1fr}.log-keyword-field{grid-column:auto}.modal.modal-room-return{width:calc(100vw - 12px);height:94vh}.room-return-row.configure{grid-template-columns:22px 50px minmax(0,1fr)!important}.room-return-row.configure .rr-row-controls{grid-column:1/-1;grid-template-columns:1fr}.room-return-row.review-row{grid-template-columns:30px 1fr}.rr-review-action{grid-column:2}.modal-room-return .modal-actions .btn{flex:1 1 130px}.procurement-tabs{overflow-x:auto}.procurement-intro{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){
  .sidebar{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
  .sidebar .brand{flex:0 0 auto}
  .sidebar nav{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow-y:auto;overflow-x:hidden;padding-right:3px;scrollbar-width:thin}
  .sidebar nav button{flex:0 0 auto;width:100%;min-height:40px}
  .sidebar-user{flex:0 0 auto;margin-top:0;padding-bottom:max(4px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(8,46,112,0),#082e70 14%)}
  .role-permission-config>header{position:static}
}

/* Late overrides: must remain after legacy room-return/import rules. */
.batch-preview-wrap{max-height:none;overflow:visible}
.rr-bulk-tools{grid-template-columns:minmax(150px,.6fr) minmax(260px,1fr) auto!important;align-items:end}
.room-return-row.configure{grid-template-columns:24px minmax(0,1fr) minmax(160px,.55fr) minmax(220px,.75fr)!important;align-items:center!important}
.room-return-row.configure>.rr-action-field,.room-return-row.configure>.rr-target-wrap{display:grid;grid-column:auto;gap:5px;margin:0}
.room-return-row.configure .rr-target-wrap.hidden{display:block!important;visibility:hidden}
.rr-asset-line{display:grid;grid-template-columns:46px minmax(120px,1fr) minmax(75px,.55fr) minmax(130px,1fr) minmax(110px,.8fr) minmax(85px,.6fr);gap:7px;align-items:center}
@media(max-width:1050px){.rr-bulk-tools{grid-template-columns:1fr 1fr!important}.rr-bulk-actions{grid-column:1/-1}.room-return-row.configure{grid-template-columns:24px minmax(0,1fr)!important}.room-return-row.configure>.rr-action-field,.room-return-row.configure>.rr-target-wrap{grid-column:2}.rr-asset-line{grid-template-columns:46px minmax(120px,1fr) repeat(2,minmax(85px,.7fr))}}
@media(max-width:720px){.rr-bulk-tools{grid-template-columns:1fr!important}.rr-asset-line{grid-template-columns:42px 1fr}.rr-asset-line>span{grid-column:2}.room-return-row.configure>.rr-action-field,.room-return-row.configure>.rr-target-wrap{grid-column:1/-1}.room-return-row.configure .rr-target-wrap.hidden{display:none!important}}

/* ===== V0.9.0 布草闭环 / 行李寄存 ===== */
.linen-kpi-draft{grid-template-columns:repeat(6,minmax(0,1fr))}
.linen-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:10px 0 14px}
.linen-action-card{min-height:92px;border:1px solid #cadced;border-radius:12px;background:linear-gradient(145deg,#fff,#f4f9ff);padding:14px;text-align:left;cursor:pointer;transition:.16s}
.linen-action-card:hover{border-color:#6ea0dc;transform:translateY(-1px);box-shadow:0 7px 18px rgba(26,77,134,.09)}
.linen-action-card:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.linen-action-card b,.linen-action-card span{display:block}.linen-action-card b{color:#17477b;font-size:15px}.linen-action-card span{margin-top:7px;color:#6c8097;font-size:12px}
.linen-action-card.danger-lite{background:#fff9f7;border-color:#edcbc3}.linen-action-card.danger-lite b{color:#a34639}
.linen-adjust-actions{margin-top:14px}.linen-balance-table td strong,.linen-balance-table td small{display:block}.linen-balance-table td small{margin-top:3px;color:#71839a}.linen-balance-table em{color:#b44a3c;font-style:normal;font-weight:700}
.linen-low-stock{background:#fff8f4}.linen-batch-list{display:grid;gap:9px}.linen-batch-card{display:grid;grid-template-columns:minmax(220px,1.25fr) 110px minmax(220px,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #d9e4f0;border-radius:12px;background:#fff}
.linen-batch-card strong,.linen-batch-card small{display:block}.linen-batch-card strong{margin:6px 0 3px;color:#173f70}.linen-batch-card small{color:#71839a}
.linen-batch-qty b,.linen-batch-qty span{display:block}.linen-batch-qty b{font-size:22px;color:#b45c1e}.linen-batch-qty span{font-size:11px;color:#7a899b}
.linen-batch-items{display:flex;flex-wrap:wrap;gap:5px}.linen-batch-items span{padding:4px 7px;border-radius:999px;background:#eef4fb;color:#45617f;font-size:11px}
.linen-flow-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;margin-bottom:12px;border-radius:10px;background:#eef6ff;border:1px solid #cbdff5}.linen-flow-banner b{color:#0f55a4;font-size:17px}.linen-flow-banner span{color:#637b96;font-size:12px}
.linen-entry-lines{display:grid;gap:8px}.linen-entry-line{display:grid;grid-template-columns:minmax(190px,1.2fr) 90px minmax(130px,.8fr) minmax(180px,1fr) auto;gap:8px;align-items:center;padding:9px;border:1px solid #dfe7f1;border-radius:10px;background:#f9fbfd}.linen-entry-line select,.linen-entry-line input{min-width:0;margin:0}
.compact-filter-row{display:grid;grid-template-columns:minmax(170px,.55fr) minmax(260px,1.5fr) auto auto;gap:9px;align-items:center}.compact-filter-row input,.compact-filter-row select{min-height:42px;margin:0}
.luggage-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#f3f8ff,#fff8ef)}.luggage-hero h3{margin:9px 0 4px;color:#123d70;font-size:24px}.luggage-hero p{margin:0;color:#63778e}.page-primary-actions{display:flex;gap:8px;flex-wrap:wrap}
.luggage-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.luggage-kpis>div{padding:14px;border:1px solid #dbe5ef;border-radius:12px;background:#fff}.luggage-kpis small,.luggage-kpis b{display:block}.luggage-kpis small{color:#71839a}.luggage-kpis b{margin-top:5px;color:#174b82;font-size:24px}
.luggage-order-list{display:grid;gap:9px;margin-top:12px}.luggage-order-card{display:grid;grid-template-columns:minmax(230px,1.2fr) 100px minmax(220px,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid #d9e4f0;border-radius:12px;background:#fff;cursor:pointer}.luggage-order-card:hover{border-color:#8fb2dc;background:#fafdff}.luggage-order-main strong,.luggage-order-main small{display:block}.luggage-order-main strong{margin:6px 0;color:#173e70;font-size:17px}.luggage-order-main small{margin-top:3px;color:#71839a}.luggage-count b,.luggage-count span{display:block}.luggage-count b{color:#b05b20;font-size:24px}.luggage-count span{font-size:11px;color:#7a8999}.luggage-tags{display:flex;flex-wrap:wrap;gap:5px}.luggage-tags span{padding:4px 7px;border:1px solid #d3dfed;border-radius:999px;background:#f4f8fd;color:#46617f;font-size:11px}
.luggage-tag-entries{display:grid;gap:8px}.luggage-tag-entry{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(240px,1.35fr) auto;gap:8px;padding:8px;border:1px solid #dfe7f0;border-radius:9px;background:#f9fbfd}.luggage-tag-entry input{margin:0}
.luggage-customer-summary{display:grid;grid-template-columns:1fr auto;gap:20px;padding:14px;border-radius:12px;background:linear-gradient(135deg,#eef6ff,#fff9f0);border:1px solid #d4e2f0}.luggage-customer-summary small,.luggage-customer-summary strong,.luggage-customer-summary span,.luggage-customer-summary b{display:block}.luggage-customer-summary strong{margin:4px 0;font-size:22px;color:#153f72}.luggage-customer-summary b{margin:4px 0;font-size:24px;color:#b35b1d;text-align:right}.luggage-customer-summary span{color:#657b94;font-size:12px}
.luggage-detail-meta{display:flex;flex-wrap:wrap;gap:6px 18px;padding:10px 2px;color:#687d94;font-size:12px}.luggage-detail-tags{display:grid;gap:7px}.luggage-detail-tag{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;margin:0!important;padding:10px;border:1px solid #dce5ef;border-radius:10px;background:#fff}.luggage-detail-tag>input{width:18px;min-height:18px}.luggage-detail-tag b,.luggage-detail-tag small,.luggage-detail-tag em{display:block}.luggage-detail-tag b{color:#173f70}.luggage-detail-tag small{margin-top:3px;color:#6c8097}.luggage-detail-tag em{margin-top:3px;color:#77879a;font-size:11px;font-style:normal}.luggage-detail-tag>i{font-style:normal;color:#2f7650;font-size:12px;font-weight:700}.luggage-detail-tag.picked{opacity:.62;background:#f3f5f7}.luggage-detail-tag.picked>i{color:#687787}
.luggage-pickup-panel{margin-top:14px;padding:13px;border:1px solid #bfd7f0;border-radius:11px;background:#f4f9ff}.luggage-pickup-panel h3{margin-top:0}.luggage-pickup-history{margin-top:13px;border:1px solid #dce5ef;border-radius:10px;padding:10px}.luggage-pickup-history summary{cursor:pointer;color:#2d6098;font-weight:700}.luggage-pickup-history>div{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(170px,.8fr) minmax(240px,1.5fr);gap:10px;padding:8px 2px;border-top:1px dashed #dce5ef}.luggage-pickup-history>div:first-of-type{margin-top:8px}.luggage-pickup-history small{color:#657a92}
@media(max-width:1050px){.linen-kpi-draft{grid-template-columns:repeat(3,1fr)}.linen-batch-card,.luggage-order-card{grid-template-columns:minmax(220px,1fr) 100px minmax(180px,1fr)}.linen-batch-card .btn,.luggage-order-card .btn{grid-column:1/-1;width:max-content}.linen-entry-line{grid-template-columns:1fr 90px 1fr}.linen-entry-line [data-linen-line-note]{grid-column:1/-1}.luggage-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.linen-kpi-draft,.luggage-kpis{grid-template-columns:1fr 1fr}.linen-batch-card,.luggage-order-card{grid-template-columns:1fr}.linen-batch-card .btn,.luggage-order-card .btn{grid-column:auto}.linen-entry-line,.luggage-tag-entry,.compact-filter-row{grid-template-columns:1fr}.linen-entry-line [data-linen-line-note]{grid-column:auto}.luggage-hero{align-items:flex-start;flex-direction:column}.luggage-customer-summary{grid-template-columns:1fr}.luggage-customer-summary b{text-align:left}.luggage-pickup-history>div{grid-template-columns:1fr}.workspace-tabs.linen-tabs{overflow-x:auto;position:static}.workspace-tabs.linen-tabs button{white-space:nowrap}}

/* V0.9.1 布草 RFID 与 C72 盘点 */
.linen-c72-guide{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;margin:6px 0 14px;border:1px solid #bcded3;border-radius:11px;background:#f0faf6;color:#476d63;line-height:1.55}
.linen-c72-guide b{white-space:nowrap;color:#17684f}.linen-manual-actions{opacity:.94}
.linen-rfid-table td strong,.linen-rfid-table td small{display:block}.linen-rfid-table td small{margin-top:3px;color:var(--muted)}
.linen-inventory-task-list{display:grid;gap:8px}
.linen-inventory-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid var(--line);border-radius:11px;background:#fff}
.linen-inventory-card:has(.linen-inventory-actions[hidden]){grid-template-columns:minmax(0,1fr)}
.linen-inventory-task{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;padding:12px 14px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer}
.linen-inventory-task:hover{background:#fbfdff}
.linen-inventory-task:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
.linen-inventory-identity b,.linen-inventory-identity small{display:block;overflow-wrap:anywhere}
.linen-inventory-identity small{margin-top:3px;color:var(--muted);font-size:10px}
.linen-inventory-progress{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px}
.linen-inventory-progress>span{white-space:nowrap}
.linen-inventory-progress .linen-loading-cell{width:min(100%,120px);margin:0}
.linen-inventory-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.linen-inventory-actions[hidden]{display:none}
.linen-inventory-card>.linen-inventory-actions{padding:8px 14px 8px 0}
.linen-inventory-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.35fr);gap:14px}
.linen-inventory-columns>section{min-width:0}
.linen-inventory-columns h4{margin:0 0 8px}
.linen-inventory-columns table{min-width:0;table-layout:fixed}
.linen-inventory-columns table :is(th,td):last-child{width:90px;text-align:right;white-space:nowrap}
.linen-inventory-columns table td:first-child{white-space:normal;overflow-wrap:anywhere}
.linen-inventory-missing{display:grid;gap:7px;max-height:420px;overflow:auto}
.linen-inventory-missing>div{padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#fafbfd;overflow-wrap:anywhere}
.linen-inventory-missing b,.linen-inventory-missing small{display:block}
.linen-inventory-missing small{margin-top:3px;color:var(--muted)}
.linen-inventory-empty{min-height:44px}
.linen-inventory-group{min-width:0}
.linen-inventory-task>.linen-inventory-task-status{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.linen-inventory-task-status i{font-style:normal}
.linen-inventory-chevron{width:8px;height:8px;flex:none;margin-inline:2px;color:var(--muted);border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform 240ms ease}
.linen-inventory-task[aria-expanded="true"] .linen-inventory-chevron{transform:rotate(225deg)}
.linen-inventory-disclosure{display:grid;grid-template-rows:0fr;transition:grid-template-rows 240ms ease}
.linen-inventory-disclosure.is-open{grid-template-rows:1fr}
.linen-inventory-disclosure-clip{min-width:0;min-height:0;overflow:hidden}
#page-linen .linen-inventory-detail-panel{margin:8px 0 0}
.linen-inventory-loading .linen-inventory-missing .linen-loading-cell{margin:0 0 5px}
.linen-inventory-loading .linen-inventory-missing .linen-loading-cell:first-child{width:40%}
.linen-inventory-loading .linen-inventory-missing .linen-loading-cell:nth-child(2){width:75%}
.linen-inventory-loading .linen-inventory-missing .linen-loading-cell:last-child{width:50%;margin-bottom:0}
#page-linen .linen-inventory-disclosure:not(.is-open) .linen-loading-cell{animation:none!important}
#linenLedgerPager{justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:12px}
#linenLedgerPager[hidden]{display:none}
@media(max-width:820px){
  .linen-inventory-card{grid-template-columns:1fr}
  .linen-inventory-card>.linen-inventory-actions{padding:0 14px 12px}
  .linen-inventory-columns{grid-template-columns:1fr}
}
@media(max-width:620px){
  .linen-inventory-task{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .linen-inventory-task>.linen-inventory-identity{grid-column:1;grid-row:1}
  .linen-inventory-task>.linen-inventory-task-status{grid-column:2;grid-row:1;align-self:start}
  .linen-inventory-progress{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.linen-inventory-disclosure,.linen-inventory-chevron{transition:none}}
.linen-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.linen-policy-grid article{padding:13px;border:1px solid var(--line);border-radius:10px;background:#f9fbfd}.linen-policy-grid b,.linen-policy-grid span{display:block}.linen-policy-grid b{color:#174b7d}.linen-policy-grid span{margin-top:5px;color:#687b91;font-size:12px;line-height:1.55}
@media(max-width:700px){.linen-policy-grid{grid-template-columns:1fr}.linen-c72-guide{flex-direction:column;gap:5px}}

/* ========================================================================== */
/* Web V0.9.3 · PC / Mobile / PWA responsive system                         */
/* ========================================================================== */
html{overflow-x:hidden;scroll-behavior:smooth}
body{min-width:0;overflow-x:hidden}
button,input,select,textarea{min-width:0}
.btn,.icon-btn,.workspace-tabs button,.room-scope-switch button,.mobile-nav button{white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}
.main{min-width:0}
.page{width:100%;max-width:1680px;margin-inline:auto}
.dashboard-priority-single{grid-template-columns:1fr!important}
.table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.table-wrap table{width:100%}
.table-wrap thead th{position:sticky;top:0;z-index:1;background:#f5f8fc}
.sidebar nav{scrollbar-width:thin;overscroll-behavior:contain}
.panel-head{min-width:0}
.panel-head>div{min-width:0}
.panel-head h3,.panel-head p{overflow-wrap:anywhere}
.toolbar,.row-actions,.table-actions,.page-primary-actions{min-width:0}
.top-search input{min-width:0}
.pwa-standalone body{padding-top:env(safe-area-inset-top)}
.pwa-standalone .sidebar{padding-top:max(20px,env(safe-area-inset-top))}

@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){
  :root{--mobile-nav-height:64px}
  html,body{min-height:100%;min-height:var(--app-height,100dvh)}
  body{padding:0 0 calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));-webkit-text-size-adjust:100%}
  .app-shell{display:block;min-height:var(--app-height,100dvh)}
  .main{margin-left:0!important;width:100%!important;padding:0 12px 24px!important}

  /* Drawer navigation remains mobile in portrait and landscape. */
  .mobile-only{display:block!important}
  .sidebar{inset:0 auto 0 0!important;width:min(86vw,350px)!important;height:var(--app-height,100dvh)!important;min-height:0!important;padding:calc(16px + env(safe-area-inset-top)) 14px max(12px,env(safe-area-inset-bottom))!important;transform:translateX(-104%)!important;transition:transform .22s ease!important;z-index:270!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;box-shadow:16px 0 42px rgba(4,22,55,.24)}
  .sidebar.open{transform:translateX(0)!important}
  .sidebar .brand{flex:0 0 auto;padding-bottom:14px}
  .sidebar nav{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 3px 10px 0}
  .sidebar nav button{flex:0 0 auto;width:100%;min-height:44px;display:flex;align-items:center;gap:10px}
  .sidebar nav button>span:nth-of-type(2){min-width:0;overflow:hidden;text-overflow:ellipsis}
  .sidebar .nav-count{display:inline-grid;flex:0 0 auto;width:auto;margin-left:auto}
  .sidebar-user{flex:0 0 auto;margin-top:0!important;padding:13px 10px 0!important;background:linear-gradient(180deg,rgba(16,39,72,0),var(--nav) 14%)}
  .sidebar-scrim{position:fixed!important;inset:0!important;display:block;background:rgba(4,18,36,.48)!important;z-index:260!important;backdrop-filter:blur(2px)}

  /* Compact, stable page header. */
  .topbar{position:sticky!important;top:0;z-index:150;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:8px!important;height:auto!important;min-height:64px;padding:10px 0!important;align-items:center!important;background:rgba(243,246,250,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(210,221,234,.74)}
  .topbar>.mobile-only{grid-column:1;grid-row:1;width:44px;height:44px;padding:0;display:grid!important;place-items:center;color:#1f6feb}
  .topbar>div:not(.top-search):not(.online-pill){grid-column:2;grid-row:1;min-width:0}
  .topbar h2{font-size:20px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar p{display:none}
  .online-pill{grid-column:3;grid-row:1;margin:0!important}
  .top-search{grid-column:1/-1;grid-row:2;width:100%!important;margin:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px!important}
  .top-search input{height:46px;margin:0;font-size:16px}
  .top-search .btn{min-width:68px;height:46px;padding-inline:16px}

  .page{max-width:none;padding-top:10px}
  .panel{padding:14px!important;margin-bottom:12px;border-radius:13px}
  .panel-head{display:flex;align-items:flex-start!important;gap:10px;flex-wrap:wrap;margin-bottom:12px}
  .panel-head>div{flex:1 1 220px}
  .panel-head h3{font-size:17px;line-height:1.35}
  .panel-head p{font-size:12px;line-height:1.55}
  .panel-head>.btn,.panel-head>.badge{margin-left:auto}
  .btn{min-height:44px;padding:10px 13px;line-height:1.25}
  .btn.mini{min-height:40px;padding:8px 11px}
  input,select,textarea{min-height:44px;font-size:16px}
  label{margin:10px 0}

  /* PWA bottom navigation. */
  .mobile-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:240;min-height:var(--mobile-nav-height);padding:5px 6px calc(5px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #d7e0eb;box-shadow:0 -7px 24px rgba(23,47,82,.1);backdrop-filter:blur(14px)}
  .mobile-nav button{border:0;background:transparent;color:#66758a;border-radius:11px;padding:5px 2px 4px;display:grid;place-items:center;align-content:center;gap:2px;font-size:12px;cursor:pointer}
  .mobile-nav button i{height:20px;line-height:20px;font-style:normal;font-size:18px;font-weight:800}
  .mobile-nav button span{line-height:18px}
  .mobile-nav button.active{color:#1763d6;background:#edf4ff;font-weight:800}

  /* Grids and forms use two columns on a wide phone/tablet. */
  .metrics,.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px}
  .metric{padding:13px;min-width:0}
  .metric b{font-size:24px}
  .metric span{font-size:11px;overflow-wrap:anywhere}
  .two-col,.approval-center-grid,.category-maintenance-grid,.linen-inventory-columns{grid-template-columns:1fr!important}
  .form-grid,.form-grid-3,.filter-grid,.asset-search-primary,.asset-advanced-filters,.uniform-filter-grid,.inventory-history-filters,.log-filter-grid,.maintenance-history-filters,.batch-ops-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .form-grid .full,.form-grid-3 .full,.log-keyword-field{grid-column:1/-1!important}
  .inline-form{display:flex!important;flex-wrap:wrap;gap:8px!important;align-items:end!important}
  .inline-form>input:first-child,.inline-form>.location-picker:first-child{flex:1 1 260px;min-width:0}
  .inline-form>select{flex:1 1 150px;min-width:140px}
  .inline-form>.btn{flex:0 1 auto}
  .toolbar{display:flex;gap:8px;margin:10px 0 14px;flex-wrap:wrap;align-items:center}
  .toolbar>.btn{flex:0 1 auto}
  .pager{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}
  .upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  /* Horizontal tab bars are intentional, short, and visibly scrollable. */
  .workspace-tabs,.parameter-tabs,.procurement-tabs,.maintenance-tabs,.inventory-tabs,.linen-tabs,.people-scope-tabs,.role-permission-tabs{position:relative!important;top:auto!important;display:flex!important;max-width:100%;overflow-x:auto!important;overflow-y:hidden;gap:6px;padding:6px;margin:0 0 12px;scroll-snap-type:x proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .workspace-tabs button,.parameter-tabs button,.procurement-tabs button,.maintenance-tabs button,.inventory-tabs button,.linen-tabs button,.people-scope-tabs button,.role-permission-tabs button{flex:0 0 auto;min-height:42px;scroll-snap-align:start}

  /* Every application table becomes a labelled card list on narrow screens. */
  .table-wrap{overflow:visible!important;max-height:none!important}
  table.responsive-card-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  table.responsive-card-table thead{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  table.responsive-card-table tbody{display:grid!important;grid-template-columns:1fr;gap:10px;width:100%}
  table.responsive-card-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;width:100%;padding:12px;border:1px solid #d9e3ef;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(20,50,90,.04)}
  table.responsive-card-table tbody td{display:block!important;min-width:0!important;width:auto!important;padding:0!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere;vertical-align:top}
  table.responsive-card-table tbody td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#748399;font-size:10px;font-weight:750;letter-spacing:.02em}
  table.responsive-card-table tbody td.responsive-card-primary{grid-column:1/-1;padding-bottom:8px!important;border-bottom:1px solid #edf1f6!important}
  table.responsive-card-table tbody td.responsive-card-actions{grid-column:1/-1;padding-top:7px!important;border-top:1px solid #edf1f6!important}
  table.responsive-card-table tbody td.check-col{grid-column:auto;padding:0!important;border:0!important}
  table.responsive-card-table tbody td.responsive-card-message{grid-column:1/-1!important;padding:8px!important;border:0!important}
  table.responsive-card-table tbody td.responsive-card-message::before{display:none}
  table.responsive-card-table .row-actions,table.responsive-card-table .table-actions{display:flex!important;gap:7px;flex-wrap:wrap;align-items:stretch}
  table.responsive-card-table .row-actions .btn,table.responsive-card-table .table-actions .btn{flex:1 1 120px}
  #maintenanceActivePane table.responsive-card-table tbody td.responsive-card-primary{border-bottom:0!important;padding-bottom:0!important}
  #maintenanceActivePane table.responsive-card-table .maint-asset-cell{width:100%;display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center}
  #maintenanceActivePane table.responsive-card-table .maint-thumb{width:64px;height:58px}
  #maintenanceActivePane table.responsive-card-table tbody td.responsive-card-actions .row-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}

  /* Asset search and room index. */
  .asset-search-primary #fQ{grid-column:1/-1}
  .asset-search-primary .btn{width:100%}
  .purchase-order-filter{max-width:none!important}
  .asset-room-selection{display:grid!important;grid-template-columns:1fr;align-items:start!important;padding:12px}
  .room-scope-switch{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .room-scope-switch button{min-height:44px;padding:8px 6px;white-space:normal;line-height:1.25}
  .room-scope-explain{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .room-scope-explain span{min-width:0;overflow-wrap:anywhere}
  .owner-asset-search-panel{grid-template-columns:1fr!important}
  .asset-quick-filters,.asset-action-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
  .asset-quick-filters>span,.asset-action-toolbar>.toolbar-label{flex:1 1 100%}
  .asset-action-toolbar .btn{flex:1 1 calc(33.333% - 8px)}
  .asset-action-toolbar #assetCount{flex:1 1 100%}
  .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .asset-card{min-width:0}

  /* Full-screen mobile drawers and bottom-sheet style modals. */
  .backdrop{z-index:300!important;backdrop-filter:blur(2px)}
  .drawer{inset:0!important;z-index:310!important;width:100vw!important;height:var(--app-height,100dvh)!important;max-height:none!important;border-radius:0!important;overflow:auto!important;padding-bottom:env(safe-area-inset-bottom)}
  .drawer-head,.modal-head{padding:calc(13px + env(safe-area-inset-top)) 15px 13px;min-height:62px}
  .drawer .detail{padding:14px 14px calc(22px + env(safe-area-inset-bottom))}
  .modal{inset:auto 0 0 0!important;left:0!important;top:auto!important;transform:none!important;z-index:320!important;width:100vw!important;max-width:none!important;height:min(94dvh,var(--app-height,100dvh))!important;max-height:none!important;border-radius:18px 18px 0 0!important;display:flex;flex-direction:column;overflow:hidden!important}
  .modal.hidden{display:none!important}
  .modal-head{flex:0 0 auto;padding-top:14px;background:#fff}
  .modal>#modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
  .modal-body{padding:14px 14px calc(12px + env(safe-area-inset-bottom))!important}
  .modal-actions{position:sticky;bottom:0;z-index:6;display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin:16px -14px -14px!important;padding:11px 14px calc(11px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98);border-top:1px solid #dfe6ef;box-shadow:0 -6px 18px rgba(22,47,80,.07)}
  .modal-actions .btn{flex:1 1 130px}
  .modal.modal-room-return{height:var(--app-height,100dvh)!important;border-radius:0!important}
  .modal-room-return #modalBody,.modal-room-return .room-return-modal,.modal-room-return #rrStep1,.modal-room-return #rrStep2{min-height:0!important;overflow:hidden!important}
  .modal-room-return .room-return-list{overflow-y:auto!important;overflow-x:hidden!important;padding-right:1px}
  .modal-room-return .modal-actions{position:static;margin:0!important;padding:11px 0 calc(6px + env(safe-area-inset-bottom))!important;box-shadow:none}
  .rr-bulk-tools{grid-template-columns:1fr!important;gap:8px!important}
  .rr-bulk-actions{grid-column:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .rr-bulk-actions .btn{height:44px}
  .room-return-row.configure{grid-template-columns:24px minmax(0,1fr)!important;align-items:start!important;padding:10px!important}
  .room-return-row.configure>.rr-asset-summary{grid-column:2}
  .room-return-row.configure>.rr-action-field,.room-return-row.configure>.rr-target-wrap{grid-column:1/-1!important;display:grid!important;visibility:visible!important}
  .room-return-row.configure .rr-target-wrap.hidden{display:none!important}
  .rr-asset-line{grid-template-columns:48px minmax(0,1fr)!important;gap:6px 9px!important}
  .rr-asset-line .choice-thumb{grid-row:1/3;width:48px!important;height:46px!important}
  .rr-asset-line>span{grid-column:2!important}
  .room-return-row.review-row{grid-template-columns:30px minmax(0,1fr)!important}
  .rr-review-action{grid-column:2!important}

  /* Asset detail has a compact visual hierarchy. */
  .asset-detail-hero{grid-template-columns:150px minmax(0,1fr)!important;gap:13px}
  .asset-photo-cover{width:150px;height:132px}
  .asset-hero-main h3{font-size:20px}
  .detail-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .detail-actions .btn{width:100%}
  .photo-gallery-main{height:52dvh}

  /* Complex module cards. */
  .approval-center-grid{gap:12px}
  .transfer-approval-row{grid-template-columns:56px minmax(0,1fr)!important;align-items:start}
  .transfer-approval-row .choice-thumb{width:56px;height:50px}
  .transfer-approval-row>.btn{grid-column:2;width:max-content}
  .disposal-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .disposal-filters,.category-map-form,.unmapped-category-row,.purchase-feedback-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .procurement-import-steps{grid-template-columns:1fr!important}
  .procurement-intro,.linen-hero,.luggage-hero{align-items:flex-start!important;flex-direction:column!important}
  .procurement-submit-bar{bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));margin-inline:-14px;padding-inline:14px}
  .batch-preview-card-head{grid-template-columns:minmax(0,1fr) auto!important}
  .batch-preview-card-head .btn{grid-column:1/-1}
  .batch-final-list>div{grid-template-columns:1fr 1fr!important}
  .linen-kpi-draft{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .linen-batch-card,.luggage-order-card{grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important}
  .linen-batch-card>:nth-child(n+3),.luggage-order-card>:nth-child(n+3){grid-column:1/-1}
  .linen-entry-line{grid-template-columns:1fr 100px!important}
  .linen-entry-line [data-linen-line-note],.linen-entry-line .btn{grid-column:1/-1}
  .compact-filter-row{grid-template-columns:1fr auto auto!important}
  .compact-filter-row>input:first-child{grid-column:1/-1}
  .linen-inventory-task{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  .linen-inventory-task>*:nth-child(n+3){grid-column:1/-1}
  .luggage-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .luggage-tag-entry{grid-template-columns:1fr auto!important}
  .luggage-tag-entry [data-luggage-tag-desc]{grid-column:1/-1;grid-row:2}
  .luggage-tag-entry [data-remove-luggage-tag]{grid-column:2;grid-row:1}
  .luggage-customer-summary{grid-template-columns:1fr auto!important}
  .luggage-pickup-history>div{grid-template-columns:1fr!important}
  .linen-policy-grid{grid-template-columns:1fr!important}
  .config-audit-flow{grid-template-columns:1fr!important}
  .config-audit-flow i{transform:rotate(90deg);text-align:center}
  .config-start-grid,.demand-create-grid,.demand-item-filters,.demand-qty-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .config-start-grid .btn,.demand-create-grid .wide,.demand-item-filters>span{grid-column:1/-1!important}
  .config-check-card{grid-template-columns:1fr!important}
  .config-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .config-qty-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .demand-line-controls,.demand-detail-fields{grid-template-columns:1fr!important}
  .demand-toolbar{position:static!important}
  .demand-compact-table{overflow:visible!important}
  .demand-compact-head{display:none!important}
  .demand-compact-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important;gap:8px 12px!important;margin:9px;padding:11px!important;border:1px solid #dce5f0!important;border-radius:11px;background:#fff}
  .demand-compact-row>span{min-width:0;overflow-wrap:anywhere}
  .demand-compact-row>span:first-child{grid-column:1/-1;padding-bottom:7px;border-bottom:1px solid #edf1f5}
  .demand-compact-row>span:not(:first-child)::before{display:block;margin-bottom:3px;color:#748399;font-size:10px;font-weight:750}
  .demand-compact-row>span:nth-child(2)::before{content:'类型'}
  .demand-compact-row>span:nth-child(3)::before{content:'最低需求'}
  .demand-compact-row>span:nth-child(4)::before{content:'当前准备'}
  .demand-compact-row>span:nth-child(5)::before{content:'缺口'}
  .demand-compact-row>span:nth-child(6)::before{content:'状态'}
  .demand-compact-row>span:nth-child(7){grid-column:1/-1}
  .demand-compact-row>span:nth-child(7)::before{content:'操作'}
  .demand-compact-row>span:nth-child(7) .btn{width:100%}
  .demand-compact-extra{grid-column:1/-1!important}
  .template-detail-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .template-detail-row>*:first-child{grid-column:1/-1}
  .template-detail-row .btn{grid-column:1/-1}
  .parameter-groups{grid-template-columns:1fr!important}
  .people-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .role-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .parameter-location{grid-template-columns:minmax(0,1fr) auto!important}
  .parameter-location>*:not(.location-permission-tag):not(.parameter-location-actions){grid-column:1}
  .parameter-location-actions{grid-column:1/-1;justify-content:stretch}
  .parameter-location-actions .btn{flex:1}
  .parameter-person-row{grid-template-columns:42px minmax(0,1fr) auto!important}
  .parameter-person-actions{grid-column:1/-1!important;justify-content:flex-start!important}
  .activity-line{align-items:flex-start}
  .activity-one-line{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:4px 7px;white-space:normal!important}
  .activity-one-line .activity-summary,.activity-one-line small{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere}
  .activity-one-line small{display:block!important}
  .room-index-strip{overflow:visible!important;flex-wrap:wrap}
  .room-index-chip{flex:1 1 150px;min-width:0!important}
  .maint-asset-cell,.row-actions{min-width:0!important}
}

@media(max-width:620px){
  .main{padding-inline:9px!important}
  .page{padding-top:7px}
  .panel{padding:12px!important}
  .metrics,.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .form-grid,.form-grid-3,.filter-grid,.asset-search-primary,.asset-advanced-filters,.uniform-filter-grid,.inventory-history-filters,.log-filter-grid,.maintenance-history-filters,.batch-ops-filter{grid-template-columns:1fr!important}
  .form-grid .full,.form-grid-3 .full,.log-keyword-field,.asset-search-primary #fQ{grid-column:auto!important}
  .inline-form{grid-template-columns:minmax(0,1fr) auto!important}
  .inline-form>select{grid-column:1/-1}
  .asset-grid{grid-template-columns:1fr!important}
  .asset-card{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:124px}
  .asset-photo{height:124px}
  .upload-grid{grid-template-columns:1fr!important}
  .room-scope-switch,.room-scope-explain{grid-template-columns:1fr!important}
  .asset-action-toolbar .btn{flex:1 1 calc(50% - 8px)}
  table.responsive-card-table tbody tr{grid-template-columns:1fr}
  table.responsive-card-table tbody td,table.responsive-card-table tbody td.responsive-card-primary,table.responsive-card-table tbody td.responsive-card-actions,table.responsive-card-table tbody td.check-col{grid-column:1!important;padding:0 0 7px!important;border:0!important;border-bottom:1px solid #edf1f6!important}
  table.responsive-card-table tbody td.responsive-card-actions{padding-top:2px!important;padding-bottom:0!important;border-bottom:0!important}
  table.responsive-card-table tbody td.responsive-card-message{padding:8px!important;border:0!important}
  #maintenanceActivePane table.responsive-card-table tbody td.responsive-card-actions .row-actions{grid-template-columns:1fr 1fr!important}
  #maintenanceActivePane table.responsive-card-table tbody td.responsive-card-actions .row-actions .btn:first-child{grid-column:1/-1}
  .asset-detail-hero{grid-template-columns:1fr!important}
  .asset-photo-cover{width:100%!important;height:210px!important}
  .detail-grid.compact{grid-template-columns:1fr 1fr!important}
  .batch-final-list>div{grid-template-columns:1fr!important}
  .linen-kpi-draft{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .linen-batch-card,.luggage-order-card,.linen-entry-line,.compact-filter-row{grid-template-columns:1fr!important}
  .linen-batch-card>*,.luggage-order-card>*,.linen-entry-line>*,.compact-filter-row>*{grid-column:auto!important;grid-row:auto!important}
  .linen-batch-card .btn,.luggage-order-card .btn{width:100%}
  .luggage-customer-summary{grid-template-columns:1fr!important}
  .luggage-customer-summary b{text-align:left}
  .role-permission-grid,.role-picker{grid-template-columns:1fr!important}
  .config-start-grid,.demand-create-grid,.demand-item-filters,.demand-qty-grid,.disposal-filters,.category-map-form,.unmapped-category-row,.purchase-feedback-row{grid-template-columns:1fr!important}
  .config-start-grid .btn,.demand-create-grid .wide,.demand-item-filters>span{grid-column:auto!important}
  .config-item-grid{grid-template-columns:1fr!important}
  .people-grid{grid-template-columns:1fr!important}
  .rr-bulk-actions{grid-template-columns:1fr!important}
  .transfer-approval-row>.btn{grid-column:1/-1;width:100%}
  .modal{height:var(--app-height,100dvh)!important;border-radius:0!important}
  .drawer-head,.modal-head{padding-inline:13px}
  .modal-body{padding-inline:12px!important}
  .modal-actions{margin-inline:-12px!important;padding-inline:12px!important}
}

@media(max-width:390px){
  .top-search .btn{min-width:62px;padding-inline:12px}
  .metric{padding:11px}.metric b{font-size:22px}
  .asset-card{grid-template-columns:98px minmax(0,1fr)}
  .asset-photo{height:118px}
  .detail-grid.compact{grid-template-columns:1fr!important}
  .mobile-nav button{font-size:11px}
}

/* iPhone landscape and other short coarse-pointer viewports. */
@media(max-width:920px) and (orientation:landscape){
  :root{--mobile-nav-height:56px}
  .topbar{grid-template-columns:auto minmax(140px,.8fr) auto minmax(220px,1.2fr)!important;min-height:54px;padding:5px 0!important}
  .topbar>.mobile-only{grid-column:1;grid-row:1;width:42px;height:42px}
  .topbar>div:not(.top-search):not(.online-pill){grid-column:2;grid-row:1}
  .online-pill{grid-column:3;grid-row:1}
  .top-search{grid-column:4;grid-row:1}
  .top-search input,.top-search .btn{height:42px;min-height:42px}
  .page{padding-top:8px}
  .mobile-nav{min-height:var(--mobile-nav-height);padding-top:2px;padding-bottom:calc(2px + env(safe-area-inset-bottom))}
  .mobile-nav button{grid-template-columns:auto auto;gap:5px;padding:2px}
  .mobile-nav button i{font-size:15px;height:18px;line-height:18px}
  .mobile-nav button span{font-size:11px}
  .modal{height:var(--app-height,100dvh)!important;border-radius:0!important}
  .drawer-head,.modal-head{padding-top:9px;padding-bottom:9px;min-height:50px}
}

@media(max-width:620px) and (orientation:landscape){
  .topbar{grid-template-columns:auto minmax(105px,.75fr) minmax(200px,1.25fr)!important}
  .online-pill{display:none}
  .top-search{grid-column:3;grid-row:1}
}

/* ======================================================================== */
/* Web V0.9.3 · visual consistency, compact permission marks and room-first */
/* ======================================================================== */

/* One button language across every business page. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:40px;padding:9px 15px;border:1px solid #cbd8e7;border-radius:10px;
  background:linear-gradient(180deg,#fff,#f8fbff);color:#24415f;font-weight:650;
  line-height:1.2;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb;
  box-shadow:0 1px 2px rgba(26,58,95,.05);transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease
}
.btn:hover:not(:disabled){transform:translateY(-1px);border-color:#9dbce3;background:#f3f8ff;box-shadow:0 5px 14px rgba(29,71,123,.10)}
.btn:active:not(:disabled){transform:translateY(0);box-shadow:0 1px 3px rgba(29,71,123,.08)}
.btn.primary{border-color:#155fd3;background:linear-gradient(135deg,#1e6de0,#0e56c8);color:#fff;box-shadow:0 5px 13px rgba(22,96,211,.20)}
.btn.primary:hover:not(:disabled){border-color:#0e50b8;background:linear-gradient(135deg,#1764d4,#0b4eb8);box-shadow:0 7px 18px rgba(22,96,211,.25)}
.btn.danger-outline{border-color:#efc5c5;background:#fffafa;color:#b73535}
.btn.danger:hover:not(:disabled),.btn.danger-outline:hover:not(:disabled){border-color:#da8f8f;background:#fff0f0;color:#a92929;box-shadow:0 5px 14px rgba(180,52,52,.12)}
.btn.return-ready:hover:not(:disabled){border-color:#117846;background:#117846;color:#fff;box-shadow:0 7px 18px rgba(23,143,85,.24)}
.btn.mini{min-height:34px;padding:7px 11px;border-radius:9px;font-size:12px}
.btn:focus-visible,.workspace-tabs button:focus-visible,.icon-btn:focus-visible,.location-suggestion:focus-visible,.quick:focus-visible,.todo-card:focus-visible,.disposal-summary-card:focus-visible,.linen-action-card:focus-visible,.linen-inventory-task:focus-visible,.room-candidate:focus-visible{outline:3px solid rgba(31,111,235,.24);outline-offset:2px}
.toolbar,.panel-head-actions,.row-actions,.table-actions,.page-primary-actions{gap:8px}
.uniform-filter-grid{display:grid;align-items:end}
.uniform-filter-grid>.btn{height:42px;align-self:end}
.table-actions{display:flex;align-items:center;flex-wrap:wrap}
.toast{z-index:420}
.drawer .detail-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.status-pill{display:inline-flex;align-items:center;width:max-content;padding:4px 9px;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:750;line-height:1.25;white-space:nowrap}
.status-pill.normal{border-color:#cde8d7;background:#e8f6ed;color:#187141}
.status-pill.warning{border-color:#f0d99c;background:#fff4d7;color:#9b6200}
.status-pill.muted{border-color:#dce2e9;background:#eef1f5;color:#6c7a8b}
.status-pill.danger{border-color:#f0c8c8;background:#fdeaea;color:#bd2929}

/* Segmented tabs: fixes browser-default buttons on maintenance and linen. */
.workspace-tabs,.maintenance-tabs,.inventory-tabs,.linen-tabs,.parameter-tabs,.procurement-tabs{
  display:flex;align-items:center;gap:5px;width:max-content;max-width:100%;margin:0 0 15px;padding:5px;
  overflow-x:auto;overflow-y:hidden;border:1px solid #d3dfed;border-radius:13px;background:#edf3fa;
  box-shadow:inset 0 1px 2px rgba(31,63,102,.04);scrollbar-width:thin;-webkit-overflow-scrolling:touch
}
.workspace-tabs button,.maintenance-tabs button,.inventory-tabs button,.linen-tabs button,.parameter-tabs button,.procurement-tabs button{
  appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  min-height:38px;padding:9px 15px;border:1px solid transparent;border-radius:9px;background:transparent;
  color:#4c6480;font:inherit;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer;
  white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb;transition:background .14s ease,color .14s ease,box-shadow .14s ease
}
.workspace-tabs button:hover,.maintenance-tabs button:hover,.inventory-tabs button:hover,.linen-tabs button:hover,.parameter-tabs button:hover,.procurement-tabs button:hover{background:rgba(255,255,255,.72);color:#174f93}
.workspace-tabs button.active,.maintenance-tabs button.active,.inventory-tabs button.active,.linen-tabs button.active,.parameter-tabs button.active,.procurement-tabs button.active{
  border-color:#dce6f3;background:#fff;color:#0b57c7;box-shadow:0 3px 10px rgba(30,70,120,.11)
}

/* Permission values are always presented as accessible 普 / 审 / 限 marks. */
.location-display{display:inline-flex;align-items:center;gap:6px;max-width:100%;vertical-align:middle;white-space:nowrap}
.location-display-name{min-width:0;font-weight:inherit;white-space:nowrap}
.location-permission-icon{
  display:inline-grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border:1px solid transparent;border-radius:9px;
  font-size:12px;font-weight:850;font-style:normal;line-height:1;letter-spacing:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.58)
}
.location-permission-icon.compact{width:22px;height:22px;border-radius:7px;font-size:11px}
.location-permission-icon.normal{border-color:#cde8d7;background:#e8f6ed;color:#187141}
.location-permission-icon.approval{border-color:#f0d99c;background:#fff4d7;color:#9b6200}
.location-permission-icon.restricted{border-color:#f0c8c8;background:#fdeaea;color:#bd2929}
.asset-alert.permission{display:inline-flex;align-items:center;gap:6px;padding:3px 4px 3px 9px;background:#f3f6fa;color:#4f6278}
.asset-alert.permission.approval{background:#fff8e5;color:#89601a}.asset-alert.permission.restricted{background:#fff0f0;color:#9f3030}
.detail-item.normal,.detail-item.approval,.detail-item.restricted{display:grid;align-content:start}.detail-item.approval{background:#fff8e7}.detail-item.restricted{background:#fff0f0}
.location-suggestion-state{display:flex;align-items:center;justify-content:flex-end;gap:6px}.location-suggestion-state i{padding:3px 7px;border-radius:999px;background:#eef1f5;color:#77879a;font-size:10px;font-style:normal}

/* Stable location rows: information, statuses and actions never compete for implicit columns. */
.parameter-location{
  display:grid;grid-template-columns:minmax(230px,1fr) auto minmax(270px,max-content)!important;
  grid-template-areas:"main badges actions";gap:14px;align-items:center;padding:11px 14px!important
}
.parameter-location-main{grid-area:main;min-width:0;display:grid;gap:4px}.parameter-location-main strong{font-size:16px;color:#122f54}.parameter-location-main small{overflow-wrap:anywhere}
.parameter-location.disabled{opacity:1;background:#f8fafc}.parameter-location.disabled .parameter-location-main strong{color:#33445b}.parameter-location-main .location-disabled-at{color:#9b511e;font-weight:700;font-size:13px}.location-retired-note{color:#64748b;font-size:13px;white-space:nowrap}
.parameter-location-badges{grid-area:badges;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.parameter-location-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:wrap}
.parameter-location-actions .btn{margin:0}
.location-inflight-list{display:grid;gap:8px;max-height:min(54vh,520px);overflow:auto}.location-inflight-list>div{display:grid;gap:4px;padding:10px 12px;border:1px solid #d7e3ef;border-radius:9px;background:#fff}.location-inflight-list b{color:#163a65}.location-inflight-list span{color:#51657e;overflow-wrap:anywhere}
.status-pill.luggage{border:1px solid #cddff7;background:#edf5ff;color:#275e9d}
.person-status{white-space:nowrap}

/* Room-first renovation history is compact enough for PC and becomes cards on PWA. */
.demand-history-table{table-layout:auto;width:100%}
.demand-history-table th,.demand-history-table td{white-space:normal;vertical-align:middle}
.demand-history-table th:first-child{min-width:150px}.demand-history-table th:nth-child(3){min-width:150px}.demand-history-table th:nth-child(5){min-width:230px}
.demand-room-cell{display:grid;gap:3px}.demand-room-cell strong{font-size:14px;color:#143a67}.demand-room-cell small{color:#74849a;font-size:11px}
.demand-plan-date{font-variant-numeric:tabular-nums;color:#284966}
.demand-status-pill{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}
.demand-status-pill.running{background:#eaf3ff;color:#1b5fa8}.demand-status-pill.done{background:#e8f6ed;color:#197043}.demand-status-pill.cancelled{background:#eef1f5;color:#6e7b8c}.demand-status-pill.muted{background:#f2f4f7;color:#687587}
.demand-progress-cell{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.demand-progress-cell span{display:inline-flex;align-items:baseline;gap:3px;padding:4px 7px;border-radius:7px;background:#f2f6fb;color:#65778e;font-size:10px;white-space:nowrap}
.demand-progress-cell span b{color:#1b4777;font-size:12px}.demand-progress-cell span.danger{background:#fff0ee;color:#a4453a}.demand-progress-cell span.danger b{color:#b43128}.demand-progress-cell span.warning{background:#fff7e1;color:#93651d}.demand-progress-cell span.warning b{color:#a26300}
.config-generate-progress{margin:12px 0 0;padding:12px 14px;border:1px solid #c9dcf5;border-radius:11px;background:#f4f8fe;color:#234d7c}
.config-generate-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.config-generate-progress-head span{color:#657b95;font-size:11px;font-variant-numeric:tabular-nums}
.config-generate-progress-track{height:8px;margin:9px 0 7px;border-radius:999px;background:#dce8f7;overflow:hidden}.config-generate-progress-track i{display:block;width:38%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b61d8,#46a2ff);transform:translateX(-120%);animation:config-generate-moving 1.35s ease-in-out infinite}
.config-generate-progress small{display:block;color:#61758e}.config-generate-progress.done{border-color:#b9dfc8;background:#f0faf4;color:#21623c}.config-generate-progress.done .config-generate-progress-track{background:#d9efdf}.config-generate-progress.done .config-generate-progress-track i{width:100%;transform:none;animation:none;background:#2e9b5f}
.config-generate-progress.failed{border-color:#efc6c1;background:#fff6f5;color:#a33b31}.config-generate-progress.failed .config-generate-progress-track i{animation:none;width:100%;transform:none;background:#d75449}
@keyframes config-generate-moving{0%{transform:translateX(-120%)}55%{transform:translateX(125%)}100%{transform:translateX(270%)}}

/* Remove two legacy empty grid tracks that squeezed PC filters. */
.asset-search-primary{grid-template-columns:minmax(240px,2fr) repeat(3,minmax(125px,1fr)) auto auto!important}
.asset-advanced-filters{grid-template-columns:repeat(6,minmax(125px,1fr))!important}

@media(max-width:1180px){
  .parameter-location{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"main badges" "actions actions"}
  .parameter-location-actions{justify-content:flex-start}
}

@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){
  .workspace-tabs,.maintenance-tabs,.inventory-tabs,.linen-tabs,.parameter-tabs,.procurement-tabs{width:100%;border-radius:12px}
  .workspace-tabs button,.maintenance-tabs button,.inventory-tabs button,.linen-tabs button,.parameter-tabs button,.procurement-tabs button{min-height:42px;padding:9px 13px}
  .parameter-location{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"main badges" "actions actions"!important;gap:9px 10px!important}
  .parameter-location-badges{align-self:start;flex-wrap:wrap}
  .parameter-location-actions{justify-content:stretch!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .parameter-location-actions .btn{width:100%;min-width:0;padding-inline:8px}
  .demand-history-table th:nth-child(n){min-width:0}
  .table-wrap{max-width:100%;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch}
}

@media(max-width:620px){
  .btn{min-height:44px}.btn.mini{min-height:40px}
  .parameter-location{grid-template-columns:1fr!important;grid-template-areas:"main" "badges" "actions"!important}
  .parameter-location-badges{justify-content:flex-start}
  .parameter-location-actions{grid-template-columns:1fr 1fr}
  .parameter-location-actions .pm-loc-luggage{grid-column:1/-1}
  .demand-history-table.responsive-card-table .demand-progress-cell{gap:4px}
  .demand-history-table.responsive-card-table .demand-open-task{width:100%}
  .drawer .detail-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .schema-notice{align-items:flex-start;flex-direction:column;line-height:1.55}
  .schema-notice strong{white-space:normal}.schema-notice span{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
}

@media(max-width:390px){.drawer .detail-grid.compact{grid-template-columns:1fr}}

/* Web V0.9.4.1 · production-readiness components retained in V0.9.5 */
.status-pill.warehouse{border:1px solid #c9d8ee;background:#edf3fb;color:#254d7d}
.inventory-warehouse-shortcuts{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px}
.inventory-warehouse-shortcuts small{width:100%;color:#6d7e93;font-size:11px}
.category-chip-wrap{display:inline-flex;align-items:stretch;margin:3px;border:1px solid #cedcec;border-radius:999px;overflow:hidden;background:#f6f9fd}
.category-chip-wrap .category-chip{margin:0!important;border:0!important;border-radius:0!important}
.category-delete{appearance:none;width:29px;border:0;border-left:1px solid #d7e1ed;background:#fff;color:#9c4b4b;font-size:16px;cursor:pointer}
.category-delete:hover{background:#fff0f0;color:#b3261e}
.maintenance-vouchers{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px dashed #d9e2ed}
.maintenance-vouchers>small{margin-right:3px}.maintenance-vouchers .choice-thumb{width:42px!important;height:38px!important;padding:0}

.modal-room-return{width:min(1180px,calc(100vw - 24px))!important}
.room-return-list.rr-compact-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:min(58vh,610px);overflow:auto;padding:5px}
.rr-compact-grid .room-return-row.configure{display:grid!important;grid-template-columns:24px minmax(0,1fr) minmax(150px,180px)!important;gap:7px!important;align-items:center!important;padding:8px!important;border:1px solid #dbe5f0!important;border-radius:11px!important;background:#fff}
.rr-compact-grid .rr-asset-summary{min-width:0}
.rr-asset-compact{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 8px;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.rr-asset-compact .choice-thumb{grid-row:1/3;width:44px!important;height:42px!important;border-radius:8px}
.rr-asset-compact strong{align-self:end;color:#143a67;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rr-asset-compact small{align-self:start;color:#74849a;font-size:10px}
.rr-inline-detail{grid-column:1/-1;display:grid;gap:3px;margin-top:6px;padding:7px 8px;border-radius:8px;background:#f6f9fd;color:#52677f;font-size:11px}
.rr-inline-detail.hidden{display:none!important}.rr-inline-detail b{color:#173b65}.rr-inline-detail .ownership-risk{margin:2px 0 0;padding:4px 6px}
.rr-compact-grid .rr-action-field{min-width:0}.rr-compact-grid .rr-action-field select{width:100%;min-width:0;font-size:12px}
.rr-compact-grid .rr-target-wrap{grid-column:2/4}.rr-compact-grid .rr-target-wrap.hidden{display:none!important;visibility:visible!important}
.rr-compact-grid+.room-return-list{margin-top:8px}.rr-list-head:has(+ .rr-compact-grid){display:none!important}
.room-return-list.review .review-row.compact{display:grid!important;grid-template-columns:28px 44px minmax(110px,1fr) minmax(180px,1fr)!important;align-items:center;gap:8px;padding:8px 10px}
.review-row.compact .choice-thumb{width:44px!important;height:40px!important}
.review-row.compact>div:nth-child(3){display:grid;gap:2px}.review-row.compact>div:nth-child(3) small{color:#71839a;font-size:10px}

@media(max-width:900px){
  .room-return-list.rr-compact-grid{grid-template-columns:1fr;max-height:none;padding:0}
  .rr-compact-grid .room-return-row.configure{grid-template-columns:24px minmax(0,1fr)!important}
  .rr-compact-grid .rr-action-field,.rr-compact-grid .rr-target-wrap{grid-column:2/3}
  .room-return-list.review .review-row.compact{grid-template-columns:26px 42px minmax(0,1fr)!important}.review-row.compact .rr-review-action{grid-column:2/4}
}
@media(max-width:620px){
  .parameter-location-actions{grid-template-columns:1fr 1fr!important}.parameter-location-actions .pm-loc-luggage,.parameter-location-actions .pm-loc-warehouse{grid-column:auto!important}
  .rr-compact-grid .room-return-row.configure{padding:7px!important}.rr-bulk-tools{grid-template-columns:1fr!important}
}

/* Web V0.9.5 · compact acceptance, asset policy, channel catalog and unified approvals */
.asset-name-with-policy{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;vertical-align:middle}
.asset-name-with-policy>span:first-child{min-width:0;overflow-wrap:anywhere}
.asset-transfer-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:21px;height:21px;border:1px solid transparent;border-radius:6px;font-size:11px;font-weight:900;line-height:1}
.asset-transfer-icon.compact{width:18px;height:18px;border-radius:5px;font-size:10px}
.asset-transfer-icon.direct{border-color:#b9dfc8;background:#e9f7ef;color:#167444}
.asset-transfer-icon.approval{border-color:#f0cb85;background:#fff5dd;color:#9a6300}
.asset-transfer-icon.blocked{border-color:#efb1aa;background:#fff0ee;color:#bd3025}
.asset-policy-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}
.asset-policy-badge.direct{border-color:#c5e4d2;background:#edf8f2;color:#176840}.asset-policy-badge.approval{border-color:#efd39d;background:#fff7e7;color:#875a0c}.asset-policy-badge.blocked{border-color:#efbeb8;background:#fff2f0;color:#a73229}

#page-procurement .procurement-intro{margin-bottom:8px;padding:9px 12px}.procurement-intro b{font-size:16px}
#page-procurement [data-procurement-pane="single"]{padding:13px 15px}
#assetCreateForm .form-section-title{margin:9px 0 4px;padding:5px 8px;font-size:12px}
#assetCreateForm .form-section-title span{width:21px;height:21px;font-size:11px}
#assetCreateForm .form-grid{gap:5px 10px}
#assetCreateForm label,#assetCreateForm fieldset{margin-top:3px;margin-bottom:3px}
#assetCreateForm input,#assetCreateForm select{min-height:38px}
#assetCreateForm .field-help{margin-top:3px;font-size:10px;line-height:1.35}
.procurement-quantity-field{max-width:150px}.procurement-quantity-field input{width:96px!important;max-width:96px}
.compact-choice-field{min-width:0;padding:0;border:0}.compact-choice-field legend{margin-bottom:5px;color:#304b69;font-size:12px}
.choice-segment{display:flex;min-height:38px;padding:3px;border:1px solid #cbd8e7;border-radius:9px;background:#f4f7fb}
.choice-segment label{flex:1;display:block!important;margin:0!important;cursor:pointer}.choice-segment input{position:absolute;opacity:0;pointer-events:none}
.choice-segment label span{display:flex;align-items:center;justify-content:center;height:30px;padding:0 9px;border-radius:6px;color:#62758d;font-size:12px;font-weight:750;white-space:nowrap}
.choice-segment input:checked+span{background:#fff;color:#0b57c2;box-shadow:0 1px 5px rgba(25,67,120,.16)}
.transfer-policy-segment input[value="需主管确认"]:checked+span{color:#925f00}.transfer-policy-segment input[value="禁止调拨"]:checked+span{background:#fff2f0;color:#b43128}
.ownership-choice input[value="公司"]:checked+span{background:#eaf3ff;color:#075db8}.ownership-choice input[value="业主"]:checked+span{background:#fff3df;color:#955800}
.transfer-policy-segment input[value="可直接调拨"]:checked+span{background:#e9f8ee;color:#16723a}.transfer-policy-segment input[value="需主管确认"]:checked+span{background:#fff5db;color:#925f00}.transfer-policy-segment input[value="禁止调拨"]:checked+span{background:#fff0ee;color:#b43128}
.asset-create-fixed-status{display:grid;align-content:center;gap:3px;min-height:68px;padding:9px 11px;border:1px solid #cfe0f2;border-radius:9px;background:#f3f8ff}.asset-create-fixed-status>span{color:#60758d;font-size:12px}.asset-create-fixed-status>b{color:#168047;font-size:14px}.asset-create-fixed-status>small{color:#6f8197;font-size:10.5px;line-height:1.45}
.energy-batch-source{display:block!important}.energy-batch-source-preview-btn{display:grid;grid-template-rows:76px auto;width:100%;height:100%;padding:0;border:0;background:#fff;cursor:zoom-in}.energy-batch-source-preview-btn>span{position:absolute;top:4px;left:4px;z-index:1;display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:11px;background:rgba(17,69,112,.88);color:#fff;font-size:10px;font-weight:850}.energy-batch-source-preview-btn>small{overflow:hidden;padding:5px 4px;color:#5e778d;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.energy-batch-source-remove{position:absolute;top:3px;right:3px;z-index:3;width:24px;height:24px;min-height:24px;padding:0;border:1px solid #fff;border-radius:50%;background:#c93d35;color:#fff;font-size:17px;font-weight:900;line-height:20px;box-shadow:0 2px 5px rgba(80,20,18,.25);cursor:pointer}.energy-batch-source-remove:hover{background:#a92420}
.rr-scope-tabs .rr-disposed-tab b{background:#d33b32!important;color:#fff!important}.rr-scope-tabs .rr-disposed-tab.active{border-color:#d33b32!important;background:#fff0ef!important;color:#a82d27!important}.rr-luggage-warning{padding:9px 11px;border:1px solid #efc36e;border-radius:9px;background:#fff8e7;color:#805516;font-size:12px;font-weight:750}.rr-report{height:100%;display:flex;flex-direction:column;gap:10px}.rr-report-head{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d8e3ef;border-radius:10px;background:#f6f9fc}.rr-report-head div{display:grid;gap:4px}.rr-report-head span{color:#6c7f96;font-size:12px}.rr-report-head>span{align-self:center;padding:5px 9px;border-radius:999px;font-weight:800}.rr-report-head>span.done{background:#e9f7ee;color:#17723b}.rr-report-head>span.pending{background:#fff4dc;color:#936000}.rr-report-list{flex:1;min-height:0;overflow:auto;display:grid;gap:7px}.rr-report-row{display:grid;grid-template-columns:28px minmax(160px,1fr) minmax(110px,.6fr) minmax(220px,1.2fr);gap:9px;align-items:center;padding:10px;border:1px solid #dce5ef;border-radius:9px}.rr-report-row>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eaf2ff;color:#1260bd;font-weight:800}.rr-report-row div{display:grid;gap:3px}.rr-report-row small{color:#71839a;font-size:10.5px}.rr-report-row em{font-style:normal;font-size:10.5px}.rr-report-row em.ok{color:#158044}.rr-report-row em.error{color:#c1362d}@media(max-width:720px){.rr-report-row{grid-template-columns:26px 1fr}.rr-report-row>div:nth-of-type(n+2){grid-column:2}}
#assetCreateForm .form-details{margin-top:7px}.form-details>summary{padding:9px 11px}
.purchase-channel-picker{position:relative}.purchase-channel-suggestions{position:absolute;z-index:35;top:calc(100% + 4px);left:0;right:0;max-height:240px;overflow:auto;padding:5px;border:1px solid #c9d8e9;border-radius:9px;background:#fff;box-shadow:0 10px 28px rgba(27,58,99,.15)}
.purchase-supplier-field{display:grid;align-content:start;gap:6px;min-width:0}.purchase-supplier-field>label{color:#60768a;font-size:14px}.purchase-supplier-field .purchase-channel-picker>input{width:100%;padding-right:52px;min-height:48px}.purchase-supplier-add{position:absolute;top:2px;right:2px;width:44px;height:44px;border:0;border-left:1px solid #d3e5f0;border-radius:0 8px 8px 0;background:#eaf3f8;color:#315c83;font-size:25px;cursor:pointer}.purchase-supplier-add:hover{background:#d3e5f0}.purchase-supplier-add:focus-visible{outline:3px solid #426b96;outline-offset:1px}
.purchase-channel-suggestion{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:8px 9px;border:0;border-radius:7px;background:#fff;color:#234464;text-align:left;cursor:pointer}.purchase-channel-suggestion:hover,.purchase-channel-suggestion:focus{background:#edf5ff}.purchase-channel-suggestion small,.purchase-channel-free small{color:#73849a;font-size:10px}
.purchase-channel-free{display:grid;gap:3px;padding:9px;color:#36546f;font-size:11px}

.channel-parameter-create{display:grid;grid-template-columns:minmax(210px,1fr) minmax(220px,1.2fr) auto;gap:8px;margin-bottom:10px}.channel-parameter-create input{min-height:39px}
.channel-parameter-list{display:grid;gap:7px}.channel-parameter-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 10px;border:1px solid #d9e3ef;border-radius:10px;background:#fff}.channel-parameter-row.disabled{background:#f4f6f8;opacity:.72}.channel-parameter-row>div:first-child{display:grid;gap:3px}.channel-parameter-row small{color:#74849a}.channel-parameter-actions{display:flex;gap:5px;flex-wrap:wrap}

.approval-source-list{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:3px 0}.approval-source-chip{display:inline-flex;width:max-content;padding:3px 7px;border:1px solid;border-radius:999px;font-size:10px;font-weight:750}.approval-source-chip.room{border-color:#c4d8ef;background:#eff6ff;color:#285c94}.approval-source-chip.asset{border-color:#efd19a;background:#fff6e4;color:#8d5b05}
.transfer-approval-detail{display:grid;grid-template-columns:58px minmax(0,1fr);gap:11px;margin-bottom:12px;padding:11px;border:1px solid #d5e1ef;border-radius:11px;background:#f7faff}.transfer-approval-detail>.choice-thumb{width:58px!important;height:54px!important}.transfer-approval-detail>div{display:grid;gap:4px}.transfer-approval-detail small{color:#61758c}.approval-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}

.modal-room-return{width:min(1180px,calc(100vw - 18px))!important}
.room-return-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0 0 6px!important}
.room-return-steps span{min-height:38px;padding:8px 11px!important;border-radius:8px!important;font-size:14px!important;line-height:1.3}
.modal-room-return .asset-edit-note{margin:0 0 6px;padding:7px 10px;font-size:11px}
.rr-bulk-tools{grid-template-columns:auto minmax(250px,1fr) auto!important;gap:8px!important;align-items:center!important;margin:0 0 6px!important;padding:7px 9px;border:1px solid #d8e4f0;border-radius:9px;background:#f8fbff}
.rr-bulk-label{min-width:118px}.rr-bulk-label b{display:inline;font-size:13px}.rr-bulk-label span{display:block;margin-top:1px!important;font-size:10px!important}
.rr-bulk-tools>label{grid-template-columns:auto minmax(220px,1fr);align-items:center;gap:7px!important;margin:0!important}.rr-bulk-tools>label>span{white-space:nowrap}.rr-bulk-tools input{min-height:36px}.rr-bulk-actions{gap:5px}.rr-bulk-actions .btn{min-height:36px!important;padding:6px 10px;font-size:11px}
.modal-room-return #rrStep1>.toolbar{min-height:38px;margin:0 0 6px;padding:4px 0;gap:6px}.modal-room-return #rrStep1>.toolbar .btn{min-height:34px;padding:5px 10px;font-size:12px}
.room-return-list.rr-compact-grid{grid-template-columns:1fr!important;gap:6px!important;max-height:none;padding:2px!important}
.rr-compact-grid .room-return-row.configure{grid-template-columns:24px minmax(210px,1fr) minmax(180px,215px) minmax(270px,340px)!important;gap:8px!important;align-items:center!important;padding:7px 9px!important;border-radius:9px!important}
.rr-compact-grid .rr-action-field,.rr-compact-grid .rr-target-wrap{grid-column:auto!important;min-width:0}.rr-compact-grid .rr-target-wrap.hidden{display:none!important}
.rr-compact-grid .rr-target-wrap .location-picker,.rr-compact-grid .rr-target-wrap input{width:100%!important;min-width:0!important}.rr-compact-grid .rr-action-field select,.rr-compact-grid .rr-target-wrap input{min-height:36px;font-size:11px}
.rr-asset-compact strong,.review-row.compact strong{display:flex;align-items:center;gap:5px;min-width:0}.rr-asset-compact strong>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:900px){
  .approval-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .rr-bulk-tools{grid-template-columns:1fr 1fr!important}.rr-bulk-label{grid-column:1/-1}.rr-bulk-actions{grid-column:auto!important;justify-content:flex-end}
  .rr-compact-grid .room-return-row.configure{grid-template-columns:24px minmax(0,1fr) minmax(170px,210px)!important}
  .rr-compact-grid .rr-action-field{grid-column:3!important}.rr-compact-grid .rr-target-wrap{grid-column:2/4!important}
}
@media(max-width:680px){
  #page-procurement [data-procurement-pane="single"]{padding:10px}.procurement-quantity-field{max-width:none}.procurement-quantity-field input{width:110px!important}
  .choice-segment{overflow-x:auto}.choice-segment label span{padding-inline:7px;font-size:11px}
  .channel-parameter-create,.channel-parameter-row{grid-template-columns:1fr}.channel-parameter-actions{display:grid;grid-template-columns:repeat(3,1fr)}
  .rr-bulk-tools{grid-template-columns:1fr!important}.rr-bulk-label,.rr-bulk-actions{grid-column:1!important}.rr-bulk-tools>label{grid-template-columns:1fr}.rr-bulk-actions{justify-content:stretch}.rr-bulk-actions .btn{flex:1}
  .rr-compact-grid .room-return-row.configure{grid-template-columns:24px minmax(0,1fr)!important}.rr-compact-grid .rr-action-field,.rr-compact-grid .rr-target-wrap{grid-column:2!important}
  .transfer-approval-detail{grid-template-columns:46px minmax(0,1fr)}.transfer-approval-detail>.choice-thumb{width:46px!important;height:44px!important}
}

/* Web V0.9.6 · grouped asset editor and ownership-aware room-return workbench */
.asset-edit-shell{display:grid;gap:10px}.asset-edit-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.55fr);gap:8px;padding:10px 12px;border:1px solid #cfe0f2;border-radius:11px;background:linear-gradient(135deg,#f2f7ff,#fff)}
.asset-edit-overview>div{display:grid;gap:3px}.asset-edit-overview small{color:#71839a;font-size:10px}.asset-edit-overview b{color:#173f6e;font-size:13px}
.asset-edit-group{padding:11px 12px;border:1px solid #dbe5ef;border-radius:12px;background:#fff}.asset-edit-group>header{display:flex;align-items:center;gap:9px;margin-bottom:9px;padding-bottom:8px;border-bottom:1px solid #e8eef5}
.asset-edit-group>header>span{display:grid;place-items:center;flex:0 0 auto;width:25px;height:25px;border-radius:8px;background:#e9f2ff;color:#0b5bc8;font-size:12px;font-weight:900}.asset-edit-group>header>div{display:grid;gap:2px}.asset-edit-group h4,.asset-edit-group p{margin:0}.asset-edit-group h4{color:#173d69;font-size:14px}.asset-edit-group p{color:#71839a;font-size:10px}
.asset-edit-group .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}.asset-photo-entry>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.asset-photo-entry>div:last-child>small{color:#73849a}
.archive-no-review-fields > .form-grid { padding-block-start: 8px; }
.archive-no-review-fields > .form-grid > label { margin: 0; }
.archive-no-review-fields > .form-grid > label > .hy-float-caption-hidden {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
}
.asset-photo-editor .form-grid > label:has(> #phType) { margin: 0; }
.asset-photo-editor .asset-photo-action-picker { align-self: start; }
.asset-photo-editor .asset-photo-action-picker > label {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.rr-workbench{gap:0;font-size:13px}.rr-room-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:9px;padding:11px 13px;border:1px solid #ead8ad;border-radius:10px;background:#fff9e9}.rr-room-summary>div:first-child{display:grid;gap:4px}.rr-room-summary>div:first-child b{font-size:16px}.rr-room-summary span{color:#765f2c;font-size:12px;line-height:1.45}.rr-room-summary>div:last-child{display:grid;place-items:center;min-width:58px}.rr-room-summary>div:last-child strong{color:#173f70;font-size:22px}.rr-room-summary>div:last-child small{color:#72839a;font-size:11px}
.rr-scope-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px}.rr-scope-tabs button{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:46px;padding:9px 12px;border:1px solid #d6e1ed;border-radius:10px;background:#f6f8fb;color:#536b85;font-size:16px;font-weight:800;cursor:pointer}.rr-scope-tabs button b{display:grid;place-items:center;min-width:30px;height:28px;padding:0 8px;border-radius:999px;background:#e3e9f1;color:#425a74;font-size:14px}.rr-scope-tabs button.active{border-color:#5b92e5;background:#edf5ff;color:#155ab5;box-shadow:0 3px 12px rgba(35,91,164,.1)}.rr-scope-tabs button.active b{background:#1769d3;color:#fff}
.rr-rule-strip{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:9px;padding:8px 10px;border-radius:9px;background:#f7f9fc;color:#526b84;font-size:12px;line-height:1.4}.rr-rule-strip span{display:inline-flex;align-items:center;gap:6px}.rr-rule-strip i{width:8px;height:8px;border-radius:999px;background:#3a8bd8}.rr-rule-strip i.company{background:#1c78ce}.rr-rule-strip i.owner{background:#23915b}.rr-rule-strip i.foreign{background:#db5f55}.rr-rule-strip i.away{background:#d59620}
.rr-bulk-drawer{margin-bottom:7px;border:1px solid #dbe5ef;border-radius:9px;background:#f9fbfd}.rr-bulk-drawer>summary{padding:9px 11px;color:#47617d;font-size:12px;font-weight:750;cursor:pointer}.rr-bulk-drawer[open]>summary{border-bottom:1px solid #e3eaf2}.rr-bulk-drawer .rr-bulk-tools{grid-template-columns:minmax(260px,1fr) auto!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important}.rr-bulk-drawer .rr-bulk-tools>label{display:grid!important;grid-template-columns:auto minmax(220px,1fr)!important}
.rr-selection-toolbar{min-height:34px!important;margin:0 0 6px!important;font-size:12px}.room-return-list.rr-work-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;max-height:none!important;margin:0!important;padding:2px!important;overflow-y:auto}.rr-work-grid .rr-work-card.hidden{display:none!important}
.rr-work-grid .rr-work-card{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;margin:0!important;padding:8px!important;border:1px solid #d8e3ef!important;border-radius:11px!important;background:#fff!important;cursor:default!important}.rr-work-grid .rr-work-card>input{margin-top:15px}.rr-card-body{min-width:0;display:grid;gap:6px}
.rr-four-fields{display:grid;grid-template-columns:54px minmax(105px,1.1fr) minmax(120px,1fr) minmax(115px,.9fr);gap:7px;align-items:stretch}.rr-four-fields .rr-photo{width:54px!important;height:54px!important;margin:auto 0;padding:0;border:1px solid #dbe4ee;border-radius:8px;cursor:zoom-in}.rr-field{min-width:0;display:grid;align-content:center;gap:3px;padding:6px 7px;border:1px solid #e5ebf2;border-radius:8px;background:#f9fbfd;color:#425b76;text-align:left}.rr-field small{color:#6f8298;font-size:11px}.rr-field strong{min-width:0;color:#173b64;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.rr-field>span{display:flex;align-items:center;gap:4px;min-height:17px;color:#687d94;font-size:10.5px}.rr-category{appearance:none;width:100%;cursor:pointer}.rr-category:hover{border-color:#92b7e6;background:#f0f6ff}
.rr-relation{display:inline-flex!important;width:max-content;padding:3px 6px;border-radius:999px;background:#eaf3ff!important;color:#2364aa!important;font-size:10px!important}.rr-relation.foreign_owner_current,.rr-relation.owner_unassigned_current{background:#fff0ee!important;color:#ad3b32!important}.rr-relation.owner_away{background:#fff4dc!important;color:#8a5b05!important}
.rr-card-actions{display:grid;grid-template-columns:minmax(165px,.8fr) minmax(210px,1.2fr);gap:8px}.rr-card-actions label{display:grid;gap:4px;margin:0;color:#5f748c;font-size:11px}.rr-card-actions select,.rr-card-actions input{min-height:38px!important;font-size:13px!important}.rr-card-actions .rr-target-wrap.hidden{display:none!important;visibility:visible!important}.rr-card-warning{padding:7px 8px;border-radius:7px;background:#fff0ee;color:#aa3b32;font-size:11px}.rr-work-card .rr-inline-detail{margin:0;padding:7px 8px;font-size:12px}.rr-auto-check{display:grid;place-items:center;width:22px;height:22px;margin-top:15px;border-radius:6px;background:#218c58;color:#fff;font-size:14px;font-weight:900}.rr-fixed-action{display:grid;gap:3px;padding:9px 11px;border:1px solid #c8e3d4;border-radius:9px;background:#eff9f3}.rr-fixed-action small{color:#5d806c;font-size:11px}.rr-fixed-action strong{color:#17673d;font-size:14px}.rr-fixed-action span{color:#567463;font-size:11px}.rr-auto-action{box-shadow:inset 3px 0 #2f9b65}
.room-return-list.rr-review-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:none!important;padding:2px}.rr-review-card{display:grid;grid-template-columns:27px 48px repeat(3,minmax(78px,1fr));gap:7px;align-items:center;padding:9px;border:1px solid #dce5ef;border-radius:10px;background:#fff}.rr-review-card .choice-thumb{width:48px!important;height:46px!important}.rr-review-card>div{min-width:0;display:grid;gap:3px}.rr-review-card small{color:#6f8298;font-size:10.5px}.rr-review-card strong{color:#183d67;font-size:12px;overflow-wrap:anywhere}.rr-review-card .rr-review-action{grid-column:3/-1;padding:7px 8px;border-radius:7px;background:#edf5ff;color:#245e9d;font-size:12px}.rr-review-card .rr-review-action.danger{background:#fff1ef;color:#ad3b32}

@media(max-width:1000px){.asset-edit-group .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.room-return-list.rr-work-grid,.room-return-list.rr-review-grid{grid-template-columns:1fr}.rr-workbench #rrStep1{overflow:auto}}
@media(max-width:680px){.asset-edit-overview,.asset-edit-group .form-grid{grid-template-columns:1fr}.asset-edit-group{padding:9px}.asset-photo-entry>div:last-child{align-items:stretch;flex-direction:column}.rr-room-summary{grid-template-columns:1fr auto}.rr-scope-tabs{grid-template-columns:1fr}.rr-rule-strip{display:grid;gap:5px}.rr-bulk-drawer .rr-bulk-tools,.rr-bulk-drawer .rr-bulk-tools>label{grid-template-columns:1fr!important}.rr-four-fields{grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)}.rr-four-fields .rr-photo{grid-row:1/3;width:44px!important;height:44px!important}.rr-four-fields .rr-field:nth-child(4){grid-column:2/4}.rr-card-actions{grid-template-columns:1fr}.rr-review-card{grid-template-columns:24px 40px minmax(0,1fr)}.rr-review-card>div{grid-column:3}.rr-review-card .rr-review-action{grid-column:2/4}}

/* Web V0.9.7 · staged configuration, module logs, safe luggage pickup and multi-photo intake */
.form-section-title small{margin-left:auto;color:#73849a;font-size:10px;font-weight:500}
.upload-box-preview{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;cursor:default}.upload-box-preview>b{color:#23496f;text-align:left}.upload-trigger{display:inline-flex!important;align-items:center;justify-content:center;min-height:32px!important;margin:0!important;padding:5px 10px;border-radius:8px;background:#eaf3ff;color:#1e5fa8!important;font-size:11px!important;font-weight:750;cursor:pointer}.upload-trigger input{display:none}.upload-box-preview>.draft-photo-qr{grid-column:2}.upload-box-preview>.multi-photo-preview,.upload-box-preview>small{grid-column:1/-1}
.multi-upload-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:10px;border:1px dashed #b8c9dc;border-radius:10px;background:#f9fbfe}.multi-upload-field>b{color:#315170;font-size:12px}.multi-upload-field input[type=file]{grid-column:1}.multi-upload-field>.btn{grid-column:2}.multi-upload-field>.multi-photo-preview,.multi-upload-field>small{grid-column:1/-1}
.multi-photo-preview{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:7px;min-height:64px!important;height:auto!important;padding:6px;border:1px solid #e0e8f1;border-radius:9px;background:#fff;color:#8190a1;font-size:10px;place-items:stretch!important;overflow:visible!important}.photo-thumb{display:block;width:100%;min-height:58px;padding:0;border:1px solid #d8e2ed;border-radius:8px;background:#eef3f8;overflow:hidden;cursor:zoom-in}.photo-thumb img{display:block;width:100%;height:58px;object-fit:cover;object-position:center}.photo-ref-chip{display:grid;place-items:center;min-height:58px;border-radius:8px;background:#edf5ff;color:#2a649f}

.config-workflow-steps{display:grid;grid-template-columns:repeat(6,minmax(95px,1fr));gap:6px;margin:10px 0}.config-workflow-step{position:relative;display:flex;align-items:center;gap:7px;min-height:38px;padding:6px 9px;border:1px solid #dae3ed;border-radius:10px;background:#f5f7fa;color:#758397;font-size:10px;font-weight:750}.config-workflow-step i{display:grid;place-items:center;flex:0 0 auto;width:23px;height:23px;border-radius:999px;background:#e3e8ee;color:#647386;font-style:normal}.config-workflow-step.done{border-color:#bedfc9;background:#edf8f1;color:#257142}.config-workflow-step.done i{background:#299557;color:#fff}.config-workflow-step.active{border-color:#79a9e9;background:#eef5ff;color:#175dab;box-shadow:0 3px 11px rgba(25,88,169,.1)}.config-workflow-step.active i{background:#176ad2;color:#fff}.config-workflow-terminal{grid-column:1/-1;padding:8px 10px;border:1px solid #ebc5c0;border-radius:9px;background:#fff2f0;color:#a33d34;font-size:11px;font-weight:750}
.config-role-notice{margin-bottom:8px;padding:8px 10px;border-left:3px solid #3d87dd;border-radius:7px;background:#eff6ff;color:#365d86;font-size:11px;line-height:1.5}.config-stage-pill{display:inline-flex;align-items:center;width:max-content;margin-left:8px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.config-stage-pill.running{background:#eaf3ff;color:#1b5fa8}.config-stage-pill.pending{background:#fff4db;color:#8f6008}.config-stage-pill.done{background:#e8f6ed;color:#197043}.config-stage-pill.cancelled{background:#fff0ee;color:#a64036}.config-current-owner{display:block;margin-top:4px;color:#6c7e92}
.config-workflow-group{border:1px solid #d8e3ef;border-radius:12px;background:#fff;overflow:hidden}.config-workflow-group+*{margin-top:9px}.config-workflow-group>summary{display:flex;justify-content:space-between;padding:10px 13px;background:#edf5ff;color:#193f6c;cursor:pointer}.config-workflow-group>summary span{color:#6d7f94;font-size:11px}.config-workflow-lines{display:grid;gap:8px;padding:9px}.config-workflow-line{border:1px solid #dbe4ee;border-radius:11px;background:#fff;overflow:hidden}.config-workflow-line.optional{opacity:.76}.config-workflow-line>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px solid #e5ebf2;background:#fafcfe}.config-workflow-line>header>div{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.config-workflow-line>header b{color:#183e69;font-size:13px}.config-workflow-line>header small{flex-basis:100%;margin-left:44px;color:#718297;font-size:10px}.config-item-code{display:inline-flex;align-items:center;justify-content:center;min-width:37px;padding:3px 6px;border-radius:6px;background:#e9f2ff;color:#1d62ae;font-size:10px;font-weight:900;vertical-align:middle}
.config-line-sections{display:grid;grid-template-columns:1fr 1.08fr 1fr}.config-line-section{min-width:0;padding:9px 10px;border-right:1px solid #e5ebf2}.config-line-section:last-child{border-right:0}.config-line-section.readonly{background:#f3f5f7;color:#738094}.config-line-section.readonly input,.config-line-section.readonly select{border-color:#dfe4e9;background:#e9edf1;color:#798593;opacity:1}.config-line-section.editable{background:#fff}.config-line-section.request.editable{box-shadow:inset 0 3px #428be0}.config-line-section.stock.editable{box-shadow:inset 0 3px #3a9b66}.config-line-section.purchase.editable{box-shadow:inset 0 3px #dc9129}.config-line-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.config-line-section-title b{color:#244b74;font-size:11px}.config-line-section-title span{padding:2px 5px;border-radius:999px;background:#e9eef4;color:#66778a;font-size:8.5px}.config-line-section.editable .config-line-section-title span{background:#e8f4ff;color:#1a65b3}.config-line-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:7px}.config-line-fields label{display:grid;gap:3px;margin:0;color:#687b91;font-size:9px}.config-line-fields label.wide{grid-column:1/-1}.config-line-fields input,.config-line-fields select{min-width:0;min-height:32px;padding:5px 7px;font-size:10px}.config-check-label{display:flex!important;align-items:center!important;gap:5px}.config-check-label input{width:16px!important;min-height:16px!important}.config-shortage-readout{display:grid;align-content:center;gap:2px;padding:5px 7px;border:1px solid #e0e7ef;border-radius:7px;background:#fff}.config-shortage-readout small{color:#7b8a9b;font-size:8.5px}.config-shortage-readout b{color:#ad4438;font-size:12px}.config-live-stock{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px;padding:6px 7px;border-radius:7px;background:#edf8f1;color:#31724b;font-size:10px}.config-live-stock .btn{margin-left:auto}.config-live-warning{margin-bottom:6px;padding:5px 7px;border-radius:7px;background:#fff0ee;color:#ad4238;font-size:9px}.config-linked-assets{display:grid;gap:5px;max-height:120px;margin-bottom:7px;overflow:auto}.config-linked-assets .config-asset-mini{padding:5px}.config-linked-assets .thumb{width:36px!important;height:34px!important}.config-linked-assets .demand-asset-state{font-size:8px;padding:2px 5px}
.config-essential-tag{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;background:#eaf3ff;color:#28629f;font-size:9px;font-weight:800}.config-essential-tag.optional{background:#f1f3f5;color:#6b7581}

.approval-config-panel{margin-top:12px}.config-todo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.config-todo-card{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #d8e3ef;border-radius:11px;background:#fff}.config-todo-progress{display:grid;place-items:center;gap:3px}.config-todo-progress b{color:#1762b7;font-size:17px}.config-todo-progress span{display:block;width:35px;height:4px;border-radius:4px;background:#dce9f8}.config-todo-card>div:nth-child(2){display:grid;gap:3px;min-width:0}.config-todo-card small{color:#6f8196;font-size:10px}.log-module-tag{display:inline-flex;padding:4px 7px;border-radius:999px;background:#edf4fc;color:#2f6297;font-size:9px;font-weight:750;white-space:nowrap}

.luggage-pickup-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}.luggage-pickup-history>div.luggage-pickup-history-grid{display:grid;padding:0;border:0}.luggage-pickup-record{padding:9px;border:1px solid #dbe5ef;border-radius:9px;background:#fff}.luggage-pickup-record.forced{border-color:#efc2bc;background:#fff9f8}.luggage-pickup-record header{display:flex;align-items:center;justify-content:space-between;gap:8px}.pickup-method-pill{padding:3px 6px;border-radius:999px;font-size:9px;font-weight:800}.pickup-method-pill.verified{background:#e8f6ed;color:#247044}.pickup-method-pill.forced{background:#fff0ee;color:#ad3d34}.luggage-pickup-record>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:7px}.luggage-pickup-record>div span{display:grid;gap:2px;color:#354f69;font-size:10px}.luggage-pickup-record small{color:#7b8a9b;font-size:8px}.luggage-pickup-record p{margin:6px 0 0;color:#5c7189;font-size:9px;overflow-wrap:anywhere}.pickup-risk-note{margin-top:7px;padding:6px;border-radius:6px;background:#fff0ee;color:#a23c33;font-size:8.5px;line-height:1.5}.risk-warning{display:grid;gap:5px;margin-bottom:12px;padding:12px;border:1px solid #efb8b0;border-radius:10px;background:#fff3f1;color:#9f3c33}.risk-warning span{font-size:11px;line-height:1.6}.risk-confirm-check{display:flex!important;align-items:flex-start;gap:8px;padding:10px;border:1px solid #d9e3ed;border-radius:9px;background:#f8fafc}.risk-confirm-check input{flex:0 0 auto;width:18px!important;height:18px!important;margin-top:1px}

@media(max-width:1100px){.config-line-sections{grid-template-columns:1fr}.config-line-section{border-right:0;border-bottom:1px solid #e5ebf2}.config-line-section:last-child{border-bottom:0}.config-workflow-steps{grid-template-columns:repeat(3,1fr)}.config-todo-list{grid-template-columns:1fr}.log-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.log-keyword-field{grid-column:1/-1}}
@media(max-width:680px){.config-workflow-steps{display:flex;overflow-x:auto;padding-bottom:4px}.config-workflow-step{flex:0 0 126px}.config-workflow-terminal{flex:0 0 100%}.config-workflow-line>header{align-items:flex-start}.config-workflow-line>header small{margin-left:0}.config-line-fields{grid-template-columns:1fr}.config-line-fields label.wide{grid-column:auto}.config-todo-card{grid-template-columns:42px minmax(0,1fr)}.config-todo-card>.btn{grid-column:1/-1;width:100%}.luggage-pickup-history-grid{grid-template-columns:1fr}.luggage-pickup-record>div{grid-template-columns:1fr 1fr}.upload-box-preview{grid-template-columns:1fr}.upload-box-preview>.draft-photo-qr{grid-column:1}.multi-upload-field{grid-template-columns:1fr}.multi-upload-field>.btn{grid-column:1}.log-filter-grid{grid-template-columns:1fr!important}}

/* Web V0.9.8.1 · append-only photo intake and high-visibility room-return workbench */
.rr-workbench .rr-work-card .rr-target-wrap[hidden],
.rr-workbench .rr-work-card .rr-target-wrap.hidden{display:none!important;visibility:hidden!important}
.rr-card-actions.rr-actions-single{grid-template-columns:minmax(0,1fr)!important}

@media(min-width:1001px){
  .modal.modal-room-return{width:min(1420px,calc(100vw - 14px))!important;height:calc(100dvh - 14px)!important;max-height:calc(100dvh - 14px)!important}
  .modal-room-return .modal-head{min-height:56px;padding:11px 20px}
  .modal-room-return .modal-head h3{font-size:20px}
  .modal-room-return .modal-body{padding:12px 18px!important}
  .rr-workbench .room-return-steps{margin-bottom:4px!important;gap:5px!important}
  .rr-workbench .room-return-steps span{min-height:32px!important;padding:6px 10px!important;font-size:13px!important}
  .rr-workbench .rr-room-summary{min-height:50px;margin-bottom:5px;padding:7px 10px}
  .rr-workbench .rr-room-summary>div:first-child{gap:2px}.rr-workbench .rr-room-summary>div:first-child b{font-size:14px}.rr-workbench .rr-room-summary span{font-size:11px}
  .rr-workbench .rr-room-summary>div:last-child{min-width:50px}.rr-workbench .rr-room-summary>div:last-child strong{font-size:19px}
  .rr-workbench .rr-scope-tabs{gap:6px;margin-bottom:5px}.rr-workbench .rr-scope-tabs button{min-height:38px;padding:6px 10px;font-size:14px}.rr-workbench .rr-scope-tabs button b{min-width:26px;height:24px;font-size:12px}
  .rr-workbench .rr-rule-strip{flex-wrap:nowrap;gap:10px;margin-bottom:5px;padding:6px 9px;font-size:10.5px;overflow-x:auto}
  .rr-workbench .rr-bulk-drawer{margin-bottom:4px}.rr-workbench .rr-bulk-drawer>summary{padding:6px 9px;font-size:11px}
  .rr-workbench .rr-selection-toolbar{min-height:30px!important;margin-bottom:4px!important;padding:2px 0}.rr-workbench .rr-selection-toolbar .btn{min-height:30px;padding:4px 9px;font-size:11px}
  .room-return-list.rr-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:max-content;align-content:start;gap:6px!important;min-height:0!important;padding:1px 3px 1px 1px!important}
  .rr-work-grid .rr-work-card{grid-template-columns:20px minmax(0,1fr)!important;gap:5px!important;padding:6px!important;border-radius:9px!important}
  .rr-work-grid .rr-work-card>input{width:17px;min-height:17px;margin-top:13px}.rr-work-grid .rr-auto-check{width:20px;height:20px;margin-top:13px}
  .rr-workbench .rr-card-body{gap:4px}.rr-workbench .rr-four-fields{grid-template-columns:46px minmax(90px,1.05fr) minmax(105px,1fr) minmax(100px,.9fr);gap:5px}
  .rr-workbench .rr-four-fields .rr-photo{width:46px!important;height:46px!important;border-radius:7px}
  .rr-workbench .rr-field{gap:2px;padding:4px 5px;border-radius:7px}.rr-workbench .rr-field small{font-size:9.5px}.rr-workbench .rr-field strong{font-size:12px;line-height:1.25}.rr-workbench .rr-field>span{min-height:14px;font-size:9px}
  .rr-workbench .rr-relation{padding:2px 5px;font-size:8.5px!important}
  .rr-workbench .rr-card-actions{grid-template-columns:minmax(145px,.8fr) minmax(190px,1.2fr);gap:5px}.rr-workbench .rr-card-actions label{gap:2px;font-size:10px}.rr-workbench .rr-card-actions select,.rr-workbench .rr-card-actions input{min-height:32px!important;padding:6px 8px;font-size:12px!important}
  .rr-workbench .rr-fixed-action{gap:2px;padding:6px 8px}.rr-workbench .rr-fixed-action small,.rr-workbench .rr-fixed-action span{font-size:9.5px}.rr-workbench .rr-fixed-action strong{font-size:12px}
  .modal-room-return .modal-actions{padding-top:8px}.modal-room-return .modal-actions .btn{min-height:38px;padding:7px 13px}
}

/* Web V0.9.8.2 · room-return photo lightbox and three-row compact overview */
.image-backdrop{z-index:500!important;outline:0}
.image-close{z-index:503!important}
.image-backdrop:not(.hidden)~.toast{z-index:520}
.image-preview-stage{position:relative;display:grid;place-items:center;max-width:calc(100vw - 150px);max-height:94vh}
.image-preview-stage img{display:block;max-width:100%;max-height:92vh;transition:opacity .12s}
.image-preview-stage img.loading{opacity:.3}
.image-preview-stage #imagePreview.preview-unready{visibility:hidden}
#imagePreviewFeedback{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(640px,calc(100% - 32px));display:grid;gap:14px;justify-items:center;pointer-events:none;color:#f2f6fc;text-align:center;font-size:14px;line-height:1.5}
#imagePreviewFeedback .image-preview-placeholder-visual{position:relative;display:grid;place-items:center;width:100%;height:min(400px,56vh);min-height:160px;border:1px solid #ffffff36;border-radius:10px;background:#28374ce6;overflow:hidden}
#imagePreviewFeedback svg{width:64px;height:64px;color:#c5d4e6}
#imagePreviewFeedback.has-thumbnail svg{visibility:hidden}
#imagePreviewFeedback #imagePreviewThumb{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:none;opacity:1}
#imagePreviewStatus{padding:7px 12px;border-radius:6px;background:#142238e6}
#imagePreviewFeedback[data-state="error"] #imagePreviewStatus{border:1px solid #e9bc83}
@media(max-width:600px){#imagePreviewFeedback{width:calc(100% - 24px);font-size:13px}#imagePreviewFeedback .image-preview-placeholder-visual{height:min(340px,48dvh)}}
.image-counter{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);min-width:54px;padding:5px 10px;border-radius:999px;background:rgba(3,16,33,.76);color:#fff;font-size:12px;font-weight:750;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.25)}
.image-counter:empty{display:none}
.image-nav{position:fixed;top:50%;z-index:502;width:52px;height:52px;transform:translateY(-50%);border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:38px;line-height:46px;cursor:pointer}.image-nav:hover,.image-nav:focus-visible{background:rgba(255,255,255,.25);outline:2px solid rgba(255,255,255,.72)}
.image-prev{left:22px}.image-next{right:22px}
.photo-preview-trigger{position:relative;cursor:zoom-in!important;overflow:hidden}
.photo-preview-trigger::after{content:'放大';position:absolute;right:3px;bottom:3px;padding:2px 4px;border-radius:4px;background:rgba(8,32,61,.78);color:#fff;font-size:8px;line-height:1.2;opacity:0;transition:opacity .12s;pointer-events:none}
.photo-preview-trigger:hover::after,.photo-preview-trigger:focus-visible::after{opacity:1}

.rr-overview-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:6px;align-items:stretch;margin-bottom:5px}
.rr-room-context{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:38px;padding:5px 9px;border:1px solid #ead8ad;border-radius:8px;background:#fff9e9}
.rr-room-context>div{display:flex;align-items:center;gap:7px;min-width:0}.rr-room-context b{min-width:0;color:#173b66;font-size:13px;white-space:nowrap}.rr-room-context small{color:#7a6433;font-size:10px;white-space:nowrap}.rr-total-pill{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#fff;color:#3f5e7f;font-size:10px;font-weight:750;white-space:nowrap}
.rr-overview-row .room-return-steps{align-self:stretch;margin:0!important;gap:5px!important}.rr-overview-row .room-return-steps span{display:flex;align-items:center;min-height:38px!important;padding:5px 9px!important;font-size:12px!important}
.rr-scope-rule-row{display:grid;grid-template-columns:minmax(380px,.92fr) minmax(0,1.08fr);gap:5px;align-items:stretch;margin-bottom:4px}
.rr-workbench .rr-scope-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin:0!important}.rr-workbench .rr-scope-tabs button{min-height:36px!important;padding:5px 9px!important;font-size:13px!important;border-radius:8px!important}.rr-workbench .rr-scope-tabs button b{min-width:24px!important;height:22px!important;padding:0 6px!important;font-size:11px!important}
.rr-workbench .rr-rule-strip{align-content:center;flex-wrap:nowrap!important;gap:12px!important;min-height:36px;margin:0!important;padding:5px 8px!important;font-size:10px!important;white-space:nowrap;overflow-x:auto}.rr-workbench .rr-rule-strip i{width:7px;height:7px}
.rr-workbench #rrStep1{overflow:hidden!important}

@media(min-width:1001px){
  .modal-room-return .modal-head{min-height:48px!important;padding:8px 18px!important}.modal-room-return .modal-head h3{font-size:19px!important}
  .modal-room-return .modal-body{padding-top:8px!important}
}
@media(max-width:720px){
  .image-backdrop{padding:10px!important}.image-preview-stage{max-width:calc(100vw - 22px);max-height:calc(100dvh - 90px)}.image-preview-stage img{max-height:calc(100dvh - 90px)}
  .image-nav{top:auto;bottom:18px;width:46px;height:46px;transform:none;font-size:32px;line-height:40px}.image-prev{left:calc(50% - 62px)}.image-next{right:calc(50% - 62px)}.image-counter{bottom:68px}
  .rr-overview-row{grid-template-columns:1fr;gap:4px}.rr-room-context{min-height:38px}.rr-room-context small{overflow:hidden;text-overflow:ellipsis}.rr-overview-row .room-return-steps span{min-height:32px!important;font-size:11px!important}
  .rr-scope-rule-row{grid-template-columns:1fr;gap:4px}.rr-workbench .rr-scope-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rr-workbench .rr-scope-tabs button{min-width:0;padding:5px 6px!important;font-size:11px!important}.rr-workbench .rr-scope-tabs button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Web V0.9.9 · Excel-style configuration catalog, template and staged task */
.config-sheet-wrap,.config-process-sheet{position:relative;overflow:auto;border:1px solid #cbd8e6;border-radius:10px;background:#fff;box-shadow:0 2px 9px rgba(22,61,101,.05)}
.config-sheet-wrap table,.config-process-sheet table{width:100%;border-collapse:separate;border-spacing:0}
.config-sheet-wrap th,.config-sheet-wrap td,.config-process-sheet th,.config-process-sheet td{border-right:1px solid #d6e0ea;border-bottom:1px solid #d6e0ea;vertical-align:middle}.config-sheet-wrap tr>*:last-child,.config-process-sheet tr>*:last-child{border-right:0}.config-sheet-wrap tbody tr:last-child>*,.config-process-sheet tbody tr:last-child>*{border-bottom:0}
.config-catalog-sheet{min-width:920px;font-size:12px}.config-catalog-sheet thead th,.config-template-sheet thead th{position:sticky;top:0;z-index:3;padding:9px 8px;background:#dfeaf6;color:#244868;text-align:left;white-space:nowrap}.config-catalog-sheet td{padding:5px 6px;background:#f8fbfe}.config-catalog-sheet tbody tr:nth-child(even) td{background:#eef5fb}.config-catalog-sheet tr.inactive{opacity:.62}.config-catalog-sheet th:nth-child(1){width:16%}.config-catalog-sheet th:nth-child(2){width:13%}.config-catalog-sheet th:nth-child(3){width:12%}.config-catalog-sheet th:nth-child(4){width:28%}.config-catalog-sheet th:nth-child(5){width:13%}.config-catalog-sheet input,.config-catalog-sheet select,.config-template-sheet input,.config-template-sheet select{width:100%;min-width:0;min-height:34px;padding:6px 8px;border-color:#c8d5e3;background:#fff;font-size:12px}.config-catalog-sheet .row-actions,.config-template-sheet .row-actions{flex-wrap:nowrap}
.config-template-sheet-editor{display:grid;gap:10px}.config-template-sheet{min-width:1050px;font-size:12px}.config-template-sheet td{padding:6px 7px;background:#f9fbfd}.config-template-sheet tbody tr:nth-child(even) td{background:#eef5fb}.config-template-draft td{background:#fff9e8!important}.config-template-sheet th:nth-child(1){width:12%}.config-template-sheet th:nth-child(2){width:12%}.config-template-sheet th:nth-child(3){width:9%}.config-template-sheet th:nth-child(4){width:27%}.config-template-sheet th:nth-child(5){width:11%}.config-template-sheet th:nth-child(6){width:12%}
.config-process-sheet{max-height:62vh}.config-process-sheet table{min-width:1880px;font-size:11px}.config-process-sheet thead th{position:sticky;z-index:5;padding:8px 7px;background:#dbe8f5;color:#244868;text-align:left;white-space:nowrap}.config-process-sheet thead tr:first-child th{top:0;height:36px;background:#c9dbee;color:#173e65;text-align:center;font-size:11px}.config-process-sheet thead tr:nth-child(2) th{top:36px;height:38px;background:#e7eff7}.config-process-sheet td{height:48px;padding:5px 6px;background:#fff}.config-process-sheet input,.config-process-sheet select{width:100%;min-width:0;min-height:33px;padding:5px 7px;border-color:#cbd7e3;background:#fff;font-size:11px}.config-process-sheet input[type=checkbox]{width:18px;min-height:18px}.config-process-sheet .phase-readonly{background:#edf0f3;color:#75818e}.config-process-sheet .phase-readonly input,.config-process-sheet .phase-readonly select{border-color:#d9dee3;background:#e2e6ea;color:#76818d;opacity:1}.config-process-sheet .phase-editable{background:#fffdf4}.config-process-sheet .config-sheet-line.optional{opacity:.72}.config-process-sheet .config-sheet-action{min-width:118px;background:#f8fbfe;text-align:center}.config-process-sheet .config-sheet-action .config-result-tag{display:flex;width:max-content;margin:0 auto 5px}.config-done-cell{text-align:center}
.config-process-sheet td:nth-child(1){width:105px;min-width:105px}.config-process-sheet td:nth-child(2){width:95px;min-width:95px}.config-process-sheet td:nth-child(3){width:72px;min-width:72px}.config-process-sheet td:nth-child(4){width:175px;min-width:175px}.config-process-sheet td:nth-child(5){width:88px;min-width:88px}.config-process-sheet td:nth-child(6){width:94px;min-width:94px}.config-process-sheet td:nth-child(7){width:160px;min-width:160px}.config-process-sheet td:nth-child(8){width:150px;min-width:150px}.config-process-sheet td:nth-child(9),.config-process-sheet td:nth-child(10){width:82px;min-width:82px}.config-process-sheet td:nth-child(11),.config-process-sheet td:nth-child(14){width:155px;min-width:155px}.config-process-sheet td:nth-child(12){width:128px;min-width:128px}.config-process-sheet td:nth-child(13){width:92px;min-width:92px}.config-process-sheet td:nth-child(15){width:64px;min-width:64px}
.config-process-sheet .config-sticky{position:sticky;z-index:2;background:#f8fbfe}.config-process-sheet td.config-sticky.category{left:0}.config-process-sheet td.config-sticky.priority{left:105px}.config-process-sheet td.config-sticky.code{left:200px}.config-process-sheet td.config-sticky.name{left:272px;box-shadow:5px 0 8px rgba(25,62,96,.08)}
.config-process-sheet thead tr:nth-child(2) th:nth-child(1){left:0}.config-process-sheet thead tr:nth-child(2) th:nth-child(2){left:105px}.config-process-sheet thead tr:nth-child(2) th:nth-child(3){left:200px}.config-process-sheet thead tr:nth-child(2) th:nth-child(4){left:272px;box-shadow:5px 0 8px rgba(25,62,96,.08)}.config-process-sheet thead tr:nth-child(2) th:nth-child(-n+4){z-index:7}
.config-sheet-group th{position:static!important;padding:6px 9px!important;color:#234d75!important;text-align:left!important;font-size:11px!important}.config-sheet-group.tone-0 th{background:#dceaf7!important}.config-sheet-group.tone-1 th{background:#f5e3e3!important}.config-sheet-group.tone-2 th{background:#e2f0e6!important}.config-sheet-group.tone-3 th{background:#f4ecd8!important}
.config-source-stack{display:grid;gap:4px}.config-source-pill{display:inline-flex;width:max-content;max-width:100%;padding:3px 6px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.config-source-pill.linked{background:#e6f5eb;color:#257047}.config-source-pill.manual{background:#eaf2fb;color:#2d6092}.config-source-stack small{font-size:9px}.config-source-stack .btn{width:max-content}.config-live-count{display:block;color:#217044;font-size:15px;text-align:center}
@media(max-width:720px){.config-process-sheet{max-height:68vh}.config-process-sheet table{font-size:10px}.config-sheet-wrap{margin-inline:-3px}.config-catalog-sheet{min-width:820px}.config-template-sheet{min-width:900px}}
@media(min-width:721px) and (max-width:900px){.rr-scope-rule-row{grid-template-columns:1fr}}

/* Web V0.10.0 · merged configuration workspace, category master and row semantics */
.config-master-section{display:block;margin-top:14px;border:1px solid #c8d7e6;border-radius:13px;background:#edf4fa;overflow:hidden}
.config-master-section>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;background:linear-gradient(135deg,#dceaf6,#eef5fb);color:#173f68;cursor:pointer;list-style:none}.config-master-section>summary::-webkit-details-marker{display:none}.config-master-section>summary::after{content:'展开 / 收起';padding:3px 8px;border:1px solid #b6cade;border-radius:999px;background:#fff;color:#55718e;font-size:10px}.config-master-section>summary b{font-size:15px}.config-master-section>summary span{margin-left:auto;color:#55718e;font-size:11px}.config-master-section>.panel{margin:12px}
.config-category-create{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:8px;max-width:700px;margin-bottom:10px}.config-category-create input{min-height:38px}
.config-category-list{overflow:auto;border:1px solid #d2deea;border-radius:9px;background:#fff}.config-category-table{width:100%;min-width:620px;border-collapse:collapse}.config-category-table th{padding:8px;background:#e5eef7;color:#355777;text-align:left;font-size:11px}.config-category-table td{padding:6px 8px;border-top:1px solid #e0e7ee;font-size:12px}.config-category-table th:first-child,.config-category-table td:first-child{width:100px;text-align:center}.config-category-table th:nth-child(3),.config-category-table td:nth-child(3){width:110px;text-align:center}.config-category-table th:last-child,.config-category-table td:last-child{width:110px}.config-category-table input{width:100%;min-height:34px}
.config-add-many{display:flex;align-items:flex-end;justify-content:flex-end;gap:7px;flex-wrap:wrap}.config-add-many label{display:grid;gap:3px;color:#58708a;font-size:10px}.config-add-many input{width:78px;min-height:36px;text-align:center}
.config-catalog-sheet{min-width:900px}.config-catalog-sheet th:nth-child(1){width:29%}.config-catalog-sheet th:nth-child(2){width:18%}.config-catalog-sheet th:nth-child(3){width:18%}.config-catalog-sheet th:nth-child(4){width:12%}.config-catalog-sheet th:nth-child(5){width:11%}.config-catalog-sheet th:nth-child(6){width:12%}
.config-catalog-sheet .config-auto-code{background:#e9eef3;color:#34506c;font-weight:800;cursor:not-allowed}
.config-catalog-sheet tr.priority-urgent td,.config-template-sheet tr.priority-urgent td{background:#fff0f0!important}.config-catalog-sheet tr.priority-urgent td:first-child,.config-template-sheet tr.priority-urgent td:first-child{box-shadow:inset 4px 0 #d83a3a}.config-catalog-sheet tr.priority-urgent input,.config-catalog-sheet tr.priority-urgent select,.config-template-sheet tr.priority-urgent input,.config-template-sheet tr.priority-urgent select{border-color:#e4aaaa;background:#fff8f8}
.config-catalog-sheet tr.not-required td,.config-template-sheet tr.not-required td{background:#eceff2!important;color:#7c8791}.config-catalog-sheet tr.not-required input,.config-catalog-sheet tr.not-required select,.config-template-sheet tr.not-required input,.config-template-sheet tr.not-required select{border-color:#d6dbe0;background:#e4e7ea;color:#737d86}.config-catalog-sheet tr.not-required,.config-template-sheet tr.not-required{opacity:.68}.config-catalog-sheet tr.priority-urgent.not-required td:first-child,.config-template-sheet tr.priority-urgent.not-required td:first-child{box-shadow:inset 4px 0 #d83a3a}
.config-process-sheet .config-sheet-line.priority-urgent td.config-sticky.priority{background:#ffe4e4!important;color:#a92323;font-weight:850}.config-process-sheet .config-sheet-line.priority-urgent td.config-sticky.category{box-shadow:inset 4px 0 #d83a3a}.config-process-sheet .config-sheet-line.optional{opacity:.58;filter:saturate(.72)}
.config-template-sheet th:nth-child(7){width:12%}
@media(max-width:720px){.config-master-section>summary{align-items:flex-start;flex-wrap:wrap}.config-master-section>summary span{order:3;width:100%;margin-left:0}.config-master-section>.panel{margin:8px}.config-category-create{grid-template-columns:1fr}.config-add-many{justify-content:flex-start}.config-catalog-sheet{min-width:780px}}

/* Web V0.10.2 · 备料表二级标签与单一添加入口 */
.prep-tabs{width:100%;margin:0 0 14px;padding:6px;border-color:#c8d8ea;background:#f7faff}
.prep-tabs button{min-height:40px;padding-inline:18px}
.prep-tabs button.active{border-color:#0b63d8;background:#0b63d8;color:#fff;box-shadow:0 4px 12px rgba(11,99,216,.20)}
.prep-tabs button.active:hover{background:#0957be;color:#fff}
.prep-pane-off{display:none!important}
.prep-master-shell{display:block}
@media(max-width:720px){.prep-tabs{width:100%}.prep-tabs button{padding-inline:13px}}

/* Web V0.11.0 · 寄存 / 遗留双工作区与退房遗留物闭环 */
.guest-item-tabs{width:100%;margin-bottom:14px;background:#f4f8fd}
.guest-item-tabs button{min-width:128px}
.tab-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:7px;padding:0 6px;border-radius:999px;background:#d92d20;color:#fff;font-size:10px;font-weight:850}
.guest-item-pane{min-width:0}.lost-found-hero{background:linear-gradient(135deg,#eef7ff,#fff6eb)}
.lost-found-filter-row{grid-template-columns:minmax(240px,1.5fr) minmax(145px,.7fr) minmax(160px,.8fr) auto auto}
.lost-found-order-card{grid-template-columns:minmax(245px,1.25fr) 96px minmax(250px,1.2fr) auto}
.lost-found-order-middle{display:grid;gap:5px;min-width:0}.lost-found-order-middle small{color:#6d8096;font-size:11px;overflow-wrap:anywhere}
.lost-found-register-items{display:grid;gap:11px}.lost-found-register-item{padding:12px;border:1px solid #d6e2ef;border-radius:12px;background:#f8fbff}
.lost-found-register-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.lost-found-register-item-head b{color:#174571}
.lost-found-register-item .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lost-found-register-item .form-grid .wide{grid-column:span 2}.lost-found-photo-field{display:grid;align-content:start;gap:5px}.lost-found-photo-field input{padding:7px;background:#fff}.lost-found-photo-field small{color:#6c8096;font-size:10px}
.lost-found-order-summary{margin-bottom:8px}.lost-found-select-all{display:flex;align-items:center;gap:8px;width:max-content;margin:10px 0;padding:7px 10px;border:1px solid #cddbea;border-radius:9px;background:#f7faff;color:#315c89;font-size:12px;font-weight:750}.lost-found-select-all input{width:18px;height:18px;margin:0}
.lost-found-item-list{display:grid;gap:10px}.lost-found-item-card{padding:12px;border:1px solid #d6e2ef;border-radius:12px;background:#fff}.lost-found-item-card.terminal{opacity:.72;background:#f5f7f9}
.lost-found-item-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.lost-found-item-card>header>input{width:19px;height:19px;margin:0}.lost-found-item-card>header b,.lost-found-item-card>header small{display:block}.lost-found-item-card>header b{color:#163f6e}.lost-found-item-card>header small{margin-top:3px;color:#71839a;font-size:10px}.lost-found-item-card>p{margin:9px 0;color:#5f7289;font-size:12px;overflow-wrap:anywhere}
.lost-found-item-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.lost-found-item-meta>span{display:grid;gap:3px;min-width:0;padding:8px;border-radius:8px;background:#f4f8fc;color:#2e4e70;font-size:11px;overflow-wrap:anywhere}.lost-found-item-meta small{color:#7a899b;font-size:9px}
.lost-found-outcome{margin-top:8px}.lost-found-outcome>span{background:#fff8e9}
.lost-found-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px 2px;color:#637991;font-size:11px}.lost-found-pager>div{display:flex;gap:7px}
.lost-found-item-photos{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.lost-found-item-photos button{display:grid;place-items:center;width:58px;height:50px;padding:0;overflow:hidden;border:1px solid #ccd9e7;border-radius:8px;background:#edf3f9;color:#46617e;cursor:zoom-in}.lost-found-item-photos img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.lost-found-item-history{margin-top:9px;padding-top:8px;border-top:1px dashed #dce5ee}.lost-found-item-history summary{color:#346496;font-size:11px;font-weight:750;cursor:pointer}
.lost-found-timeline{display:grid;gap:8px;margin-top:9px}.lost-found-timeline>div{display:grid;grid-template-columns:12px minmax(0,1fr);gap:7px}.lost-found-timeline i{width:9px;height:9px;margin-top:4px;border:2px solid #76a5d7;border-radius:50%;background:#fff}.lost-found-timeline p,.lost-found-timeline b,.lost-found-timeline small,.lost-found-timeline span{display:block;margin:0}.lost-found-timeline p{padding-bottom:7px;border-bottom:1px dashed #e1e8f0;color:#425d79;font-size:11px}.lost-found-timeline small{margin-top:2px;color:#7a8998;font-size:9px}.lost-found-timeline span{margin-top:3px;color:#61758b}
.lost-found-detail-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid #dce5ef}
.form-subgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.form-subgrid>.full{grid-column:1/-1}.form-subgrid.hidden{display:none!important}
.lost-found-register-modal,.lost-found-detail-modal{min-width:0}.lost-found-detail-modal img{max-width:100%}

@media(max-width:900px){
  .lost-found-filter-row{grid-template-columns:1fr 1fr!important}.lost-found-filter-row>input:first-child{grid-column:1/-1}.lost-found-filter-row>.btn{width:100%}
  .lost-found-order-card{grid-template-columns:minmax(0,1fr) auto!important}.lost-found-order-card>:nth-child(n+3){grid-column:1/-1}.lost-found-order-card>.btn{width:max-content}
  .lost-found-register-item .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lost-found-register-item .form-grid .wide{grid-column:1/-1!important}
  .lost-found-item-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .guest-item-tabs{position:static!important;display:flex!important;width:100%;overflow-x:auto!important;scroll-snap-type:x proximity}.guest-item-tabs button{flex:0 0 auto;min-height:42px;scroll-snap-align:start}
  .lost-found-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lost-found-filter-row{grid-template-columns:1fr!important}.lost-found-filter-row>*{grid-column:1!important;width:100%}
  .lost-found-order-card{grid-template-columns:1fr!important}.lost-found-order-card>*{grid-column:1!important}.lost-found-order-card>.btn{width:100%}
  .lost-found-register-item .form-grid{grid-template-columns:1fr!important}.lost-found-register-item .form-grid>*{grid-column:1!important}
  .form-subgrid{grid-template-columns:1fr}.form-subgrid>*{grid-column:1!important}
  .lost-found-order-summary{grid-template-columns:1fr!important}.lost-found-order-summary b{text-align:left}
  .lost-found-detail-actions{justify-content:stretch}.lost-found-detail-actions .btn{flex:1 1 calc(50% - 8px);min-width:135px}
  .lost-found-pager{align-items:stretch;flex-direction:column}.lost-found-pager>div{display:grid;grid-template-columns:1fr 1fr}.lost-found-pager .btn{width:100%}
}
@media(max-width:480px){
  .lost-found-item-meta{grid-template-columns:1fr}.lost-found-item-card>header{grid-template-columns:auto minmax(0,1fr)}.lost-found-item-card>header>.status-pill{grid-column:2}
  .lost-found-detail-actions .btn{flex:1 1 100%;width:100%}
  .lost-found-register-item-head{align-items:flex-start}
}

/* Web V0.11.1 · 客人遗留紧凑工作台、当前账户登记与逐件扫码照片 */
.guest-item-tabs{margin-bottom:9px;padding:4px}.guest-item-tabs button{min-height:36px;padding:7px 15px}
.lost-found-hero{gap:14px;padding:12px 15px;border-color:#cddded;background:linear-gradient(135deg,#edf6ff 0%,#f8fbff 58%,#fff8ee 100%)}
.lost-found-hero h3{margin:5px 0 2px;font-size:20px}.lost-found-hero p{max-width:840px;font-size:12px;line-height:1.45}.lost-found-hero .badge{padding:3px 7px;font-size:9px}
.lost-found-hero .page-primary-actions{gap:6px}.lost-found-hero .btn{min-height:36px;padding:7px 12px}
.lost-found-kpis{gap:7px;margin:9px 0}.lost-found-kpis>div{padding:8px 11px;border-radius:9px}.lost-found-kpis small{font-size:10px}.lost-found-kpis b{margin-top:2px;font-size:20px;line-height:1.1}
.lost-found-work-panel{padding:10px 11px}.lost-found-filter-row{gap:7px}.lost-found-filter-row input,.lost-found-filter-row select{min-height:36px;padding-block:7px}.lost-found-filter-row .btn{min-height:36px;padding:7px 11px}
.lost-found-order-list{gap:7px;margin-top:9px}.lost-found-order-card{gap:9px;padding:9px 10px;border-radius:10px}.lost-found-order-main strong{margin:4px 0;font-size:14px}.lost-found-order-main small{margin-top:2px;font-size:10px}.lost-found-order-card .status-pill{padding:3px 7px;font-size:9px}.lost-found-order-card .luggage-count b{font-size:20px}.lost-found-order-middle{gap:3px}.lost-found-order-middle small{font-size:10px}.lost-found-order-card .luggage-tags span{padding:3px 6px;font-size:10px}.lost-found-order-card>.btn{min-height:33px;padding:6px 9px}
.lost-found-boundary-note{margin-top:9px;padding:8px 11px}.lost-found-boundary-note b,.lost-found-boundary-note span{font-size:11px}
.lost-found-register-modal{padding:12px}.lost-found-register-identity{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:5px 9px;align-items:center;margin-bottom:9px;padding:8px 10px;border:1px solid #bdd4ee;border-radius:9px;background:linear-gradient(135deg,#eaf4ff,#f8fbff);color:#214f7d}.lost-found-register-identity span{font-size:10px}.lost-found-register-identity b{font-size:13px}.lost-found-register-identity small{color:#667d96;font-size:10px;text-align:right}
.lost-found-register-core{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px 9px}.lost-found-register-core .wide{grid-column:span 2!important}
.lost-found-register-modal label,.lost-found-action-modal label{margin:3px 0;font-size:10px}.lost-found-register-modal input,.lost-found-register-modal select,.lost-found-action-modal input,.lost-found-action-modal select{min-height:35px;margin-top:3px;padding:6px 8px}.lost-found-register-modal textarea,.lost-found-action-modal textarea{margin-top:3px;padding:7px 8px}
.lost-found-register-section-head{margin:11px 0 7px;padding:8px 2px 0;border-top:1px solid #dce6f0}.lost-found-register-section-head h3{margin:0;font-size:14px}.lost-found-register-section-head p{margin-top:2px;font-size:10px}.lost-found-register-section-head .btn{min-height:33px;padding:6px 9px}
.lost-found-register-items{gap:8px}.lost-found-register-item{padding:9px;border-radius:10px;background:#f7fafd}.lost-found-register-item-head{margin-bottom:6px}.lost-found-register-item-head b{font-size:12px}.lost-found-register-item-head .btn{min-height:29px;padding:4px 8px}.lost-found-register-item .form-grid{gap:7px 8px}.lost-found-register-item label>small{color:#71849a;font-size:9px}
.lost-found-photo-field{gap:6px;padding:8px;border:1px dashed #c6d8ea;border-radius:9px;background:#fff}.lost-found-photo-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.lost-found-photo-head b{color:#345b82;font-size:11px}.lost-found-photo-head small{font-size:9px;text-align:right}.lost-found-photo-actions{display:flex;gap:6px;flex-wrap:wrap}.lost-found-photo-actions .btn{min-height:31px;margin:0;padding:5px 9px}.lost-found-photo-actions .file-btn input{position:absolute;inset:0;opacity:0;margin:0;padding:0;cursor:pointer}.lost-found-photo-preview{min-height:42px;padding:5px}.lost-found-photo-preview .photo-thumb{width:48px;height:42px}.lost-found-photo-qr{margin-top:0;padding:8px;border-radius:9px}.lost-found-photo-qr .qr-upload-layout{gap:10px}.lost-found-photo-qr .qr-upload-layout img{width:112px;height:112px}.lost-found-photo-qr .qr-upload-layout b{font-size:13px}.lost-found-photo-qr .qr-upload-layout p{margin:3px 0;font-size:10px}.lost-found-photo-qr .qr-upload-layout small{font-size:9px}.lost-found-photo-qr .qr-status{margin-top:5px;padding:5px 7px;font-size:9px}
.lost-found-sticky-actions{margin-top:10px;padding-top:9px;border-top:1px solid #dce6ef}.lost-found-sticky-actions .btn{min-height:35px;padding:7px 12px}
.lost-found-detail-modal{padding:12px}.lost-found-order-summary{padding:10px}.lost-found-order-summary strong{font-size:17px}.lost-found-order-summary b{font-size:19px}.lost-found-detail-modal .luggage-detail-meta{padding:7px 2px;font-size:10px}.lost-found-select-all{margin:6px 0;padding:5px 8px}.lost-found-item-list{gap:7px}.lost-found-item-card{padding:9px;border-radius:9px}.lost-found-item-card>header{gap:7px}.lost-found-item-card>p{margin:6px 0;font-size:10px}.lost-found-item-meta{gap:5px}.lost-found-item-meta>span{padding:6px;font-size:10px}.lost-found-item-history{margin-top:6px;padding-top:6px}.lost-found-detail-actions{gap:6px;margin-top:9px;padding-top:9px}.lost-found-detail-actions .btn{min-height:33px;padding:6px 9px}
.lost-found-action-modal{padding:13px}.lost-found-action-modal .form-grid{gap:8px}.lost-found-action-modal .asset-edit-note,.lost-found-action-modal .risk-warning{margin-bottom:9px;padding:9px 10px}.lost-found-action-modal .form-subgrid{gap:7px}.lost-found-action-modal .modal-actions{margin-top:11px}
:is(.lost-found-register-modal,.lost-found-detail-modal,.lost-found-action-modal) .required-label::after{content:none!important;display:none!important}
:is(.lost-found-register-modal,.lost-found-detail-modal,.lost-found-action-modal) .required-label::before{content:'*';display:inline;color:#d92d20;margin-right:3px;font-weight:850}

@media(max-width:900px){
  .lost-found-register-core{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lost-found-register-core .wide{grid-column:1/-1!important}
  .lost-found-register-identity{grid-template-columns:auto 1fr}.lost-found-register-identity small{grid-column:1/-1;text-align:left}
}
@media(max-width:700px){
  .guest-item-tabs{margin-bottom:7px}.lost-found-hero{padding:10px 11px}.lost-found-hero h3{font-size:18px}.lost-found-hero .page-primary-actions{width:100%}.lost-found-hero .page-primary-actions .btn{flex:1}
  .lost-found-kpis{margin:7px 0}.lost-found-kpis>div{padding:7px 9px}.lost-found-work-panel{padding:8px}
  .lost-found-register-modal,.lost-found-detail-modal,.lost-found-action-modal{padding:9px!important}.lost-found-register-core{grid-template-columns:1fr!important}.lost-found-register-core>*{grid-column:1!important}.lost-found-register-item{padding:8px}.lost-found-photo-head{align-items:flex-start;flex-direction:column;gap:2px}.lost-found-photo-head small{text-align:left}
  .lost-found-photo-qr .qr-upload-layout{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start}.lost-found-photo-qr .qr-upload-layout img{width:96px;height:96px}.lost-found-photo-qr .qr-status{grid-column:2}
  .lost-found-sticky-actions{position:sticky;bottom:-9px;z-index:3;margin-inline:-9px;padding:8px 9px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -6px 15px rgba(35,66,99,.07)}
}
@media(max-width:480px){
  .lost-found-photo-actions{display:grid;grid-template-columns:1fr 1fr}.lost-found-photo-actions .btn{width:100%;text-align:center}.lost-found-photo-qr .qr-upload-layout{grid-template-columns:82px minmax(0,1fr)}.lost-found-photo-qr .qr-upload-layout img{width:82px;height:82px}
}

/* Web V0.11.4 · 全局模糊选房、通信线路标签表单与明文技术配置 */
.network-asset-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border-color:#cbddec;background:linear-gradient(135deg,#edf7ff 0%,#f7fbff 52%,#eefaf5 100%)}
.network-asset-hero h3{margin:6px 0 3px;color:#123f70;font-size:22px}.network-asset-hero p{max-width:920px;margin:0;color:#627991;font-size:12px;line-height:1.5}.network-asset-hero .badge{font-size:10px}
.network-asset-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0}.network-asset-kpis>button,.network-asset-kpis>div{min-width:0;padding:11px 12px;border:1px solid #d5e2ed;border-radius:11px;background:#fff;text-align:left;box-shadow:0 4px 14px rgba(22,58,92,.04)}.network-asset-kpis>button{cursor:pointer;color:inherit}.network-asset-kpis>button:hover{border-color:#83aee0;background:#f7fbff}.network-asset-kpis>button.danger-lite{border-color:#efd0c9;background:#fff8f6}.network-asset-kpis small,.network-asset-kpis b,.network-asset-kpis span{display:block}.network-asset-kpis small{color:#6e8196;font-size:10px}.network-asset-kpis b{margin:3px 0;color:#174d83;font-size:23px;line-height:1.12}.network-asset-kpis .danger-lite b{color:#b33a2e}.network-asset-kpis span{color:#8190a1;font-size:9px}
.network-asset-workbench{padding:13px 14px}.network-asset-filter-grid{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(125px,.65fr)) auto auto;gap:7px}.network-asset-filter-grid input,.network-asset-filter-grid select,.network-asset-filter-grid .btn{min-height:38px;padding:7px 9px}.network-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:12px 2px 8px;padding-top:9px;border-top:1px solid #e0e8ef}.network-list-head>div{display:flex;align-items:baseline;gap:9px}.network-list-head b{color:#173f6b}.network-list-head span,.network-list-head small{color:#71849a;font-size:10px}
.network-asset-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.network-line-card{min-width:0;padding:12px;border:1px solid #d5e1ec;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(19,54,89,.04);cursor:pointer;transition:.15s}.network-line-card:hover,.network-line-card:focus-visible{border-color:#83aee0;box-shadow:0 7px 20px rgba(19,54,89,.09);outline:none;transform:translateY(-1px)}.network-line-card.overdue{border-color:#e7b7ad;box-shadow:inset 4px 0 #c64c3c}.network-line-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.network-line-title{display:flex;align-items:center;gap:9px;min-width:0}.network-type-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#e8f3ff,#e9f8f2);color:#1765ae;font-size:20px;font-weight:800}.network-line-title h4,.network-line-title p{margin:0}.network-line-title h4{color:#153f6c;font-size:15px}.network-line-title p{margin-top:3px;color:#6d8197;font-size:10px;overflow-wrap:anywhere}.network-line-status{display:flex;align-items:flex-end;gap:5px;flex-direction:column}.network-status-pill,.network-due-badge{display:inline-flex;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.network-status-pill.active{background:#e5f5ed;color:#19704c}.network-status-pill.inactive{background:#eef1f4;color:#647080}.network-due-badge.ok{background:#e7f5eb;color:#25723e}.network-due-badge.auto{background:#e7f3ff;color:#1c62a6}.network-due-badge.warn{background:#fff3d6;color:#8f5b00}.network-due-badge.danger{background:#ffe9e5;color:#b63b2f}.network-due-badge.muted{background:#eef1f4;color:#66717e}
.network-line-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.network-line-grid>div{min-width:0;padding:7px 8px;border-radius:8px;background:#f6f9fc}.network-line-grid small,.network-line-grid b{display:block}.network-line-grid small{color:#7a8b9d;font-size:8px}.network-line-grid b{margin-top:2px;color:#2e4e70;font-size:10px;line-height:1.35;overflow-wrap:anywhere}.network-line-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px dashed #dce5ed}.network-line-tags{display:flex;gap:4px;flex-wrap:wrap;min-width:0}.network-line-tags span{padding:3px 6px;border-radius:6px;background:#edf4fa;color:#4b6b8b;font-size:8px}.network-line-card .row-actions{display:flex;gap:5px;flex-wrap:nowrap}.network-line-card .btn{min-height:30px;padding:5px 8px;font-size:10px}
.network-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:120px;color:#688098;font-size:12px}.network-loading i{width:19px;height:19px;border:3px solid #d7e5f2;border-top-color:#1f6feb;border-radius:50%;animation:network-spin .8s linear infinite}@keyframes network-spin{to{transform:rotate(360deg)}}.network-security-note{margin-top:9px}
.modal.modal-network{width:min(1100px,calc(100vw - 22px));max-height:94vh}.modal-network .modal-head{padding:13px 18px}.modal-network .modal-body{padding:12px 14px}.network-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px;padding:11px 13px;border:1px solid #c8dced;border-radius:11px;background:linear-gradient(135deg,#edf6ff,#f8fcff)}.network-detail-hero h3{margin:6px 0 3px;color:#153f6c;font-size:20px}.network-detail-hero p{margin:0;color:#617b94;font-size:11px}.network-detail-hero p b{color:#1f6feb}.network-detail-section{margin-top:8px;padding:10px 11px;border:1px solid #d9e4ed;border-radius:10px;background:#fff}.network-detail-section h4{margin:0 0 7px;color:#174974;font-size:13px}.network-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.network-detail-grid>div{min-width:0;padding:7px 8px;border-radius:8px;background:#f5f8fb}.network-detail-grid small,.network-detail-grid b{display:block}.network-detail-grid small{color:#7a899b;font-size:8px}.network-detail-grid b{margin-top:2px;color:#294968;font-size:10px;line-height:1.35;overflow-wrap:anywhere}.network-detail-note{margin:7px 0 0;padding:7px 9px;border-radius:7px;background:#fff8e9;color:#765d31;font-size:10px}.network-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.network-secret-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:7px}.network-secret-row{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:7px 8px;border:1px solid #dbe4ed;border-radius:8px;background:#fbfcfe}.network-secret-row span{display:grid;gap:2px;min-width:0}.network-secret-row small{color:#77889a;font-size:8px}.network-secret-row code{max-width:190px;color:#234a72;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.network-secret-row code.revealed{color:#9e3d2e;font-weight:800;user-select:all}.network-secret-row em{color:#8a96a3;font-size:8px;font-style:normal}.network-secret-row .btn{min-height:28px;padding:4px 7px;font-size:9px}.network-secret-tip{margin:6px 0 0;color:#7d8996;font-size:8px}.network-payment-table td small{display:block;margin-top:2px;color:#7b8b9d;font-size:9px}.network-document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:7px}.network-document-grid button{position:relative;display:grid;place-items:center;min-height:80px;padding:8px;border:1px dashed #b9cede;border-radius:9px;background:#f4f9fd;color:#3f6487;overflow:hidden;cursor:zoom-in}.network-document-grid button img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.network-document-grid button span,.network-document-grid button small{display:block}.network-document-grid button small{margin-top:4px;color:#76899b;font-size:8px}.network-audit-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.network-audit-strip>div{padding:6px 8px;border-radius:7px;background:#f6f8fa}.network-audit-strip small,.network-audit-strip b{display:block}.network-audit-strip small{color:#84909d;font-size:8px}.network-audit-strip b{margin-top:2px;color:#51677d;font-size:9px}.network-audit-strip p{grid-column:1/-1;margin:0;color:#5d7186;font-size:10px}
.network-form-intro,.network-payment-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding:9px 11px;border:1px solid #c7dcec;border-radius:9px;background:#eef7ff}.network-form-intro b,.network-form-intro span,.network-payment-context b,.network-payment-context span{display:block}.network-form-intro b,.network-payment-context b{color:#174b7e}.network-form-intro span,.network-payment-context span{color:#687f96;font-size:10px}.network-form-section{margin-top:7px;border:1px solid #d8e3ec;border-radius:10px;background:#fbfdff;overflow:hidden}.network-form-section>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;list-style:none;cursor:pointer;color:#1d4b78}.network-form-section>summary::-webkit-details-marker{display:none}.network-form-section>summary span{color:#778a9e;font-size:9px}.network-form-section[open]>summary{border-bottom:1px solid #dfe8ef;background:#f1f6fa}.network-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 8px;padding:8px 10px}.network-form-grid label{min-width:0;margin:0;color:#526a81;font-size:9px}.network-form-grid input,.network-form-grid select,.network-form-grid textarea{min-height:35px;margin-top:3px;padding:6px 8px;font-size:11px}.network-form-grid .full{grid-column:1/-1}.network-form-grid label>small{display:block;margin-top:3px;color:#7a8998;font-size:8px}.network-switch{display:flex!important;align-items:center;gap:7px;min-height:35px;margin-top:12px!important;padding:7px 9px;border:1px solid #d5e1ea;border-radius:8px;background:#f6f9fc}.network-switch input{width:17px!important;min-height:17px!important;margin:0!important}.network-switch span{font-size:10px;font-weight:750}.network-clear-secret{display:flex!important;align-items:center;gap:4px;margin-top:3px;color:#8b5b53;font-size:8px}.network-clear-secret input{width:13px!important;min-height:13px!important;margin:0!important}.network-upload-box{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:7px;align-items:center;margin:8px 10px 10px;padding:9px;border:1px dashed #b9ccdd;border-radius:9px;background:#f8fbfd}.network-upload-box>div:first-child b,.network-upload-box>div:first-child span{display:block}.network-upload-box>div:first-child b{color:#345e85;font-size:11px}.network-upload-box>div:first-child span{margin-top:3px;color:#74879a;font-size:8px}.network-upload-box .upload-trigger{margin:0;padding:6px 9px;border:1px solid #c9d7e4;border-radius:8px;background:#fff;color:#315d86;font-size:9px;cursor:pointer}.network-upload-box .upload-trigger input{display:none}.network-upload-box .qr-upload-panel,.network-upload-box .upload-preview,.network-upload-box>small{grid-column:1/-1}.network-upload-box .upload-preview{min-height:45px}.network-sticky-actions{position:sticky;bottom:-12px;z-index:5;margin:9px -14px -12px;padding:9px 14px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #dbe4ec;background:rgba(255,255,255,.97);box-shadow:0 -6px 18px rgba(27,58,91,.06)}
.network-form-tabs{position:sticky;top:-12px;z-index:4;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:3px 0 7px;background:linear-gradient(180deg,#f8fbff 78%,rgba(248,251,255,0))}.network-form-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:7px 10px;border:1px solid #cbdceb;border-radius:10px;background:#fff;color:#456680;font-size:13px;font-weight:750;cursor:pointer}.network-form-tabs button b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf3f8;color:#4d6f8c;font-size:12px}.network-form-tabs button.active{border-color:#2c76c7;background:linear-gradient(135deg,#eaf4ff,#f7fbff);color:#135a9d;box-shadow:0 3px 10px rgba(32,105,179,.13)}.network-form-tabs button.active b{background:#216bc0;color:#fff}.network-form-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-bottom:1px solid #d7e4ef;background:linear-gradient(90deg,#e8f3fd,#f6faff);color:#154b7f}.network-form-section-head b{font-size:15px}.network-form-section-head span{color:#6c8297;font-size:11px}.network-form-pane{margin-top:2px}.network-plain-tech-row{align-items:flex-start}.network-plain-tech-row code{max-width:none!important;white-space:normal!important;overflow-wrap:anywhere;user-select:all;color:#173f68!important}.batch-filter-location{min-width:0}.batch-filter-location>input{width:100%}

/* 通信线路表单：提高可读性，同时保留三列紧凑录入 */
.modal.modal-network{width:min(1180px,calc(100vw - 22px))}.modal-network .modal-head{min-height:56px;padding:14px 20px}.modal-network .modal-head h2,.modal-network .modal-head h3,.modal-network .modal-head strong{font-size:19px}.network-edit-modal{background:linear-gradient(180deg,#f8fbff 0,#fff 180px)}
.network-form-intro,.network-payment-context{margin-bottom:11px;padding:12px 14px;border-color:#b9d4ee;border-left:4px solid #2673c9;border-radius:11px;background:linear-gradient(135deg,#eaf5ff,#f8fbff)}.network-form-intro b,.network-payment-context b{font-size:15px}.network-form-intro span,.network-payment-context span{font-size:12px;line-height:1.5}
.network-form-section{margin-top:11px;border-color:#cfdeeb;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(34,78,121,.055)}.network-form-section>summary{padding:12px 14px;background:linear-gradient(90deg,#eef6fd,#f8fbfe);color:#154b7f}.network-form-section>summary b{font-size:15px}.network-form-section>summary span{font-size:11px;line-height:1.4}.network-form-section[open]>summary{border-bottom-color:#d7e4ef;background:linear-gradient(90deg,#e8f3fd,#f6faff)}
.network-form-grid{gap:10px 12px;padding:13px 14px}.network-form-grid label{color:#365a7a;font-size:12px;font-weight:700;line-height:1.3}.network-form-grid input,.network-form-grid select,.network-form-grid textarea{min-height:42px;margin-top:5px;padding:9px 10px;border-color:#c8d8e7;border-radius:9px;background:#fff;color:#173b5e;font-size:14px;font-weight:500}.network-form-grid textarea{line-height:1.5}.network-form-grid input:focus,.network-form-grid select:focus,.network-form-grid textarea:focus{border-color:#4f91da;box-shadow:0 0 0 3px rgba(58,132,214,.13)}.network-form-grid input[readonly]{background:#eef4f9;color:#315b7f;cursor:not-allowed}.network-form-grid label>small{margin-top:5px;color:#657e96;font-size:10.5px;font-weight:500;line-height:1.4}
.network-switch{min-height:42px;margin-top:17px!important;padding:9px 11px;border-color:#c9d9e7;border-radius:9px;background:#f5f9fc}.network-switch input{width:19px!important;min-height:19px!important}.network-switch span{color:#284e72;font-size:13px}.network-clear-secret{gap:6px;margin-top:5px;color:#82564e;font-size:10.5px;font-weight:600}.network-clear-secret input{width:15px!important;min-height:15px!important}
.network-payment-rule{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border:1px solid #bcd8ef;border-radius:10px;background:#edf7ff}.network-payment-rule b,.network-payment-rule span{display:block}.network-payment-rule b{color:#16548a;font-size:13px}.network-payment-rule span{margin-top:3px;color:#5e7891;font-size:11px;font-weight:500;line-height:1.45}.network-payment-rule strong{flex:0 0 auto;padding:7px 10px;border-radius:8px;background:#fff;color:#175b98;font-size:12px;white-space:nowrap}.network-payment-tip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 11px;padding:10px 13px;border:1px solid #bfe0c8;border-radius:10px;background:#f0fbf3}.network-payment-tip b{color:#19733c;font-size:13px}.network-payment-tip span{color:#4e725d;font-size:11px}
.network-upload-box{gap:9px;margin:11px 14px 14px;padding:12px;border-color:#afc8dd;border-radius:10px;background:#f7fbfe}.network-upload-box>div:first-child b{font-size:13px}.network-upload-box>div:first-child span{font-size:10.5px;line-height:1.4}.network-upload-box .upload-trigger{min-height:38px;padding:8px 11px;font-size:12px;font-weight:700}.network-upload-box>.btn{min-height:38px;font-size:12px}.network-sticky-actions{padding:11px 16px calc(11px + env(safe-area-inset-bottom))}.network-sticky-actions .btn{min-height:41px;padding:9px 17px;font-size:13px}.btn.primary-lite{border-color:#a9ccef;background:#edf6ff;color:#1464ad}
.network-detail-grid small,.network-secret-row small,.network-audit-strip small{font-size:10px}.network-detail-grid b,.network-secret-row code,.network-audit-strip b{font-size:12px}.network-secret-row em,.network-secret-tip{font-size:10px}.network-audit-strip{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(max-width:1180px){.network-asset-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.network-asset-filter-grid{grid-template-columns:2fr repeat(3,1fr)}.network-asset-filter-grid>*:nth-child(n+6){width:100%}.network-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.network-asset-list{grid-template-columns:1fr}.network-asset-filter-grid{grid-template-columns:1fr 1fr}.network-asset-filter-grid>input:first-child{grid-column:1/-1}.network-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.network-secret-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.network-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .network-asset-hero{align-items:flex-start;flex-direction:column;padding:11px 12px}.network-asset-hero h3{font-size:19px}.network-asset-hero .page-primary-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}.network-asset-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.network-asset-kpis>button,.network-asset-kpis>div{padding:9px}.network-asset-workbench{padding:9px}.network-asset-filter-grid{grid-template-columns:1fr}.network-asset-filter-grid>*{grid-column:1!important;width:100%}.network-list-head{align-items:flex-start;flex-direction:column;gap:3px}.network-line-card{padding:10px}.network-line-card>header{align-items:stretch;flex-direction:column}.network-line-status{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.network-line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.network-line-card>footer{align-items:stretch;flex-direction:column}.network-line-card .row-actions{display:grid;grid-template-columns:repeat(3,1fr)}.network-line-card .btn{width:100%}
  .modal.modal-network{width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);border-radius:12px}.modal-network .modal-head{padding:10px 12px}.modal-network .modal-body{padding:8px}.network-detail-hero{align-items:flex-start;flex-direction:column}.network-detail-grid,.network-secret-grid,.network-form-grid,.network-audit-strip{grid-template-columns:1fr}.network-audit-strip p,.network-form-grid .full{grid-column:1}.network-form-intro,.network-payment-context,.network-payment-rule,.network-payment-tip{align-items:flex-start;flex-direction:column}.network-payment-rule strong{width:100%;white-space:normal}.network-form-tabs{top:-8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.network-form-tabs button{min-height:40px;padding:6px;font-size:11.5px}.network-form-tabs button b{width:21px;height:21px;font-size:10px}.network-form-section-head{align-items:flex-start;flex-direction:column;gap:2px}.network-upload-box{grid-template-columns:1fr 1fr;margin-inline:8px}.network-upload-box>div:first-child{grid-column:1/-1}.network-upload-box .upload-trigger,.network-upload-box>.btn{width:100%;text-align:center}.network-sticky-actions{bottom:-8px;margin:8px -8px -8px;padding-inline:8px}.network-sticky-actions .btn{flex:1}.network-payment-table{min-width:0!important}
}
@media(max-width:390px){.network-asset-kpis{grid-template-columns:1fr 1fr}.network-line-grid{grid-template-columns:1fr}.network-secret-row code{max-width:150px}.network-line-card .row-actions{grid-template-columns:1fr}}

/* Web V0.11.5 · 菜单分组、固定线路标签弹窗、放大台账与独立快捷筛选 */
#nav .nav-group-label{color:rgba(255,255,255,.68);font-size:11px;letter-spacing:.08em}
#nav .nav-group-label:not(:first-child){margin-top:5px;border-top:1px solid rgba(255,255,255,.09)}

.network-asset-hero h3{font-size:24px}.network-asset-hero p{font-size:13.5px}.network-asset-hero .badge{font-size:11px}
.network-asset-kpis{gap:10px;margin:12px 0}.network-asset-kpis>button,.network-asset-kpis>div{min-height:86px;padding:13px 14px;border-radius:12px}
.network-asset-kpis>button{transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}
.network-asset-kpis>button:hover{transform:translateY(-1px)}
.network-asset-kpis>button.active{border-color:#2a76c9;background:linear-gradient(135deg,#e9f4ff,#f8fbff);box-shadow:0 0 0 2px rgba(42,118,201,.12),0 6px 16px rgba(24,83,139,.08)}
.network-asset-kpis>button.danger-lite.active{border-color:#c95143;background:#fff4f1;box-shadow:0 0 0 2px rgba(201,81,67,.11),0 6px 16px rgba(139,49,39,.07)}
.network-asset-kpis small{font-size:12px;font-weight:650}.network-asset-kpis b{margin:5px 0;font-size:27px}.network-asset-kpis span{font-size:11px;line-height:1.35}

.network-asset-workbench{padding:15px 16px}.network-asset-filter-grid{gap:9px}.network-asset-filter-grid input,.network-asset-filter-grid select,.network-asset-filter-grid .btn{min-height:42px;padding:8px 11px;font-size:14px}
.network-list-head{margin-top:14px;padding-top:11px}.network-list-head b{font-size:18px}.network-list-head span,.network-list-head small{font-size:12px;line-height:1.4}
.network-asset-list{grid-template-columns:repeat(auto-fit,minmax(min(520px,100%),1fr));gap:11px}.network-line-card{padding:14px;border-radius:13px}
.network-type-icon{flex-basis:39px;width:39px;height:39px;font-size:22px}.network-line-title h4{font-size:18px}.network-line-title p{margin-top:4px;font-size:12.5px;line-height:1.4}
.network-status-pill,.network-due-badge{padding:5px 8px;font-size:11px}.network-line-grid{gap:8px;margin:12px 0}.network-line-grid>div{padding:9px 10px}.network-line-grid small{font-size:11px}.network-line-grid b{margin-top:3px;font-size:13px;line-height:1.4}
.network-line-card>footer{padding-top:10px}.network-line-tags{gap:6px}.network-line-tags span{padding:4px 7px;font-size:10.5px}.network-line-card .btn{min-height:34px;padding:6px 10px;font-size:12px}.network-loading{font-size:13px}.network-security-note b,.network-security-note span{font-size:12.5px;line-height:1.5}

.modal.modal-network-edit{height:min(760px,calc(100dvh - 24px));max-height:min(760px,calc(100dvh - 24px));overflow:hidden;display:flex;flex-direction:column}
.modal-network-edit .modal-head{flex:0 0 auto}.modal-network-edit #modalBody{flex:1 1 auto;min-height:0;overflow:hidden}.modal-network-edit .network-edit-modal{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.modal-network-edit .network-form-pane{flex:0 0 auto}.modal-network-edit .network-sticky-actions{flex:0 0 auto;margin-top:auto}
.network-form-tabs button{font-size:14px}.network-form-tabs button b{font-size:13px}.network-form-section-head b{font-size:16px}.network-form-section-head span{font-size:12px}

.network-detail-hero{padding:14px 16px}.network-detail-hero h3{font-size:23px}.network-detail-hero p{font-size:13px;line-height:1.45}.network-detail-section{margin-top:10px;padding:13px 14px}.network-detail-section h4{margin-bottom:9px;font-size:16px}.network-detail-grid{gap:8px}.network-detail-grid>div{padding:9px 10px}.network-detail-grid small,.network-secret-row small,.network-audit-strip small{font-size:11.5px}.network-detail-grid b,.network-secret-row code,.network-audit-strip b{margin-top:3px;font-size:14px;line-height:1.45}.network-detail-note{padding:9px 11px;font-size:12px;line-height:1.5}.network-secret-grid{gap:8px;margin-top:9px}.network-secret-row{padding:9px 10px}.network-secret-tip{font-size:11.5px;line-height:1.5}.network-payment-table th,.network-payment-table td{font-size:12.5px}.network-payment-table td small{font-size:11px}.network-document-grid button small{font-size:10.5px}.network-audit-strip p{font-size:12px;line-height:1.5}

@media(max-width:700px){
  #nav .nav-group-label{font-size:11px}
  .network-asset-hero h3{font-size:21px}.network-asset-hero p{font-size:12.5px}.network-asset-kpis>button,.network-asset-kpis>div{min-height:80px;padding:11px}.network-asset-kpis small{font-size:11px}.network-asset-kpis b{font-size:24px}.network-asset-kpis span{font-size:10px}
  .network-line-title h4{font-size:17px}.network-line-title p{font-size:12px}.network-line-grid small{font-size:10.5px}.network-line-grid b{font-size:12.5px}
  .modal-network-edit #modalBody{overflow:hidden!important}.modal-network-edit .network-edit-modal{height:100%;padding:9px!important}.network-form-tabs button{font-size:12.5px}.network-form-section-head b{font-size:15px}.network-form-section-head span{font-size:11px}
  .network-detail-hero h3{font-size:21px}.network-detail-hero p{font-size:12px}.network-detail-section h4{font-size:15px}.network-detail-grid small,.network-secret-row small,.network-audit-strip small{font-size:11px}.network-detail-grid b,.network-secret-row code,.network-audit-strip b{font-size:13px}
}

/* Web V0.11.6 · 业务导入双确认、统一导出与审批边界 */
.modal.modal-business-import{width:min(920px,calc(100vw - 24px));max-height:92vh}.business-import-modal,.business-import-review,.business-import-final{display:grid;gap:13px}
.business-import-rule,.business-import-summary,.business-import-step{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #c9dced;border-radius:12px;background:linear-gradient(135deg,#edf7ff,#f9fcff)}
.business-import-rule,.business-import-summary{align-items:flex-start;flex-direction:column;gap:4px}.business-import-rule b,.business-import-summary b{color:#174e7e;font-size:16px}.business-import-rule span,.business-import-summary span{color:#5f7890;font-size:13px;line-height:1.55}
.business-import-summary.ok{border-color:#b9ddc6;background:#f1fbf4}.business-import-summary.ok b{color:#19703c}.business-import-summary.warn{border-color:#edc3ba;background:#fff6f4}.business-import-summary.warn b{color:#af3e32}
.business-import-step i{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#1f6fc5;color:#fff;font-size:15px;font-style:normal;font-weight:850}.business-import-step b,.business-import-step span{display:block}.business-import-step b{color:#1c4e7c;font-size:15px}.business-import-step span{margin-top:3px;color:#6a7e92;font-size:12px}
.business-import-file{position:relative;display:grid;place-items:center;min-height:110px;margin:0;padding:18px;border:2px dashed #9ebedb;border-radius:13px;background:#f8fbfe;color:#315e87;font-weight:750;cursor:pointer}.business-import-file:hover{border-color:#397fc5;background:#f1f8ff}.business-import-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.business-import-file span{pointer-events:none;overflow-wrap:anywhere;text-align:center}
.business-import-preview-list{display:grid;gap:7px;max-height:52vh;overflow:auto;padding-right:4px}.business-import-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px 12px;border:1px solid #d8e3ed;border-radius:10px;background:#fff}.business-import-row>div span,.business-import-row>div b{display:block}.business-import-row>div span{color:#77899b;font-size:11px}.business-import-row>div b{margin-top:3px;color:#244f75;font-size:13px;line-height:1.45}.business-import-row>strong{align-self:center;color:#1d7643;font-size:12px}.business-import-row.has-error{border-color:#efb8ae;background:#fff9f7}.business-import-row.has-error>strong{color:#b43c30}.business-import-row p{grid-column:1/-1;display:flex;gap:5px;flex-wrap:wrap;margin:0}.business-import-row p span{padding:4px 7px;border-radius:6px;background:#ffe9e5;color:#a7372c;font-size:11px}
.business-import-confirm{display:flex;align-items:flex-start;gap:9px;margin:0;padding:12px 14px;border:1px solid #b8d2eb;border-radius:10px;background:#f2f8ff;color:#274f75;font-size:13px;font-weight:750;line-height:1.45}.business-import-confirm.final{border-color:#e5b8ae;background:#fff6f4;color:#87372e}.business-import-confirm input{flex:0 0 auto;width:18px;min-height:18px;margin:1px 0 0}
@media(max-width:700px){.modal.modal-business-import{width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}.business-import-rule b,.business-import-summary b{font-size:15px}.business-import-rule span,.business-import-summary span{font-size:12px}.business-import-preview-list{max-height:48vh}.business-import-row{grid-template-columns:1fr}.business-import-row>strong{justify-self:start}.business-import-modal .modal-actions,.business-import-review .modal-actions,.business-import-final .modal-actions{display:grid;grid-template-columns:1fr}.business-import-modal .modal-actions .btn,.business-import-review .modal-actions .btn,.business-import-final .modal-actions .btn{width:100%}}

/* Web V0.13.0 · 能耗收单、复核、月度分析与房间能耗参数 */
.energy-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(128deg,#eef8ff 0%,#f8fcff 57%,#f0fbf6 100%);border-color:#bad8ec}.energy-hero-copy{min-width:0}.energy-hero-copy h3{margin:7px 0 3px;color:#123f6b;font-size:25px}.energy-hero-copy p{margin:0;color:#5d778f;font-size:13.5px;line-height:1.5}.energy-hero-controls{display:flex;align-items:flex-end;gap:10px;flex:0 0 auto}.energy-hero-controls>label{display:grid;gap:4px;color:#55728d;font-size:12px;font-weight:700}.energy-hero-controls input{min-width:155px;min-height:42px;font-size:14px}.energy-hero-controls .page-primary-actions{display:flex;gap:7px;flex-wrap:wrap}.energy-hero-controls .btn{min-height:42px;font-size:13px}
.energy-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:54px;margin:12px 0 14px;padding:5px}.energy-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;height:44px;min-height:44px;padding:7px 14px;font-size:14px}.energy-tabs button b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#e5edf5;color:#46647e;font-size:11px}.energy-tabs button.active b{background:#fff;color:#1469bb}.energy-pane{min-height:320px}
.energy-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:12px}.energy-kpis>button{min-width:0;min-height:96px;padding:12px 13px;border:1px solid #d2e0eb;border-radius:13px;background:#fff;text-align:left;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.energy-kpis>button:hover{transform:translateY(-1px);border-color:#78add9;box-shadow:0 7px 18px rgba(34,91,139,.09)}.energy-kpis>button.warn{background:#fffaf1;border-color:#eed7a8}.energy-kpis>button.danger-lite{background:#fff5f3;border-color:#efc0b7}.energy-kpis small,.energy-kpis b,.energy-kpis span{display:block}.energy-kpis small{color:#648099;font-size:11.5px;font-weight:750}.energy-kpis b{margin:6px 0 4px;color:#124f85;font-size:24px;line-height:1.05}.energy-kpis .warn b{color:#a16c12}.energy-kpis .danger-lite b{color:#b13d32}.energy-kpis span{overflow:hidden;color:#8193a4;font-size:10.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.energy-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px}.energy-ranking-panel,.energy-anomaly-panel{min-width:0;padding:15px}.energy-overview-grid .panel-head{margin:0 0 11px}.energy-overview-grid .panel-head h3{font-size:17px}.energy-overview-grid .panel-head p{font-size:11.5px}.energy-overview-grid .panel-head select{min-width:112px;min-height:37px;font-size:13px}.energy-ranking-list,.energy-anomaly-list{display:grid;gap:7px}.energy-ranking-list>button,.energy-anomaly-list>button{display:grid;align-items:center;width:100%;min-height:57px;padding:9px 11px;border:1px solid #d8e4ee;border-radius:10px;background:#f9fbfd;color:#244e73;text-align:left;cursor:pointer}.energy-ranking-list>button{grid-template-columns:34px minmax(0,1fr) auto;gap:9px}.energy-ranking-list>button:hover,.energy-anomaly-list>button:hover{border-color:#8eb9dd;background:#f1f8fe}.energy-rank-no{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e2effb;color:#1c66a7;font-size:12px;font-weight:850}.energy-ranking-list b,.energy-ranking-list small{display:block}.energy-ranking-list b{font-size:14px}.energy-ranking-list small{margin-top:2px;color:#74899c;font-size:11px}.energy-ranking-list strong{color:#15588f;font-size:15px}.energy-anomaly-list>button{grid-template-columns:minmax(0,1fr) auto;gap:9px}.energy-anomaly-list b,.energy-anomaly-list span,.energy-anomaly-list small{display:block}.energy-anomaly-list b{font-size:14px}.energy-anomaly-list span{margin-top:3px;color:#637d94;font-size:11.5px}.energy-anomaly-list small{margin-top:3px;color:#8796a4;font-size:10.5px}.energy-anomaly-level{align-self:center;padding:5px 8px;border-radius:8px;background:#fff0ed;color:#b44135;font-size:11px;font-weight:800}.energy-analysis-disclaimer{margin-top:9px;padding:8px 10px;border-radius:8px;background:#f5f8fb;color:#778a9b;font-size:11px;line-height:1.45}
.energy-progress-panel,.energy-ledger-panel{padding:15px 16px}.energy-progress-head{align-items:flex-start;margin:0 0 11px}.energy-progress-head h3,.energy-ledger-head h3{font-size:18px}.energy-progress-head p,.energy-ledger-head span,.energy-ledger-head small{font-size:11.5px}.energy-type-toggles{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.energy-type-toggles label{display:flex;align-items:center;gap:5px;min-height:35px;padding:5px 8px;border:1px solid #d0dfeb;border-radius:8px;background:#fff;color:#355b7c;font-size:12px;font-weight:700}.energy-type-toggles input{width:16px;height:16px;margin:0}.energy-progress-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.energy-progress-summary>div{padding:10px 12px;border:1px solid #d7e4ee;border-radius:10px;background:#f6faff}.energy-progress-summary small,.energy-progress-summary b{display:block}.energy-progress-summary small{color:#668198;font-size:11px}.energy-progress-summary b{margin-top:4px;color:#16558c;font-size:19px}.energy-progress-columns{display:grid;grid-template-columns:1.25fr .75fr;gap:13px}.energy-progress-columns>div{min-width:0;padding:12px;border:1px solid #d9e5ee;border-radius:11px;background:#fbfcfe}.energy-progress-columns h4{margin:0 0 7px;color:#214f77;font-size:15px}.energy-progress-columns>div>p{margin:-3px 0 8px;color:#74889b;font-size:11px}.energy-progress-list{display:grid;gap:6px;max-height:52vh;overflow:auto}.energy-progress-list>button,.energy-progress-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:47px;padding:8px 10px;border:1px solid #dce6ee;border-radius:9px;background:#fff;text-align:left}.energy-progress-list>button{cursor:pointer}.energy-progress-list>button:hover{border-color:#84b3db;background:#f3f9ff}.energy-progress-list b,.energy-progress-list small{display:block}.energy-progress-list b{color:#244f74;font-size:13px}.energy-progress-list small{margin-top:2px;color:#7a8c9c;font-size:10.5px}.energy-progress-list span{color:#bc493c;font-size:11px;font-weight:750}.energy-progress-list.account span{color:#a67220}
.energy-filter-grid{display:grid;grid-template-columns:minmax(260px,2fr) repeat(4,minmax(125px,1fr)) auto auto;gap:8px}.energy-filter-grid input,.energy-filter-grid select,.energy-filter-grid .btn{min-height:41px;font-size:13px}.energy-ledger-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:14px 0 9px;padding-top:11px;border-top:1px solid #dbe5ed}.energy-ledger-head>div{display:flex;align-items:baseline;gap:8px}.energy-ledger-head small{color:#75899c;text-align:right}.energy-bill-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:9px}.energy-bill-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;min-width:0;padding:12px;border:1px solid #d7e3ed;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}.energy-bill-card:hover{border-color:#78acd5;box-shadow:0 7px 17px rgba(30,81,124,.08)}.energy-bill-card.is-void{opacity:.67}.energy-bill-card.is-warning{border-color:#edc799;background:#fffaf2}.energy-bill-photo{display:grid;place-items:center;width:92px;height:100px;overflow:hidden;border-radius:9px;background:#edf3f8;color:#7390a7;font-size:11px}.energy-bill-photo img{width:100%;height:100%;object-fit:cover}.energy-bill-main{min-width:0}.energy-bill-main>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.energy-bill-main h4{margin:0;color:#174c78;font-size:16px}.energy-bill-main header p{margin:3px 0 0;color:#70869a;font-size:11.5px}.energy-status{flex:0 0 auto;padding:4px 7px;border-radius:7px;background:#eaf4ff;color:#1d68a8;font-size:10.5px;font-weight:800}.energy-status.is-warning{background:#fff0d9;color:#a56a0d}.energy-status.is-done{background:#eaf8ef;color:#287447}.energy-status.is-void{background:#f2f3f4;color:#727b83}.energy-bill-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.energy-bill-meta>span{min-width:0;padding:7px 8px;border-radius:8px;background:#f3f7fa}.energy-bill-meta small,.energy-bill-meta b{display:block}.energy-bill-meta small{color:#7c8f9f;font-size:9.5px}.energy-bill-meta b{overflow:hidden;margin-top:2px;color:#315a7d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.energy-bill-main>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px dashed #d9e3eb;color:#7a8d9d;font-size:10.5px}.energy-bill-main>footer strong{color:#185d94;font-size:15px}.energy-bill-main .row-actions{display:flex;gap:5px}.energy-bill-main .btn{min-height:32px;padding:5px 8px;font-size:11.5px}
.modal.modal-energy{width:min(920px,calc(100vw - 24px));max-height:92vh}.energy-edit-modal,.energy-detail-modal,.energy-review-modal{font-size:14px}.energy-form-intro{display:flex;align-items:center;justify-content:space-between;gap:11px;margin-bottom:9px;padding:9px 11px;border:1px solid #bad7ec;border-radius:10px;background:#edf7ff}.energy-form-intro b{color:#165282;font-size:15px}.energy-form-intro span{color:#667f95;font-size:11.5px;line-height:1.45}.energy-form-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}.energy-form-tabs button{min-height:43px;border:1px solid #cbdce9;border-radius:9px;background:#f6f9fc;color:#48677f;font-size:13px;font-weight:750;cursor:pointer}.energy-form-tabs button.active{border-color:#2976c4;background:#eaf4ff;color:#155f9e;box-shadow:0 0 0 2px rgba(41,118,196,.09)}.energy-form-pane{min-height:290px}.energy-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.energy-form-grid label{min-width:0;color:#365a79;font-size:12.5px;font-weight:700}.energy-form-grid label.full,.energy-form-grid .full{grid-column:1/-1}.energy-form-grid input,.energy-form-grid select,.energy-form-grid textarea{width:100%;min-height:42px;margin-top:4px;padding:8px 10px;font-size:14px}.energy-form-grid textarea{line-height:1.5}.energy-account-preview,.energy-period-help{padding:9px 11px;border:1px solid #d6e2ec;border-radius:9px;background:#f6f9fc;color:#5e778e;font-size:12px;line-height:1.5}.energy-photo-required{padding:11px;border:2px solid #d93025;border-radius:10px;background:#fffafa}.energy-note-label{display:grid}.energy-sticky-actions{position:sticky;bottom:-12px;z-index:4;margin:12px -14px -14px;padding:11px 14px;background:rgba(255,255,255,.96);border-top:1px solid #d7e2eb;backdrop-filter:blur(8px)}.energy-sticky-actions .btn{min-height:40px;font-size:13px}.energy-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:11px;background:linear-gradient(135deg,#eaf5ff,#f8fcff)}.energy-detail-head h3{margin:0;color:#174d78;font-size:21px}.energy-detail-head p{margin:4px 0 0;color:#668198;font-size:12px}.energy-detail-section{margin-top:10px;padding:12px 13px;border:1px solid #d8e4ed;border-radius:11px}.energy-detail-section h4{margin:0 0 8px;color:#245478;font-size:15px}.energy-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.energy-detail-grid>div{min-width:0;padding:8px 9px;border-radius:8px;background:#f4f8fb}.energy-detail-grid small,.energy-detail-grid b{display:block}.energy-detail-grid small{color:#768b9e;font-size:10.5px}.energy-detail-grid b{overflow-wrap:anywhere;margin-top:3px;color:#2e5678;font-size:13.5px}.energy-detail-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}.energy-detail-photo{overflow:hidden;border:1px solid #d5e2ec;border-radius:9px;background:#f5f8fa;cursor:pointer}.energy-detail-photo img{display:block;width:100%;height:120px;object-fit:cover}.energy-detail-photo span{display:block;overflow:hidden;padding:6px 7px;color:#5a748b;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.energy-review-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}.energy-review-context>div{padding:8px 9px;border-radius:8px;background:#f3f7fa}.energy-review-context small,.energy-review-context b{display:block}.energy-review-context small{color:#74899c;font-size:10.5px}.energy-review-context b{margin-top:3px;color:#285473;font-size:13px}.energy-review-warning{padding:9px 11px;border:1px solid #efd49f;border-radius:9px;background:#fff9ed;color:#836121;font-size:12px;line-height:1.5}.energy-review-summary{margin-top:9px;color:#405f79;font-size:13px}.energy-review-modal label{display:grid;margin-top:9px;color:#355a79;font-size:12.5px;font-weight:700}.energy-review-modal select,.energy-review-modal textarea{min-height:41px;margin-top:4px;font-size:14px}.location-utility-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;grid-column:1/-1;padding:10px;border:1px solid #c8dce9;border-radius:10px;background:#f3f9fd}.location-utility-fields>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px;grid-column:1/-1}.location-utility-fields>div:first-child b{color:#1e5e91;font-size:13px}.location-utility-fields>div:first-child span{color:#6b8296;font-size:11px}
@media(max-width:1200px){.energy-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.energy-filter-grid{grid-template-columns:2fr repeat(3,1fr)}.energy-filter-grid>*:nth-child(n+6){width:100%}.energy-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.energy-hero{align-items:stretch;flex-direction:column}.energy-hero-controls{align-items:stretch;flex-direction:column}.energy-hero-controls>label input{width:100%}.energy-hero-controls .page-primary-actions{display:grid;grid-template-columns:repeat(4,1fr)}.energy-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-overview-grid,.energy-progress-columns{grid-template-columns:1fr}.energy-filter-grid{grid-template-columns:1fr 1fr}.energy-filter-grid>input:first-child{grid-column:1/-1}.energy-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-detail-grid,.energy-review-context,.location-utility-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.energy-hero{padding:13px}.energy-hero-copy h3{font-size:21px}.energy-hero-copy p{font-size:12.5px}.energy-hero-controls .page-primary-actions{grid-template-columns:1fr 1fr}.energy-tabs{height:50px}.energy-tabs button{height:40px;min-height:40px;padding:5px;font-size:12px}.energy-kpis>button{min-height:86px;padding:10px}.energy-kpis b{font-size:21px}.energy-overview-grid .panel,.energy-progress-panel,.energy-ledger-panel{padding:10px}.energy-progress-summary{grid-template-columns:1fr 1fr}.energy-filter-grid,.energy-form-grid,.energy-detail-grid,.energy-review-context,.location-utility-fields{grid-template-columns:1fr}.energy-filter-grid>*{grid-column:1!important}.energy-bill-card{grid-template-columns:74px minmax(0,1fr);gap:9px;padding:9px}.energy-bill-photo{width:74px;height:92px}.energy-bill-meta{grid-template-columns:1fr 1fr}.modal.modal-energy{width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}.energy-form-pane{min-height:0}.energy-detail-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Web V0.11.7 · 客人遗留字号、紧凑登记与转寄存/转资产双确认 */
.lost-found-register-modal{padding:10px 12px;font-size:14px}.lost-found-register-identity{margin-bottom:7px;padding:7px 10px}.lost-found-register-identity span{font-size:12px}.lost-found-register-identity b{font-size:15px}.lost-found-register-identity small{font-size:11px;line-height:1.35}
.lost-found-register-core{gap:6px 8px}.lost-found-register-modal label{margin:1px 0;color:#355876;font-size:12.5px;font-weight:700;line-height:1.3}.lost-found-register-modal input,.lost-found-register-modal select,.lost-found-register-modal textarea{min-height:40px;margin-top:3px;padding:8px 9px;border-radius:8px;color:#173c60;font-size:14px;font-weight:500}.lost-found-register-modal textarea{line-height:1.4}
.lost-found-register-section-head{margin:8px 0 6px;padding-top:7px}.lost-found-register-section-head h3{font-size:16px}.lost-found-register-section-head p{font-size:11.5px}.lost-found-register-section-head .btn{min-height:36px;font-size:12.5px}.lost-found-register-items{gap:7px}.lost-found-register-item{padding:8px 9px}.lost-found-register-item-head{margin-bottom:5px}.lost-found-register-item-head b{font-size:14px}.lost-found-register-item-head .btn{min-height:31px;font-size:11.5px}
.lost-found-register-item .lost-found-register-item-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:6px 8px}.lost-found-register-item-grid .lf-field-name{grid-column:span 4!important}.lost-found-register-item-grid .lf-field-category{grid-column:span 2!important}.lost-found-register-item-grid .lf-field-quantity{grid-column:span 1!important}.lost-found-register-item-grid .lf-field-storage{grid-column:span 3!important}.lost-found-register-item-grid .lf-field-custodian{grid-column:span 2!important}.lost-found-register-item-grid .lost-found-photo-field{grid-column:1/-1!important}.lost-found-register-item label>small{margin-top:2px;font-size:10.5px;line-height:1.25}
.lost-found-photo-field{gap:5px;padding:7px 8px}.lost-found-photo-head b{font-size:13px}.lost-found-photo-head small{font-size:11px}.lost-found-photo-actions .btn{min-height:34px;font-size:12px}.lost-found-photo-preview{min-height:38px}.lost-found-sticky-actions{margin-top:8px;padding-top:8px}.lost-found-sticky-actions .btn{min-height:38px;font-size:13px}

.lost-found-detail-modal{padding:12px 14px}.lost-found-order-summary{padding:11px 12px}.lost-found-order-summary small{font-size:12px}.lost-found-order-summary strong{font-size:20px}.lost-found-order-summary b{font-size:22px}.lost-found-order-summary span{font-size:13px}.lost-found-detail-modal .luggage-detail-meta{gap:8px;padding:8px 3px;font-size:12.5px;line-height:1.45}.lost-found-select-all{font-size:13px}.lost-found-item-list{gap:8px}.lost-found-item-card{padding:10px 11px}.lost-found-item-card>header b{font-size:15px;line-height:1.4}.lost-found-item-card>header small{font-size:12px}.lost-found-item-card>header .status-pill{font-size:11px}.lost-found-item-card>p{margin:7px 0;font-size:13px;line-height:1.45}.lost-found-item-meta{gap:6px}.lost-found-item-meta>span{padding:7px 8px;font-size:13px;line-height:1.4}.lost-found-item-meta small{font-size:11px}.lost-found-item-history summary{font-size:13px;font-weight:750}.lost-found-timeline p{font-size:13px;line-height:1.45}.lost-found-timeline small{font-size:11px}.lost-found-timeline span{font-size:12px}.lost-found-detail-actions .btn{min-height:37px;padding:7px 11px;font-size:13px}

.lost-found-action-modal{padding:13px 15px}.lost-found-action-modal label{font-size:13px;font-weight:700;line-height:1.4}.lost-found-action-modal input,.lost-found-action-modal select,.lost-found-action-modal textarea{min-height:41px;margin-top:4px;padding:8px 10px;font-size:14px}.lost-found-action-modal textarea{line-height:1.5}.lost-found-action-modal .asset-edit-note,.lost-found-action-modal .risk-warning{font-size:13px;line-height:1.5}.lost-found-action-modal .risk-warning b{font-size:15px}.lost-found-action-modal .risk-warning span{font-size:12.5px}.lost-found-contact-modal{font-size:14px}.lost-found-contact-modal .risk-confirm-check{font-size:13px;font-weight:650}.lost-found-contact-modal .modal-actions .btn{min-height:40px;font-size:13px}

.lost-found-conversion-modal{display:grid;gap:10px}.lost-found-conversion-step{display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid #b8d4ec;border-radius:11px;background:linear-gradient(135deg,#eaf5ff,#f8fbff)}.lost-found-conversion-step.final{border-color:#e3beb5;background:linear-gradient(135deg,#fff2ef,#fffafa)}.lost-found-conversion-step i{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#1e6fc5;color:#fff;font-size:15px;font-style:normal;font-weight:850}.lost-found-conversion-step.final i{background:#bc4a3d}.lost-found-conversion-step b,.lost-found-conversion-step span{display:block}.lost-found-conversion-step b{color:#194d7c;font-size:16px}.lost-found-conversion-step.final b{color:#943c33}.lost-found-conversion-step span{margin-top:2px;color:#647d94;font-size:12.5px;line-height:1.45}
.lost-found-conversion-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.lost-found-conversion-context.asset{grid-template-columns:repeat(4,minmax(0,1fr))}.lost-found-conversion-context>span{min-width:0;padding:8px 10px;border-radius:9px;background:#f2f7fb}.lost-found-conversion-context small,.lost-found-conversion-context b{display:block}.lost-found-conversion-context small{color:#75889c;font-size:11px}.lost-found-conversion-context b{margin-top:3px;color:#244c72;font-size:13.5px;overflow-wrap:anywhere}.lost-found-conversion-customer{grid-template-columns:1fr 2fr!important;gap:8px!important}.lost-found-conversion-list{display:grid;gap:7px;max-height:42vh;overflow:auto;padding-right:3px}.lost-found-luggage-map{display:grid;grid-template-columns:minmax(280px,1.45fr) minmax(160px,.6fr) minmax(190px,.75fr);gap:8px;align-items:end;padding:9px;border:1px solid #d5e2ed;border-radius:10px;background:#fbfdff}.lost-found-conversion-source{display:grid;grid-template-columns:minmax(0,1.4fr) 60px minmax(120px,.8fr);gap:6px;min-width:0}.lost-found-conversion-source>div{min-width:0;padding:7px 8px;border-radius:8px;background:#f1f6fa}.lost-found-conversion-source small,.lost-found-conversion-source b{display:block}.lost-found-conversion-source small{color:#78899a;font-size:10.5px}.lost-found-conversion-source b{margin-top:2px;color:#244a6e;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.lost-found-conversion-review-row{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(130px,.5fr) minmax(180px,.7fr);gap:8px;padding:9px;border:1px solid #d5e2ed;border-radius:10px;background:#fff}.lost-found-conversion-review-row>span{padding:7px 8px;border-radius:8px;background:#f5f8fb}.lost-found-conversion-review-row>span small,.lost-found-conversion-review-row>span b{display:block}.lost-found-conversion-review-row>span small{color:#77899c;font-size:10.5px}.lost-found-conversion-review-row>span b{margin-top:2px;color:#244a6e;font-size:13px}.lost-found-conversion-modal .business-import-confirm{font-size:13px}

@media(max-width:900px){
  .lost-found-register-item .lost-found-register-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lost-found-register-item-grid>*{grid-column:auto!important}.lost-found-register-item-grid .lf-field-name,.lost-found-register-item-grid .lost-found-photo-field{grid-column:1/-1!important}
  .lost-found-conversion-context.asset{grid-template-columns:repeat(2,minmax(0,1fr))}.lost-found-luggage-map,.lost-found-conversion-review-row{grid-template-columns:1fr 1fr}.lost-found-luggage-map .lost-found-conversion-source,.lost-found-conversion-review-row .lost-found-conversion-source{grid-column:1/-1}
}
@media(max-width:700px){
  .lost-found-register-modal label,.lost-found-action-modal label{font-size:12.5px}.lost-found-register-modal input,.lost-found-register-modal select,.lost-found-action-modal input,.lost-found-action-modal select,.lost-found-action-modal textarea{font-size:14px}.lost-found-register-item .lost-found-register-item-grid{grid-template-columns:1fr!important}.lost-found-register-item-grid>*{grid-column:1!important}
  .lost-found-detail-modal{padding:9px!important}.lost-found-order-summary strong{font-size:18px}.lost-found-item-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.lost-found-detail-actions{display:grid;grid-template-columns:1fr 1fr}.lost-found-detail-actions .btn{width:100%}
  .lost-found-conversion-context,.lost-found-conversion-context.asset,.lost-found-conversion-customer,.lost-found-luggage-map,.lost-found-conversion-review-row{grid-template-columns:1fr!important}.lost-found-luggage-map .lost-found-conversion-source,.lost-found-conversion-review-row .lost-found-conversion-source{grid-column:1}.lost-found-conversion-source{grid-template-columns:1fr 64px}.lost-found-conversion-source>div:last-child{grid-column:1/-1}.lost-found-conversion-modal .modal-actions{display:grid;grid-template-columns:1fr}.lost-found-conversion-modal .modal-actions .btn{width:100%}
}
@media(max-width:460px){.lost-found-item-meta{grid-template-columns:1fr}.lost-found-detail-actions{grid-template-columns:1fr}.lost-found-conversion-source{grid-template-columns:1fr}}

/* Web V0.11.8 · 遗留处置检索、本人待办与固定资产来源 */
.lost-found-filter-row{grid-template-columns:minmax(230px,1.35fr) repeat(3,minmax(150px,.72fr)) auto auto}
.approval-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}.approval-lost-found-panel{margin-bottom:12px}.lost-found-todo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.lost-found-todo-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #d6e3ee;border-left:4px solid #2a73bd;border-radius:11px;background:#fff}.lost-found-todo-card.urgent{border-color:#edc4bb;border-left-color:#c34b3e;background:#fffafa}.lost-found-todo-state{display:grid;justify-items:start;gap:3px}.lost-found-todo-state b{color:#174d81;font-size:22px;line-height:1}.lost-found-todo-state small{color:#74869a;font-size:11px}.lost-found-todo-card>div:nth-child(2){display:grid;gap:4px;min-width:0}.lost-found-todo-card>div:nth-child(2) strong{color:#234c72;font-size:14px}.lost-found-todo-card>div:nth-child(2) small{color:#6e8296;font-size:11.5px;line-height:1.4;overflow-wrap:anywhere}
.lost-found-fixed-source{display:grid;align-content:center;min-height:67px;padding:8px 10px;border:1px solid #bcd6ed;border-radius:9px;background:#edf7ff}.lost-found-fixed-source small,.lost-found-fixed-source b,.lost-found-fixed-source span{display:block}.lost-found-fixed-source small{color:#668099;font-size:11px}.lost-found-fixed-source b{margin-top:3px;color:#16558e;font-size:14px}.lost-found-fixed-source span{margin-top:2px;color:#71869a;font-size:10.5px}.lost-found-fixed-source.missing{border-color:#e3afa5;background:#fff4f1}.lost-found-fixed-source.missing b,.lost-found-fixed-source.missing span{color:#aa3f33}

@media(max-width:1050px){.approval-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lost-found-todo-list{grid-template-columns:1fr}}
@media(max-width:700px){.lost-found-filter-row{grid-template-columns:1fr 1fr!important}.approval-summary{grid-template-columns:1fr 1fr!important}.lost-found-todo-card{grid-template-columns:78px minmax(0,1fr)}.lost-found-todo-card>.btn{grid-column:1/-1;width:100%}}
@media(max-width:460px){.lost-found-filter-row{grid-template-columns:1fr!important}.lost-found-filter-row>*{grid-column:1!important}.lost-found-todo-card{grid-template-columns:1fr}.lost-found-todo-state{grid-template-columns:auto auto auto;align-items:center;justify-content:start}.lost-found-todo-card>.btn{grid-column:1}}

/* Web V0.11.9 · 通信线路导入指引、合同字段说明与缴费提醒预览 */
.business-import-guide{border:1px solid #c9ddec;border-radius:12px;background:#fbfdff;overflow:hidden}.business-import-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;list-style:none;cursor:pointer;background:linear-gradient(90deg,#edf6ff,#f8fbff)}.business-import-guide>summary::-webkit-details-marker{display:none}.business-import-guide>summary b{color:#174f80;font-size:15px}.business-import-guide>summary span{color:#71869a;font-size:11.5px}.business-import-guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px 12px 7px}.business-import-guide-list>div{min-width:0;padding:8px 9px;border-radius:8px;background:#f2f7fb}.business-import-guide-list b,.business-import-guide-list span{display:block}.business-import-guide-list b{color:#24567f;font-size:12.5px}.business-import-guide-list span{margin-top:3px;color:#637b91;font-size:11.5px;line-height:1.45}.business-import-example{margin:0 12px 8px;padding:9px 10px;border-left:4px solid #2a73bd;border-radius:8px;background:#eaf5ff}.business-import-example small,.business-import-example b{display:block}.business-import-example small{color:#6c8297;font-size:10.5px}.business-import-example b{margin-top:3px;color:#1e4d78;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.business-import-guide>p{margin:0 12px 11px;color:#59758e;font-size:11.5px;line-height:1.45}
.network-billing-guide,.network-billing-explain,.network-billing-behavior{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.network-billing-guide>div,.network-billing-explain>div,.network-billing-behavior>div{min-width:0;padding:9px 10px;border:1px solid #cfe0ee;border-radius:9px;background:#f3f8fc}.network-billing-guide b,.network-billing-guide span,.network-billing-explain b,.network-billing-explain span,.network-billing-behavior small,.network-billing-behavior b{display:block}.network-billing-guide b{color:#185383;font-size:12px}.network-billing-guide span{margin-top:3px;color:#5f7890;font-size:10.5px;line-height:1.45}.network-billing-behavior{padding:9px;border:1px solid #bdd8ee;border-radius:10px;background:#edf7ff}.network-billing-behavior>div{border:0;background:#fff}.network-billing-behavior small{color:#70869b;font-size:10.5px}.network-billing-behavior b{margin-top:3px;color:#265273;font-size:11.5px;line-height:1.45}.network-switch-explained{align-items:flex-start!important;margin-top:0!important}.network-switch-explained>span{display:grid;gap:2px;min-width:0}.network-switch-explained>span>b{font-size:12.5px}.network-switch-explained>span>small{color:#647d94;font-size:10.5px;font-weight:500;line-height:1.4}.network-billing-explain{margin-top:9px}.network-billing-explain>div{background:linear-gradient(135deg,#eff7fd,#f9fcff)}.network-billing-explain b{color:#1d527d;font-size:12.5px}.network-billing-explain span{margin-top:3px;color:#607a91;font-size:11.5px;line-height:1.45}
.network-payment-tip>div b,.network-payment-tip>div span{display:block}.network-payment-tip>strong{flex:0 0 auto;padding:7px 10px;border-radius:8px;background:#fff;color:#1d6b3b;font-size:12px;line-height:1.4}.network-payment-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;border:1px solid #b9d8ee;border-radius:10px;background:#edf7ff}.network-payment-preview>div{padding:8px 9px;border-radius:8px;background:#fff}.network-payment-preview small,.network-payment-preview b{display:block}.network-payment-preview small{color:#6f8599;font-size:10.5px}.network-payment-preview b{margin-top:3px;color:#155b94;font-size:13px}.network-payment-preview p{grid-column:1/-1;margin:0;padding:7px 8px;color:#4d6c85;font-size:11.5px;line-height:1.45}.network-payment-preview p.warn{border-radius:7px;background:#fff4e5;color:#875c1d}.network-payment-actual-confirm{display:flex!important;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid #b9dcc5;border-radius:10px;background:#f1fbf4;color:#255f3a!important}.network-payment-actual-confirm input{flex:0 0 auto;width:19px!important;min-height:19px!important;margin:1px 0 0!important}.network-payment-actual-confirm span{display:grid;gap:2px}.network-payment-actual-confirm b{font-size:12.5px}.network-payment-actual-confirm small{color:#567a63;font-size:10.5px;font-weight:500;line-height:1.4}
@media(max-width:900px){.network-billing-guide,.network-billing-explain,.network-billing-behavior{grid-template-columns:1fr}.business-import-guide-list{grid-template-columns:1fr}}
@media(max-width:700px){.business-import-guide>summary{align-items:flex-start;flex-direction:column;gap:2px}.network-payment-preview{grid-template-columns:1fr}.network-payment-preview p{grid-column:1}.network-payment-tip>strong{width:100%;box-sizing:border-box}.network-billing-guide>div,.network-billing-explain>div,.network-billing-behavior>div{padding:8px 9px}}

/* Web V0.12.0 · 备料表去目录化：配置表/模板内直接维护物品行 */
.prep-tabs{grid-template-columns:repeat(4,minmax(150px,1fr))}.prep-tabs button{font-size:14px}
#demandCreatePanel .panel-head p,[data-prep-pane="progress"] .panel-head p{font-size:12.5px;line-height:1.5}
.config-process-sheet table{min-width:2020px;font-size:12px}.config-process-sheet thead tr:first-child th{font-size:12px}.config-process-sheet input,.config-process-sheet select{min-height:36px;padding:6px 8px;font-size:12px}
.config-process-sheet td:nth-child(1){width:130px;min-width:130px}.config-process-sheet td:nth-child(2){width:105px;min-width:105px}.config-process-sheet td:nth-child(3){width:80px;min-width:80px}.config-process-sheet td:nth-child(4){width:210px;min-width:210px}
.config-process-sheet td.config-sticky.priority{left:130px}.config-process-sheet td.config-sticky.code{left:235px}.config-process-sheet td.config-sticky.name{left:315px}.config-process-sheet thead tr:nth-child(2) th:nth-child(2){left:130px}.config-process-sheet thead tr:nth-child(2) th:nth-child(3){left:235px}.config-process-sheet thead tr:nth-child(2) th:nth-child(4){left:315px}
.config-process-sheet td.config-sticky input,.config-process-sheet td.config-sticky select{font-weight:700;color:#173f67}.config-process-sheet td.config-sticky.name input{font-weight:750}
.config-template-sheet{min-width:1280px;font-size:13px}.config-template-sheet input,.config-template-sheet select{min-height:38px;padding:7px 9px;font-size:13px}.config-template-sheet th:nth-child(4){width:22%}.config-template-sheet th:nth-child(7){width:17%}.config-template-sheet th:nth-child(8){width:11%}.config-template-sheet tr.inactive{opacity:.55}
.config-template-actions .cfg-use-template{order:-1}.config-category-table td,.config-category-table th{font-size:13px}
@media(max-width:720px){.prep-tabs{display:flex;overflow-x:auto}.prep-tabs button{flex:0 0 auto;min-width:130px}.config-process-sheet table{font-size:11px}.config-template-sheet{min-width:1120px}}

/* Web V0.12.1 · 备料表批量草稿、仓库资产分页检索 */
.demand-toolbar{flex-wrap:wrap}.demand-draft-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 9px;border:1px solid #bfd5ec;border-radius:10px;background:#eef6ff}.demand-add-count{display:flex;align-items:center;gap:6px;margin:0;color:#526f8d;font-size:12px;font-weight:700}.demand-add-count input{width:68px;min-height:36px;text-align:center}.demand-select-all{display:flex;align-items:center;gap:6px;margin:0;padding:6px 8px;color:#244e78;font-size:13px;font-weight:750;cursor:pointer}.demand-select-all input,.config-select-cell input{width:19px!important;min-height:19px!important;accent-color:#0b63d8}.config-draft-status{display:block;margin:0 auto 5px;color:#35754b;font-size:11px;font-weight:750}.config-draft-status.unsaved{color:#9a6516}
.config-process-sheet table{min-width:2070px;font-size:13px}.config-process-sheet input,.config-process-sheet select{font-size:13px}.config-process-sheet .config-select-head,.config-process-sheet .config-select-cell{box-sizing:border-box;width:44px!important;min-width:44px!important;text-align:center;position:sticky;left:0;z-index:8;background:#e3edf7}.config-process-sheet .config-select-cell{z-index:4;background:#f4f8fc}.config-process-sheet td:nth-child(1){width:44px;min-width:44px}.config-process-sheet td:nth-child(2){width:130px;min-width:130px}.config-process-sheet td:nth-child(3){width:105px;min-width:105px}.config-process-sheet td:nth-child(4){width:80px;min-width:80px}.config-process-sheet td:nth-child(5){width:210px;min-width:210px}.config-process-sheet td.config-sticky.category{left:44px}.config-process-sheet td.config-sticky.priority{left:174px}.config-process-sheet td.config-sticky.code{left:279px}.config-process-sheet td.config-sticky.name{left:359px}.config-process-sheet thead tr:nth-child(2) th:nth-child(1){left:44px}.config-process-sheet thead tr:nth-child(2) th:nth-child(2){left:174px}.config-process-sheet thead tr:nth-child(2) th:nth-child(3){left:279px}.config-process-sheet thead tr:nth-child(2) th:nth-child(4){left:359px}.config-process-sheet tbody .required-field{border-width:2px!important}
.demand-asset-picker-modal{display:flex;flex-direction:column;min-height:min(680px,78vh)}.demand-picker-guide{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px;padding:11px 13px;border:1px solid #c8dcef;border-radius:10px;background:#edf6ff}.demand-picker-guide b{flex:0 0 auto;color:#164f83;font-size:14px}.demand-picker-guide span{color:#56728f;font-size:13px;line-height:1.5}.demand-picker-search{display:grid;grid-template-columns:minmax(280px,1fr) 150px auto;gap:9px}.demand-picker-search input,.demand-picker-search select{min-height:42px;font-size:14px}.demand-picker-result-info{padding:10px 2px 7px;color:#647b91;font-size:12px}.demand-asset-picker{display:grid;gap:9px;max-height:52vh;overflow:auto;padding:2px 5px 2px 1px}.demand-candidate{display:grid;grid-template-columns:66px 72px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #d5e1ed;border-radius:11px;background:#fff}.demand-candidate:hover{border-color:#91b7e4;background:#f9fcff}.demand-candidate.blocked{opacity:.58;background:#f4f5f7}.demand-candidate-check{display:grid;justify-items:center;gap:3px;margin:0;color:#5e748b;font-size:11px}.demand-candidate-check input{width:19px;min-height:19px}.demand-candidate .choice-thumb{width:72px;height:64px}.demand-candidate-main{display:grid;gap:4px;min-width:0;padding:3px 0;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer;color:#173e66}.demand-candidate-main:hover strong{text-decoration:underline;color:#075fc7}.demand-candidate-main strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.demand-candidate-main small{display:block;color:#5f748a;font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.demand-candidate-detail{white-space:nowrap}.demand-picker-pager{justify-content:center;margin:9px 0 0}.demand-picker-actions{position:sticky;bottom:0;margin-top:auto;padding-top:12px;background:#fff}.demand-picker-actions #dapSelectedInfo{margin-right:auto;font-weight:750;color:#245b91}.drawer.from-demand-picker{z-index:340!important}
@media(max-width:760px){.demand-draft-tools{width:100%}.demand-add-count{flex:1 1 auto}.demand-picker-search{grid-template-columns:1fr 1fr}.demand-picker-search input{grid-column:1/-1}.demand-candidate{grid-template-columns:48px 64px minmax(0,1fr)}.demand-candidate .choice-thumb{width:64px;height:58px}.demand-candidate-detail{grid-column:2/-1;justify-self:start}.demand-picker-guide{display:grid;gap:4px}.demand-asset-picker{max-height:none}.demand-asset-picker-modal{min-height:0}.config-process-sheet table{font-size:12px}}
@media(max-width:480px){.demand-picker-search{grid-template-columns:1fr}.demand-picker-search input{grid-column:1}.demand-candidate{grid-template-columns:42px minmax(0,1fr)}.demand-candidate .choice-thumb{grid-column:2}.demand-candidate-main,.demand-candidate-detail{grid-column:2}.demand-picker-actions{display:grid;grid-template-columns:1fr 1fr}.demand-picker-actions #dapSelectedInfo{grid-column:1/-1}}

/* Web V0.12.2 · 登录可靠性与新建配置表对齐 */
.login-password-field{display:block;position:relative;margin-top:7px}.login-password-field input{margin-top:0!important;padding-right:72px}.login-password-field button{position:absolute;right:7px;top:50%;transform:translateY(-50%);height:30px;min-width:54px;padding:0 10px;border:0;border-radius:7px;background:#edf4ff;color:#1759a1;font-size:13px;font-weight:750;cursor:pointer}.login-password-field button:hover,.login-password-field button:focus-visible{background:#dceaff;outline:2px solid rgba(31,111,235,.22)}.login-progress{margin-top:10px;padding:9px 11px;border:1px solid #bed6ef;border-radius:8px;background:#eef6ff;color:#285d91;font-size:12.5px;line-height:1.45}
.demand-create-grid>.required-label::after{content:none!important;display:none!important}.demand-create-grid>label{align-self:end;margin:0;display:grid;grid-template-rows:18px 44px;gap:6px}.demand-create-grid>label>input,.demand-create-grid>label>select,.demand-create-grid>label>.location-picker{height:44px;min-height:44px;margin:0}.demand-create-grid>label>.location-picker>input{height:44px;min-height:44px;margin:0}.demand-create-grid>.btn{align-self:end;height:44px;min-height:44px;margin:0}
@media(max-width:620px){.demand-create-grid>label{grid-template-rows:auto 44px}}

/* V0.13.0 能耗动态卡片状态与实际DOM对齐 */
.energy-anomaly-list>button{grid-template-columns:auto minmax(0,1fr) auto}.energy-anomaly-list>button.severe{border-color:#efb2a8;background:#fff7f5}.energy-anomaly-list>button>strong{color:#9c4238;font-size:14px}
.energy-progress-list>button{grid-template-columns:minmax(0,1fr) auto auto}.energy-progress-list>div{grid-template-columns:minmax(0,1fr) auto}.energy-progress-list strong{color:#b54c3f;font-size:11px}.energy-progress-list i{padding:4px 7px;border-radius:7px;background:#eaf4ff;color:#1764a6;font-size:10.5px;font-style:normal;font-weight:800}
.energy-bill-card.void{opacity:.67}.energy-bill-card.warn{border-color:#edc799;background:#fffaf2}.energy-bill-main header small{display:block;margin-top:3px;color:#70869a;font-size:11.5px}.energy-bill-main>header>strong{color:#155b91;font-size:17px}.energy-status.warn{background:#fff0d9;color:#a56a0d}.energy-status.done{background:#eaf8ef;color:#287447}.energy-status.void{background:#f2f3f4;color:#727b83}
.energy-detail-photo span,.energy-detail-photo small{display:block;overflow:hidden;padding:5px 7px;color:#5a748b;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.energy-detail-photo small{padding-top:0}.energy-review-context{grid-template-columns:minmax(0,1.5fr) auto minmax(0,1fr);align-items:center}.energy-review-context>div,.energy-review-context>strong,.energy-review-context>span{padding:8px 9px;border-radius:8px;background:#f3f7fa}.energy-review-context>strong{color:#155b91;font-size:18px}.energy-review-context>span{color:#60798e;font-size:12px}
@media(max-width:820px){.energy-review-context{grid-template-columns:1fr 1fr}.energy-review-context>span{grid-column:1/-1}}
@media(max-width:600px){.energy-anomaly-list>button{grid-template-columns:auto minmax(0,1fr)}.energy-anomaly-list>button>strong{grid-column:2}.energy-progress-list>button{grid-template-columns:minmax(0,1fr) auto}.energy-progress-list>button>i{grid-column:1/-1;text-align:center}.energy-review-context{grid-template-columns:1fr}.energy-review-context>span{grid-column:1}}

.approval-energy-panel{margin-bottom:12px}.energy-todo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.energy-todo-card{display:grid;grid-template-columns:minmax(250px,1.25fr) auto minmax(190px,.8fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #d5e3ed;border-left:4px solid #2c75bd;border-radius:11px;background:#fff}.energy-todo-card.warn{border-color:#edd1a8;border-left-color:#d08a20;background:#fffcf5}.energy-todo-card>div{min-width:0}.energy-todo-card>div b,.energy-todo-card>div small{display:block}.energy-todo-card>div b{margin-top:5px;color:#214e75;font-size:14px}.energy-todo-card>div small{margin-top:3px;color:#74899b;font-size:11px}.energy-todo-card>strong{color:#175c93;font-size:17px}.energy-todo-card>span:not(.energy-status){color:#607a90;font-size:11.5px;line-height:1.4}.energy-todo-card>.btn{min-height:35px}
.approval-summary{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:1200px){.approval-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.energy-todo-list{grid-template-columns:1fr}}
@media(max-width:700px){.approval-summary{grid-template-columns:1fr 1fr!important}.energy-todo-card{grid-template-columns:minmax(0,1fr) auto}.energy-todo-card>span:not(.energy-status){grid-column:1/-1}.energy-todo-card>.btn{grid-column:1/-1;width:100%}}

/* Web V0.13.1 · 房态联动、自动单位与 DeepSeek 票据识别 */
.energy-auto-readout{display:grid;align-content:center;min-height:66px;box-sizing:border-box;padding:8px 10px;border:1px solid #cfe0ec;border-radius:9px;background:#f4f9fd}.energy-auto-readout small,.energy-auto-readout b,.energy-auto-readout span{display:block}.energy-auto-readout small{color:#71869a;font-size:11px}.energy-auto-readout b{margin-top:3px;color:#17613d;font-size:14px}.energy-auto-readout span{margin-top:2px;color:#70859a;font-size:10.5px;line-height:1.35}
.energy-ai-box{margin-top:10px;padding:12px 13px;border:1px solid #a8c9ea;border-radius:12px;background:linear-gradient(135deg,#edf7ff,#f9fcff)}.energy-ai-box.disabled{filter:saturate(.55);opacity:.8}.energy-ai-box>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.energy-ai-box>header>div{display:flex;align-items:center;gap:10px}.energy-ai-mark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,#126bd1,#6846d9);color:#fff;font-size:13px;font-weight:900}.energy-ai-box header b,.energy-ai-box header small{display:block}.energy-ai-box header b{color:#174d80;font-size:15px}.energy-ai-box header small{margin-top:2px;color:#657f97;font-size:11px}.energy-ai-box>p{margin:9px 0;color:#607a91;font-size:11.5px;line-height:1.5}
.energy-ai-result{min-height:48px;padding:10px;border-radius:9px;background:rgba(255,255,255,.85);color:#6a8195;font-size:12px}.energy-ai-result-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.energy-ai-result-head b{color:#17603c}.energy-ai-result-head span{font-size:10.5px}.energy-ai-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.energy-ai-result-grid>div{min-width:0;padding:7px 8px;border:1px solid #d5e4ef;border-radius:7px;background:#fff}.energy-ai-result-grid small,.energy-ai-result-grid b{display:block}.energy-ai-result-grid small{color:#758b9e;font-size:10px}.energy-ai-result-grid b{margin-top:3px;color:#254f73;font-size:12px;overflow-wrap:anywhere}.energy-ai-warnings{display:grid;gap:4px;margin-top:8px}.energy-ai-warnings span{padding:6px 8px;border-radius:7px;background:#fff4df;color:#8c641e;font-size:11px}.energy-ai-loading{display:flex;align-items:center;gap:9px;color:#245c8b}.energy-ai-loading i{width:18px;height:18px;border:2px solid #b6d2e9;border-top-color:#176ec0;border-radius:50%;animation:energy-ai-spin .8s linear infinite}.energy-ai-error{display:grid;gap:3px;color:#a43d34}.energy-ai-error span,.energy-ai-error small{font-size:11px;line-height:1.4}.energy-ai-filled{border-color:#2b7ccc!important;box-shadow:0 0 0 3px rgba(43,124,204,.12)!important;background:#f5faff!important}
@keyframes energy-ai-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.energy-ai-box>header{align-items:flex-start;flex-direction:column}.energy-ai-box>header .btn{width:100%}.energy-ai-result-grid{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.energy-ai-result-grid{grid-template-columns:1fr}}

/* Web V0.13.2 · 能耗票据优先录入与上传初始化修复 */
.energy-capture-intro{margin-bottom:8px;padding:10px 12px;background:linear-gradient(100deg,#e8f4ff,#f3f9ff 58%,#eefaf6)}.energy-capture-intro>div{display:grid;gap:2px}.energy-capture-intro b{font-size:16px}.energy-capture-intro .badge{flex:0 0 auto;padding:6px 10px;background:#fff;color:#1766aa;font-size:11.5px}
.energy-capture-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;font-size:14px}.energy-capture-tabs button>b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#dce7f1;color:#60788f;font-size:12px}.energy-capture-tabs button.active>b{background:#176ed0;color:#fff}.energy-capture-tabs button>span{font-weight:800}
.energy-capture-pane,.energy-review-pane{min-height:0}.energy-capture-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:9px}.energy-capture-flow>div{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid #d7e3ed;border-radius:9px;background:#f7fafc}.energy-capture-flow>div.current{border-color:#9fc6ed;background:#edf7ff}.energy-capture-flow i{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:#dfe8f0;color:#587087;font-size:11px;font-style:normal;font-weight:900}.energy-capture-flow .current i{background:#176ed0;color:#fff}.energy-capture-flow span,.energy-capture-flow b,.energy-capture-flow small{display:block;min-width:0}.energy-capture-flow b{color:#275475;font-size:12.5px}.energy-capture-flow small{margin-top:1px;color:#72879a;font-size:10px;line-height:1.3}
.energy-photo-drop{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:13px 14px;border-color:#e15b50;background:linear-gradient(135deg,#fffafa,#fff 58%,#f5faff)}.energy-photo-copy{display:flex;align-items:center;gap:11px;min-width:0}.energy-photo-copy>div{display:grid;gap:3px;min-width:0}.energy-photo-copy b{color:#244f72;font-size:15px}.energy-photo-copy span{color:#687f93;font-size:11.5px;line-height:1.45}.energy-photo-copy small{color:#257044;font-size:11px;font-weight:750}.energy-photo-icon{display:grid!important;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:13px;background:linear-gradient(145deg,#176fd0,#274d9e);color:#fff!important;font-size:13px!important;font-weight:900;box-shadow:0 7px 16px rgba(25,91,165,.2)}
.energy-photo-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.energy-upload-primary,.energy-upload-secondary{min-height:42px!important;padding:8px 13px!important;font-size:13px!important;font-weight:800!important;white-space:nowrap}.energy-upload-primary{background:#176bd0!important;color:#fff!important;box-shadow:0 5px 12px rgba(23,107,208,.2)}.energy-upload-secondary{border-color:#a8c7e3;background:#fff;color:#205c91}.energy-photo-drop>.qr-upload-panel,.energy-photo-drop>.multi-photo-preview,.energy-photo-drop>small{grid-column:1/-1}.energy-photo-drop>.multi-photo-preview{min-height:76px!important;padding:7px;background:#f8fbfe}.energy-photo-drop>small{color:#5f778d;font-size:11px;font-weight:700}.energy-photo-drop .photo-thumb,.energy-photo-drop .photo-thumb img{height:68px}.energy-photo-drop .photo-thumb{min-height:68px}
.energy-capture-pane .energy-ai-box{margin-top:9px;padding:10px 12px}.energy-capture-pane .energy-ai-box>p{margin:7px 0}.energy-capture-pane .energy-ai-result{min-height:38px;padding:8px 9px}.energy-review-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;padding:9px 11px;border:1px solid #b8d8c3;border-radius:9px;background:#f0faf3}.energy-review-ready b{color:#216d3e;font-size:13.5px}.energy-review-ready span{color:#5f7d69;font-size:11.5px;line-height:1.4}.energy-review-pane .energy-form-grid{gap:7px 9px}.energy-review-pane .energy-account-preview,.energy-review-pane .energy-period-help{padding-block:7px}.energy-review-pane .energy-auto-readout{min-height:61px}.energy-review-pane .energy-note-label textarea{min-height:58px}.energy-sticky-actions{justify-content:flex-end;gap:8px}.energy-sticky-actions .btn.primary{min-width:158px}
@media(max-width:760px){.energy-capture-flow{grid-template-columns:1fr}.energy-capture-flow>div{padding:7px 9px}.energy-photo-drop{grid-template-columns:1fr}.energy-photo-actions{justify-content:stretch}.energy-photo-actions>*{flex:1}.energy-photo-drop>.qr-upload-panel,.energy-photo-drop>.multi-photo-preview,.energy-photo-drop>small{grid-column:1}.energy-review-ready{align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:520px){.energy-capture-intro{align-items:flex-start}.energy-capture-tabs button{gap:5px;padding:5px;font-size:12px}.energy-capture-tabs button>b{width:21px;height:21px}.energy-photo-copy{align-items:flex-start}.energy-photo-icon{flex-basis:43px;width:43px;height:43px;border-radius:11px;font-size:11px!important}.energy-photo-actions{display:grid;grid-template-columns:1fr}.energy-sticky-actions{display:grid;grid-template-columns:1fr 1fr}.energy-sticky-actions .btn{width:100%}.energy-sticky-actions .btn.primary{min-width:0}}

/* Web V0.13.3 · 能耗逐票批量识别、户号回填与双层去重 */
.modal.modal-energy-batch{width:min(1540px,calc(100vw - 20px));max-height:94vh}.energy-batch-modal{padding:12px;font-size:14px}.energy-capture-tabs [data-energy-batch-tab]{position:relative}.energy-capture-tabs [data-energy-batch-tab]>i{display:grid;place-items:center;min-width:24px;height:20px;padding:0 5px;border-radius:10px;background:#dce9f5;color:#275d89;font-size:10px;font-style:normal}.energy-capture-tabs [data-energy-batch-tab].active>i{background:#176ed0;color:#fff}
.energy-batch-pane{min-height:0}.energy-batch-drop{grid-template-columns:minmax(0,1fr) auto}.energy-batch-source-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:7px;grid-column:1/-1;max-height:214px;overflow:auto;padding:8px;border:1px solid #d4e1ec;border-radius:10px;background:#f7fafc}.energy-batch-source{position:relative;display:grid;grid-template-rows:86px auto;min-width:0;overflow:hidden;padding:0;border:2px solid #cfdeea;border-radius:9px;background:#fff;cursor:zoom-in}.energy-batch-source img{width:100%;height:86px;object-fit:cover}.energy-batch-source>span{position:absolute;top:4px;left:4px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:11px;background:rgba(17,69,112,.88);color:#fff;font-size:10px;font-weight:850}.energy-batch-source>small{overflow:hidden;padding:5px 4px;color:#5e778d;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.energy-batch-source.recognizing{border-color:#2a76ca;box-shadow:0 0 0 3px rgba(42,118,202,.12)}.energy-batch-source.ready{border-color:#60af79}.energy-batch-source.error{border-color:#e0a04b}.energy-batch-source.saved{border-color:#5fa878;opacity:.72}
.energy-batch-ai-state{display:grid;grid-template-columns:minmax(250px,1fr) minmax(300px,1.5fr) auto;align-items:center;gap:13px;margin-top:9px;padding:10px 12px;border:1px solid #b8d3ec;border-radius:11px;background:linear-gradient(100deg,#edf7ff,#f8fbff)}.energy-batch-ai-state.disabled{opacity:.75}.energy-batch-ai-state>div:first-child{display:flex;align-items:center;gap:9px}.energy-batch-ai-state p,.energy-batch-ai-state p b,.energy-batch-ai-state p small{display:block;margin:0}.energy-batch-ai-state p b{color:#174f80;font-size:14px}.energy-batch-ai-state p small{margin-top:2px;color:#667f96;font-size:11px}.energy-batch-progress{display:grid;gap:5px}.energy-batch-progress>span{color:#315d82;font-size:12px;font-weight:750}.energy-batch-progress>i{height:8px;overflow:hidden;border-radius:5px;background:#dce8f2}.energy-batch-progress>i>em{display:block;width:0;height:100%;border-radius:5px;background:linear-gradient(90deg,#1371d4,#46a879);transition:width .25s ease}
.energy-batch-review-toolbar{position:sticky;top:-12px;z-index:8;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:8px;padding:9px 10px;border:1px solid #c8dce9;border-radius:10px;background:rgba(245,250,254,.97);backdrop-filter:blur(8px)}.energy-batch-review-toolbar>label{display:flex;align-items:center;gap:7px;color:#234f74;font-size:13px;font-weight:800}.energy-batch-review-toolbar input{width:19px;height:19px;margin:0;accent-color:#176ed0}.energy-batch-review-toolbar>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;color:#627b91;font-size:11.5px}.energy-batch-review-toolbar>div span,.energy-batch-review-toolbar>div strong{padding:4px 7px;border-radius:7px;background:#fff}.energy-batch-review-toolbar .ok{color:#247346}.energy-batch-review-toolbar .warn{color:#94651b}.energy-batch-review-toolbar .danger{color:#af4338}.energy-batch-review-toolbar strong{color:#175f9e}
.energy-batch-column-head,.energy-batch-row{display:grid;grid-template-columns:minmax(225px,1.15fr) 112px 100px minmax(235px,1.25fr) 105px 105px 126px 126px;gap:7px;align-items:start}.energy-batch-column-head{padding:0 9px 6px;color:#698096;font-size:10.5px;font-weight:800}.energy-batch-rows{display:grid;gap:7px;max-height:59vh;overflow:auto;padding:1px 3px 3px}.energy-batch-row{position:relative;padding:8px;border:1px solid #d3e0eb;border-left:4px solid #6ca0ce;border-radius:10px;background:#fff}.energy-batch-row.ready{border-left-color:#4da66b;background:#fbfffc}.energy-batch-row.duplicate{border-color:#efb3ab;border-left-color:#cf5145;background:#fff7f6}.energy-batch-row.incomplete,.energy-batch-row.manual{border-left-color:#d99a38;background:#fffcf5}.energy-batch-row.saved{border-left-color:#5eaa76;background:#f1f8f3;opacity:.74}.energy-batch-row.running{border-left-color:#2474c5;background:#f6fbff}.energy-batch-row>label{display:grid;gap:3px;min-width:0;margin:0}.energy-batch-row>label>small{overflow:hidden;color:#5f7890;font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.energy-batch-row input,.energy-batch-row select{width:100%;min-height:38px;margin:0;padding:6px 7px;border-radius:8px;font-size:13px}.energy-batch-row .required-field{border-width:2px}.energy-batch-room .location-picker{min-width:0}.energy-batch-room .location-suggestions{z-index:30;min-width:300px}.energy-batch-room>span{overflow:hidden;color:#2f729d;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}
.energy-batch-ticket{display:grid;grid-template-columns:auto 64px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0}.energy-batch-ticket>label input{width:19px;height:19px;margin:0;accent-color:#176ed0}.energy-batch-thumb{display:grid;place-items:center;width:64px;height:56px;overflow:hidden;padding:0;border:1px solid #cbdbe7;border-radius:7px;background:#eef4f8;cursor:zoom-in}.energy-batch-thumb img{width:100%;height:100%;object-fit:cover}.energy-batch-ticket>div{display:grid;gap:2px;min-width:0}.energy-batch-ticket b{color:#224e73;font-size:12px}.energy-batch-ticket small{overflow:hidden;color:#76899b;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.energy-batch-status{width:max-content;padding:3px 6px;border-radius:6px;background:#eaf3fb;color:#2c6595;font-size:9px;font-style:normal;font-weight:850}.energy-batch-status.ready,.energy-batch-status.saved{background:#e9f7ed;color:#267346}.energy-batch-status.duplicate{background:#fee9e7;color:#b53f35}.energy-batch-status.incomplete,.energy-batch-status.manual{background:#fff0d7;color:#956315}.energy-batch-remove{align-self:start;width:25px;height:25px;padding:0;border:1px solid #e6b9b3;border-radius:7px;background:#fff;color:#b24b42;font-size:17px;line-height:1;cursor:pointer}.energy-batch-row-note{display:flex;align-items:center;gap:7px;grid-column:1/-1;min-height:24px;padding:5px 8px;border-top:1px dashed #d9e3ec;color:#62798e;font-size:10.5px}.energy-batch-row-note b{color:#b43d34}.energy-batch-row-note span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.energy-batch-row-note .btn{margin-left:auto;white-space:nowrap}
.energy-batch-dedupe-note{display:flex;align-items:flex-start;gap:10px;margin-top:8px;padding:8px 10px;border:1px solid #c6dced;border-radius:9px;background:#eef7ff}.energy-batch-dedupe-note b{flex:0 0 auto;color:#175e97;font-size:12px}.energy-batch-dedupe-note span{color:#5b748b;font-size:11px;line-height:1.45}.energy-batch-actions{margin-inline:-12px;margin-bottom:-12px}.energy-batch-actions #ebbSave{min-width:190px}
@media(max-width:1160px){.energy-batch-column-head{display:none}.energy-batch-row{grid-template-columns:minmax(220px,1.2fr) repeat(3,minmax(130px,1fr))}.energy-batch-ticket{grid-row:span 2}.energy-batch-room{grid-column:span 2}.energy-batch-ai-state{grid-template-columns:1fr auto}.energy-batch-progress{grid-column:1/-1;grid-row:2}.energy-batch-rows{max-height:none}}
@media(max-width:760px){.modal.modal-energy-batch{width:calc(100vw - 8px);height:calc(100dvh - 8px);max-height:calc(100dvh - 8px)}.energy-batch-modal{padding:8px}.energy-batch-drop{grid-template-columns:1fr}.energy-batch-source-preview{grid-template-columns:repeat(3,minmax(0,1fr));max-height:190px}.energy-batch-ai-state{grid-template-columns:1fr}.energy-batch-ai-state>.btn{width:100%}.energy-batch-progress{grid-column:1;grid-row:auto}.energy-batch-review-toolbar{top:-8px;grid-template-columns:1fr auto}.energy-batch-review-toolbar>div{grid-column:1/-1;grid-row:2;justify-content:flex-start}.energy-batch-row{grid-template-columns:1fr 1fr}.energy-batch-ticket{grid-column:1/-1;grid-row:auto}.energy-batch-room{grid-column:1/-1}.energy-batch-row-note{grid-column:1/-1}.energy-batch-actions{margin-inline:-8px;margin-bottom:-8px}}
@media(max-width:480px){.energy-batch-source-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-batch-review-toolbar{grid-template-columns:1fr}.energy-batch-review-toolbar>.btn{width:100%}.energy-batch-review-toolbar>div{grid-row:auto}.energy-batch-row{grid-template-columns:1fr}.energy-batch-room,.energy-batch-row-note{grid-column:1}.energy-batch-ticket{grid-template-columns:auto 58px minmax(0,1fr) auto}.energy-batch-thumb{width:58px;height:52px}.energy-batch-row-note span{white-space:normal}.energy-batch-dedupe-note{display:grid}.energy-batch-actions{grid-template-columns:1fr}.energy-batch-actions .btn{grid-column:1!important}}

/* Web V0.13.4 · 房间导入导出、备料表紧凑命令栏与自动保存 */
.demand-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.demand-icon-button svg,.demand-print-icon svg{flex:0 0 17px;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.demand-commandbar{position:sticky;top:56px;z-index:9;display:flex!important;align-items:stretch;gap:7px;max-width:100%;margin:8px 0 9px;padding:7px;border:1px solid #d6e2ee;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 5px 16px rgba(27,68,109,.07);overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap!important;scrollbar-width:thin}
.demand-tool-group{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-width:0;padding:4px 8px;border:1px solid #dbe5ee;border-radius:9px;background:#f8fafc}.demand-entry-tools{border-color:#c8dced;background:#eef7ff}.demand-function-tools{border-color:#cce3d4;background:#f2faf5}.demand-workflow-tools{background:#fff}.demand-system-tools{padding-inline:4px;background:#f6f7f9}.demand-commandbar .btn{min-height:36px;margin:0;padding:7px 10px;font-size:13px}.demand-commandbar .demand-add-count{gap:5px;font-size:11px}.demand-commandbar .demand-add-count input{width:54px;min-height:34px;height:34px;padding:5px}.demand-commandbar .demand-select-all{padding:5px 3px;font-size:12px}.demand-commandbar .demand-select-all input{width:18px!important;min-height:18px!important}
.demand-autosave-status{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 7px;border-radius:7px;background:#fff;color:#577087;font-size:11px;font-weight:750;white-space:nowrap}.demand-autosave-status i{display:block;width:8px;height:8px;border-radius:50%;background:#8fa5b7}.demand-autosave-status.saved{color:#287347}.demand-autosave-status.saved i{background:#42a363}.demand-autosave-status.pending{color:#22649a}.demand-autosave-status.pending i{background:#2c79c8}.demand-autosave-status.waiting{color:#966414}.demand-autosave-status.waiting i{background:#d99b36}.demand-autosave-status.saving{color:#1c67a4}.demand-autosave-status.saving i{border:2px solid #b7d2e8;border-top-color:#176dcc;background:transparent;animation:energy-ai-spin .75s linear infinite}.demand-autosave-status.error{color:#b33d35;background:#fff4f3}.demand-autosave-status.error i{background:#d65349}
.demand-print-icon{display:grid!important;place-items:center;width:38px;min-width:38px!important;height:36px;padding:0!important;color:#254f73}.demand-print-icon:hover{border-color:#2878c5;background:#edf6ff;color:#1767ad}
#cfgActive{padding:16px 18px}.config-task-head{gap:13px}.config-task-head+.config-workflow-steps{margin-top:9px}.demand-item-filters{margin:8px 0;padding:8px}.demand-detail-list{margin-top:8px}.config-process-sheet{border-radius:10px}
.prep-progress-panel{padding-top:14px}.prep-history-filterbar{display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(220px,1.15fr) minmax(145px,.78fr) minmax(145px,.78fr) auto auto;align-items:end;gap:8px;margin-bottom:11px;padding:9px;border:1px solid #d8e4ef;border-radius:11px;background:#f7fafc}.prep-history-filterbar .task-filter-field{display:grid;gap:4px;min-width:0;margin:0;color:#587087;font-size:11px;font-weight:750}.prep-history-filterbar input,.prep-history-filterbar select{height:38px;min-height:38px;margin:0;padding-block:6px}.prep-history-actions{display:flex;gap:6px;align-items:center}.prep-history-actions .btn{height:38px;min-height:38px;padding:6px 10px}.prep-history-count{align-self:center;min-width:max-content;white-space:nowrap}.prep-progress-panel>.table-wrap{margin-top:0}.demand-history-table th,.demand-history-table td{padding-block:9px}
.parameter-location-io{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.parameter-location-io .btn{min-height:38px}.parameter-location-io+#locationCreateForm{margin-top:0}
@media(max-width:1280px){.prep-history-filterbar{grid-template-columns:minmax(210px,1.35fr) minmax(210px,1.1fr) 145px 145px auto}.prep-history-count{grid-column:1/-1}}
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){.demand-commandbar{position:static}.prep-history-filterbar{grid-template-columns:1fr 1fr}.prep-history-actions{align-self:end}.prep-history-count{grid-column:auto;justify-self:end}}
@media(max-width:620px){#cfgActive{padding:12px 9px}.demand-commandbar{margin-inline:-2px;padding:5px}.demand-tool-group{padding:3px 6px}.prep-history-filterbar{grid-template-columns:1fr}.prep-history-actions{display:grid;grid-template-columns:1fr 1fr}.prep-history-actions .btn{width:100%}.prep-history-count{grid-column:1;justify-self:start}.parameter-location-io{width:100%;display:grid;grid-template-columns:1fr 1fr}.parameter-location-io .btn{width:100%}}

/* Web V0.13.6 · 能耗200票批量识别、百分比进度、图片放大与台账重构 */
.energy-tabs{height:auto;min-height:64px}.energy-tabs button{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-content:center;column-gap:7px;row-gap:1px;height:54px;min-height:54px}.energy-tabs button>span{font-size:14px;font-weight:850}.energy-tabs button>b{align-self:center}.energy-tabs button>small{grid-column:1/-1;color:#7a8da0;font-size:10.5px;font-weight:600}.energy-tabs button.active>small{color:#4d7397}
.energy-ledger-explain{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px;padding:10px 12px;border:1px solid #bdd8ed;border-radius:10px;background:linear-gradient(100deg,#edf7ff,#f8fcff)}.energy-ledger-explain>div{display:grid;gap:2px}.energy-ledger-explain b{color:#175785;font-size:14px}.energy-ledger-explain span{color:#5f7890;font-size:12px;line-height:1.45}.energy-ledger-explain>small{flex:0 0 auto;padding:6px 9px;border-radius:7px;background:#fff;color:#236393;font-size:11px;font-weight:750}
.energy-ledger-quick{display:flex;align-items:center;gap:7px;margin-bottom:9px;padding:7px;overflow-x:auto;border:1px solid #d7e3ed;border-radius:10px;background:#f7fafc;scrollbar-width:thin}.energy-ledger-quick button{flex:0 0 auto;min-height:35px;padding:6px 11px;border:1px solid #ccdae6;border-radius:8px;background:#fff;color:#365b78;font-size:12px;font-weight:750;cursor:pointer}.energy-ledger-quick button:hover{border-color:#74a9d5;background:#f0f7ff}.energy-ledger-quick button.active{border-color:#176ed0;background:#176ed0;color:#fff;box-shadow:0 4px 10px rgba(23,110,208,.18)}.energy-ledger-quick button.danger-lite:not(.active){border-color:#efc0ba;background:#fff7f6;color:#a8483f}
.energy-filter-grid{grid-template-columns:minmax(220px,1.45fr) 150px repeat(4,minmax(122px,.78fr)) auto;align-items:end;padding:9px;border:1px solid #dce6ee;border-radius:10px;background:#fbfcfe}.energy-filter-grid>label{display:grid;gap:4px;min-width:0;color:#5b748b;font-size:10.5px;font-weight:750}.energy-filter-grid>label input,.energy-filter-grid>label select{width:100%;margin:0}.energy-filter-query{min-width:220px}.energy-filter-actions{display:flex;align-items:center;gap:6px}.energy-filter-actions .btn{white-space:nowrap}.energy-ledger-head{margin-top:10px}.energy-bill-amount{display:grid;justify-items:end;flex:0 0 auto}.energy-bill-amount small{color:#70879a;font-size:10px}.energy-bill-amount strong{margin-top:2px;color:#155b91;font-size:18px}.energy-bill-main>header>strong{display:none}
.energy-batch-progress>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.energy-batch-progress>div>span{color:#315d82;font-size:12px;font-weight:750}.energy-batch-progress>div>strong{min-width:48px;color:#1168b5;font-size:16px;text-align:right}.energy-batch-source-preview{grid-template-columns:repeat(auto-fill,minmax(78px,1fr));max-height:250px}.energy-batch-source{grid-template-rows:76px auto}.energy-batch-source img{height:76px}
@media(max-width:1320px){.energy-filter-grid{grid-template-columns:minmax(220px,1.4fr) 150px repeat(3,minmax(120px,1fr))}.energy-filter-actions{grid-column:span 2}.energy-filter-actions .btn{flex:1}}
@media(max-width:820px){.energy-tabs{min-height:61px}.energy-tabs button{height:51px;min-height:51px;padding-inline:5px}.energy-tabs button>span{font-size:12.5px}.energy-tabs button>small{font-size:9.5px}.energy-ledger-explain{align-items:flex-start;flex-direction:column;gap:6px}.energy-ledger-explain>small{flex:auto}.energy-filter-grid{grid-template-columns:1fr 1fr}.energy-filter-query{grid-column:1/-1}.energy-filter-actions{grid-column:1/-1}.energy-batch-source-preview{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.energy-tabs{height:auto}.energy-tabs button{height:54px;min-height:54px}.energy-tabs button>small{display:none}.energy-filter-grid{grid-template-columns:1fr}.energy-filter-grid>*{grid-column:1!important}.energy-filter-actions{display:grid;grid-template-columns:1fr 1fr}.energy-ledger-quick{margin-inline:-1px}.energy-bill-amount strong{font-size:16px}.energy-batch-source-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Web V0.13.6 · 能耗应收开关、支付闭环与三工作区辨识 */
.energy-tabs{gap:8px;padding:0;background:transparent}.energy-tabs button{grid-template-columns:30px minmax(0,auto) auto;grid-template-rows:auto auto;column-gap:8px;min-height:66px;height:66px;border:1px solid #d5e2ed;border-radius:12px;background:#fff}.energy-tabs button>i{display:grid;grid-row:1/3;place-items:center;width:28px;height:28px;border-radius:9px;background:#e8f2fb;color:#1766aa;font-size:13px;font-style:normal;font-weight:900}.energy-tabs button>span{align-self:end;text-align:left}.energy-tabs button>b{align-self:end}.energy-tabs button>small{grid-column:2/4;align-self:start;text-align:left}.energy-tabs button.active.ledger{border-color:#6ca8dc;background:#eef7ff}.energy-tabs button.active.progress{border-color:#e3b665;background:#fff8e9;color:#815817}.energy-tabs button.active.progress>i{background:#e5a83e;color:#fff}.energy-tabs button.active.overview{border-color:#9a8bd6;background:#f5f2ff;color:#554493}.energy-tabs button.active.overview>i{background:#7663bd;color:#fff}
.energy-pane-guide{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:11px 13px;border:1px solid #bdd8ed;border-left:5px solid #2676bd;border-radius:10px;background:linear-gradient(100deg,#edf7ff,#f9fcff)}.energy-pane-guide>div,.energy-pane-guide:not(:has(>div)){min-width:0}.energy-pane-guide b,.energy-pane-guide span{display:block}.energy-pane-guide b{color:#175785;font-size:15px}.energy-pane-guide span{margin-top:2px;color:#58758e;font-size:12.5px;line-height:1.45}.energy-pane-guide>small{flex:0 0 auto;padding:6px 9px;border-radius:7px;background:#fff;color:#236393;font-size:11.5px;font-weight:750}.energy-pane-guide.missing{border-color:#ead19f;border-left-color:#d49425;background:linear-gradient(100deg,#fff8e9,#fffdf8)}.energy-pane-guide.missing b{color:#8b5c11}.energy-pane-guide.analysis{border-color:#d4ccef;border-left-color:#7663bd;background:linear-gradient(100deg,#f4f1ff,#fbfaff)}.energy-pane-guide.analysis b{color:#564594}
.energy-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.energy-progress-panel>.energy-pane-guide{margin-bottom:12px}.energy-missing-main{padding:12px;border:1px solid #e5d3ac;border-radius:11px;background:#fffdf8}.energy-missing-main h4{margin:0;color:#75531b;font-size:15px}.energy-missing-main>p{margin:3px 0 9px;color:#806d4d;font-size:11.5px}.energy-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:56vh}.energy-progress-list>.empty-state{grid-column:1/-1}.energy-progress-list>button{border-left:4px solid #daa33d}
.energy-filter-grid{grid-template-columns:minmax(225px,1.4fr) 145px repeat(5,minmax(112px,.72fr)) auto}.energy-bill-card{display:block;padding:12px 13px}.energy-bill-main>header{min-height:48px}.energy-bill-meta{grid-template-columns:1.25fr .7fr .85fr 1.1fr}.energy-bill-main>footer>div{display:flex;align-items:center;gap:5px}.energy-payment-pill{display:inline-flex;align-items:center;width:max-content;padding:4px 7px;border-radius:7px;font-size:10.5px;font-weight:850}.energy-payment-pill.paid{background:#e9f7ed;color:#267346}.energy-payment-pill.unpaid{background:#fff0dc;color:#96610f}.energy-payment-text.paid{color:#247346!important}.energy-payment-text.unpaid{color:#a16712!important}.energy-detail-badges{display:flex;gap:6px;margin-bottom:7px}.energy-detail-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.energy-detail-grid>div>span{display:block;margin-top:3px;color:#71879a;font-size:10.5px;line-height:1.35}.energy-review-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.energy-review-summary>div{padding:8px 9px;border-radius:8px;background:#f4f8fb}.energy-review-summary small,.energy-review-summary b{display:block}.energy-review-summary p{margin:3px 0 0;line-height:1.45}.btn.success{border-color:#329158;background:#238447;color:#fff}.btn.success:hover{background:#1c703c}.energy-payment-modal{display:grid;gap:11px;font-size:14px}.energy-payment-confirm{padding:12px 13px;border:1px solid #b7dcc4;border-radius:11px;background:#f0faf3}.energy-payment-confirm.danger{border-color:#efc0b8;background:#fff6f4}.energy-payment-confirm b,.energy-payment-confirm span{display:block}.energy-payment-confirm b{color:#216b3d;font-size:16px}.energy-payment-confirm.danger b{color:#a13e34}.energy-payment-confirm span{margin-top:4px;color:#365d76;font-size:13px;font-weight:750}.energy-payment-confirm p{margin:6px 0 0;color:#607a6b;font-size:12px;line-height:1.5}.energy-payment-confirm.danger p{color:#80635e}.energy-payment-modal>label{display:grid;gap:4px;color:#355a79;font-size:12.5px;font-weight:700}.energy-payment-modal textarea{font-size:14px}.energy-payment-modal .risk-confirm-check{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #e8c2bb;border-radius:9px;background:#fff9f7;color:#8b4038}.energy-payment-modal .risk-confirm-check input{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0}
.location-utility-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.energy-service-switches{display:flex;align-items:center;gap:8px;grid-column:1/-1;flex-wrap:wrap}.energy-service-switches label{display:flex!important;align-items:center;gap:7px;min-width:145px;min-height:40px;margin:0!important;padding:7px 11px;border:1px solid #bcd5e9;border-radius:9px;background:#fff;color:#225b86!important;font-size:13px!important;font-weight:800!important}.energy-service-switches input{flex:0 0 auto;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;accent-color:#176ed0}.location-utility-history-note{grid-column:1/-1;margin:0;padding:7px 9px;border-left:4px solid #5d9bcf;border-radius:7px;background:#eaf4fc;color:#4d6f89;font-size:11.5px;line-height:1.45}
@media(max-width:1380px){.energy-filter-grid{grid-template-columns:minmax(220px,1.4fr) 145px repeat(3,minmax(120px,1fr))}.energy-filter-actions{grid-column:span 2}.energy-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.energy-progress-list{grid-template-columns:1fr}.energy-filter-grid{grid-template-columns:1fr 1fr}.energy-filter-query{grid-column:1/-1}.energy-filter-actions{grid-column:1/-1}.energy-bill-meta{grid-template-columns:1fr 1fr}.energy-detail-grid{grid-template-columns:1fr 1fr}.energy-review-summary{grid-template-columns:1fr}.location-utility-fields{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.energy-tabs{display:grid;grid-template-columns:1fr}.energy-tabs button{height:58px;min-height:58px}.energy-tabs button>small{display:block}.energy-pane-guide{align-items:flex-start;flex-direction:column}.energy-pane-guide>small{flex:auto}.energy-kpis{grid-template-columns:1fr 1fr}.energy-filter-grid,.energy-bill-meta,.energy-detail-grid,.location-utility-fields{grid-template-columns:1fr}.energy-filter-grid>*{grid-column:1!important}.energy-filter-actions{display:grid;grid-template-columns:1fr 1fr}.energy-payment-modal .modal-actions{display:grid;grid-template-columns:1fr}.energy-payment-modal .modal-actions .btn{width:100%}.energy-service-switches{display:grid;grid-template-columns:1fr}.energy-service-switches label{min-width:0}}

/* Web V0.13.6 · 能耗核对分组、紧凑行、保存进度与票据缩放拖动 */
.image-preview-stage{width:calc(100vw - 150px);height:94vh;max-width:none;max-height:none;overflow:hidden;touch-action:none;user-select:none}
.image-preview-stage img{max-width:100%;max-height:92vh;transform:translate3d(0,0,0) scale(1);transform-origin:center center;transition:opacity .12s,transform .12s;will-change:transform;user-select:none;-webkit-user-drag:none}
.image-preview-stage.is-zoomed{cursor:grab}.image-preview-stage.is-dragging{cursor:grabbing}.image-preview-stage.is-dragging img{transition:opacity .12s}
.image-zoom-toolbar{position:absolute;top:14px;left:14px;z-index:504;display:flex;align-items:center;gap:5px;padding:6px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(3,16,33,.78);color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.28);backdrop-filter:blur(7px)}
.image-zoom-toolbar button{display:grid;place-items:center;min-width:34px;height:32px;padding:0 8px;border:1px solid rgba(255,255,255,.2);border-radius:7px;background:rgba(255,255,255,.12);color:#fff;font-size:18px;font-weight:800;cursor:pointer}.image-zoom-toolbar button:hover,.image-zoom-toolbar button:focus-visible{background:rgba(255,255,255,.25);outline:2px solid rgba(255,255,255,.55)}.image-zoom-toolbar button:nth-of-type(3){font-size:11px}.image-zoom-toolbar strong{min-width:49px;font-size:12px;text-align:center}.image-zoom-toolbar span{padding:0 5px;color:#d8e5f1;font-size:10.5px;white-space:nowrap}

.modal.modal-energy-batch{display:flex;flex-direction:column;width:min(1580px,calc(100vw - 12px));height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);overflow:hidden}.modal-energy-batch .modal-head{flex:0 0 auto;min-height:48px;padding:9px 16px}.modal-energy-batch #modalBody{flex:1;min-height:0;overflow:hidden}.energy-batch-modal{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;padding:8px 10px!important}.energy-batch-modal>.energy-capture-intro{flex:0 0 auto;margin-bottom:5px;padding:7px 10px}.energy-batch-modal>.energy-form-tabs{flex:0 0 auto;margin-bottom:5px}.energy-batch-modal>.energy-form-tabs button{min-height:39px;height:39px}.energy-batch-pane{min-height:0}.energy-batch-pane[data-energy-batch-pane="upload"]{overflow:auto}.energy-batch-pane[data-energy-batch-pane="review"]{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.energy-batch-review-guide{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;margin-bottom:5px;padding:6px 9px;border:1px solid #bdd8ec;border-radius:8px;background:linear-gradient(100deg,#edf7ff,#f9fcff)}.energy-batch-review-guide>div{min-width:0}.energy-batch-review-guide b,.energy-batch-review-guide span{display:block}.energy-batch-review-guide b{color:#185682;font-size:12.5px}.energy-batch-review-guide span{margin-top:1px;color:#607b91;font-size:10.5px}.energy-batch-review-guide>strong{flex:0 0 auto;color:#397092;font-size:10.5px}
.energy-batch-review-filters{display:flex;align-items:center;gap:5px;flex:0 0 auto;margin-bottom:5px;padding:5px;overflow-x:auto;border:1px solid #d4e1eb;border-radius:9px;background:#f7fafc;scrollbar-width:thin}.energy-batch-filter-label{flex:0 0 auto;padding-left:3px;color:#72869a;font-size:9.5px;font-weight:800}.energy-batch-review-filters>i{flex:0 0 1px;width:1px;height:24px;margin:0 3px;background:#cad8e4}.energy-batch-review-filters button{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-height:32px;padding:5px 9px;border:1px solid #cad9e5;border-radius:7px;background:#fff;color:#46647d;font-size:11.5px;font-weight:780;cursor:pointer}.energy-batch-review-filters button b{display:grid;place-items:center;min-width:20px;height:18px;padding:0 5px;border-radius:9px;background:#e9f0f6;color:#49677f;font-size:9.5px}.energy-batch-review-filters button.active{border-color:#176ed0;background:#176ed0;color:#fff;box-shadow:0 3px 9px rgba(23,110,208,.18)}.energy-batch-review-filters button.active b{background:#fff;color:#1762a4}.energy-batch-review-filters button.ai:not(.active){border-color:#abd8b9;background:#f1faf4;color:#287246}.energy-batch-review-filters button.manual:not(.active),.energy-batch-review-filters button.incomplete:not(.active){border-color:#ead1a3;background:#fff9ec;color:#916116}.energy-batch-review-filters button.duplicate:not(.active){border-color:#edbbb5;background:#fff6f5;color:#ad463c}
.energy-batch-review-toolbar{position:static;flex:0 0 auto;grid-template-columns:auto minmax(0,1fr) auto;min-height:38px;margin-bottom:4px;padding:5px 8px}.energy-batch-review-toolbar>label{font-size:11.5px}.energy-batch-review-toolbar input{width:17px;height:17px}.energy-batch-review-toolbar>div{gap:5px;font-size:10px}.energy-batch-review-toolbar>div span,.energy-batch-review-toolbar>div strong{padding:2px 5px}.energy-batch-review-toolbar>.btn{min-height:31px;padding:5px 9px;font-size:10.5px}
.energy-batch-column-head{flex:0 0 auto;padding:0 6px 3px;font-size:9.5px}.energy-batch-rows{flex:1;min-height:0;max-height:none;gap:4px;padding:1px 2px 3px;overscroll-behavior:contain}.energy-batch-row{gap:5px;padding:5px 6px;border-radius:8px}.energy-batch-row.room-ai:not(.duplicate):not(.saved){box-shadow:inset 0 0 0 1px rgba(61,157,91,.12)}.energy-batch-row.room-unresolved:not(.duplicate){border-left-color:#d8952d;background:#fffaf0}.energy-batch-row>label{gap:2px}.energy-batch-row>label>small{font-size:9px}.energy-batch-row input,.energy-batch-row select{min-height:32px;height:32px;padding:4px 6px;border-radius:6px;font-size:11.5px}.energy-batch-ticket{grid-template-columns:auto 52px minmax(0,1fr) auto;gap:5px}.energy-batch-ticket>label input{width:17px;height:17px}.energy-batch-thumb{width:52px;height:44px;border-radius:6px}.energy-batch-ticket>div{gap:1px}.energy-batch-ticket b{font-size:10.5px}.energy-batch-ticket small{font-size:8.5px}.energy-batch-status{padding:2px 5px;font-size:8px}.energy-batch-remove{width:22px;height:22px;border-radius:5px;font-size:15px}.energy-room-source{display:inline-flex;margin-left:3px;padding:2px 5px;border-radius:5px;font-size:8px;font-style:normal;font-weight:850;vertical-align:middle}.energy-room-source.ai{background:#e5f6ea;color:#247143}.energy-room-source.manual{background:#fff0d5;color:#966315}.energy-room-source.unresolved{background:#fee9df;color:#ad4c2e}.energy-batch-room>span{font-size:8.5px}.energy-batch-row-note{min-height:18px;padding:3px 6px;font-size:9px}.energy-batch-dedupe-note{flex:0 0 auto;margin-top:4px;padding:5px 8px}.energy-batch-dedupe-note b{font-size:10.5px}.energy-batch-dedupe-note span{font-size:9.5px}
.energy-batch-actions{flex:0 0 auto;align-items:center;flex-wrap:nowrap;min-height:54px;margin:5px -10px -8px!important;padding:7px 10px!important}.energy-batch-actions .btn{flex:0 0 auto;min-height:36px}.energy-batch-save-progress{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:4px 9px;flex:1;min-width:300px;max-width:650px;padding:6px 8px;border:1px solid #9fc5e7;border-radius:8px;background:#eef7ff}.energy-batch-save-progress.hidden{display:none!important}.energy-batch-save-progress>div{display:flex;align-items:center;justify-content:space-between;gap:8px;grid-column:1/-1}.energy-batch-save-progress span{overflow:hidden;color:#235f90;font-size:10.5px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.energy-batch-save-progress strong{color:#1266ad;font-size:13px}.energy-batch-save-progress>i{height:7px;overflow:hidden;border-radius:4px;background:#d5e5f2}.energy-batch-save-progress>i>em{display:block;width:0;height:100%;border-radius:4px;background:linear-gradient(90deg,#176ed0,#39a562);transition:width .2s}.energy-batch-save-progress>small{color:#53738d;font-size:9.5px;white-space:nowrap}
@media(max-width:900px){.image-preview-stage{width:100vw;height:100vh}.image-zoom-toolbar{top:auto;bottom:18px;left:50%;transform:translateX(-50%)}.image-preview-stage .image-counter{top:16px;bottom:auto}.image-zoom-toolbar span{display:none}.energy-batch-review-guide{align-items:flex-start}.energy-batch-review-guide>strong{display:none}.energy-batch-row{grid-template-columns:1fr 1fr}.energy-batch-ticket,.energy-batch-room,.energy-batch-row-note{grid-column:1/-1}.energy-batch-actions{flex-wrap:wrap}.energy-batch-save-progress{order:-1;flex-basis:100%;max-width:none}}
@media(max-width:520px){.image-zoom-toolbar{bottom:12px}.image-zoom-toolbar button{min-width:31px;height:30px}.energy-batch-review-guide span{line-height:1.35}.energy-batch-review-toolbar{grid-template-columns:1fr auto}.energy-batch-review-toolbar>div{grid-column:1/-1;grid-row:2}.energy-batch-row{grid-template-columns:1fr}.energy-batch-room,.energy-batch-row-note{grid-column:1}.energy-batch-save-progress{min-width:0}.energy-batch-actions #ebbSave{min-width:0;flex:1}}

/* Web V0.13.7 · Chainway R1 桌面 RFID 工作台 */
.r1-workbench{overflow:hidden}.r1-workbench-head{align-items:flex-start}.r1-bridge-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.r1-status,.r1-run-state{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:16px;font-size:11.5px;font-weight:850;white-space:nowrap}.r1-status:before{width:8px;height:8px;margin-right:6px;border-radius:50%;background:currentColor;content:""}.r1-status.offline{background:#f2f3f5;color:#727b85}.r1-status.ready{background:#fff3db;color:#96620e}.r1-status.online{background:#e8f7ed;color:#227342}.r1-safety-strip{display:flex;align-items:center;gap:11px;margin-bottom:10px;padding:10px 12px;border:1px solid #bad8ea;border-left:5px solid #1670be;border-radius:10px;background:linear-gradient(100deg,#eaf6ff,#f7fbff)}.r1-safety-strip b{flex:0 0 auto;color:#155987}.r1-safety-strip span{flex:1;color:#526f86;font-size:12px;line-height:1.45}.r1-safety-strip .text-btn{flex:0 0 auto}.r1-mode-tabs{margin-bottom:10px}.r1-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}.r1-metrics>div{min-height:78px;padding:13px 15px}.r1-metrics>div:nth-child(1){border-top:4px solid #e19a2c}.r1-metrics>div:nth-child(2){border-top:4px solid #347fbe}.r1-metrics>div:nth-child(3){border-top:4px solid #3d9a5c}.r1-metrics>div:nth-child(4){border-top:4px solid #c64f45}.r1-metrics span{display:block;color:#6d8295;font-size:11px}.r1-metrics b{display:block;margin-top:3px;color:#194f79;font-size:25px}.r1-pane{min-height:260px}.r1-bind-grid{display:grid;grid-template-columns:minmax(430px,1.05fr) minmax(430px,.95fr);gap:11px}.r1-source-card,.r1-bind-card,.r1-lookup-card,.r1-diagnostic-grid>div{min-width:0;padding:13px;border:1px solid #d3e1ec;border-radius:12px;background:#fbfdff}.r1-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.r1-section-head h4,.r1-lookup-card h4,.r1-diagnostic-grid h4{margin:0;color:#1c557f;font-size:16px}.r1-section-head p,.r1-lookup-card>p,.r1-diagnostic-grid>div>p{margin:3px 0 0;color:#72869a;font-size:11.5px}.r1-filter-grid{display:grid;grid-template-columns:minmax(170px,1.25fr) minmax(135px,.8fr) minmax(150px,1fr) auto;gap:7px}.r1-filter-grid input,.r1-filter-grid select{min-width:0;height:39px;font-size:12.5px}.r1-selection-bar{margin:8px 0;padding:7px 8px;border-radius:9px;background:#f0f6fb}.r1-selection-bar .muted{margin-left:auto}.r1-asset-results{display:grid;gap:6px;max-height:540px;overflow:auto;padding-right:3px}.r1-asset-row{display:grid;grid-template-columns:20px 54px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px 8px;border:1px solid #d6e2ec;border-radius:9px;background:#fff}.r1-asset-row:hover{border-color:#7eafd4}.r1-asset-row.queued{background:#f3f8f5;opacity:.78}.r1-asset-row>input{width:18px;height:18px;margin:0;accent-color:#176ed0}.r1-asset-thumb,.r1-current-photo{display:grid;place-items:center;overflow:hidden;border:1px solid #d3e0e9;border-radius:8px;background:#eef3f7;color:#8698a7;font-size:10px}.r1-asset-thumb{width:54px;height:49px}.r1-asset-thumb img,.r1-current-photo img{width:100%;height:100%;object-fit:contain}.r1-asset-main{display:grid;gap:2px;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.r1-asset-main b,.r1-asset-main span,.r1-asset-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.r1-asset-main b{color:#244f70;font-size:12.5px}.r1-asset-main span{color:#56748c;font-size:10.5px}.r1-asset-main small{color:#788c9c;font-size:10px}.r1-row-actions{display:flex;align-items:center}.r1-defaults{display:grid;grid-template-columns:1fr 1.15fr 1fr auto;align-items:end;gap:7px;margin-bottom:9px;padding:9px;border:1px solid #c8ddea;border-radius:9px;background:#eff7fc}.r1-defaults label{display:grid;gap:3px;min-width:0;color:#37617f;font-size:10.5px;font-weight:750}.r1-defaults input,.r1-defaults select{min-width:0;height:36px;margin:0;font-size:12px}.r1-defaults input[type=range]{height:18px;padding:0}.r1-current-asset{display:grid;grid-template-columns:82px minmax(0,1fr);gap:11px;min-height:105px;margin-bottom:8px;padding:10px;border:2px solid #7baed3;border-radius:11px;background:linear-gradient(110deg,#ecf7ff,#fff)}.r1-current-asset.empty{display:grid;place-items:center;align-content:center;border-style:dashed;color:#6f8394;text-align:center}.r1-current-asset.empty span,.r1-current-asset.empty small{display:block;grid-column:1/-1}.r1-current-photo{width:82px;height:82px}.r1-current-asset>div:last-child{display:grid;align-content:center;gap:3px;min-width:0}.r1-current-asset small{color:#6e8799;font-size:10px}.r1-current-asset b{overflow:hidden;color:#1d527a;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.r1-current-asset strong{color:#176ab0;font-size:18px}.r1-current-asset span{overflow:hidden;color:#60788b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.r1-reader-state{display:grid;gap:2px;margin-bottom:7px;padding:9px 11px;border:1px solid #d5e1ea;border-left:5px solid #8196a6;border-radius:9px;background:#f6f9fb}.r1-reader-state b{color:#365d7b;font-size:13px}.r1-reader-state span{overflow-wrap:anywhere;color:#6d8294;font-size:10.5px}.r1-reader-state.reading{border-left-color:#d7952d;background:#fffaf0}.r1-reader-state.stable{border-left-color:#237bbb;background:#eef8ff}.r1-reader-state.binding{border-left-color:#6758b5;background:#f4f1ff}.r1-reader-state.success{border-left-color:#32935a;background:#effaf3}.r1-reader-state.danger{border-color:#e5b1ac;border-left-color:#c8493e;background:#fff5f4}.r1-tag-display{display:grid;grid-template-columns:1.2fr 1.2fr .65fr;gap:6px;margin-bottom:7px}.r1-tag-display>div{min-width:0;padding:7px 8px;border-radius:8px;background:#eef3f7}.r1-tag-display small,.r1-tag-display strong{display:block}.r1-tag-display small{color:#7b8e9e;font-size:9px}.r1-tag-display strong{overflow:hidden;margin-top:2px;color:#315b7b;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.r1-stability{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(120px,1fr);align-items:center;gap:8px;margin:7px 0;color:#52718a;font-size:10.5px}.r1-stability i,.r1-progress i{display:block;height:7px;overflow:hidden;border-radius:5px;background:#dbe6ee}.r1-stability em,.r1-progress em{display:block;width:0;height:100%;border-radius:5px;background:linear-gradient(90deg,#2777bd,#3ba566);transition:width .2s}.r1-run-state.paused{background:#eff1f3;color:#697781}.r1-run-state.running{background:#e7f7ed;color:#227341}.r1-run-state.running:before{width:7px;height:7px;margin-right:6px;border-radius:50%;background:#2c9b57;box-shadow:0 0 0 5px rgba(44,155,87,.13);content:""}.r1-run-actions{gap:6px;margin-top:7px}.r1-progress{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:8px;margin:8px 0;padding:7px 9px;border-radius:8px;background:#edf5fb;color:#3b6685;font-size:10.5px}.r1-progress b{color:#1f6aa4;font-size:12px}.r1-queue-list{display:grid;gap:4px;max-height:190px;overflow:auto}.r1-queue-item{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:7px;padding:6px 8px;border:1px solid #dae4ec;border-radius:8px;background:#fff}.r1-queue-item.current{border-color:#77abd0;background:#eef8ff}.r1-queue-item>span{display:grid;place-items:center;width:23px;height:23px;border-radius:12px;background:#e5edf4;color:#547088;font-size:10px;font-weight:850}.r1-queue-item.current>span{background:#2878bc;color:#fff}.r1-queue-item b,.r1-queue-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.r1-queue-item b{color:#2e5878;font-size:11.5px}.r1-queue-item small{margin-top:1px;color:#788b9a;font-size:9.5px}.r1-lookup-card{min-height:340px;text-align:center}.r1-lookup-card>.r1-reader-state{max-width:700px;margin:20px auto 10px;text-align:left}.r1-lookup-result{max-width:700px;margin:0 auto}.r1-lookup-found{padding:18px;border:1px solid #add6ba;border-radius:11px;background:#f1faf4}.r1-lookup-found h3{margin:8px 0 3px;color:#225d3a}.r1-lookup-found>b{color:#176eaa;font-size:19px}.r1-lookup-found p{color:#5c788b;font-size:12px}.r1-lookup-found.linen{border-color:#b7ccea;background:#f2f7fd}.r1-lookup-found.warning{border-color:#e7c893;background:#fff9ed}.r1-lookup-found.unregistered{border-color:#bcd6e8;background:#f0f8fd}.r1-diagnostic-grid{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(420px,1.2fr);gap:10px}.r1-diagnostic-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.r1-diagnostic-list>span{min-width:0;padding:8px;border-radius:8px;background:#eef4f8}.r1-diagnostic-list small,.r1-diagnostic-list b{display:block}.r1-diagnostic-list small{color:#7a8d9d;font-size:9px}.r1-diagnostic-list b{overflow:hidden;margin-top:3px;color:#315b79;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.r1-diagnostic-tags{display:grid;gap:5px;max-height:350px;overflow:auto;margin-top:10px}.r1-diagnostic-tags>div:not(.muted){display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid #d6e2eb;border-radius:8px;background:#fff}.r1-diagnostic-tags>div>span{display:grid;place-items:center;width:24px;height:24px;border-radius:12px;background:#e6f0f8;color:#276997;font-size:10px;font-weight:850}.r1-diagnostic-tags b,.r1-diagnostic-tags small{display:block}.r1-diagnostic-tags b{overflow:hidden;color:#295473;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.r1-diagnostic-tags small{color:#75899a;font-size:9.5px}.r1-diagnostic-tags strong{color:#276e9d;font-size:11px;text-align:right}.r1-help-rules{display:grid;gap:8px;margin-top:10px}.r1-help-rules p{margin:0;padding:10px;border-radius:9px;background:#f2f7fb;color:#48677f;font-size:12px;line-height:1.55}
@media(max-width:1180px){.r1-bind-grid{grid-template-columns:1fr}.r1-asset-results{max-height:360px}.r1-defaults{grid-template-columns:1fr 1fr 1fr auto}}
@media(max-width:760px){.r1-workbench{padding:10px}.r1-workbench-head,.r1-safety-strip{align-items:flex-start;flex-direction:column}.r1-bridge-actions{width:100%}.r1-bridge-actions .btn{flex:1}.r1-mode-tabs{display:grid;grid-template-columns:1fr}.r1-metrics{grid-template-columns:1fr 1fr}.r1-metrics>div{min-height:68px;padding:10px}.r1-filter-grid,.r1-defaults,.r1-diagnostic-grid{grid-template-columns:1fr}.r1-filter-grid .btn,.r1-defaults .btn{width:100%}.r1-asset-row{grid-template-columns:20px 45px minmax(0,1fr)}.r1-asset-thumb{width:45px;height:44px}.r1-row-actions{grid-column:3}.r1-tag-display{grid-template-columns:1fr}.r1-current-asset{grid-template-columns:68px minmax(0,1fr)}.r1-current-photo{width:68px;height:68px}.r1-run-actions{display:grid;grid-template-columns:1fr 1fr}.r1-run-actions .btn{width:100%}.r1-diagnostic-list{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.r1-metrics{grid-template-columns:1fr 1fr}.r1-selection-bar{display:grid;grid-template-columns:1fr 1fr}.r1-selection-bar #r1AddSelected{grid-column:1/-1}.r1-selection-bar .muted{grid-column:1/-1;margin-left:0}.r1-current-asset{grid-template-columns:1fr}.r1-current-photo{width:100%;height:120px}.r1-run-actions{grid-template-columns:1fr}.r1-progress{grid-template-columns:1fr auto}.r1-progress i{grid-column:1/-1;grid-row:2}.r1-diagnostic-list{grid-template-columns:1fr}}

/* Web V0.13.8 · 全局紧凑页头、能耗账期分析与台账操作重构 */
.topbar{box-sizing:border-box;height:64px!important;min-height:64px;padding:8px 0!important;gap:12px;border-bottom:1px solid #dbe5ee;background:rgba(255,255,255,.97)}
.topbar-heading{min-width:0}.topbar-heading h2{font-size:22px;line-height:1.2}.topbar-heading p{display:none!important}.page-header-actions{display:flex;align-items:center;justify-content:flex-end;min-width:0;margin-left:auto}.page-header-action-group{display:flex;align-items:center;gap:7px;min-width:0}.page-header-action-group .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:7px 12px;white-space:nowrap}.page-header-action-group .btn>span{font-size:16px;line-height:1}.page-header-action-group .icon-action{width:40px;padding:0;font-size:19px}.online-pill{margin-left:0;padding:4px 8px;font-size:11px}
.energy-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;height:52px!important;min-height:52px!important;margin:0 0 10px!important;padding:0!important}.energy-tabs button{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:52px!important;min-height:52px!important;padding:7px 12px!important;border-radius:11px!important}.energy-tabs button>i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;font-size:12px}.energy-tabs button>span{align-self:auto!important;font-size:14px}.energy-tabs button>b{align-self:auto!important}.energy-tabs button.active{box-shadow:0 4px 12px rgba(31,93,147,.08)}
.energy-analysis-toolbar{display:flex;align-items:flex-end;gap:8px;margin-bottom:9px;padding:9px 11px}.energy-analysis-toolbar label{display:grid;gap:3px;color:#5c748b;font-size:10.5px;font-weight:800}.energy-analysis-toolbar input{width:165px;min-height:39px;margin:0;font-size:14px;font-weight:750}.energy-analysis-toolbar .btn{min-height:39px}.energy-analysis-toolbar>span{align-self:center;margin-left:auto;color:#607a90;font-size:12px;font-weight:700}
.energy-cost-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px;margin-bottom:8px}.energy-cost-kpis>button{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:9px;min-height:92px;padding:11px 12px}.energy-cost-kpis .energy-kpi-icon{display:grid;grid-row:1/4;place-items:center;align-self:center;width:38px;height:38px;border-radius:11px;color:#fff;font-size:17px;font-style:normal;font-weight:900}.energy-kpi-icon.total{background:linear-gradient(135deg,#315f97,#213d68)}.energy-kpi-icon.electric{background:linear-gradient(135deg,#397fd1,#175fae)}.energy-kpi-icon.water{background:linear-gradient(135deg,#40b1d0,#2389b1)}.energy-kpi-icon.gas{background:linear-gradient(135deg,#eda94a,#cd7a1f)}.energy-cost-kpis small{align-self:end}.energy-cost-kpis b{margin:3px 0 1px;font-size:22px}.energy-cost-kpis em{overflow:hidden;color:#74899a;font-size:10.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.energy-analysis-alerts{display:flex;align-items:center;gap:6px;margin-bottom:9px;overflow-x:auto}.energy-analysis-alerts button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:33px;padding:5px 9px;border:1px solid #d3e1eb;border-radius:9px;background:#fff;color:#486880;font-size:11px;font-weight:750;cursor:pointer}.energy-analysis-alerts button:hover{border-color:#77a9d3;background:#f4f9fd}.energy-analysis-alerts button>span{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#e7f1fa;color:#24679f;font-size:10px}.energy-analysis-alerts button b{color:#155e96;font-size:13px}.energy-analysis-alerts button small{color:#8b671d}.energy-analysis-alerts .danger-lite{border-color:#efc1bb;background:#fff7f5;color:#a74439}.energy-analysis-alerts .danger-lite>span{background:#fde9e6;color:#b54136}
.energy-chart-grid{display:grid;grid-template-columns:minmax(330px,.72fr) minmax(520px,1.28fr);gap:9px;margin-bottom:9px}.energy-chart-grid>.panel{min-width:0;margin:0;padding:12px}.energy-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.energy-section-title>div{display:flex;align-items:center;gap:8px;min-width:0}.energy-section-title h3,.energy-section-title h4{margin:0;color:#244f72;font-size:16px}.energy-section-title>small{color:#72879a;font-size:10.5px}.section-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#e7f2fb;color:#1c68a7;font-size:13px;font-weight:900}.section-icon.warn{background:#fff0d8;color:#a66b0c}.section-icon.danger{background:#fde9e6;color:#b64036}
.energy-composition-chart{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:14px;min-height:178px}.energy-donut{display:grid;place-items:center;width:138px;height:138px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(25,70,108,.07)}.energy-donut>div{display:grid;place-items:center;align-content:center;width:88px;height:88px;border-radius:50%;background:#fff;box-shadow:0 2px 9px rgba(24,70,105,.12);text-align:center}.energy-donut strong,.energy-donut small{display:block}.energy-donut strong{color:#184f79;font-size:16px}.energy-donut small{margin-top:2px;color:#7890a2;font-size:9.5px}.energy-composition-legend{display:grid;gap:7px}.energy-composition-legend>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:7px 8px;border-radius:8px;background:#f5f8fb}.energy-composition-legend i,.energy-trend-legend i{display:block;width:8px;height:8px;border-radius:3px}.energy-composition-legend i.electric,.energy-trend-legend i.electric,.energy-trend-stack i.electric{background:#2f78d0}.energy-composition-legend i.water,.energy-trend-legend i.water,.energy-trend-stack i.water{background:#31a4c5}.energy-composition-legend i.gas,.energy-trend-legend i.gas,.energy-trend-stack i.gas{background:#e39a35}.energy-composition-legend span{color:#5a758c;font-size:11px}.energy-composition-legend b{color:#244f71;font-size:11.5px}.energy-composition-legend small{color:#8294a3;font-size:9.5px}
.energy-trend-chart{display:grid;grid-template-rows:auto 1fr;min-height:178px}.energy-trend-legend{display:flex;justify-content:flex-end;gap:12px;margin-bottom:4px}.energy-trend-legend span{display:flex;align-items:center;gap:4px;color:#73879a;font-size:9.5px}.energy-trend-columns{display:grid;grid-template-columns:repeat(6,minmax(52px,1fr));align-items:end;gap:8px;height:150px;padding:5px 5px 0;border-bottom:1px solid #d8e3eb;background:repeating-linear-gradient(to top,transparent 0,transparent 36px,#eef3f7 37px)}.energy-trend-column{display:grid;grid-template-rows:19px 108px 20px;align-items:end;justify-items:center;min-width:0;height:147px}.energy-trend-column>strong{overflow:hidden;width:100%;color:#60798e;font-size:9px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.energy-trend-stack{display:flex;align-items:stretch;justify-content:flex-end;flex-direction:column-reverse;width:min(38px,70%);height:104px}.energy-trend-stack i{display:block;flex:0 0 auto;min-height:0;border-radius:3px 3px 0 0}.energy-trend-column>small{align-self:center;color:#667f93;font-size:10px;font-weight:750}
.energy-ranking-workbench,.energy-anomaly-panel{margin:0 0 9px;padding:12px}.energy-ranking-types{display:flex;gap:5px}.energy-ranking-types button{min-height:32px;padding:5px 10px;border:1px solid #cfdee9;border-radius:8px;background:#fff;color:#4d6b82;font-size:11.5px;font-weight:800;cursor:pointer}.energy-ranking-types button.active{border-color:#2475bb;background:#eaf4ff;color:#155f9d}.energy-ranking-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.energy-ranking-pair>section{min-width:0;padding:9px;border:1px solid #dce6ee;border-radius:10px;background:#fbfcfe}.energy-ranking-pair h4{display:flex;align-items:center;gap:6px;margin:0 0 7px;color:#315a79;font-size:13px}.energy-ranking-pair h4 span{display:grid;place-items:center;width:21px;height:21px;border-radius:6px;background:#e6f1fa;color:#1867a6}.energy-ranking-pair>section+section h4 span{background:#eaf7ef;color:#277648}.energy-ranking-list{gap:5px}.energy-ranking-list>button{min-height:48px;padding:7px 9px}.energy-ranking-list>button>div>i{display:block;height:4px;margin-top:4px;overflow:hidden;border-radius:3px;background:#e3ebf1}.energy-ranking-list>button>div>i>em{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#2f79c2,#62a9dc)}.energy-ranking-list.bottom>button>div>i>em{background:linear-gradient(90deg,#4eab77,#91c8a6)}.energy-rank-no.bottom{background:#e7f6ec;color:#267548}.energy-anomaly-panel .energy-anomaly-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.energy-anomaly-panel .energy-anomaly-list>button{min-height:60px;padding:8px 10px}
.energy-progress-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.energy-progress-toolbar>div:first-child{display:flex;align-items:center;gap:8px}.energy-progress-toolbar h3{margin:0;color:#244f71;font-size:17px}.energy-progress-controls{display:flex;align-items:flex-end;gap:8px}.energy-progress-controls>label{display:grid;gap:3px;color:#5b758c;font-size:10.5px;font-weight:800}.energy-progress-controls>label input{width:155px;min-height:36px;margin:0}.energy-missing-main{padding-top:9px;border-top:1px solid #dce6ee}.energy-section-title.compact{margin-bottom:7px}.energy-section-title.compact h4{font-size:14px}.energy-section-title.compact small{max-width:72%;text-align:right}.energy-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:none}
.energy-ledger-panel{padding:11px 12px}.energy-ledger-quick{margin:0 0 8px}.energy-filter-grid{padding:8px}.energy-ledger-head{margin:9px 0 7px;padding-top:8px}.energy-ledger-head h3{font-size:16px}.energy-bill-list{gap:7px}.energy-bill-card{display:block!important;padding:10px 11px}.energy-bill-card-head{display:grid;grid-template-columns:minmax(150px,1fr) 125px auto;align-items:center;gap:10px}.energy-bill-identity{display:flex;align-items:center;gap:9px;min-width:0}.energy-bill-type-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;color:#fff;font-size:15px;font-weight:900}.energy-bill-type-icon.electric{background:#347cca}.energy-bill-type-icon.water{background:#2b9bbd}.energy-bill-type-icon.gas{background:#dc8b2c}.energy-bill-identity>div{min-width:0}.energy-bill-identity small,.energy-bill-identity h4{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.energy-bill-identity small{color:#70879a;font-size:10px}.energy-bill-identity h4{margin:2px 0 0;color:#174d78;font-size:16px}.energy-bill-period{display:grid;justify-items:start;padding:5px 9px;border-left:1px solid #dfe7ed}.energy-bill-period small{color:#70869a;font-size:9.5px}.energy-bill-period strong{margin-top:1px;color:#144f7d;font-size:18px;line-height:1.15}.energy-bill-period span{margin-top:2px;color:#7890a2;font-size:9.5px}.energy-bill-amount{min-width:88px}.energy-bill-amount strong{margin:0;color:#145b91;font-size:21px}.energy-bill-meta{grid-template-columns:1.25fr .65fr .85fr;margin:7px 0 6px}.energy-bill-meta>span{padding:6px 8px}.energy-bill-meta small{font-size:9px}.energy-bill-meta b{font-size:11px}.energy-bill-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px;border-top:1px dashed #dbe4eb}.energy-card-state-actions{display:flex;align-items:center;gap:5px}.energy-card-action{min-height:31px;padding:5px 9px;border:1px solid transparent;border-radius:8px;font-size:11px;font-weight:850;cursor:pointer}.energy-card-action.review{border-color:#8bb9df;background:#e9f4ff;color:#115f9f}.energy-card-action.review:hover{background:#d8ebfd}.energy-card-action.payment{border-color:#e6bd79;background:#fff3dd;color:#99620d}.energy-card-action.payment:hover{background:#ffe8bd}.energy-card-detail{min-height:31px!important}.energy-bill-card.warn{border-color:#edc99c;background:#fffaf2}
@media(max-width:1100px){.energy-chart-grid{grid-template-columns:1fr}.energy-composition-chart{grid-template-columns:160px minmax(0,1fr)}.energy-anomaly-panel .energy-anomaly-list{grid-template-columns:1fr}.energy-progress-toolbar{align-items:flex-start;flex-direction:column}.energy-progress-controls{width:100%;justify-content:space-between}.energy-filter-grid{grid-template-columns:1fr 1fr!important}.energy-filter-query{grid-column:1/-1}.energy-filter-actions{grid-column:1/-1}.energy-ranking-pair{grid-template-columns:1fr}}
@media(max-width:900px){.topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;height:auto!important;min-height:58px!important;padding:7px 0!important}.topbar>.mobile-only{grid-column:1;grid-row:1}.topbar-heading{grid-column:2!important;grid-row:1!important}.online-pill{grid-column:3!important;grid-row:1!important}.page-header-actions{grid-column:1/-1;grid-row:2;width:100%;overflow-x:auto}.page-header-action-group{width:max-content}.page-header-action-group .btn{min-height:36px}.energy-cost-kpis{grid-template-columns:1fr 1fr!important}.energy-progress-list{grid-template-columns:1fr}}
@media(max-width:620px){.energy-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;height:48px!important;min-height:48px!important}.energy-tabs button{height:48px!important;min-height:48px!important;padding:5px!important;gap:5px!important}.energy-tabs button>i{width:23px;height:23px}.energy-tabs button>span{font-size:11.5px}.energy-tabs button>b{min-width:19px;height:19px;padding:0 4px;font-size:9px}.energy-analysis-toolbar{display:grid;grid-template-columns:1fr auto}.energy-analysis-toolbar label input{width:100%}.energy-analysis-toolbar>span{grid-column:1/-1;margin-left:0}.energy-cost-kpis{grid-template-columns:1fr!important}.energy-analysis-alerts{margin-inline:-2px}.energy-composition-chart{grid-template-columns:1fr;justify-items:center}.energy-composition-legend{width:100%}.energy-trend-columns{gap:3px;padding-inline:1px}.energy-trend-column{grid-template-rows:16px 108px 20px}.energy-trend-column>strong{font-size:7.5px}.energy-ranking-types{width:100%;overflow-x:auto}.energy-ranking-types button{flex:1;white-space:nowrap}.energy-ranking-workbench>.energy-section-title{align-items:flex-start;flex-direction:column}.energy-progress-controls{align-items:stretch;flex-direction:column}.energy-progress-controls>label input{width:100%}.energy-type-toggles{display:grid;grid-template-columns:repeat(2,1fr)}.energy-type-toggles .btn{width:100%}.energy-section-title.compact{align-items:flex-start;flex-direction:column}.energy-section-title.compact small{max-width:none;text-align:left}.energy-bill-card-head{grid-template-columns:minmax(0,1fr) auto}.energy-bill-period{grid-column:1;padding:5px 0 0;border-top:1px solid #e1e8ee;border-left:0}.energy-bill-amount{grid-column:2;grid-row:1/3}.energy-bill-meta{grid-template-columns:1fr!important}.energy-bill-card>footer{align-items:stretch;flex-direction:column}.energy-card-state-actions{display:grid;grid-template-columns:1fr 1fr}.energy-card-action{width:100%}.energy-card-detail{width:100%}.page-header-action-group .btn{padding-inline:10px}.online-pill{display:none!important}}
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){.topbar>.page-header-actions{grid-column:1/-1!important;grid-row:2!important;width:100%;margin:0!important;overflow-x:auto}.topbar>.topbar-heading{grid-column:2!important;grid-row:1!important}.topbar>.online-pill{grid-column:3!important;grid-row:1!important}}

/* Web V0.13.9 · 能耗全部房间视角与账单、复核、支付三段进度 */
.energy-room-panel{padding:11px 12px}.energy-room-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:8px}.energy-room-heading{display:flex;align-items:center;gap:9px;min-width:230px}.energy-room-heading>div{min-width:0}.energy-room-heading h3{margin:0;color:#214f75;font-size:17px}.energy-room-heading small{display:block;margin-top:2px;color:#70869a;font-size:10.5px;white-space:nowrap}.energy-room-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) 150px 130px auto;align-items:end;gap:7px;min-width:min(760px,68%)}.energy-room-filters label{display:grid;gap:3px;min-width:0;color:#5b748b;font-size:10.5px;font-weight:800}.energy-room-filters input,.energy-room-filters select{width:100%;min-height:38px;margin:0;font-size:12.5px}.energy-room-filter-actions{display:flex;gap:6px}.energy-room-filter-actions .btn{min-height:38px;white-space:nowrap}.energy-room-summary{display:flex;align-items:center;gap:7px;margin:0 0 8px;padding:6px 8px;border:1px solid #dae5ed;border-radius:9px;background:#f8fafc}.energy-room-summary>span{padding:4px 8px;border-radius:7px;background:#fff;color:#60798f;font-size:10.5px}.energy-room-summary b{margin-left:3px;color:#1c6098;font-size:12px}.energy-room-summary .active{background:#edf8f1;color:#387151}.energy-room-summary .active b{color:#247443}.energy-room-summary .inactive{background:#f1f3f5;color:#717b84}.energy-room-summary .inactive b{color:#59636c}
.energy-room-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.energy-room-list>.empty-state{grid-column:1/-1}.energy-room-card{min-width:0;padding:10px 11px;border:1px solid #d5e2ec;border-radius:11px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.energy-room-card:hover{transform:translateY(-1px);border-color:#6fa8d6;box-shadow:0 6px 16px rgba(30,81,124,.08)}.energy-room-card.inactive{background:#f8f9fa;opacity:.82}.energy-room-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.energy-room-card>header>div{display:flex;align-items:center;gap:8px;min-width:0}.energy-room-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:9px;background:#e8f3fc;color:#1769ac;font-size:16px;font-weight:900}.energy-room-card h4{overflow:hidden;margin:0;color:#174f7b;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.energy-room-card header small{display:block;overflow:hidden;margin-top:1px;color:#7a8d9e;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.energy-room-state{flex:0 0 auto;padding:4px 7px;border-radius:7px;font-size:10px;font-weight:850}.energy-room-state.active{background:#e8f7ee;color:#267346}.energy-room-state.inactive{background:#e9ecef;color:#68747d}.energy-room-utilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.energy-room-utility{min-width:0;padding:7px 8px;border:1px solid #dae5ed;border-top:3px solid #347cca;border-radius:9px;background:#f9fbfd}.energy-room-utility.water{border-top-color:#2b9bbd}.energy-room-utility.gas{border-top-color:#dc8b2c}.energy-room-utility.disabled{border-top-color:#adb8c0;background:#f2f4f5}.energy-room-utility.empty{background:#fcfdfe}.energy-room-utility>header{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:4px}.energy-room-utility>header>span{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#e6f1fb;color:#236da9;font-size:9px;font-weight:900}.energy-room-utility.water>header>span{background:#e6f6fa;color:#23839f}.energy-room-utility.gas>header>span{background:#fff1df;color:#a86915}.energy-room-utility>header b{color:#355d7b;font-size:10.5px}.energy-room-utility>header small{color:#71879a;font-size:9px;font-weight:750}.energy-room-latest{display:flex;align-items:baseline;justify-content:space-between;gap:5px;margin:6px 0}.energy-room-latest strong{overflow:hidden;color:#155b91;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.energy-room-latest small{overflow:hidden;color:#778a9a;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.energy-room-utility>footer{display:flex;align-items:center;gap:4px;min-height:20px}.energy-room-utility>footer i{font-style:normal}.energy-room-utility .energy-status,.energy-room-utility .energy-payment-pill{padding:3px 5px;font-size:8.5px}.energy-room-empty{display:grid;align-content:center;min-height:46px;padding:5px 0}.energy-room-empty strong,.energy-room-empty small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.energy-room-empty strong{color:#718496;font-size:12px}.energy-room-empty small{margin-top:3px;color:#929faa;font-size:8.5px}.energy-room-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding-top:6px;border-top:1px dashed #dae4eb}.energy-room-card>footer>span{overflow:hidden;color:#75899a;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.energy-room-card>footer>span b{color:#a46a10}.energy-room-card>footer .btn{min-height:29px;padding:4px 8px;font-size:10px;white-space:nowrap}
.modal.modal-energy-room-history{width:min(1460px,calc(100vw - 26px));height:min(900px,calc(100dvh - 26px));max-height:calc(100dvh - 26px)}.energy-room-history-modal{display:flex;flex-direction:column;min-height:0;height:100%;padding:11px 12px}.energy-room-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding:9px 11px;border:1px solid #c9ddea;border-radius:10px;background:linear-gradient(100deg,#eef7ff,#fbfdff)}.energy-room-history-head>div:first-child{display:flex;align-items:center;gap:9px;min-width:0}.energy-room-history-head h3{margin:0;color:#174f7b;font-size:18px}.energy-room-history-head p{margin:2px 0 0;color:#6f8598;font-size:10.5px}.energy-room-history-alerts{display:flex;gap:6px}.energy-room-history-alerts span{padding:6px 8px;border-radius:8px;background:#fff5e5;color:#8e621c;font-size:10.5px}.energy-room-history-alerts b{margin-left:4px;font-size:13px}.energy-room-history-latest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:8px}.energy-room-history-latest .energy-room-utility{padding:8px 10px}.energy-room-history-latest .energy-room-latest strong{font-size:18px}.energy-room-history-section{display:flex;flex:1;min-height:0;flex-direction:column;padding:9px;border:1px solid #d9e4ec;border-radius:10px;background:#fbfcfe}.energy-room-history-list{display:grid;gap:5px;overflow:auto}.energy-history-row{display:grid;grid-template-columns:115px 105px minmax(95px,.75fr) minmax(95px,.75fr) 130px minmax(320px,1.45fr);align-items:center;gap:7px;padding:7px 8px;border:1px solid #d8e3eb;border-left:4px solid #4585bd;border-radius:9px;background:#fff}.energy-history-row.done{border-left-color:#43a169}.energy-history-row.void{border-left-color:#9ba5ad;background:#f5f6f7;opacity:.75}.energy-history-period strong,.energy-history-period small,.energy-history-value small,.energy-history-value b,.energy-history-value strong{display:block}.energy-history-period strong{color:#174f7b;font-size:15px}.energy-history-period small{overflow:hidden;margin-top:2px;color:#8997a3;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.energy-history-type{display:flex;align-items:center;gap:6px}.energy-history-type .energy-bill-type-icon{flex-basis:28px;width:28px;height:28px;border-radius:8px;font-size:11px}.energy-history-type b{color:#315a79;font-size:11.5px}.energy-history-value small{color:#8293a1;font-size:8.5px}.energy-history-value strong{margin-top:2px;color:#155b91;font-size:14px}.energy-history-value b{margin-top:2px;color:#3d617d;font-size:11px}.energy-history-states{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.energy-history-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.energy-history-actions .btn{min-width:0;min-height:30px;padding:4px 5px;font-size:9.5px;white-space:nowrap}.energy-history-actions .btn:disabled{border-color:#dce3e8;background:#f1f3f5;color:#9aa5ad;cursor:not-allowed}.energy-room-history-modal>.modal-actions{flex:0 0 auto;margin:8px -12px -11px}
.energy-progress-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.energy-progress-summary>div{position:relative;min-height:72px;padding:9px 11px}.energy-progress-summary>div>span{display:block;margin-top:2px;color:#778b9c;font-size:9.5px}.energy-progress-summary>div.complete{border-color:#bcdcc7;background:#f1faf4}.energy-progress-summary>div.complete b{color:#247346}.energy-progress-summary>div.warn{border-color:#ebcea0;background:#fff9ee}.energy-progress-summary>div.warn b{color:#a66a0d}.energy-progress-summary>div>i{display:block;height:4px;margin-top:6px;overflow:hidden;border-radius:4px;background:#dce9e1}.energy-progress-summary>div>i>em{display:block;height:100%;border-radius:4px;background:#43a267}.energy-progress-filters{display:flex;align-items:center;gap:6px;margin-bottom:8px;padding:6px;border:1px solid #d8e4ec;border-radius:9px;background:#f7fafc;overflow-x:auto}.energy-progress-filters button{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:33px;padding:5px 9px;border:1px solid #d2dee8;border-radius:8px;background:#fff;color:#48687f;font-size:11px;font-weight:800;cursor:pointer}.energy-progress-filters button b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e7eef4;color:#49677d;font-size:9px}.energy-progress-filters button.active{border-color:#cf8e27;background:#fff3da;color:#8c5b0e}.energy-progress-filters button.active b{background:#d9972c;color:#fff}.energy-incomplete-list{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;max-height:none!important}.energy-incomplete-item{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(330px,1.1fr) minmax(250px,.9fr);align-items:center;gap:9px;padding:8px 9px;border:1px solid #e4c892;border-left:4px solid #d49325;border-radius:9px;background:#fffdf8}.energy-incomplete-identity{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0}.energy-incomplete-identity .energy-bill-type-icon{flex-basis:34px;width:34px;height:34px;border-radius:9px;font-size:13px}.energy-incomplete-identity>div{min-width:0}.energy-incomplete-identity h4,.energy-incomplete-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.energy-incomplete-identity h4{margin:0;color:#245170;font-size:13px}.energy-incomplete-identity small{margin-top:2px;color:#7c8e9c;font-size:9.5px}.energy-incomplete-identity>strong{color:#185d93;font-size:14px}.energy-progress-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.energy-progress-steps>span{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;column-gap:5px;min-height:34px;padding:5px 6px;border-radius:8px;background:#f2f4f6;color:#7b878f}.energy-progress-steps>span>i{display:grid;grid-row:1/3;place-items:center;width:19px;height:19px;border-radius:10px;background:#cbd3d9;color:#fff;font-size:8px;font-style:normal;font-weight:900}.energy-progress-steps>span b{font-size:9.5px}.energy-progress-steps>span small{font-size:8px}.energy-progress-steps>span.done{background:#eaf7ee;color:#287246}.energy-progress-steps>span.done>i{background:#48a36a}.energy-progress-steps>span.missing{background:#fff0db;color:#98620e}.energy-progress-steps>span.missing>i{background:#d99a32}.energy-progress-steps>span.waiting{background:#f1f3f5;color:#8b959c}.energy-progress-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}.energy-progress-row-actions .btn{min-height:31px;padding:4px 7px;font-size:9.5px}.energy-progress-no-action{color:#929ea8;font-size:10px}
@media(max-width:1250px){.energy-room-toolbar{align-items:stretch;flex-direction:column}.energy-room-filters{width:100%;min-width:0}.energy-history-row{grid-template-columns:100px 95px 95px 95px 120px minmax(290px,1fr)}.energy-incomplete-item{grid-template-columns:minmax(230px,1fr) minmax(310px,1fr)}.energy-progress-row-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:960px){.energy-room-list{grid-template-columns:1fr}.energy-room-filters{grid-template-columns:1fr 1fr}.energy-room-query{grid-column:1/-1}.energy-room-filter-actions{grid-column:1/-1}.energy-history-row{grid-template-columns:100px 100px 1fr 1fr}.energy-history-states{grid-column:3/5}.energy-history-actions{grid-column:1/-1}.energy-incomplete-item{grid-template-columns:1fr}.energy-progress-row-actions{grid-column:auto}.energy-progress-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.energy-room-panel{padding:8px}.energy-room-heading small{white-space:normal}.energy-room-filters{grid-template-columns:1fr}.energy-room-filters>*{grid-column:1!important}.energy-room-filter-actions{display:grid;grid-template-columns:1fr 1fr}.energy-room-utilities,.energy-room-history-latest{grid-template-columns:1fr}.energy-room-card>footer{align-items:stretch;flex-direction:column}.energy-room-card>footer>span{white-space:normal}.energy-room-card>footer .btn{width:100%}.modal.modal-energy-room-history{width:calc(100vw - 8px);height:calc(100dvh - 8px);max-height:calc(100dvh - 8px)}.energy-room-history-head{align-items:flex-start;flex-direction:column}.energy-room-history-alerts{width:100%}.energy-room-history-alerts span{flex:1}.energy-history-row{grid-template-columns:1fr 1fr}.energy-history-states{grid-column:1/-1}.energy-history-actions{grid-template-columns:1fr 1fr}.energy-progress-summary{grid-template-columns:1fr 1fr}.energy-progress-summary>div.complete{grid-column:span 2}.energy-incomplete-identity{grid-template-columns:34px minmax(0,1fr)}.energy-incomplete-identity>strong{grid-column:2}.energy-progress-steps{grid-template-columns:1fr}.energy-progress-row-actions{display:grid;grid-template-columns:1fr 1fr}.energy-progress-row-actions .btn{width:100%}}
.energy-history-row.warn{border-left-color:#d59631;background:#fffaf1}

/* Web V14.0 · 全站可读字号、房间卡片精简与能耗历史闭环 */
.app-shell small,.modal small,.drawer small{font-size:12px!important;line-height:1.4}.app-shell .badge,.modal .badge,.drawer .badge,.app-shell .btn.mini,.modal .btn.mini,.drawer .btn.mini,.nav-count,.energy-status,.energy-payment-pill,.energy-batch-status{font-size:12px!important;line-height:1.3}
.energy-tabs button{min-height:52px}.energy-tabs button>span{font-size:15px!important}.energy-tabs button>b{min-width:24px;height:24px;font-size:12px!important}.energy-room-panel{padding:14px 15px}.energy-room-heading{min-width:200px}.energy-room-heading h3{font-size:20px}.energy-room-filters label{font-size:13px}.energy-room-filters input,.energy-room-filters select{min-height:42px;font-size:14px}.energy-room-filter-actions .btn{min-height:42px;font-size:13px}.energy-room-summary{gap:9px;padding:8px 10px}.energy-room-summary>span{padding:6px 10px;font-size:13px}.energy-room-summary b{font-size:15px}
.energy-room-list{gap:11px}.energy-room-card{position:relative;padding:12px 13px;border-radius:12px}.energy-room-card:focus-visible{outline:3px solid rgba(31,111,235,.24);border-color:#397fc7}.energy-room-card>header{margin-bottom:9px}.energy-room-card h4{font-size:17px}.energy-room-card header small{margin-top:3px;font-size:12px!important}.energy-room-state{padding:5px 8px;font-size:12px!important}.energy-room-utilities{gap:8px}.energy-room-utility{padding:9px 10px}.energy-room-utility>header{grid-template-columns:24px minmax(0,1fr) auto;gap:6px}.energy-room-utility>header>span{width:23px;height:23px;font-size:12px}.energy-room-utility>header b{font-size:13px}.energy-room-utility>header small{font-size:12px!important}.energy-room-latest{margin:8px 0}.energy-room-latest strong{font-size:19px}.energy-room-latest small{font-size:13px!important}.energy-room-utility>footer{gap:6px;min-height:24px}.energy-room-utility .energy-status,.energy-room-utility .energy-payment-pill{padding:4px 7px;font-size:12px!important}.energy-room-empty{min-height:52px}.energy-room-empty strong{font-size:14px}.energy-room-empty small{margin-top:4px;font-size:12px!important}.energy-room-card>footer{display:none!important}
.energy-room-history-head{padding:11px 13px}.energy-room-history-head h3{font-size:21px}.energy-room-history-head p{margin-top:4px;font-size:13px}.energy-room-history-alerts span{padding:7px 10px;font-size:13px}.energy-room-history-alerts b{font-size:15px}.energy-room-history-latest{gap:9px;margin-bottom:10px}.energy-room-history-latest .energy-room-latest strong{font-size:20px}.energy-room-history-section{padding:11px}.energy-room-history-section .energy-section-title h4{font-size:18px}.energy-room-history-section .energy-section-title small{font-size:13px!important}.energy-room-history-list{gap:8px}.energy-history-row{grid-template-columns:125px 105px 100px 100px 130px 145px minmax(330px,1.4fr);gap:9px;padding:10px 11px}.energy-history-period strong{font-size:17px}.energy-history-period small{margin-top:3px;font-size:12px!important}.energy-history-type .energy-bill-type-icon{width:32px;height:32px;flex-basis:32px;font-size:13px}.energy-history-type b{font-size:14px}.energy-history-value small{font-size:12px!important}.energy-history-value strong{font-size:17px}.energy-history-value b{font-size:14px}.energy-history-states{gap:6px}.energy-history-states .energy-status,.energy-history-states .energy-payment-pill{padding:5px 7px}.energy-history-photo{display:flex;align-items:center}.energy-history-photo-link,.energy-existing-photo-link{min-height:34px;padding:6px 9px;border:1px solid #9fc2e2;border-radius:8px;background:#eef7ff;color:#145f99;font-size:13px;font-weight:800;cursor:zoom-in}.energy-history-photo-link:hover,.energy-existing-photo-link:hover{border-color:#367fbd;background:#e2f1ff}.energy-history-no-photo{color:#8796a3;font-size:12px}.energy-history-actions{gap:6px}.energy-history-actions .btn{min-height:34px;padding:6px 7px;font-size:12px!important}
.energy-fixed-room{display:flex;align-items:center;gap:11px;margin-bottom:12px;padding:12px 14px;border:1px solid #bcd5e9;border-radius:11px;background:linear-gradient(100deg,#edf7ff,#fbfdff)}.energy-fixed-room .energy-room-icon{width:38px;height:38px;flex-basis:38px;font-size:19px}.energy-fixed-room>div{min-width:0}.energy-fixed-room small,.energy-fixed-room b,.energy-fixed-room span{display:block}.energy-fixed-room small{color:#6f8394}.energy-fixed-room b{margin:2px 0;color:#174f7b;font-size:18px}.energy-fixed-room span{color:#61788c;font-size:13px}.energy-manual-note{display:flex;align-items:center;gap:10px;margin-bottom:11px;padding:9px 11px;border-left:4px solid #2e83c7;border-radius:8px;background:#eef7ff;color:#496b84}.energy-manual-note b{flex:0 0 auto;color:#175b91;font-size:14px}.energy-manual-note span{font-size:13px}.energy-manual-note.review{border-left-color:#d69328;background:#fff8e9}.energy-manual-note.review b{color:#8f5c0d}.energy-manual-form label{font-size:13px}.energy-manual-form input,.energy-manual-form select,.energy-manual-form textarea{font-size:14px}.energy-manual-form .energy-account-preview{min-height:42px;padding:10px 12px;font-size:13px}.energy-manual-photo{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:12px;padding:11px 12px;border:1px solid #d5e2ec;border-radius:10px;background:#f8fbfd}.energy-manual-photo>div:first-child b,.energy-manual-photo>div:first-child span{display:block}.energy-manual-photo>div:first-child b{color:#244f70;font-size:14px}.energy-manual-photo>div:first-child span{margin-top:3px;color:#6b8091;font-size:13px}.energy-manual-photo .energy-photo-actions{grid-column:2;grid-row:1}.energy-manual-photo .qr-upload-panel,.energy-manual-photo .multi-photo-preview,.energy-manual-photo>small,.energy-manual-photo>.energy-existing-photo-link,.energy-manual-photo>.energy-history-no-photo{grid-column:1/-1}.energy-manual-photo>small{color:#748696}.energy-manual-modal>.modal-actions .btn{min-height:40px;font-size:13px}
.energy-operation-modal{padding:14px}.energy-operation-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #bfd7ea;border-radius:11px;background:linear-gradient(105deg,#edf7ff,#fff)}.energy-operation-head small{color:#60798e;font-size:13px!important}.energy-operation-head h3{margin:4px 0 0;color:#155b91;font-size:25px}.energy-operation-head>div:last-child{display:flex;gap:7px}.energy-operation-section{margin-top:12px;padding:12px;border:1px solid #d9e4ec;border-radius:11px}.energy-operation-section h4{margin:0 0 10px;color:#214f72;font-size:17px}.energy-operation-list{display:grid;gap:8px}.energy-operation-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:10px;border:1px solid #dbe5ec;border-left:4px solid #4c8bc0;border-radius:9px;background:#fff}.energy-operation-item>i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e9f3fb;color:#206ba6;font-size:16px;font-style:normal;font-weight:900}.energy-operation-item.review{border-left-color:#45a36b}.energy-operation-item.review>i{background:#e9f7ee;color:#287748}.energy-operation-item.payment{border-left-color:#d4942d}.energy-operation-item.payment>i{background:#fff3df;color:#986313}.energy-operation-item.void{border-left-color:#b7514a}.energy-operation-item.void>i{background:#fdeceb;color:#a4433b}.energy-operation-item header{display:flex;align-items:center;justify-content:space-between;gap:10px}.energy-operation-item header b{color:#254f6d;font-size:14px}.energy-operation-item time{color:#61798c;font-size:13px}.energy-operation-item p{margin:5px 0;color:#445f73;font-size:13px;line-height:1.45}.energy-operation-item small{color:#718596;font-size:12px!important}
@media(max-width:1200px){.energy-history-row{grid-template-columns:110px 100px minmax(90px,1fr) minmax(90px,1fr) 130px}.energy-history-states{grid-column:1/3}.energy-history-actions{grid-column:3/-1}}
@media(max-width:700px){.energy-room-panel{padding:10px}.energy-room-heading h3{font-size:18px}.energy-room-summary{overflow-x:auto}.energy-room-summary>span{flex:0 0 auto}.energy-room-card{padding:10px}.energy-room-utility{padding:9px}.energy-history-row{grid-template-columns:1fr 1fr}.energy-history-photo,.energy-history-states,.energy-history-actions{grid-column:1/-1}.energy-history-actions{grid-template-columns:1fr 1fr}.energy-history-photo-link{width:100%}.energy-manual-photo{grid-template-columns:1fr}.energy-manual-photo .energy-photo-actions{grid-column:1;grid-row:auto}.energy-operation-item header{align-items:flex-start;flex-direction:column}.energy-operation-head{align-items:flex-start;flex-direction:column}}

/* Web V14.1 · 待办四条预览与资产查询精简 */
.compact-panel-head{align-items:center!important;min-height:32px;margin-bottom:8px!important}.compact-panel-head h3{font-size:19px;line-height:1.3}.asset-room-index-panel,.asset-query-panel{padding:14px 16px;margin-bottom:12px}.asset-room-index-workbench{display:grid;grid-template-columns:minmax(560px,.95fr) minmax(180px,1.05fr);align-items:start;gap:10px}.asset-room-search-row{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:8px;margin:0}.asset-room-search-row input,.asset-room-search-row .btn{min-height:42px}.asset-room-index-workbench .room-index-strip{align-items:flex-start;gap:7px;min-width:0;padding:0}.asset-room-index-workbench .room-index-strip:empty{display:none}.asset-room-index-workbench .room-index-chip{min-width:132px;padding:7px 10px;border-radius:9px;gap:1px}.asset-room-index-workbench .room-index-chip b{font-size:14px}.asset-room-index-workbench .room-index-chip span{font-size:12px}.asset-room-selection{justify-content:flex-start;margin-top:8px;padding:7px 9px;gap:10px}.asset-room-selection-summary{display:flex;align-items:center;gap:6px;flex:0 0 auto}.asset-room-selection-summary small{margin:0;padding-right:7px;border-right:1px solid #bfd1e7;font-size:12px!important}.asset-room-selection-summary strong{font-size:14px}.room-scope-switch{flex-wrap:nowrap}.room-scope-switch button{min-height:36px;padding:6px 10px;font-size:13px}.asset-query-panel .asset-search-primary{grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(145px,1fr)) auto auto!important;gap:7px}.asset-query-panel .asset-search-primary>*{min-height:42px}.asset-advanced-filters{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:8px;margin-top:8px;padding:9px}.asset-advanced-filters .purchase-order-filter{max-width:none}.owner-room-filter{margin:0;padding:0}.owner-room-filter.exclusive-active{padding:6px;border:1px solid #8fb9e7;border-radius:9px;background:#eef6ff}.owner-room-filter .location-picker{min-width:0}.owner-room-filter input{min-height:38px}.asset-command-toolbar{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid #e1e8f0;flex-wrap:wrap}.asset-command-toolbar .asset-quick-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;padding:0 8px 0 0;border:0;border-right:1px solid #d9e3ed;border-radius:0;background:transparent}.asset-command-toolbar .asset-action-toolbar{display:flex;align-items:center;gap:6px;flex:1 1 640px;margin:0;padding:0;border:0;flex-wrap:wrap}.asset-command-toolbar .btn{min-height:38px;padding:6px 10px}.asset-command-toolbar #assetCount{margin-left:auto;white-space:nowrap}.approval-lost-found-panel,.approval-energy-panel,.approval-config-panel,.approval-center-grid>.panel{padding:14px 15px}.approval-lost-found-panel,.approval-energy-panel{margin-bottom:10px}.approval-config-panel{margin-top:10px}.approval-center-grid{gap:10px}.approval-more-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:7px 9px;border:1px dashed #b9cee2;border-radius:9px;background:#f3f8fd;color:#5b7187}.approval-more-bar span{font-size:12px}.approval-more-bar .btn{min-height:32px}.modal.modal-approval-more{width:min(1320px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}.approval-more-modal{display:flex;min-height:0;flex-direction:column}.approval-full-count{flex:0 0 auto;margin-bottom:9px;padding:8px 10px;border-radius:8px;background:#edf5fc;color:#245b87;font-size:13px;font-weight:800}.approval-full-list{flex:1;min-height:0;max-height:68vh;overflow:auto;padding-right:4px}.approval-full-list+.modal-actions{flex:0 0 auto;margin-top:10px}
@media(max-width:1050px){.asset-room-index-workbench{grid-template-columns:1fr}.asset-room-index-workbench .room-index-strip{padding-top:2px}.asset-query-panel .asset-search-primary{grid-template-columns:repeat(3,minmax(150px,1fr))!important}.asset-query-panel .asset-search-primary #fQ{grid-column:1/-1}.asset-command-toolbar{align-items:stretch}.asset-command-toolbar .asset-quick-filters{border-right:0}.asset-room-selection{align-items:flex-start;flex-direction:column}.room-scope-switch{width:100%}.room-scope-switch button{flex:1}}
@media(max-width:620px){.asset-room-index-panel,.asset-query-panel{padding:11px}.asset-room-search-row{grid-template-columns:1fr 1fr}.asset-room-search-row input{grid-column:1/-1}.asset-room-search-row .btn{width:100%}.asset-room-selection{padding:8px}.asset-room-selection-summary{width:100%}.room-scope-switch{display:grid!important;grid-template-columns:1fr!important}.asset-query-panel .asset-search-primary{grid-template-columns:1fr!important}.asset-query-panel .asset-search-primary #fQ{grid-column:auto}.asset-command-toolbar .asset-quick-filters,.asset-command-toolbar .asset-action-toolbar{display:grid;width:100%;grid-template-columns:1fr 1fr}.asset-command-toolbar .btn{width:100%}.asset-command-toolbar #assetCount{grid-column:1/-1;margin:0}.approval-more-bar{align-items:stretch;flex-direction:column}.approval-more-bar .btn{width:100%}.approval-full-list{max-height:none}}
.approval-summary{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px;margin-bottom:10px}.approval-summary-card{padding:10px 12px}.approval-summary-card b{margin-top:3px;font-size:24px}
@media(max-width:1050px){.approval-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.approval-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Web V14.2 · 最近一期能耗待办与直接处理 */
.energy-progress-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.energy-progress-summary>div{min-height:76px}.energy-progress-summary>div>span{font-size:12px!important}.energy-progress-steps.latest{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-progress-steps.latest>span b{font-size:12px}.energy-progress-steps.latest>span small{font-size:12px!important}.energy-progress-controls{justify-content:flex-end}.energy-progress-row-actions .btn{min-height:36px;padding:6px 10px}
@media(max-width:620px){.energy-progress-summary{grid-template-columns:1fr 1fr}.energy-progress-steps.latest{grid-template-columns:1fr 1fr}}

/* Web V14.3 · 能耗快捷确认、可撤销记录与平均单房趋势 */
.energy-analysis-alerts{display:none!important}.energy-cost-kpis em{font-size:13px!important}.energy-room-utilities,.energy-room-history-latest{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.energy-progress-filters .recent{margin-left:auto}.energy-progress-row-actions .photo{border-color:#9fc2e2;background:#eef7ff;color:#145f99;cursor:zoom-in}
.energy-trend-types{flex:0 0 auto}.energy-trend-chart{min-height:205px}.energy-trend-columns{height:178px}.energy-trend-column{grid-template-rows:24px 108px 22px 18px;height:174px}.energy-trend-column>strong{font-size:12px!important}.energy-trend-column>small{font-size:12px!important}.energy-trend-column>em{align-self:start;color:#71879a;font-size:12px;font-style:normal}.energy-trend-stack.single{align-items:stretch;justify-content:flex-start;flex-direction:column-reverse}.energy-trend-stack.single i{width:100%;border-radius:5px 5px 2px 2px;box-shadow:0 2px 6px rgba(28,83,126,.14)}.energy-trend-legend span{font-size:12px!important}
.energy-recent-action-item{display:grid;grid-template-columns:38px minmax(230px,1fr) minmax(230px,1fr) auto auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid #cfdfe9;border-left:4px solid #2f7fc1;border-radius:10px;background:#fff}.energy-recent-action-item.restored{border-left-color:#9aa8b2;background:#f7f9fa}.energy-recent-identity,.energy-recent-operation{min-width:0}.energy-recent-identity h4,.energy-recent-operation b{display:block;overflow:hidden;margin:0;color:#245170;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.energy-recent-identity small,.energy-recent-operation small{display:block;overflow:hidden;margin-top:3px;color:#6e8496;font-size:12px!important;text-overflow:ellipsis;white-space:nowrap}.energy-recent-state{padding:5px 8px;border-radius:8px;background:#e8f6ed;color:#267247;font-size:12px;font-weight:850;white-space:nowrap}.energy-recent-state.restored{background:#e9edf0;color:#66747e}.energy-recent-locked{color:#82909a;font-size:12px;white-space:nowrap}.energy-recent-action-item .btn{min-height:36px;font-size:12px!important;white-space:nowrap}.energy-operation-item.undo_review,.energy-operation-item.undo_payment{border-left-color:#8a98a3}.energy-operation-item.undo_review>i,.energy-operation-item.undo_payment>i{background:#eef1f3;color:#647581}
@media(max-width:1100px){.energy-trend-panel>.energy-section-title{align-items:flex-start;flex-direction:column}.energy-trend-types{width:100%;overflow-x:auto}.energy-trend-types button{flex:1;white-space:nowrap}.energy-recent-action-item{grid-template-columns:38px minmax(0,1fr) auto}.energy-recent-operation{grid-column:2}.energy-recent-state{grid-column:3;grid-row:1}.energy-recent-action-item>.btn,.energy-recent-locked{grid-column:3;grid-row:2}}
@media(max-width:620px){.energy-progress-filters .recent{margin-left:0}.energy-recent-action-item{grid-template-columns:36px minmax(0,1fr)}.energy-recent-operation,.energy-recent-state,.energy-recent-action-item>.btn,.energy-recent-locked{grid-column:1/-1;grid-row:auto}.energy-recent-action-item>.btn{width:100%}.energy-trend-column{grid-template-rows:22px 108px 22px 18px}.energy-trend-column>strong{font-size:12px!important}}

/* Web V14.4 · 寄存详情信息分层与资产工具栏分类 */
.asset-command-toolbar{display:grid;gap:7px;margin-top:9px;padding:8px;border:1px solid #cfdfed;border-radius:11px;background:#f5f9fd}.asset-command-summary{display:flex;align-items:center;justify-content:flex-end;min-height:20px;padding:0 3px}.asset-command-summary #assetCount{margin:0;color:#637b91;font-size:12px;white-space:nowrap}.asset-command-groups{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap}.asset-command-group{display:grid;align-content:start;gap:5px;min-width:0;padding:7px;border:1px solid #d8e4ef;border-radius:9px;background:#fff}.asset-command-group[data-tool-group="filter"]{flex:1 1 330px}.asset-command-group[data-tool-group="capture"]{flex:1 1 255px}.asset-command-group[data-tool-group="selection"]{flex:1 1 230px}.asset-command-group[data-tool-group="output"]{flex:1 1 210px}.asset-command-group[data-tool-group="batch"]{flex:0 1 170px;border-color:#adcbea;background:#f2f7ff}.asset-command-group-title{display:flex;align-items:center;gap:5px;min-height:20px;color:#63788c;font-size:12px;font-weight:850;line-height:1.2}.asset-command-group-title:before{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#e8f1fa;color:#2466a2;font-size:13px;content:attr(data-icon)}.asset-command-group-title b{display:grid;place-items:center;min-width:20px;height:20px;margin-left:auto;padding:0 5px;border-radius:10px;background:#e9eef3;color:#5d7285;font-size:12px}.asset-command-group-title b.active{background:#176ed0;color:#fff}.asset-command-buttons{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.asset-command-toolbar .asset-tool-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:37px;padding:6px 9px;font-size:13px;white-space:nowrap}.asset-tool-btn:before{display:inline-grid;place-items:center;min-width:16px;color:#326894;font-size:14px;line-height:1;content:attr(data-icon)}.asset-command-toolbar .quick-filter-btn.active:before,.asset-command-toolbar .batch-action-main:before{color:inherit}.asset-command-group.batch .asset-command-buttons,.asset-command-group.batch .asset-tool-btn{width:100%}

.luggage-detail-modal{display:grid;gap:11px;padding:13px 14px}.luggage-order-overview{display:grid;grid-template-columns:minmax(225px,.75fr) minmax(0,2.25fr);gap:9px;padding:10px;border:1px solid #c9dced;border-radius:12px;background:linear-gradient(120deg,#edf6ff,#f9fcff)}.luggage-order-primary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:5px 10px 5px 3px;border-right:1px solid #cbddeb}.luggage-customer-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#176ed0;color:#fff;font-size:16px;font-weight:900}.luggage-order-primary>div{min-width:0}.luggage-order-primary small,.luggage-order-primary strong{display:block}.luggage-order-primary small{color:#71879a;font-size:12px!important}.luggage-order-primary strong{overflow:hidden;margin-top:2px;color:#163f6c;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.luggage-order-state{align-self:start;padding:5px 8px;border-radius:999px;background:#e8f6ed;color:#237143;font-size:12px;font-weight:850;white-space:nowrap}.luggage-order-state.partial{background:#fff3db;color:#93610d}.luggage-order-state.complete{background:#edf0f3;color:#64737f}.luggage-order-facts{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:6px}.luggage-order-facts>div{display:grid;align-content:center;min-width:0;padding:6px 8px;border:1px solid #deE8f1;border-radius:8px;background:rgba(255,255,255,.9)}.luggage-order-facts small,.luggage-order-facts strong{display:block}.luggage-order-facts small{color:#73879a;font-size:12px!important}.luggage-order-facts strong{overflow-wrap:anywhere;margin-top:3px;color:#294f70;font-size:13px;line-height:1.35}.luggage-count-fact strong{white-space:nowrap}.luggage-count-fact strong b{color:#b25b18;font-size:19px}.luggage-order-note{display:grid;grid-template-columns:22px auto minmax(0,1fr);align-items:start;gap:6px;grid-column:1/-1;padding:7px 9px;border-radius:8px;background:#fff8e9;color:#705d37}.luggage-order-note>span,.luggage-pickup-tip>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e8c77d;color:#704d0c;font-size:12px;font-weight:900}.luggage-order-note b{font-size:12px}.luggage-order-note p{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.luggage-detail-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.luggage-detail-section-head h3{margin:0;color:#173f6c;font-size:18px}.luggage-detail-section-head>div:first-child span{display:block;margin-top:2px;color:#71869a;font-size:12px}.luggage-detail-section-head>div:last-child{display:flex;align-items:center;gap:5px;color:#71869a;font-size:12px;white-space:nowrap}.luggage-detail-section-head>div:last-child b{color:#247145;font-size:17px}.luggage-detail-section-head>div:last-child span{color:#aeb9c3}.luggage-detail-tags{gap:7px}.luggage-detail-modal .luggage-detail-tag{grid-template-columns:22px minmax(0,1fr) auto;min-height:66px;padding:9px 11px;border-color:#d7e3ed}.luggage-detail-modal .luggage-detail-tag.stored{border-left:4px solid #3a9660}.luggage-detail-modal .luggage-detail-tag.picked{border-left:4px solid #a0adb7;background:#f6f8fa;opacity:1}.luggage-detail-modal .luggage-detail-tag>input{width:18px;height:18px;margin:0;accent-color:#176ed0}.luggage-tag-marker{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#edf2f6;color:#718392;font-size:12px;font-weight:900}.luggage-tag-main{min-width:0}.luggage-tag-main>b{color:#173f70;font-size:15px}.luggage-tag-main>small{margin-top:2px;color:#4f6c84;font-size:12px!important;line-height:1.4;overflow-wrap:anywhere}.luggage-tag-main>em{display:flex!important;align-items:center;gap:5px;margin-top:3px;color:#738799;font-size:12px!important}.luggage-tag-main>em>span{color:#3c7eaa;font-style:normal}.luggage-tag-state{padding:5px 8px;border-radius:999px;font-size:12px!important;font-style:normal;font-weight:850;white-space:nowrap}.luggage-tag-state.stored{background:#e8f6ed;color:#237143}.luggage-tag-state.picked{background:#e9edf0;color:#657580}.luggage-pickup-panel{display:grid;gap:9px;margin-top:1px;padding:11px 12px}.luggage-pickup-title{display:flex;align-items:center;gap:8px}.luggage-pickup-title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#176ed0;color:#fff;font-size:16px;font-weight:900}.luggage-pickup-title h3{margin:0;color:#174a75;font-size:17px}.luggage-pickup-title small{display:block;margin-top:1px;color:#6e8396;font-size:12px!important}.luggage-pickup-panel .form-grid{gap:8px}.luggage-pickup-panel label{font-size:13px}.luggage-pickup-panel input{min-height:41px;font-size:14px}.luggage-pickup-tip{display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:8px;background:#fff8e9;color:#725d34;font-size:12px;line-height:1.45}.luggage-pickup-tip>span{flex:0 0 auto;width:19px;height:19px}.luggage-detail-modal>.modal-actions{margin-top:2px!important}
@media(max-width:1180px){.asset-command-group[data-tool-group="filter"]{flex-basis:310px}.asset-command-group[data-tool-group="batch"]{flex:1 1 170px}.luggage-order-overview{grid-template-columns:1fr}.luggage-order-primary{border-right:0;border-bottom:1px solid #cbddeb;padding-bottom:9px}.luggage-order-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.asset-command-summary{justify-content:flex-start}.asset-command-summary #assetCount{white-space:normal}.asset-command-group{flex:1 1 calc(50% - 7px)!important}.asset-command-buttons{display:grid;grid-template-columns:1fr 1fr}.asset-command-toolbar .asset-tool-btn{width:100%;white-space:normal}.asset-command-group[data-tool-group="batch"] .asset-command-buttons{grid-template-columns:1fr}.luggage-order-facts{grid-template-columns:1fr 1fr}.luggage-detail-section-head{align-items:flex-start;flex-direction:column;gap:5px}.luggage-detail-modal .luggage-detail-tag{grid-template-columns:22px minmax(0,1fr)}.luggage-tag-state{grid-column:2;width:max-content}.luggage-pickup-panel .form-grid{grid-template-columns:1fr}}
@media(max-width:480px){.asset-command-group{flex-basis:100%!important}.luggage-order-primary{grid-template-columns:36px minmax(0,1fr)}.luggage-order-state{grid-column:2;width:max-content}.luggage-order-facts{grid-template-columns:1fr 1fr}.luggage-order-note{grid-template-columns:20px minmax(0,1fr)}.luggage-order-note p{grid-column:2}.luggage-detail-modal{padding:10px}.luggage-pickup-tip{align-items:flex-start}}

/* Web V14.5 · 能耗快捷操作二次确认与待办单行优化 */
@media(min-width:1081px){
  .energy-incomplete-item{grid-template-columns:minmax(300px,1fr) minmax(185px,210px) minmax(365px,auto);gap:8px;padding:7px 9px}
  .energy-progress-steps.latest{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .energy-progress-steps.latest>span{grid-template-columns:18px minmax(0,1fr);column-gap:4px;min-height:36px;padding:4px 5px}
  .energy-progress-steps.latest>span>i{grid-row:1;width:18px;height:18px;font-size:12px}
  .energy-progress-steps.latest>span>b{overflow:hidden;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
  .energy-progress-steps.latest>span>small{display:none}
  .energy-progress-row-actions{grid-column:auto;display:flex;justify-content:flex-end;gap:4px;min-width:365px;flex-wrap:nowrap}
  .energy-progress-row-actions .btn{min-height:34px;padding:5px 7px;font-size:12px;white-space:nowrap}
}

/* Web V14.6 · 全系统下一步跟进与责任人交接提示 */
.toast.workflow-handoff{box-sizing:border-box;width:min(500px,calc(100vw - 32px));max-width:500px;padding:0;overflow:hidden;border:1px solid #8db9df;border-radius:14px;background:#fff;color:#173b62;box-shadow:0 18px 48px rgba(10,45,80,.25);text-align:left}
.workflow-handoff-head{display:grid;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:10px;padding:11px 12px;background:linear-gradient(110deg,#e9f5ff,#f4fbff);border-bottom:1px solid #c7dfef}.workflow-handoff-head>div{min-width:0}.workflow-handoff-head small,.workflow-handoff-head strong{display:block}.workflow-handoff-head small{color:#5f7790;font-size:12px}.workflow-handoff-head strong{margin-top:1px;color:#124f82;font-size:17px}.workflow-handoff-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#176ed0;color:#fff;font-size:23px;font-weight:900}.workflow-toast-close{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:transparent;color:#536c82;font-size:23px;cursor:pointer}.workflow-toast-close:hover,.workflow-toast-close:focus-visible{background:#dcecf8;outline:2px solid #83b5da}
.workflow-handoff-list{display:grid;gap:0;max-height:min(62vh,520px);overflow:auto}.workflow-handoff-card{display:grid;grid-template-columns:29px minmax(0,1fr);gap:9px;padding:11px 12px;border-bottom:1px solid #e0eaf1}.workflow-handoff-card:last-child{border-bottom:0}.workflow-handoff-number{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e7f2fc;color:#1764a4;font-size:13px;font-weight:900}.workflow-handoff-main{min-width:0}.workflow-handoff-main>strong{display:block;color:#123e68;font-size:15px;line-height:1.35}.workflow-handoff-handler{display:flex;align-items:center;gap:7px;margin-top:7px}.workflow-handoff-handler>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e7f6ec;color:#247044;font-size:12px;font-weight:900}.workflow-handoff-handler>b{color:#1e6741;font-size:14px;line-height:1.35}.workflow-handoff-main p{margin:4px 0 0;color:#64798e;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.workflow-handoff-workspace{display:flex;align-items:center;gap:5px;color:#3e6384!important}.workflow-handoff-workspace>span{color:#2475b6;font-size:14px}.workflow-handoff-warning{padding:6px 8px;border-radius:7px;background:#fff3df;color:#8f5a0b!important;font-weight:750}.workflow-handoff-more{margin:0;padding:9px 12px;background:#f5f8fb;color:#5e7488;font-size:12px;text-align:center}
@media(max-width:620px){.toast.workflow-handoff{right:12px;left:12px;bottom:86px;width:auto;max-width:none}.workflow-handoff-head{grid-template-columns:36px minmax(0,1fr) 34px}.workflow-handoff-list{max-height:55vh}}

/* Web V17.1.1 · 手机二维码上传成功即展示可删除缩略图 */
.qr-upload-thumbnails{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #d9e5ef}.qr-upload-thumb,.photo-thumb-wrap{position:relative;display:inline-flex}.qr-upload-preview{width:76px;height:76px;padding:0;overflow:hidden;border:1px solid #c8d8e8;border-radius:10px;background:#f4f8fc}.qr-upload-preview img{width:100%;height:100%;object-fit:cover}.qr-upload-remove,.photo-thumb-remove{position:absolute;z-index:2;top:-8px;right:-8px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;background:#c93838;color:#fff;font-size:17px;font-weight:900;line-height:1;box-shadow:0 2px 8px rgba(55,20,20,.3);cursor:pointer}.qr-upload-remove:hover,.qr-upload-remove:focus-visible,.photo-thumb-remove:hover,.photo-thumb-remove:focus-visible{background:#a91f1f;outline:2px solid #f0a1a1}.multi-photo-preview .photo-thumb-wrap{margin:3px}.photo-thumb-wrap>.photo-thumb{margin:0}

/* Web V14.7 · 报废与维修的模糊范围检索、折叠历史和资产级分页 */
.business-range-filter{display:grid;grid-template-columns:repeat(6,minmax(125px,1fr));align-items:end;gap:9px;margin-top:14px;padding:12px;border:1px solid #d3e1ed;border-radius:11px;background:#f6f9fc}.business-range-filter>label{display:grid;gap:5px;min-width:0;color:#3e607d;font-size:12px;font-weight:800}.business-range-filter>label>span{white-space:nowrap}.business-range-filter input,.business-range-filter select{box-sizing:border-box;width:100%;min-height:42px;margin:0;font-size:14px}.business-range-filter .filter-wide{grid-column:span 2}.range-filter-actions{display:flex;align-items:center;gap:7px}.range-filter-actions .btn{flex:1;min-height:42px;white-space:nowrap}.range-filter-actions .btn:before{margin-right:6px;color:inherit;font-size:14px;content:attr(data-icon)}
.business-range-filter.disposal-filters{grid-template-columns:repeat(6,minmax(125px,1fr));padding-top:12px}.disposal-filters .range-filter-actions{grid-column:span 2}.disposal-summary-card span,.disposal-item-main p,.disposal-meta,.terminal-badge{font-size:12px}.disposal-meta{row-gap:5px}.disposal-meta span{padding:3px 6px;border-radius:6px;background:#f1f5f9;color:#5b7086}.completed-item .disposal-meta span{background:#e9eef3}.disposal-thumb.photo-preview-trigger{cursor:zoom-in}.terminal-badge{padding:6px 9px}
.maintenance-history-summary{align-items:center}.maintenance-history-summary em{margin-left:auto;color:#607991;font-size:12px;font-style:normal}.maintenance-asset-history>summary{grid-template-columns:64px minmax(0,1fr) auto auto;min-height:66px;padding:11px 13px}.maintenance-asset-history>summary:hover{background:#edf5fd}.maintenance-asset-history>summary .maint-thumb{box-sizing:border-box;width:64px;height:54px;padding:0;border:1px solid #ceddea;border-radius:9px;background:#edf2f7;color:#61778d;font:inherit;font-size:12px;cursor:zoom-in;overflow:hidden}.maintenance-asset-history>summary .maint-thumb img{width:100%;height:100%;object-fit:cover}.maintenance-asset-history>summary b{font-size:15px}.maintenance-asset-history>summary span{font-size:12px;line-height:1.45}.maintenance-asset-history>summary strong{padding:6px 9px;border-radius:8px;background:#e8f2fc;color:#1a5c98;font-size:13px;white-space:nowrap}.maintenance-history-records small,.maintenance-history-no{font-size:12px}.maintenance-history-records small{line-height:1.5}.maintenance-vouchers{margin-top:7px}.maintenance-vouchers .choice-thumb{cursor:zoom-in}.maintenance-history-list+.pager{margin-top:13px}
.asset-transfer-icon,.asset-transfer-icon.compact{width:auto;min-width:0;height:22px;padding:0 7px;border-radius:7px;font-size:12px;line-height:20px;white-space:nowrap}.asset-policy-badge{font-size:12px}.asset-name-with-policy{flex-wrap:wrap}

/* Web V14.8 · 资产主档必填、最近更新排序与持久交接提示 */
#workflowHandoff:not(.hidden)+#toast:not(.hidden){top:24px;bottom:auto}
@media(max-width:620px){#workflowHandoff:not(.hidden)+#toast:not(.hidden){top:12px;bottom:auto}}
@media(max-width:1100px){.business-range-filter,.business-range-filter.disposal-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.business-range-filter .filter-wide{grid-column:span 2}.disposal-filters .range-filter-actions{grid-column:auto}.maintenance-history-summary em{flex-basis:100%;margin-left:0}}
@media(max-width:680px){.business-range-filter,.business-range-filter.disposal-filters{grid-template-columns:1fr!important}.business-range-filter .filter-wide,.disposal-filters .range-filter-actions{grid-column:1!important}.maintenance-asset-history>summary{grid-template-columns:54px minmax(0,1fr)}.maintenance-asset-history>summary .maint-thumb{width:54px;height:48px}.maintenance-asset-history>summary>strong,.maintenance-asset-history>summary>.btn{grid-column:2;width:max-content}.range-filter-actions{display:grid;grid-template-columns:1fr 1fr}.maintenance-history-summary em{flex-basis:100%}}

/* Web V14.9 · 报废处置闭环、人员名下资产与盘点历史 */
.approval-center-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.approval-summary{grid-template-columns:repeat(7,minmax(0,1fr))!important}
.disposal-progress-btn{border-color:#e0a23d!important;background:#fff6df!important;color:#8a5707!important;font-weight:850!important;box-shadow:none!important}
.disposal-progress-btn:before{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#dc941c;content:""}
.disposal-progress-btn:hover:not(:disabled){border-color:#c88619!important;background:#ffefc5!important;color:#714400!important}
.disposal-approval-row{border-left:4px solid #dca03a}

.modal.modal-disposal-settlement{display:flex;flex-direction:column;width:min(940px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden}
.modal-disposal-settlement .modal-head{flex:0 0 auto}
.modal-disposal-settlement #modalBody{flex:1;min-height:0;overflow:auto;background:#f3f7fb}
.disposal-settlement-modal{display:grid;gap:11px;padding:13px 14px}
.disposal-settlement-hero{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #bcd5e8;border-radius:13px;background:linear-gradient(115deg,#eaf6ff,#f8fcff)}
.disposal-settlement-hero-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#176ed0;color:#fff;font-size:18px;font-weight:900;box-shadow:0 6px 16px rgba(23,110,208,.2)}
.disposal-settlement-hero h3,.disposal-settlement-hero p{margin:0}.disposal-settlement-hero h3{margin-top:2px;color:#164b78;font-size:20px}.disposal-settlement-hero small{display:block;color:#627e95;font-size:12px}.disposal-settlement-hero p{margin-top:3px;color:#5b758b;font-size:13px}
.disposal-state-badge{align-self:start;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.disposal-state-badge.pending{background:#e8f2fd;color:#1764a7}.disposal-state-badge.progress{background:#fff0cd;color:#8b5908}
.disposal-settlement-step{padding:12px 13px;border:1px solid #d4e1ec;border-radius:12px;background:#fff}.disposal-settlement-step>header{display:grid;grid-template-columns:31px minmax(0,1fr);align-items:start;gap:9px;margin-bottom:10px}.disposal-settlement-step>header>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e8f2fc;color:#1766aa;font-size:13px;font-weight:900}.disposal-settlement-step>header h4,.disposal-settlement-step>header p{margin:0}.disposal-settlement-step>header h4{color:#174970;font-size:16px}.disposal-settlement-step>header p{margin-top:2px;color:#71869a;font-size:12px;line-height:1.45}.disposal-settlement-step.compact textarea{box-sizing:border-box;width:100%;min-height:72px;margin:0;font-size:14px}
.disposal-settlement-fields{grid-template-columns:1fr 1fr;gap:8px 10px}.disposal-settlement-fields label{margin:0;color:#365d7a;font-size:13px;font-weight:750}.disposal-settlement-fields input,.disposal-settlement-fields select{min-height:42px;margin-top:5px;font-size:14px}
.disposal-method-hint{margin-top:9px;padding:8px 10px;border-radius:8px;background:#eef6fc;color:#526f86;font-size:12px;line-height:1.5}.disposal-method-hint b{color:#1d5d91}
.disposal-confirm-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.disposal-confirm-card{display:grid!important;grid-template-columns:20px 39px minmax(0,1fr);align-items:start;gap:9px;min-height:102px;margin:0;padding:12px;border:2px solid #d7e2ec;border-radius:11px;background:#fbfdff;color:#31536f;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.disposal-confirm-card:hover{border-color:#8bb7dc}.disposal-confirm-card>input{width:19px;min-height:19px;margin:3px 0 0;accent-color:#176ed0}.disposal-confirm-card>i{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf3fb;color:#1766a7;font-size:15px;font-style:normal;font-weight:900}.disposal-confirm-card>span b,.disposal-confirm-card>span small{display:block}.disposal-confirm-card>span b{color:#1a4e78;font-size:15px}.disposal-confirm-card>span small{margin-top:5px;color:#617a8f;font-size:12px;line-height:1.55}.disposal-confirm-card.is-checked{border-color:#2b7bc1;background:#eef8ff;box-shadow:0 0 0 3px rgba(43,123,193,.09)}.disposal-confirm-card.critical.is-checked{border-color:#c65347;background:#fff5f3;box-shadow:0 0 0 3px rgba(198,83,71,.09)}.disposal-confirm-card.critical.is-checked>i{background:#ffe2dd;color:#ae372d}
.disposal-completion-impact{display:flex;align-items:flex-start;gap:8px;margin-top:9px;padding:9px 10px;border-radius:9px;background:#f2f6f9;color:#587187;font-size:12px;line-height:1.5}.disposal-completion-impact b{flex:0 0 auto;color:#1f567f}.disposal-completion-impact span{min-width:0}
.disposal-settlement-actions{position:sticky;bottom:-13px;z-index:3;align-items:center;margin:0 -14px -13px;padding:11px 14px calc(11px + env(safe-area-inset-bottom));border-top:1px solid #cbdbe8;background:rgba(255,255,255,.97);box-shadow:0 -8px 20px rgba(29,66,101,.08);backdrop-filter:blur(8px)}.disposal-settlement-actions>div{display:grid;margin-right:auto}.disposal-settlement-actions strong{color:#234f73;font-size:13px}.disposal-settlement-actions span{margin-top:1px;color:#708599;font-size:12px}.modal-disposal-settlement #dsSubmit{min-width:155px}.modal-disposal-settlement #dsSubmit.danger{border-color:#b83d33;background:#b83d33;color:#fff;box-shadow:0 5px 13px rgba(184,61,51,.2)}.modal-disposal-settlement #dsSubmit.danger:hover:not(:disabled){border-color:#982f28;background:#a9342c;color:#fff}

.custody-people-panel{min-height:420px}.custody-people-panel>.panel-head{align-items:flex-start}.custody-people-panel>.inline-form{max-width:720px;margin-top:2px}.custody-people-panel .people-grid{margin-top:12px}
.inventory-history-table{min-width:1140px}.inventory-history-table th:nth-child(1){min-width:130px}.inventory-history-table th:nth-child(3),.inventory-history-table th:nth-child(4){min-width:150px}.inventory-history-table th:nth-child(5){min-width:125px}.inventory-history-table th:last-child{min-width:130px}
.inv-duration{display:inline-block;color:#294b69;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

@media(max-width:1250px){.approval-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.approval-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:720px){.approval-center-grid{grid-template-columns:1fr!important}.approval-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.disposal-settlement-hero{grid-template-columns:42px minmax(0,1fr)}.disposal-settlement-hero-icon{width:40px;height:40px}.disposal-state-badge{grid-column:2;width:max-content}.disposal-settlement-fields,.disposal-confirm-grid{grid-template-columns:1fr!important}.disposal-confirm-card{min-height:0}.disposal-settlement-actions{display:grid;grid-template-columns:1fr 1fr}.disposal-settlement-actions>div{grid-column:1/-1}.modal-disposal-settlement #dsSubmit{min-width:0}.custody-people-panel{min-height:0}}

/* Web V15.0 · 资产最近变更倒序、维修当前状态与无横向滚动模板编辑 */
.maintenance-asset-history-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}
.maintenance-current-state{display:inline-flex!important;align-items:center;min-height:30px;padding:5px 10px;border:1px solid transparent;border-radius:999px;font-size:13px!important;font-weight:850;line-height:1!important}
.maintenance-current-state.repairing{border-color:#efc270;background:#fff3d9;color:#985e08}
.maintenance-current-state.repaired{border-color:#add8ba;background:#eaf8ee;color:#247143}
.maintenance-current-state.terminal{border-color:#d8bec0;background:#f8ecee;color:#8b3940}
.maintenance-current-state.other{border-color:#b9cce0;background:#eef4fa;color:#3f607f}

.modal.modal-config-template{display:flex;flex-direction:column;width:min(980px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden}
.modal-config-template .modal-head{flex:0 0 auto}
.modal-config-template #modalBody{flex:1;min-height:0;overflow:hidden}
.modal-config-template .config-template-sheet-editor{display:flex;flex-direction:column;box-sizing:border-box;height:100%;max-height:calc(100dvh - 78px);gap:9px;padding:13px 14px;overflow:hidden}
.config-template-editor-hint{flex:0 0 auto;margin:0;padding:8px 10px;border-radius:8px;background:#eef5fc;color:#526f88;font-size:13px;line-height:1.45}
.config-template-editor-list{display:grid;flex:1;align-content:start;gap:9px;min-height:0;padding:1px 4px 1px 1px;border:0;background:transparent;box-shadow:none;overflow-x:hidden!important;overflow-y:auto!important}
.config-template-editor-row{min-width:0;padding:11px;border:1px solid #cfdeeb;border-radius:11px;background:#f9fbfd;box-shadow:0 2px 7px rgba(25,65,100,.05)}
.config-template-editor-row>header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;margin-bottom:9px;padding-bottom:8px;border-bottom:1px solid #dce6ef}
.config-template-editor-row>header>div:first-child{display:flex;align-items:baseline;gap:8px;min-width:0}.config-template-editor-row>header>div:first-child span{color:#6c8195;font-size:12px}.config-template-editor-row>header>div:first-child b{overflow:hidden;color:#194d78;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.config-template-save-state{padding:4px 8px;border-radius:999px;background:#e9f6ed;color:#2c7445;font-size:12px;font-weight:800;white-space:nowrap}.config-template-save-state.draft{background:#fff0cf;color:#915d0b}
.config-template-editor-fields{display:grid;grid-template-columns:minmax(145px,1.15fr) minmax(105px,.72fr) minmax(210px,1.7fr) minmax(92px,.62fr) minmax(105px,.72fr);gap:8px}
.config-template-editor-fields label{display:grid;align-content:start;gap:5px;min-width:0;margin:0;color:#526b83;font-size:12px;font-weight:750}.config-template-editor-fields label>span{white-space:nowrap}.config-template-editor-fields label>span>b{color:#c43d32;font-size:13px}.config-template-editor-fields input,.config-template-editor-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:39px;margin:0;padding:7px 9px;font-size:13px}.config-template-editor-fields .template-note-field{grid-column:1/-1}
.config-template-editor-row.priority-urgent{border-color:#e0a5a5;background:#fff7f7}.config-template-editor-row.priority-urgent>header{border-bottom-color:#ebc3c3}.config-template-editor-row.not-required{border-style:dashed;background:#f3f5f7}.config-template-editor-row.inactive{opacity:.58}.config-template-editor-row.config-template-draft{border-color:#dfc47d;background:#fffaf0}
.config-template-editor-actions{flex:0 0 auto;flex-wrap:wrap;margin:0;padding-top:10px;border-top:1px solid #d8e3ed;background:#fff}.config-template-editor-actions #ctdAddRow{margin-right:auto}

@media(max-width:800px){.maintenance-asset-history-meta{grid-column:2;justify-content:flex-start;flex-wrap:wrap}.config-template-editor-fields{grid-template-columns:1fr 1fr}.config-template-editor-fields .template-name-field,.config-template-editor-fields .template-note-field{grid-column:1/-1}}
@media(max-width:520px){.config-template-editor-row>header{grid-template-columns:minmax(0,1fr) auto}.config-template-editor-row>header>.row-actions,.config-template-editor-row>header>.ct-save-existing{grid-column:1/-1;justify-self:stretch}.config-template-editor-row>header>.ct-save-existing{width:100%}.config-template-editor-fields{grid-template-columns:1fr}.config-template-editor-fields .template-name-field,.config-template-editor-fields .template-note-field{grid-column:1}.config-template-editor-actions{display:grid;grid-template-columns:1fr}.config-template-editor-actions .btn{width:100%}}

/* V15.2 communication contract and payment rules */
.network-form-grid>label[hidden]{display:none!important}
.network-form-grid input:read-only,.network-form-grid select:disabled,.network-form-grid input:disabled{background:#edf1f6;color:#536579;border-color:#ccd6e3}
.network-billing-behavior{display:block;padding:0;border:0;background:transparent}
.network-billing-behavior>.network-billing-explain{margin:0;padding:0;background:transparent}
.network-billing-explain{grid-template-columns:repeat(2,minmax(0,1fr))}
.network-todo-list{display:grid;gap:10px}
.network-todo-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #d6e2ee;border-radius:12px;background:#fff}
.network-todo-card>div{display:grid;gap:7px;min-width:0}
.network-todo-card strong{font-size:16px}.network-todo-card small{font-size:14px;overflow-wrap:anywhere}
.network-todo-card .network-due-badge{justify-self:start}.network-todo-card .btn{flex-shrink:0}
.network-form-grid label small{font-size:14px}
@media(max-width:640px){.network-billing-explain{grid-template-columns:1fr}.network-todo-card{flex-wrap:wrap}.network-todo-card .btn{margin-left:auto}}

/* V15.4: communication form groups and accessible automatic-debit switch */
.network-contract-pane{background:#fff}
.network-billing-group{padding:18px 18px 14px;min-width:0}
.network-billing-group+.network-billing-group{border-top:1px solid #e3eaf2}
.network-billing-group h4{margin:0 0 12px;color:#173e63;font-size:16px;line-height:1.4}
.network-billing-group .network-form-grid{padding:0;gap:14px 16px}
.network-billing-group .network-form-grid label{font-size:13px}
.network-billing-group .network-form-grid label small{font-size:12px;line-height:1.5;font-weight:400}
.modal-network-edit .network-form-grid>.required-label::after{content:none}
.modal-network-edit .network-form-grid>.required-label::before{content:"* ";color:#c52c30;font-weight:700}
.network-billing-group .network-payment-fields{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.network-autopay-control{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;margin:0 0 15px;border:1px solid #d4e2ef;border-radius:10px;background:#f5f9fd;cursor:pointer}
.network-autopay-copy{min-width:0;display:grid;gap:5px}
.network-autopay-copy b{color:#214b70;font-size:14px;font-weight:650}
.network-autopay-copy small{color:#61778e;font-size:12px;line-height:1.5;font-weight:400}
.network-autopay-copy em{font-style:normal;font-weight:500;font-size:12px;margin-left:8px;color:#526b83}
.network-autopay-toggle{position:relative;display:block;flex:0 0 46px;width:46px;height:26px}
.network-autopay-toggle input{position:absolute;inset:0;width:46px;height:26px;min-height:0;margin:0;opacity:0;cursor:pointer;z-index:1}
.network-autopay-toggle>span{display:block;width:46px;height:26px;border-radius:20px;background:#a4b4c5;transition:background .15s}
.network-autopay-toggle>span:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #22374b33;transition:transform .15s}
.network-autopay-toggle input:checked+span{background:#16745c}
.network-autopay-toggle input:checked+span:after{transform:translateX(20px)}
.network-autopay-toggle input:focus-visible+span{outline:3px solid #2a78cf;outline-offset:3px}
.network-schedule-note{margin:0;padding:10px 12px;border-radius:8px;background:#f0f6fc;color:#335f86;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.network-asset-kpis{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}
@media(max-width:640px){.network-billing-group{padding:14px 12px}.network-billing-group .network-payment-fields{grid-template-columns:1fr}.network-autopay-control{gap:12px;padding:11px}.network-asset-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.network-autopay-toggle>span,.network-autopay-toggle>span:after{transition:none}}

/* V15.3 operations branding, compact account controls and search filters */
.sidebar .brand{gap:9px;padding:4px 4px 16px}
.sidebar .brand>div{min-width:0}.sidebar .brand strong{font-size:17px;line-height:1.35;white-space:nowrap}
.sidebar .brand small{font-size:12px}.sidebar .sidebar-logo{width:64px;height:38px;flex-shrink:0}
.sidebar .sidebar-user.account-bar{position:relative;flex:0 0 auto;margin-top:0;padding:10px 0 max(2px,env(safe-area-inset-bottom))!important;background:transparent}
.account-trigger{display:flex;align-items:center;gap:9px;width:100%;min-height:56px;padding:7px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.account-trigger:hover,.account-trigger[aria-expanded="true"]{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}
.account-trigger:focus-visible{outline:2px solid #9bc9ff;outline-offset:2px}
.account-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#2455a0;color:#fff;font-size:16px;font-weight:800}
.account-summary{display:grid;gap:3px;flex:1 1 auto;min-width:0}.account-summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.25}
.account-bar .account-summary small{overflow:hidden;display:block;margin:0;font-size:12px;line-height:1.4;color:#bbcee6;text-overflow:ellipsis;white-space:nowrap}
.account-chevron{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#bbcee6;stroke-width:1.8;transition:transform .16s}
.account-trigger[aria-expanded="true"] .account-chevron{transform:rotate(180deg)}
.account-menu{position:absolute;bottom:calc(100% + 7px);left:0;right:0;z-index:5;overflow:auto;max-height:min(330px,calc(100dvh - 180px));padding:6px;border:1px solid #d6e2ef;border-radius:12px;background:#fff;color:#203b5d;box-shadow:0 -8px 30px rgba(2,20,49,.24)}
.account-menu[hidden]{display:none!important}.account-menu-heading{display:grid;gap:5px;margin:0 4px 5px;padding:8px 5px 10px;border-bottom:1px solid #e2e9f1}
.account-menu-heading b{font-size:14px}.account-menu-heading span{color:#61758f;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.account-menu-action{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:10px;border:0;border-radius:7px;background:transparent;color:#274c76;text-align:left;font-size:14px;cursor:pointer}
.account-menu-action:hover,.account-menu-action:focus-visible{background:#edf4fc;outline:none}.account-menu-action:focus-visible{box-shadow:inset 0 0 0 2px #8bb6e9}
.account-menu-action svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.account-logout{color:#b63d3d}.account-logout:hover,.account-logout:focus-visible{background:#fff0ef}
.asset-query-panel .asset-search-primary{grid-template-columns:minmax(230px,1.6fr) repeat(2,minmax(140px,1fr)) auto!important;align-items:stretch;gap:8px}
.asset-search-actions{display:flex;align-items:stretch;gap:7px;min-width:0;white-space:nowrap}
.asset-query-panel .asset-search-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:42px;padding:8px 11px;font-size:15px;white-space:nowrap}
.asset-command-group[data-tool-group="filter"]{flex:1 1 220px}
@media(max-width:1250px){.asset-query-panel .asset-search-primary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.asset-query-panel .asset-search-primary #fQ{grid-column:1/-1!important}.asset-search-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:620px){.asset-query-panel .asset-search-primary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.asset-search-actions .btn{flex:1 1 auto;min-width:0}.asset-query-panel .asset-search-actions .btn{min-height:44px;padding:8px;font-size:14px}.account-trigger{min-height:56px}}

/* V15.5: prioritize the two room identities and show uploaded photos inline. */
.network-room-hero{align-items:flex-start;gap:18px}
.network-room-primary{flex:1;min-width:0}
.network-room-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:700px;margin-bottom:10px}
.network-room-pair>div{padding:10px 14px;border:1px solid #d1e2f3;border-radius:9px;background:rgba(255,255,255,.75);min-width:0}
.network-room-pair small{display:block;color:#627e98;font-size:12px}
.network-room-pair h3{margin:3px 0 0;font-size:26px;line-height:1.3;overflow-wrap:anywhere}
.network-room-pair>div:last-child{border-color:#b5d3f4;background:#fff}
.network-room-status{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex-shrink:0;padding-top:4px}
.network-section-head>small{color:#72859a;font-size:12px}
.network-document-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.network-document-grid figure{margin:0;min-width:0}
.network-document-grid figure>button{width:100%;height:140px;border-style:solid;background:#f6f9fd;font-size:12px}
.network-document-grid figcaption{margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#718297}
#naDepositStatus:disabled,#naExpiry:disabled{background:#edf2f7;color:#62798d;cursor:not-allowed;opacity:1}
#naDepositHint{line-height:1.5}
@media(max-width:560px){
 .network-room-hero{gap:10px;flex-direction:column}.network-room-primary{width:100%}
 .network-room-pair{gap:8px}.network-room-pair>div{padding:9px 10px}.network-room-pair h3{font-size:22px}
 .network-room-status{flex-direction:row;align-items:center;flex-wrap:wrap;padding:0}
 .network-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.network-document-grid figure>button{height:120px}
 .network-section-head{flex-wrap:wrap}.network-section-head h4{margin-bottom:0}
}

/* V15.6: each approval section loads and recovers independently. */
.approval-loading,.approval-load-error{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:84px;padding:16px;color:#607c98;font-size:14px}
.approval-load-error{justify-content:space-between;flex-wrap:wrap;background:#fff8ed;border:1px solid #f0d5ad;border-radius:10px;color:#906121}
.approval-loading-dot{width:9px;height:9px;border-radius:50%;background:#2984d5;animation:approval-loading-pulse 1.2s ease-in-out infinite}
.approval-summary-card .approval-load-note{font-size:12px;color:#657f99;line-height:1.45;margin-top:4px}
@keyframes approval-loading-pulse{50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.approval-loading-dot{animation:none}}

/* V15.7: current-room emphasis, inclusive bill periods and compact bill QR actions. */
.network-current-room-label{display:block;color:#607f9f;font-size:12px;margin-bottom:2px}
.network-line-grid .network-card-expiry{background:#eef5ff;border:1px solid #c9dcf5}
.network-line-grid .network-card-expiry b{color:#164f95;font-size:13px}
.network-payment-period-note{margin:12px 0;padding:10px 12px;border-radius:8px;background:#f3f7fc;color:#456080;font-size:13px}
.network-payment-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.network-payment-form input[readonly]{background:#eff3f8;color:#355a7c;cursor:default}
.energy-payment-qr{flex:0 0 76px;width:76px;height:86px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:4px;border:1px solid #c9dcef;border-radius:8px;background:#fff;color:#416584;cursor:zoom-in;font-size:12px;line-height:1.2}
.energy-payment-qr img{display:block;width:64px;height:64px;object-fit:contain;image-rendering:crisp-edges}
.energy-payment-qr small{font-size:12px!important;line-height:1.1;white-space:nowrap}
.energy-payment-qr:focus-visible{outline:3px solid #6eaeed;outline-offset:2px}
.energy-progress-row-actions{display:flex;min-width:0;gap:8px;align-items:center;flex-wrap:wrap}
.energy-progress-buttons{display:grid;grid-template-columns:repeat(2,max-content);gap:5px;justify-content:end}
.energy-progress-row-actions .btn,.energy-history-actions .btn{min-height:30px;padding:4px 7px;font-size:12px!important;white-space:nowrap;width:auto}
.energy-incomplete-item{grid-template-columns:minmax(0,1fr) minmax(135px,175px) auto}
.energy-history-photo{display:flex;flex-wrap:wrap;gap:5px;min-width:0;align-items:center}
.energy-history-photo-link{min-height:28px;padding:4px 6px;font-size:12px}
.energy-history-row{grid-template-columns:minmax(80px,1fr) 85px 100px 95px minmax(85px,110px) 95px minmax(175px,auto)}
.energy-history-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.energy-bill-card>footer{gap:8px;align-items:center;flex-wrap:wrap}
@media(max-width:1050px){.energy-incomplete-item{grid-template-columns:minmax(0,1fr) auto}.energy-progress-steps.latest{grid-column:1}.energy-progress-row-actions{grid-column:2;grid-row:1/3}.energy-history-row{grid-template-columns:repeat(3,minmax(0,1fr))}.energy-history-photo,.energy-history-states,.energy-history-actions{grid-column:auto}.energy-history-actions{grid-column:2/-1}}
@media(max-width:640px){.network-payment-form{grid-template-columns:1fr}.energy-incomplete-item{grid-template-columns:1fr}.energy-progress-row-actions{grid-column:1;grid-row:auto;justify-content:space-between;flex-wrap:nowrap}.energy-progress-steps.latest{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-progress-buttons{flex:1;grid-template-columns:repeat(2,minmax(0,1fr))}.energy-progress-buttons .btn,.energy-history-actions .btn{min-height:38px}.energy-history-row{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-history-photo,.energy-history-states{grid-column:auto}.energy-history-actions{grid-column:1/-1}}

.network-payment-form>.required-label::after{content:none}.network-payment-form>.required-label::before{content:"* ";color:#c52c30;font-weight:700}

/* V15.8: compact billing rows. Pictures are loaded only after an explicit click. */
.energy-payment-qr{display:inline-flex;flex:0 0 auto;width:auto;height:auto;min-height:30px;padding:4px 8px;border:1px solid #9fc2e2;border-radius:7px;background:#eef7ff;color:#145f99;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.energy-payment-qr[aria-busy="true"]{opacity:.65;cursor:progress}
.energy-progress-row-actions,.energy-progress-buttons,.energy-history-controls,.energy-history-actions,.energy-history-photo{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap;min-width:0}
.energy-progress-row-actions{grid-column:auto;grid-row:auto}
.energy-progress-buttons{flex:0 0 auto}
.energy-incomplete-item{grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;padding:8px 10px}
.energy-incomplete-identity{grid-template-columns:32px minmax(0,1fr) auto;gap:7px}
.energy-incomplete-identity>strong{grid-column:auto}
.energy-incomplete-identity small{font-size:12px!important}
.energy-progress-steps.latest{grid-column:auto;display:flex;gap:4px}
.energy-progress-steps.latest>span{display:inline-flex;min-height:28px;gap:4px;padding:4px 6px;white-space:nowrap}
.energy-progress-steps.latest>span small{display:none}
.energy-progress-steps.latest>span>i{width:17px;height:17px;font-size:12px}
.energy-history-row{grid-template-columns:minmax(82px,1fr) 72px 82px 96px auto auto;gap:10px;padding:9px 10px}
.energy-history-period strong{font-size:15px}
.energy-history-type b,.energy-history-value b{font-size:13px}
.energy-history-value strong{font-size:15px}
.energy-history-type .energy-bill-type-icon{width:28px;height:28px;flex-basis:28px}
.energy-history-photo,.energy-history-actions,.energy-history-states{grid-column:auto;grid-row:auto}
.energy-history-states{display:flex;flex-wrap:nowrap;gap:4px}
.energy-history-states .energy-status,.energy-history-states .energy-payment-pill{padding:4px 6px;white-space:nowrap}
.energy-history-photo-link{width:auto;min-height:30px;padding:4px 7px;white-space:nowrap}
.energy-history-actions .btn,.energy-progress-row-actions .btn{min-height:30px;padding:4px 7px;line-height:1.3;font-size:12px!important}
@media(max-width:1150px){
  .energy-incomplete-item{grid-template-columns:minmax(0,1fr) auto}
  .energy-progress-row-actions{grid-column:1/-1;justify-content:flex-end}
  .energy-history-row{grid-template-columns:minmax(82px,1fr) 72px 82px 96px auto}
  .energy-history-controls{grid-column:1/-1}
}
@media(max-width:640px){
  .energy-incomplete-item{grid-template-columns:minmax(0,1fr);gap:7px}
  .energy-progress-row-actions{grid-column:1;flex-wrap:wrap;justify-content:flex-start}
  .energy-progress-buttons{display:contents}
  .energy-history-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .energy-history-states,.energy-history-controls{grid-column:1/-1}
  .energy-history-controls{flex-wrap:wrap;justify-content:flex-start}
  .energy-history-photo,.energy-history-actions{display:contents}
  .energy-history-controls .btn,.energy-progress-row-actions .btn,.energy-payment-qr,.energy-history-photo-link{min-height:36px;padding:5px 8px}
}

/* V17.1.1: dedicated lost-item list layout, independent of luggage card grids. */
.lf-order-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;align-items:center;gap:12px 22px;padding:14px 16px;border:1px solid #d5e2f0;border-radius:12px;background:#fff;cursor:pointer;min-width:0}
.lf-order-card:hover{border-color:#8fb2dc;background:#fafdff}
.lf-order-card:focus-within{outline:2px solid #5487bd;outline-offset:2px}
.lf-order-card .lf-order-heading strong{font-size:19px;color:#173e70;font-weight:850}
.lf-order-card .lf-order-guest{color:#315c82;font-weight:750}
.lf-order-card .lf-order-details>small{margin-top:4px;overflow-wrap:anywhere}
.status-pill.cancelled{border-color:#dbdfe4;background:#f3f4f6;color:#576879}
.lost-found-contact-modal .risk-confirm-check.hidden{display:none!important}
.lost-found-register-item-head{flex-wrap:wrap;gap:6px 9px}
.lost-found-register-item-head>[data-lf-ai-state]{flex:1 1 150px;min-width:0}
.lost-found-register-item-head [data-lf-split-item]{min-height:36px}
.lf-order-card.has-valuable,.lost-found-item-card.has-valuable,.lost-found-order-summary.has-valuable{border-color:#e2a33a;background:linear-gradient(110deg,#fffaf0,#fff)}.lf-valuable-badge{display:inline-flex;align-items:center;width:max-content;padding:3px 8px;border:1px solid #dd8d24;border-radius:999px;background:#fff0cf;color:#9a4f00;font-size:12px;font-weight:900;white-space:nowrap}.lf-valuable-badge.prominent{background:#d97706;color:#fff;border-color:#b85d00;box-shadow:0 2px 7px rgba(154,79,0,.18)}.lost-found-order-summary .lf-valuable-badge{margin-top:7px}.lost-found-item-card>header{grid-template-columns:auto minmax(0,1fr) auto auto}
.lf-order-main,.lf-order-details{min-width:0;overflow-wrap:anywhere}
.lf-order-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lf-order-heading strong{font-size:18px;color:#173e70;line-height:1.5}
.lf-order-card .status-pill{font-size:12px;padding:3px 8px;white-space:normal}
.lf-order-guest{font-size:14px;color:#365777;margin-top:3px}
.lf-order-main>small,.lf-order-details>small{display:block;font-size:13px;line-height:1.6;color:#637d98;margin-top:3px}
.lf-order-details .luggage-tags{margin-bottom:5px}
.lf-order-details .luggage-tags span{font-size:14px;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box}
.lf-order-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:0}
.lf-order-count{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:14px;color:#536d88}
.lf-order-count b{font-size:20px;color:#b05b20}.lf-order-count small{font-size:13px}
.lf-order-actions>.btn{width:auto;min-height:38px;white-space:normal}
@media(max-width:1000px){.lf-order-card{grid-template-columns:minmax(0,1fr) auto;gap:10px 16px}.lf-order-details{grid-column:1;grid-row:2}.lf-order-actions{grid-column:2;grid-row:1/3}}
@media(max-width:600px){.lf-order-card{grid-template-columns:minmax(0,1fr);padding:12px;gap:9px}.lf-order-details,.lf-order-actions{grid-column:1;grid-row:auto}.lf-order-actions{flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid #edf2f8;padding-top:9px}.lf-order-heading strong{font-size:17px}}
/* V17.1.1: compact luggage lists and pickup history. */
.luggage-kpis.luggage-kpis-simple{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#luggageOrderList .lg-card{display:grid;gap:5px;padding:12px 15px;background:#fff;border:1px solid #d5e2ee;border-radius:12px;min-width:0;cursor:pointer}
.lg-card-head,.lg-card-time,.lg-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.lg-card-head>strong{font-size:18px;color:#173e70;overflow-wrap:anywhere;line-height:1.4;min-width:0}
.lg-count{font-size:13px;color:#60768c;white-space:nowrap}.lg-count b{font-size:18px;color:#b05b20}
.lg-card-time{justify-content:flex-start;flex-wrap:wrap;gap:4px 14px;font-size:14px;line-height:1.5;color:#315b83}.lg-card-time b{font-size:13px;color:#26715d;font-weight:600}
.lg-card-foot>span{font-size:14px;overflow-wrap:anywhere;min-width:0}.lg-card-foot small{font-size:12px;color:#6a7d91;margin-left:6px}
#luggageOrderList .lg-card-foot>.btn{width:auto;min-width:0;min-height:36px;padding:5px 10px;font-size:14px;white-space:nowrap;flex-shrink:0}
.lg-order-number{font-size:12px;color:#7a8999;overflow-wrap:anywhere}
.luggage-pickup-history>.lg-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;border:0;margin-top:7px}
.lg-pickup-record{min-width:0;border:1px solid #d8e3ee;border-radius:9px;padding:10px;background:white;display:grid;gap:5px}
.lg-pickup-record.forced{background:#fff9f7;border-color:#e6c2bb}
.lg-pickup-tags{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.lg-pickup-tags>b{font-size:16px;line-height:1.4;color:#234d74;overflow-wrap:anywhere;min-width:0}
.lg-pickup-tags>.pickup-method-pill{font-size:12px;flex-shrink:0}
.lg-pickup-counts{display:flex;gap:18px;font-size:14px;color:#385b7a}.lg-pickup-counts b{font-size:18px;color:#174f83}
.lg-pickup-meta{font-size:13px;line-height:1.5;color:#62778c;overflow-wrap:anywhere}.lg-pickup-meta small{font-size:12px;margin-left:10px;color:#8190a0;overflow-wrap:anywhere}
.lg-pickup-record p,.lg-pickup-record summary{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.luggage-detail-modal>.lg-pickup-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.luggage-detail-modal>.lg-pickup-actions:empty{display:none!important}
.luggage-detail-modal>.lg-pickup-actions>.btn{width:100%!important;min-width:0!important;min-height:42px;padding:8px 6px!important;font-size:15px!important;white-space:normal!important;line-height:1.4;overflow-wrap:anywhere}
.luggage-order-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:720px){
 .lg-filters.compact-filter-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px}
 .lg-filters #luggageQ,.lg-filters #luggageStatus{grid-column:1/-1!important}.lg-filters .btn{grid-column:auto!important;min-width:0}
 #luggageOrderList .lg-card{padding:10px 12px;gap:4px}
 .luggage-pickup-history>.lg-history-grid{grid-template-columns:minmax(0,1fr)}
 .luggage-detail-modal .luggage-detail-tag{grid-template-columns:20px minmax(0,1fr) auto!important;min-height:58px;padding:8px;gap:7px}
 .luggage-detail-modal .luggage-tag-state{grid-column:3!important;grid-row:1!important;align-self:start;padding:3px 5px}
 .luggage-detail-modal .luggage-tag-main>b{font-size:16px}
 .luggage-detail-modal .luggage-tag-main>em{margin-top:2px;flex-wrap:wrap}
 .luggage-detail-modal .luggage-order-primary{grid-template-columns:28px minmax(0,1fr) auto;gap:7px;padding:0 0 6px}
 .luggage-detail-modal .luggage-order-state{grid-column:auto;white-space:normal;max-width:80px}
 .luggage-customer-icon{width:28px;height:28px;font-size:13px}.luggage-order-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .luggage-detail-modal .luggage-pickup-panel{padding:10px;gap:7px}.luggage-detail-modal .luggage-pickup-title>span{display:none}
 .luggage-detail-modal .luggage-pickup-panel .form-grid{grid-template-columns:1fr 1fr!important;gap:8px}
}

.org-person{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-bottom:1px solid #e0e8f3;padding:12px 0}.org-person small{display:block;color:#60728c}.org-person select,.org-role select{width:100%}.org-role{display:grid;grid-template-columns:180px 1fr;gap:14px;margin:8px 0}.org-settings #orgError{color:#b32626}

.quality-stars{color:#bd7a12;white-space:nowrap}.quality-stars small{color:#63738b}.maintenance-description{padding:12px;border-radius:12px;background:#f6f9ff;margin:12px 0}.success-check{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:#16855c;color:white;border-radius:50%;margin-right:8px;animation:success-pop .3s ease-out}@keyframes success-pop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.success-check{animation:none}}
.overview-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px}.overview-heading h2{margin:0;font-size:20px}.overview-heading p,.overview-chart>p{color:#6c7e96;font-size:12px;margin:6px 0 18px}.overview-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.overview-chart:last-of-type{grid-column:1/-1}.overview-chart h3{font-size:16px;margin:0}.overview-bars{display:flex;gap:12px;align-items:flex-end;overflow-x:auto;min-height:220px;padding:12px 5px 0}.overview-column{flex:1;min-width:46px;max-width:120px;text-align:center}.overview-column>b{font-size:16px}.overview-column small{font-size:10px;margin-left:2px;color:#8290a4}.overview-column-track{height:150px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dce5ef}.overview-column i{display:block;width:64%;max-width:44px;border-radius:7px 7px 0 0;background:linear-gradient(180deg,#428cf5,#235ec8)}.overview-column:nth-child(3n+2) i{background:linear-gradient(180deg,#42bcaa,#278476)}.overview-column>span{display:block;font-size:12px;margin:8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.handoff-choices{display:grid;gap:8px;padding:10px}.handoff-choices label{display:grid;gap:4px}.handoff-choices select{max-width:100%;font-size:14px}.handoff-choices small{color:#9b2525}@media(max-width:700px){.overview-charts{grid-template-columns:minmax(0,1fr)}.overview-bars{min-height:190px}.overview-column-track{height:120px}.overview-heading h2{font-size:17px}}
.handoff-choice-card{display:grid;gap:7px;padding:10px;border:1px solid #d9e5ef;border-radius:10px;background:#f9fcff}.handoff-choice-card header small,.handoff-choice-card header strong{display:block}.handoff-choice-card header small{color:#668096;font-size:11px}.handoff-choice-card header strong{margin-top:2px;color:#153f68;font-size:14px}.handoff-choice-card p{margin:0;color:#597187;font-size:12px}.handoff-person-chips{display:flex;flex-wrap:wrap;gap:6px}.handoff-person-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:4px 6px 4px 10px;border:1px solid #88b9a0;border-radius:999px;background:#eaf7ef;color:#21643f;font-size:13px;font-weight:800;cursor:pointer}.handoff-person-chip i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#fff;color:#9c3030;font-size:14px;font-style:normal}.handoff-empty,.handoff-choices>[data-handoff-error]{color:#9b2525}
.handoff-add-label{display:grid;gap:5px;color:#263b50;font-size:13px;font-weight:700}.handoff-add-label input{width:100%;min-height:44px;border:1px solid #738aa0;border-radius:10px;padding:9px 12px;background:#fff;color:#263b50}.handoff-search-results{display:grid;gap:4px;max-height:180px;overflow:auto;padding:4px;border:1px solid #c4d5e3;border-radius:10px;background:#f8fbfd}.handoff-search-results.hidden{display:none}.handoff-search-results button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;width:100%;padding:8px 10px;border:0;border-radius:7px;background:#fff;color:#263b50;text-align:left;cursor:pointer}.handoff-search-results button:hover,.handoff-search-results button:focus-visible{background:#eaf3f8;outline:2px solid #4b75a2}.handoff-search-results button small{color:#60768a}.handoff-search-results p{padding:8px 10px}.maintenance-guidance{padding:12px;border:1px solid #bbd6dc;border-radius:12px;background:#f0f8f8;color:#263b50}.maintenance-guidance p{margin:6px 0}.maintenance-guidance small{color:#4e657a}
.linen-r1-actions{display:flex;gap:10px;flex-wrap:wrap}.linen-r1-queue{max-height:38vh;overflow:auto;margin:10px 0}.linen-r1-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border-bottom:1px solid #dce6ef}.linen-r1-row>div{min-width:0}.linen-r1-row b{overflow-wrap:anywhere}.linen-r1-row small{display:block;color:#60758a;margin-top:3px}.linen-r1 .wide{width:100%}
.linen-r1 .r1-power-row{display:flex;align-items:end;gap:10px;margin:12px 0;padding:10px 12px;border:1px solid #c8dced;border-radius:9px;background:#f5f9fd}.linen-r1 .r1-power-row label{display:grid;flex:1;gap:5px;color:#365b78;font-size:13px;font-weight:800}.linen-r1 .r1-power-row input{width:100%}
/* 资产查询只保留实际需要的快捷操作，避免工具区占据首屏。 */
.asset-command-group[data-tool-group="capture"]:not([data-terminal-feature]){display:none!important}

/* Lost-found unit count remains visible beside status on narrow screens. */
.lost-found-item-card>header>.lost-found-quantity{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:4px 10px;border:1px solid #c3d9ec;border-radius:999px;background:#eaf3fb;color:#17446e;font-size:14px;font-weight:800;white-space:nowrap}
.lost-found-sale-quantity{grid-column:1/-1;padding:10px 12px;border:1px solid #c3d9ec;border-radius:10px;background:#edf5fb;color:#254c6d;font-size:14px}
.lost-found-sale-quantity strong{font-size:20px;color:#173f68}
.rc-manual-confirm{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #e5ca93;border-radius:10px;background:#fff8e9;color:#533b17}
.rc-manual-confirm[hidden]{display:none}
@media(max-width:700px){.lost-found-item-card>header>.lost-found-quantity{grid-column:2;justify-self:start}.lost-found-item-card>header>.status-pill{grid-column:2;justify-self:start}}

/* Linen dialogs: wrap actual controls, never hide overflowed actions. */
.linen-transaction-modal,.linen-transaction-modal .form-grid,.linen-transaction-modal label{min-width:0;max-width:100%;box-sizing:border-box}
.linen-transaction-modal .form-grid>*{min-width:0}
.linen-transaction-modal input,.linen-transaction-modal select,.linen-transaction-modal textarea{width:100%;min-width:0;box-sizing:border-box}
.linen-transaction-modal .linen-entry-line{grid-template-columns:minmax(0,1fr) 82px!important;min-width:0}
.linen-transaction-modal .linen-entry-line [data-linen-line-note]{grid-column:1/-1!important}
.linen-transaction-modal .linen-entry-line .btn{grid-column:2!important;width:100%;min-width:0}
.linen-transaction-modal .linen-flow-banner{align-items:flex-start}
.linen-transaction-modal .linen-flow-banner b{flex-shrink:0;white-space:nowrap}
.linen-transaction-modal .linen-flow-banner span{min-width:0;overflow-wrap:anywhere}
.table-wrap.linen-supplier-prices table{table-layout:fixed;min-width:0}
.linen-supplier-prices :is(th,td):nth-child(2){width:64px;text-align:center}
.linen-supplier-prices th:nth-child(n+3){width:25%}
.linen-supplier-prices small{display:block;color:var(--muted,#61758d)}
.linen-supplier-prices input.linen-supplier-price{width:100%;min-width:0;box-sizing:border-box;appearance:textfield}
.linen-supplier-prices .linen-supplier-price::-webkit-inner-spin-button{appearance:none;margin:0}
.linen-supplier-prices input.linen-supplier-accept{
  appearance:none;display:inline-block;vertical-align:middle;position:relative;box-sizing:border-box;
  width:32px;min-width:32px;height:18px;min-height:18px;margin:0;padding:0;
  border:1px solid #71809c;border-radius:10px;background:#71809c;cursor:pointer;
}
.linen-supplier-prices input.linen-supplier-accept:checked{background:#245f9c;border-color:#245f9c}
.linen-supplier-accept::after{
  content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;
}
.linen-supplier-accept:checked::after{transform:translateX(14px)}
.linen-supplier-prices input.linen-supplier-accept:focus-visible{outline:2px solid #245f9c;outline-offset:2px}
@media (max-width:420px){
  .linen-supplier-prices :is(th,td){padding-inline:6px}
  .linen-supplier-prices :is(th,td):nth-child(2){width:44px}
}
.linen-people-options{display:flex;flex-wrap:wrap;gap:6px;max-height:180px;overflow-y:auto}
#ltPriceWarning:empty{display:none}#ltPriceWarning{padding:10px;background:#fff1f1;border-radius:8px;margin-bottom:10px;overflow-wrap:anywhere}
.field-browser .desktop-upload:not([data-terminal-feature]){display:none!important}

/* Asset settings: definitions in the catalog, requirements alongside category editing. */
.asset-parameter-catalog .asset-parameter-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;gap:10px}
.asset-parameter-catalog .asset-parameter-row{align-items:center;padding:12px;min-width:0}
.asset-parameter-catalog .asset-parameter-row b{font-size:15px;overflow-wrap:anywhere}
.asset-parameter-catalog .asset-parameter-row b small{display:inline;font-weight:400}
.asset-parameter-catalog .asset-parameter-row>div>small{margin-top:4px;overflow-wrap:anywhere}
.asset-parameter-catalog .btn{min-height:44px;flex:none}
#assetCategorySettings .category-maintenance-grid{grid-template-columns:minmax(240px,.75fr) minmax(0,1.5fr);align-items:start}
.category-secondary-editor .category-map-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.category-map-form>label{display:grid;gap:6px;min-width:0;color:#506a83;font-size:13px;font-weight:650}
.category-map-form>label input,.category-map-form>label select{width:100%;min-width:0;min-height:44px}
.category-editor-actions{display:flex;justify-content:flex-end;margin-top:12px}
.category-editor-actions .btn{min-height:44px}
.category-required-picker{margin:14px 0 0;border:1px solid #d3e3ed;border-radius:9px;background:#fff}
.category-required-picker>header{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;color:#365572;font-size:14px;font-weight:700;list-style:none}
.category-required-picker>summary::before{content:'▸';font-size:14px}
.category-required-picker[open]>summary::before{content:'▾'}
.category-required-picker>header span{margin-left:auto;color:#60768a;font-size:12px;font-weight:400}
.category-required-picker>summary:focus-visible{outline:2px solid #4b75a2;outline-offset:-2px}
.category-required-help{margin:0;padding:0 12px 10px;color:#60768a;font-size:12px;line-height:1.5}
.category-required-picker .asset-parameter-checks{padding:0 10px 10px;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:6px;max-height:none;overflow:visible}
.category-required-picker .asset-parameter-checks label{gap:6px;min-width:0;margin:0;padding:5px 8px;font-size:13px;line-height:1.4;min-height:44px}
.category-required-picker .asset-parameter-checks input{margin:0;min-height:18px;padding:0}
.category-required-picker .asset-parameter-checks label span{min-width:0;overflow-wrap:anywhere}
.category-required-picker .asset-parameter-checks label small{flex:none;font-size:11px}
.category-required-picker .asset-parameter-checks label:has(input:checked){border-color:#82a6c4;background:#edf5fb}
.category-required-picker .asset-parameter-checks label:has(input:disabled){color:#66798a;background:#f3f6f8;cursor:not-allowed}
.asset-category-group .category-chip[aria-pressed=true]{border-color:#4b75a2;background:#eaf3f8;color:#264d74}
@media(max-width:1100px){.asset-parameter-catalog .asset-parameter-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#assetCategorySettings .category-maintenance-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.asset-parameter-catalog .asset-parameter-list,.category-required-picker .asset-parameter-checks{grid-template-columns:minmax(0,1fr)}.category-editor-actions .btn{width:100%}}
.lg-card-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.luggage-append-modal .asset-edit-note p{margin:8px 0;overflow-wrap:anywhere}
.luggage-tag-main>.luggage-tag-stored-at{display:block;margin-top:4px;color:#345d81;font-size:12px;font-weight:700;font-style:normal}
@media(max-width:600px){.lg-card-buttons .btn{min-height:44px}.lg-card-foot{flex-wrap:wrap;gap:12px}.luggage-append-modal .luggage-tag-entry{grid-template-columns:minmax(0,1fr)}}
.luggage-detail-tag-group{display:grid;gap:4px}
.luggage-detail-tag-group>[data-luggage-photo]{justify-self:start;min-height:44px}


/* linen-lifecycle.css */
.linen-life-tools,.ll-buttons,.ll-search{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}.ll-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px}.ll-item{border:1px solid #dbe3ed;border-radius:12px;padding:14px;background:#fff}.ll-item small,.ll-result span{display:block;color:#64748b;margin-top:5px;overflow-wrap:anywhere}.ll-item.ll-alert{border-color:#e8ae5d;background:#fffaf0}.ll-number{font-family:ui-monospace,monospace;letter-spacing:.02em;overflow-wrap:anywhere}.ll-dialog{max-height:75vh;overflow-y:auto;font-size:16px}.ll-dialog h3{margin:0 0 12px}.ll-dialog .ll-check{display:flex;align-items:flex-start;gap:8px;margin:15px 0;line-height:1.5}.ll-check input{width:20px;height:20px;flex-shrink:0}.ll-result{display:block;text-align:left;width:100%;padding:12px;margin:8px 0;border:1px solid #dbe3ed;border-radius:10px;background:#fff;font-size:16px}.ll-search input{min-width:180px;flex:1}#llfResult small{display:block}.ll-dialog .btn{min-height:42px}@media(max-width:600px){.ll-items{grid-template-columns:1fr}.ll-dialog .form-grid{grid-template-columns:1fr}.linen-life-tools .btn{flex:1 0 44%}.ll-dialog .desktop-hardware,.ll-item .desktop-hardware{display:none!important}}

@layer haiyue-controls{
 #linenRfidTable:has(.ll-ledger-table){max-width:100%;overflow-x:auto!important;border:1px solid var(--hy-list-rule,#dbe4ed);border-radius:6px;background:#fff}
 #linenRfidTable .ll-ledger-table{min-width:700px}
 #linenRfidTable .ll-ledger-table tbody td{height:44px;box-sizing:border-box}
 #linenRfidTable .ll-ledger-table .table-actions{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center}
 @media(max-width:600px){#linenRfidTable .desktop-hardware{display:none!important}}
}

#linenRfidTable .ll-ledger-table :is(th,td){overflow-wrap:anywhere;white-space:normal}
#linenRfidTable .ll-ledger-table th:is(:first-child,:nth-child(4)){min-width:84px}
#linenRfidTable .ll-ledger-table :is(.ll-ledger-number,.ui-sort-button){white-space:nowrap}
#linenRfidTable .ll-epc-link{white-space:normal;text-align:left}
#linenRfidTable .ll-ledger-kind :is(strong,small){display:inline;margin:0}
.ll-epc-link code{font:inherit;color:inherit;overflow-wrap:anywhere}
.ll-history-identity{margin:0 0 12px;overflow-wrap:anywhere}
.ll-history-identity code{overflow-wrap:anywhere}
.ll-history-results:has(.data-table){border:1px solid var(--hy-list-rule,#dbe4ed);border-radius:6px}
.ll-history-results .empty-state{margin:0}
.ll-history-results td small:not(.date){display:block;overflow-wrap:anywhere}
.ll-history-results td:first-child{white-space:nowrap}
.filing-label-child:has(#linenHistoryChild){width:min(900px,100%)}

#linenRfidFilters{display:flex;flex-wrap:wrap;align-items:flex-start!important;gap:10px 12px}
#linenRfidFilters>.linen-rfid-query{flex:2 1 240px}
#linenRfidFilters>:not(.linen-rfid-query,.workspace-filter-actions){flex:1 1 124px;width:auto;min-width:0}
#linenRfidFilters .linen-rfid-wash-filter input{width:100%}
#linenRfidFilters>.workspace-filter-actions{margin-inline-start:auto}
.linen-rfid-layout{
  display:grid;
  grid-template-columns:minmax(0,2.15fr) minmax(410px,1fr);
  gap:16px;
  align-items:start;
}
.linen-rfid-layout>section{min-width:0}
.linen-rfid-details{container:linen-rfid-details / inline-size}
@media(max-width:1350px){
  .linen-rfid-layout{grid-template-columns:minmax(0,1fr)}
}
@container linen-rfid-details (max-width:830px){
  #linenRfidFilters>.linen-rfid-query{flex-basis:100%}
}
#linenRfidPager{justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:12px}
#linenRfidPager[hidden]{display:none}
#linenRfidPager select{width:auto;min-width:100px}
#linenRfidCount{margin-inline-end:auto}
#linenRfidTable{scroll-margin-top:48px}
.ll-code-form{display:grid;gap:12px}
.ll-code-form > p{margin:0}
.ll-code-form .le-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.ll-code-form .ll-buttons{justify-content:flex-end}
.ll-tag-facts{margin:0 0 16px}
.le-facts.ll-tag-facts>div{grid-template-columns:7em minmax(0,1fr);gap:8px}
@media(max-width:600px){#linenRfidFilters>.linen-rfid-query{flex-basis:100%}}

.linen-balance-table .linen-balance-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px}
.linen-balance-table .linen-balance-identity small{margin:0}
.linen-rfid-balance .linen-balance-table{min-width:0}
#linenRfidBalanceTable :is(th,td){white-space:normal;overflow-wrap:anywhere}
#linenRfidBalanceTable th{text-wrap:balance}

#linenLedgerFilters{display:flex;flex-wrap:wrap}
#linenLedgerType{flex:1 1 136px;width:auto;min-width:0}
#linenLedgerQ{flex:2 1 200px;width:auto;min-width:0}
#linenLedgerFilters>.ui-date-range{flex:1 1 218px}
#linenLedgerFilters>.ui-filter-actions{flex:0 0 auto;margin-inline-start:auto}
#linenLedgerTable>.hy-query-status:empty{min-block-size:0;margin:0}
#linenLedgerTable .empty-state{margin:0}
#linenLedgerTimeColumn .ui-sort-button{white-space:nowrap}
html body #linenLedgerMobileSort{display:none!important}
@media(max-width:920px),(max-width:1100px) and (hover:none) and (pointer:coarse){
  html body #linenLedgerMobileSort{display:inline-flex!important;margin:0 0 8px}
}

.linen-report-slot:empty,#linenReportPanel[hidden],#linenReportFilters>label[hidden]{display:none!important}
.linen-report-slot{margin-block-start:12px}
#linenCodeRuleForm{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
#linenCodeRuleForm label{display:grid;gap:6px;flex:0 1 180px;min-width:0;margin:0}
#linenCodeRuleForm .hy-float-caption-hidden{display:none!important}
#linenCodeRuleForm input{width:100%;min-width:0;margin:0}
#linenCodeRuleForm button{margin:0}
#linenCodeRuleForm button[hidden]{display:none!important}
#linenCodeExample:empty,#linenCodeRuleStatus:empty{display:none}
#linenCodeExample,#linenCodeRuleStatus{margin:8px 0 0}
#linenReportFilters{display:flex;flex-wrap:wrap}
#linenReportFilters>.ui-date-range{flex:1.2 1 170px;min-width:0}
#linenReportFilters>label{flex:1 1 138px}
#linenReportFilters>label>select{width:100%}
#linenReportFilters>.ui-filter-actions{flex:0 0 auto;margin-inline-start:auto}
#linenReportTable{display:grid;gap:12px}
#linenReportTable .linen-report-section{padding:0;margin:0;min-width:0}
#linenReportTable .linen-report-section>.panel-head{padding:12px 14px;margin:0}
#linenReportTable .table-wrap{border-block-start:1px solid var(--hy-ui-line,#d5dde5);border-radius:0 0 6px 6px}
#linenReportTable table{min-width:520px}
#linenReportTable th,#linenReportTable td:nth-child(1){white-space:nowrap}
#linenReportTable td .muted{margin-block-start:2px;overflow-wrap:anywhere}
[data-linen-report-slot="internal"] #linenReportTable td:not(:first-child){
  white-space:normal;
  overflow-wrap:anywhere;
}
#linenReportTable .empty-state{margin:0;min-height:56px}
html body #page-linen #linenReportSummary{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))!important}
html body #page-linen #linenReportSummary>div:last-child{border-inline-end:0}
@media(max-width:600px){
  #linenReportFilters>.ui-date-range{flex-basis:100%}
}

#linenReportFilters>.ui-date-range[hidden]{display:none!important}
.linen-report-split > #linenReportPanel:not([hidden]){
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  align-items:start;
  gap:12px;
}
.linen-report-split :is(#linenReportFilters,#linenReportError){grid-column:1/-1;margin-block:0}
.linen-report-split :is(#linenReportSummary,#linenReportChart){margin:0}
.linen-report-details{min-width:0}
@media(max-width:1100px){
  .linen-report-split > #linenReportPanel:not([hidden]){grid-template-columns:minmax(0,1fr)}
}
#linenReportSummary.is-scrap-chart:not(.hidden){display:block;padding:12px 14px}
#linenReportSummary.is-scrap-chart>div{border:0}
.linen-scrap-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.linen-scrap-head h3{margin:0}
#linenReportSummary.is-scrap-chart .linen-scrap-scroll{overflow-x:auto;padding:16px 4px 4px}
.linen-scrap-content{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;min-width:100%;width:max-content}
.linen-scrap-axis{height:144px;display:grid;grid-template-rows:repeat(4,36px) 0;align-items:start;text-align:right;color:var(--muted,#536c87);font-size:10px}
.linen-scrap-axis>span{line-height:1;margin:0;transform:translateY(-50%)}
.linen-scrap-bars{display:grid;grid-template-columns:repeat(var(--scrap-count),minmax(52px,1fr))}
.linen-scrap-bars.is-daily{grid-template-columns:repeat(var(--scrap-count),minmax(28px,1fr))}
.linen-scrap-bin{width:100%;min-width:0;display:grid;grid-template-rows:144px 24px;gap:0;padding:0;border:0;background:transparent;color:var(--text,#24384f);font:inherit;text-align:center}
button.linen-scrap-bin{cursor:pointer}
button.linen-scrap-bin:hover{background:#e7f0f9}
button.linen-scrap-bin:focus-visible,.linen-scrap-scroll:focus-visible{outline:2px solid var(--primary,#245f9c);outline-offset:1px;z-index:1}
.linen-scrap-column{position:relative;border-bottom:1px solid var(--border,#d8e3ef);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--border,#d8e3ef) calc(25% - 1px),var(--border,#d8e3ef) 25%)}
.linen-scrap-column::before{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(60%,68px);height:max(1px,var(--scrap-height));background:var(--primary,#245f9c);border-radius:3px 3px 0 0}
.linen-scrap-value{position:absolute;bottom:var(--scrap-height);left:0;right:0;font-variant-numeric:tabular-nums}
.linen-scrap-label{align-self:center;white-space:nowrap;font-size:10px}
.linen-scrap-loading{display:flex;gap:14px;align-items:end;height:168px}
.linen-scrap-loading>.linen-loading-cell{height:96px;flex:1}
.linen-scrap-loading>.linen-loading-cell:nth-child(even){height:128px}

.linen-laundry-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-bottom:16px}
.linen-laundry-toolbar .workspace-tabs{margin-bottom:0}
.linen-laundry-toolbar label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;max-width:100%}
.linen-laundry-toolbar select{max-width:100%}
.linen-inventory-scope{margin:0 0 16px;padding:0;border:0;min-width:0}
.linen-inventory-scope legend{margin-bottom:8px;font-weight:600}
.linen-inventory-scope>div{display:flex;flex-wrap:wrap;gap:8px 16px}
.linen-inventory-scope label{display:inline-flex;align-items:center;gap:6px;margin:0;max-width:100%;cursor:pointer}
.linen-inventory-scope input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;min-height:16px;margin:0;padding:0}
.linen-inventory-scope label span{overflow-wrap:anywhere}
#linenLaundryArrivalPager[hidden],#linenLaundryArrivalError[hidden]{display:none!important}
#linenReportSupplier{width:auto;min-width:150px;max-width:100%;margin:0}
#linenLaundryOutstanding .table-wrap{margin:0}
#linenLaundryOutstanding table{min-width:640px}
#linenLaundryOutstanding .empty-state{margin:0;min-height:56px}
.linen-report-chart{margin:12px 0;padding:12px 14px;border:1px solid var(--hy-list-rule,#dbe4ed);border-radius:6px;min-width:0}
#linenReportChart[hidden],#linenReportPager[hidden]{display:none!important}
.linen-daily-head,.linen-daily-detail-selection{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.linen-daily-head h3{margin:0 0 4px}
.linen-daily-head .muted,.linen-report-note{font-size:10px}
.linen-daily-legend{display:flex;gap:12px;flex-wrap:wrap}
.linen-daily-legend>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.linen-daily-legend b{font-size:20px;font-variant-numeric:tabular-nums}
.linen-daily-legend>span::before{content:"";width:10px;height:10px;border-radius:2px;background:var(--column-color)}
.linen-daily-legend .is-outgoing,.linen-daily-column.is-outgoing{--column-color:#b53e38}
.linen-daily-legend .is-incoming,.linen-daily-column.is-incoming{--column-color:#245f9c}
.linen-daily-plot{display:grid;gap:16px;padding-block:20px 4px}
.linen-daily-content{display:grid;grid-template-columns:var(--daily-axis-width) minmax(0,1fr);gap:8px}
.linen-daily-axis{height:144px;display:grid;grid-template-rows:repeat(4,36px) 0;align-items:start;text-align:right;color:var(--muted,#536c87);font-size:10px}
.linen-daily-axis>span{line-height:1;transform:translateY(-50%)}
.linen-daily-bars{display:grid;grid-template-columns:repeat(var(--day-count),minmax(0,1fr))}
.linen-daily-bin{min-width:0;display:grid;grid-template-rows:144px 24px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
.linen-daily-bin:hover,.linen-daily-bin[aria-pressed="true"]{background:#e7f0f9}
.linen-daily-bin:focus-visible{outline:2px solid var(--primary,#245f9c);outline-offset:1px;z-index:1}
.linen-daily-columns{display:flex;justify-content:center;align-items:flex-end;gap:min(16%,12px);border-bottom:1px solid var(--border,#d8e3ef);background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),var(--border,#d8e3ef) calc(25% - 1px),var(--border,#d8e3ef) 25%)}
.linen-daily-column{position:relative;width:min(28%,36px);height:var(--column-height);border-radius:3px 3px 0 0;background:var(--column-color)}
.linen-daily-column>span{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);color:var(--column-color);font-size:10px;font-variant-numeric:tabular-nums}
.linen-daily-date{align-self:center;font-size:10px}
.linen-daily-detail-selection{justify-content:flex-start;margin-top:8px}
.linen-report-note{margin:4px 0 0}
.linen-report-pager{justify-content:flex-end;gap:8px;margin-top:12px}
@media(max-width:600px){
  .linen-report-chart{padding-inline:8px}
}



/* linen-onboarding.css */
#page-linen .lo-management-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(350px,0.45fr);
  gap:16px;
  align-items:start;
}
.lo-management-list{min-width:0}
.lo-tag-statistics{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
.lo-tag-stats-head{margin:0 0 8px}
.lo-tag-stats-head h4{margin:0;font-size:16px}
#page-linen .lo-tag-statistics table{min-width:0}
#page-linen .lo-tag-statistics tbody th[scope=row]{background:#fff!important;overflow-wrap:anywhere}
.lo-sewing-groups{border:1px solid var(--border,#d8e3ef);border-radius:6px;font-size:12px}
.lo-sewing-heading,.lo-sewing-group>summary{display:grid;grid-template-columns:minmax(0,1fr) 52px 12px;align-items:center;gap:10px;padding:9px 12px}
.lo-sewing-heading{background:#eef3f8;border-radius:5px 5px 0 0;color:#4f647c;font-weight:600}
.lo-sewing-heading>span:nth-child(2),.lo-sewing-group>summary>span:nth-child(2){text-align:right}
.lo-sewing-group{margin:0;border-block-start:1px solid var(--border,#d8e3ef)}
.lo-sewing-group>summary{cursor:pointer;list-style:none;min-height:40px;text-align:left;overflow-wrap:anywhere}
.lo-sewing-group>summary::-webkit-details-marker{display:none}
.lo-sewing-group>summary:hover,.lo-sewing-group[open]>summary{background:#edf4fb}
.lo-sewing-group>summary:focus-visible{outline:2px solid #245f9c;outline-offset:-2px}
.lo-sewing-group>summary>i{width:7px;height:7px;border-bottom:1px solid;border-right:1px solid;transform:translateY(-2px) rotate(45deg);color:var(--muted,#536c87)}
.lo-sewing-group[open]>summary>i{transform:translateY(2px) rotate(225deg)}
.lo-sewing-details{padding:0 12px 12px;overflow-x:auto}
.lo-sewing-details :is(th,td):last-child{text-align:right}
.lo-tag-bar{display:flex;height:6px;border-radius:3px;overflow:hidden;background:#edf1f6;margin:0 0 5px}
.lo-tag-bar i{display:block;flex-shrink:0}
.lo-tag-legend{display:flex;flex-wrap:wrap;gap:2px 8px}
.lo-tag-legend span{white-space:nowrap}
.lo-tag-legend i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:2px}
.lo-tag-normal{background:#337a62}
.lo-tag-invalid{background:#606977}
.lo-tag-bound{background:#245f9c}
.lo-tag-pending{background:#8295ac}
@media(max-width:1100px){#page-linen .lo-management-layout{grid-template-columns:minmax(0,1fr)}}
#page-linen .lo-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}
#page-linen .lo-filter{display:grid;grid-template-columns:minmax(200px,1fr) calc(6 * var(--ui-field-text,14px) + 26px) calc(8 * var(--ui-field-text,14px) + 30px) auto;gap:10px;align-items:end;font-size:var(--ui-body,15px)}
#page-linen .lo-filter label{display:grid;gap:4px;min-width:0;margin:0}#page-linen .lo-query-field{display:grid;gap:4px;min-width:0}
#page-linen .lo-filter input,#page-linen .lo-filter select{width:100%;min-width:0}
.lo-table-wrap{overflow-x:auto;border:1px solid var(--border,#d8e3ef);border-radius:8px}
.lo-table-wrap table{width:100%;min-width:0;border-collapse:collapse;text-align:left;font-family:inherit;font-size:var(--ui-body,15px);line-height:var(--ui-line-height,1.5)}
.lo-table-wrap td,.lo-table-wrap th{padding:7px 10px;vertical-align:top;border-bottom:1px solid var(--border,#d8e3ef);overflow-wrap:anywhere}
.lo-table-wrap th{font-size:var(--ui-aux,13px);font-weight:600}
.lo-table-wrap td:nth-child(2){width:25%}
.lo-table-wrap td.lo-batch-time{white-space:normal}
.lo-table-wrap small{font-size:var(--ui-aux,13px)}
.lo-table-wrap th{background:var(--panel-bg,#edf4f8);position:sticky;top:0}
.lo-table-wrap small{display:block;margin-top:4px;max-width:220px;overflow-wrap:anywhere}
.lo-table-wrap td:nth-child(2) :is(code,small){display:block;font-family:inherit;font-size:inherit;font-weight:400;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lo-code-query{position:relative;display:flex;min-width:0}.lo-code-query input{flex:1;min-width:0;padding-right:calc(4em + 28px)}#page-linen .lo-filter .lo-code-query .btn{position:absolute;right:1px;top:1px;height:34px!important;min-height:34px!important;border:0;border-left:1px solid var(--border,#d8e3ef);border-radius:0 5px 5px 0;background:transparent;white-space:nowrap;padding:0 10px}
#page-linen .lo-filter :is(input,select,.btn){height:36px!important;min-height:36px!important;box-sizing:border-box;margin:0;font-size:var(--ui-body,15px);font-family:var(--ui-font,inherit)}
@media(max-width:1000px){#page-linen .lo-filter{grid-template-columns:calc(6 * var(--ui-field-text,14px) + 26px) calc(8 * var(--ui-field-text,14px) + 30px) auto}#page-linen .lo-filter>.lo-query-field{grid-column:1/-1}}
@media(max-width:700px){#page-linen .lo-filter :is(input,select,.btn){height:44px!important;min-height:44px!important}#page-linen .lo-filter .lo-code-query .btn{height:42px!important;min-height:42px!important}#page-linen .lo-filter>.lo-query-field{grid-column:1/-1}}
.lo-filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.lo-table-wrap input[type=checkbox]{width:20px;height:20px;vertical-align:middle;accent-color:var(--primary,#245c90)}
.lo-add-form #loBatchRetry[hidden]{display:none}
#loCoverage{padding:12px;background:var(--panel-bg,#edf4f8);border-radius:8px;line-height:1.6}
.lo-batch-section{margin-top:24px;border-top:1px solid var(--border,#d8e3ef);padding-top:16px}.lo-batch-section h4{margin:0 0 8px;font-size:var(--ui-body,15px)}.lo-batch-section p{color:var(--muted,#536c87);font-size:var(--ui-body,15px);line-height:1.6}.lo-batch-table-wrap{overflow-x:auto}.lo-batch-table{min-width:620px}.lo-batch-table small{display:block;font-size:var(--ui-aux,13px);overflow-wrap:anywhere}.lo-batch-table td:first-child{max-width:320px}.linen-balance-table{min-width:1000px}.linen-balance-table th{white-space:nowrap}
.lo-add-form{font-size:var(--ui-body,15px)}.lo-add-form .form-grid{gap:16px 12px}.lo-add-form .lo-tag-requirement{min-width:0;margin:0;padding:0;border:0}.lo-add-form .lo-tag-requirement legend{padding:0;margin-bottom:6px;color:var(--muted,#536c87);font-size:var(--ui-body,15px);font-weight:600}.lo-tag-options{display:flex;flex-wrap:wrap;gap:10px 24px}.lo-add-form .lo-tag-options label{display:inline-flex;gap:8px;align-items:center;min-height:36px;margin:0;color:var(--text,#24384f);font-size:var(--ui-body,15px);font-weight:400;cursor:pointer}.lo-add-form .lo-tag-options input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--primary,#245c90)}.lo-add-form #loBatchError:empty{display:none}.lo-add-form>button{margin-top:16px}
@media(max-width:700px){.lo-add-form .lo-tag-options label{min-height:44px}}
@media(max-width:700px){#page-linen .lo-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#page-linen .lo-person-filter{max-width:calc(6 * var(--ui-field-text,14px) + 26px)}.lo-filter-actions{grid-column:1/-1}#page-linen .lo-tools .btn{min-height:44px}}

/* Uniform form baselines and immutable server-sourced operator/time. */
#loBatchForm .form-grid>label{display:flex;flex-direction:column;gap:6px;align-self:start}
#loBatchForm .form-grid>label :is(input,select){height:36px!important;min-height:36px!important;margin:0;box-sizing:border-box}
.lo-audit-readonly{display:grid;gap:6px;min-width:0}.lo-audit-readonly span{color:var(--muted);font-size:13px}.lo-audit-readonly :is(b,time){font:inherit;overflow-wrap:anywhere}
.lo-batch-time{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:700px){#loBatchForm .form-grid>label :is(input,select){height:44px!important;min-height:44px!important}}

#loCoverage[hidden]{display:none}

#linenSettingsError:not(.hidden){padding:10px 12px;margin-bottom:10px;color:var(--muted);background:var(--panel-bg,#edf4f8);border-radius:6px}
.linen-loading-cell{display:block;width:80%;height:.75em;margin:.6em 0;border-radius:4px;background:#e8ebee}
.linen-loading-row td:first-child .linen-loading-cell{height:1.4em}
@media(prefers-reduced-motion:no-preference){
  .linen-loading-cell{background:linear-gradient(100deg,#e8ebee 25%,#f0f2f4 48%,#e8ebee 72%) 100% 0/220% 100%;animation:linen-loading 1400ms linear infinite}
}
@keyframes linen-loading{to{background-position:-85% 0}}
.lo-stock .lo-batch-table-wrap{max-height:none;overflow-x:auto}
.lo-stock .lo-batch-section{margin-top:8px}
.lo-stock-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lo-stock-actions #loStockNew{display:inline-flex;align-items:center;gap:6px}


/* mobile.css */
/* V15.9: field browser layout. Desktop rules remain in style.css. */
.field-browser .desktop-hardware:not([data-terminal-feature]):not([data-terminal-container]),
.field-browser .desktop-upload:not([data-terminal-feature]),
.field-browser .draft-photo-qr:not([data-terminal-feature]) { display:none!important; }

/* SVG styling is shared by desktop and mobile; permissions still use .hidden. */
#nav .nav-icon { display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px; }
#nav .nav-icon svg,.mobile-nav svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
#nav button.hidden { display:none!important; }
.sidebar-close { display:none; }
.field-filter-toggle { display:none; }

@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse) {
  :root { --mobile-nav-height:58px;--page-gutter:12px; }
  /* One document scroller: body must not become a second 100%-high scroller. */
  html { width:100%;min-width:0;height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:auto;scroll-padding-top:80px; }
  body,.pwa-standalone body { width:100%;min-width:0;height:auto;min-height:100%;margin:0;padding:0;overflow:visible;-webkit-text-size-adjust:100%;text-size-adjust:100%; }
  .app-shell { display:block;width:100%;min-width:0;min-height:var(--layout-height,100vh); }
  .main { width:100%!important;max-width:none;min-width:0;margin:0!important;padding:0 max(var(--page-gutter),env(safe-area-inset-right)) calc(20px + var(--mobile-nav-height) + env(safe-area-inset-bottom)) max(var(--page-gutter),env(safe-area-inset-left))!important; }
  .page { width:100%;max-width:none;min-width:0;margin:0;padding-top:10px; }
  .main>.page>* { min-width:0;max-width:100%; }
  .topbar { position:sticky!important;top:0;z-index:150;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:6px!important;min-height:56px;height:auto!important;margin:0 calc(-1 * var(--page-gutter));padding:calc(6px + env(safe-area-inset-top)) var(--page-gutter) 6px!important;background:#fff;backdrop-filter:none;border-bottom:1px solid #dce5f0; }
  .topbar>.topbar-heading { grid-column:2!important;grid-row:1!important;min-width:0; }
  .topbar h2 { margin:0;font-size:20px;line-height:1.3;white-space:normal; }
  .topbar p,.online-pill { display:none!important; }
  #menuBtn { display:grid!important;place-items:center;grid-column:1;grid-row:1;width:44px;height:44px;border:1px solid #cddcec;border-radius:10px;background:#f1f6fc;color:#125cb5; }
  .topbar>#pageHeaderActions { grid-column:1/-1!important;grid-row:2!important;min-width:0;width:100%;margin:0!important; }
  .topbar>#pageHeaderActions.field-empty { display:none!important; }
  .page-header-action-group { flex-wrap:wrap;gap:6px; }
  .page-header-action-group .btn { min-height:42px; }

  .mobile-nav { display:grid;grid-template-columns:repeat(var(--mobile-nav-count,5),minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:180;min-height:0;height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));padding:4px max(6px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:#fff;border-top:1px solid #cfdaea;box-shadow:0 -3px 12px #18365a0a; }
  .mobile-nav button { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:44px;height:50px;padding:3px;border-radius:10px;color:#526780;font-size:12px; }
  .mobile-nav button.active { color:#0b57d0;background:#edf4ff; }
  .mobile-nav button i { display:flex;align-items:center;justify-content:center;height:22px;font-size:20px; }
  .keyboard-open .mobile-nav { display:none!important; }
  .keyboard-open .main { padding-bottom:20px!important; }

  .sidebar { position:fixed;inset:0 auto auto 0!important;top:var(--visual-top,0px)!important;width:min(88vw,340px)!important;max-width:calc(100% - 36px);height:var(--app-height,100vh)!important;min-height:0;padding:calc(10px + env(safe-area-inset-top)) 12px calc(8px + env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column;overflow:hidden!important;transform:translateX(-104%)!important;z-index:270!important; }
  .sidebar.open { transform:translateX(0)!important; }
  .sidebar-scrim { position:fixed!important;inset:0!important;z-index:260!important;background:#04122470; }
  .sidebar .brand { position:relative;gap:10px;min-width:0;padding:2px 36px 12px 2px; }
  .sidebar .brand strong { font-size:17px; }
  .sidebar .brand small { font-size:12px; }
  .sidebar .sidebar-logo { flex:0 0 56px;width:56px;height:46px;object-fit:contain;background:#fff;border-radius:6px;padding:3px; }
  .sidebar-close { display:grid;place-items:center;position:absolute;right:-3px;top:0;width:36px;height:40px;border:0;border-radius:8px;color:#fff;background:#ffffff14;font-size:25px; }
  .sidebar nav { display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column;gap:3px;padding:4px 0 10px;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain; }
  #nav button:not(.hidden) { display:flex!important;align-items:center;gap:10px;flex:0 0 auto;min-width:0;min-height:46px;width:100%;padding:10px 12px;font-size:16px;line-height:1.3; }
  #nav button>span:not(.nav-icon) { min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  #nav .nav-count { flex:0 0 auto;margin-left:auto; }
  #nav button.hidden { display:none!important; }
  .nav-group-label { padding:12px 12px 3px;font-size:11px;letter-spacing:0;color:#a7bcdc; }
  .sidebar .sidebar-user.account-bar { flex:0 0 auto;min-width:0;margin:0!important;padding:7px 2px 0!important; }
  .account-trigger { min-height:54px;padding:5px; }
  .account-avatar { width:36px;height:36px;flex-basis:36px; }
  .account-summary strong { font-size:16px; }
  .account-summary small { margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .account-menu { max-height:calc(var(--app-height,100vh) - 140px); }

  .panel { min-width:0;padding:12px!important;margin-bottom:10px; }
  .panel-head { margin-bottom:10px;gap:8px; }
  .panel-head>div { flex:1 1 160px; }
  .panel-head p,.procurement-intro,.maintenance-history-summary em,.inventory-role-guide,.linen-c72-guide { display:none; }
  .workspace-tabs,.procurement-tabs,.maintenance-tabs { position:static!important;margin-bottom:10px; }
  .procurement-tabs button { flex:1 1 auto;min-width:0;min-height:44px;padding:8px;font-size:14px; }
  input,select,textarea { box-sizing:border-box;min-width:0;max-width:100%;font-size:16px!important;scroll-margin-block:85px; }
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select { min-height:44px; }
  input[type=date],input[type=time],input[type=datetime-local] { display:block;min-width:0!important;width:100%;max-width:100%;min-inline-size:0;appearance:none;-webkit-appearance:none;padding:9px 8px;text-align:left; }
  input::-webkit-date-and-time-value { min-width:0;min-height:1.4em;text-align:left; }
  input::-webkit-datetime-edit { min-width:0;padding:0; }
  fieldset { min-inline-size:0;max-width:100%; }
  .form-grid,.form-grid-3 { gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .form-grid .full,.form-grid-3 .full { grid-column:1/-1!important; }
  .form-grid>label,.form-grid-3>label { min-width:0;margin:0;font-size:13px;line-height:1.5; }
  .form-grid label input,.form-grid label select { margin-top:5px; }
  .form-grid .location-picker input { margin-top:0; }
  .procurement-core-grid>label:first-child { grid-column:1/-1; }
  .form-section-title { margin:16px 0 9px;padding-top:10px;font-size:14px; }
  .form-section-title:first-child { margin-top:0;padding-top:0; }
  #assetCreateForm .required-label::after { content:none; }
  #assetCreateForm .required-label>.field-label::after { content:' *';color:#c42d25; }
  #assetCreateForm .required-field:not(.invalid) { border-color:#c7d5e5!important;box-shadow:none!important;background:#fff; }
  #assetCreateForm .required-field:focus { border-color:#2670c8!important;box-shadow:0 0 0 2px #2670c818!important; }
  #assetCreateForm .field-help,.form-details>summary>span,.form-section-title>small { display:none; }
  #assetCreateForm #acWarrantyHint,#assetCreateForm #acResult { display:block; }
  .form-details { margin:12px 0; }
  .form-details>summary { padding:11px;gap:8px;font-size:14px; }
  .form-details>summary::after { content:'＋';color:#38668f; }
  .form-details[open]>summary::after { content:'−'; }
  .form-details>.form-grid { padding:11px; }
  .procurement-submit-bar { position:static;inset:auto;margin:12px 0 0;padding:12px 0 0;box-shadow:none;display:flex;flex-wrap:wrap;gap:8px; }
  .procurement-submit-bar #acSubmitBtn { flex:1; }
  .procurement-submit-bar #acResult { flex-basis:100%; }
  .transfer-policy-segment { flex-wrap:wrap; }
  .transfer-policy-segment label { flex:1 1 100%; }

  /* Keyword/status remain visible. Other filters keep their values when folded. */
  .business-range-filter,.business-range-filter.disposal-filters { grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;margin-top:8px;padding:10px; }
  .business-range-filter>label { display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0;min-width:0; }
  .business-range-filter .filter-wide { grid-column:1/-1!important; }
  .business-range-filter input,.business-range-filter select { margin:0; }
  .field-filter-toggle { display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:44px;border:1px solid #c9d9eb;border-radius:9px;background:#fff;color:#245990;font:inherit;font-size:14px; }
  .business-range-filter:not(.field-filters-open)>.field-filter-extra { display:none; }
  .business-range-filter>.range-filter-actions { grid-column:1/-1!important;display:flex;gap:8px; }
  .range-filter-actions>.btn { flex:1; }
  .maintenance-history-summary { gap:5px;margin:10px 0; }
  .maintenance-history-summary span { padding:5px 7px;font-size:12px; }

  .login-shell { min-height:var(--app-height,100vh);padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));align-items:center; }
  .login-card { width:100%;max-width:400px;padding:22px;border-radius:16px; }
  .login-logo { max-height:64px;object-fit:contain; }
  .login-card h1 { margin-top:12px;font-size:24px; }
  .login-card p { margin-bottom:12px; }
  .login-card label { margin:12px 0; }
  .keyboard-open .login-shell { align-items:start;padding-top:12px; }
  .keyboard-open .login-logo,.keyboard-open .login-card>p { display:none; }
  .keyboard-open .login-card { padding:16px; }
  .keyboard-open .login-card h1 { margin-top:0; }
  .modal,.modal.modal-room-return { top:var(--visual-top,0px)!important;bottom:auto!important;left:0!important;width:100%!important;max-width:100%!important;height:var(--app-height,100vh)!important;max-height:var(--app-height,100vh)!important;border-radius:0!important; }
  .drawer { top:var(--visual-top,0px)!important;bottom:auto!important;width:100%!important;height:var(--app-height,100vh)!important; }
  .modal .modal-head { padding-top:calc(10px + env(safe-area-inset-top)); }
  .modal .modal-actions { position:static; }
  .keyboard-open .modal .modal-head,.keyboard-open .drawer-head { padding-top:8px; }
}

@media(max-width:360px) {
  .form-grid,.form-grid-3 { grid-template-columns:minmax(0,1fr)!important; }
  .business-range-filter,.business-range-filter.disposal-filters { grid-template-columns:minmax(0,1fr)!important; }
}
@supports(overflow:clip) {
  @media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse) {
    html { overflow-x:clip; }
  }
}

/* V16.1: field operations, selection targets and an accessible photo footer. */
.field-browser .desktop-only:not([data-terminal-feature]):not([data-terminal-container]){display:none!important}
.asset-card-check{display:grid!important;place-items:center;width:44px;height:44px;min-height:44px;padding:0!important;margin:0!important;border:0;background:transparent;box-shadow:none;line-height:1}
.asset-card-check input[type=checkbox]{display:block;appearance:auto;-webkit-appearance:checkbox;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:0!important;padding:0!important;border-radius:4px;box-shadow:none;transform:none;accent-color:#155dd3}
.asset-card.selectable .asset-info h4{padding-right:38px}
.page-inline-hint{font-size:13px;line-height:1.4;color:#60758e;margin:0}
.custody-people-panel>.panel-head{justify-content:flex-end;margin-bottom:6px}
.image-zoom-toolbar .image-close-button{min-width:66px;background:#fff;color:#153956;border-color:#fff;font-size:16px}
@media(max-width:920px),(max-width:1100px) and (hover:none) and (pointer:coarse){
 .asset-command-toolbar{padding:8px!important;margin:8px 0}
 .asset-command-groups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}
 .asset-command-group{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;gap:0!important;min-width:0}
 .asset-command-group-title{display:none!important}
 .asset-command-buttons{gap:6px!important}
 #assetFilterToolGroup,#assetSelectionToolGroup{grid-column:1/-1}
 .asset-command-buttons>.btn{min-height:44px!important;padding:7px 5px!important;font-size:14px!important;min-width:0}
 #assetBatchToolGroup{grid-column:2;grid-row:2}
 #assetCaptureToolGroup{grid-column:1;grid-row:2}
 #assetCaptureToolGroup .asset-command-buttons{grid-template-columns:minmax(0,1fr)}
 .asset-card-check{top:4px;right:4px}
 .asset-info{min-width:0;padding:10px!important}
 .asset-info h4{margin-bottom:6px!important}
 .image-backdrop{top:var(--visual-top,0px)!important;bottom:auto!important;height:var(--app-height,100dvh);padding:0!important;overflow:hidden}
 .image-preview-stage{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;padding:calc(46px + env(safe-area-inset-top)) 8px calc(112px + env(safe-area-inset-bottom));box-sizing:border-box}
 .image-preview-stage img{max-height:100%!important;max-width:100%!important}
 .image-backdrop>.image-close{display:none}
 .image-zoom-toolbar{position:absolute!important;left:50%!important;top:auto!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;transform:translateX(-50%);white-space:nowrap;gap:6px;padding:7px;max-width:calc(100% - 20px)}
 .image-zoom-toolbar button{min-width:40px!important;height:44px!important;padding:0 8px!important;font-size:16px!important}
 .image-zoom-toolbar strong{font-size:13px}
 .image-zoom-toolbar span{display:none}
 .image-zoom-toolbar .image-close-button{min-width:64px!important}
 .image-backdrop .image-counter{top:calc(12px + env(safe-area-inset-top))!important;bottom:auto!important}
 .image-nav{position:absolute!important;top:auto!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;width:44px;height:44px;transform:none}
 .image-prev{left:calc(50% - 58px)}.image-next{right:calc(50% - 58px)}
 .energy-room-heading{display:none}
 .page-inline-hint{font-size:12px}
}

.luggage-order-card{grid-template-columns:minmax(0,1fr) auto auto}
@media(max-width:600px){.luggage-order-card{grid-template-columns:minmax(0,1fr) auto}.luggage-order-card>.btn{grid-column:1/-1}}

/* V16.8: the shared close controls must stay below the phone status bar,
   including delivery/energy overrides, landscape and the open keyboard. */
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse) {
  #modal > .modal-head, #drawer > .drawer-head {
    box-sizing:border-box;display:flex;align-items:center;gap:10px;flex:0 0 auto;
    position:sticky;top:0;z-index:12;background:#fff;
    padding:calc(10px + env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) 10px max(14px,env(safe-area-inset-left,0px))!important;
    min-height:calc(64px + env(safe-area-inset-top,0px))!important;
  }
  #modalTitle, #drawer > .drawer-head > div {flex:1 1 auto;min-width:0;margin:0;overflow-wrap:anywhere;}
  #modalTitle, #dTitle {max-height:3.9em;overflow:auto;line-height:1.3;font-size:19px;}
  #modalClose, #drawerClose {
    position:relative;inset:auto;flex:0 0 44px;display:grid;place-items:center;
    width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
    padding:0!important;margin:0!important;border-radius:10px;line-height:1;font-size:28px;
    pointer-events:auto;touch-action:manipulation;z-index:1;
  }
  #modal > #modalBody {min-height:0;overscroll-behavior:contain;}
}
.field-browser #navParameters:not([data-terminal-feature]),.field-browser [data-page="parameters"]:not([data-terminal-feature]){display:none!important}

/* Weak-network status stays below the safe area and never covers modal controls. */
.network-banner{display:flex;align-items:center;gap:10px;max-width:calc(100vw - 24px);border-radius:12px;top:auto;bottom:calc(76px + env(safe-area-inset-bottom));font-size:12px;line-height:1.4;z-index:250}
.network-banner button{flex-shrink:0;border:1px solid #ffffff80;background:transparent;color:white;padding:6px 10px;border-radius:8px}
.has-modal .network-banner{display:none}.image-loading{background:linear-gradient(100deg,#f2f6fc,#e4edf8,#f2f6fc)}.image-retry{border:0;background:#eef4fc;color:#245f9d;border-radius:6px;font-size:12px;padding:7px}

/* Quiet cache indicator stays in the header's status area, never above form controls. */
#networkBanner{position:static;transform:none;inset:auto;display:inline-flex;max-width:100%;gap:4px;background:transparent;color:#72839b;padding:0;border-radius:0;box-shadow:none;font-size:10px;line-height:1.3;z-index:auto;white-space:nowrap}
#networkBanner button{padding:1px 4px;color:#64748b;border:0;background:transparent;font-size:10px}
#networkBanner.hidden{display:none!important}
.task-workspace-shade{position:fixed;inset:0;background:#17345866;z-index:89;display:flex;align-items:center;justify-content:center;padding:20px}
.task-workspace-dialog{background:#f7faff;border-radius:16px;width:min(1400px,96vw);max-height:94dvh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 70px #142a4b44}
.task-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:white;border-bottom:1px solid #dce5ef;flex:none}
.task-workspace-head h3{margin:0;font-size:18px}.task-workspace-body{overflow:auto;padding:12px;min-height:0;overscroll-behavior:contain}.task-workspace-body>.panel{margin:0}
.task-workspace-body [data-inv-back]{display:none}.has-task-workspace{overflow:hidden}
@media(max-width:700px){.task-workspace-shade{padding:0;z-index:300}.task-workspace-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.task-workspace-head{padding:10px 12px}.task-workspace-body{padding:8px}}

/* Field browsers keep asset scanning in the sticky header. The query toolbar
   remains focused on filters and selection, so no empty capture slot is left. */
@media(max-width:920px),(max-width:1100px) and (hover:none) and (pointer:coarse){
  .field-browser .topbar{position:sticky!important;top:0}
  .field-browser .topbar-heading{padding-right:138px}
  .field-browser #assetScanHeaderGroup:not(.hidden):not(.terminal-feature-hidden){display:flex!important;position:absolute;top:calc(6px + env(safe-area-inset-top));right:var(--page-gutter);z-index:2;width:auto}
  .field-browser #assetScanHeaderGroup .asset-header-scan{display:inline-flex!important;min-height:42px;padding:7px 11px;font-size:14px}
  .field-browser #assetCaptureToolGroup:not([data-terminal-feature]){display:none!important}
  .field-browser #assetFilterToolGroup{grid-column:1/-1!important}
  .field-browser #assetFilterToolGroup .asset-command-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .field-browser #assetFilterToolGroup #assetNoRfidBtn{grid-column:1/-1}
  .field-browser #assetBatchToolGroup{grid-column:1/-1!important;grid-row:auto!important;display:grid!important}
  .field-browser #assetBatchToolGroup .asset-command-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .field-browser #assetBatchToolGroup #assetBatchOpsBtn{grid-column:1/-1}
  .asset-scan-modal .scan-manual-fallback{grid-template-columns:1fr}
  .asset-scan-modal .scan-manual-fallback .btn{width:100%}
  .asset-scan-modal .scan-result dl{grid-template-columns:1fr}
  .linen-entry-guide{align-items:stretch;flex-direction:column}.linen-entry-guide .btn{width:100%}
}


/* pattern-login.css */
.login-actions{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;align-items:end;margin-top:12px}
.login-actions>.btn{width:100%;min-width:0;min-height:42px;white-space:nowrap}
#loginForm .login-actions>.btn{transform:none;align-self:end;height:44px;min-height:44px!important;margin:0;padding:0 14px}
#loginForm .login-credentials-row>#loginPasswordPanel{min-width:0;margin:0}
#loginForm .login-credentials-row #loginPassword{height:44px!important;min-height:44px!important}
.login-credentials-row:has(#loginPatternPanel:not(.hidden)){grid-template-columns:minmax(0,1fr)}
.login-options{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:12px}
#loginForm .login-options>.remember-row{min-width:0;min-height:32px;margin:0}
#loginForm .login-method-link{margin:0 0 0 auto;padding:0;min-height:32px;border:0;background:transparent;box-shadow:none;color:var(--mist-focus,#365f89);font-size:14px;cursor:pointer;white-space:nowrap}
#loginForm .login-method-link:hover{text-decoration:underline;text-underline-offset:3px}
#loginForm .login-method-link:focus-visible{outline:2px solid var(--mist-focus,#365f89);outline-offset:4px;border-radius:2px}
#loginForm .login-method-link:disabled{opacity:.45;cursor:not-allowed}
.login-actions>.btn:focus-visible{outline:2px solid var(--mist-primary,var(--accent));outline-offset:2px}
@media(max-width:920px),(pointer:coarse){#loginForm .login-actions>.btn{height:48px;min-height:48px!important}#loginForm .login-credentials-row #loginPassword{height:48px!important;min-height:48px!important}#loginForm .login-method-link{min-height:44px}}
@media(max-width:640px){.login-credentials-row{grid-template-columns:minmax(0,1fr)}}
.pattern-pad{position:relative;display:grid;grid-template-columns:repeat(3,1fr);aspect-ratio:1;width:min(100%,260px);margin:8px auto;touch-action:none;user-select:none;-webkit-user-select:none}
.pattern-pad svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pattern-pad polyline{fill:none;stroke:#3278d7;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.pattern-dot{position:relative;z-index:1;display:grid;place-items:center;padding:0!important;margin:0!important;min-width:44px;min-height:44px;border:0;background:transparent;box-shadow:none;border-radius:50%;touch-action:none}
.pattern-dot::after{content:'';width:17px;height:17px;box-sizing:content-box;border:3px solid #52769c;border-radius:50%;background:#fff}
.pattern-dot.picked::after{background:#155ed2;border-color:#155ed2;box-shadow:0 0 0 7px #155ed222}
.pattern-dot:focus-visible{outline:2px solid #1e62b5;outline-offset:-8px}
.pattern-pad.disabled{opacity:.55}
.pattern-help{text-align:center;font-size:13px;color:#64778c;margin:4px 0}
.pattern-actions{display:flex;justify-content:center;gap:8px;margin:8px 0}
.pattern-settings{max-width:420px;margin:auto}
.pattern-settings label{display:block;margin:10px 0}
.pattern-settings input{width:100%;min-height:44px}
.pattern-stage{font-size:17px;font-weight:700;color:#24527f;text-align:center;margin:12px 0 0}
@media(max-height:650px){.login-card .pattern-pad{width:min(100%,190px);margin:0 auto}.login-card:has(#loginPatternPanel:not(.hidden)) .login-logo{max-height:38px}.login-card:has(#loginPatternPanel:not(.hidden))>p{display:none}}


/* task-center.css */
.task-tabs{display:flex;gap:8px;margin-bottom:14px;border-bottom:1px solid #d3dfec;padding-bottom:10px}
.custody-source{margin:7px 0 0;color:#4e657a;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.custody-location-form .custody-source{margin:0 0 12px}
.custody-asset-link{display:grid;gap:4px;box-sizing:border-box;width:100%;min-height:44px;padding:12px 14px;border:1px solid #bfd6e7;border-radius:9px;background:#eef6fb;color:#215d89;font:inherit;text-align:left;cursor:pointer}
.custody-asset-link strong{text-decoration:underline;text-underline-offset:3px}.custody-asset-link span{overflow-wrap:anywhere;font-size:12px}.custody-asset-link small{color:#4e657a;font-size:12px}
.custody-asset-link:hover{border-color:#4b75a2;background:#eaf3f8}.custody-asset-link:focus-visible{outline:2px solid #4b75a2;outline-offset:3px}
.task-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:136px;min-height:46px;border:1px solid #cbd9e9;border-radius:12px;background:white;color:#355679;font:inherit;font-weight:700;cursor:pointer}
.task-tabs button.active{background:#155ed0;color:white;border-color:#155ed0}
.task-tabs b{background:#edf3fc;color:#1554ad;border-radius:20px;min-width:26px;padding:2px 7px;font-size:13px}
.task-filters{display:grid;grid-template-columns:minmax(170px,1fr) minmax(130px,.5fr) minmax(150px,.5fr) auto auto;gap:8px;align-items:center;margin-bottom:12px}
.task-filters input,.task-filters select,.task-pager select{min-width:0;max-width:100%;width:100%;box-sizing:border-box;height:44px;border:1px solid #c4d3e5;border-radius:10px;padding:8px 10px;background:white;color:#193d63;font:inherit}
.task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 12px;color:#44617f;font-size:14px}
#taskBatch{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.task-group{position:relative;isolation:isolate;min-width:0;margin:10px 0 0;border:1px solid #adc5db;border-radius:20px;background:#dfedf7;box-shadow:0 6px 20px #385b7314;cursor:pointer;transition:background-color .16s,border-color .16s,box-shadow .16s}
.task-group .task-group-age{position:static;align-self:flex-end;margin:0;border-radius:8px;padding:4px 7px;font-size:12px;white-space:nowrap}
.task-group::before,.task-group::after{content:"";position:absolute;z-index:-1;border:1px solid var(--mist-line,#cbdbea);border-bottom:0;border-radius:16px 16px 0 0;pointer-events:none}
.task-group::before{inset:-10px 18px auto;height:10px;background:var(--mist-blue,#eaf3f8)}.task-group::after{inset:-5px 9px auto;height:5px;background:var(--mist-surface,#f8fbfd)}
.task-group>header{display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:20px;min-height:218px;box-sizing:border-box}.task-group-heading{display:flex;align-items:center;gap:14px}.task-group-heading>div{min-width:0}
.task-group h3{margin:5px 0 0;font-family:inherit;font-size:17px;line-height:1.5;overflow-wrap:anywhere;color:var(--mist-ink,#263b50)}.task-group header p{margin:0;font-size:13px;color:var(--mist-muted,#60768a)}.task-group header small{color:var(--mist-focus,#426b96);font-size:13px}
.task-folder-icon{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;flex:0 0 54px;box-sizing:border-box;width:54px;height:54px;padding:10px;border-radius:14px;background:var(--mist-blue,#eaf3f8);border:1px solid var(--mist-line,#cbdbea)}.task-folder-icon i{border-radius:3px;background:var(--mist-primary,#4b75a2);opacity:.65}.task-folder-icon i:last-child{grid-column:1/-1;opacity:.3}
.task-group-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-top:1px solid var(--mist-line,#cbdbea);padding-top:14px}.task-group-actions>span{flex:1;font-size:12px;color:var(--mist-muted,#60768a)}.task-group-actions .btn{min-height:44px}.task-group-content{padding:0 16px 16px;cursor:default;transform-origin:top center}.task-group.is-expanded{grid-column:1/-1}.task-group.is-expanded>header{min-height:0}.task-group.is-expanded .task-group-content{animation:task-folder-open .2s ease-out}
.task-group-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-group-pager{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--mist-muted,#60768a)}
@media(hover:hover){.task-group:hover{background:#e6f1f8;border-color:var(--mist-primary,#4b75a2);box-shadow:0 10px 24px #305e812b}}
.task-group:focus-visible{outline:3px solid var(--mist-focus,#426b96);outline-offset:3px;background:#e6f1f8}.task-group:focus-within{border-color:var(--mist-primary,#4b75a2)}.task-group:active{background:#dcecf5}
@keyframes task-folder-open{from{opacity:.3;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.task-group{transition:none}.task-group.is-expanded .task-group-content{animation:none}}
@media(max-width:760px){.task-group>header{padding:16px;gap:12px;min-height:210px}.task-group-actions>span{flex-basis:100%}.task-group-actions .btn{flex:1}.task-group-members{grid-template-columns:1fr}.task-group-content{padding:0 10px 12px}.task-group h3{font-size:16px}}
.task-card{border:1px solid #d0ddec;background:white;border-radius:14px;padding:14px;min-width:0;display:flex;flex-direction:column;gap:9px;box-shadow:0 2px 5px #164b8310}
.task-card[data-task-card]{cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
@media(hover:hover){.task-card[data-task-card]:hover{border-color:var(--mist-primary,#4b75a2);background:#edf6fb;box-shadow:0 8px 22px rgba(48,94,129,.16)}}
.task-card[data-task-card]:active{background:#e3f0f7}
.task-card[data-task-card]:focus-visible{outline:3px solid var(--mist-focus,#426b96);outline-offset:2px}
.task-card.selected,.task-card.selected:hover{border-color:var(--mist-primary,#4b75a2);background:#e7f2f9;box-shadow:0 0 0 1px var(--mist-primary,#4b75a2)}
@media(prefers-reduced-motion:reduce){.task-card[data-task-card]{transition:none}}
.task-card-top{display:flex;align-items:flex-start;gap:9px;min-width:0}
.task-card-top input{width:20px;height:20px;flex-shrink:0;margin:3px 0;accent-color:#155ed0}
.task-card-title{flex:1;min-width:0}.task-card-title strong{font-size:17px;color:#153455;display:block;overflow-wrap:anywhere;line-height:1.4}
.task-card-title small{font-size:12px;color:#617a97;display:block;margin-top:3px}
.task-step{color:#1459b0;background:#edf4fe;border-radius:7px;padding:4px 8px;font-size:12px;font-weight:700;max-width:45%;overflow-wrap:anywhere;flex-shrink:0}
.task-handler{background:#f3f7fc;border-radius:9px;padding:9px 10px;display:flex;align-items:baseline;gap:5px 10px;flex-wrap:wrap;color:#385474;font-size:13px}
.task-handler b{font-size:16px;color:#133d70;overflow-wrap:anywhere}.task-handler .task-role{color:#526b88;font-size:13px}
.task-warning{color:#9c4217;background:#fff3e7;border-radius:7px;padding:6px 9px;font-size:13px}
.task-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:auto}.task-actions .btn{min-height:38px}
.task-date{font-size:12px;color:#71839a;flex:1}
#taskNotice{padding:12px;border:1px solid #e9c780;border-radius:10px;background:#fff8e7;color:#78500d;margin-bottom:12px}
.task-empty{grid-column:1/-1;padding:38px 16px;text-align:center;color:#60758e;border:1px dashed #ccd9e8;border-radius:12px;background:white}
.task-pager{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.task-pager select{width:auto}
.task-dispatch-list{max-height:35vh;overflow:auto;border:1px solid #d7e1ed;border-radius:9px;margin:12px 0}
.task-dispatch-list>div{padding:10px 12px;border-bottom:1px solid #e5ecf5;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}.task-dispatch-list>div:last-child{border:0}
.task-dispatch-list small{color:#526b88}.task-dispatch-target{background:#edf5ff;border-radius:9px;padding:10px;margin:10px 0;color:#194c91;font-weight:600}
.task-dispatch-error{color:#aa301f;line-height:1.5;white-space:pre-wrap}
.task-dashboard-item{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;background:white;border:1px solid #d4e0ed;border-radius:11px;padding:12px;color:#1c426c;cursor:pointer;min-width:0;font:inherit}
.task-dashboard-item strong,.task-dashboard-item span{overflow-wrap:anywhere}.task-dashboard-item small{font-size:12px;color:#637a94}
@media(max-width:760px){
 .task-tabs{gap:8px;margin-bottom:10px}.task-tabs button{flex:1;min-width:0}
 .task-filters{grid-template-columns:1fr 1fr;gap:7px}.task-filters input{grid-column:1/-1}
 .task-filters input,.task-filters select{font-size:16px;height:44px}.task-filters .btn{min-height:42px}
 .task-toolbar{align-items:flex-start;flex-direction:column;gap:8px}#taskBatch{width:100%}#taskReassign{margin-left:auto}
 .task-list{grid-template-columns:1fr;gap:9px}.task-card{padding:12px}.task-card-title strong{font-size:16px}
 .task-handler{padding:8px 9px}.task-handler b{font-size:16px}.task-pager{gap:8px;font-size:13px}.task-pager .btn{padding:9px 11px}
 .task-dispatch-list{max-height:27vh}.task-step{max-width:42%}
}

.energy-progress-steps .energy-task-handler{display:block;grid-column:1/-1;min-width:0;white-space:normal;overflow-wrap:anywhere;color:#304e71;font-size:13px;line-height:1.5}

/* V17.1.1: project, location, current step; subject remains secondary. */
.task-card-title strong{font-size:18px;line-height:1.4}
.task-context{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin-top:7px;min-width:0}
.task-location{color:#174f83;font-size:17px;font-weight:700;overflow-wrap:anywhere}
.task-context .task-step{max-width:100%;font-size:14px;line-height:1.5;flex-shrink:1}
.task-card-title .task-subject{font-size:14px;line-height:1.5;margin-top:7px;overflow-wrap:anywhere}
.task-dashboard-item .task-card-title{width:100%;text-align:left}
.task-card-top{flex:1}
/* Task detail: keep the subject, image evidence and next action easy to scan. */
.task-detail-heading{display:grid;gap:5px;padding:14px 16px;border:1px solid #c9ddec;border-radius:12px;background:#eef6fc;color:#214968}
.task-detail-heading small{font-size:12px;font-weight:700;color:#557692}
.task-detail-heading h3{margin:0;font-size:20px;line-height:1.3;overflow-wrap:anywhere}
.task-detail-heading span{font-size:13px;color:#54718c}
.task-detail-loading{margin:12px 0;padding:12px;border-radius:9px;background:#f5f8fc;color:#4c657c}
.task-lost-found-subject{display:grid;grid-template-columns:minmax(100px,132px) minmax(0,1fr);gap:14px;margin:14px 0;padding:12px;border:1px solid #d7e4ef;border-radius:12px;background:#fff}
.task-lost-found-photos{display:flex;gap:7px;overflow-x:auto;min-height:104px}
.task-lost-found-photos button,.task-lost-found-no-photo{flex:0 0 104px;width:104px;height:104px;border:1px solid #cadbe9;border-radius:9px;background:#f3f7fa;color:#607b92;overflow:hidden;cursor:pointer}
.task-lost-found-photos button img{width:100%;height:100%;object-fit:cover}
.task-lost-found-no-photo{display:grid;place-items:center;font-size:12px}
.task-lost-found-copy{display:grid;align-content:start;gap:4px;min-width:0;color:#244760}
.task-lost-found-copy small{font-size:11px;color:#6b8498}
.task-lost-found-copy strong{font-size:17px;overflow-wrap:anywhere}
.task-lost-found-copy span{font-size:12px;color:#59738c}
.task-lost-found-copy p{margin:5px 0 0;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:480px){.task-lost-found-subject{grid-template-columns:1fr}.task-lost-found-photos{min-height:96px}.task-lost-found-photos button,.task-lost-found-no-photo{width:96px;height:96px;flex-basis:96px}}
.backdrop:not(.hidden){backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
/* One full-width business section per workflow; the five column headings stay visible. */
.notification-display-settings{display:flex;justify-content:flex-end;margin:0 0 14px}
.notification-display-settings label{display:grid;gap:5px;min-width:220px;margin:0;color:#426b96;font-size:14px}
.notification-display-settings select{min-height:44px;font:inherit;color:#263b50}
#claimPolicyStatus:not(:empty){margin:0 0 12px;padding:8px 12px;border-left:3px solid #4b75a2;background:#eef6fb;color:#263b50}
.claim-policy-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;container-type:inline-size}
.claim-policy-group{min-width:0;scroll-margin-top:76px;border:1px solid #d3e5f0;border-radius:10px;background:#fff}
.claim-policy-group h3{margin:0;padding:13px 16px;border-bottom:1px solid #c9deed;background:#eaf3f8;color:#263b50;font-size:18px;line-height:1.4}
.claim-policy-group-head{display:grid;grid-template-columns:44fr 14fr 28fr 14fr;align-items:center;border-bottom:1px solid #c9deed;background:#eaf3f8;border-radius:10px 10px 0 0}.claim-policy-group-head h3{border:0;background:transparent}.claim-policy-bulk{min-width:0;display:grid;gap:4px;padding:10px 8px;color:#315675;font-size:12px}.claim-policy-bulk[data-bulk-field=required]{grid-column:2}.claim-policy-bulk[data-bulk-field=todo_notify]{grid-column:4}.claim-policy-bulk>div{display:flex;flex-wrap:wrap;gap:4px}.claim-policy-bulk .btn{min-height:32px;padding:4px 6px;font-size:12px;white-space:nowrap}.claim-policy-bulk .btn:disabled{opacity:.5;cursor:default}
@container(max-width:900px){.claim-policy-group-head{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:6px}.claim-policy-group-head h3{grid-column:1/-1;padding-bottom:4px}.claim-policy-bulk[data-bulk-field=required]{grid-column:1}.claim-policy-bulk[data-bulk-field=todo_notify]{grid-column:2}.claim-policy-bulk{padding:6px 12px}.claim-policy-bulk .btn{min-height:44px}}
.claim-policy-table-wrap{width:100%;overflow-x:auto}
.claim-policy-table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;color:#263b50;font-size:14px;line-height:1.5}
.claim-policy-table th,.claim-policy-table td{padding:12px 14px;border-bottom:1px solid #e4edf4;text-align:left;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
.claim-policy-table tbody tr:last-child th,.claim-policy-table tbody tr:last-child td{border-bottom:0}
.claim-policy-table thead th{background:#f5f9fc;color:#315675;font-weight:700;white-space:nowrap}
.claim-policy-table thead th:nth-child(1){width:17%}.claim-policy-table thead th:nth-child(2){width:27%}.claim-policy-table thead th:nth-child(3){width:14%}.claim-policy-table thead th:nth-child(4){width:28%}.claim-policy-table thead th:nth-child(5){width:14%}
.claim-policy-table tbody th{font-size:15px;font-weight:600;color:#234663}
.claim-policy-table tbody tr:nth-child(even){background:#fbfdff}
.claim-policy-table .claim-policy-switch-cell{padding-inline:8px}
.claim-policy-switch-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.claim-policy-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-width:112px;min-height:44px;padding:4px 8px;border:1px solid #bdcfdf;border-radius:8px;background:#edf4fb;color:#345a7d;font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}
.claim-policy-track{flex:0 0 36px;width:36px;height:22px;border-radius:20px;background:#94a5b7;padding:3px;display:block;box-sizing:border-box}
.claim-policy-track:before{content:'';display:block;width:16px;height:16px;background:#fff;border-radius:50%;transition:transform .16s ease}
.claim-policy-toggle[aria-checked=true]{color:#fff;background:#245d91;border-color:#245d91}
.claim-policy-toggle[aria-checked=true] .claim-policy-track{background:#5795c7}
.claim-policy-toggle[aria-checked=true] .claim-policy-track:before{transform:translateX(14px)}
.claim-policy-example-links{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:6px}
.claim-policy-example{min-height:36px;padding:3px 4px;border:0;border-radius:6px;background:transparent;color:#245d91;font:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.claim-policy-example:hover,.claim-policy-example[aria-expanded=true]{color:#123f6f;background:#e5f1fa}
.claim-policy-na{color:#64798e;font-size:13px}
.claim-policy-toggle:focus-visible,.claim-policy-example:focus-visible{outline:2px solid #245d91;outline-offset:2px}
.claim-policy-toggle:hover:not(:disabled){border-color:#426b96;box-shadow:0 0 0 1px #426b96}
.claim-policy-toggle[aria-checked=true]:hover:not(:disabled){background:#194c78}
.claim-policy-toggle:disabled{opacity:.85;cursor:not-allowed}.lg-pickup-actions button:disabled{opacity:.55;cursor:not-allowed}
.claim-policy-table .claim-policy-preview-row,.claim-policy-table .claim-policy-preview-row:nth-child(even){background:#eef6fb}
.claim-policy-table .claim-policy-preview-row>td{padding:12px 14px;border-bottom:1px solid #c9deed}
.claim-policy-preview{box-sizing:border-box;width:100%;padding:14px;border:1px solid #b8d0e3;border-radius:10px;background:#fff;color:#263b50}
.claim-policy-preview-head{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:10px}
.claim-policy-preview-head strong{font-size:16px}.claim-policy-preview-head small{font-size:12px;color:#5d7589}
.claim-policy-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.claim-policy-preview-grid:has(figure:only-child){grid-template-columns:minmax(0,520px)}
.claim-policy-preview figure{min-width:0;margin:0}
.claim-policy-preview figcaption{margin-bottom:5px;font-size:13px;font-weight:600}
.claim-policy-preview img{display:block;width:100%;height:auto;border:1px solid #d3e5f0;border-radius:7px;background:#f4f8fb}
@container(max-width:900px){.claim-policy-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.claim-policy-table,.claim-policy-table tbody,.claim-policy-table tr,.claim-policy-table th,.claim-policy-table td{display:block;width:auto!important}.claim-policy-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) 145px;padding:10px 12px;border-bottom:1px solid #d3e5f0}.claim-policy-table tbody tr:last-child{border-bottom:0}.claim-policy-table tbody th{grid-column:1/-1;padding:0 0 7px}.claim-policy-table tbody td{border:0;padding:6px 8px 8px 0}.claim-policy-table tbody td:nth-child(3),.claim-policy-table tbody td:nth-child(5){padding-right:0}.claim-policy-table tbody td:before{content:attr(data-label);display:block;margin-bottom:3px;color:#52718c;font-size:12px;font-weight:700}.claim-policy-switch-actions{display:grid;grid-template-columns:1fr}.claim-policy-toggle{width:100%}.claim-policy-table tbody tr.claim-policy-preview-row{display:block;padding:0}.claim-policy-table .claim-policy-preview-row>td{display:block;width:100%!important;padding:10px 12px}.claim-policy-table .claim-policy-preview-row>td:before{content:none}.claim-policy-preview-grid{grid-template-columns:1fr}.claim-policy-preview-grid:has(figure:only-child){grid-template-columns:1fr}}
@media(max-width:480px){.notification-display-settings label{width:100%}.claim-policy-table tbody tr{grid-template-columns:minmax(0,1fr) 120px}.claim-policy-table th,.claim-policy-table td{overflow-wrap:anywhere}.claim-policy-toggle{min-width:0;padding:4px 5px;font-size:12px}.claim-policy-track{flex-basis:33px;width:33px}.claim-policy-example{min-height:44px}.claim-policy-preview{padding:10px}}
@media(prefers-reduced-motion:reduce){.claim-policy-track:before{transition:none}}


/* workflow-permissions.css */
.fp-toolbar,.fp-views,.fp-line,.fp-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.fp-toolbar{align-items:flex-end}
.fp-line{justify-content:space-between}
.fp-pickers{display:grid;grid-template-columns:minmax(140px,180px) minmax(180px,320px);flex:1;min-width:0;gap:12px}
.fp-picker{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%;margin:0;color:var(--mist-on-tint,#4e657a);font-size:12px}
.fp-picker select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:var(--ui-field,36px);font-size:var(--ui-field-text,13px)}
.fp-role-picker{flex:1;max-width:320px}
.fp-flow-caption{margin:12px 0 0;color:var(--mist-on-tint,#4e657a);overflow-wrap:anywhere}
.fp-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:8px;margin:8px 0 12px}
.fp-step{min-width:0;min-height:68px;text-align:left;background:var(--mist-control,#fff);border:1px solid var(--mist-line,#d5e3ed);border-radius:8px;padding:10px 12px;cursor:pointer;color:var(--mist-ink,#263b50);font:inherit;overflow-wrap:anywhere}
.fp-steps .fp-step[aria-pressed="true"]{border-color:#245d91;background:#245d91;color:#fff;box-shadow:inset 0 0 0 1px #245d91}
.fp-step strong{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:14px}
.fp-step small{display:block;margin-top:4px;line-height:1.5;color:var(--mist-on-tint,#4e657a)}
.fp-steps .fp-step[aria-pressed="true"] strong,.fp-steps .fp-step[aria-pressed="true"] small,.fp-steps .fp-step.fp-step-uncovered[aria-pressed="true"] small{color:#fff}
.fp-steps .fp-step[aria-pressed="true"] .badge{color:#245d91;background:#fff}
.fp-note{color:var(--mist-muted,#60768a);margin:10px 0;font-size:12px;overflow-wrap:anywhere}
.fp-node-card{border:1px solid var(--mist-line,#d5e3ed);border-radius:10px;background:var(--mist-control,#fff);overflow-wrap:anywhere}
.fp-matrix{border:1px solid var(--mist-line,#d5e3ed);border-radius:10px;background:var(--mist-control,#fff)}
.fp-node-card .fp-matrix{border:0;border-radius:0;margin:0}
.fp-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(2,minmax(96px,140px));align-items:center;gap:4px;border-bottom:1px solid var(--mist-line,#d5e3ed);min-height:40px;padding:2px 10px}
.fp-row:last-child{border-bottom:0}
.fp-row>span{min-width:0;overflow-wrap:anywhere}
.fp-row>span:not(:first-child){text-align:center}
.fp-heading{min-height:42px;background:var(--mist-blue,#eaf3f8);color:var(--mist-on-tint,#4e657a);font-size:12px}
.fp-check{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;cursor:pointer;margin:0}
.fp-check input[type="checkbox"]{position:static;display:block;appearance:auto;-webkit-appearance:checkbox;flex:none;width:19px;height:19px;min-width:19px;min-height:19px;margin:0;padding:0;box-shadow:none;accent-color:var(--mist-primary,#4b75a2)}
.fp-linked{margin:0;padding:12px 16px;background:var(--mist-blue,#eaf3f8);border-bottom:1px solid var(--mist-line,#d5e3ed);color:var(--mist-on-tint,#4e657a);font-size:13px;line-height:1.6;border-radius:10px 10px 0 0}
.fp-linked>strong{color:var(--mist-ink,#263b50);font-size:14px}
.fp-linked p{margin:6px 0}
.fp-covered-steps{margin:4px 0 8px;padding-left:22px}
.fp-covered-steps li{margin:2px 0}
.fp-cross-flow{padding-top:8px;border-top:1px solid var(--mist-line,#d5e3ed)}
.fp-linked summary,.fp-preview summary{cursor:pointer;min-height:36px;padding:8px 0;box-sizing:border-box}
.fp-role-editor{margin-top:16px}
.fp-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px;margin-top:12px}
.fp-groups fieldset{border:1px solid var(--mist-line,#d5e3ed);border-radius:8px;padding:8px 10px;min-width:0;margin:0}
.fp-groups legend{font-size:14px;font-weight:600;padding:0 6px;color:var(--mist-ink,#263b50)}
.fp-role-option{display:flex;align-items:center;gap:4px;min-height:36px;overflow-wrap:anywhere}
.fp-role-option>span{min-width:0}
.fp-preview{margin:12px 0;padding:16px;background:var(--mist-blue,#eaf3f8);border:2px solid var(--mist-primary,#4b75a2);border-radius:10px;overflow-wrap:anywhere}
.fp-preview h4{margin:0;font-size:16px}
.fp-preview p{margin:10px 0}
.fp-preview ul{padding-left:22px;margin:10px 0}
.fp-preview li{margin:8px 0}
.fp-changes small{display:block;margin-top:4px;color:var(--mist-on-tint,#4e657a);line-height:1.6}
.fp-task-impact{padding:10px 12px;background:var(--mist-warning-bg,#f8eedb);color:var(--mist-warning,#87591e);border-radius:8px;margin:12px 0}
.fp-task-impact ul{margin:6px 0}
.fp-actions{justify-content:flex-end;margin-top:14px}
.fp-uncovered{background:var(--mist-warning-bg,#f8eedb);border:1px solid var(--mist-warning,#87591e);color:var(--mist-warning,#87591e);border-radius:8px;padding:12px;margin:12px 0;line-height:1.5;overflow-wrap:anywhere}
.fp-uncovered p{margin:6px 0}
.fp-step.fp-step-uncovered:not([aria-pressed="true"]){border-color:var(--mist-warning,#87591e);background:var(--mist-warning-bg,#f8eedb)}
.fp-step-uncovered small{color:var(--mist-warning,#87591e)}
.fp-column-actions{display:flex;gap:8px;justify-content:center;margin:6px 0;flex-wrap:wrap}
.fp-column-actions button{min-width:36px;min-height:36px;border:1px solid var(--mist-control-line,#738aa0);border-radius:6px;color:var(--mist-focus,#365f89);background:var(--mist-control,#fff);padding:4px 6px;cursor:pointer;font:inherit}
.fp-batch-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin:12px 0}
.fp-step:focus-visible,.fp-column-actions button:focus-visible,.fp-picker select:focus-visible,.fp-check:focus-within{outline:2px solid var(--mist-focus,#365f89);outline-offset:2px}
.fp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px),(pointer:coarse),(max-width:920px) and (max-height:500px){
  .fp-picker select{min-height:44px;font-size:16px}
  .fp-check,.fp-column-actions button{min-width:44px;min-height:44px}
  .fp-role-option,.fp-row{min-height:48px}
  .fp-preview summary{min-height:44px}
}
@media(max-width:760px){
  .fp-toolbar{align-items:stretch}
  .fp-pickers{flex-basis:100%;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
}
@media(max-width:600px){
  .fp-pickers{grid-template-columns:minmax(0,1fr);gap:8px}
  .fp-role-picker{max-width:none;flex-basis:100%}
  .fp-toolbar .fp-views{width:100%;box-sizing:border-box}
  .fp-views .btn{flex:1}
  .fp-row{grid-template-columns:minmax(0,1fr) 96px 96px;padding:2px 6px}
  .fp-step{padding:10px}
  .fp-steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,128px),1fr))}
  .fp-batch-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .fp-batch-actions [data-fp-preview]{grid-column:1/-1}
  .fp-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .fp-preview{padding:12px}
  .fp-linked{padding:12px}
}


/* workspace.css */
/* V16.3: query tools and one inventory workspace at a time. */
#page-energy .energy-room-panel{padding:16px 18px}
#page-energy .energy-room-toolbar{display:block;margin:0}
#page-energy .energy-room-filters{display:grid;width:100%;min-width:0;grid-template-columns:minmax(240px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:12px;align-items:end}
#page-energy .energy-room-filters label{min-width:0;margin:0;font-size:14px}
#page-energy .energy-room-filters label>span{display:block;margin:0 0 6px}
#page-energy .energy-room-filters input,#page-energy .energy-room-filters select{width:100%;min-width:0;min-height:44px;height:44px;margin:0;font-size:16px;box-sizing:border-box}
#page-energy .energy-room-filter-actions{display:flex;gap:8px}
#page-energy .energy-room-filter-actions .btn{height:44px;min-height:44px;margin:0}
#page-energy #energyRoomList>.empty-state{grid-column:1/-1;min-height:0;padding:12px 0 0;border:0;text-align:left;background:none;font-size:14px}
#page-energy #energyRoomList:empty{display:none}
#page-energy .energy-room-summary:not(.hidden){margin-top:14px}
.prep-history-filterbar{grid-template-columns:minmax(220px,1.5fr) minmax(235px,1.2fr) minmax(160px,1fr) minmax(160px,1fr) auto;padding:12px;gap:10px}
.prep-history-filterbar .task-filter-field>span{font-size:14px;margin-bottom:4px}
.prep-history-filterbar input,.prep-history-filterbar select{font-size:16px;height:44px;min-height:44px;box-sizing:border-box}
.prep-history-filterbar .prep-history-actions .btn{font-size:16px;height:44px;min-height:44px}
.prep-history-count{grid-column:1/-1;justify-self:end;font-size:14px}
.prep-progress-panel .demand-history-table th:nth-child(n){min-width:0}
.prep-progress-panel .demand-history-table th:nth-child(4){min-width:230px}
#inventoryAssetPane .inventory-workspace{padding:18px;margin-top:12px}
.inventory-workspace-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.inventory-workspace-bar h3{margin:0;font-size:20px}
#inventoryListScreen .inventory-workspace-bar{justify-content:space-between}
.inventory-workspace-bar .inv-status{margin-left:auto}
.inventory-note{font-size:14px;color:#65778e;margin:10px 0 16px;line-height:1.5}
.inventory-location-field{display:block;max-width:680px;margin:18px 0 10px;font-size:15px}
.inventory-location-field .location-picker{margin-top:8px}
.inventory-location-field input{width:100%;min-height:46px;font-size:16px}
#inventoryActive .inventory-head{margin:0 0 8px;display:block}
#inventoryActive .inventory-head h4{margin:0 0 6px;font-size:22px}
#invTaskMeta,#invRecordMeta{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.inventory-record{margin:8px 0 14px;color:#65778e;font-size:14px}
.inventory-record summary{cursor:pointer;min-height:28px;width:max-content}
#inventoryActive .inventory-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:720px;margin:12px 0}
#inventoryActive .inventory-metrics>div{width:auto;min-width:0;padding:12px;text-align:left;border:1px solid #d8e4f0;border-radius:10px;background:#f5f8fd}
#inventoryActive .inventory-metrics small{display:block;font-size:14px}
#inventoryActive .inventory-metrics b{display:block;margin-top:4px;font-size:26px}
.inventory-work-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.inventory-result-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 10px;border-bottom:1px solid #d8e4ef;padding-bottom:10px}
.inventory-result-tabs button{min-height:42px;padding:8px 16px;border:1px solid #d2deee;border-radius:9px;background:#fff;color:#315475;font-size:15px;font-weight:700;cursor:pointer}
.inventory-result-tabs button.active{background:#125cda;border-color:#125cda;color:#fff}
.inventory-result-tabs button:focus-visible{outline:3px solid #8eb9ef;outline-offset:2px}
#invResultCount{font-size:14px;margin:8px 0}
#invAssetList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#invAssetList .inv-item{min-width:0;margin:0;padding:12px;gap:12px}
#invAssetList .inv-item strong{font-size:16px;overflow-wrap:anywhere}
#invAssetList .inv-item small{font-size:13px;line-height:1.5}
#invAssetList .inv-state{font-size:13px;flex:0 0 auto}
.inventory-empty{grid-column:1/-1;padding:22px 4px;color:#65778e;font-size:15px}
#inventoryAssetPane .task-filter-field>span{font-size:14px}
#inventoryAssetPane .task-filter-field input,#inventoryAssetPane .task-filter-field select{font-size:16px;min-width:0;width:100%;box-sizing:border-box}
#inventoryAssetPane .inventory-history-table{min-width:0;width:100%;font-size:15px}
#inventoryAssetPane .inventory-history-table th,#inventoryAssetPane .inventory-history-table td{padding:12px 10px}
@media(max-width:1200px){
 .prep-history-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}
 .prep-history-filterbar .prep-history-actions{grid-column:1}.prep-history-count{grid-column:2;align-self:center}
}
@media(max-width:1100px){
 #page-energy .energy-room-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 #page-energy .energy-room-query{grid-column:1/-1}
 #page-energy .energy-room-filter-actions{grid-column:1/-1}
 #inventoryAssetPane .inventory-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 #page-energy .energy-room-panel,#inventoryAssetPane .inventory-workspace{padding:12px}
 #page-energy .energy-room-filter-actions .btn{flex:1}
 .prep-history-filterbar{grid-template-columns:minmax(0,1fr);padding:10px}
 .prep-history-filterbar .prep-history-actions,.prep-history-count{grid-column:1}
 .prep-history-filterbar .prep-history-actions{display:flex}.prep-history-actions .btn{flex:1}
 #inventoryAssetPane .inventory-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}
 #inventoryAssetPane .inventory-history-filters label:first-child{grid-column:1/-1}
 #inventoryAssetPane .inventory-history-filters label:nth-child(2){grid-column:1/-1}
 #inventoryActive .inventory-metrics{gap:6px}
 #inventoryActive .inventory-metrics>div{padding:8px 6px}
 #inventoryActive .inventory-metrics small{font-size:12px}
 #inventoryActive .inventory-metrics b{font-size:22px}
 .inventory-work-actions .btn{flex:1 1 42%;min-height:44px}
 .inventory-result-tabs{display:grid;grid-template-columns:1fr 1fr}
 .inventory-result-tabs button{padding:8px;font-size:14px}
 #invAssetList{grid-template-columns:minmax(0,1fr)}
 #inventoryAssetPane .inventory-history-table thead{display:none}
 #inventoryAssetPane .inventory-history-table,#inventoryAssetPane .inventory-history-table tbody{display:block}
 #inventoryAssetPane .inventory-history-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d8e4ef;border-radius:10px;padding:10px;margin-bottom:10px;gap:8px}
 #inventoryAssetPane .inventory-history-table td{display:block;min-width:0;border:0;padding:0;overflow-wrap:anywhere;white-space:normal}
 #inventoryAssetPane .inventory-history-table td:first-child{grid-column:1/-1;font-size:18px}
 #inventoryAssetPane .inventory-history-table td[data-label]:not(:first-child):not(:last-child)::before{content:attr(data-label);display:block;font-size:12px;color:#65778e;margin-bottom:4px}
 #inventoryAssetPane .inventory-history-table td:last-child{grid-column:1/-1}
 #inventoryAssetPane .inventory-history-table td:last-child .btn{width:100%;min-height:42px}
}

/* V16.9 preparation sheet: all rows expand with the document; horizontal scroll only. */
#demandDetailList .config-prep-expanded{height:auto;max-height:none;overflow-x:auto;overflow-y:hidden}
#demandDetailList .config-prep-expanded table{table-layout:fixed;width:1456px;min-width:1456px;font-size:15px}
#demandDetailList .config-prep-expanded td{min-width:0;width:auto;height:auto;padding:7px 5px;overflow-wrap:anywhere}
#demandDetailList .config-prep-expanded thead th{font-size:14px;padding:8px 5px;white-space:nowrap}
#demandDetailList .config-prep-expanded input,#demandDetailList .config-prep-expanded select{font-size:15px;padding:5px 4px;min-height:36px;width:100%;min-width:0;box-sizing:border-box}
#demandDetailList .config-prep-expanded input[type=checkbox]{width:18px;min-height:18px}
#demandDetailList .config-prep-expanded .config-select-head,#demandDetailList .config-prep-expanded .config-select-cell{width:36px!important;min-width:36px!important}
#demandDetailList .config-prep-expanded td.config-sticky.category{left:36px}
#demandDetailList .config-prep-expanded td.config-sticky.priority{left:126px}
#demandDetailList .config-prep-expanded td.config-sticky.code{left:190px}
#demandDetailList .config-prep-expanded td.config-sticky.name{left:238px}
#demandDetailList .config-prep-expanded thead tr:nth-child(2) th:nth-child(1){left:36px}
#demandDetailList .config-prep-expanded thead tr:nth-child(2) th:nth-child(2){left:126px}
#demandDetailList .config-prep-expanded thead tr:nth-child(2) th:nth-child(3){left:190px}
#demandDetailList .config-prep-expanded thead tr:nth-child(2) th:nth-child(4){left:238px}
#demandDetailList .config-prep-expanded .config-sticky.name b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
#demandDetailList .config-prep-expanded .config-sticky.name b:focus{outline:2px solid #1260d5}
#demandDetailList .config-prep-expanded .config-sheet-action{min-width:0;padding:6px 4px}
#demandDetailList .config-prep-expanded .btn.mini{font-size:13px;padding:7px 5px;white-space:normal;min-width:0}
#demandDetailList .config-prep-expanded .config-source-pill{font-size:12px;white-space:normal}
@media(max-width:760px){#demandDetailList .config-prep-expanded .config-sticky,#demandDetailList .config-prep-expanded thead tr:nth-child(2) th{position:static}}

/* V17.1.1: readable permission audit, bounded columns on every viewport. */
#logsTable .operation-log-table{width:100%;min-width:1080px;table-layout:fixed}
#logsTable .operation-log-table th,#logsTable .operation-log-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;font-size:15px;line-height:1.55;padding:12px 10px}
#logsTable .operation-log-table th:nth-child(1){width:142px}
#logsTable .operation-log-table th:nth-child(2){width:110px}
#logsTable .operation-log-table th:nth-child(3){width:80px}
#logsTable .operation-log-table th:nth-child(4){width:92px}
#logsTable .operation-log-table th:nth-child(5){width:96px}
#logsTable .operation-log-table th:nth-child(9){width:112px}
.log-permission-change{display:grid;gap:6px}
.log-permission-change strong{font-size:15px;color:#244f85}
.log-permission-change details{margin-top:4px}
.log-permission-change summary{cursor:pointer;color:#345e91;padding:6px 0;min-height:32px}
.log-permission-label{display:inline-block;margin:3px 4px 3px 0;padding:2px 6px;background:#eef4fc;border-radius:5px;font-size:14px}


/* invoice-center.css */
.invoice-workspace,.invoice-modal{font-size:16px;color:#203d60}.invoice-toolbar,.invoice-toolbar>div:last-child,.invoice-selection,.invoice-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.invoice-toolbar{justify-content:space-between}.invoice-toolbar h3{margin:0;font-size:22px}.invoice-toolbar p{margin:8px 0}.invoice-filters{display:grid;grid-template-columns:minmax(180px,1fr) 230px auto auto;gap:10px;margin:18px 0}.invoice-filters input,.invoice-filters select,.invoice-form input,.invoice-form select{width:100%;min-width:0;min-height:44px;font-size:16px}.invoice-selection{margin:12px 0;color:#647d9b}.invoice-row{display:flex;align-items:center;gap:14px;padding:16px 10px;border-bottom:1px solid #dbe5f0}.invoice-row>input{width:20px;height:20px;flex:none}.invoice-record{display:flex;flex:1;min-width:0;flex-direction:column;align-items:start;text-align:left;gap:7px;border:0;background:transparent;color:inherit;cursor:pointer;padding:0}.invoice-record strong{font-size:17px;overflow-wrap:anywhere}.invoice-record span,.invoice-record small{font-size:14px;color:#657b97;overflow-wrap:anywhere}.invoice-status{display:flex;flex-direction:column;align-items:end;gap:8px}.invoice-pagination{justify-content:center;margin:20px 0}.invoice-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.invoice-form label{display:flex;flex-direction:column;gap:7px;min-width:0}.invoice-drop{display:flex;flex-direction:column;align-items:center;gap:12px;border:2px dashed #b7cce8;background:#f4f8ff;border-radius:14px;padding:24px 14px;margin-top:20px;text-align:center}.invoice-drop.drag-active{border-color:#165ad4;background:#e4efff}.invoice-drop:focus{outline:2px solid #165ad4;outline-offset:2px}.invoice-files,#ivPrintResult{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.invoice-files button{max-width:100%;white-space:normal;overflow-wrap:anywhere}#ivDrafts>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0}#ivDrafts span{overflow-wrap:anywhere}#ivError{color:#b32626}.invoice-modal .modal-actions{position:sticky;bottom:0;padding-top:14px;background:white}
@media(max-width:760px){.invoice-toolbar>div:last-child{width:100%}.invoice-toolbar .btn{flex:1}.invoice-filters{grid-template-columns:1fr 1fr}.invoice-filters>input{grid-column:1/-1}.invoice-filters>select{grid-column:1/-1}.invoice-form{grid-template-columns:1fr}.invoice-row{gap:8px;flex-wrap:wrap}.invoice-status{width:100%;flex-direction:row;justify-content:space-between;padding-left:28px}.invoice-selection .btn{font-size:14px}.invoice-record strong{font-size:16px}}

.invoice-check{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-height:44px;cursor:pointer;margin:0}.invoice-check input[type="checkbox"]{appearance:auto;width:22px;height:22px;min-height:22px;margin:0;cursor:pointer;accent-color:#245ce4}.invoice-check-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.invoice-toolbar button:disabled{opacity:.5;filter:grayscale(1);cursor:not-allowed;box-shadow:none}
@media(max-width:760px){.invoice-toolbar .btn{font-size:14px;padding:10px 8px;white-space:normal;min-width:0;min-height:44px}}
.invoice-readonly-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:3px 18px;width:100%;padding:12px;border-bottom:1px solid #dbe5f0;border-radius:6px;white-space:normal;line-height:1.45;box-shadow:none}
.invoice-readonly-row:hover,.invoice-readonly-row:focus-visible{background:#f2f7fc;outline:2px solid #477cae;outline-offset:-2px}
.invoice-readonly-row strong,.invoice-readonly-row>span:not(.status-pill),.invoice-readonly-row small{grid-column:1}
.invoice-readonly-row strong{grid-row:1}
.invoice-readonly-row>span:not(.status-pill){grid-row:2}
.invoice-readonly-row small{grid-row:3}
.invoice-readonly-row .status-pill{grid-column:2;grid-row:1;justify-self:end;font-size:13px}
.invoice-readonly-row>b{grid-column:2;grid-row:2 / 4;justify-self:end;align-self:center;font-variant-numeric:tabular-nums}
.invoice-workspace .invoice-filters{margin:12px 0 8px}
.invoice-workspace .invoice-selection{margin:8px 0;font-size:14px}
.invoice-workspace .invoice-toolbar p{font-size:14px;margin:4px 0}
.invoice-readonly-detail>div{display:grid;gap:6px;padding:9px 0;border-bottom:1px solid #e0e8f1}.invoice-readonly-detail span{color:#647d9b}.invoice-readonly-detail strong{overflow-wrap:anywhere}
.iv-draft-rows{display:grid;gap:12px}.iv-draft-rows>section{border:1px solid #d3e5f0;border-radius:10px;padding:12px}.iv-draft-caption{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;margin-bottom:8px;overflow-wrap:anywhere}.iv-draft-caption span{color:#526e88}.iv-draft-fields{display:grid;grid-template-columns:minmax(100px,1.2fr) minmax(90px,.7fr) minmax(120px,.8fr) minmax(140px,1.3fr);gap:10px;margin-top:8px}.iv-draft-fields label{display:grid;gap:6px;min-width:0;font-size:13px}.iv-draft-fields input{width:100%;min-width:0;min-height:44px;font-size:14px}.dy-followup-dialog .dy-invoice-attachments{margin-top:0}.dy-followup-dialog .dy-followup-help{font-size:12px;line-height:1.65}
.page .invoice-filters .btn.primary:hover:not(:disabled){background:var(--mist-primary-end,#426b96);color:#fff}
@media(max-width:760px){.iv-draft-fields{grid-template-columns:1fr 1fr}.iv-draft-fields label:last-child{grid-column:1/-1}}
@media(max-width:760px){.invoice-readonly-row{gap:4px 8px}.invoice-readonly-row .status-pill{grid-column:2;grid-row:1}.invoice-readonly-row>span:not(.status-pill){grid-column:1/-1}.invoice-readonly-row>b{grid-column:2;grid-row:3}}
.invoice-workspace .invoice-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;font-size:12px}.invoice-filters>label{display:grid;gap:6px;min-width:0;flex:1 1 140px}.invoice-filters>label:first-child{flex-basis:220px}.invoice-filters input,.invoice-filters select,.invoice-filters .btn{font-size:12px!important}.invoice-filters fieldset{display:flex;gap:8px;flex-wrap:wrap;border:1px solid #d3e5f0;border-radius:8px;padding:4px 8px;margin:0}.invoice-filters fieldset label{display:inline-flex;align-items:center;gap:5px;min-height:44px;white-space:nowrap}.invoice-filters fieldset input{appearance:auto;width:16px;min-height:16px;margin:0}.invoice-toolbar label{display:grid;gap:4px;font-size:12px}.invoice-toolbar select{font-size:14px;min-height:44px}.iv-list-head,.iv-list-row{display:grid;grid-template-columns:44px minmax(120px,1.5fr) minmax(70px,.7fr) minmax(60px,.7fr) minmax(70px,.8fr) minmax(110px,1.3fr) minmax(70px,.7fr) 64px;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #d3e5f0;font-size:13px}.iv-list-head{background:#eaf3f8;border-radius:8px;font-weight:600}.iv-list-row>span{min-width:0;overflow-wrap:anywhere}.iv-list-row>span:nth-child(7){font-variant-numeric:tabular-nums}.iv-detail-lines{display:grid;gap:12px;margin-top:16px}.iv-detail-lines>div{border:1px solid #d3e5f0;border-radius:10px;padding:12px}
@media(max-width:900px){.iv-list-head{display:none}.iv-list-row{grid-template-columns:44px minmax(0,1fr) 64px;gap:4px 8px}.iv-list-row>.invoice-check,.iv-list-row>span:first-child{grid-row:1/7}.iv-list-row>span:not(:first-child){grid-column:2}.iv-list-row>span[data-label]:before{content:attr(data-label)'：';color:#526e88}.iv-list-row>button{grid-column:3;grid-row:1/7}.invoice-filters>label{flex-basis:calc(50% - 10px)}.invoice-filters>label:first-child{flex-basis:100%}.invoice-filters fieldset{width:100%}}
.dy-followup-dialog.dy-invoice-draft{width:min(1060px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 24px);overflow:auto}
.dy-invoice-draft .iv-draft-fields{grid-template-columns:minmax(260px,1.4fr) minmax(120px,.65fr) minmax(260px,1.2fr);gap:14px 18px}
.dy-invoice-draft .iv-draft-fields label:last-child{grid-column:1/-1}.iv-draft-caption strong{min-width:0;overflow-wrap:anywhere}
.iv-list-head,.iv-list-row{grid-template-columns:44px minmax(100px,1.2fr) 65px 65px 65px minmax(100px,1fr) minmax(170px,1.5fr) 75px minmax(130px,1.1fr) 64px;gap:8px}
.iv-list-row>span:nth-child(7),.iv-list-row>span:nth-child(9){font-variant-numeric:tabular-nums}.iv-void-badge,.iv-review-badge{display:block;font-size:12px;margin-top:4px;color:#526e88}.iv-void-badge{color:#a3313c}
.iv-review-state{display:inline-block;padding:4px 8px;border:1px solid #c4cfdb;border-radius:6px;background:#f0f4f8;color:#455b73;font-size:12px;white-space:nowrap}
.iv-review-state.initial{background:#e8f0ff;border-color:#91b0e2;color:#244f8e}
.iv-review-state.final{background:#e4f4eb;border-color:#8bc4a3;color:#1c633b}
.iv-detail-item{border:1px solid #d3e5f0;border-radius:10px;padding:14px}.iv-item-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.iv-void-fact{display:grid;gap:8px;padding:12px;margin-top:12px;background:#fff4f4;border:1px solid #ecd6d9;border-radius:8px}.iv-void-fact>div{display:grid;gap:5px}.iv-void-fact strong{overflow-wrap:anywhere}.iv-state-help{font-size:13px;line-height:1.65}
.iv-confirm{width:min(820px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}.iv-confirm label{display:grid;gap:8px}.iv-confirm textarea{width:100%;min-height:100px}.iv-confirm p{line-height:1.6;margin:4px 0}.iv-confirm .dy-followup-dialog-head{cursor:default}.iv-print-lines{display:grid;gap:8px}.iv-print-line{display:grid;grid-template-columns:minmax(0,1fr) 100px 120px;gap:12px;padding:10px 0;border-bottom:1px solid #d3e5f0;align-items:center;font-size:14px}.iv-print-line strong{overflow-wrap:anywhere}.iv-print-line input{width:100%;min-width:0;min-height:44px}.iv-print-total{padding:12px;background:#eaf3f8;border-radius:8px;font-weight:700}
.iv-original{max-height:calc(100dvh - 32px);overflow:auto}.invoice-workspace [hidden]{display:none!important}
@media(max-width:1200px){.iv-list-head{display:none}.iv-list-row{grid-template-columns:44px minmax(0,1fr) 64px;gap:4px 8px}.iv-list-row>.invoice-check,.iv-list-row>span:first-child{grid-row:1/9}.iv-list-row>span:not(:first-child){grid-column:2}.iv-list-row>span[data-label]:before{content:attr(data-label)'：';color:#526e88}.iv-list-row>button{grid-column:3;grid-row:1/9}}
@media(max-width:760px){.dy-followup-dialog.dy-invoice-draft{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.dy-invoice-draft .iv-draft-fields{grid-template-columns:minmax(0,1fr)}.iv-print-line{grid-template-columns:minmax(0,1fr) 100px}.iv-print-line>strong{grid-column:1/-1}.iv-list-row{padding:10px 0}}

/* Compact query and a distinct, contiguous batch-action shelf. */
/* Detail hierarchy: purchase context, invoice facts, audit, then originals. */
.modal-invoices .iv-detail-shell{font:14px/1.65 var(--mist-body);color:var(--mist-ink);padding:24px!important}
.iv-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid var(--mist-line)}.iv-detail-hero>div:first-child{min-width:0}.iv-detail-shell .iv-detail-hero h3{font:600 24px/1.5 var(--mist-body);margin:4px 0;overflow-wrap:anywhere}.iv-detail-eyebrow,.iv-detail-caption{font-size:12px;color:var(--mist-muted);margin:0}.iv-detail-total{text-align:right;flex:none;display:grid;gap:4px}.iv-detail-total>span{font-size:12px;color:var(--mist-muted)}.iv-detail-total>strong{font:700 28px/1.4 var(--mist-number);color:var(--mist-primary-end);font-variant-numeric:tabular-nums}
.iv-detail-shell .iv-detail-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;margin:0}.iv-detail-facts>div{min-width:0}.iv-detail-facts dt{font-size:12px;font-weight:400;color:var(--mist-muted)}.iv-detail-facts dd{font-size:14px;font-weight:500;margin:4px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;white-space:pre-wrap}.iv-detail-shell .iv-detail-purchase{grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.4fr);padding:20px 0}.iv-detail-shell .iv-detail-lines{margin:0;gap:16px}.iv-detail-shell .iv-detail-item{padding:20px;border:1px solid var(--mist-line);border-radius:12px;background:var(--mist-control)}
.iv-detail-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.iv-detail-item-head>div{min-width:0}.iv-detail-shell .iv-detail-item-head h4{font:600 17px/1.6 var(--mist-body);font-variant-numeric:tabular-nums;letter-spacing:.02em;margin:2px 0 0;overflow-wrap:anywhere}.iv-detail-amount{flex:none;font:700 22px/1.6 var(--mist-number);color:var(--mist-primary-end);font-variant-numeric:tabular-nums}.iv-detail-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.iv-detail-status{font-size:12px;padding:3px 8px;border-radius:6px;background:var(--mist-blue);color:var(--mist-on-tint)}.iv-detail-status.voided{color:var(--mist-danger);background:var(--mist-danger-bg)}.iv-detail-shell .iv-review-state{font-weight:500}.iv-detail-shell .iv-detail-seller{grid-column:1/-1}.iv-detail-shell .iv-detail-audit{border-top:1px solid var(--mist-line);padding-top:16px;margin-top:16px}.iv-detail-audit dd{font-size:13px}.iv-detail-shell .iv-void-fact{margin-top:16px;background:var(--mist-danger-bg);border-color:var(--mist-line);padding:12px}.iv-detail-shell .iv-void-fact dt{color:var(--mist-danger)}
.iv-detail-originals{margin-top:24px}.iv-detail-shell .iv-detail-originals h4{font:600 16px/1.5 var(--mist-body);margin:0 0 12px}.iv-detail-shell .invoice-files{display:grid;gap:8px;margin:0}.iv-detail-shell .invoice-files .btn{display:flex;align-items:center;gap:12px;text-align:left;padding:10px 12px;min-height:44px;font:13px/1.5 var(--mist-body)}.iv-detail-shell .invoice-files .btn>span:not(.iv-file-format){flex:1;min-width:0;overflow-wrap:anywhere}.iv-detail-shell .invoice-files small{flex:none;font-size:12px;color:var(--mist-muted)}.iv-detail-shell .iv-state-help{margin:16px 0;font-size:12px;line-height:1.7;color:var(--mist-muted)}.iv-detail-shell .modal-actions{margin-top:20px;padding:16px 0 0!important;border-top:1px solid var(--mist-line);position:static!important;background:transparent!important;display:flex;gap:8px;justify-content:flex-end}.iv-detail-shell .btn{font-family:var(--mist-body);min-height:44px}.iv-detail-shell .btn:focus-visible{outline:2px solid var(--mist-focus);outline-offset:2px}
@media(max-width:600px){.modal-invoices .iv-detail-shell{padding:16px!important}.iv-detail-hero{gap:12px;flex-wrap:wrap}.iv-detail-shell .iv-detail-hero h3{font-size:20px}.iv-detail-total{text-align:left}.iv-detail-total>strong{font-size:24px}.iv-detail-shell .iv-detail-purchase{grid-template-columns:1fr 1fr}.iv-detail-order{grid-column:1/-1}.iv-detail-shell .iv-detail-item{padding:16px}.iv-detail-item-head{gap:12px;flex-wrap:wrap}.iv-detail-shell .iv-detail-item-head h4{font-size:16px}.iv-detail-shell .iv-detail-facts{gap:16px}.iv-detail-shell .invoice-files .btn{flex-wrap:wrap}.iv-detail-shell .invoice-files small{display:none}.iv-detail-shell .iv-item-actions{flex-wrap:wrap}}
#page-invoices .invoice-filters{display:flex;gap:8px;align-items:end;flex-wrap:wrap;font-size:12px}
#page-invoices .invoice-filters>label{flex:0 0 auto;gap:5px;min-width:0;margin:0;font-size:12px}
#page-invoices .invoice-filters>.iv-filter-search{flex:1 1 220px;min-width:200px}
#page-invoices .invoice-filters>.iv-filter-date{width:142px}
#page-invoices .invoice-filters>.iv-filter-state{width:calc(6em + 32px)}
#page-invoices .invoice-filters :is(input,select,summary,.btn){min-height:44px;font-size:12px!important;box-sizing:border-box}
#page-invoices .invoice-filters :is(input,select){padding-inline:10px}
.iv-platform-filter{position:relative;flex:0 0 130px;display:grid;gap:5px;min-width:0}
#invoicePlatformMenu summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;border:1px solid #7894b6;border-radius:9px;padding:8px 10px;background:#fff;color:#203d60}
#invoicePlatformMenu summary::-webkit-details-marker{display:none}
#invoicePlatformMenu summary::after{content:'⌄';flex:none}
#invoicePlatformSummary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.iv-platform-options{position:absolute;right:0;top:calc(100% + 6px);width:240px;max-width:calc(100vw - 40px);padding:12px;background:#f8fbff;border:1px solid #a7c1db;border-radius:10px;box-shadow:0 12px 30px #203d6026;z-index:30;display:grid;gap:10px;color:#526e88}
#page-invoices .iv-platform-options fieldset{border:0;padding:0;margin:0;display:grid;gap:0;min-width:0}
#page-invoices .iv-platform-options fieldset label{display:flex;gap:10px;min-height:44px;align-items:center;margin:0;cursor:pointer}
#page-invoices .iv-platform-options input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:#4775a5}
.iv-platform-options>label{display:grid;gap:6px}.iv-platform-options small{font-size:12px}
#page-invoices .iv-batch-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap;border-left:1px solid #d3e5f0;padding-left:12px}
.iv-print-mode{display:grid;gap:4px;font-size:12px;margin:0}.iv-print-mode select{min-height:44px;font-size:13px;min-width:130px}
#page-invoices .invoice-selection{gap:8px;align-items:end;font-size:12px}.invoice-selection>span{align-self:center}
#page-invoices .invoice-selection .btn{min-height:44px;font-size:13px}
.iv-list-head,.iv-list-row{grid-template-columns:44px minmax(100px,1.2fr) 65px 65px 65px minmax(85px,1fr) minmax(150px,1.5fr) 75px 65px minmax(125px,1.1fr) 64px;gap:8px}
.shopping-platform-picker{display:grid;gap:8px;min-width:0}.shopping-platform-picker :is(input,select){width:100%;min-width:0;min-height:44px}.shopping-platform-picker [hidden]{display:none!important}
.shopping-platform-settings textarea{width:min(500px,100%);display:block;min-height:120px;margin-top:8px}.shopping-platform-settings label{font-size:14px}.shopping-platform-settings-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.dy-invoice-draft .iv-draft-fields{grid-template-columns:minmax(260px,1.5fr) minmax(120px,.65fr) minmax(180px,.8fr)}
.dy-invoice-draft [hidden],.iv-file-preview [hidden]{display:none!important}
.dy-invoice-draft form{position:relative}.dy-invoice-draft form[inert]{opacity:.6;pointer-events:none}
.iv-recognition-wait{position:sticky;top:0;z-index:2;display:flex;gap:12px;align-items:center;padding:16px 20px;background:#eaf3fb;border-bottom:1px solid #b9cfe3;color:#203d60;font-size:14px}.iv-recognition-wait small{display:block;margin-top:5px;color:#526e88;font-size:12px}
.iv-wait-spinner{width:22px;height:22px;flex:none;border:3px solid #bbd1e5;border-top-color:#426b96;border-radius:50%;animation:iv-wait 1s linear infinite}
@keyframes iv-wait{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.iv-wait-spinner{animation:none}}
.dy-invoice-draft .dy-invoice-file-chip{display:inline-flex;align-items:center;max-width:100%;gap:4px}
.dy-invoice-draft .dy-invoice-file-chip .iv-attachment-preview{display:flex;align-items:center;gap:8px;padding:4px 6px;min-height:44px;min-width:0;max-width:320px;background:transparent;color:inherit;border:0;cursor:pointer;box-shadow:none;font-size:12px}
.iv-attachment-preview>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.dy-invoice-draft .iv-attachment-preview img{width:32px;height:32px;object-fit:contain;flex:none}
.dy-invoice-draft .dy-invoice-file-chip>button[data-remove]{min-width:44px;min-height:44px;flex:none}
.iv-file-format{display:inline-flex;align-items:center;gap:3px;flex:none;font-size:10px;line-height:1;color:#426b96}.iv-file-format svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}.iv-file-pdf{color:#a3313c}
.iv-paper-choices{border:0;padding:0;margin:0;display:grid;gap:12px}.iv-paper-choices legend{margin-bottom:12px;color:#4c6783;font-size:13px}.iv-paper-choices label{display:flex;align-items:center;gap:12px;min-height:80px;padding:14px;border:1px solid #bfd4e6;border-radius:10px;background:#fff;cursor:pointer}.iv-paper-choices label:has(input:checked){border-color:#4b75a2;background:#edf5fc}.iv-paper-choices input{width:20px;min-height:20px;flex:none;margin:0;accent-color:#4b75a2}.iv-paper-choices span{min-width:0;display:grid;gap:6px}.iv-paper-choices b{font-size:16px;color:#263b50}.iv-paper-choices small{font-size:13px;line-height:1.5;color:#4c6783}.iv-paper-choices input:focus-visible{outline:2px solid #4b75a2;outline-offset:3px}
.iv-file-preview{width:min(1200px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(900px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden}
.iv-file-preview[open]{display:flex;flex-direction:column}.iv-file-preview .dy-followup-dialog-head{cursor:default;flex:none}.iv-file-preview h3{display:flex;gap:10px;align-items:center;min-width:0;overflow-wrap:anywhere;font-size:16px}
.iv-preview-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:12px;gap:10px}.iv-preview-body iframe{width:100%;height:100%;flex:1;border:0;background:#fff}.iv-preview-tools{display:flex;gap:8px;flex:none}.iv-preview-image{flex:1;min-height:0;overflow:auto;display:block;background:#deebf3;border-radius:8px}.iv-preview-image img{display:block;width:auto;max-width:100%;height:auto;max-height:none;margin:auto}
#page-invoices :is(button,summary,input,select):focus-visible,.dy-invoice-draft button:focus-visible{outline:2px solid #426b96;outline-offset:2px}
@media(max-width:1200px){.iv-list-head{display:none}.iv-list-row{grid-template-columns:44px minmax(0,1fr) 64px}.iv-list-row>.invoice-check,.iv-list-row>span:first-child,.iv-list-row>button{grid-row:1/10}}
@media(max-width:760px){#page-invoices .invoice-filters>.iv-filter-search{flex-basis:100%;min-width:0}#page-invoices .invoice-filters>.iv-filter-date{flex:1 1 calc(50% - 8px)}#page-invoices .invoice-filters>.iv-filter-state{flex:1 1 calc(33.33% - 8px);width:auto}#page-invoices .iv-platform-filter{flex:1 1 130px}#page-invoices .invoice-filters :is(input,select,summary){font-size:16px!important}#page-invoices .iv-batch-actions{border:0;border-top:1px solid #d3e5f0;padding:10px 0 0;flex-basis:100%;align-items:end}.dy-invoice-draft .iv-draft-fields{grid-template-columns:minmax(0,1fr)}.iv-file-preview h3{font-size:14px}.iv-file-preview .iv-preview-body{padding:8px}.iv-file-preview .dy-followup-dialog-head{padding:12px}}
/* V18.0.2: single-line headings; submitter belongs next to the action. */
@media(min-width:1201px){
 .iv-list-head,.iv-list-row{grid-template-columns:32px minmax(90px,1.2fr) 84px 84px minmax(80px,1fr) minmax(150px,1.5fr) 88px 64px 118px 60px 44px!important;gap:8px!important}
 .iv-list-head>span,.iv-list-head .ui-sort-button{white-space:nowrap!important;word-break:normal!important}
 body .iv-list-row [data-invoice-open]{min-height:24px!important;min-width:42px!important;padding:2px 6px!important;font-size:12px!important}
}
@media(pointer:coarse){body .iv-list-row [data-invoice-open]{min-height:44px!important;min-width:44px!important;padding:8px 10px!important}}


/* delivery.css */
.delivery-tabs,.delivery-toolbar,.delivery-detail-actions,.delivery-related,.delivery-summary{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.delivery-tabs{margin-bottom:12px}.delivery-tabs button{min-height:44px;padding:10px 18px;border:1px solid #c8d8f0;border-radius:12px;background:#fff;color:#254568;font-size:16px;font-weight:700}.delivery-tabs button.active{background:#1160d9;color:#fff;border-color:#1160d9}
.delivery-toolbar{margin-bottom:10px}.delivery-toolbar input{flex:2;min-width:180px}.delivery-toolbar select{flex:1;min-width:125px}.delivery-toolbar button{flex:none}
.delivery-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.delivery-card{display:flex;flex-direction:column;gap:9px;text-align:left;min-width:0;width:100%;padding:16px;border:1px solid #cfdef1;border-radius:16px;background:#fff;color:#1d3553;font-size:16px;box-shadow:0 3px 10px #13345a08;cursor:pointer}.delivery-card:hover{border-color:#347ddd}.delivery-card-head,.delivery-detail-top,.delivery-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-card-head strong{font-size:19px;overflow-wrap:anywhere}.delivery-card-meta{display:flex;gap:12px}.delivery-card small{font-size:14px;color:#657b99}.delivery-handler{background:#f1f6fe;border-radius:9px;padding:8px 10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.delivery-handler strong{color:#134b8b}.delivery-handler small{font-size:13px;color:#627996}
.delivery-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0}.delivery-summary{margin:12px 0}.delivery-summary>span{background:#eaf2ff;border-radius:10px;padding:10px}.delivery-money{color:#125aca;font-size:24px}
.delivery-form,.delivery-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.delivery-form>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:15px;color:#3f5c7b}.delivery-form input:not([type=checkbox]),.delivery-form select,.delivery-item-row input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px;border:1px solid #cad8ec;border-radius:10px;padding:10px;background:#fff;color:#1c304b}.delivery-modal .full{grid-column:1/-1}.delivery-modal{overflow-wrap:anywhere}.delivery-modal h4{margin:16px 0 8px}.delivery-modal p{margin:8px 0}.delivery-facts>div{min-width:0;padding:6px 0;font-size:15px}.delivery-form .delivery-check,.delivery-item-row .delivery-check{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px}.delivery-check input[type=checkbox]{appearance:auto!important;position:static!important;flex:0 0 22px;width:22px!important;height:22px!important;margin:0;padding:0;min-height:0!important}
.delivery-item-row{display:grid;grid-template-columns:2fr 1.5fr .8fr .8fr auto auto;align-items:end;gap:8px;padding:12px 0;border-bottom:1px solid #dbe5f3}.delivery-item-row label{font-size:14px;min-width:0}.delivery-item-row button{min-height:44px}.delivery-item-row input{margin-top:5px}.delivery-check-item{border:1px solid #d7e3f4;border-radius:12px;padding:12px}.delivery-table-wrap{overflow:auto;max-width:100%}.delivery-table-wrap table{width:100%;font-size:15px;border-collapse:collapse}.delivery-table-wrap td,.delivery-table-wrap th{padding:10px 8px;text-align:left;border-bottom:1px solid #e0e8f4}.delivery-table-wrap small{display:block}.delivery-followups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.delivery-followups>div{border:1px solid #d8e3f4;border-radius:12px;padding:12px}.delivery-followups>div>div:first-child{display:flex;justify-content:space-between;gap:10px}.delivery-followups .delivery-handler{margin-top:8px}.delivery-detail-actions{margin:14px 0}.delivery-detail-actions button{min-height:44px}.delivery-ai{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.delivery-ai pre{white-space:pre-wrap;max-height:250px;overflow:auto;font-size:13px}.delivery-ai details{width:100%}.delivery-ai span{font-size:14px}.delivery-evidence{margin:12px 0}.delivery-photos{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.delivery-photo{height:74px;width:74px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #cbd9ee;border-radius:10px;overflow:hidden;background:#f3f7fc;color:#32577f}.delivery-photo img{display:block;width:100%;height:100%;object-fit:cover}.delivery-notice{background:#eef5ff;padding:10px 12px;border-radius:10px;color:#245588;font-size:15px}.delivery-modal details{margin:14px 0}.delivery-modal details small{display:block;color:#697f9b}.delivery-modal .modal-actions{position:static;flex-wrap:wrap}.delivery-modal [hidden],#page-delivery [hidden],#deliverySettings [hidden]{display:none!important}
@media(max-width:760px){.delivery-list{grid-template-columns:minmax(0,1fr)}.delivery-card{padding:12px}.delivery-tabs{gap:6px}.delivery-tabs button{padding:9px 12px;flex:1 0 auto;font-size:15px}.delivery-toolbar input{flex-basis:100%}.delivery-toolbar select{flex:1 1 38%;width:auto}.delivery-form,.delivery-facts{gap:10px}.delivery-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-item-row .delivery-check{grid-column:1}.delivery-followups{grid-template-columns:minmax(0,1fr)}.delivery-facts .full{overflow-wrap:anywhere}.delivery-detail-actions button{flex:1 1 auto}.delivery-section-heading h4{font-size:17px}.delivery-modal{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.delivery-form input[type=datetime-local]{width:100%;-webkit-appearance:none}.delivery-form label.full{width:auto}.delivery-summary>span{font-size:14px}.delivery-modal .desktop-only{display:none!important}}
@media(max-width:380px){.delivery-form,.delivery-facts{grid-template-columns:minmax(0,1fr)}}
.delivery-form>.full{grid-column:1/-1}.delivery-recognition{width:100%;max-height:280px;overflow:auto}.delivery-recognition small{display:block;color:#61738a}.delivery-recognition p{font-size:14px}
@media(max-width:760px){.delivery-form{grid-template-columns:minmax(0,1fr)}.delivery-modal .modal-actions .btn{flex:1;min-height:46px}.delivery-form input[type=file]{padding:8px;font-size:16px}}

.delivery-form textarea{box-sizing:border-box;width:100%;min-width:0;resize:vertical;border:1px solid #cad8ec;border-radius:10px;padding:10px;font:inherit;font-size:16px}

/* V16.5: compact intake and bounded room matching, scoped to delivery. */
[data-header-actions="delivery"] [hidden]{display:none!important}
#page-delivery .panel{padding:18px 20px}
#page-delivery .delivery-tabs{gap:4px;padding:5px;background:#eaf1fa;border:1px solid #d5e1f0;border-radius:14px;width:fit-content;max-width:100%;box-sizing:border-box}
#page-delivery .delivery-tabs button{background:transparent;border-color:transparent;border-radius:10px;padding:10px 18px}
#page-delivery .delivery-tabs button.active{background:#fff;border-color:#cbdcf4;color:#1255bc;box-shadow:0 2px 8px #194a8812}
#deliveryFilters{gap:10px;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #e4ebf5}
#deliveryFilters input{flex:3 1 300px;margin:0}
#deliveryFilters select{flex:1 1 140px;max-width:240px;margin:0}
#deliveryFilters .btn{min-height:44px}
#deliveryCount{color:#647995;font-size:15px}
.delivery-list>.empty-state{grid-column:1/-1;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px dashed #d6e1f1;background:#f9fbfe;border-radius:12px;font-size:16px}
.delivery-summary:empty{display:none}
.modal.modal-delivery{display:flex;flex-direction:column;width:min(900px,calc(100vw - 32px));max-height:92vh;max-height:92dvh;overflow:hidden}
.modal-delivery .modal-head{flex:0 0 auto;padding:14px 20px;border-bottom:1px solid #e1e8f2}
.modal-delivery .modal-head h3{font-size:20px}
.modal-head-actions{display:flex;align-items:center;gap:8px}.modal-head-actions [hidden]{display:none!important}
.modal-delivery .modal-header-back{min-height:40px;padding:7px 11px}
.modal-header-back{display:none}
@media(max-width:700px){.modal-has-back .modal-header-back:not([hidden]){display:inline-flex;align-items:center}.modal-delivery.modal-has-back #dyBack,.modal-delivery.modal-has-back #dyBackToParcel,.modal-delivery.modal-has-back #rcUnregisteredBack,.modal-delivery.modal-has-back #rcResolveBack{display:none}}
.receipt-camera .rc-input-hint{margin:6px 0 10px;color:#60748b;font-size:12px;line-height:1.5}
.modal-delivery #modalClose{width:44px;min-width:44px;height:44px;border-radius:10px;background:#f2f6fb;font-size:26px}
.modal-delivery #modalBody{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.modal-delivery .delivery-modal{padding:18px 20px;box-sizing:border-box}
.delivery-modal label,#deliverySettings label{margin:0}
.delivery-modal .delivery-form,.delivery-modal .delivery-facts{gap:12px 16px;margin:12px 0}
.delivery-form-section{margin-top:18px;padding-top:14px;border-top:1px solid #e2eaf5}
.delivery-modal .delivery-form-section h4,.delivery-intake h4{margin:0;font-size:17px;color:#244c78}
.delivery-step-note,.delivery-settings-help{color:#647d99;font-size:14px;line-height:1.5}
.delivery-intake{padding:14px 16px;background:#f3f8ff;border:1px solid #d7e5f8;border-radius:12px}
.delivery-intake .delivery-form{margin-bottom:0}
.delivery-intake .delivery-photos:empty{display:none}
.delivery-modal input[type=file]::file-selector-button{min-height:32px;border:0;border-radius:7px;background:#eaf1fd;color:#1558b7;padding:5px 10px;font:inherit;margin-right:10px;cursor:pointer}
.delivery-modal .delivery-ai{gap:8px 12px}
.delivery-modal .delivery-ai>span{flex:1 1 220px;color:#546c8c;line-height:1.5}
.delivery-modal .delivery-text-intake{width:100%;margin:0;padding-top:4px}
.delivery-text-intake summary,.delivery-optional summary{cursor:pointer;color:#245d9f;font-weight:600;font-size:15px;min-height:36px;line-height:36px}
.delivery-text-intake label{margin:8px 0 5px;display:block;font-size:14px}
.delivery-text-intake textarea{width:100%;box-sizing:border-box;margin:0 0 8px;min-height:100px;font:inherit}
.delivery-capture-file{color:#637996;font-size:13px}
.delivery-capture-file input{display:block;margin-top:5px}
.delivery-optional{background:#f8fafd;border-radius:10px;padding:6px 12px}
.delivery-modal .delivery-item-row{grid-template-columns:minmax(135px,1.6fr) minmax(110px,1.2fr) 75px 90px auto auto;align-items:end;gap:10px;padding:12px 0}
.delivery-item-row label{line-height:1.5;font-size:14px}
.delivery-modal .delivery-item-row .delivery-check{font-size:14px}
.delivery-modal .delivery-item-row input{margin:4px 0 0}
.delivery-room-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.delivery-room-field>label{color:#3f5c7b;font-size:15px;line-height:1.5}
#dyOrderForm .delivery-room-field,#dyProfileForm .delivery-room-field{grid-column:auto}
.delivery-room-picker{min-width:0;position:relative}
.delivery-room-options{position:relative;max-height:240px;overflow-y:auto;overscroll-behavior:contain;margin-top:5px;padding:4px;border:1px solid #c6d8ee;background:#fff;border-radius:10px;box-shadow:0 4px 12px #15365e0c}
.delivery-room-options>button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;width:100%;padding:9px 12px;text-align:left;background:#fff;border:0;border-radius:7px;color:#254f7b;cursor:pointer;font-size:16px}
.delivery-room-options>button small{color:#687e97;font-size:13px}
.delivery-room-options>button:hover,.delivery-room-options>button[aria-selected="true"]{background:#edf4ff}
.delivery-room-help{padding:8px 10px;color:#687e97;font-size:13px}
.modal-delivery .delivery-modal .modal-actions{position:sticky;bottom:-18px;z-index:6;flex-wrap:wrap;margin:18px -20px -18px!important;padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px))!important;background:#fff;border-top:1px solid #dce6f3;box-shadow:0 -5px 16px #163a6410}
.modal-delivery .delivery-modal .modal-actions .btn{min-height:46px;min-width:100px}
.delivery-profile-settings{padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid #dce6f3}
#deliverySettings h3{margin:0;font-size:19px;color:#244c78}
.delivery-profile-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.delivery-profile-card{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #d6e2f2;border-radius:12px;background:#fafdff;min-width:0;overflow-wrap:anywhere}
.delivery-profile-card>.btn{align-self:flex-end}
.delivery-profile-card .delivery-card-meta{font-size:14px;flex-wrap:wrap;color:#617896}
.delivery-profile-empty{grid-column:1/-1;background:#f5f8fd;color:#627c97;border-radius:10px;padding:18px;font-size:15px}
.delivery-reward-settings{max-width:1000px}
@media(max-width:760px){
  [data-header-actions="delivery"]{margin-left:auto;justify-content:flex-end;flex-wrap:wrap}
  [data-header-actions="delivery"] .btn{min-height:44px;font-size:15px}
  #page-delivery .panel{padding:12px}
  #page-delivery .delivery-tabs{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #page-delivery .delivery-tabs button{min-width:0;padding:9px 8px}
  #deliveryFilters input{flex-basis:100%;min-width:0;width:100%}
  #deliveryFilters select{flex:1 1 40%;max-width:none;min-width:0}
  #deliveryFilters .btn{flex:1}
  .modal-delivery .modal-head{padding:10px 14px}
  .modal-delivery .delivery-modal{padding:14px!important}
  .delivery-intake{padding:12px}
  .delivery-intake>.delivery-section-heading{align-items:flex-start;flex-wrap:wrap;gap:4px}
  .delivery-modal .delivery-form{grid-template-columns:minmax(0,1fr);gap:12px}
  .delivery-modal .delivery-item-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 0}
  .delivery-modal .delivery-item-row .delivery-check{grid-column:auto}
  .delivery-modal .delivery-form input,.delivery-modal .delivery-form select,.delivery-modal .delivery-item-row input{font-size:16px;min-height:44px}
  .modal-delivery .delivery-modal .modal-actions{bottom:-14px;margin:14px -14px -14px!important;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))!important}
  .modal-delivery .delivery-modal .modal-actions .btn{flex:1;min-width:0}
  .delivery-profile-list{grid-template-columns:minmax(0,1fr)}
  .delivery-profile-settings .delivery-section-heading{flex-wrap:wrap}
}

/* V16.6: user-initiated screenshot paste and removable draft evidence. */
.delivery-file-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.delivery-file-field>label{font-size:15px;color:#3f5c7b;margin:0}
.delivery-paste-zone{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:76px;box-sizing:border-box;padding:12px 16px;border:1.5px dashed #8bb2e9;border-radius:11px;background:#fff;color:#215991;cursor:text}
.delivery-paste-zone strong{font-size:18px;font-weight:700}
.delivery-paste-zone span{font-size:14px;color:#617e9d;line-height:1.5}
.delivery-paste-zone:focus-visible{outline:3px solid #acd0ff;outline-offset:2px;border-color:#2475d4;background:#fafdff}
.delivery-photo-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;min-width:0}
.delivery-photo-tools>span{font-size:14px;color:#617996;line-height:1.5}
.delivery-photo-tools>.btn{min-height:40px;font-size:14px;flex:none}
.delivery-photo-draft{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:88px}
.delivery-photo-draft .delivery-photo{width:88px;height:76px;box-sizing:border-box}
.delivery-photo-remove{min-height:36px;width:100%;padding:5px 9px;border:1px solid #d0ddef;border-radius:8px;color:#486782;background:#fff;font-size:14px;cursor:pointer}
.delivery-photo-remove:hover{border-color:#d7a2a2;background:#fff8f7;color:#993c35}
@media(max-width:760px){.delivery-photo-remove,.delivery-photo-tools>.btn{min-height:44px}.delivery-paste-zone{min-height:80px;padding:12px}.delivery-paste-zone strong{font-size:17px}}
/* V16.7: compact order tabs and camera intake share the existing visual system. */
.purchase-workspace{font-size:16px;color:#173d65}.purchase-upload{background:#f3f8ff;border:1px solid #cfdef2;border-radius:14px;padding:16px;margin-bottom:16px}.purchase-upload>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.purchase-upload strong{font-size:19px}.purchase-upload span{color:#637d9c}.purchase-upload-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.purchase-upload .delivery-paste-zone{padding:14px;font-size:16px}.purchase-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 14px}.purchase-tabs .btn{flex:0 0 auto;text-align:left;max-width:280px;white-space:normal;overflow-wrap:anywhere}.purchase-tabs small{display:block;font-size:13px;font-weight:400;opacity:.85;margin-top:5px}.purchase-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.purchase-form-grid .full{grid-column:1/-1}.purchase-form-grid label,.purchase-item>label{display:flex;flex-direction:column;gap:7px;min-width:0}.purchase-workspace input:not([type=checkbox]),.purchase-workspace select,.purchase-workspace textarea{font-size:17px;min-height:46px;width:100%;max-width:100%}.purchase-required input,.purchase-required select{border:1.5px solid #e04a50!important}.purchase-workspace em{font-size:13px;font-style:normal;font-weight:600;color:#bd2730}.purchase-item{display:grid;grid-template-columns:minmax(160px,2fr) minmax(120px,1.4fr) 100px auto auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #deE7f2}.purchase-item .delivery-check{flex-direction:row;align-items:center;min-height:46px}.purchase-evidence{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.purchase-footer{position:sticky;bottom:-20px;background:#fff;z-index:4;padding:14px 0 0;display:flex;gap:10px;align-items:center;border-top:1px solid #dbe5f2;margin-top:18px}.purchase-footer>span{margin-right:auto;color:#6b8097}.purchase-error{color:#b42318}.purchase-saving #poEditor,.purchase-saving .purchase-upload,.purchase-saving #poTabs{pointer-events:none;opacity:.7}.purchase-upload #poQr:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:14px}.purchase-upload #poQr img{width:170px;height:170px;background:white}.receipt-steps{display:flex;gap:12px;flex-wrap:wrap;font-size:15px;padding-bottom:15px;color:#687f98}.receipt-steps b{color:#075acd}.camera-stage{background:#12243b;border-radius:14px;overflow:hidden;display:flex;justify-content:center}.camera-stage video,.camera-stage img{width:100%;max-height:48vh;object-fit:contain}.camera-stage [hidden]{display:none!important}.camera-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.receipt-match{display:flex!important;flex-direction:column;align-items:start!important;text-align:left!important;width:100%;gap:8px;margin-bottom:10px;white-space:normal!important;padding:16px!important;background:#edf6ff!important}.receipt-camera #rcForm{font-size:17px}.receipt-camera #rcForm>label{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.receipt-camera input,.receipt-camera select{font-size:17px;min-height:46px}.receipt-camera input[type=checkbox]{min-height:20px}.delivery-modal [hidden]{display:none!important}
@media(max-width:760px){.purchase-form-grid{grid-template-columns:1fr}.purchase-item{grid-template-columns:minmax(0,1fr) 88px}.purchase-item>label:first-child,.purchase-item>label:nth-child(2){grid-column:1/-1}.purchase-footer{flex-wrap:wrap;bottom:-14px}.purchase-footer>span{width:100%}.purchase-footer .btn{flex:1;padding:12px 8px}.purchase-upload{padding:12px}.receipt-camera{padding-bottom:10px}.camera-stage video,.camera-stage img{max-height:40vh}}

/* V16.8: one editing surface, a compact upload bar and an always visible footer. */
.modal.modal-purchase{width:min(1240px,calc(100vw - 28px));height:min(840px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}
.modal-purchase #modalBody{display:flex;overflow:hidden}
.modal-purchase #modalBody>.delivery-modal{display:flex;flex:1;min-width:0;min-height:0;padding:12px 18px!important;overflow:hidden}
.purchase-workspace{display:flex;flex-direction:column;width:100%;min-width:0;min-height:0}
.purchase-upload{flex:none;padding:10px 12px;margin-bottom:8px;border-radius:10px}
.purchase-upload strong{font-size:17px}.purchase-upload #poPaste{font-size:14px;outline-offset:3px}
.purchase-upload-actions{margin:0 0 0 auto;gap:8px}.purchase-upload-actions .btn{min-height:40px;padding:7px 12px;font-size:15px}
.purchase-upload #poProgress:empty{display:none}.purchase-upload #poProgress{font-size:14px;margin-top:6px}
.purchase-upload #poQr{max-height:210px;overflow:auto;padding-top:8px}.purchase-upload #poQr img{width:140px;height:140px}
.purchase-tabs{flex:none;padding:0 0 8px;gap:6px}.purchase-tabs .btn{display:flex;align-items:center;gap:8px;padding:7px 10px;max-width:330px;min-height:38px;font-size:15px}
.purchase-tabs small{display:inline;margin:0;white-space:nowrap}
#poEditor{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 4px 8px 0}
.purchase-form-grid{gap:10px 12px;margin:0 0 10px}.purchase-core-grid{grid-template-columns:1fr 1.4fr 1.25fr 1fr}
.purchase-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.purchase-extra-grid>.full{grid-column:auto}
.purchase-form-grid label,.purchase-item>label{gap:4px;margin:0;font-size:15px}
.purchase-workspace input:not([type=checkbox]),.purchase-workspace select,.purchase-workspace textarea{box-sizing:border-box;min-height:42px;margin:0;padding:8px 10px;font-size:16px;line-height:1.35}
.purchase-workspace textarea{resize:vertical}.purchase-workspace .delivery-room-field label{font-size:15px;margin-bottom:4px}
.purchase-workspace .delivery-section-heading{margin:10px 0 0}.purchase-workspace .delivery-section-heading h4{margin:0;font-size:17px}
.purchase-workspace .delivery-section-heading .btn{min-height:36px;font-size:15px;padding:6px 12px}
.purchase-item{grid-template-columns:minmax(160px,2fr) minmax(120px,1.4fr) 90px auto auto;padding:8px 0;gap:10px}
.purchase-item .delivery-check{min-height:42px;font-size:15px}.purchase-item button{min-height:42px;padding:7px 12px}
.purchase-evidence{margin:8px 0;gap:6px}.purchase-evidence .btn{min-height:36px;padding:6px 10px;font-size:14px}
.purchase-photo-entry{display:inline-flex;gap:2px}.purchase-history-note{font-size:14px;color:#657b94}
.purchase-error:empty{display:none}.purchase-error{font-size:15px;margin:8px 0 0}
.purchase-footer{position:static;flex:none;gap:8px;margin:0;padding:10px 0 0;background:#fff}
.purchase-footer .btn{min-height:44px;padding:9px 14px;font-size:16px}.purchase-footer>span{font-size:14px}
@media(max-width:1050px){.purchase-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-upload-actions{margin-left:0}}
@media(max-width:760px){
  .modal-purchase #modalBody>.delivery-modal{padding:10px 12px calc(8px + env(safe-area-inset-bottom,0px))!important}
  .purchase-upload>div:first-child{gap:6px}.purchase-upload-actions{gap:6px;width:100%}.purchase-upload-actions .btn{flex:1;min-height:44px;padding:7px;font-size:14px}
  .purchase-upload{padding:8px}.purchase-core-grid,.purchase-extra-grid{grid-template-columns:minmax(0,1fr)}
  .purchase-item{grid-template-columns:minmax(0,1fr) 88px}.purchase-item>label:first-child,.purchase-item>label:nth-child(2){grid-column:1/-1}
  .purchase-footer{flex-wrap:wrap;padding-top:8px}.purchase-footer>span{width:100%;flex-basis:100%}
  .purchase-footer .btn{flex:1;min-width:0;padding:9px 6px;font-size:15px}.purchase-footer #poClose{flex:0 0 64px}
  .purchase-tabs .btn{min-height:44px;max-width:260px}.purchase-evidence .btn{min-height:44px}
}

/* V16.9: integer quantities, short unit selector and visible rule periods. */
@media(min-width:761px){.purchase-item{grid-template-columns:minmax(150px,2fr) minmax(110px,1.2fr) 76px 86px auto auto}}
.delivery-rule-history{margin:16px 0 24px}.delivery-rule-history table{min-width:790px;width:100%;font-size:16px}.delivery-rule-history th,.delivery-rule-history td{padding:12px 10px;white-space:nowrap}.delivery-rule-history .rule-current{background:#eef8f1}.delivery-rule-history .rule-scheduled{background:#f2f6ff}.delivery-paste-zone.drag-active{border-color:#145ed8;background:#e9f2ff}.delivery-legacy{margin:12px 0;color:#637489}

/* V17.1.1: tracking-first shipment cards and detail hierarchy. */
#deliveryList{gap:12px;align-items:stretch}
.dy-shipment{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #dce5f1;border-radius:16px;box-shadow:0 3px 12px #173a6810;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.dy-shipment:hover{border-color:#91b7ef;box-shadow:0 5px 16px #245da71a}
.dy-shipment-main{display:block;width:100%;min-width:0;padding:16px 18px 8px;text-align:left;border:0;border-radius:0;background:transparent;color:#183456;cursor:pointer;font:inherit}
.dy-identity{display:flex;align-items:flex-start;gap:10px;min-width:0}
.dy-type{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;font-size:16px;font-weight:750;background:#eaf1fc;color:#245ebd}
.dy-type-guest,.dy-type-takeaway{background:#fff1df;color:#a7660c}.dy-type-company{background:#eaf0ff;color:#335dcc}
.dy-tracking{flex:1;min-width:0;overflow-wrap:anywhere;font-size:20px;line-height:1.35;font-weight:750;letter-spacing:.2px;font-variant-numeric:tabular-nums}
.dy-stage{flex:0 0 auto;max-width:112px;white-space:normal;font-size:13px;font-weight:650;line-height:1.35;padding:5px 9px;border-radius:7px;background:#edf2f8;color:#526780}
.dy-stage-expected{background:#fff3d9;color:#965f00}.dy-stage-received,.dy-stage-delivering{background:#eaf1ff;color:#205dc0}.dy-stage-handoff{background:#f0eaff;color:#7046ae}.dy-stage-completed{background:#e8f6ef;color:#20724c}.dy-stage-exception{background:#ffeded;color:#bb3636}.dy-stage-cancelled{background:#f1f3f6;color:#77808f}
.dy-destination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:14px;color:#60748e}.dy-destination b{font-size:17px;color:#284f79}.dy-item-title{margin:7px 0 0;font-size:14px;line-height:1.5;color:#56708f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.dy-arrival{font-size:12px;color:#7a8ba0;margin-top:7px;min-height:0}.dy-arrival:empty{display:none}
.dy-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:auto;padding:9px 18px 12px}.dy-card-actions .btn{font-size:14px;min-height:36px;padding:7px 12px;white-space:normal}.dy-detail-link{margin-right:auto;border:0;background:transparent;color:#577391;font-size:13px;padding:8px 0;cursor:pointer}
.dy-shipment button:focus-visible{outline:3px solid #70a6f6;outline-offset:-3px}
.dy-detail-hero{padding:16px;background:linear-gradient(120deg,#f0f6ff,#f8fbff);border:1px solid #dce8fa;border-radius:14px;margin-bottom:16px}.dy-detail-hero .dy-identity>div{flex:1;min-width:0}.dy-detail-hero small{display:block;color:#6e829b;font-size:12px;margin-bottom:3px}.dy-detail-hero strong{display:block;font-size:24px;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.dy-detail-hero p{margin:12px 0 0;color:#5e738c;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.delivery-modal .delivery-facts{padding:14px;background:#fafcff;border:1px solid #e4ecf5;border-radius:12px;font-size:14px}.delivery-modal .delivery-facts b{color:#284969}.dy-targets{display:grid;gap:10px}.dy-targets button{display:flex;justify-content:space-between;gap:12px;white-space:normal}.dy-targets strong{overflow-wrap:anywhere}.dy-targets span{flex-shrink:0;color:#647b97}.dy-action-heading strong,.dy-action-heading span{display:block;overflow-wrap:anywhere}.dy-action-heading strong{font-size:20px;color:#1d426f}.dy-action-heading span{font-size:14px;color:#657d98;margin-top:5px}
@media(max-width:760px){#page-delivery .panel{padding:12px}#deliveryFilters{display:grid;grid-template-columns:1fr 1fr;gap:8px}#deliveryFilters input{grid-column:1/-1;width:100%;box-sizing:border-box}#deliveryFilters select{width:100%;max-width:none;min-width:0}#deliveryFilters .btn{width:100%;min-width:0;min-height:40px}.dy-shipment-main{padding:13px 12px 5px}.dy-identity{gap:8px}.dy-tracking{font-size:18px}.dy-type{flex-basis:26px;width:26px;height:26px;border-radius:7px;font-size:14px}.dy-stage{font-size:12px;padding:4px 6px;max-width:88px}.dy-destination{margin-top:8px;gap:8px;font-size:13px}.dy-destination b{font-size:15px}.dy-item-title{font-size:13px;margin-top:5px;-webkit-line-clamp:1}.dy-arrival{font-size:12px}.dy-card-actions{padding:6px 12px 10px;gap:7px;flex-wrap:wrap}.dy-card-actions .btn{min-height:38px;font-size:13px;padding:7px 10px}.dy-detail-hero{padding:12px}.dy-detail-hero strong{font-size:20px}.dy-detail-hero p{font-size:14px}.dy-detail-link{font-size:12px}}

.dy-tracking{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* V17.1.1: compact receipt controls; one native scroll owner. */
.rc-capture-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.rc-capture-bar span{font-size:13px;color:#657d98}
.receipt-camera #rcPhoto{display:block;width:100%;height:200px;object-fit:contain;background:#f3f6fa;border:1px solid #dce5ef;border-radius:12px;margin:0 0 12px}.receipt-camera #rcStatus{font-size:14px;line-height:1.5}
.receipt-camera form label{display:flex;flex-direction:column!important;align-items:stretch!important;gap:6px;margin:12px 0}.receipt-camera form input,.receipt-camera form select{width:100%;box-sizing:border-box}
.rc-force{padding:14px;background:#fff7f3;border:1px solid #e9b7a5;border-radius:12px}.rc-force p{font-size:14px;line-height:1.6}.rc-force button{white-space:normal;line-height:1.5}
.dy-card-reward{display:flex;align-items:center;gap:6px;margin:0 16px 8px;color:#916128;font-size:13px}.dy-card-reward small{color:#789; margin-left:auto}.delivery-summary{display:flex;flex-wrap:wrap;gap:8px 16px;padding:8px 0;font-size:13px}.delivery-summary b{color:#1a60ac}
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 html.has-modal,html.has-modal body{overflow:hidden!important;overscroll-behavior:none}
 #modal.modal-delivery:not(.modal-purchase){transform:none!important;overflow:hidden!important;display:flex;flex-direction:column}
 #modal.modal-delivery:not(.modal-purchase)>#modalBody{flex:1 1 0;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:contain;overflow-anchor:none}
 #modal.modal-delivery:not(.modal-purchase)>#modalBody>.delivery-modal{height:auto!important;max-height:none!important;min-height:0;flex:none!important;overflow:visible!important}
 #modal.modal-delivery:not(.modal-purchase) .modal-actions{position:static!important;margin:12px 0 0!important;padding:12px 0 max(12px,env(safe-area-inset-bottom))!important}
 .rc-capture-bar .btn{width:100%}.rc-capture-bar span{display:none}.receipt-camera #rcPhoto{height:168px}
}

/* V17.1.1 personal reward ledger and three-point receipt inspection. */
.delivery-list.dy-rewards-list{display:flex;flex-direction:column;gap:0}
.dy-reward-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--text,#23466b)}
.dy-reward-table caption{text-align:left;font-size:13px;padding:4px 0 14px;color:var(--muted,#58708a)}
.dy-reward-table th,.dy-reward-table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line,#dce6f2);overflow-wrap:anywhere;vertical-align:middle;font-size:14px}
.dy-reward-table th{background:var(--surface-soft,#edf4fa);font-weight:700;white-space:nowrap}
.dy-reward-table th:last-child{width:19%}.dy-reward-table tbody tr:hover{background:var(--surface-soft,#edf4fa)}
.dy-reward-link{border:0;background:transparent;color:var(--primary,#356495);font:inherit;font-weight:600;min-height:44px;padding:4px 0;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer;overflow-wrap:anywhere}
.dy-reward-link:focus-visible{outline:3px solid var(--primary,#356495);outline-offset:3px;border-radius:4px}.dy-reward-link:active{opacity:.7}
.dy-reward-table .dy-reward-money{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--primary,#356495)}
@media(max-width:900px){
 .dy-reward-table,.dy-reward-table tbody{display:block;width:100%;min-width:0}.dy-reward-table caption{display:block}
 .dy-reward-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .dy-reward-table tr{display:block;border:1px solid var(--line,#dce6f2);border-radius:12px;padding:8px 12px;margin-bottom:12px;background:var(--surface,#fff)}
 .dy-reward-table td{display:grid;grid-template-columns:6em minmax(0,1fr);gap:12px;padding:7px 0;border:0;align-items:center;min-height:30px;white-space:normal;min-width:0}
 .dy-reward-table td::before{content:attr(data-label);font-size:13px;font-weight:400;color:var(--muted,#58708a)}
}
.dy-reward-row{display:flex;align-items:center;gap:16px;width:100%;text-align:left;border:0;border-bottom:1px solid #dce6f2;background:white;padding:13px 8px;color:#23466b;font:inherit;cursor:pointer}
.dy-reward-row strong{flex:0 1 260px;overflow-wrap:anywhere}.dy-reward-row time{font-size:13px;white-space:nowrap}.dy-reward-row b{color:#1c63ba;white-space:nowrap}.dy-reward-row small{color:#8b653b;flex:1}
.dy-tracking-todo{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px;background:#fff6df;border-radius:10px;margin:12px 0}
.dy-inspection-row{display:flex;align-items:center;gap:24px;border:1px solid #dce6f2;border-radius:10px;padding:12px 16px;margin:12px 0}.dy-inspection-row legend{font-weight:600;padding:0 5px}.dy-inspection-row label{display:flex;align-items:center;gap:8px;min-height:36px}.dy-inspection-row input{width:20px;height:20px}.dy-inspection-items{background:#f3f7fc;padding:8px 14px;border-radius:10px}.dy-inspection-items p{margin:6px 0}.dy-inspection-done{padding:26px 10px;text-align:center}.dy-inspection-done strong{font-size:22px;color:#257858}
@media(max-width:650px){.dy-reward-row{gap:8px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;font-size:13px}.dy-reward-row strong{font-size:13px}.dy-reward-row time{font-size:11px;white-space:normal;max-width:86px}.dy-reward-row small{grid-column:1/-1;font-size:12px}.dy-inspection-row{margin:10px 0;padding:8px 12px}.dy-inspection-row legend{font-size:15px}}
.delivery-detail-actions .btn,.delivery-modal .modal-actions .btn{white-space:normal;overflow-wrap:anywhere;line-height:1.35;min-height:44px}
.delivery-modal .delivery-detail-actions{padding:10px 0;gap:10px}.delivery-detail-actions .primary{box-shadow:0 3px 10px #165dcc24}
.delivery-detail-actions [data-parcel-action="deliver"]::before{content:'✓ ';font-weight:900}
.dy-resolution-options{display:grid;gap:10px;margin:12px 0}.dy-resolution-options>label{display:flex;gap:10px;align-items:center;padding:14px;background:#f4f8ff;border:1px solid #cbdcf3;border-radius:12px}.dy-resolution-options strong,.dy-resolution-options small{display:block}.dy-resolution-options small{color:#607796;font-size:12px;margin-top:5px}.dy-resolution-options input{width:20px;height:20px;flex-shrink:0}
.delivery-summary .dy-reward-total{color:#1358c3;background:#edf4ff;border-radius:7px;padding:6px 10px}
@media(max-width:760px){#page-delivery .delivery-tabs{display:grid!important;grid-template-columns:1.2fr 1fr .75fr!important;width:100%;gap:3px}#page-delivery .delivery-tabs button{font-size:15px;padding:10px 4px;white-space:nowrap;min-width:0}.delivery-modal .modal-actions .btn{flex:1 1 0;min-width:0;font-size:15px}.delivery-summary{gap:6px 12px}.delivery-summary>span{white-space:nowrap}}
.rc-match{display:flex;flex-direction:column;gap:5px;padding:12px;background:#edf5ff;border:1px solid #cddff6;border-radius:10px;font-size:14px}.rc-match span{color:#587395}.rc-receive-actions{display:flex;gap:10px;flex-wrap:wrap}.rc-receive-actions .btn{flex:1 1 120px;white-space:normal;line-height:1.35}.receipt-camera #rcPhoto{cursor:zoom-in}

/* Unified parcel detail: one selected parcel, one set of permitted actions. */
.dy-parcel-switch{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.dy-parcel-switch .btn{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}.dy-parcel-switch small{font-weight:400}.dy-current-step{border:1px solid #cbdcfa;border-radius:12px;background:#f3f7ff;padding:14px;margin:12px 0}.dy-current-step>.delivery-detail-actions{margin:10px 0 0}.dy-current-step>.delivery-detail-actions:empty{display:none}.dy-order-context{border:1px solid #dae4f2;border-radius:12px;margin:14px 0;padding:12px}.dy-order-context>summary{cursor:pointer;font-weight:600;color:#264c80;overflow-wrap:anywhere}.dy-order-context>.delivery-facts{margin-top:12px}
@media(max-width:760px){.dy-current-step{padding:12px}.dy-current-step .btn{min-height:44px;white-space:normal;flex:1}.dy-parcel-switch .btn{flex:1 1 130px}.dy-order-context{padding:10px}}

/* V17.1.25: a single evidence surface and distinct order sections. */
.dy-order-context{padding:0;overflow:hidden;background:#fff;box-shadow:0 3px 12px #20466f0b}
.dy-order-context.dy-order-link-only{padding:10px 14px}
.rc-match-empty{margin:10px 0;padding:10px 12px;border:1px solid #bcd5ed;border-radius:10px;background:#eef6ff;color:#234f79;line-height:1.5}
.dy-order-context>summary{padding:14px 16px;background:#f1f6fc;border-bottom:1px solid #dae4f2;font-size:17px}
.dy-order-context>.delivery-facts,.dy-order-context>.delivery-table-wrap,.dy-order-context>.delivery-followups,.dy-order-context>.delivery-photos,.dy-order-context>p{margin:12px 16px}
.dy-order-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #dce6f1;background:#f9fbfe}
.dy-order-actions .btn{min-height:42px;padding:8px 15px;font-size:15px;white-space:normal}
.dy-order-actions span{color:#657d98;font-size:13px}
.purchase-upload-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.purchase-upload-head>div:first-child{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.purchase-upload-head small{color:#5e7897;font-size:13px}
.purchase-upload-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0}
#poPaste{display:inline-flex;align-items:center;min-height:40px;padding:0 10px;border:1px dashed #9eb8da;border-radius:8px;background:#fff;color:#3d608a;cursor:default}
#poEvidence:empty{display:none}.purchase-evidence{display:flex;align-items:flex-start;flex-wrap:wrap;gap:9px;margin:10px 0 2px}
.purchase-photo-entry{position:relative;display:flex;flex-direction:column;align-items:center;width:82px;margin:0;padding:4px;background:#fff;border:1px solid #cfdced;border-radius:9px;box-shadow:0 2px 5px #173a6810}
.purchase-photo-thumb{display:flex;align-items:center;justify-content:center;width:74px;height:68px;padding:0;border:0;background:#edf3f9;border-radius:6px;overflow:hidden;cursor:zoom-in;color:#365c87}
.purchase-photo-thumb img{width:100%;height:100%;object-fit:cover}.purchase-photo-entry figcaption{width:100%;padding:3px 0 0;text-align:center;font-size:12px;color:#5b7491;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.purchase-photo-remove{position:absolute;top:-8px;right:-8px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #e0b3b3;border-radius:50%;background:#fff;color:#9c3e3e;font-size:18px;cursor:pointer}
.purchase-panel{margin:2px 0 14px;padding:15px 16px;background:#fff;border:1px solid #d6e3f1;border-radius:12px;box-shadow:0 3px 10px #173a6808}
.purchase-items-panel{background:#fbfdff}.purchase-panel-head{display:flex;align-items:center;gap:10px;margin:0 0 13px}
.purchase-panel-head>div{min-width:0;flex:1}.purchase-panel-head h4{margin:0;font-size:17px;color:#1d416c}.purchase-panel-head small{display:block;margin-top:2px;color:#6b7f95;font-size:12px}
.purchase-panel-number{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#dceaff;color:#255b9c;font-size:14px;font-weight:800}
.purchase-panel-head .btn{min-height:38px;white-space:nowrap}.purchase-panel .purchase-form-grid:last-child{margin-bottom:0}
.dy-guest-evidence{margin:10px 0 15px;padding:13px;background:#f2f7fd;border:1px solid #cedff1;border-radius:11px}
.dy-guest-evidence-head,.dy-guest-upload-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.dy-guest-evidence-head{margin-bottom:10px}.dy-guest-evidence-head strong{color:#234d78}.dy-guest-evidence-head span{font-size:13px;color:#647f9e}
.dy-guest-upload-actions{margin-bottom:10px}.dy-guest-upload-actions .btn{min-height:40px}.dy-guest-evidence .delivery-photo-draft{margin:8px 0}
.dy-guest-qr:not([hidden]){display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;padding:10px;border:1px solid #d5e3f0;background:#fff;border-radius:9px}.dy-guest-qr>img{width:126px;height:126px;object-fit:contain}
.dy-guest-qr-photos{display:flex;gap:9px;flex-wrap:wrap}.dy-guest-qr-photo{display:flex;flex-direction:column;gap:4px;width:78px;margin:0}.dy-guest-qr-photo button:first-child{width:78px;height:70px;border:1px solid #c9d9e9;border-radius:7px;background:#f1f5fa;padding:0;overflow:hidden;cursor:zoom-in}.dy-guest-qr-photo img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.dy-order-context{padding:0}.dy-order-context>summary{padding:12px;font-size:16px}.dy-order-context>.delivery-facts,.dy-order-context>.delivery-table-wrap,.dy-order-context>.delivery-followups,.dy-order-context>.delivery-photos,.dy-order-context>p{margin:10px 12px}.dy-order-actions{padding:10px 12px}.dy-order-actions .btn{flex:1 1 125px}.purchase-upload-head,.purchase-upload-head>div:first-child{align-items:flex-start}.purchase-upload-actions{width:100%}.purchase-upload-actions .btn{flex:1 1 120px}.purchase-panel{padding:12px}.purchase-panel-head{flex-wrap:wrap}.purchase-panel-head .btn{margin-left:37px}.dy-guest-qr>img{width:104px;height:104px}}

/* V17.1.25: desktop lookup notice, bottom total, field-device work counts. */
.delivery-desktop-note{margin:4px 0 14px;padding:10px 13px;border-left:3px solid #4c80ba;border-radius:8px;background:#eef5fc;color:#345a7d;font-size:14px;line-height:1.5}
.delivery-footer-count{display:flex;justify-content:flex-end;margin:14px 1px 0;color:#637b97;font-size:14px}
.delivery-field-view.delivery-parcel-view .delivery-footer-count{display:none}
.delivery-stage-counts{display:flex;gap:9px;flex-wrap:wrap;margin:5px 0 12px}
.delivery-stage-counts span{display:inline-flex;align-items:center;gap:4px;padding:7px 11px;border-radius:9px;background:#eaf2fd;color:#315b8b;font-size:14px}
.delivery-stage-counts b{font-size:16px;font-variant-numeric:tabular-nums;color:#1956a4}
@media(max-width:760px){.delivery-parcel-view .delivery-footer-count{display:none}.delivery-stage-counts{gap:7px}.delivery-stage-counts span{flex:1;justify-content:center;white-space:nowrap;padding:8px 7px}}

/* Photo routing separates uncertain company matches from guest intake. */
.receipt-camera .rc-category{display:grid;gap:8px;margin:14px 0;padding:12px;border:1px solid #cbdcf3;border-radius:12px;background:#f7faff;min-width:0}
.receipt-camera .rc-category legend{padding:0 5px;color:#234d78;font-weight:700}
.receipt-camera .rc-category label,.receipt-camera .rc-manual-confirm{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px;margin:0;padding:10px 12px;min-height:44px;border:1px solid #d4e2f1;border-radius:9px;background:#fff;line-height:1.45}
.receipt-camera .rc-category input[type=radio],.receipt-camera .rc-manual-confirm input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:none;margin:0;accent-color:#476fa3}
.receipt-camera .rc-category label:has(input:checked){border-color:#527db2;background:#eaf3ff}
.rc-candidates{display:grid;gap:10px;margin:12px 0}.rc-candidates>strong{color:#244b78}
.rc-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #cfdef0;border-radius:11px;background:#f5f9fe}
.rc-candidate>div{display:grid;gap:7px;min-width:0;line-height:1.4}.rc-candidate span{color:#587395;font-size:14px;overflow-wrap:anywhere}
.rc-candidate .btn,.rc-candidates>.btn,.rc-receive-actions .btn{min-height:44px}
.rc-candidates .receipt-match{display:grid;justify-items:start;gap:5px;text-align:left;min-height:54px}
@media(max-width:540px){.rc-candidate{align-items:stretch;flex-direction:column}.rc-candidate .btn{width:100%}}

/* Keep the phone-upload code in the evidence toolbar, leaving the order editor visible. */
.purchase-upload-head{min-height:44px}
.purchase-upload-head #poQr:not([hidden]){display:flex;align-items:center;flex-wrap:nowrap;flex:0 0 auto;gap:9px;max-height:none;overflow:visible;padding:0;margin:0 4px;border:0}
.purchase-upload-head #poQr img{display:block;width:88px;height:88px;flex:none;object-fit:contain;padding:3px;border:1px solid #d6e2ef;border-radius:7px;background:#fff}
.purchase-qr-caption{width:94px;min-width:0;line-height:1.3}
.purchase-qr-caption strong{display:block;font-size:13px;color:#285480}
.purchase-qr-caption p{margin:4px 0 0;font-size:12px;color:#637d9c;overflow-wrap:anywhere}
@media(max-width:900px){.purchase-upload-head #poQr:not([hidden]){order:3}.purchase-upload-head .purchase-upload-actions{order:2}}

/* Receive and delivery are separate steps; destination and recipient share prominence. */
.dy-destination{align-items:baseline;gap:6px 18px}
.dy-destination b,.dy-destination span{color:#284f79;font-size:17px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.dy-card-actions .dy-action-deliver,.delivery-modal .dy-action-deliver{border-color:#1d704a;background:#1d704a;color:#fff;box-shadow:0 3px 10px #135a3826}
.dy-card-actions .dy-action-deliver:hover,.delivery-modal .dy-action-deliver:hover{border-color:#155b3b;background:#155b3b;color:#fff}
.dy-detail-hero .dy-hero-route{display:flex;align-items:end;gap:14px 22px;flex-wrap:wrap;margin-top:16px;padding-top:13px;border-top:1px solid #d7e4f2}
.dy-hero-route>div{flex:1 1 180px;min-width:0}
.dy-hero-route small{margin-bottom:4px!important;font-size:13px!important}
.dy-detail-hero .dy-hero-route strong{font-size:18px;line-height:1.4;color:#244f77}
.dy-hero-tracking{flex:0 0 auto;min-height:42px;white-space:normal}
@media(max-width:760px){.dy-destination b,.dy-destination span{font-size:16px}.dy-hero-route>div{flex-basis:120px}.dy-detail-hero .dy-hero-route strong{font-size:16px}.dy-hero-tracking{width:100%;min-height:44px}}
.dy-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:17px 0 0;padding:0;list-style:none;counter-reset:none}
.dy-progress-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.dy-progress li{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;min-width:0;text-align:center;font-size:12px;line-height:1.3;color:#8293a6}
.dy-progress li+li:before{content:"";position:absolute;right:calc(50% + 17px);top:13px;width:calc(100% - 30px);height:2px;background:#d8e0ea}
.dy-progress li.is-done,.dy-progress li.is-current{color:#2b5e91;font-weight:700}
.dy-progress li.is-reached:before{background:#5587b8}
.dy-progress-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8edf3;color:#76869a;font-size:13px;font-weight:700}
.dy-progress .is-done .dy-progress-dot{background:#3e73a8;color:#fff;box-shadow:0 0 0 3px #dbeafa}
.dy-progress .is-current .dy-progress-dot{background:#3e73a8;color:#fff;box-shadow:0 0 0 3px #dbeafa}
.dy-progress li{min-height:86px}
.dy-progress-label{margin-top:21px}
.dy-progress-handler{display:block;max-width:100%;color:#4e6884;font-size:11px;font-weight:500;overflow-wrap:anywhere}
.dy-progress-time{position:absolute;top:31px;left:-50%;width:100%;min-width:0;white-space:nowrap;color:#405977;font-size:11px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}
.delivery-form>.modal-actions{grid-column:1/-1;display:flex;justify-content:flex-end;width:auto;min-width:0}
.purchase-tab-count{color:#b42318;font-weight:800}
.purchase-tabs .btn.primary .purchase-tab-count{display:inline-block;padding:1px 5px;border-radius:5px;background:#fff;color:#a91c23;line-height:1.2}
.dy-followup-list{grid-template-columns:minmax(0,1fr)!important;gap:0!important;border:1px solid #dce5f1;border-radius:14px;overflow:hidden;background:#fff}
.dy-followup-row+.dy-followup-row{border-top:1px solid #e3ebf4}
.dy-followup-row>button{display:flex;align-items:center;gap:16px;width:100%;min-height:72px;padding:12px 16px;border:0;background:#fff;text-align:left;color:#254568;font:inherit;cursor:pointer}
.dy-followup-row>button:hover,.dy-followup-row>button:focus-visible{background:#f0f6fd;outline:none}
.dy-followup-main{flex:2;min-width:0}.dy-followup-place{flex:1;min-width:0}.dy-followup-row small{display:block;color:#667f99;font-size:13px;margin-top:3px}.dy-followup-row strong{overflow-wrap:anywhere}.dy-followup-open{font-size:13px;color:#3269a7;white-space:nowrap}
@media(max-width:760px){.dy-progress li{min-height:86px}.dy-progress-time{font-size:10px}.dy-progress-time-prefix{display:none}.dy-followup-row>button{flex-wrap:wrap;gap:8px 12px;min-height:80px;padding:12px}.dy-followup-main{flex:1 1 calc(100% - 62px)}.dy-followup-place{flex:1 1 55%}.dy-followup-open{margin-left:auto}}
.dy-hero-tools{display:flex;flex:0 1 auto!important;gap:8px;align-items:center;flex-wrap:wrap}
.dy-hero-tools:empty{display:none}
.dy-hero-tools .btn{min-height:42px;white-space:nowrap}
.dy-order-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#f1f6fc;border-bottom:1px solid #dae4f2}
.dy-order-heading h4{margin:0;color:#264c80;font-size:17px;line-height:1.4}
.dy-order-heading .btn{flex:none;min-height:40px}
.dy-order-context .dy-order-facts,.dy-order-context>.delivery-table-wrap,.dy-order-context>.delivery-evidence,.dy-order-context>.delivery-followups,.dy-order-context>p{margin:12px 16px}
.dy-order-facts{gap:5px 16px}
.dy-order-facts>div{padding:4px 0;color:#526b85}
.dy-order-facts b{color:#274b72;overflow-wrap:anywhere}
.dy-order-context .delivery-table-wrap th{background:#eaf3fa;color:#2c4e6f}
.dy-order-context .delivery-table-wrap td{vertical-align:top}
.dy-order-context .delivery-table-wrap table{min-width:0!important;table-layout:fixed}
.dy-order-context .delivery-table-wrap th,.dy-order-context .delivery-table-wrap td{white-space:normal;overflow-wrap:anywhere}
.dy-order-context .delivery-table-wrap th:first-child{width:62%}
.dy-parcel-facts{padding:10px 12px;background:#f7fafd;border:1px solid #e0e8f1;border-radius:10px}
.dy-parcel-facts>div{padding:2px 0}
.dy-parcel-items{margin:12px 0}
.dy-parcel-items h4{font-size:16px;color:#264c80}
.delivery-required{font-size:13px;font-style:normal;color:#bc2f38;font-weight:700}
@media(max-width:760px){.dy-progress{margin-top:14px}.dy-progress li{font-size:11px}.dy-hero-tools{flex-basis:100%!important}.dy-hero-tools .btn{flex:1 1 135px;min-height:44px}.dy-order-heading{padding:11px 12px;align-items:flex-start}.dy-order-heading h4{font-size:16px}.dy-order-heading .btn{font-size:13px;padding:7px 9px;min-height:38px}.dy-order-context .dy-order-facts,.dy-order-context>.delivery-table-wrap,.dy-order-context>.delivery-evidence,.dy-order-context>.delivery-followups,.dy-order-context>p{margin:10px 12px}.delivery-modal .dy-parcel-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}}
.dy-matching-settings{margin-bottom:22px;padding:16px;border:1px solid #ccdfef;border-radius:12px;background:#f5f9fd}
.dy-matching-settings h3{margin:0 0 5px}
.dy-matching-settings form{display:grid;gap:7px;max-width:500px;margin-top:12px}
.dy-matching-settings label{color:#305779;font-size:15px;font-weight:700}
.dy-matching-controls{display:flex;gap:9px;align-items:center}
.dy-matching-controls input{width:120px;min-height:44px;margin:0;font-size:16px}
.dy-matching-settings small{color:#5d7690;font-size:13px;line-height:1.5}
/* Detail follows the physical handoff: shipment, evidence, quantities, purchase source. */
.dy-detail-journey,.dy-parcel-items{margin:18px 0}
.dy-detail-journey>h4,.dy-parcel-items>h4{margin:0 0 9px;color:#244868;font-size:17px;line-height:1.4}
.dy-journey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.dy-journey-stage{padding:13px 14px;border:1px solid #d7e4ee;border-left:4px solid #5984a8;border-radius:10px;background:#fff;min-width:0}
.dy-journey-heading{display:flex;align-items:baseline;justify-content:space-between;gap:9px;border-bottom:1px solid #e6edf3;padding-bottom:8px}
.dy-journey-heading h5{margin:0;color:#244868;font-size:15px}.dy-journey-heading span{color:#5e7890;font-size:12px;white-space:nowrap}
.dy-journey-stage dl{display:grid;gap:6px;margin:9px 0 0}.dy-journey-stage dl:empty{display:none}
.dy-journey-stage dl>div{display:flex;justify-content:space-between;gap:9px;line-height:1.45}.dy-journey-stage dt{color:#688098;flex:none}.dy-journey-stage dd{margin:0;color:#2a4f75;font-weight:650;text-align:right;overflow-wrap:anywhere}
.dy-journey-stage .delivery-evidence{margin:10px 0 0;padding-top:9px;border-top:1px dashed #d9e5ee}
.dy-journey-stage .delivery-evidence strong{display:block;margin-bottom:6px;font-size:13px;color:#4e6e8b}
.dy-parcel-items>.delivery-table-wrap{border:1px solid #d6e3ed;border-radius:10px;overflow:hidden;background:#fff}
.dy-parcel-items table{width:100%;table-layout:fixed}.dy-parcel-items th:first-child{width:36%}.dy-parcel-items th,.dy-parcel-items td{padding:10px 12px}
.dy-detail-history{margin:16px 0;padding:12px 14px;border:1px solid #dce7ef;border-radius:10px;background:#fbfdff}.dy-detail-history>summary{cursor:pointer;color:#315d83;font-weight:650}
.dy-detail-note{margin:9px 0;color:#4f6b83;line-height:1.5}
@media(max-width:620px){.dy-journey-grid{grid-template-columns:1fr}.dy-journey-stage{padding:11px 12px}.dy-parcel-items thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.dy-parcel-items table,.dy-parcel-items tbody,.dy-parcel-items tr,.dy-parcel-items td{display:block;width:100%;box-sizing:border-box}.dy-parcel-items tr{padding:8px 12px;border-bottom:1px solid #dce6ee}.dy-parcel-items tr:last-child{border-bottom:0}.dy-parcel-items td{display:grid;grid-template-columns:6em minmax(0,1fr);gap:8px;padding:5px 0;border:0}.dy-parcel-items td:before{content:attr(data-label);font-size:12px;color:#688098}.dy-parcel-items td strong{font-size:14px}}
@media(max-width:760px){.purchase-tabs .btn{display:block;max-width:min(100%,350px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.purchase-tabs .btn small{display:block;margin-top:3px;white-space:nowrap}}

/* V17.5.1: separate identifiers, field labels, values and stage actions. */
#page-delivery{--dy-label:#52677e;--dy-value:#1b2733;--dy-arrival:#965f00;--dy-dispatch:#205dc0}
.dy-shipment-main{padding-bottom:11px}
.dy-shipment-main .dy-tracking{display:block;color:var(--dy-value);font-size:19px;font-weight:400;line-height:1.38;overflow-wrap:anywhere;-webkit-line-clamp:unset}
.dy-shipment-main .dy-tracking strong{font-size:20px;font-weight:750;color:var(--dy-value)}
.dy-shipment-main .dy-card-label{font-weight:500;color:var(--dy-label)}
.dy-shipment-main .dy-destination{margin-top:14px;gap:4px 18px}
.dy-shipment-main .dy-destination span{font-size:15px;line-height:1.5;font-weight:400;color:var(--dy-label)}
.dy-shipment-main .dy-destination b{font-size:16px;color:var(--dy-value);font-weight:700}
.dy-shipment-main .dy-item-title{margin:9px 0 0;color:var(--dy-label);font-size:14px;line-height:1.55}
.dy-shipment-main .dy-card-item-value{color:var(--dy-value);font-weight:550}
.dy-shipment-main .dy-arrival{margin-top:7px;color:var(--dy-label);font-size:13px;line-height:1.45;font-variant-numeric:tabular-nums}
.dy-shipment-main .dy-arrival strong{color:#365472;font-weight:650}
.dy-card-actions{border-top:1px solid #edf2f7;padding-top:10px}
.dy-detail-link{min-height:44px;padding:8px 2px;color:#315f93;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.dy-detail-hero small,.dy-hero-route small{color:#596e84!important}
.dy-detail-hero .dy-identity strong,.dy-detail-hero .dy-hero-route strong,.dy-order-facts b,.delivery-modal .delivery-facts b,.dy-journey-stage dd,.dy-parcel-items td,.dy-order-context td{color:var(--dy-value,#1b2733)}
.dy-order-facts>div,.dy-journey-stage dt{color:var(--dy-label,#52677e)}
.dy-card-actions .dy-action-receive,.delivery-modal .dy-action-receive{background:#fff3d9;border-color:#e7d09c;color:#965f00;box-shadow:none}
.dy-card-actions .dy-action-receive:hover,.delivery-modal .dy-action-receive:hover{background:#ffe9bb;border-color:#d7b973;color:#805000}
.dy-card-actions .dy-action-deliver,.delivery-modal .dy-action-deliver,.dy-card-actions .dy-action-pickup,.delivery-modal .dy-action-pickup{background:#eaf1ff;border-color:#bfd2f3;color:#205dc0;box-shadow:none}
.dy-card-actions .dy-action-deliver:hover,.delivery-modal .dy-action-deliver:hover,.dy-card-actions .dy-action-pickup:hover,.delivery-modal .dy-action-pickup:hover{background:#dbe8ff;border-color:#9bb9ed;color:#174b9d}
.dy-card-actions .dy-action-receive,.dy-card-actions .dy-action-deliver,.dy-card-actions .dy-action-pickup{box-sizing:border-box;min-height:44px;min-width:64px;padding:8px 12px;line-height:1.4;font-weight:700}
.dy-stage-exception_completed{background:#e8f6ef;color:#20724c}
.dy-stage small,.dy-detail-hero .dy-stage small{display:block!important;margin:2px 0 0;color:inherit!important;font-size:11px;font-weight:500;line-height:1.3}
.rc-type-picker{display:grid;gap:10px;padding:4px 0 12px}
.rc-type-picker p{margin:0 0 4px;color:#52677e;line-height:1.5}
.rc-type-picker button{min-height:64px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:10px 16px;text-align:left;border-color:#c6d8ea;background:#f8fbff;color:#1b2733}
.rc-type-picker button:hover,.rc-type-picker button:focus-visible{border-color:#205dc0;background:#eaf2ff;outline:2px solid #205dc0;outline-offset:2px}
.rc-type-picker button span{font-size:13px;color:#52677e}
.rc-selected-type{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font-weight:650;color:#1b2733}
.rc-selected-type button{min-height:44px}
.rc-company-warning{padding:10px 12px;border-left:3px solid #bb3636;border-radius:6px;background:#fff0f0;color:#7f2222;line-height:1.5}
.dy-pc-delivery-hint{margin:8px 0 0;color:#355c86;font-size:14px}
.dy-inspection-warning{margin:14px 0 8px;padding:10px 12px;border-left:3px solid #c9821d;border-radius:5px;background:#fff6e8;color:#734912;line-height:1.5}
.dy-photo-error:not(:empty){color:#ad2734;font-weight:600;margin:8px 0}
.rc-expected-summary{gap:7px;background:#f3f7fc}
.rc-expected-summary p{margin:0;line-height:1.5;overflow-wrap:anywhere;color:#52677e}
.rc-expected-summary strong{color:#1b2733;font-weight:700}
.rc-recognized{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin:8px 0 12px;padding:10px 12px;border:1px solid #c6d7ec;border-radius:10px;background:#fff;color:#52677e;font-size:14px}
.rc-recognized strong{color:#1b2733;font-size:15px;overflow-wrap:anywhere}
@media(max-width:760px){.dy-shipment-main .dy-tracking strong{font-size:18px}.dy-shipment-main .dy-destination{margin-top:10px;gap:3px 12px}.dy-shipment-main .dy-destination span{font-size:14px}.dy-shipment-main .dy-destination b{font-size:15px}.dy-shipment-main .dy-item-title{font-size:13px}.dy-card-actions{padding-top:7px}}

/* V17.5.1: signing is a per-item inline inspection, distinct from arrival receipt. */
#page-delivery,.delivery-modal{--dy-inspection:#7046ae}
.dy-card-actions .dy-action-accept,.delivery-modal .dy-action-accept{min-height:44px;border-color:var(--dy-inspection);background:var(--dy-inspection);color:#fff;box-shadow:0 3px 10px #7046ae29}
.dy-card-actions .dy-action-accept:hover,.delivery-modal .dy-action-accept:hover{border-color:#583590;background:#583590;color:#fff}
.dy-card-actions .dy-action-accept:focus-visible,.delivery-modal .dy-action-accept:focus-visible{outline:3px solid #ae90df;outline-offset:2px}
.dy-inline-inspection{scroll-margin-top:80px}
.dy-inline-inspection form{padding:14px;border:1px solid #d8c8f1;border-radius:12px;background:#fbf9ff}
.dy-inline-inspection .dy-inspection-warning{margin:0 0 14px}
.dy-inspect-list{display:grid;gap:12px}
.dy-inspect-item{padding:14px;border:1px solid #e0d6ed;border-radius:10px;background:#fff}
.dy-inspect-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px 18px;flex-wrap:wrap;padding-bottom:9px;border-bottom:1px solid #eee8f5;color:#1b2733}
.dy-inspect-item-head strong{font-size:16px;overflow-wrap:anywhere}
.dy-inspect-item-head small{display:block;color:#647486;font-size:13px;font-weight:400}
.dy-inspect-item-head>span{color:#52677e;font-size:13px;white-space:nowrap}
.dy-inspect-question{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 56px 56px;align-items:center;gap:8px;margin-top:8px;padding:4px 5px 4px 10px;border:1px solid #e7e0ef;border-radius:9px;background:#fcfbfe}
.dy-inspect-label{min-width:0;color:#253849;font-size:14px;font-weight:650;line-height:1.35}
.dy-inspect-question label{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:5px;min-width:56px;min-height:44px;padding:5px;border:1px solid transparent;border-radius:7px;color:#425775;font-size:14px;cursor:pointer;touch-action:manipulation;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}
.dy-inspect-question label:active{transform:scale(.97)}
.dy-inspect-question label:focus-within{outline:2px solid #a687db;outline-offset:1px}
.dy-inspect-question label[data-choice="yes"].is-selected{background:#ece5fa;border-color:#b99add;color:#58348c;box-shadow:inset 0 0 0 1px #b99add}
.dy-inspect-question label[data-choice="no"].is-selected{background:#fff0f1;border-color:#e9aab2;color:#a92f41;box-shadow:inset 0 0 0 1px #e9aab2}
.dy-inspect-question input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:var(--dy-inspection)}
.dy-inspection-actions{display:flex;justify-content:flex-end;margin-top:14px}
.dy-inspection-actions .btn{min-width:120px}
.delivery-modal .dy-inspection-actions .dy-action-accept:disabled{opacity:1;background:#dfe4eb;border-color:#dfe4eb;color:#637084;box-shadow:none;cursor:not-allowed}
.dy-inline-inspection #dyInspectionEvidence{margin-top:12px;padding:12px;border:1px dashed #bf9bdc;border-radius:8px;background:#fff}
@media(max-width:620px){.dy-inline-inspection form{padding:10px}.dy-inspect-item{padding:11px}.dy-inspection-actions .btn{width:100%}}
@media(max-width:360px){.dy-inspect-question{grid-template-columns:minmax(0,1fr) 52px 52px;gap:4px}.dy-inspect-question label{min-width:52px}}
@media(prefers-reduced-motion:reduce){.dy-inspect-question label{transition:none}.dy-inspect-question label:active{transform:none}}

/* Three receipt categories stay distinguishable in color and in text. */
.rc-type-picker button[data-rc-type]{border-left-width:5px}
.rc-type-picker button[data-rc-type="company"]{border-color:#b8c9eb;border-left-color:#315aa0;background:#eef4ff}
.rc-type-picker button[data-rc-type="company"] strong{color:#244c91}
.rc-type-picker button[data-rc-type="guest"]{border-color:#b5ded0;border-left-color:#177a5c;background:#edf9f4}
.rc-type-picker button[data-rc-type="guest"] strong{color:#11664d}
.rc-type-picker button[data-rc-type="takeaway"]{border-color:#e8d3aa;border-left-color:#ad6800;background:#fff7e8}
.rc-type-picker button[data-rc-type="takeaway"] strong{color:#8c5200}
.rc-type-picker button[data-rc-type]:hover,.rc-type-picker button[data-rc-type]:focus-visible{filter:brightness(.965);outline:2px solid currentColor;outline-offset:2px}
.rc-type-picker button[data-rc-type="company"]:focus-visible{color:#244c91}
.rc-type-picker button[data-rc-type="guest"]:focus-visible{color:#11664d}
.rc-type-picker button[data-rc-type="takeaway"]:focus-visible{color:#8c5200}
.rc-recognition-line,.rc-number-review{padding:12px;border:1px solid #cbdcf0;border-radius:10px;background:#f4f8fe;color:#52677e;line-height:1.5}
.rc-recognition-line strong{color:#1b2733;overflow-wrap:anywhere}
.rc-number-review{margin:12px 0}
.rc-number-review>label{display:block;margin-bottom:7px;color:#253849;font-weight:650}
.rc-number-review>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rc-number-review input{flex:1 1 160px;min-width:0;min-height:44px;font-size:16px}
.rc-number-review .btn{min-height:44px}
.rc-number-review small{display:block;margin-top:7px;color:#52677e}
.rc-number-review [role="alert"]:not(:empty){color:#a8242b}
.rc-exact{border-color:#b8c9eb;background:#f4f8ff}
@media(max-width:540px){.rc-number-review .btn{width:100%}}

/* V17.5.4: photo-less list confirmation and explicit delivery completion. */
.dy-direct-receive>p:first-child{margin:0 0 12px;color:#425775;line-height:1.5}
.dy-direct-receive>label{display:block;margin:14px 0 6px;color:#253849;font-weight:650}
.dy-direct-receive>select{width:100%;min-height:44px;font-size:16px}
.dy-direct-number{margin:14px 0;color:#52677e;overflow-wrap:anywhere}
.dy-direct-number strong{color:#1b2733}
#dyDirectReceiveError:not(:empty){color:#ad2734;margin:10px 0}
.dy-delivery-done{padding:18px;border:1px solid #c5dece;border-radius:12px;background:#f2faf4;color:#214c35}
.dy-delivery-done strong{display:block;font-size:18px}
.dy-delivery-done p{margin:8px 0 0;line-height:1.5;overflow-wrap:anywhere}
.dy-delivery-done-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.dy-delivery-done-actions .btn{min-height:44px}

/* V17.5.7: multi-tracking receipt and compact parcel detail. */
.dy-stage-partial_expected{background:#fff3d9;color:#965f00}
.dy-detail-hero .dy-hero-route{align-items:start}
.dy-hero-route>.dy-hero-step{flex:1 1 180px;min-width:0}
.dy-hero-step strong{overflow-wrap:anywhere}
.dy-partial-note{margin:12px 0;padding:11px 13px;border-left:3px solid #d19020;border-radius:8px;background:#fff8e9;color:#684713;line-height:1.5;overflow-wrap:anywhere}
.dy-journey-stage .dy-receipt-more{margin:10px 0 0;border-top:1px dashed #d9e5ee;padding-top:4px}
.dy-receipt-more summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:#315f8c;font-weight:650}
.dy-receipt-more>div{padding:9px 11px;background:#f5f8fc;border-radius:8px;color:#344f69;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.dy-receipt-more p{margin:6px 0}
.dy-receive-choices{display:grid;gap:8px;border:0;padding:0;margin:14px 0;min-width:0}
.dy-receive-choices legend{font-weight:650;color:#253849;margin-bottom:7px}
.dy-receive-choices label{display:flex;align-items:center;gap:10px;min-height:46px;padding:9px 12px;border:1px solid #cfdbeb;border-radius:9px;background:#fff;cursor:pointer;overflow-wrap:anywhere}
.dy-receive-choices label:has(input:checked){border-color:#6e97c3;background:#edf5ff}
.dy-receive-choices input{width:20px;height:20px;flex:none;accent-color:#366b9d}
.dy-receive-choices span{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){.dy-delivery-done-actions{display:grid;grid-template-columns:1fr 1fr}.dy-delivery-done-actions .btn{min-width:0;white-space:normal}}

/* V17.5.7: order-level tracking visibility and clear terminal actions. */
.dy-tracking-progress{margin:12px 0 2px;padding:10px 12px;border:1px solid #dce6f1;border-radius:10px;background:#f8fbff}
.dy-tracking-progress-head{display:flex;justify-content:space-between;gap:8px;color:#52677e;font-size:12px}
.dy-tracking-progress-head strong{color:#365472;font-size:12px;font-weight:700;white-space:nowrap}
.dy-tracking-progress ul{list-style:none;margin:7px 0 0;padding:0;display:grid;gap:5px}
.dy-tracking-progress li{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}
.dy-tracking-number{min-width:0;color:#1b324d;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dy-tracking-status{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;min-width:64px;padding:3px 6px;border-radius:6px;font-size:11px;font-weight:700;white-space:nowrap}
.dy-tracking-status.is-received{background:#e8f6ef;color:#20724c}
.dy-tracking-status.is-pending{background:#fff3d9;color:#865700}
.dy-tracking-status svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.dy-receipt-done-actions{display:flex;justify-content:flex-end;gap:9px;margin:16px 0 0}
.dy-receipt-done-actions .btn{min-height:44px;white-space:normal}
.dy-parallel-note{margin:10px 0;padding:9px 12px;border-left:3px solid #b87623;border-radius:4px;background:#fff7e9;color:#654b2f;font-size:13px;line-height:1.5}
.dy-receipt-focus{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;margin:10px 0;padding:10px 12px;border:1px solid #a5d7ba;border-radius:9px;background:#edf8f1;color:#1e6044;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.dy-receipt-focus span{color:#516a7d;font-size:12px}
.dy-followup-header,.dy-followup-row>button{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.05fr) minmax(0,1.5fr) 6.8em 7.5em 5em;align-items:center;gap:16px;text-align:left;font-size:14px}
.dy-followup-header{padding:12px 16px;background:#eaf2fa;border-bottom:1px solid #cfdfef;color:#365472;font-size:14px;font-weight:700}
.dy-followup-row>button{min-height:84px;padding:14px 16px;line-height:1.5}
.dy-followup-main{display:flex;align-items:center;gap:10px}
.dy-followup-main>span:last-child{min-width:0}
.dy-followup-reason{font-size:14px;line-height:1.55;color:#435e79;overflow-wrap:anywhere}
.dy-followup-header>span:nth-child(n+4),.dy-followup-row>button>.dy-stage,.dy-followup-age,.dy-followup-open{text-align:center;justify-self:center}
.dy-followup-header>span,.dy-followup-row>button>span{min-width:0}
.dy-followup-row>button:focus-visible{outline:3px solid var(--primary,#426b96);outline-offset:-3px}
@media(max-width:760px){.dy-followup-header{display:none}.dy-followup-row>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.dy-followup-main{grid-column:1/-1}.dy-followup-place,.dy-followup-reason{grid-column:1/-1;font-size:13px}.dy-followup-reason::before{content:'跟进原因：';font-weight:700}.dy-followup-row .dy-stage{grid-column:1}.dy-followup-open{grid-column:2;grid-row:4}.dy-receipt-done-actions .btn{min-width:0}}
.dy-order-disclosure{border-color:#cadcf0}
.dy-order-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:48px;cursor:pointer}
.dy-order-disclosure>summary::-webkit-details-marker{display:none}
.dy-order-disclosure>summary:focus-visible{outline:3px solid #4d87be;outline-offset:-3px}
.dy-order-chevron{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid #416f9e;transition:transform .18s ease}
.dy-order-disclosure[open] .dy-order-chevron{transform:rotate(90deg)}
.dy-order-disclosure>.dy-order-context{border:0;border-radius:0;box-shadow:none;margin:0}
.dy-purchase-followup-title{margin:18px 16px 7px;color:#264c80}
.dy-followup-dialog{width:min(520px,calc(100vw - 28px));max-height:min(86vh,760px);padding:0;border:1px solid #c7d9ea;border-radius:16px;background:#fff;box-shadow:0 25px 75px #14263d50;color:#213b57;overflow:hidden}
.dy-followup-dialog::backdrop{background:#142b4680;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.dy-followup-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#eff5fb;border-bottom:1px solid #d6e4f1;cursor:move;touch-action:none;user-select:none}
.dy-followup-dialog-head h3{margin:0;font-size:19px}.dy-followup-close{min-width:42px;min-height:42px;font-size:24px;cursor:pointer}
.dy-followup-dialog-body{display:grid;gap:15px;max-height:calc(86vh - 74px);padding:18px;overflow:auto}
.dy-followup-dialog-body>label:not(.dy-followup-complete){display:grid;gap:6px;font-weight:600}
.dy-followup-dialog-body input:not([type=radio]),.dy-followup-dialog-body select{width:100%;min-width:0;min-height:44px;font:inherit}
.dy-followup-help{margin:0;color:#58718a;line-height:1.55}.dy-followup-complete{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px;border:1px solid #bfd4e8;border-radius:10px;font-weight:700;cursor:pointer}
.dy-followup-complete input{width:20px;height:20px;accent-color:#416f9e}.dy-followup-error{margin:0;color:#a92e36}
.dy-followup-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid #e0e9f2}.dy-followup-dialog-actions .btn{min-height:44px}
@media(max-width:700px){.dy-followup-dialog{width:calc(100vw - 20px);max-height:90dvh}.dy-followup-dialog-head{cursor:default;touch-action:auto}.dy-followup-dialog-body{max-height:calc(90dvh - 74px)}.dy-followup-dialog-actions .btn{flex:1}}
@media(prefers-reduced-motion:reduce){.dy-order-chevron{transition:none}}

/* Compact purchase follow-up: one decision in-card and one-screen invoice entry. */
.dy-followup-inline-choice{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin-top:8px;padding:6px 12px;border:1px solid #bfd4e8;border-radius:9px;color:#264c80;font-weight:700;cursor:pointer}
.dy-followup-inline-choice:has(input:checked){background:#e7f3ee;border-color:#91bba6;color:#24694a}
.dy-followup-inline-choice:has(input:disabled:not(:checked)){opacity:.58;cursor:not-allowed}
.dy-followup-inline-choice input{appearance:none;width:20px;height:20px;flex:none;margin:0;border:2px solid #8299ab;border-radius:50%;background:#fff;cursor:inherit}
.dy-followup-inline-choice input:checked{border-color:#317859;background:radial-gradient(circle,#317859 0 5px,#fff 5.5px)}
.dy-followup-inline-choice input:focus-visible{outline:3px solid #426b96;outline-offset:3px}
.delivery-modal .dy-followup-inline-choice input[type=checkbox]{width:20px;height:20px;min-height:20px;max-height:20px;padding:0;border-radius:50%;box-sizing:border-box}
.delivery-modal .dy-followup-inline-choice input[type=checkbox]:checked{background:radial-gradient(circle,#317859 0 5px,#fff 5.5px)}
.dy-followup-dialog{width:min(660px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:visible}
.dy-followup-dialog-body{gap:10px;max-height:none;padding:14px 18px 16px;overflow:visible}
.dy-followup-dialog-body .dy-followup-help{font-size:13px;line-height:1.4}
.dy-followup-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.dy-followup-fields>label{display:grid;gap:4px;min-width:0;font-size:13px;font-weight:650}
.dy-followup-fields input,.dy-followup-fields select{min-height:40px!important;padding:7px 10px}
.dy-invoice-attachments{display:grid;gap:7px;padding:10px 12px;border:1px solid #d4e3ec;border-radius:10px;background:#f7fbfd}
.dy-invoice-attachment-head,.dy-invoice-attachment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.dy-invoice-attachment-head strong{font-size:14px}.dy-invoice-attachment-head small,.dy-invoice-paste-hint,.dy-invoice-file-list small{font-size:12px;color:#58718a}
.dy-invoice-attachment-actions .btn{min-height:38px;padding:7px 12px;cursor:pointer}
.dy-invoice-file-button{display:inline-flex;align-items:center;position:relative;overflow:hidden}
.dy-invoice-file-button input[type=file]{position:absolute;width:1px!important;min-width:0!important;height:1px;min-height:0!important;opacity:0;pointer-events:none}
.dy-invoice-file-button:focus-within{outline:3px solid #4d87be;outline-offset:2px}
.dy-invoice-file-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:22px}
.dy-invoice-file-empty{font-size:12px;color:#60788c}
.dy-invoice-file-chip{display:inline-flex;align-items:center;max-width:210px;min-height:34px;gap:5px;padding:3px 4px 3px 7px;border:1px solid #c5d9e8;border-radius:8px;background:#fff;font-size:12px}
.dy-invoice-file-chip img{width:28px;height:28px;object-fit:cover;border-radius:4px}
.dy-invoice-file-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dy-invoice-file-chip button{min-width:28px;min-height:28px;border:0;border-radius:5px;background:#eef4fa;color:#264c80;font-size:18px;cursor:pointer}
.dy-invoice-qr:not([hidden]){display:flex;align-items:center;gap:10px;padding-top:4px;border-top:1px solid #d4e3ec;font-size:12px}
.dy-invoice-qr img{width:96px;height:96px;background:white}
.dy-followup-error:empty{display:none}
@media(max-width:700px){.dy-followup-dialog{max-height:calc(100dvh - 16px);overflow:auto}.dy-followup-dialog-body{max-height:none;padding:12px 14px 14px}.dy-followup-fields{gap:8px}.dy-followup-dialog-head{padding:9px 14px}.dy-invoice-qr img{width:76px;height:76px}}
@media(max-width:410px){.dy-followup-fields{grid-template-columns:1fr}.dy-invoice-attachment-head{align-items:flex-start;flex-direction:column;gap:2px}}
@media(max-height:560px){.dy-followup-dialog{overflow:auto}.dy-followup-dialog-body{max-height:none}}

/* Parcel quantities never share text space with a long item name. */
.delivery-modal .dy-parcel-lines{table-layout:fixed;width:100%;min-width:0}
.delivery-modal .dy-parcel-lines col{width:17%}
.delivery-modal .dy-parcel-lines .dy-item-column{width:49%}
.delivery-modal .dy-parcel-lines th:first-child{width:49%}
.delivery-modal .dy-parcel-lines th,.delivery-modal .dy-parcel-lines td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;line-height:1.5}
.delivery-modal .dy-parcel-lines td:first-child strong,.delivery-modal .dy-parcel-lines td:first-child small{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal}
.delivery-modal .dy-parcel-lines td:not(:first-child){font-variant-numeric:tabular-nums}
.dy-purchase-followups{margin:16px;min-width:0}
.dy-purchase-followups h4{margin:0 0 8px;font-size:15px;color:#263b50}
.dy-followup-entries{border:1px solid #d3e3ed;border-radius:10px;background:#fff;overflow:hidden}
.dy-followup-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:10px 12px}
.dy-followup-entry+.dy-followup-entry{border-top:1px solid #e0e9f1}
.dy-followup-entry-main{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;min-width:0;font-size:14px}
.dy-followup-state{font-size:13px;color:#516a81}
.dy-followup-entry-main small{font-size:12px;color:#60768a}
.dy-followup-entry-action{display:flex;align-items:center;gap:8px}
.dy-followup-entry-action .btn,.dy-followup-entry-action .dy-followup-inline-choice{min-height:44px;margin:0;font-size:14px}
.dy-followup-entry>.dy-followup-note,.dy-followup-entry>.dy-followup-lock,.dy-followup-entry>.delivery-evidence{grid-column:1/-1;margin:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.dy-followup-lock{color:#805712}
.dy-followup-save{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding-top:12px}
.dy-followup-save>span{font-size:13px;color:#60768a;min-width:0;overflow-wrap:anywhere}
.dy-followup-save .btn{min-height:44px;flex:none}
@media(max-width:760px){.dy-purchase-followups{margin:12px}.dy-followup-entry-main{display:grid;gap:4px}.dy-followup-entry-main strong{font-size:16px}.dy-followup-save{align-items:flex-start}.dy-parcel-lines thead{display:none}.delivery-modal .dy-parcel-lines,.delivery-modal .dy-parcel-lines tbody{display:block}.delivery-modal .dy-parcel-lines tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #d3e3ed}.delivery-modal .dy-parcel-lines tr:last-child{border-bottom:0}.delivery-modal .dy-parcel-lines td{display:block;padding:8px;border:0;font-size:15px;min-width:0}.delivery-modal .dy-parcel-lines td:first-child{grid-column:1/-1;border-bottom:1px solid #e0e9f1}.dy-parcel-lines td:not(:first-child)::before{content:attr(data-label);display:block;margin-bottom:4px;color:#60768a;font-size:12px;font-weight:600}}

/* V17.6.2 · parcel detail: one restrained type and spacing scale. */
.dy-parcel-detail{--dy-ink:#263b50;--dy-muted:#60788c;--dy-line:#d4e3ec;--dy-soft:#f6fafc;display:grid;gap:16px;color:var(--dy-ink);font-size:14px;line-height:1.55}
.dy-parcel-detail>p,.dy-parcel-detail>section,.dy-parcel-detail>details,.dy-parcel-detail>.delivery-detail-actions{margin:0}
.dy-parcel-detail .dy-detail-hero{margin:0;padding:20px 22px;border:1px solid var(--dy-line);border-radius:14px;background:linear-gradient(135deg,#edf5fa,#f8fbfd);box-shadow:none}
.dy-parcel-detail .dy-detail-hero .dy-identity{align-items:center;gap:12px}
.dy-parcel-detail .dy-detail-hero .dy-identity strong{font-size:22px;line-height:1.3;font-weight:700;letter-spacing:.01em;color:var(--dy-ink)}
.dy-parcel-detail .dy-detail-hero small,.dy-parcel-detail .dy-hero-route small{font-size:12px!important;font-weight:550;line-height:1.35;color:var(--dy-muted)!important}
.dy-parcel-detail .dy-detail-hero .dy-hero-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px 18px;margin-top:16px;padding-top:15px;border-color:var(--dy-line)}
.dy-parcel-detail .dy-detail-hero .dy-hero-route>div{min-width:0;flex:none}
.dy-parcel-detail .dy-detail-hero .dy-hero-route strong{font-size:15px;line-height:1.45;font-weight:700;color:var(--dy-ink)}
.dy-parcel-detail .dy-hero-tools{grid-column:1/-1;justify-content:flex-start;gap:8px}
.dy-parcel-detail .dy-hero-tools .btn{min-height:38px;font-size:13px}
.dy-parcel-detail .dy-progress{margin-top:20px}
.dy-parcel-detail .dy-progress-label{font-size:12px}
.dy-parcel-detail .dy-detail-actions,.dy-parcel-detail .delivery-detail-actions{gap:8px;margin:0}
.dy-parcel-detail .delivery-detail-actions .btn{min-height:42px;font-size:14px}
.dy-parcel-detail .dy-detail-journey>h4,.dy-parcel-detail .dy-parcel-items>h4,.dy-parcel-detail>h4{margin:0 0 10px;font-size:16px;font-weight:700;line-height:1.4;color:var(--dy-ink)}
.dy-parcel-detail .dy-detail-journey,.dy-parcel-detail .dy-parcel-items{margin:0}
.dy-parcel-detail .dy-journey-grid{gap:10px}
.dy-parcel-detail .dy-journey-stage,.dy-parcel-detail .dy-group-journey-item{padding:14px;border:1px solid var(--dy-line);border-left:3px solid #6391b2;border-radius:10px;background:#fff;box-shadow:none}
.dy-parcel-detail .dy-journey-stage h5,.dy-parcel-detail .dy-group-journey-head strong{font-size:14px;color:var(--dy-ink)}
.dy-parcel-detail .dy-journey-stage dt,.dy-parcel-detail .dy-journey-stage dd{font-size:13px;line-height:1.45}
.dy-parcel-detail .dy-parcel-items>.delivery-table-wrap{border-color:var(--dy-line)}
.dy-parcel-detail .dy-parcel-items th{background:#eaf3f8;color:var(--dy-ink);font-size:13px}
.dy-parcel-detail .dy-parcel-items td{font-size:14px}
.dy-parcel-detail .dy-detail-note{margin:0;padding:10px 12px;border:1px solid var(--dy-line);border-radius:8px;background:var(--dy-soft);color:#4c6478;font-size:13px}
.dy-parcel-detail .dy-order-disclosure{margin:0;border:1px solid var(--dy-line);border-radius:10px;background:#fff;box-shadow:none}
.dy-parcel-detail .dy-order-disclosure>summary{min-height:48px;padding:11px 14px;border-bottom:0;background:#f1f7fb;color:#2d587b;font-size:14px;font-weight:700;line-height:1.4}
.dy-parcel-detail .dy-order-disclosure[open]>summary{border-bottom:1px solid var(--dy-line)}
.dy-parcel-detail .dy-order-disclosure>summary:hover{background:#e7f1f8}
.dy-parcel-detail .dy-order-disclosure>summary:focus-visible{outline:3px solid #4b75a2;outline-offset:-3px}
.dy-parcel-detail .dy-order-chevron{border-top-width:5px;border-bottom-width:5px;border-left-width:7px}
.dy-parcel-detail .dy-order-disclosure>.dy-order-context{margin:0}
.dy-parcel-detail .dy-order-heading h4{font-size:15px}
.dy-parcel-detail .dy-detail-history{margin:0;background:#fff;border-color:var(--dy-line);font-size:13px}
.dy-parcel-detail .dy-detail-history>summary{min-height:40px;display:flex;align-items:center;font-size:14px}
@media(max-width:700px){
  .dy-parcel-detail{gap:13px;font-size:14px}
  .dy-parcel-detail .dy-detail-hero{padding:15px}
  .dy-parcel-detail .dy-detail-hero .dy-identity strong{font-size:19px}
  .dy-parcel-detail .dy-detail-hero .dy-hero-route{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .dy-parcel-detail .dy-hero-step{grid-column:1/-1;padding-top:9px;border-top:1px solid var(--dy-line)}
  .dy-parcel-detail .dy-hero-tools{grid-column:1/-1}
  .dy-parcel-detail .dy-journey-stage{padding:12px}
  .dy-parcel-detail .dy-order-disclosure>summary{min-height:48px;padding:12px}
}
@media(max-width:760px){.delivery-modal .dy-parcel-lines td:first-child::before{display:none}.delivery-modal .dy-parcel-lines tr{padding:0}.dy-parcel-detail .dy-parcel-lines td{font-size:15px}}

/* V17.6.8: completed dots, next-stage lines, and explicit pending labels. */
.dy-progress-status{display:block;margin-top:3px;font-size:12px;line-height:1.4;color:#60788c}
.dy-progress li.is-done .dy-progress-status{color:#2d587b}
.dy-flow-exception{margin:12px 0 0;padding:10px 12px;border:1px solid #efd1a7;border-radius:9px;background:#fff5e8;color:#805712;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.dy-stage-supplement{background:#fff1d9;color:#875a16}
.dy-followup-age{font-size:13px;color:#435e79;font-variant-numeric:tabular-nums;white-space:nowrap}
.dy-records-note{margin:0 0 16px;padding:10px 14px;border-left:3px solid var(--primary,#426b96);background:var(--surface-soft,#eaf3f8);color:var(--text,#263b50);font-size:14px;line-height:1.6}
.delivery-records-view .delivery-toolbar input[type=month]{min-width:0}
.delivery-records-view .delivery-toolbar #deliveryParticipation{flex:0 1 170px}
.delivery-records-view .delivery-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 210px 170px auto auto;grid-template-areas:'search month stage query refresh';gap:10px}
.delivery-records-view .delivery-toolbar>*{box-sizing:border-box;min-width:0;max-width:100%;width:100%}
.delivery-records-view .delivery-toolbar #deliveryQ{grid-area:search!important}
.delivery-records-view .delivery-toolbar #deliveryMonth{grid-area:month!important}
.delivery-records-view .delivery-toolbar #deliveryParticipation{grid-area:stage!important;max-width:100%;width:100%}
.delivery-records-view .delivery-toolbar button[type=submit]{grid-area:query!important}
.delivery-records-view .delivery-toolbar #deliveryRefresh{grid-area:refresh!important}
.delivery-records-view .delivery-toolbar>[hidden]{display:none!important}
.dy-records-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--text,#263b50)}
.dy-records-table col:nth-child(1){width:22%}.dy-records-table col:nth-child(2){width:13%}.dy-records-table col:nth-child(3){width:15%}.dy-records-table col:nth-child(4){width:15%}.dy-records-table col:nth-child(5){width:16%}.dy-records-table col:nth-child(6){width:19%}
.dy-records-table caption{text-align:left;color:var(--muted,#60768a);font-size:13px;padding:6px 0 12px}
.dy-records-table th,.dy-records-table td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line,#d3e5f0);font-size:14px;line-height:1.5;vertical-align:middle;overflow-wrap:anywhere}
.dy-records-table th{background:var(--surface-soft,#eaf3f8);font-weight:700}
.dy-records-table td small{display:block;color:var(--muted,#60768a);font-size:12px;line-height:1.6;margin-top:3px}
.dy-records-table tbody tr:hover{background:var(--surface-soft,#eaf3f8)}
.dy-record-link{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;width:100%;min-width:0;max-width:100%;min-height:44px;padding:4px 0;border:0;background:transparent;text-align:left;color:var(--primary,#426b96);font:inherit;cursor:pointer;overflow-wrap:anywhere;white-space:normal}
.dy-record-link>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.dy-record-link span{text-decoration:underline;text-underline-offset:3px;font-size:13px}
.dy-record-link:focus-visible{outline:3px solid var(--primary,#426b96);outline-offset:3px;border-radius:4px}
.dy-record-link:active{background:var(--surface-soft,#eaf3f8)}
.dy-participation-tags{display:flex;flex-wrap:wrap;gap:6px}
.dy-participation-tag{display:inline-block;padding:3px 8px;border:1px solid #e6bcc3;border-radius:5px;background:#fff1f3;color:#9c283a;font-size:13px;font-weight:650;white-space:normal}
.dy-record-money{color:var(--primary,#426b96);font-variant-numeric:tabular-nums;white-space:nowrap}
.dy-record-reward{min-width:0;max-width:100%;overflow-wrap:anywhere}.dy-record-reward>small{line-height:1.45}.dy-record-review{display:grid;justify-items:start;gap:3px;margin-top:7px}.dy-record-review .dy-review-status{max-width:100%;white-space:normal}.dy-record-review small{margin:0!important}
.dy-records-table time{font-variant-numeric:tabular-nums}
@media(max-width:1000px){
 .delivery-records-view .delivery-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'search search' 'month stage' 'query refresh'}
 .dy-followup-header{display:none}.dy-followup-row>button{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 .dy-followup-main,.dy-followup-place,.dy-followup-reason{grid-column:1/-1}
 .dy-followup-row>button>.dy-stage{grid-column:1;grid-row:4;justify-self:start;text-align:left}
 .dy-followup-age{grid-column:1;grid-row:5;justify-self:start;text-align:left}.dy-followup-age::before{content:'状态耗时：'}
 .dy-followup-open{grid-column:2;grid-row:5;justify-self:end}
 .dy-followup-reason::before{content:'跟进原因：';font-weight:650}
 .dy-records-table,.dy-records-table tbody{display:block;width:100%;min-width:0}.dy-records-table colgroup{display:none}
 .dy-records-table caption{display:block}.dy-records-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .dy-records-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line,#d3e5f0);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--surface,#f8fbfd);gap:8px 16px}
 .dy-records-table td{display:block;border:0;padding:0;min-width:0}.dy-records-table td:first-child{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid var(--line,#d3e5f0)}
 .dy-records-table td::before{content:attr(data-label);display:block;color:var(--muted,#60768a);font-size:12px;font-weight:650;margin-bottom:5px}
}
@media(max-width:480px){
 .dy-records-table tr{grid-template-columns:minmax(0,1fr)}.dy-records-table td{display:grid;grid-template-columns:6.5em minmax(0,1fr);gap:8px;font-size:16px}
 .dy-records-table td:first-child{display:block}.dy-records-table td::before{font-size:13px}
 .delivery-records-view .delivery-toolbar input[type=month],.delivery-records-view .delivery-toolbar #deliveryParticipation{flex:1 1 calc(50% - 8px);min-width:0}
 .dy-records-note{font-size:14px}.dy-followup-row>button{font-size:16px}
}
.dy-progress li{min-height:106px}
.dy-progress-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:540px;margin-inline:auto}
.dy-progress-two li{min-height:105px}
.dy-progress-two .dy-progress-label{font-size:14px}
.dy-progress-two .dy-progress-time{top:30px;font-size:12px}
.dy-progress-two .dy-progress-handler{max-width:95%;font-size:12px}
.dy-view-switch{display:flex;align-items:center;gap:4px;width:max-content;max-width:100%;margin:0 0 12px auto;padding:3px;border:1px solid #d3e0ef;border-radius:10px;background:#f1f6fc;color:#4d6682}
.dy-view-switch[hidden]{display:none}
.dy-view-switch>span{padding:0 8px;font-size:13px;font-weight:650}
.dy-view-switch button{min-width:68px;min-height:38px;padding:7px 13px;border:0;border-radius:7px;background:transparent;color:#315777;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.dy-view-switch button[aria-pressed="true"]{background:#4874a3;color:#fff;box-shadow:0 2px 8px #284e7929}
.dy-view-switch button:focus-visible{outline:3px solid #315d95;outline-offset:2px}
.delivery-list .dy-parcel-cards,.delivery-list .dy-parcel-table-wrap{grid-column:1/-1;min-width:0}
.dy-parcel-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.delivery-layout-list .dy-parcel-cards,.delivery-layout-cards .dy-parcel-table-wrap{display:none}
.dy-parcel-table-wrap{overflow-x:auto;border:1px solid #d5e3f0;border-radius:13px;background:#fff}
.dy-parcel-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#203a56;font-size:14px}
.dy-parcel-table th{padding:13px 14px;background:#eaf2f9;color:#355777;text-align:left;font-size:13px;font-weight:750;white-space:nowrap}
.dy-parcel-table th:nth-child(1){width:23%}.dy-parcel-table th:nth-child(2){width:15%}.dy-parcel-table th:nth-child(3){width:27%}.dy-parcel-table th:nth-child(4){width:14%}.dy-parcel-table th:nth-child(5){width:21%}
.dy-parcel-table td{padding:13px 14px;border-top:1px solid #e2eaf2;vertical-align:middle;overflow-wrap:anywhere}
.dy-parcel-table tbody tr:hover{background:#f6faff}
.dy-parcel-table td strong{display:block;font-weight:700}.dy-parcel-table td small{display:block;margin-top:4px;color:#607990;font-size:12px;line-height:1.45}
.dy-list-kind{display:flex;align-items:center;gap:10px;min-width:0}.dy-list-kind>div{min-width:0}.dy-list-kind small{overflow-wrap:anywhere}
.dy-list-item{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.5}
.dy-list-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.dy-list-actions .btn{min-height:36px;padding:6px 9px;font-size:12px;white-space:nowrap}
@media(max-width:1050px) and (min-width:761px){.dy-parcel-table{min-width:860px}.dy-parcel-table-wrap{max-width:100%}}
@media(max-width:760px){.dy-view-switch,.dy-parcel-table-wrap{display:none!important}.dy-parcel-cards{display:grid!important;grid-template-columns:minmax(0,1fr)}.dy-progress-two{gap:8px}}
/* Receipt observations and signing notes: readable without relying on color alone. */
.dy-receipt-condition{min-width:0;margin:14px 0;padding:10px 12px;border:1px solid #c9dce9;border-radius:10px;background:#f6fafc}
.dy-receipt-condition legend{padding:0 5px;color:#263b50;font-size:14px;font-weight:700}
.dy-receipt-condition>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dy-receipt-condition label{display:flex!important;align-items:center;gap:9px;min-height:44px;margin:0!important;padding:4px 8px;background:#fff;border:1px solid #dce7ef;border-radius:8px;cursor:pointer;line-height:1.5}
.dy-receipt-condition input[type=checkbox]{flex:none;width:20px!important;height:20px!important;min-height:0;margin:0;accent-color:#426b96}
.dy-receipt-condition small{display:block;margin-top:7px;font-size:13px;color:#52677e;line-height:1.5}
.dy-receipt-photo-note{padding:10px 12px;border-left:3px solid #426b96;background:#eaf3f8;color:#263b50;line-height:1.6;font-size:14px}
.dy-receipt-confirm{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid #c7d9ea;border-radius:14px;background:#f6fafc;color:#263b50;box-shadow:0 20px 60px #14263d50}
.dy-receipt-confirm::backdrop{background:#142b4680}
.dy-receipt-confirm h3{margin:0 0 10px;font-size:20px}.dy-receipt-confirm p{margin:0 0 18px;line-height:1.6}.dy-receipt-confirm .btn{min-height:44px}
.dy-receipt-confirm button:focus-visible,.dy-receipt-condition input:focus-visible{outline:3px solid #426b96;outline-offset:3px}
.dy-receipt-warning{display:grid;gap:5px;padding:11px 13px;border:1px solid #efc4c9;border-left:3px solid #b52d3c;border-radius:8px;background:#fff3f4;color:#a32636;line-height:1.6;overflow-wrap:anywhere}
.dy-receipt-warning strong{font-size:14px}.dy-receipt-warning span{font-size:13px}
.dy-receipt-record{margin:10px 0 0;font-size:13px;color:#52677e;line-height:1.6;overflow-wrap:anywhere}
.dy-verification-note{display:grid;gap:6px;margin-top:10px;line-height:1.6;text-align:left;overflow-wrap:anywhere;word-break:normal}
.dy-verification-note>span{font-size:13px;font-weight:700}.dy-verification-note ul{margin:0;padding-left:1.3em;font-size:14px}.dy-verification-note li+li{margin-top:5px}
.dy-anomaly-text,.dy-anomaly-text li,.dy-anomaly-text>span{color:#b3293b}
.dy-inline-inspection .dy-receipt-warning{margin-bottom:12px}
@media(max-width:480px){.dy-receipt-condition>div{grid-template-columns:1fr}.dy-receipt-condition label{font-size:16px}.dy-receipt-confirm{padding:16px}.dy-verification-note ul{font-size:15px}}
@media(max-width:760px){.dy-followup-row .dy-stage{grid-column:1;grid-row:4}.dy-followup-age{grid-column:1;grid-row:5}.dy-followup-age::before{content:'状态耗时：'}.dy-followup-open{grid-column:2;grid-row:5}.dy-progress-handler{overflow-wrap:anywhere}.dy-progress-label{white-space:normal}}
/* Procurement is a draft until the single terminal confirmation. */
.dy-followup-segment{margin:0;padding:0;border:0;display:flex;gap:6px;min-width:0}
.dy-followup-segment label{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #738aa0;border-radius:8px;cursor:pointer;background:#f6fafc;color:#263b50;white-space:normal}
.dy-followup-segment label:has(:checked){background:#e5f3ed;border-color:#559a9a;color:#18594a}
.dy-followup-segment label:has(:disabled){cursor:default;opacity:.65}
.dy-followup-segment label:focus-within{outline:2px solid #426b96;outline-offset:2px}
.dy-followup-segment input{margin:0;width:18px;height:18px;accent-color:#247569}
.dy-followup-segment legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.dy-followup-final{color:#18594a;font-weight:700}
.dy-followup-header,.dy-followup-row>button{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(5em,.65fr) minmax(0,1.35fr) 5em 6.5em 5em;gap:14px}.dy-followup-header>span:nth-child(4){text-align:left;justify-self:start}.dy-followup-person{overflow-wrap:anywhere;text-align:left;justify-self:start}
@media(max-width:1000px){.dy-followup-row>button{grid-template-columns:minmax(0,1fr) auto}.dy-followup-person{grid-column:1/-1;grid-row:3}.dy-followup-person::before{content:'采购跟进人：';color:#60768a}.dy-followup-reason{grid-row:4}.dy-followup-row>button>.dy-stage{grid-row:5}.dy-followup-age{grid-row:6}.dy-followup-open{grid-row:6}}
.dy-followup-entry-action{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dy-followup-entry-action [hidden]{display:none!important}
@media(max-width:700px){.dy-followup-entry{display:block}.dy-followup-entry-main{width:100%;min-width:0}.dy-followup-entry-action{width:100%;margin-top:10px}.dy-followup-segment{width:100%;flex-wrap:nowrap}.dy-followup-segment label{flex:1;min-width:0;justify-content:center;white-space:nowrap}}

/* My delivery records: keep payment status in the same six-control filter row. */
body #page-delivery.delivery-records-view #deliveryFilters.delivery-toolbar{
  display:grid;grid-template-columns:minmax(160px,1fr) 140px minmax(130px,170px) minmax(120px,150px) auto auto;
  grid-template-areas:'search month stage payment query clear';gap:8px;align-items:center;
}
body #page-delivery.delivery-records-view #deliveryFilters.delivery-toolbar>:is(input,select){
  width:100%!important;max-width:100%;min-width:0;
}
body #page-delivery.delivery-records-view #deliveryFilters #deliveryQ{max-width:100%!important}
body #page-delivery.delivery-records-view #deliveryFilters #deliveryPaymentStatus{grid-area:payment}
@media(max-width:1000px){
  body #page-delivery.delivery-records-view #deliveryFilters.delivery-toolbar{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-areas:'search search' 'month stage' 'payment payment' 'query clear';
  }
}

.purchase-item>[data-remove-item]{align-self:end}


/* energy-workspace.css */
/* V16.6: readable bill review and one image viewer for every module. */
.modal.modal-energy-batch{width:calc(100vw - 24px);max-width:1800px}
.energy-batch-modal .energy-batch-column-head,
.energy-batch-modal .energy-batch-row{grid-template-columns:minmax(190px,1.05fr) 128px 94px minmax(220px,1.45fr) 110px 96px 145px 145px;gap:8px}
.energy-batch-modal .energy-batch-column-head{padding:9px 10px;font-size:14px;font-weight:750;color:#35536f;background:#edf3f9;border-radius:8px 8px 0 0}
.energy-batch-modal .energy-batch-row{padding:10px;align-items:start;gap:6px 8px}
.energy-batch-modal .energy-batch-row input,
.energy-batch-modal .energy-batch-row select{min-width:0;width:100%;height:40px;min-height:40px;font-size:15px;padding:7px 8px;box-sizing:border-box}
.energy-batch-modal .energy-batch-row .required-field{border:1px solid #c6d6e5;background:#fff;box-shadow:none}
.energy-batch-modal .energy-batch-row [aria-invalid="true"]{border:1.5px solid #d9584e;background:#fffaf9}
.energy-batch-modal .energy-batch-row>label>small{font-size:14px;color:#44617b}
.energy-batch-modal .energy-batch-ticket{grid-template-columns:22px 58px minmax(0,1fr) 28px;gap:7px}
.energy-batch-modal .energy-batch-ticket>label input{width:20px;height:20px;min-height:20px;margin:0}
.energy-batch-modal .energy-batch-ticket b{font-size:15px}
.energy-batch-modal .energy-batch-ticket small{font-size:12px;line-height:1.4}
.energy-batch-modal .energy-batch-thumb{width:58px;height:62px}
.energy-batch-modal .energy-batch-remove{width:28px;height:30px;font-size:20px}
.energy-batch-modal .energy-batch-status{font-size:12px;padding:3px 6px}
.energy-batch-modal .energy-batch-row-note{font-size:13px;line-height:1.4;padding:4px 0;min-height:0;border-top:0}
.energy-batch-modal .energy-batch-row-note:empty{display:none}
.energy-batch-modal .energy-batch-room{min-width:0}
.energy-batch-modal .energy-room-resolution{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:1.4;margin-top:3px}
.energy-batch-modal .energy-room-resolution>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.energy-batch-modal .energy-room-source{flex-shrink:0;margin:0;font-size:12px;padding:2px 5px}
.energy-usage-input{display:flex;align-items:center;position:relative;min-width:0}
.energy-batch-modal .energy-usage-input input{padding-right:28px}
.energy-usage-input i{position:absolute;right:8px;font-size:12px;font-style:normal;color:#57728b;pointer-events:none}
.energy-batch-modal .energy-batch-review-guide{padding:7px 10px;border:0;background:none}
.energy-batch-modal .energy-batch-review-guide b{display:none}
.energy-batch-modal .energy-batch-review-guide span{font-size:14px;line-height:1.4}
.energy-batch-modal .energy-batch-review-guide>strong{display:none}
.energy-batch-modal .energy-batch-review-filters{padding:6px;gap:6px}
.energy-batch-modal .energy-batch-review-filters button{font-size:14px;min-height:38px}
.energy-batch-modal .energy-batch-review-filters button b{font-size:12px;min-height:22px}
.energy-batch-modal .energy-batch-filter-label{font-size:12px}
.energy-batch-modal .energy-batch-review-toolbar>label{font-size:14px}
.energy-batch-modal .energy-batch-review-toolbar>div{font-size:13px}
.energy-batch-modal .energy-batch-review-toolbar>.btn{font-size:14px;min-height:38px}
.energy-batch-modal .energy-batch-dedupe-note{font-size:12px;padding:6px 10px}
.energy-batch-modal .energy-batch-dedupe-note b,
.energy-batch-modal .energy-batch-dedupe-note span{font-size:12px;line-height:1.4}
.energy-batch-modal .energy-batch-actions .btn{font-size:15px;min-height:42px}
.energy-batch-modal .energy-batch-save-progress span,
.energy-batch-modal .energy-batch-save-progress small{font-size:13px}
.energy-batch-modal.is-review>.energy-capture-intro{display:none}
@media(min-width:1280px){
  /* Keep accessible row labels without repeating visible desktop headings. */
  .energy-batch-modal .energy-batch-row>label>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(max-width:1279px){
  .energy-batch-modal .energy-batch-column-head{display:none}
  .energy-batch-modal .energy-batch-row{grid-template-columns:repeat(4,minmax(0,1fr))}
  .energy-batch-modal .energy-batch-ticket{grid-column:1/-1;grid-row:auto}
  .energy-batch-modal .energy-batch-room{grid-column:span 2}
  .energy-batch-modal .energy-batch-row-note{grid-column:1/-1}
}
@media(max-width:920px){
  .energy-batch-modal .energy-batch-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}
  .energy-batch-modal .energy-batch-room{grid-column:1/-1}
  .energy-batch-modal .energy-batch-row input,
  .energy-batch-modal .energy-batch-row select{font-size:16px;min-height:44px;height:44px}
  .energy-batch-modal .energy-batch-ticket{grid-template-columns:24px 58px minmax(0,1fr) 44px}
  .energy-batch-modal .energy-batch-remove{width:44px;height:44px}
  .energy-batch-modal .energy-batch-review-toolbar{grid-template-columns:1fr auto}
  .energy-batch-modal .energy-batch-review-toolbar>div{grid-column:1/-1;grid-row:2}
}
@media(max-width:480px){
  .energy-batch-modal .energy-batch-row{grid-template-columns:minmax(0,1fr)}
  .energy-batch-modal .energy-batch-room{grid-column:1}
}

#imageBackdrop .image-preview-stage{box-sizing:border-box;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:76px 16px 42px}
#imageBackdrop #imagePreview{max-width:none!important;max-height:none!important;object-fit:contain;transition:opacity .12s;grid-area:1/1;will-change:auto;flex-shrink:0}
#imageBackdrop .image-zoom-toolbar{top:12px;left:12px;gap:7px;max-width:calc(100% - 24px);flex-wrap:wrap;box-sizing:border-box}
#imageBackdrop .image-zoom-toolbar button{min-width:42px;min-height:42px;height:42px;padding:0 12px;font-size:15px}
#imageBackdrop .image-zoom-toolbar strong{font-size:14px}
#imageBackdrop .image-zoom-toolbar>span{display:none}
@media(max-width:920px){
  #imageBackdrop .image-preview-stage{padding:calc(50px + env(safe-area-inset-top)) 10px calc(148px + env(safe-area-inset-bottom))!important}
  #imageBackdrop .image-zoom-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:300px;max-width:calc(100% - 24px);bottom:calc(16px + env(safe-area-inset-bottom))!important;top:auto!important;left:50%!important;transform:translateX(-50%);padding:8px;gap:6px}
  #imageBackdrop .image-zoom-toolbar button{width:100%;min-width:0!important;height:44px!important;min-height:44px;font-size:15px!important;padding:0 5px!important}
}

/* V16.9: the whole review page scrolls; the table has no inner scroll area. */
.modal.modal-energy-batch{height:auto;max-height:calc(100dvh - 16px)}
.modal-energy-batch #modalBody{overflow-y:auto;overflow-x:hidden;min-height:0}
.modal-energy-batch .energy-batch-modal{display:block;height:auto;min-height:0;overflow:visible}
.modal-energy-batch .energy-batch-pane[data-energy-batch-pane="review"],
.modal-energy-batch .energy-batch-pane[data-energy-batch-pane="upload"]{display:block;height:auto;max-height:none;overflow:visible}
.modal-energy-batch .energy-batch-rows{flex:none;height:auto;max-height:none;overflow:visible;gap:8px}
.modal-energy-batch .energy-batch-source-preview{height:auto;max-height:none;overflow:visible;grid-template-columns:repeat(auto-fill,minmax(86px,100px))}
.modal-energy-batch .energy-batch-drop{display:block;border:1px solid #c6d6e5;box-shadow:none;background:#fff}
.modal-energy-batch .energy-photo-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.modal-energy-batch .energy-batch-pager{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:14px 0;font-size:14px}
.modal-energy-batch .energy-batch-pager.hidden{display:none}
.modal-energy-batch .energy-batch-actions{position:sticky;bottom:0;z-index:10;flex-wrap:wrap;background:#fff}
.modal-energy-batch .energy-batch-column-head{position:sticky;top:0;z-index:5}
@media(max-width:920px){
  #imageBackdrop .image-preview-stage{padding-bottom:calc(200px + env(safe-area-inset-bottom))!important}
}
.energy-incomplete-list>.energy-progress-pager{display:grid!important;grid-template-columns:minmax(0,1fr) auto 100px 100px!important;gap:12px;align-items:center;padding:16px 10px;color:var(--mist-ink,#263b50)}
.energy-progress-pager label{display:flex;gap:8px;align-items:center;min-width:0}.energy-progress-pager select{width:auto;min-height:44px}.energy-progress-pager>span{white-space:nowrap}.energy-progress-pager .btn{width:100%;min-width:0;min-height:44px;margin:0;white-space:nowrap}
@media(max-width:620px){.energy-incomplete-list>.energy-progress-pager{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.energy-progress-pager>span{text-align:right}.energy-progress-pager .btn{grid-row:2}}
.energy-payment-photo{justify-self:start;min-height:44px}.energy-payment-no-photo{margin:0;color:var(--mist-muted,#60768a);font-size:13px}
.energy-progress-buttons:has(.energy-review-block-reason){flex-wrap:wrap}
.energy-review-block-reason{flex:1 1 100%;color:#875114;font-size:12px;line-height:1.35;text-align:right;overflow-wrap:anywhere}
@media(max-width:640px){.energy-review-block-reason{text-align:left}}
.energy-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.energy-policy-card{padding:20px;background:var(--mist-white,#f8fbfd);border:1px solid var(--mist-border,#d3e5f0);border-radius:14px;display:grid;gap:12px;align-content:start}
.energy-policy-card header{display:flex;align-items:center;gap:10px}.energy-policy-card h4{margin:0;font-size:16px}.energy-policy-card header>span{font-variant-numeric:tabular-nums;color:var(--mist-muted,#60768a)}
.energy-policy-offset{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px;margin:0}.energy-policy-offset input{width:80px;min-height:44px;margin:0;text-align:center;font-variant-numeric:tabular-nums}
.energy-policy-choice,.energy-policy-switch{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;margin:0;cursor:pointer}.energy-policy-choice input,.energy-policy-switch input{width:18px;height:18px;margin:0;flex-shrink:0}
.energy-policy-example{margin:0;padding:12px;background:var(--mist-pale,#eaf3f8);border-radius:8px;color:var(--mist-ink,#263b50);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.energy-policy-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}.energy-policy-foot p{max-width:780px;margin:0;font-size:13px;line-height:1.7;color:var(--mist-ink,#263b50)}.energy-policy-foot .btn{flex-shrink:0;min-height:44px}
.energy-policy-notice{padding:16px;background:var(--mist-pale,#eaf3f8);border-radius:10px;font-size:14px;line-height:1.6}.energy-policy-notice p{margin-bottom:0}
.energy-reminder-bills{display:grid;gap:8px;margin:16px 0}.energy-reminder-bill{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--mist-border,#d3e5f0);border-radius:10px;background:var(--mist-white,#f8fbfd);color:var(--mist-ink,#263b50);padding:12px;min-height:44px;cursor:pointer;text-align:left}.energy-reminder-bill span{font-size:13px}.energy-reminder-bill:focus-visible{outline:2px solid var(--mist-primary,#4b75a2);outline-offset:2px}
@media(max-width:700px){.energy-policy-grid{grid-template-columns:minmax(0,1fr)}.energy-policy-card{padding:16px}.energy-policy-foot{flex-direction:column;align-items:stretch}.energy-reminder-bill{flex-direction:column;align-items:flex-start}}
.energy-policy-month-end{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}.energy-policy-month-end input[type=number]{width:80px;min-height:44px;margin:0;text-align:center}.energy-policy-month-end label{margin:0}
.energy-cycle-help{color:var(--mist-muted,#60768a);font-size:13px;line-height:1.65;margin:0}
.energy-utility-policy .energy-policy-grid{margin:12px 0}.energy-utility-policy .energy-policy-card{padding:16px;gap:8px;background:#fff}.energy-utility-policy .energy-policy-offset input{width:72px}.energy-payment-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.energy-period-title{font-size:14px;margin:20px 0 8px}.energy-cycle-result .energy-sequence-warning{color:#975010}.energy-cycle-result small:empty{display:none}.energy-policy-form h3{margin-top:0}.energy-policy-form>h3{font-size:20px}
.energy-room-workflow{min-width:0}.energy-room-account{display:grid;gap:3px;font-size:12px;line-height:1.5;margin:8px 0;overflow-wrap:anywhere}.energy-room-account span{color:var(--mist-muted,#60768a)}.energy-room-account b{color:var(--mist-ink,#263b50);font-weight:500}.energy-room-account small{color:var(--mist-muted,#60768a)}.energy-stage-list{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:7px}.energy-stage-list li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;font-size:12px;line-height:1.5}.energy-stage-list li>span{color:var(--mist-muted,#60768a)}.energy-stage-list li>div{display:grid;gap:1px;min-width:0}.energy-stage-list b{font-weight:500;overflow-wrap:anywhere}.energy-stage-list small{font-size:11px;color:var(--mist-muted,#60768a)}.energy-stage-list .done b{color:#197451}.energy-stage-list .overdue b{color:#af313d}.energy-stage-list .pending b{color:#92510c}.energy-stage-list .waiting b,.energy-stage-list .unknown b{color:var(--mist-muted,#60768a)}.energy-next-arrival{font-size:12px;line-height:1.6;margin:12px 0 0;padding:8px;border-radius:6px;background:#eaf6ef;color:#196543;overflow-wrap:anywhere}.energy-room-workflow .energy-room-empty{min-height:32px;margin:8px 0}.energy-room-workflow .energy-room-empty strong{font-size:13px}
@media(min-width:1001px){.energy-room-card:has(.energy-room-workflow) .energy-room-utilities{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}@media(max-width:700px){.energy-room-card:has(.energy-room-workflow) .energy-room-utilities{grid-template-columns:minmax(0,1fr)}.energy-stage-list li{font-size:13px}.energy-stage-list small{font-size:12px}.energy-utility-policy .energy-policy-card{padding:12px}.energy-cycle-result{display:grid!important}.energy-policy-form .energy-policy-offset input{font-size:16px}}
.energy-policy-scanning{margin-top:20px;padding-top:20px;border-top:1px solid var(--mist-border,#d3e5f0)}
.energy-cycle-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:12px}.energy-cycle-heading h4{margin:0 0 8px;font-size:16px}.energy-cycle-heading h4>span{color:var(--mist-muted,#60768a);font-weight:400;margin-right:8px}.energy-cycle-heading p{max-width:800px;margin:0;font-size:14px;line-height:1.65}.energy-cycle-heading>label{font-size:13px;flex-shrink:0;display:grid;gap:6px}.energy-cycle-heading input{width:100px;min-height:44px;margin:0}
.energy-cycle-list{display:grid;gap:10px;margin-top:16px}.energy-cycle-card{border:1px solid var(--mist-border,#d3e5f0);border-radius:12px;background:var(--mist-white,#f8fbfd);min-width:0;overflow:hidden}.energy-cycle-card>summary{padding:12px 16px;min-height:48px;cursor:pointer;color:var(--mist-ink,#263b50)}.energy-cycle-card>summary strong{margin-left:6px;font-size:15px}.energy-cycle-card>summary span{font-size:13px;margin-left:16px;color:var(--mist-muted,#60768a)}.energy-cycle-card>summary:focus-visible{outline:2px solid var(--mist-primary,#4b75a2);outline-offset:-3px}.energy-cycle-body{padding:0 16px 16px}.energy-cycle-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 12px}.energy-cycle-controls>label{display:grid;gap:6px;font-size:13px;margin:0}.energy-cycle-controls input,.energy-cycle-controls select{min-height:44px;margin:0;width:100%}
.energy-cycle-periods{margin-top:12px;border:1px solid var(--mist-border,#d3e5f0);border-radius:8px;overflow:hidden}.energy-cycle-period{display:grid;grid-template-columns:minmax(140px,1fr) minmax(200px,1fr) minmax(230px,1.25fr);gap:20px;align-items:center;padding:12px;border-top:1px solid var(--mist-border,#d3e5f0)}.energy-cycle-period:first-child{border-top:0}.energy-cycle-period-name,.energy-cycle-result{display:grid;gap:6px;min-width:0}.energy-cycle-period-name strong{font-size:14px}.energy-cycle-period small{color:var(--mist-muted,#60768a);font-size:12px}.energy-cycle-result b{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-weight:500}.energy-cycle-arrival{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:8px}.energy-cycle-arrival label{display:grid;gap:4px;margin:0;font-size:12px}.energy-cycle-arrival input,.energy-cycle-arrival select{margin:0;width:100%;min-height:44px}
@media(max-width:1000px){.energy-cycle-period{grid-template-columns:minmax(0,1fr) minmax(180px,1fr);gap:12px}.energy-cycle-result{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}}
@media(max-width:700px){.energy-policy-offset,.energy-policy-choice,.energy-policy-switch,.energy-policy-month-end{font-size:16px}.energy-cycle-heading{flex-direction:column;gap:12px}.energy-cycle-controls{grid-template-columns:minmax(0,1fr)}.energy-cycle-period{grid-template-columns:minmax(0,1fr);gap:10px}.energy-cycle-card>summary span{display:block;margin:6px 0 0 20px}.energy-cycle-arrival{grid-template-columns:minmax(0,1fr) 90px}.energy-cycle-controls input,.energy-cycle-controls select,.energy-cycle-arrival input,.energy-cycle-arrival select,.energy-policy-month-end input{font-size:16px}.energy-cycle-result{grid-column:auto;display:grid;gap:6px}}

/* Room history: a single room context, current bills, then comparable trends and older records. */
.energy-room-history-modal.v1777{gap:12px}.energy-history-context{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 12px;background:#eaf3f8;border-radius:9px;color:#48637a;font-size:13px}.energy-history-context span+span{padding-left:9px;border-left:1px solid #c8dbe8}.energy-history-scroll{flex:1;min-height:0;overflow:auto;display:grid;align-content:start;gap:14px;padding-right:3px}.energy-history-current-grid,.energy-history-chart-grid,.energy-history-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.energy-history-current-card,.energy-history-chart-panel,.energy-history-group{min-width:0;border:1px solid #d3e5f0;border-radius:11px;background:#f8fbfd;overflow:hidden}.energy-history-current-card{border-top:3px solid #4b75a2}.energy-history-current-card.water,.energy-history-chart-panel.water,.energy-history-group.water{--energy-accent:#2799b6}.energy-history-current-card.gas,.energy-history-chart-panel.gas,.energy-history-group.gas{--energy-accent:#dc922c}.energy-history-current-card.electric,.energy-history-chart-panel.electric,.energy-history-group.electric{--energy-accent:#4b75a2}.energy-history-current-card{border-top-color:var(--energy-accent,#4b75a2)}.energy-history-current-card>header,.energy-history-group>header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;background:#eaf3f8;color:#263b50}.energy-history-current-card>header small,.energy-history-group>header span{color:#60768a;font-size:12px}.energy-history-current-card>p,.energy-history-group-empty{margin:0;padding:17px;color:#60768a;font-size:13px}.energy-history-bill{padding:10px 12px;border-top:1px solid #d3e5f0;background:#fff}.energy-history-bill.current{border-top:0}.energy-history-bill-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.energy-history-bill-main time{font-weight:700;color:#48637a;font-size:13px}.energy-history-bill-main strong{font-size:19px;color:#215d89;font-variant-numeric:tabular-nums}.energy-history-bill-main>span:not(.energy-status):not(.energy-payment-pill){font-size:12px;color:#60768a}.energy-history-bill-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:9px}.energy-history-bill-actions .energy-history-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.energy-history-bill-actions .energy-history-actions .btn{min-width:0;min-height:34px;padding:5px 8px;font-size:12px}.energy-history-bill-actions .energy-history-actions .btn:disabled{display:none}.energy-history-chart{padding:11px;border:1px solid #d3e5f0;border-radius:11px;background:#fff}.energy-history-chart-panel{padding:10px 12px;display:grid;gap:10px}.energy-history-chart-panel h5{margin:0;font-size:14px;color:#263b50}.energy-history-chart-panel p{margin:10px 0;color:#60768a;font-size:13px}.energy-history-bars{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:end;gap:5px;height:166px}.energy-history-bar-item{display:grid;grid-template-rows:30px minmax(0,1fr) 27px;align-items:end;justify-items:center;min-width:0;height:100%;font-variant-numeric:tabular-nums}.energy-history-bar-item b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#355b7c;font-size:10px}.energy-history-bar-item small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#60768a;font-size:10px}.energy-history-bar-track{display:flex;align-items:end;width:min(100%,28px);height:100%;border-radius:5px 5px 0 0;background:#eaf3f8}.energy-history-bar-track i{display:block;width:100%;min-height:3px;border-radius:5px 5px 0 0;background:var(--energy-accent,#4b75a2)}.energy-history-older{display:grid;gap:8px}.energy-history-group>div{display:grid;align-content:start}.energy-history-group>header h4{margin:0;font-size:14px}.energy-history-group .energy-history-bill-main strong{font-size:16px}.energy-history-group .energy-history-bill-actions{flex-wrap:wrap}.energy-history-group .energy-history-actions{flex:1}.energy-history-current-card .energy-history-bill-main{min-height:40px}
@media(max-width:1120px){.energy-history-current-grid,.energy-history-chart-grid,.energy-history-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.energy-history-current-grid,.energy-history-chart-grid,.energy-history-group-grid{grid-template-columns:minmax(0,1fr)}.energy-history-context{font-size:12px}.energy-history-bill-actions{align-items:flex-start;flex-direction:column}.energy-history-bill-actions .energy-history-actions{justify-content:flex-start}.energy-history-chart-panel{min-height:195px}.energy-history-bar-item b{font-size:11px}}

/* Three independent utility cycles: readable on desktop, no horizontal scrolling on phone. */
.energy-progress-summary:has(.energy-cycle-overview){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.energy-cycle-overview{min-width:0;padding:13px;border:1px solid #d3e5f0;border-top:3px solid var(--cycle-accent,#4b75a2);border-radius:11px;background:#f8fbfd}.energy-cycle-overview.electric{--cycle-accent:#4b75a2}.energy-cycle-overview.water{--cycle-accent:#2799b6}.energy-cycle-overview.gas{--cycle-accent:#dc922c}.energy-cycle-overview>header{display:flex;justify-content:space-between;align-items:flex-start;gap:7px}.energy-cycle-overview>header>div{display:grid;gap:3px}.energy-cycle-overview>header b{color:#263b50;font-size:16px}.energy-cycle-overview>header small{color:#60768a;font-size:12px}.energy-cycle-overview>header>span{flex-shrink:0;color:#48637a;font-size:12px}.energy-cycle-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;list-style:none;margin:15px 0 12px;padding:0}.energy-cycle-timeline li{display:grid;gap:4px;align-content:start;min-width:0;position:relative}.energy-cycle-timeline li:not(:last-child):after{content:'';position:absolute;top:13px;left:27px;width:calc(100% - 20px);height:2px;background:#cbdde9}.energy-cycle-timeline i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#d6e4ec;color:#526b7e;font-size:12px;font-style:normal;font-weight:800}.energy-cycle-timeline .done i{background:#e0f3e8;color:#237547}.energy-cycle-timeline .overdue i{background:#ffe8db;color:#a85228}.energy-cycle-timeline b{font-size:12px;color:#263b50}.energy-cycle-timeline time{font-size:11px;color:#60768a;overflow-wrap:anywhere}.energy-cycle-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.energy-cycle-counts>span{display:grid;gap:3px;min-width:0;padding:7px;border-radius:7px;background:#eaf3f8}.energy-cycle-counts>span small{font-size:11px;color:#60768a;overflow-wrap:anywhere}.energy-cycle-counts>span b{font-size:16px;color:#315b7d}.energy-cycle-missing-rooms{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:10px 0 0;font-size:11px;color:#60768a}.energy-cycle-missing-rooms b{font-size:12px;color:#985d18}.energy-cycle-missing-rooms span{padding:2px 6px;border-radius:5px;background:#fff0db;color:#795113}.energy-cycle-missing-rooms small{font-size:11px}.energy-progress-kind-group{display:grid;gap:6px;margin-bottom:8px}.energy-progress-kind-group>header{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-radius:8px;background:#eaf3f8}.energy-progress-kind-group h5{margin:0;color:#263b50;font-size:14px}.energy-progress-kind-group>header span{font-size:12px;color:#60768a}.energy-incomplete-item.v1777{display:grid;grid-template-columns:minmax(225px,1fr) minmax(150px,.75fr) auto;gap:10px;align-items:center;border-color:#d3e5f0;border-left-color:#4b75a2;background:#fff}.energy-incomplete-item.v1777 .energy-incomplete-identity>strong{font-size:14px}.energy-incomplete-statuses{display:flex;gap:5px;flex-wrap:wrap}.energy-incomplete-statuses span{padding:5px 7px;border-radius:6px;background:#fff0db;color:#915a15;font-size:11px;font-weight:700}.energy-incomplete-item.v1777 .energy-progress-row-actions{grid-column:auto;grid-row:auto}.energy-incomplete-item.v1777 .energy-progress-buttons{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1180px){.energy-progress-summary:has(.energy-cycle-overview){grid-template-columns:repeat(2,minmax(0,1fr))}.energy-incomplete-item.v1777{grid-template-columns:minmax(0,1fr) auto}.energy-incomplete-statuses{grid-column:1}.energy-incomplete-item.v1777 .energy-progress-row-actions{grid-column:2;grid-row:1/3}}
@media(max-width:750px){.energy-progress-summary:has(.energy-cycle-overview){grid-template-columns:minmax(0,1fr)}.energy-incomplete-item.v1777{grid-template-columns:minmax(0,1fr)}.energy-incomplete-statuses,.energy-incomplete-item.v1777 .energy-progress-row-actions{grid-column:auto;grid-row:auto}.energy-incomplete-item.v1777 .energy-progress-buttons{justify-content:flex-start}.energy-cycle-counts>span small{font-size:10px}.energy-cycle-timeline time{font-size:10px}}

/* Room bills: the trend leads, current actions stay on one line, and older rows expand in batches. */
.energy-room-history-modal.v1777{gap:8px}
.energy-room-history-modal.v1777 .energy-history-scroll{gap:10px}
.energy-room-history-modal.v1777 .energy-history-context{padding:6px 10px}
.energy-room-history-modal.v1777 .energy-history-chart{padding:9px 10px}
.energy-room-history-modal.v1777 .energy-history-chart-grid{gap:8px}
.energy-room-history-modal.v1777 .energy-history-chart-panel{gap:4px;padding:8px 10px;background:#f8fbfd}
.energy-history-line-wrap{min-width:0}
.energy-history-line{display:block;width:100%;height:84px;overflow:visible}
.energy-history-line .energy-history-axis{stroke:#cbdde9;stroke-width:.7;vector-effect:non-scaling-stroke}
.energy-history-line polyline{fill:none;stroke:var(--energy-accent,#4b75a2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.energy-history-line ellipse{fill:var(--energy-accent,#4b75a2);stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}
.energy-history-line-labels,.energy-history-chart-values{display:flex;justify-content:space-between;gap:8px;color:#60768a;font-size:11px;font-variant-numeric:tabular-nums}
.energy-history-chart-values{padding-top:3px;border-top:1px solid #d3e5f0}
.energy-history-chart-values b{color:#315b7d;font-size:13px}
.energy-room-history-modal.v1777 .energy-history-current-card>header,.energy-room-history-modal.v1777 .energy-history-group>header{padding:7px 10px}
.energy-room-history-modal.v1777 .energy-history-current-card>header b,.energy-room-history-modal.v1777 .energy-history-group>header h4{font-size:13px}
.energy-room-history-modal.v1777 .energy-history-bill{position:relative;padding:8px 10px;min-width:0}
.energy-room-history-modal.v1777 .energy-history-bill.current{padding-right:10px}
.energy-history-bill-flags{display:flex;justify-content:flex-end;gap:4px;min-height:21px;white-space:nowrap}
.energy-room-history-modal.v1777 .energy-history-bill-main{gap:6px;flex-wrap:nowrap;min-height:0;overflow:hidden}
.energy-room-history-modal.v1777 .energy-history-bill-main time{flex-shrink:0;font-size:12px}
.energy-room-history-modal.v1777 .energy-history-bill-main strong{font-size:16px;white-space:nowrap}
.energy-room-history-modal.v1777 .energy-history-bill-main>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.energy-room-history-modal.v1777 .energy-history-bill-actions{display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:6px;margin-top:5px}
.energy-room-history-modal.v1777 .energy-history-bill-actions .btn,.energy-history-load-more,.energy-history-more-actions>summary{min-height:34px;padding:5px 8px;font-size:12px}
.energy-history-load-more{display:block;width:100%;border:0;border-top:1px solid #d3e5f0;background:#f0f6fa;color:#315b7d;cursor:pointer;font-weight:600}
.energy-history-load-more:hover,.energy-history-more-actions>summary:hover{background:#e1edf5}
.energy-history-load-more:focus-visible,.energy-history-more-actions>summary:focus-visible{outline:2px solid #4b75a2;outline-offset:2px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:5px;align-items:center;padding:5px 8px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-flags{grid-column:2;grid-row:1;justify-content:flex-start;min-height:0;gap:2px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-main{grid-column:1;grid-row:1;gap:4px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-main strong{font-size:14px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-actions{grid-column:3;grid-row:1;justify-content:flex-end;margin:0;gap:3px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-actions .btn,.energy-room-history-modal.v1777 .energy-history-group .energy-history-photo-link{min-width:0;padding:4px 5px;font-size:11px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-flags .energy-status,.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-flags .energy-payment-pill{font-size:10px;padding:3px 4px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-more-actions{margin:0}
@media(max-width:1120px){.energy-room-history-modal.v1777 .energy-history-current-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-room-history-modal.v1777 .energy-history-group-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.energy-room-history-modal.v1777 .energy-history-current-grid,.energy-room-history-modal.v1777 .energy-history-chart-grid{grid-template-columns:minmax(0,1fr)}.energy-room-history-modal.v1777 .energy-history-chart-panel{display:grid;grid-template-columns:48px minmax(0,1fr) 70px;align-items:center;gap:7px;padding:5px 8px;min-height:0}.energy-room-history-modal.v1777 .energy-history-chart-panel h5{font-size:12px}.energy-room-history-modal.v1777 .energy-history-chart-panel p{grid-column:2/-1;margin:0}.energy-room-history-modal.v1777 .energy-history-line{height:43px}.energy-room-history-modal.v1777 .energy-history-line-labels{font-size:9px}.energy-room-history-modal.v1777 .energy-history-chart-values{display:grid;gap:2px;border:0;border-left:1px solid #d3e5f0;padding:0 0 0 6px;font-size:10px}.energy-room-history-modal.v1777 .energy-history-chart-values b{font-size:12px}.energy-room-history-modal.v1777 .energy-history-bill-actions{flex-direction:row;align-items:center}.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill{grid-template-columns:minmax(0,1fr) auto;row-gap:4px}.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-main{grid-column:1/-1;grid-row:1}.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-flags{grid-column:1;grid-row:2}.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-actions{grid-column:2;grid-row:2;justify-content:flex-end}.energy-room-history-modal.v1777 .energy-history-group .energy-history-more-actions{margin-left:auto}}

/* V17.8.0: read-only analysis, compact filtering, and original-bill verification. */
.energy-cost-kpis>.energy-kpi-static{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:9px;min-width:0;min-height:92px;padding:11px 12px;border:1px solid #d2e0eb;border-radius:13px;background:#fff;text-align:left;cursor:default}
.energy-cost-kpis>.energy-kpi-static .energy-kpi-icon{grid-row:1/4}.energy-cost-kpis>.energy-kpi-static small{align-self:end}.energy-cost-kpis>.energy-kpi-static b{margin:3px 0 1px;font-size:22px}.energy-cost-kpis>.energy-kpi-static em{overflow:hidden;color:#60768a;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.energy-history-period-filter{display:inline-flex;align-items:center;gap:7px;margin-left:auto;white-space:nowrap;font-size:12px;font-weight:700}.energy-history-period-filter select{min-width:142px;min-height:34px;margin:0;padding:4px 8px;border:1px solid #9fb9cc;border-radius:7px;background:#fff;color:#263b50;font-size:13px}
.energy-progress-filters .energy-progress-sort{margin-left:0;min-height:33px;white-space:nowrap}.energy-progress-filters .recent{margin-left:auto}.energy-missing-main>.energy-section-title{margin-bottom:5px}
.custody-task-explainer{display:grid;gap:5px;padding:11px 13px;border:1px solid #bfd6e7;border-left:4px solid #4b75a2;border-radius:9px;background:#eef6fb;color:#263b50;line-height:1.5}.custody-task-explainer p{margin:0;overflow-wrap:anywhere}.custody-task-explainer p+p{color:#4e657a;font-size:13px}
.modal.modal-energy-proof{width:min(1240px,calc(100vw - 22px));max-height:94vh}.modal-energy-proof .energy-proof-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(350px,.8fr);gap:12px;min-height:0;height:min(72vh,680px);padding:12px;overflow:hidden}.energy-proof-media,.energy-proof-form{min-width:0;min-height:0;border:1px solid #d3e5f0;border-radius:11px;background:#f8fbfd}.energy-proof-media{display:flex;flex-direction:column;overflow:hidden}.energy-proof-media>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;padding:8px 10px;background:#eaf3f8}.energy-proof-media>header>div:first-child{display:grid;gap:2px}.energy-proof-media>header b{color:#263b50;font-size:14px}.energy-proof-media>header small{color:#4e657a;font-size:11px}.energy-proof-tools{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.energy-proof-tools button,.energy-proof-full{min-width:34px;min-height:34px;padding:4px 7px;border:1px solid #9bb4c8;border-radius:7px;background:#fff;color:#315b7d;font-size:13px;font-weight:700;cursor:pointer}.energy-proof-tools span{min-width:42px;text-align:center;color:#4e657a;font-size:12px}.energy-proof-stage{display:grid;flex:1;min-height:180px;place-items:center;overflow:hidden;background:#dfeaf1;touch-action:none;cursor:default}.energy-proof-stage.zoomed{cursor:grab}.energy-proof-stage.zoomed:active{cursor:grabbing}.energy-proof-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;user-select:none;will-change:transform}.energy-proof-stage p{max-width:36ch;margin:12px;text-align:center;color:#60768a}.energy-proof-stage.loading{background:#eaf3f8}.energy-proof-full{align-self:flex-end;margin:6px 9px}.energy-proof-form{display:flex;flex-direction:column;gap:10px;overflow:auto;padding:14px}.energy-proof-form h3{margin:0;color:#263b50;font-size:17px}.energy-proof-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}.energy-proof-facts>div{min-width:0;padding:7px 9px;border-radius:7px;background:#eaf3f8}.energy-proof-facts dt{color:#60768a;font-size:11px}.energy-proof-facts dd{margin:3px 0 0;overflow-wrap:anywhere;color:#263b50;font-size:13px;font-weight:700}.energy-proof-facts>div:nth-child(5) dd{color:#215d89;font-family:Georgia,serif;font-size:19px}.energy-proof-form .energy-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-proof-form .energy-payment-confirm{padding:9px 10px}.energy-proof-form .energy-review-warning{padding:8px 10px}.energy-proof-form .modal-actions{position:sticky;bottom:-14px;z-index:1;flex-wrap:wrap;margin:auto -14px -14px;padding:10px 14px;background:#f8fbfd;border-top:1px solid #d3e5f0}.energy-proof-reviewed{margin:0;color:#4e657a;font-size:12px}.energy-proof-form>label{display:grid;gap:4px}.energy-proof-form textarea{width:100%;min-height:78px}
.energy-proof-tools button:focus-visible,.energy-proof-full:focus-visible,.energy-proof-stage:focus-visible,.energy-history-period-filter select:focus-visible{outline:2px solid #4b75a2;outline-offset:2px}
@media(max-width:900px){.modal-energy-proof .energy-proof-layout{grid-template-columns:minmax(0,1fr) minmax(320px,.85fr)}.energy-proof-media>header{align-items:flex-start}.energy-proof-tools{width:100%}}
@media(max-width:700px){.energy-history-period-filter{width:100%;margin-left:0}.energy-history-period-filter select{flex:1}.modal.modal-energy-proof{width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}.modal-energy-proof .energy-proof-layout{display:flex;flex-direction:column;height:auto;min-height:0;overflow:auto}.energy-proof-media{flex:none}.energy-proof-tools button{min-width:40px;min-height:40px}.energy-proof-stage{height:min(38vh,320px);min-height:220px}.energy-proof-form{overflow:visible;flex:none}.energy-proof-form .energy-form-grid,.energy-proof-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-cost-kpis>.energy-kpi-static{min-height:78px}.energy-progress-filters .recent{margin-left:0}}
@media(max-width:420px){.energy-proof-facts{grid-template-columns:minmax(0,1fr)}.energy-proof-tools button{min-width:32px}.energy-proof-form .energy-form-grid{grid-template-columns:minmax(0,1fr)}}

/* Large review workspace: the paper remains the primary surface. */
.modal.modal-energy-proof{display:flex;flex-direction:column;width:95vw;height:95dvh;max-height:95dvh;overflow:hidden}
.modal-energy-proof .modal-head{flex:0 0 auto}
.modal-energy-proof #modalBody{flex:1;min-height:0;overflow:hidden}
.modal-energy-proof .energy-proof-layout{box-sizing:border-box;height:100%;grid-template-columns:minmax(0,1.55fr) minmax(360px,.85fr)}
.energy-proof-stage{position:relative;cursor:grab}
.energy-proof-stage.dragging{cursor:grabbing}
.energy-proof-layer{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform-origin:center;will-change:auto}
.energy-proof-stage.dragging .energy-proof-layer{will-change:transform}
.energy-proof-stage .energy-proof-layer img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;pointer-events:none;will-change:auto}
.energy-review-modal #erCorrections{padding:10px;border:1px solid #c9dcea;border-radius:9px;background:#eef6fb}
@media(max-width:700px){.modal.modal-energy-proof{width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}.modal-energy-proof #modalBody{overflow:auto}.modal-energy-proof .energy-proof-layout{height:auto;display:flex;flex-direction:column;overflow:auto}.energy-proof-stage{height:min(38vh,320px)}.energy-proof-form{overflow:visible}}

/* V17.8.2: one chronological backlog per room/type, month-aware search. */
#page-energy .energy-room-filters{grid-template-columns:minmax(220px,2fr) minmax(120px,1fr) minmax(120px,1fr) minmax(150px,1fr) auto}
.energy-non-current-badge{margin-left:4px;color:#b42332;font-size:11px;font-style:normal;font-weight:700;white-space:nowrap}
.energy-room-workflow>header{flex-wrap:wrap}
.energy-room-history-modal.v1777 .energy-history-current .energy-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.energy-room-history-modal.v1777 .energy-history-current-card .energy-history-bill-actions{justify-content:flex-start;flex-wrap:wrap}

/* V17.8.3: visible actions, legible period-specific backlog labels. */
.energy-history-action-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:0;padding:4px 5px;border:0;border-radius:4px;background:transparent;color:#215d89;font:inherit;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#b5cbdc}
.energy-history-action-link.danger{color:#b42332;text-decoration-color:#dfb9be}
.energy-history-action-link:hover{background:#eaf3f8;text-decoration-color:currentColor}
.energy-history-action-link:focus-visible{outline:2px solid #4b75a2;outline-offset:1px}
.energy-room-history-modal.v1777 .energy-history-group{container-type:inline-size}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-actions{flex-wrap:wrap;min-width:0;gap:4px}
.energy-room-history-modal.v1777 .energy-history-group .energy-history-photo-link{border:0;background:transparent;color:#215d89;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.energy-incomplete-item.v1777 .energy-incomplete-identity h4{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.energy-incomplete-list .energy-pending-area{margin-left:6px;color:var(--mist-muted,#60768a);font-size:12px;font-weight:400}
.energy-incomplete-list>.energy-progress-pager>span{color:var(--mist-muted,#60768a);font-size:13px;font-weight:400}
.energy-incomplete-statuses{align-items:center}
.energy-incomplete-statuses>span{white-space:nowrap}
.energy-incomplete-statuses>.energy-non-current-badge{margin:0}
@container(max-width:600px){
  .energy-room-history-modal.v1777 .energy-history-group .energy-history-bill{grid-template-columns:minmax(0,1fr) auto;row-gap:0}
  .energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-main{grid-column:1;grid-row:1;flex-wrap:wrap;overflow:visible}
  .energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-flags{grid-column:2;grid-row:1}
  .energy-room-history-modal.v1777 .energy-history-group .energy-history-bill-actions{grid-column:1/-1;grid-row:2;justify-content:flex-end}
}
@media(max-width:700px),(pointer:coarse){
  .energy-history-action-link,.energy-room-history-modal.v1777 .energy-history-group .energy-history-photo-link{min-height:44px;min-width:44px}
}
.energy-room-history-modal.v1777 .energy-history-current-card .energy-history-actions{margin-left:auto}
@media(max-width:1000px){#page-energy .energy-room-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-room-query-wrap{grid-column:1/-1}.energy-room-filter-actions{grid-column:1/-1}}
@media(max-width:620px){#page-energy .energy-room-filters{grid-template-columns:minmax(0,1fr)}.energy-room-query-wrap,.energy-room-filter-actions{grid-column:auto}.energy-room-history-modal.v1777 .energy-history-current-card .energy-history-actions{margin-left:0}}

/* Compact query conditions and independent ordering share one applied scope. */
.energy-bill-search-form{display:flex;align-items:end;flex-wrap:wrap;gap:9px;margin-bottom:8px;padding:10px;border:1px solid #d3e5f0;border-radius:11px;background:#f8fbfd}
.energy-bill-search-fields{display:flex;align-items:end;flex-wrap:wrap;flex:1;gap:8px}
.energy-bill-search-fields>label{display:grid;gap:4px;flex:0 0 calc(6em + 36px);min-width:0;margin:0;color:#526e84;font-size:12px;font-weight:600}
.energy-bill-search-fields>label.energy-search-keyword{flex:1 0 160px}
.energy-bill-search-fields input,.energy-bill-search-fields select{width:100%;min-width:0;min-height:36px;padding:6px 7px;border:1px solid #a9c0d3;border-radius:7px;background:#fff;color:#263b50;font-size:12px}
.energy-bill-search-bottom{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.energy-search-types{min-width:0;margin:0;padding:0;border:0}
.energy-search-types legend{margin:0 0 4px;padding:0;color:#526e84;font-size:12px;font-weight:600}
.energy-search-types label{display:inline-flex;align-items:center;gap:4px;min-height:36px;margin:0;padding:5px 6px;border:1px solid #bfd3e2;border-radius:6px;background:#fff;color:#315b7d;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.energy-search-types label:has(input:checked){border-color:#4b75a2;background:#e9f2fb}
.energy-search-types input{width:16px;height:16px;margin:0;accent-color:#4b75a2}
.energy-search-submit{display:flex;gap:6px;margin-left:auto}.energy-search-submit .btn{min-width:52px;min-height:36px;padding:6px 10px;font-size:12px}
.energy-progress-panel .energy-progress-filters{flex-wrap:wrap;overflow:visible;gap:6px}
.energy-search-sort-controls{display:flex;align-items:center;gap:8px;margin-left:auto;padding-left:14px;border-left:1px solid #cbdde9;color:#60768a;font-size:12px}
.energy-search-sort-controls label{display:flex;align-items:center;gap:7px;margin:0;white-space:nowrap}
.energy-progress-panel .energy-search-sort-controls select{width:auto;min-height:34px;padding:4px 18px 4px 3px;border:0;border-bottom:1px solid #a9c0d3;border-radius:0;background:transparent;color:#315b7d;font-size:12px;cursor:pointer}
.energy-search-sort-controls select:focus-visible{outline:2px solid #4b75a2;outline-offset:2px}
.energy-bill-search-fields :is(input,select):focus-visible,.energy-search-types input:focus-visible,.energy-search-submit .btn:focus-visible,.energy-progress-filters button:focus-visible{outline:2px solid #4b75a2;outline-offset:2px}
.energy-progress-panel .energy-progress-summary.search-summary{display:grid;grid-template-columns:repeat(var(--energy-type-count,3),minmax(0,1fr));gap:10px}
.energy-search-type-card{min-width:0;padding:13px;border:1px solid #d3e5f0;border-top:3px solid var(--cycle-accent,#4b75a2);border-radius:11px;background:#f8fbfd}
.energy-search-type-card.electric{--cycle-accent:#4b75a2}.energy-search-type-card.water{--cycle-accent:#2799b6}.energy-search-type-card.gas{--cycle-accent:#dc922c}
.energy-search-type-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.energy-search-type-card header>div{display:grid;gap:3px}.energy-search-type-card header b{color:#263b50;font-size:17px}.energy-search-type-card header small{color:#60768a;font-size:12px}.energy-search-type-card header strong{color:#315b7d;font-size:16px;white-space:nowrap}
.energy-search-type-card dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:13px 0 0}.energy-search-type-card dl>div{min-width:0;padding:9px;border-radius:7px;background:#eaf3f8}.energy-search-type-card dt{color:#526e84;font-size:11px}.energy-search-type-card dd{margin:3px 0 0;color:#315b7d;font-size:17px;font-weight:800}.energy-search-void{display:block;margin-top:8px;color:#60768a;font-size:11px}
.energy-search-bill .energy-incomplete-statuses span{background:#fff0db;color:#915a15}.energy-search-bill .energy-incomplete-statuses span.done{background:#e7f5ec;color:#247346}.energy-search-bill .energy-incomplete-statuses span.void{background:#edf0f2;color:#546b7b}.energy-search-bill .energy-incomplete-statuses span.energy-search-period{background:#eaf3f8;color:#315b7d}
.energy-disabled-room{margin-left:5px;color:#805b32;font-size:12px;font-weight:600}.energy-search-bill{border-left-color:#4b75a2;background:#fff}
.energy-search-bill .energy-incomplete-identity h4{white-space:normal;overflow:visible}
@media(max-width:900px){.energy-search-type-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.energy-bill-search-fields{flex-basis:100%}.energy-bill-search-fields>label{flex:1 0 calc(50% - 8px)}.energy-bill-search-fields>label.energy-search-keyword{flex-basis:100%}.energy-bill-search-bottom{width:100%}.energy-progress-panel .energy-progress-summary.search-summary{grid-template-columns:minmax(0,1fr)}.energy-search-submit .btn{min-height:44px}.energy-search-types label{min-height:44px}.energy-search-sort-controls{width:100%;margin:4px 0 0;padding:6px 0 0;border-left:0;border-top:1px solid #d3e5f0}.energy-bill-search-fields :is(input,select),.energy-search-sort-controls select{min-height:44px}}
@media(pointer:coarse){.energy-bill-search-fields :is(input,select),.energy-progress-panel .energy-search-sort-controls select,.energy-search-types label,.energy-search-submit .btn{min-height:44px}}
.energy-current-photo{display:grid;gap:6px;width:180px;max-width:100%;min-height:44px;padding:8px;border:1px solid #b9cfe0;border-radius:9px;background:#f5f9fc;color:#315b7d;cursor:zoom-in}
.energy-current-photo img{width:100%;height:150px!important;max-height:150px!important;object-fit:contain;background:#eaf3f8;border-radius:5px}
.energy-current-photo span{font-size:12px;overflow-wrap:anywhere;line-height:1.5}
.energy-current-photo:focus-visible{outline:2px solid #4b75a2;outline-offset:3px}
.energy-manual-photo>.energy-single-preview{grid-template-columns:repeat(auto-fit,minmax(160px,180px));align-items:start}
.energy-single-preview>.energy-review-warning{grid-column:1/-1}
.energy-detail-photo img{height:120px!important;max-height:120px!important;object-fit:contain}
.energy-void-record .energy-review-summary{grid-template-columns:minmax(100px,.8fr) minmax(140px,1fr) minmax(0,2fr)}
.energy-void-record p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.energy-void-record .energy-review-summary{grid-template-columns:minmax(0,1fr)}}
/* Continuous review keeps original media in place after the confirmed receipt. */
.modal-energy-proof #modalTitle{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-width:0;max-height:none;overflow:visible}
.energy-review-nav{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:500}
.energy-review-nav [role=status]{color:#4c6783;font-variant-numeric:tabular-nums}
.energy-review-nav .btn{min-height:36px}
.energy-review-modal #erFeedback{color:#236444;font-size:13px;min-height:20px;margin:10px 0;overflow-wrap:anywhere}
.energy-review-modal :disabled{cursor:not-allowed}
@media(max-width:600px){.energy-review-nav{width:100%}.energy-review-nav .btn{min-height:44px}.modal-energy-proof #modalTitle{font-size:18px;gap:8px}.energy-review-nav [role=status]{flex-basis:100%}}
.energy-duplicate-overlay{position:fixed;inset:0;z-index:12000;background:#182c4866;display:grid;place-items:center;padding:16px}
.energy-duplicate-overlay>section{width:min(840px,100%);max-height:90dvh;overflow:auto;border-radius:16px;background:var(--card,#fff);padding:24px;box-shadow:0 20px 60px #132d4c44}
.energy-duplicate-overlay dd{margin:6px 0 18px;overflow-wrap:anywhere}
.energy-duplicate-overlay button{min-height:44px}
#ebeRecognition:not(:empty){padding:12px;border-radius:10px;background:#eef5fc;line-height:1.6}
/* V17.9.5: room + amount form one compact identity, not a stretched blank column. */
.energy-incomplete-item.v1777.energy-search-bill{grid-template-columns:minmax(240px,310px) minmax(0,1fr) auto;gap:16px;padding:12px}
.energy-search-bill .energy-incomplete-identity{grid-template-columns:34px minmax(0,1fr) auto;gap:10px}
.energy-search-bill .energy-incomplete-identity>strong{font-family:inherit;font-variant-numeric:tabular-nums;font-size:17px;white-space:nowrap}
.energy-search-bill .energy-incomplete-statuses{align-items:center;gap:6px}
.energy-search-bill .energy-incomplete-statuses>span{white-space:nowrap;font-size:12px}
.energy-incomplete-statuses .energy-non-current-badge{display:inline-flex;align-items:center;padding:5px 7px;border-radius:6px;background:#fcebed;color:#ac253c;font-style:normal;font-size:12px;font-weight:700;white-space:nowrap}
.energy-search-bill .energy-progress-buttons .btn{min-height:44px;font-size:12px}
.modal-energy-proof #modalTitle,.modal-energy-proof .energy-review-nav,.modal-energy-proof .energy-proof-tools,.modal-energy-proof .energy-proof-form{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.modal-energy-proof #modalTitle{font-size:20px;font-weight:650;line-height:1.5;gap:20px}
.modal-energy-proof .energy-review-nav{gap:8px;font-size:13px;line-height:1.5}
.modal-energy-proof .energy-review-nav [role=status]{padding-right:12px;border-right:1px solid #d3e5f0}
.modal-energy-proof .energy-review-nav .btn{min-height:44px;font-size:13px;font-weight:600;padding:8px 12px}
.modal-energy-proof .energy-proof-tools button{min-height:44px;min-width:44px}
.energy-proof-form .energy-batch-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.energy-batch-actions #energyBatchNavigation{text-align:right}
.energy-batch-actions .energy-review-nav{justify-content:flex-end;width:100%;gap:8px}
.energy-batch-actions .energy-review-nav [role=status]{flex:1;text-align:left;border:0;padding:0}
.energy-batch-actions #energyBatchSummary{margin:0;font-size:12px;color:#4c6783;line-height:1.5;font-variant-numeric:tabular-nums}
.energy-batch-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.energy-batch-buttons .btn{min-height:44px;font-size:13px;padding:8px 12px}
.energy-batch-buttons [aria-pressed=true]{background:#e8f3fc;border-color:#4b75a2;color:#214f76}
.energy-batch-buttons .danger-outline[aria-pressed=true]{background:#fbecef;border-color:#bb3449;color:#a42439}
@media(max-width:700px){.energy-proof-form .energy-batch-actions{position:static}.energy-batch-buttons .btn{flex:1 1 42%}.energy-batch-actions .energy-review-nav [role=status]{flex-basis:100%}}
.energy-payment-modal #epayFeedback{flex-basis:100%;margin:0;color:#236444;font-size:13px;overflow-wrap:anywhere}
.energy-payment-modal :disabled{cursor:not-allowed}
@media(max-width:1100px){.energy-incomplete-item.v1777.energy-search-bill{grid-template-columns:minmax(215px,270px) minmax(0,1fr)}.energy-search-bill .energy-progress-row-actions{grid-column:1/-1}.energy-search-bill .energy-progress-buttons{justify-content:flex-start}}
@media(max-width:600px){.energy-incomplete-item.v1777.energy-search-bill{grid-template-columns:minmax(0,1fr);gap:10px}.energy-search-bill .energy-progress-row-actions{grid-column:1}.energy-search-bill .energy-progress-buttons{width:100%}.energy-search-bill .energy-progress-buttons .btn{flex:1}.modal-energy-proof #modalTitle{font-size:18px;gap:8px}.modal-energy-proof .energy-review-nav [role=status]{border:0;padding:0}.modal-energy-proof .energy-review-nav .btn{flex:1}}


/* door-records.css */
.door-workspace{font-size:1rem}
.door-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.door-toolbar-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.door-connection{font-size:.9375rem;color:#40516b}
.door-filters{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap;padding:1rem;background:#fff;border:1px solid #dce3ee;border-radius:12px;margin-bottom:1rem}
.door-filters label{display:flex;flex-direction:column;gap:.35rem;font-size:.9375rem;font-weight:600;margin:0}
.door-filters .door-room-field{flex:1;min-width:180px}
.door-filters input{font-size:1rem;width:100%;min-width:0;height:42px}
.door-filters .btn{min-height:42px}
.door-table-wrap{background:#fff;border:1px solid #dce3ee;border-radius:12px;overflow:hidden}
.door-table{width:100%;border-collapse:collapse;text-align:left;table-layout:auto}
.door-table th{background:#f1f5fb;color:#354869;font-size:.9375rem;font-weight:650;padding:.85rem 1rem;border-bottom:1px solid #dce3ee}
.door-table td{padding:.85rem 1rem;font-size:1rem;line-height:1.5;border-bottom:1px solid #edf0f5;overflow-wrap:anywhere}
.door-table td:first-child{color:#03308b;min-width:105px}
.door-table tr:last-child td{border-bottom:0}
.door-table time{font-variant-numeric:tabular-nums}
.door-uploaded{display:block;font-size:.875rem;color:#68778b;margin-top:.2rem}
.door-empty{padding:2rem 1rem;text-align:center;color:#56667f;font-size:1rem}
.door-pager{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:1rem}
.door-pager-controls{display:flex;align-items:center;gap:.6rem}
.door-last-sync{color:#596981;font-size:.9375rem;margin-top:.75rem}
.door-progress{padding:.8rem 1rem;border-radius:10px;background:#eaf1ff;margin-bottom:1rem;color:#123e86}
.door-progress progress{display:block;width:100%;height:8px;margin-top:.5rem;accent-color:#03308b}
.door-warning{padding:.8rem 1rem;border:1px solid #edcb7b;border-radius:10px;background:#fff8e8;color:#765314;margin-bottom:1rem;font-size:1rem}
.door-config form{display:grid;gap:1rem}
.door-config label{display:flex;flex-direction:column;gap:.4rem;font-size:1rem}
.door-config input{font-size:1rem}
.door-config-note{font-size:.9375rem;color:#596981;margin:0}
.door-schedule{display:flex;gap:1rem;align-items:center;justify-content:space-between;border-top:1px solid #dce3ee;padding-top:1rem;margin-top:1.25rem;font-size:1rem}
.door-workspace [hidden]{display:none!important}
@media(max-width:680px){
 .door-filters{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;padding:.8rem}
 .door-filters .door-room-field{grid-column:1/-1;min-width:0}
 .door-filters .btn{grid-column:1/-1}
 .door-filters input{max-width:100%}
 .door-table thead{display:none}
 .door-table,.door-table tbody{display:block;width:100%}
 .door-table tr{display:grid;grid-template-columns:1fr 1fr;padding:.8rem;gap:.4rem .8rem;border-bottom:1px solid #dce3ee}
 .door-table td{display:block;padding:0;border:0;font-size:1rem;min-width:0}
 .door-table td:first-child{font-size:1.1rem;min-width:0}
 .door-table td:nth-child(2){grid-column:1/-1;grid-row:2}
 .door-table td:nth-child(3){text-align:right}
 .door-table td:nth-child(4){grid-column:1/-1;color:#53647c}
 .door-pager-controls{gap:.4rem}
 .door-pager-controls .btn{padding:.5rem .7rem}
}

/* V16.9 local analytics and administrator-only parameter panel. */
.door-person-field{min-width:160px;flex:1}.door-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.door-chart-caption{grid-column:1/-1;margin:0;font-size:16px;color:#536981}.door-chart{min-width:0;background:white;border:1px solid #d9e4f1;border-radius:12px;padding:16px}.door-chart h4{font-size:17px;margin:0 0 12px}.door-chart-scroll{overflow-x:auto}.door-chart svg{display:block;width:100%;height:auto}.door-chart g:focus{outline:2px solid #b3cffa}.door-chart details{font-size:14px;margin-top:10px}.door-chart-data{display:flex;flex-wrap:wrap;gap:10px;padding-top:10px}.door-chart-data span{padding:7px;background:#f3f7fc}.door-parameter-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.door-config form{grid-template-columns:1fr 1fr;gap:16px}.door-config-note,#doorConfigError{grid-column:1/-1}.door-auto-settings{margin-top:30px;border-top:1px solid #d9e5f2;padding-top:20px;font-size:16px}.door-auto-settings form{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.door-auto-settings label:first-child{display:flex;flex-direction:column;gap:8px}.door-auto-settings select{font-size:16px;min-height:44px}#doorConfigError,#doorScheduleError{color:#b42318}
@media(max-width:760px){.door-charts{grid-template-columns:1fr}.door-person-field{grid-column:1/-1;min-width:0}.door-config form{grid-template-columns:1fr}.door-parameter-head{flex-wrap:wrap}.door-auto-settings form{align-items:center}.door-chart{padding:12px}}

.door-hour-grid{grid-column:1/-1}.door-hour-grid table{min-width:850px;width:100%;border-collapse:separate;border-spacing:3px;font-size:13px;text-align:center}.door-hour-grid th,.door-hour-grid td{padding:5px 2px}.door-hour-grid thead th{color:#536b88}.door-hour-grid tbody th{white-space:nowrap}

.door-auto-settings #doorScheduleForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.door-auto-settings #doorScheduleForm label{display:flex;flex-direction:column;gap:5px;min-width:0}.door-auto-settings #doorScheduleForm label.delivery-check{flex-direction:row;align-items:center}.door-auto-settings #doorScheduleForm small{font-size:11px;color:#667c9c}.door-auto-settings #doorScheduleForm input,.door-auto-settings #doorScheduleForm select{min-width:0;max-width:100%}.door-auto-settings #doorScheduleForm .delivery-check input{width:auto}@media(max-width:700px){.door-auto-settings #doorScheduleForm{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Employee opening timeline. Every plotted interval is an estimate, not presence evidence. */
.door-tabs{display:inline-flex;gap:5px;padding:5px;margin:0 0 16px;border:1px solid #cfdeeb;border-radius:14px;background:#f8fbfd}
.door-tabs button{min-height:44px;padding:9px 20px;border:0;border-radius:10px;background:transparent;color:#39536c;font-family:inherit;font-size:1rem;font-weight:650;cursor:pointer;transition:background-color .16s,color .16s,box-shadow .16s}
.door-tabs button:hover{background:#e3eff7;color:#173f65}
.door-tabs button[aria-selected="true"]{background:#4b75a2;color:#fff;box-shadow:0 2px 8px #284a7526}
.door-tabs button:focus-visible{outline:3px solid #2e73cd;outline-offset:2px}
.door-trail-panel{min-width:0}
.door-trail-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:22px 26px;border:1px solid #d3e5f0;border-radius:18px;background:linear-gradient(135deg,#f8fbfd,#eaf3f8)}
.door-trail-eyebrow{color:#52738d;font-size:.76rem;letter-spacing:.16em;font-weight:700}
.door-trail-intro h3{margin:5px 0 6px;color:#263b50;font-size:1.65rem}
.door-trail-intro p{margin:0;color:#4e657a;line-height:1.55}
.door-trail-timezone{white-space:nowrap;color:#486680;font-size:.875rem}
.door-trail-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:10px 16px;margin:0 0 10px;background:#f8fbfd;border:1px solid #d3e5f0;border-radius:16px}
.door-trail-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.9rem;font-weight:650;color:#38536d}
.door-trail-filters label:first-child{flex:0 1 auto;width:calc(12em + 44px);max-width:100%;font-size:1rem}.door-trail-filters label:nth-child(2){flex:0 1 190px}
.door-trail-filters input{width:100%;min-width:0;min-height:44px;font-size:1rem}
.door-trail-filters button{min-height:44px}
.door-trail-explain{margin:10px 2px 18px;color:#4e657a;line-height:1.6;font-size:.9rem}
.door-trail-status{margin:0 2px 10px;color:#345473;font-size:.9rem}
.door-trail-status:empty{display:none}
.door-trail-result{min-width:0;background:#f8fbfd;border:1px solid #d3e5f0;border-radius:18px;overflow:hidden}
.door-trail-result:empty{display:none}
.door-trail-summary{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 20px;background:#eaf3f8;border-bottom:1px solid #d3e5f0;color:#263b50}
.door-trail-summary small{display:block;color:#52738d;font-size:.8rem;font-weight:650}
.door-trail-summary h4{margin:2px 0;font-size:1.25rem}
.door-trail-summary p{margin:0;text-align:right;font-variant-numeric:tabular-nums;line-height:1.65;color:#39566f}
.door-trail-axis{display:flex;justify-content:space-between;margin:12px 20px 0 62px;color:#506a80;font:700 .78rem ui-monospace,monospace;font-variant-numeric:tabular-nums}
.door-trail-list{list-style:none;margin:0;padding:5px 20px 10px}
.door-trail-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:8px 0;border-top:1px solid #e0e9f1}
.door-trail-step-number{display:grid;place-items:center;align-self:start;width:27px;height:27px;border-radius:7px;background:#dcebf5;color:#285581;font-size:.875rem;font-weight:750;font-variant-numeric:tabular-nums}
.door-trail-step-body{min-width:0}
.door-trail-step-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:5px}
.door-trail-step-head strong{color:#263b50;font-size:1rem;margin-right:auto}
.door-trail-step-time{color:#264d75;font-size:.9375rem;font-variant-numeric:tabular-nums;font-weight:700}
.door-trail-step-duration{color:#4e657a;font-size:.8125rem;min-width:110px;text-align:right}
.door-trail-rail{display:grid;grid-template-columns:repeat(48,minmax(0,1fr));gap:2px;height:13px}
.door-trail-cell{min-width:0;border:1px solid #d6e4ee;border-radius:2px;background:#e6eff5}
.door-trail-cell.occupied{border-color:#5884aa;background:#5884aa}
.door-trail-cell.marker{border-color:#35648f;background:#fff;box-shadow:inset 0 0 0 2px #35648f}
.door-trail-boundary{margin:0;padding:0 20px 12px;color:#576f83;font-size:.8125rem}
@media(max-width:680px){.door-tabs{display:flex;width:100%}.door-tabs button{flex:1;padding:9px 8px}.door-trail-filters{display:grid;grid-template-columns:1fr;padding:14px}.door-trail-filters label,.door-trail-filters button{width:100%}.door-trail-summary{padding:12px 16px}.door-trail-axis{margin:12px 16px 0 58px}.door-trail-list{padding:5px 16px 10px}.door-trail-step{grid-template-columns:32px minmax(0,1fr);gap:10px}.door-trail-step-duration{min-width:0;text-align:left}.door-trail-rail{gap:1px}.door-trail-boundary{padding:0 16px 12px}}
@media(prefers-reduced-motion:reduce){.door-tabs button{transition:none}}
.door-trail-filters label{margin:0}
#doorTrailPerson{text-overflow:ellipsis;padding-inline:12px}
@media(max-width:680px){.door-trail-filters{display:flex;padding:10px;gap:8px}.door-trail-filters label:first-child{width:calc(12em + 36px)}.door-trail-filters label:nth-child(2){flex:1 1 150px;width:auto}.door-trail-filters button{width:auto;margin-left:auto}}


/* prep-detail.css */
/* Only vertical scrolling; narrow screens keep every field in labelled cards. */
#modal.modal-prep-detail{width:calc(100vw - 32px);max-width:1680px;max-height:calc(100dvh - 32px);overflow:hidden}
#modal.modal-prep-detail #modalBody{overflow-y:auto;overflow-x:hidden;min-width:0;padding:0 14px 0}
.prep-detail{font-size:12px;min-width:0;color:#183457}.prep-overview{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px 0}.prep-overview strong{font-size:15px}.prep-overview span,.prep-cell small{color:#637a96}
.prep-filter{display:flex;gap:8px;align-items:center;padding:0 0 10px}.prep-filter input{flex:1;min-width:0}.prep-filter select{width:160px;max-width:35%}.prep-filter small{white-space:nowrap}
.prep-head,.prep-line{display:grid;grid-template-columns:16fr 5fr 8fr 9fr 6fr 4fr 11fr 10fr 6fr 10fr 4fr 7fr;gap:0;min-width:0}.prep-head{position:sticky;top:0;z-index:2;background:#dce8f8;font-weight:700;border:1px solid #ccd9eb;border-radius:7px 7px 0 0}.prep-head>div{padding:9px 4px;min-width:0;overflow-wrap:anywhere}
.prep-line{background:#fff;border:1px solid #d5e0ee;border-top:0}.prep-line:nth-child(even){background:#f6f9fd}.prep-cell{min-width:0;padding:7px 4px;border-right:1px solid #e5ebf4;overflow-wrap:anywhere;display:flex;flex-direction:column;justify-content:center;gap:4px}.prep-cell:last-child{border-right:0}.prep-cell b{font-size:12px;line-height:1.4}.prep-cell small{font-size:11px}.prep-cell .btn{font-size:11px;white-space:normal;padding:5px 3px;min-width:0}.prep-cell input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:6px 4px;height:31px;font-size:12px;border-radius:5px}.prep-cell input:disabled{opacity:1;color:#62758c;background:#eef2f7}.prep-cell input[type=checkbox]{align-self:center;width:16px;height:16px}.prep-dirty{box-shadow:inset 3px 0 #3c75ee}.prep-urgent,.prep-negative{color:#b82d30!important}.prep-date{position:relative;min-width:0}.prep-date input[data-field]{padding-right:18px}.prep-calendar{position:absolute;right:1px;top:0;width:18px;height:31px;display:grid;place-items:center;overflow:hidden;cursor:pointer}.prep-calendar input{position:absolute;inset:0;opacity:0;cursor:pointer}.prep-calendar input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:auto;height:auto;cursor:pointer}
.prep-footer{position:sticky;bottom:0;z-index:3;display:flex;gap:8px;align-items:center;background:#fff;border-top:1px solid #d5e0ee;padding:10px 0 max(10px,env(safe-area-inset-bottom))}.prep-footer span{flex:1;color:#637a96}.prep-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#f4f8ff;border:1px solid #d8e4f6;border-radius:9px}.prep-summary p{margin:4px 0 0;color:#637a96;font-size:13px}
@media(max-width:1100px){.prep-head{display:none}.prep-line{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #d5e0ee;border-radius:8px;margin-bottom:10px}.prep-cell{border:0;padding:0;justify-content:flex-start}.prep-cell:before{content:attr(data-label);color:#637a96;font-size:11px}.prep-cell:first-child{grid-column:span 2}.prep-cell:nth-child(3),.prep-cell:nth-child(7),.prep-cell:nth-child(10){grid-column:span 2}.prep-cell input[type=checkbox]{align-self:flex-start}.prep-cell:nth-child(4) .btn{align-self:flex-start;padding:4px 8px}}
@media(max-width:600px){#modal.modal-prep-detail{width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);margin:0}#modal.modal-prep-detail #modalBody{padding:0 10px}.prep-line{grid-template-columns:repeat(2,minmax(0,1fr))}.prep-filter{flex-wrap:wrap}.prep-filter input{flex-basis:100%}.prep-filter select{max-width:none;flex:1}.prep-cell input:not([type=checkbox]),.prep-filter input,.prep-filter select{font-size:16px;height:36px}.prep-calendar{height:36px;width:26px}.prep-date input[data-field]{padding-right:26px}.prep-overview{align-items:flex-start;flex-direction:column}.prep-summary{align-items:flex-start;flex-direction:column}}


/* lost-register.css */
#modal.modal-lost-register{width:min(1100px,calc(100vw - 28px));max-height:calc(100dvh - 32px)}
#modal.modal-lost-register #modalBody{overflow-x:hidden}.lf-register-compact{font-size:12px;padding:12px!important}.lf-ai-toolbar{display:flex;align-items:center;gap:8px;padding:12px;background:#eef4ff;border:1px solid #c9daff;border-radius:10px;margin-bottom:12px}.lf-ai-toolbar>div{flex:1}.lf-ai-toolbar b{display:block;font-size:15px;color:#174cbd}.lf-ai-toolbar small{display:block;color:#65799a;font-size:11px;margin-top:4px}.lf-ai-toolbar select{width:100px}.lf-register-compact .lost-found-register-core{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.lf-register-compact input,.lf-register-compact select{min-width:0;height:35px;padding:7px 8px;font-size:13px}.lf-register-compact label{font-size:12px;min-width:0}.lf-register-compact .lost-found-register-section-head{margin:10px 0 7px;padding:0;border:0;gap:8px;align-items:center}.lf-register-compact .lost-found-register-section-head h3{font-size:14px}.lf-register-compact .lost-found-register-section-head>span{flex:1;text-align:right;color:#65799a;font-size:11px}.lf-register-compact .lost-found-register-item{padding:10px;border-radius:9px}.lf-register-compact .lost-found-register-item-head{margin-bottom:7px;gap:8px}.lf-register-compact [data-lf-ai-state]{flex:1;font-size:11px;color:#567095}.lf-register-compact .lost-found-register-item-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}.lf-register-compact .lf-field-name{grid-column:span 6}.lf-register-compact .lf-field-category{grid-column:span 4}.lf-register-compact .lf-field-quantity{grid-column:span 2}.lf-register-compact .lf-field-storage{grid-column:span 5}.lf-register-compact .lf-field-custodian{grid-column:span 3}.lf-register-compact .lf-field-value{grid-column:span 4}.lf-register-compact .lf-field-description{grid-column:1/-1}.lf-value-range{display:flex;align-items:center;gap:5px;min-width:0}.lf-value-range input{width:0;flex:1}.lf-register-compact .lf-field-value small{font-size:10px;color:#65799a}.lf-compact-photo{display:flex;align-items:center;gap:12px;margin:0 0 8px}.lf-compact-photo>div:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lf-register-compact .lost-found-photo-preview{min-height:0;height:54px;min-width:80px;max-width:60%;display:flex;flex-wrap:nowrap;overflow:auto;border:0;padding:0;background:transparent;align-items:center;font-size:11px;color:#789}.lf-register-compact .photo-thumb{width:52px;height:52px;min-width:52px}.lf-register-compact .lost-found-photo-actions{margin:0}.lf-register-compact .lost-found-register-items{gap:9px}.lf-registration-note{display:flex;align-items:center;gap:8px;margin-top:10px}.lf-registration-note input{flex:1}.lf-register-compact .lost-found-sticky-actions{padding:10px 0 max(8px,env(safe-area-inset-bottom));margin-top:10px}.lf-register-compact .lost-found-photo-qr{margin-top:8px}.lf-register-compact .lost-found-photo-qr:not(.hidden){display:flex;align-items:center;gap:12px;flex-wrap:wrap}
@media(max-width:700px){#modal.modal-lost-register{width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}.lf-ai-toolbar{flex-wrap:wrap}.lf-ai-toolbar>div{flex-basis:100%}.lf-ai-toolbar .btn{padding:8px}.lf-register-compact .lost-found-register-core{grid-template-columns:repeat(2,minmax(0,1fr))}.lf-register-compact input,.lf-register-compact select{font-size:16px;max-width:100%}.lf-register-compact .lf-field-name{grid-column:span 12}.lf-register-compact .lf-field-category{grid-column:span 8}.lf-register-compact .lf-field-quantity{grid-column:span 4}.lf-register-compact .lf-field-storage,.lf-register-compact .lf-field-custodian{grid-column:span 6}.lf-register-compact .lf-field-value{grid-column:span 12}.lf-compact-photo{align-items:flex-start}.lf-compact-photo>div:last-child{gap:5px}.lf-register-compact .lost-found-register-section-head>span{display:none}.lf-register-compact .lost-found-photo-preview{max-width:35%}}
/* V17.1.1: one item per capture, compact two-column mobile fields. */
.lf-ai-toolbar [hidden]{display:none!important}.lf-ai-toolbar select{width:auto;min-width:120px;max-width:240px}.lf-register-compact textarea{width:100%;min-height:68px;box-sizing:border-box;font:inherit;padding:8px;resize:vertical;line-height:1.5;border:1px solid #cad7e7;border-radius:8px}.lf-register-compact .lost-found-register-item-head{flex-wrap:wrap}.lf-register-compact .lost-found-register-item-head b{overflow-wrap:anywhere;max-width:75%;font-size:15px}.lf-register-compact [data-lf-ai-state]{flex-basis:100%;order:3}.lf-register-compact .lf-field-quantity input{width:100%;box-sizing:border-box}
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 #modal.modal-lost-register{inset:var(--visual-top,0px) 0 auto 0!important;transform:none!important;width:100%!important;max-width:100%!important;height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;border-radius:0!important;overflow:hidden!important;display:flex;flex-direction:column}
 #modal.modal-lost-register>#modalBody{flex:1 1 0;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 #modal.modal-lost-register .lost-found-register-modal{flex:none!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:10px!important}
 #modal.modal-lost-register .lost-found-register-core{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #modal.modal-lost-register .lost-found-register-core>label{grid-column:auto!important;min-width:0!important;margin:0!important}
 #modal.modal-lost-register .lost-found-register-core input{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;font-size:16px;height:42px;padding:5px}
 #modal.modal-lost-register .lost-found-register-item-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:8px!important}
 #modal.modal-lost-register .lf-field-name{grid-column:span 8!important}#modal.modal-lost-register .lf-field-category{grid-column:span 4!important}#modal.modal-lost-register .lf-field-quantity{grid-column:span 3!important}#modal.modal-lost-register .lf-field-storage{grid-column:span 9!important}#modal.modal-lost-register .lf-field-custodian,#modal.modal-lost-register .lf-field-value{grid-column:span 6!important}#modal.modal-lost-register .lf-field-description{grid-column:1/-1!important}
 .lf-ai-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:9px}.lf-ai-toolbar>div{grid-column:1/-1}.lf-ai-toolbar select{width:100%;min-width:0;max-width:100%}.lf-ai-toolbar .btn{font-size:13px;min-height:40px;padding:7px}.lf-ai-toolbar small{display:none}.lf-register-compact textarea{font-size:16px}.lf-register-compact .lost-found-sticky-actions{position:static!important;margin:10px 0 0!important}
}
.lf-value-range input[readonly]{background:#eef3f9;color:#4b627d;box-shadow:none}.lf-valuable{display:block;color:#ab4c07;background:#fff3d7;border-radius:6px;padding:5px 8px;font-size:12px;margin-top:5px}.lf-valuable[hidden]{display:none}

/* V17.1.1: name/quantity, custodian/value; no empty removed field columns. */
#modal.modal-lost-register .lf-field-name{grid-column:span 9!important}
#modal.modal-lost-register .lf-field-quantity{grid-column:span 3!important}
#modal.modal-lost-register .lf-field-custodian,#modal.modal-lost-register .lf-field-value{grid-column:span 6!important}


/* field-experience.css */
/* Compact, legible field workflow surfaces; scoped to avoid global form side effects. */
.asset-brief-dialog{width:min(680px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--mist-line);border-radius:18px;background:var(--mist-surface);color:var(--mist-ink);font:14px/1.6 var(--mist-body);box-shadow:var(--mist-shadow-hover);overflow:auto}
.asset-brief-dialog::backdrop{background:rgba(38,59,80,.45);backdrop-filter:blur(4px)}
.asset-brief-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid var(--mist-line)}
.asset-brief-dialog h2{font:600 22px/1.5 var(--mist-serif);margin:0}.asset-brief-body{padding:24px}.asset-brief-hero{display:grid;grid-template-columns:144px minmax(0,1fr);gap:24px;align-items:center}.asset-brief-hero h3{font-size:22px;line-height:1.5;margin:4px 0;overflow-wrap:anywhere}.asset-brief-hero p{margin:0;color:var(--mist-muted)}.asset-brief-code{font-size:12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.asset-brief-thumb{display:flex;flex-direction:column;align-items:center;justify-content:center;width:144px;min-height:144px;padding:8px;border:1px solid var(--mist-control-line);border-radius:10px;background:var(--mist-blue);color:var(--mist-on-tint);cursor:pointer;gap:8px}.asset-brief-thumb img{display:block;width:128px;height:112px;object-fit:contain}.asset-brief-thumb:disabled{cursor:default;opacity:1}.asset-brief-thumb span{font-size:12px}
.asset-brief-facts,.asset-recover-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;margin:24px 0 0}.asset-brief-facts>div,.asset-recover-context>div{min-width:0;border-bottom:1px solid var(--mist-line);padding-bottom:12px}.asset-brief-facts dt,.asset-recover-context dt{font-size:12px;color:var(--mist-muted)}.asset-brief-facts dd,.asset-recover-context dd{margin:4px 0 0;font-size:16px;font-weight:600;overflow-wrap:anywhere}.asset-brief-evidence,.asset-recover-evidence{font-size:12px;color:var(--mist-muted);line-height:1.6}.asset-recover-body>h3{margin-top:0}.asset-recover-body>label{display:block;margin-top:16px}.asset-recover-guide{padding:12px 16px;border-left:3px solid var(--mist-primary);background:var(--mist-blue);color:var(--mist-on-tint);font-size:14px;line-height:1.7}.asset-recover-notice{font-size:13px;color:var(--mist-muted)}#recoverError{color:var(--mist-danger);font-size:14px}
.asset-brief-dialog .btn{min-height:44px;min-width:44px;font-family:var(--mist-body)}.asset-brief-dialog :is(button,select):focus-visible{outline:2px solid var(--mist-focus);outline-offset:2px}.asset-brief-gallery{width:min(1100px,calc(100vw - 24px))}.asset-brief-gallery .asset-brief-body{display:flex;flex-direction:column;gap:12px;padding:16px}.asset-brief-gallery-tools,.asset-brief-photo-list{display:flex;gap:8px;flex-wrap:wrap}.asset-brief-gallery-tools label{display:flex;gap:8px;align-items:center}.asset-brief-gallery-tools select{min-height:44px;min-width:120px;max-width:100%;font:inherit}.asset-brief-gallery p{margin:0;font-size:12px;color:var(--mist-muted);overflow-wrap:anywhere}.asset-brief-original{height:min(60dvh,600px);min-height:180px;overflow:auto;background:var(--mist-blue);text-align:center}.asset-brief-original img{height:auto;max-height:100%;max-width:100%;transform-origin:center}.asset-brief-photo-list .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%;font-size:12px}
@media(max-width:600px){.asset-brief-dialog>header{padding:12px 16px}.asset-brief-body{padding:16px}.asset-brief-hero{grid-template-columns:96px minmax(0,1fr);gap:16px}.asset-brief-thumb{width:96px;min-height:112px}.asset-brief-thumb img{width:80px;height:80px}.asset-brief-hero h3{font-size:20px}.asset-brief-facts,.asset-recover-context{gap:16px}.asset-brief-dialog select{font-size:16px}.asset-brief-gallery-tools label{width:100%}}
.drawer-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.drawer-title-line .asset-hero-tags{display:flex;flex-wrap:wrap;gap:5px}.drawer-head>div{min-width:0}.drawer-head .asset-code-subtle{display:block;font-size:12px;font-weight:400;color:#6c7f92;margin-top:6px}.drawer-head{z-index:5!important}.drawer-title-line .asset-alert,.drawer-title-line .asset-policy-badge{font-size:12px}.drawer-head #drawerClose{flex:0 0 32px}
#deliveryOrderNew{border-radius:10px 0 0 10px;margin-right:-8px}#deliveryRegisterMenu{position:relative}#deliveryRegisterMenu summary{display:flex;align-items:center;justify-content:center;width:34px;min-width:34px;height:40px;min-height:40px;padding:0;border:1px solid #cbd9e8;border-left:0;border-radius:0 10px 10px 0;background:#fff;list-style:none;cursor:pointer}#deliveryRegisterMenu summary::-webkit-details-marker{display:none}.delivery-register-options{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;padding:6px;background:#fff;border:1px solid #d4e0ee;border-radius:12px;box-shadow:0 8px 30px #1233;z-index:50;display:grid;gap:4px}.delivery-register-options .btn{text-align:left;white-space:nowrap}
#disposalFilters{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(150px,210px) auto auto;gap:10px;align-items:end}#disposalFilters>.filter-wide{grid-column:auto}#disposalFilters>.field-filter-toggle{display:block!important;grid-column:3;grid-row:1;min-height:34px;padding:6px 10px}#disposalFilters>.range-filter-actions{grid-column:4;grid-row:1;display:flex;gap:6px;min-width:0}#disposalFilters>.range-filter-actions .btn{min-height:34px;min-width:0;padding:6px 12px;font-size:14px}#disposalFilters:not(.field-filters-open)>.field-filter-extra{display:none!important}#disposalFilters.field-filters-open>.field-filter-extra{display:grid!important;grid-column:auto}
.task-card-top{position:relative;padding-right:60px}.task-age-badge{position:absolute;right:0;top:0;border-radius:0 8px 0 8px;background:#eaf1fb;color:#245782;padding:4px 7px;font-size:12px;white-space:nowrap}.task-ai-alert,.review-low{color:#ae3c20}.task-ai-alert{background:#fff2df;border-radius:8px;padding:8px 12px;margin-top:8px}.review-guide{padding:14px;background:#f0f6fd;border:1px solid #cfdeef;border-radius:12px}.review-guide .form-grid{margin:10px 0}.review-guide small{margin-left:8px}.review-stars{position:relative;display:inline-block;letter-spacing:1px;white-space:nowrap;color:#c5ccd6}.review-stars i{position:absolute;left:0;top:0;overflow:hidden;font-style:normal;color:#d99513}.review-card{padding:16px;border:1px solid #ead5bc;border-radius:12px;background:#fff;margin:12px 0}.review-card header{display:flex;justify-content:space-between;align-items:center;gap:12px}.review-card small{color:#6e829b}.review-input{white-space:pre-wrap;padding:12px;background:#f4f7fa;border-radius:8px}.review-context{font-size:14px;line-height:1.6}.category-save-bar{display:flex;align-items:center;gap:12px;margin-bottom:10px}.config-category-table th:first-child{width:100px}
@media(max-width:650px){#disposalFilters{grid-template-columns:minmax(120px,1fr) minmax(120px,1fr)}#disposalFilters>.field-filter-toggle{grid-column:1;grid-row:2}#disposalFilters>.range-filter-actions{grid-column:2;grid-row:2;justify-content:flex-end}.drawer-title-line{align-items:flex-start}.drawer-head .asset-hero-tags{gap:4px}.review-card header{align-items:flex-start;flex-wrap:wrap}}
.asset-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.asset-title-line h3{margin:0}.asset-title-line .asset-hero-tags{display:flex;gap:5px;flex-wrap:wrap}.asset-detail-hero{border-bottom:1px solid #e4eaf2;padding-bottom:16px}.asset-operation-panel .detail-actions{display:flex;gap:8px;flex-wrap:wrap}.asset-operation-panel .detail-actions .btn{min-height:40px}
.role-field{display:grid;gap:8px}.role-picker label{display:inline-flex!important;align-items:center;gap:6px;cursor:pointer}.role-picker input[type=checkbox]{width:18px!important;min-width:18px;height:18px;margin:0;flex:0 0 18px}
.field-radio-group{display:grid;gap:10px;padding:12px;border:1px solid #dce4ee;border-radius:12px}.field-radio-group label,#modalBody fieldset label:has(input[type=radio]){display:flex!important;align-items:center;gap:10px;padding:8px;line-height:1.4}.field-radio-group input[type=radio],#modalBody fieldset input[type=radio]{width:19px!important;min-width:19px;height:19px;margin:0;flex:0 0 19px}
.return-approval-notice{border:1px solid #a8c2e4;background:#eef5ff;color:#204d82;padding:14px;border-radius:12px;font-weight:600}
.ai-reference{padding:14px;border:1px solid #c7d8ee;background:#f3f7fc;border-radius:12px;margin:12px 0;overflow-wrap:anywhere}.ai-reference header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ai-reference dl{display:grid;grid-template-columns:115px 1fr;gap:8px}.ai-reference dd{margin:0}.ai-reference p{margin:6px 0}.ai-filled{background:#eef5ff!important;border-color:#80aee0!important}
.field-confirm-shade{position:fixed;inset:0;background:#14263c99;z-index:100000;display:grid;place-items:center;padding:16px}.field-confirm{box-sizing:border-box;background:white;border-radius:18px;padding:22px;width:min(540px,100%);max-height:90dvh;overflow:auto;box-shadow:0 20px 70px #0004}.field-confirm textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;min-height:80px}.field-confirm p[data-warranty-error]{color:#b83232}
.delivery-modal .dy-detail-hero{padding:16px;background:#f1f6fc;border:1px solid #d8e4f2;border-radius:14px}.delivery-modal .dy-current-step{margin:12px 0;padding:14px;border:1px solid #bdd0e8;border-radius:12px;background:#fff}.delivery-modal .delivery-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;background:#f8fafc;border-radius:12px}.delivery-modal .delivery-facts>div{overflow-wrap:anywhere}.delivery-modal .delivery-facts>.full{grid-column:1/-1}.delivery-modal details{border-top:1px solid #e2e8f0;padding:12px 0;margin-top:12px}.delivery-modal .delivery-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.delivery-modal .delivery-table-wrap{border:1px solid #e2e8f0;border-radius:10px;margin:12px 0}.delivery-modal .rc-match{display:block;padding:12px;background:#f3f7fc;border-radius:12px}.delivery-modal .rc-receive-actions{display:flex;gap:10px;flex-wrap:wrap}.delivery-modal .rc-receive-actions .btn{min-height:44px;white-space:normal;flex:1}
#deliveryRegisterMenu select{max-width:165px;min-height:40px}#disposalCompletedPanel{display:none!important}#disposalSettlementList .disposal-item-main{min-width:0}#disposalSettlementList .disposal-item-main .dy-detail-link{font-size:18px;font-weight:700;text-align:left}#disposalSettlementList .asset-alert{margin-left:8px}#disposalFilters input[type=range]{width:100%;accent-color:#26639f}#disposalFilters output{font-size:13px;color:#245386}
@media(max-width:600px){.asset-detail-hero{gap:12px}.asset-title-line h3{font-size:20px}.asset-title-line .asset-alert{font-size:12px}.delivery-modal .delivery-facts{gap:8px;padding:10px}.delivery-modal .dy-detail-hero{padding:12px}.delivery-modal .dy-identity{flex-wrap:wrap}.delivery-modal .dy-identity strong{overflow-wrap:anywhere}.delivery-modal .delivery-detail-actions .btn{flex:1;min-width:100px;min-height:42px}.field-confirm{padding:16px}.task-actions .btn{max-width:100%;white-space:normal}.ai-reference dl{grid-template-columns:90px 1fr}}

#deliveryOrderNew{height:40px;min-height:40px}#deliveryRegisterMenu summary{box-sizing:border-box}#reviewPanel{padding-top:12px}#reviewFilters{display:flex;gap:8px;flex-wrap:wrap}#reviewFilters input{flex:1;min-width:160px}#reviewFilters select{width:auto;min-width:120px}.quality-stars{white-space:nowrap}.review-context{overflow-wrap:anywhere}

/* V17.1.1: touch-sized registration, unified selection and stored reference. */
#deliveryOrderNew{height:44px!important;min-height:44px!important;margin:0!important;border-radius:11px 0 0 11px!important;padding:8px 12px!important;white-space:nowrap}#deliveryRegisterMenu.delivery-type-toggle{position:static;min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border-radius:0 11px 11px 0!important;margin-left:-8px;border-left:0;touch-action:manipulation}.delivery-registration-choices{display:grid;gap:12px}.delivery-registration-choices .btn{min-height:48px;text-align:left;padding:12px 16px}.asset-note-section p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.65;margin:8px 0}.asset-saved-reference{grid-column:1/-1!important;width:100%;box-sizing:border-box;min-width:0}.asset-saved-reference dd,.asset-saved-reference a{overflow-wrap:anywhere;word-break:break-word}.asset-saved-reference dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 12px}.asset-saved-reference dd{margin:0}.asset-command-group[data-tool-group="batch"]{flex:1 1 350px}.asset-command-group[data-tool-group="batch"] .asset-command-buttons{display:flex!important;flex-wrap:wrap;gap:7px}.scan-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.scan-actions .btn{min-height:44px}.scan-frame{max-height:340px}#scanStatus{overflow-wrap:anywhere}
@media(max-width:600px){#deliveryOrderNew{font-size:15px!important;padding:8px 10px!important}#deliveryRegisterMenu.delivery-type-toggle{margin-left:-6px}.asset-saved-reference dl{grid-template-columns:90px minmax(0,1fr)}}

/* V16.9.21 repair and disposal forms */
#disposalFilters>.field-filter-toggle{border:1px solid #cbd9e8;border-radius:10px;background:#fff;color:#234d78;font:600 14px/1.4 inherit;cursor:pointer;box-shadow:0 2px 4px #1231;white-space:nowrap}#disposalFilters>.field-filter-toggle:hover{background:#edf4ff;border-color:#8daed9}
#modalBody:has(.maintenance-start-modal),#modalBody:has(.disposal-approval-modal){padding:0!important}.maintenance-start-modal,.disposal-approval-modal{padding:20px!important;display:grid;gap:16px;box-sizing:border-box;min-width:0}.maintenance-start-modal>.form-grid,.disposal-approval-modal>.form-grid{gap:14px;margin:0}.maintenance-start-modal .form-grid>label,.disposal-approval-modal .form-grid>label{min-width:0;margin:0!important}.maintenance-start-modal .form-grid>label[hidden]{display:none!important}.repair-asset-summary{padding:14px;background:#f7f9fc;border:1px solid #dce5ef;border-radius:12px}.repair-asset-summary>strong{font-size:20px}.repair-asset-summary>small{display:block;color:#75859c;margin:4px 0 12px}.repair-asset-summary .delivery-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;font-size:14px;overflow-wrap:anywhere}.repair-asset-summary .ai-reference{margin-bottom:0}.maintenance-start-modal .review-guide{margin:0;padding:16px}.review-guide .form-grid{gap:12px}.review-guide p{margin:6px 0;color:#667c96;font-size:13px}.review-feedback{margin-top:12px;padding:10px 12px;border-radius:10px;background:white;border:1px solid #dce6f2;font-size:14px}.review-feedback p{line-height:1.5}.review-breakdown{font-size:12px;color:#547291;margin-top:6px}.disposal-approval-modal .ai-reference{margin:0}.disposal-approval-modal .modal-actions,.maintenance-start-modal .modal-actions{margin:0;padding-top:12px;border-top:1px solid #e0e7f0;display:flex;justify-content:flex-end;gap:10px}.disposal-proof{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.disposal-proof .choice-thumb{width:72px;height:72px}.task-anomaly-badge{display:inline-flex;align-items:center;gap:5px;margin-top:8px;background:#fff0f0;border:1px solid #f4b4b4;border-radius:7px;color:#bf2929;font-size:12px;font-weight:600;padding:4px 8px}.task-anomaly-badge b{background:#c93030;border-radius:50%;width:15px;height:15px;line-height:15px;text-align:center;color:white}.task-age-badge.overdue{background:#fee7e7;color:#ba2525;font-weight:700}
@media(max-width:600px){.maintenance-start-modal,.disposal-approval-modal{padding:14px!important;gap:12px}.maintenance-start-modal .form-grid,.disposal-approval-modal .form-grid{grid-template-columns:minmax(0,1fr)}.repair-asset-summary .delivery-facts{grid-template-columns:minmax(0,1fr)}.maintenance-start-modal .modal-actions .btn,.disposal-approval-modal .modal-actions .btn{flex:1;min-height:44px}.review-card header{flex-wrap:wrap}}


/* asset-labels.css */
.asset-label-preview{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;padding:16px 0}.asset-label-sheet{box-shadow:0 1px 8px #263b5522;border:1px dashed #b5c2d5;background:white}.asset-label-modal{min-width:0}.asset-label-print-frame{position:fixed;width:1px;height:1px;bottom:0;left:0;border:0;opacity:.01}.asset-qr-view{display:grid;gap:10px;justify-items:center;overflow-wrap:anywhere}.asset-qr-view img,.asset-qr-view svg{width:min(300px,100%);height:auto}.asset-qr-scanner video{width:100%;max-height:50vh;object-fit:cover;border-radius:12px;background:#111}.r1-paper-card{margin-top:14px;padding:16px;background:white;border:1px solid #d5e1ef;border-radius:12px}.r1-paper-assets{display:flex;flex-wrap:wrap;gap:8px;max-height:240px;overflow:auto}.r1-print-choice{display:flex;gap:8px;align-items:center;padding:8px;border:1px solid #d6e2ef;border-radius:8px;min-width:0}.r1-print-choice small{display:block;overflow-wrap:anywhere}.r1-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}.r1-filter-grid input{min-width:0}.asset-label-link{width:100%;margin:12px 0;padding:14px}.asset-qr-action{white-space:nowrap}
@media(max-width:700px){.r1-filter-grid{grid-template-columns:1fr 1fr!important}.asset-label-modal .form-grid{grid-template-columns:1fr 1fr}.asset-label-sheet{max-width:100%}}


/* performance.css */
/* Existing palette/type preserved; density is an explicit user choice. */
.asset-view-switch{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.asset-view-switch small,.overview-read-time{color:var(--muted);font-size:13px}
.asset-view-switch .active{background:var(--accent);color:#fff;border-color:var(--accent)}
.asset-view-switch button,.overview-lazy summary{min-height:44px}
.asset-view-switch button:focus-visible,.overview-lazy summary:focus-visible,.asset-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#assetResults[aria-busy=true]{opacity:.65;pointer-events:none}
#assetResults.asset-compact{grid-template-columns:1fr;gap:8px}
#assetResults.asset-compact .asset-card{display:grid;grid-template-columns:96px minmax(0,1fr);position:relative;padding-right:40px;min-height:100px}
#assetResults.asset-compact .asset-photo{height:100%;min-height:96px;padding:6px}
#assetResults.asset-compact .asset-info{padding:12px;min-width:0}
#assetResults.asset-compact .asset-info h4{margin:0 0 8px}
#assetResults.asset-compact .asset-meta{display:grid;grid-template-columns:repeat(3,minmax(70px,auto) minmax(90px,1fr));gap:6px 10px}
#assetResults.asset-compact .asset-meta b{overflow-wrap:anywhere}
.overview-lazy{align-self:start;min-width:0}
.overview-lazy summary{cursor:pointer;font-weight:700;padding:8px 0}
.overview-lazy summary small{display:inline-block;margin-left:12px;font-size:13px;color:var(--muted);font-weight:400}
.overview-lazy .overview-chart{box-shadow:none;border:0;padding:16px 0;margin:0}
.detail-loading{min-height:240px;padding:24px;color:var(--muted)}
[data-parameter-pane][aria-busy=true]{opacity:.65;pointer-events:none}
[data-parameter-pane][aria-busy=true]::before{content:'正在读取当前栏目…';display:block;padding:8px 0;color:var(--text)}
@media(max-width:800px){#assetResults.asset-compact .asset-meta{grid-template-columns:minmax(70px,auto) minmax(0,1fr)}#assetResults.asset-compact .asset-card{grid-template-columns:64px minmax(0,1fr)}.asset-view-switch small{width:100%}}


/* mist-blue.css */
/* Haiyue · light mist / frosted glass. Loaded last; business state classes remain authoritative. */
:root {
  --mist-white:#F6FAFC; --mist-blue:#EAF3F8; --mist-ice:#F2F8FA;
  --mist-nav-start:#EBF4F9; --mist-nav-end:#D3E5F0;
  --mist-ink:#263B50; --mist-muted:#60768A; --mist-on-tint:#4E657A;
  --mist-primary:#4B75A2; --mist-primary-end:#426B96; --mist-teal:#559A9A;
  --mist-success:#286C64; --mist-success-bg:#E5F2EF;
  --mist-danger:#A83E4D; --mist-danger-bg:#F9E9EC;
  --mist-warning:#87591E; --mist-warning-bg:#F8EEDB;
  --mist-surface:#F8FBFD; --mist-glass:rgba(255,255,255,.73);
  --mist-control:rgba(255,255,255,.82); --mist-line:#D5E3ED; --mist-control-line:#738AA0;
  --mist-white-line:rgba(255,255,255,.94); --mist-focus:#365F89;
  --mist-shadow:0 12px 32px rgba(65,100,126,.075); --mist-shadow-hover:0 12px 28px rgba(65,100,126,.13);
  --mist-radius:18px; --mist-radius-control:10px; --mist-blur:24px;
  --mist-s1:4px; --mist-s2:8px; --mist-s3:12px; --mist-s4:16px; --mist-s5:24px; --mist-s6:32px;
  --mist-serif:'Songti SC','STSong','SimSun',serif;
  --mist-body:'PingFang SC','Microsoft YaHei',system-ui,sans-serif;
  --mist-number:Georgia,'Times New Roman',serif;
  --nav:var(--mist-nav-start); --nav2:var(--mist-control); --accent:var(--mist-primary); --accent2:var(--mist-teal);
  --bg:var(--mist-white); --card:var(--mist-surface); --text:var(--mist-ink); --muted:var(--mist-muted);
  --line:var(--mist-line); --danger:var(--mist-danger); --warn:var(--mist-warning); --shadow:var(--mist-shadow);
}
html,body{font-family:var(--mist-body);color:var(--mist-ink);background:var(--mist-white)}
body{background:radial-gradient(ellipse at 90% 4%,rgba(175,209,230,.3),transparent 48%),radial-gradient(ellipse at 22% 60%,rgba(181,220,216,.15),transparent 48%),linear-gradient(135deg,var(--mist-white),var(--mist-blue) 60%,var(--mist-ice));background-attachment:fixed}
.app-shell{background:transparent}
.app-shell .sidebar{background:linear-gradient(165deg,var(--mist-nav-start),var(--mist-nav-end));color:var(--mist-ink);border-right:1px solid var(--mist-white-line);box-shadow:8px 0 30px rgba(77,112,137,.035)}
.sidebar .brand{border-bottom:1px solid var(--mist-line);margin-bottom:var(--mist-s3)}
.sidebar .brand strong{color:var(--mist-ink);font-family:var(--mist-serif);font-size:18px;letter-spacing:.035em}
.sidebar .brand small,.account-bar .account-summary small{color:var(--mist-on-tint)}
.sidebar .sidebar-logo{object-fit:contain;filter:none}
#nav .nav-group-label{color:var(--mist-on-tint);font-size:12px;letter-spacing:.04em}
#nav .nav-group-label:not(:first-child){border-color:var(--mist-line)}
#nav button{color:var(--mist-ink);border-radius:var(--mist-radius-control);min-height:44px;font-size:15px;position:relative}
#nav button:hover{color:var(--mist-ink);background:rgba(255,255,255,.45)}
#nav button.active{color:var(--mist-ink);background:var(--mist-control);box-shadow:0 4px 12px rgba(77,112,137,.04)}
#nav button.active::before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--mist-primary)}
#nav .nav-icon,#nav button.active .nav-icon{color:var(--mist-primary)}
#nav .nav-count{background:var(--mist-danger);color:white;box-shadow:none}
.sidebar .sidebar-user{border-top-color:var(--mist-line)}
.account-trigger,.sidebar-close{color:var(--mist-ink)}
.account-trigger:hover,.account-trigger[aria-expanded=true]{background:var(--mist-control);border-color:var(--mist-white-line)}
.account-avatar{color:var(--mist-ink);background:var(--mist-nav-end)}
.account-chevron{stroke:var(--mist-muted)}
.account-menu{background:var(--mist-surface);border-color:var(--mist-white-line);box-shadow:var(--mist-shadow-hover);color:var(--mist-ink)}
.account-menu-action{color:var(--mist-ink)}.account-logout{color:var(--mist-danger)}
.main .topbar{background:transparent;backdrop-filter:none;border-bottom:1px solid var(--mist-white-line);height:auto!important;min-height:120px;padding:24px 0!important;gap:16px}
@media(min-width:921px){.main.topology-active>.topbar{min-height:0;height:0!important;padding:0!important;margin:0;border:0;overflow:hidden}}
.energy-progress-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.energy-progress-heading-actions #energyProgressSort{white-space:nowrap}
.topbar .topbar-heading h2{font-family:var(--mist-serif);font-size:30px;font-weight:600;letter-spacing:.06em;line-height:1.4;color:var(--mist-ink)}
.topbar .topbar-heading p{display:block!important;color:var(--mist-on-tint);font-size:14px;line-height:1.5;margin:6px 0 0}
.online-pill{background:var(--mist-success-bg);color:var(--mist-success);font-size:13px}
.page{padding-top:var(--mist-s4)}
.mist-skip-link{position:fixed;top:8px;left:260px;z-index:500;padding:12px 20px;background:var(--mist-surface);color:var(--mist-ink);border:2px solid var(--mist-focus);border-radius:10px;transform:translateY(-180%)}
.mist-skip-link:focus{transform:none}
:is(#page-dashboard,#page-assets,#page-approvals) :is(h2,h3){font-family:var(--mist-serif);font-weight:600;color:var(--mist-ink);letter-spacing:.025em}
:is(#page-dashboard,#page-assets,#page-approvals) h3{font-size:21px;line-height:1.4}
:is(#page-dashboard,#page-assets,#page-approvals) .muted{color:var(--mist-muted);font-size:14px}
:is(#page-dashboard,#page-assets,#page-approvals) :is(.panel,.metric,.asset-card,.task-card,.task-filters,.task-empty,.review-card){background:var(--mist-surface);border:1px solid var(--mist-white-line);border-radius:var(--mist-radius);box-shadow:var(--mist-shadow)}
.btn{border-color:var(--mist-control-line);border-radius:var(--mist-radius-control);background:var(--mist-control);color:var(--mist-focus);min-height:44px;line-height:1.4;transition:background .15s,border-color .15s,box-shadow .15s}
.btn:hover:not(:disabled){background:white;border-color:var(--mist-primary);box-shadow:0 3px 10px rgba(65,100,126,.07)}
.btn.primary,.asset-view-switch .active,.topbar .asset-header-scan{background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end));color:white;border-color:var(--mist-primary-end);box-shadow:0 4px 10px rgba(66,107,150,.14)}
.btn.primary:hover:not(:disabled),.topbar .asset-header-scan:hover{background:var(--mist-primary-end);color:white}
.btn.danger,.btn.danger-outline{color:var(--mist-danger);border-color:var(--mist-danger);background:var(--mist-danger-bg)}
.btn:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
.topbar #assetQrScanBtn{background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end))!important;border-color:var(--mist-primary-end)!important;box-shadow:var(--mist-shadow);color:white!important}
.page .btn.mini,.modal .btn.mini,.drawer .btn.mini{min-height:44px;font-size:14px}
:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--mist-focus)!important;outline-offset:3px;scroll-margin-block:100px}
:is(#page-assets,#page-approvals) :is(input,select,textarea){border-color:var(--mist-control-line);background:var(--mist-control);color:var(--mist-ink);border-radius:var(--mist-radius-control)}
:is(#page-assets,#page-approvals) ::placeholder{color:var(--mist-muted);opacity:1}
.mist-field{display:grid;gap:6px;margin:0;min-width:0;color:var(--mist-muted);font-size:14px;line-height:1.5}
.mist-field>input,.mist-field>select{margin:0;min-height:44px;width:100%;max-width:none}
.mist-field:has(>.hidden){display:none}
.mist-field>span{color:var(--mist-muted)}
input[type=checkbox]{accent-color:var(--mist-primary)}
/* Overview: API metrics and navigation counts share one visual hierarchy, not new requests. */
.mist-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--mist-s4);margin-bottom:var(--mist-s5)}
.mist-metrics #metrics,.mist-metrics #mistAttentionMetrics{display:contents}
#page-dashboard .metric{position:relative;overflow:hidden;padding:20px;text-align:left;min-height:145px;color:var(--mist-ink);transform:none}
#page-dashboard .metric::after{content:'';position:absolute;bottom:0;left:20px;right:20px;height:3px;background:var(--mist-primary);border-radius:3px}
#page-dashboard .metric[data-metric=maintenance]::after{background:var(--mist-warning)}
#page-dashboard .metric[data-mist-nav=navApprovals]::after{background:var(--mist-danger)}
#page-dashboard .metric[data-mist-nav=navLuggage]::after{background:var(--mist-teal)}
#page-dashboard .metric b{font:400 40px/1.15 var(--mist-number);letter-spacing:-.03em;margin:10px 0;color:var(--mist-ink)}
#page-dashboard .metric small,#page-dashboard .metric span{font-size:14px;line-height:1.5;color:var(--mist-muted)}
.overview-heading{margin:24px 0 14px}.overview-heading h2{font-size:23px}.overview-heading p{margin:6px 0;font-size:14px;color:var(--mist-on-tint)}
#overviewCharts{gap:var(--mist-s4);align-items:start}
#overviewCharts .overview-lazy{padding:20px;margin-bottom:0}
#overviewCharts summary{font-family:var(--mist-serif);font-size:21px;font-weight:600;color:var(--mist-ink);line-height:1.5}
#overviewCharts summary small{font-family:var(--mist-body);font-size:13px;font-weight:400;color:var(--mist-muted)}
#overviewCharts .overview-chart{background:transparent;backdrop-filter:none;border:0;box-shadow:none;padding:16px 0}
.overview-chart>p,.overview-read-time{font-family:var(--mist-body);font-size:14px;color:var(--mist-muted)}
.overview-column>b{font-family:var(--mist-number);font-size:21px;color:var(--mist-ink)}
.overview-column small{display:inline-block;white-space:nowrap}
.overview-column small,.overview-column>span{font-size:13px;color:var(--mist-muted)}
.overview-column>span{white-space:normal;overflow-wrap:anywhere}
.overview-column i{background:linear-gradient(var(--mist-primary),var(--mist-primary-end));border-radius:5px 5px 0 0}
.overview-column:nth-child(3n+2) i{background:var(--mist-teal)}
.mist-dashboard-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--mist-s4);margin-top:var(--mist-s4);align-items:start}
.mist-attention-list{display:grid;gap:10px}.mist-attention-link{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px;border:1px solid var(--mist-line);border-radius:10px;background:var(--mist-control);color:var(--mist-ink);text-align:left;cursor:pointer}
.mist-attention-link span{flex:1}.mist-attention-link b{font:600 24px var(--mist-number)}
#recentActivity .activity-line{padding:12px 0;border-color:var(--mist-line);color:var(--mist-ink);background:transparent}
#recentActivity .activity-type{color:var(--mist-focus);background:var(--mist-blue)}
#recentActivity :is(small,.activity-summary){font-size:13px;color:var(--mist-muted);white-space:normal}
#recentActivity .activity-one-line{flex-wrap:wrap;row-gap:6px;white-space:normal}
#recentActivity .activity-thumb{border-radius:10px;background:var(--mist-blue);color:var(--mist-muted)}
/* Asset tools stay available: presentation only, original IDs and event handlers. */
#page-assets .asset-room-index-panel{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:center;padding:20px}
#page-assets .asset-room-index-panel>.panel-head{margin:0}
#page-assets .asset-room-selection{grid-column:1/-1}
#page-assets .asset-room-search-row{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
#page-assets .asset-room-search-row>.mist-field{flex:1;min-width:220px}
#page-assets .asset-query-panel{padding:20px}
#page-assets .asset-search-primary{grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(160px,1fr)) auto!important;gap:12px;align-items:end}
#page-assets .asset-search-actions{grid-column:auto;align-self:end}
#page-assets .asset-command-toolbar{border:0;border-top:1px solid var(--mist-line);background:transparent;padding:16px 0 0;margin-top:16px;gap:10px}
#page-assets .asset-command-groups{gap:12px}
#page-assets .asset-command-group{background:transparent;border:0;padding:0;gap:8px;flex:1 1 auto}
#page-assets .asset-command-group[data-tool-group=batch]{flex:1 1 310px}
#page-assets .asset-command-group-title{font-size:13px;color:var(--mist-muted)}
#page-assets .asset-command-group-title::before{display:none}
#page-assets .asset-command-buttons{display:flex;gap:8px;flex-wrap:wrap;width:auto}
#page-assets .asset-command-buttons .btn{width:auto;min-height:44px;font-size:14px;padding:8px 12px}
#page-assets .asset-command-summary #assetCount{font-size:14px;color:var(--mist-muted);white-space:normal}
#page-assets .quick-filter-btn.active,#page-assets .batch-action-main{background:var(--mist-blue);color:var(--mist-focus);border-color:var(--mist-primary)}
.mist-results-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
.mist-results-heading h3{margin:0}.mist-results-heading .asset-view-switch{margin:0}
#assetResults{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px}
#assetResults .asset-card{padding:12px;transform:none;transition:border-color .15s,box-shadow .15s}
#assetResults .asset-card:hover{border-color:var(--mist-primary);box-shadow:var(--mist-shadow-hover)}
#assetResults .asset-photo{height:170px;border-radius:12px;background:linear-gradient(135deg,var(--mist-blue),var(--mist-white));color:var(--mist-muted);font-size:14px}
#assetResults .asset-info{padding:16px 0 4px}#assetResults .asset-info h4{font-size:17px;color:var(--mist-ink);line-height:1.5;margin-bottom:12px}
#assetResults .asset-meta{grid-template-columns:auto minmax(0,1fr);gap:7px 12px;font-size:14px;line-height:1.5}
#assetResults .asset-meta b{color:var(--mist-ink);font-weight:500;overflow-wrap:anywhere}
#assetResults .asset-card-check{width:44px;height:44px;top:14px;right:14px;margin:0;box-shadow:none;border-color:var(--mist-control-line);background:var(--mist-control)}
#assetResults .asset-card-check input{width:20px;height:20px;margin:0}
#assetResults.asset-compact{grid-template-columns:1fr}
#assetResults.asset-compact .asset-card{padding:12px 64px 12px 12px}
#assetResults.asset-compact .asset-photo{height:100%;min-height:110px}
#assetResults.asset-compact .asset-info{padding:0 0 0 16px}
#assetResults.asset-compact .asset-meta{grid-template-columns:repeat(3,auto minmax(0,1fr))}
/* Tasks and exceptions: status is conveyed by text as well as color. */
#page-approvals .task-tabs{width:fit-content;max-width:100%;border:1px solid var(--mist-white-line);background:var(--mist-surface);border-radius:16px;padding:6px;gap:6px;flex-wrap:wrap;margin-bottom:16px}
#page-approvals .task-tabs button{padding:10px 18px;border:0;background:transparent;color:var(--mist-focus);font-size:15px}
#page-approvals .task-tabs button.active{color:white;background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end))}
#page-approvals .task-tabs b{background:var(--mist-blue);color:var(--mist-focus)}
#page-approvals .task-tabs .active b{background:rgba(255,255,255,.22);color:white}
#page-approvals .task-filters{padding:18px;gap:12px;align-items:end;grid-template-columns:minmax(240px,1.5fr) minmax(160px,.8fr) minmax(160px,.7fr) minmax(170px,.8fr) auto auto}
#page-approvals .task-filters:has(#taskAssignment.hidden){grid-template-columns:minmax(240px,1.8fr) minmax(180px,1fr) minmax(170px,.8fr) auto auto}
#page-approvals .task-toolbar{font-size:14px;color:var(--mist-muted);margin:20px 0 14px;flex-wrap:wrap}
#page-approvals .task-list{gap:16px}
#page-approvals .task-card{padding:20px;gap:14px}
#page-approvals .task-card.selected{border-color:var(--mist-primary);box-shadow:0 0 0 1px var(--mist-primary),var(--mist-shadow)}
#page-approvals .task-card-title strong{color:var(--mist-ink);font-size:17px}
#page-approvals .task-location{font-family:var(--mist-number);font-size:26px;letter-spacing:.02em;color:var(--mist-ink)}
#page-approvals .task-card-title .task-subject{color:var(--mist-muted);font-size:14px;line-height:1.6}
#page-approvals .task-step{background:var(--mist-blue);color:var(--mist-focus);font-size:14px;font-weight:500}
#page-approvals .task-age-badge{background:var(--mist-warning-bg);color:var(--mist-warning);border-radius:8px;font-size:13px}
#page-approvals .task-age-badge.overdue,#page-approvals .task-anomaly-badge{background:var(--mist-danger-bg);color:var(--mist-danger);border-color:var(--mist-danger)}
#page-approvals .task-handler{background:var(--mist-blue);color:var(--mist-muted);font-size:14px}
#page-approvals .task-handler b{color:var(--mist-ink)}
#page-approvals .task-actions{border-top:1px solid var(--mist-line);padding-top:14px;flex-wrap:wrap}
#page-approvals .task-date{font-size:13px;color:var(--mist-muted)}
#page-approvals .task-actions .btn{min-height:44px;font-size:14px}
#page-approvals .task-warning,#taskNotice{color:var(--mist-warning);background:var(--mist-warning-bg);border-color:var(--mist-warning)}
.task-card-top input{accent-color:var(--mist-primary)}
.task-pager,.asset-pager{font-size:14px;color:var(--mist-muted);gap:12px;margin-top:20px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :is(#page-dashboard,#page-assets,#page-approvals) :is(.panel,.metric,.asset-card,.task-card,.task-filters,.review-card){background:var(--mist-glass);backdrop-filter:blur(var(--mist-blur));-webkit-backdrop-filter:blur(var(--mist-blur))}
  /* No stacked blur on charts inside a frosted parent. */
  #overviewCharts .overview-chart{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(hover:hover){#page-approvals .task-card[data-task-card]:hover{border-color:var(--mist-primary);background:#e6f1f8;box-shadow:0 10px 24px rgba(48,94,129,.18)}}
#page-approvals .task-card[data-task-card]:focus-visible{background:#edf6fb;outline:3px solid var(--mist-focus);outline-offset:2px}
#page-approvals .task-card.selected{background:#e7f2f9}
/* Site-wide shared chrome, forms, records and business dialogs. Do not alter display/visibility. */
:root{--accent-soft:var(--mist-blue)}
.login-shell{background:radial-gradient(ellipse at 80% 12%,var(--mist-nav-end),transparent 60%),linear-gradient(135deg,var(--mist-white),var(--mist-blue),var(--mist-ice))}
.login-card{background:var(--mist-surface);border:1px solid var(--mist-white-line);box-shadow:var(--mist-shadow);border-radius:var(--mist-radius)}
.login-card h1,.page h2,.page h3,.modal-head h3,.drawer-head h3{font-family:var(--mist-serif);color:var(--mist-ink);letter-spacing:.025em}
.page :is(h4,h5,strong),.modal :is(h4,h5),.drawer :is(h4,h5){color:var(--mist-ink)}
.page .panel,.page :is(.network-asset-hero,.lost-found-hero,.delivery-hero,.energy-hero,.linen-hero,.procurement-hero),.page :is(.network-line-card,.delivery-card,.luggage-order-card,.lost-found-card,.maintenance-asset-history,.inventory-workspace,.review-card){background:var(--mist-surface);border-color:var(--mist-white-line);border-radius:var(--mist-radius);box-shadow:var(--mist-shadow)}
.page :is(.network-asset-kpis,.lost-found-kpis,.energy-kpis,.delivery-kpis,.inventory-metrics)>:is(div,button){background:var(--mist-surface);border-color:var(--mist-white-line);border-radius:var(--mist-radius);color:var(--mist-ink);box-shadow:var(--mist-shadow)}
.page :is(.network-asset-kpis,.lost-found-kpis,.energy-kpis,.delivery-kpis,.inventory-metrics) b{font-family:var(--mist-number);color:var(--mist-ink)}
.page :is(.workspace-tabs,.procurement-tabs,.maintenance-tabs,.inventory-result-tabs,.parameter-tabs,.linen-tabs,.guest-item-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.energy-tabs,.delivery-tabs){background:var(--mist-surface);border-color:var(--mist-line);box-shadow:none;border-radius:12px}
.page :is(.workspace-tabs,.procurement-tabs,.maintenance-tabs,.inventory-result-tabs,.parameter-tabs,.linen-tabs,.guest-item-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.energy-tabs,.delivery-tabs) button{color:var(--mist-focus);border-color:var(--mist-line);min-height:44px}
.page :is(.workspace-tabs,.procurement-tabs,.maintenance-tabs,.inventory-result-tabs,.parameter-tabs,.linen-tabs,.guest-item-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.energy-tabs,.delivery-tabs) button.active{background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end));border-color:var(--mist-primary-end);color:white;box-shadow:none}
:is(.page,.modal,.drawer,.login-card) :is(input,select,textarea){background:var(--mist-control);border-color:var(--mist-control-line);color:var(--mist-ink);border-radius:var(--mist-radius-control)}
:is(.page,.modal,.drawer,.login-card) :is(input,select,textarea):disabled{background:var(--mist-blue);color:var(--mist-muted);cursor:not-allowed}
:is(.page,.modal,.drawer,.login-card) :is(label,.muted){color:var(--mist-muted)}
:is(.page,.modal,.drawer) table{color:var(--mist-ink)}
:is(.page,.modal,.drawer) th{background:var(--mist-blue);color:var(--mist-ink);border-color:var(--mist-line)}
:is(.page,.modal,.drawer) td{border-color:var(--mist-line)}
:is(.page,.modal,.drawer) tbody tr:hover{background:var(--mist-ice)}
.page :is(.filter-grid,.task-filterbar,.inventory-history-filters,.prep-history-filterbar,.energy-room-panel,.network-asset-workbench){border-color:var(--mist-line)}
.modal,.drawer{background:var(--mist-surface);color:var(--mist-ink);box-shadow:var(--mist-shadow-hover)}
.modal{border:1px solid var(--mist-white-line);border-radius:var(--mist-radius)}
.modal-head,.drawer-head{background:var(--mist-surface);color:var(--mist-ink);border-color:var(--mist-line)}
.modal .icon-btn,.drawer .icon-btn{min-width:44px;min-height:44px;color:var(--mist-ink)}
.modal :is(.asset-detail-section,.asset-detail-more,.repair-asset-summary,.review-guide,.delivery-facts,.network-form-section,.network-detail-hero,.lost-found-register-item),.drawer :is(.asset-detail-section,.asset-detail-more,.asset-operation-panel){background:var(--mist-control);border-color:var(--mist-line);border-radius:12px}
.detail-item,.review-input,.task-dispatch-target,.network-detail-grid>div{background:var(--mist-blue);color:var(--mist-ink);border-color:var(--mist-line)}
.detail-item small,.asset-hero-main p,.asset-id-copy{color:var(--mist-muted)}
.asset-hero-main h3,.asset-detail-section h4{color:var(--mist-ink)}
.asset-id-copy{background:var(--mist-blue)}
.badge,.asset-alert.info,.primary-lite,.task-dispatch-target{background:var(--mist-blue);color:var(--mist-focus)}
.badge.green,.asset-alert.ok,.btn.return-ready{background:var(--mist-success-bg);color:var(--mist-success);border-color:var(--mist-success)}
.badge.warn,.asset-alert.warn,.detail-item.warn{background:var(--mist-warning-bg);color:var(--mist-warning)}
.asset-alert.danger,.detail-item.danger{background:var(--mist-danger-bg);color:var(--mist-danger)}
.page .btn.primary,.modal .btn.primary,.drawer .btn.primary,.login-card .btn.primary{background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end));color:white;border-color:var(--mist-primary-end)}
.page .btn:not(.primary):not(.danger):not(.danger-outline):not(.return-ready):not(.active),.modal .btn:not(.primary):not(.danger):not(.danger-outline):not(.return-ready),.drawer .btn:not(.primary):not(.danger):not(.danger-outline){background:var(--mist-control);color:var(--mist-focus);border-color:var(--mist-control-line)}
.toast{background:var(--mist-primary-end);color:white}.toast.error{background:var(--mist-danger)}
/* Notices stay readable above native dialogs and their blurred backdrops. */
#toast.toast{position:fixed;inset:calc(env(safe-area-inset-top,0px) + 12px) 12px auto auto;margin:0;box-sizing:border-box;width:max-content;max-width:min(560px,calc(100vw - 24px));border:1px solid #ffffff80;z-index:2147483647;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
#toast.toast::backdrop{background:transparent;backdrop-filter:none}
#toast.toast.hidden{display:none}
.mobile-upload-page .brand{background:linear-gradient(135deg,var(--mist-nav-start),var(--mist-nav-end));color:var(--mist-ink);border:1px solid var(--mist-white-line)}
.mobile-upload-page .brand b,.mobile-upload-page h1{font-family:var(--mist-serif)}
.mobile-upload-page .card{background:var(--mist-surface);border-color:var(--mist-white-line);box-shadow:var(--mist-shadow);border-radius:var(--mist-radius)}
.mobile-upload-page :is(.meta,.upload small){color:var(--mist-muted)}
.mobile-upload-page .upload{position:relative;background:var(--mist-control);border-color:var(--mist-control-line);color:var(--mist-ink);cursor:pointer}
.mobile-upload-page .upload input{display:block;position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.mobile-upload-page .upload:focus-within{outline:3px solid var(--mist-focus);outline-offset:3px}
.mobile-upload-page .btn{background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end));color:white}
.mobile-upload-page .status{background:var(--mist-blue);color:var(--mist-ink)}
.mobile-upload-page .err{background:var(--mist-danger-bg);color:var(--mist-danger)}
.mobile-upload-page .ok{background:var(--mist-success-bg);color:var(--mist-success)}
#appView .page :is(.workspace-tabs,.procurement-tabs,.maintenance-tabs,.inventory-result-tabs,.parameter-tabs,.linen-tabs,.guest-item-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.energy-tabs,.delivery-tabs) button.active{background:linear-gradient(135deg,var(--mist-primary),var(--mist-primary-end));color:white;border-color:var(--mist-primary-end)}
.page .luggage-kpis>div{background:var(--mist-surface);border-color:var(--mist-white-line);border-radius:var(--mist-radius);box-shadow:var(--mist-shadow)}
.page .luggage-kpis b{font-family:var(--mist-number);font-weight:400;color:var(--mist-ink)}
.page :is(.lg-card,.ll-item,.dy-parcel-card,.dy-order-card){background:var(--mist-control);border-color:var(--mist-line);border-radius:var(--mist-radius);color:var(--mist-ink)}
:is(.page,.modal,.drawer) :is(input,select,textarea)[aria-invalid=true],:is(.page,.modal,.drawer) .field-error :is(input,select,textarea){border-color:var(--mist-danger);background:var(--mist-danger-bg)}
/* Hidden permission/state controls must win over legacy responsive display rules. */
#appView .hidden,#appView [hidden]{display:none!important}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .page>.panel,.page>div>.panel,.login-card{background:var(--mist-glass);backdrop-filter:blur(var(--mist-blur));-webkit-backdrop-filter:blur(var(--mist-blur))}
}
@media(min-width:921px){.app-shell .sidebar{width:242px;padding:20px 16px}.app-shell .main{margin-left:242px;width:calc(100% - 242px);padding:0 30px 36px}}
@media(max-width:1250px){#page-assets .asset-search-primary{grid-template-columns:repeat(2,minmax(0,1fr))!important}#page-assets .asset-search-primary>.mist-field:first-child{grid-column:1/-1}#page-assets .asset-search-actions{grid-column:1/-1}#page-approvals .task-filters,#page-approvals .task-filters:has(#taskAssignment.hidden){grid-template-columns:repeat(2,minmax(0,1fr))}#page-approvals .task-filters>.mist-field:first-child{grid-column:1/-1}.mist-dashboard-bottom{grid-template-columns:1fr}.mist-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px),(max-width:1100px) and (hover:none) and (pointer:coarse){
  .main .topbar{background:var(--mist-surface);min-height:64px;padding:10px 12px!important}.topbar .topbar-heading h2{font-size:23px}.topbar .topbar-heading p{display:none!important}
  .mobile-nav{background:var(--mist-surface);border-color:var(--mist-line)}.mobile-nav button.active,#menuBtn{background:var(--mist-blue);color:var(--mist-focus)}
  #nav button:not(.hidden){font-size:16px}.sidebar-close{background:var(--mist-control);color:var(--mist-ink);width:44px;height:44px}
  .mist-skip-link{left:12px}.mist-metrics{gap:12px}#page-dashboard .metric{padding:16px;min-height:140px}
  #page-assets .asset-room-index-panel{grid-template-columns:1fr;gap:12px}#page-assets .asset-command-group{flex:1 1 100%!important}
  #assetResults{grid-template-columns:repeat(2,minmax(0,1fr))}#assetResults.asset-compact .asset-meta{grid-template-columns:auto minmax(0,1fr)}
}
@media(max-width:600px){
  #page-dashboard .metric b{font-size:34px}.overview-heading{align-items:flex-start;gap:12px}.overview-heading h2{font-size:21px}
  #overviewCharts{grid-template-columns:1fr}.mist-dashboard-bottom{grid-template-columns:1fr}#page-dashboard .panel-head h3{font-size:20px}
  #page-assets .asset-search-primary{grid-template-columns:1fr!important}#page-assets .asset-search-primary>.mist-field,#page-assets .asset-search-actions{grid-column:1}
  #page-assets .asset-room-search-row>.mist-field{flex-basis:100%;min-width:0}#page-assets .asset-room-search-row>.btn{flex:1 1 140px;width:auto}
  #assetResults{grid-template-columns:1fr}#assetResults .asset-photo{height:190px}.mist-results-heading .asset-view-switch{gap:8px}
  #page-approvals .task-tabs{width:100%;gap:4px}#page-approvals .task-tabs button{min-width:0;flex:1 1 100px;padding:10px 8px;gap:6px;font-size:14px}
  #page-approvals .task-filters,#page-approvals .task-filters:has(#taskAssignment.hidden){grid-template-columns:1fr 1fr;padding:14px}
  #page-approvals .task-filters>.mist-field{grid-column:1/-1}#page-approvals .task-card{padding:16px}#page-approvals .task-list{grid-template-columns:1fr}
  #page-approvals .task-date{flex-basis:100%}.task-card-top{padding-right:64px}#taskBatch .btn{flex:1 1 auto}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(forced-colors:active){.btn,.task-card,.asset-card,.metric{border:1px solid ButtonText}#nav button.active{outline:2px solid Highlight}}
@media print{body{background:white}.panel,.metric,.asset-card,.task-card{backdrop-filter:none!important;box-shadow:none!important}}

/* Repair-history search stays on one desktop line; cost is an optional second row. */
#maintenanceHistoryFilters{grid-template-columns:minmax(225px,2fr) minmax(108px,.8fr) repeat(2,minmax(132px,1fr)) minmax(110px,.85fr) minmax(165px,1.25fr) minmax(146px,auto) auto!important;gap:8px;align-items:end}
#maintenanceHistoryFilters>.filter-wide{grid-column:auto}
#maintenanceHistoryFilters>.range-filter-actions{grid-column:7;grid-row:1;min-width:146px}
#maintenanceHistoryFilters>.field-filter-toggle{grid-column:8;grid-row:1;min-height:42px;white-space:nowrap}
#maintenanceHistoryFilters:not(.field-filters-open)>.filter-advanced{display:none!important}
#maintenanceHistoryFilters.field-filters-open>.filter-advanced{display:grid!important;grid-column:span 2}
#maintenanceHistoryFilters input,#maintenanceHistoryFilters select{min-width:0}
@media(max-width:1450px){#maintenanceHistoryFilters{grid-template-columns:repeat(4,minmax(0,1fr))!important}#maintenanceHistoryFilters>.range-filter-actions,#maintenanceHistoryFilters>.field-filter-toggle{grid-column:auto;grid-row:auto}}
@media(max-width:760px){#maintenanceHistoryFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important}#maintenanceHistoryFilters>.filter-wide,#maintenanceHistoryFilters.field-filters-open>.filter-advanced{grid-column:1/-1}#maintenanceHistoryFilters>.range-filter-actions{grid-column:1/-1}}
@media(max-width:480px){#maintenanceHistoryFilters{grid-template-columns:1fr!important}#maintenanceHistoryFilters>.filter-wide,#maintenanceHistoryFilters.field-filters-open>.filter-advanced,#maintenanceHistoryFilters>.range-filter-actions{grid-column:1}}
.image-metadata{position:absolute;left:12px;top:12px;max-width:min(78vw,650px);padding:8px 12px;border-radius:10px;background:rgba(16,37,54,.82);color:#fff;font-size:13px;line-height:1.5;overflow-wrap:anywhere;pointer-events:none}
.image-metadata:empty{display:none}
@media(max-width:700px){.image-metadata{top:64px;left:8px;right:8px;max-width:none;font-size:12px}}
.receipt-photo-link{display:inline-block;width:max-content;max-width:100%;margin:6px 0;padding:6px 0;border:0;background:transparent;color:var(--mist-focus);font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.receipt-photo-link:focus-visible{outline:3px solid var(--mist-focus);outline-offset:2px}
.custody-receipt-checks{display:flex;flex-wrap:wrap;gap:8px 18px;border:1px solid var(--mist-line);border-radius:12px;padding:12px}
.custody-receipt-checks legend{color:var(--mist-ink);font-weight:700}
.custody-receipt-checks label{display:inline-flex;align-items:center;gap:8px;min-height:40px}
.custody-receipt-checks input{width:20px;height:20px;accent-color:var(--mist-primary)}
.custody-receipt-upload{display:grid;gap:8px;margin:12px 0}
.custody-mode-choice{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:12px 0;padding:0}
.custody-mode-choice legend{margin-bottom:8px;color:var(--mist-ink);font-weight:700}
.custody-mode-choice label{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:8px 14px;border:1px solid var(--mist-line);border-radius:12px;background:var(--mist-surface);cursor:pointer}
.custody-mode-choice label:has(input:checked){border-color:var(--mist-primary);background:var(--mist-blue);font-weight:700}
.custody-mode-choice label:has(input:disabled){opacity:.55;cursor:not-allowed}
.custody-mode-choice input{width:19px;height:19px;accent-color:var(--mist-primary)}
.custody-mode-choice label:focus-within{outline:3px solid var(--mist-focus);outline-offset:2px}
.managed-photo{display:grid;gap:6px;min-width:0;max-width:150px;align-content:start}
.managed-photo small{color:var(--mist-muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.managed-photo .btn{min-height:36px}
.image-gallery-tabs{position:fixed;z-index:505;top:110px;left:50%;transform:translateX(-50%);display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:max-content;max-width:calc(100vw - 24px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:6px;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:rgba(9,29,47,.86);box-shadow:0 8px 28px rgba(0,0,0,.28)}
.image-gallery-tabs button{flex:none;scroll-snap-align:start;min-height:44px;padding:8px 14px;border:1px solid rgba(255,255,255,.3);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.image-gallery-tabs button.active{border-color:#c2e6f0;background:#e9f6fa;color:#23465b}
.image-gallery-tabs button:hover:not(.active){background:rgba(255,255,255,.23)}
.image-gallery-tabs button:focus-visible,.image-close:focus-visible{outline:3px solid #a9e7ff;outline-offset:2px}
.image-gallery-tabs button span{font-variant-numeric:tabular-nums;opacity:.86}
.maintenance-location-facts{align-items:start}
.maintenance-location-note{grid-column:1/-1;margin:0;padding:9px 11px;border:1px solid #d4e2ec;border-radius:9px;background:#edf5fa;color:#355b75;font-size:13px;line-height:1.55}
#imageBackdrop .image-zoom-toolbar{gap:8px;padding:7px;border-radius:12px;background:rgba(12,30,48,.84)}
#imageBackdrop .image-zoom-toolbar button{min-width:72px;min-height:42px;padding:0 12px;font-size:14px;font-weight:700}
#imageBackdrop .image-zoom-toolbar button:focus-visible{outline:3px solid #a9e7ff;outline-offset:2px}
#assetResults .asset-photo[role="button"]{cursor:zoom-in}
#assetResults .asset-photo[role="button"]:focus-visible{outline:3px solid var(--mist-focus);outline-offset:-3px}
.energy-room-query-wrap{position:relative;min-width:0}
.energy-room-query-wrap .energy-room-query{display:grid;gap:4px;min-width:0}
.energy-room-query-wrap .energy-room-query input{width:100%}
.energy-room-suggestions{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;max-height:min(360px,50dvh);overflow:auto;padding:5px;border:1px solid var(--mist-line);border-radius:12px;background:var(--mist-surface);box-shadow:0 14px 30px rgba(38,59,80,.18)}
.energy-room-suggestions button{display:grid;width:100%;min-height:48px;gap:2px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--mist-ink);text-align:left;font:inherit;cursor:pointer}
.energy-room-suggestions button strong{font-size:15px}.energy-room-suggestions button span{color:var(--mist-muted);font-size:12px;overflow-wrap:anywhere}
.energy-room-suggestions button:hover,.energy-room-suggestions button[aria-selected="true"]{background:#e6f1f8}
.energy-room-suggestions button:focus-visible{outline:3px solid var(--mist-focus);outline-offset:-3px}
.energy-room-suggestion-empty{padding:10px;color:var(--mist-muted);font-size:13px;line-height:1.5}
@media(max-width:960px){.energy-room-filters>.energy-room-query-wrap{grid-column:1/-1}}
.image-gallery-empty{grid-area:1/1;padding:20px;color:#fff;text-align:center;font-size:16px}
#imageBackdrop.asset-gallery-open .image-preview-stage{box-sizing:border-box;padding-top:150px;padding-bottom:42px}
.image-backdrop.asset-gallery-open .image-metadata{top:auto;bottom:46px}
@media(max-width:920px){
  .image-backdrop>.image-close{display:grid!important;place-items:center;top:calc(6px + env(safe-area-inset-top));right:12px;min-width:44px;min-height:44px;line-height:1;background:rgba(11,31,50,.9)}
  #imageBackdrop .image-zoom-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));width:min(300px,calc(100% - 24px))}
  .image-gallery-tabs{top:calc(56px + env(safe-area-inset-top));gap:4px;padding:5px}
  .image-gallery-tabs button{min-height:44px;padding:6px 10px;font-size:13px}
  #imageBackdrop.asset-gallery-open .image-preview-stage{padding-top:calc(116px + env(safe-area-inset-top))!important;padding-bottom:calc(160px + env(safe-area-inset-bottom))!important}
  .image-backdrop.asset-gallery-open .image-metadata{top:auto;bottom:calc(160px + env(safe-area-inset-bottom));max-width:calc(100% - 20px)}
}
#modal:has(.maintenance-detail-modal){width:min(760px,calc(100vw - 24px))}
.maintenance-detail-modal{display:grid;gap:12px;color:var(--mist-ink)}
.maintenance-detail-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #c9ddea;border-radius:14px;background:linear-gradient(125deg,#eaf4fa,#f7fbfd)}
.maintenance-detail-header>div{min-width:0}.maintenance-detail-header small{display:block;color:var(--mist-muted);font-size:12px;line-height:1.5}
.maintenance-detail-header h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:3px 0 5px;color:var(--mist-ink);font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.maintenance-detail-header>div>span{color:var(--mist-muted);font-size:12px}.maintenance-detail-current{min-width:155px;padding:9px 12px;border:1px solid #c9ddea;border-radius:10px;background:var(--mist-control)}
.maintenance-detail-current strong{display:block;margin-top:3px;font-size:15px;overflow-wrap:anywhere}
.maintenance-detail-section{min-width:0;padding:14px;border:1px solid var(--mist-line);border-radius:13px;background:var(--mist-surface)}
.maintenance-detail-section h4{margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--mist-line);color:var(--mist-ink);font-size:15px;line-height:1.4}
.maintenance-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.maintenance-detail-grid>div{min-width:0;padding:9px 11px;border-radius:9px;background:var(--mist-control)}
.maintenance-detail-grid dt{margin-bottom:4px;color:var(--mist-muted);font-size:12px;line-height:1.35}
.maintenance-detail-grid dd{margin:0;color:var(--mist-ink);font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.maintenance-detail-modal .maintenance-description{margin:0;background:#eff6fb}
.maintenance-detail-modal .maintenance-description h4{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.maintenance-fault-text{margin:0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.maintenance-detail-modal .maintenance-location-note{margin:10px 0 0}
.maintenance-detail-modal .maintenance-quiet{margin:0;color:var(--mist-muted)}
.maintenance-detail-modal .maintenance-action-section{border-color:#b9d2e6;background:#f6fafd}
.maintenance-action-section .form-grid{gap:12px}
.maintenance-current-hint{display:block;margin:4px 0 6px;color:var(--mist-muted);font-size:12px;line-height:1.5}
.maintenance-move-pending{display:inline-flex;width:max-content;max-width:100%;margin-top:4px;padding:3px 8px;border:1px solid #e9d2a0;border-radius:999px;background:var(--mist-warning-bg);color:var(--mist-warning);font-size:12px;font-weight:700;white-space:normal}
.maintenance-detail-modal #mfError:not(:empty){margin:0;padding:10px 12px;border:1px solid #ecc4ca;border-radius:9px;background:var(--mist-danger-bg);color:var(--mist-danger)}
.maintenance-detail-modal .modal-actions{position:sticky;bottom:-18px;z-index:2;margin:0 -18px -18px;padding:12px 18px;border-top:1px solid var(--mist-line);background:var(--mist-surface)}
@media(max-width:620px){.maintenance-detail-header{align-items:stretch;flex-direction:column;padding:12px}.maintenance-detail-current{min-width:0}.maintenance-detail-section{padding:11px}.maintenance-detail-grid{grid-template-columns:1fr}.maintenance-detail-modal .modal-actions{bottom:-14px;margin:0 -14px -14px;padding:10px 14px;flex-wrap:wrap}}
.room-freeze-check{--freeze-pass:#24735d;--freeze-block:#ac3545;--freeze-surface:#f5faff;--freeze-line:#cbdbea;--freeze-ink:#263b50;--freeze-blue:#326391;max-width:640px;color:var(--freeze-ink)}
.freeze-check-list{list-style:none;padding:0;margin:18px 0}.freeze-check-list li{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--freeze-line);align-items:flex-start}.freeze-check-list li>span{font-size:23px;font-weight:700;line-height:1.2;color:var(--freeze-pass)}.freeze-check-list .blocked>span{color:var(--freeze-block)}.freeze-check-list small{display:block;margin-top:6px;line-height:1.5}.room-freeze-check .btn{min-height:44px}.location-freeze-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:2px 5px;margin-left:4px;border:1px solid #9dbbda;border-radius:5px;background:#dceaf7;color:#285d8c;font-size:12px;font-weight:700;white-space:nowrap}
/* Acknowledgement is the final task action, not a header shortcut. */
.task-ack-actions{margin-top:24px!important;padding-top:16px;border-top:1px solid #d3e5f0;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.task-ack-button{min-height:48px!important;min-width:160px;font-weight:700!important;background:#426b96!important;color:#fff!important;border-color:#426b96!important}
@media(max-width:700px){.task-ack-button{width:100%}}


/* compact-shell.css */
/* Shared rule: navigation identifies the page; reserve visible space for content/actions.
   Keep the heading in the accessibility tree, and do not hide section/dialog titles. */
.main>.topbar>.topbar-heading{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.main>.topbar{height:auto!important;min-height:0!important;padding:6px 0!important;gap:8px;border-bottom:0}
.main>.page{padding-top:8px}
.main>.topbar>.page-header-actions.field-empty{display:none!important}
.main>.topbar>.page-header-actions{margin-left:auto}
.main>.topbar>.online-pill{font-size:11px;padding:3px 7px;line-height:1.4}
.main>.topbar>.field-empty+.online-pill{margin-left:auto}
.sidebar #nav{gap:1px;padding-top:0}
.sidebar #nav button{min-height:36px;padding:6px 11px;line-height:1.25}
.sidebar #nav .nav-group-label{margin-top:4px;padding:7px 11px 4px;line-height:1.3}
.sidebar #nav .nav-group-label:first-child{margin-top:0;padding-top:3px}
.sidebar .brand{margin-bottom:8px;padding-bottom:10px}
@media(min-width:921px){.main.topology-active>.topbar{height:0!important;padding:0!important;margin:0;border:0}}
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){
  .main>.topbar{display:flex!important;align-items:center!important;flex-wrap:nowrap;min-height:0!important;padding:calc(5px + env(safe-area-inset-top)) 0 5px!important}
  .main>.topbar>#menuBtn{flex:none;width:44px;height:44px}
  .main>.topbar>#pageHeaderActions.page-header-actions{flex:1 1 auto;width:auto;min-width:0;margin:0 0 0 auto!important;overflow-x:auto}
  .main>.topbar>.page-header-actions .btn{min-height:44px}
  .sidebar #nav button{min-height:44px;padding:7px 11px}
}


/* repair-cycle.css */
/* Repair cycles and advisory filters share the existing mist-blue tokens. */
/* Presentation only: the independent original-image viewer must stay in color. */
.asset-card.terminal-card{filter:grayscale(1)}
.asset-card.terminal-card .asset-info,.asset-card.terminal-card .asset-info *{color:#60666c}
.terminal-thumbnail{filter:grayscale(1)}
.topology-initialization{padding:20px;background:#f8fbfd;border:1px solid #d3e5f0;border-radius:14px;color:#263b50}
.topology-initialization p{max-width:65ch;line-height:1.7}
.topology-initialization select{display:block;max-width:100%;min-height:44px;margin:16px 0}
.topology-initialization button{margin:0 10px 10px 0}
.category-combobox{position:relative;min-width:0}
.category-combobox>label{display:block;margin-bottom:8px}
.category-combobox-input{display:flex;align-items:stretch;border:1px solid #738aa0;border-radius:10px;background:white;overflow:hidden}
.category-map-form .category-combobox-input input{min-width:0;width:100%;border:0;border-radius:0;margin:0;box-shadow:none;background:transparent}
.category-combobox-input button{flex:0 0 44px;min-height:44px;border:0;border-left:1px solid #d3e5f0;border-radius:0;background:#eaf3f8;color:#315c85;cursor:pointer}
.category-combobox-input:focus-within{outline:2px solid #4b75a2;outline-offset:2px}
#acmCategoryOptions{position:relative;z-index:auto;margin-top:8px;max-height:264px;overflow:auto;min-height:44px;background:var(--panel,#fff);border:1px solid var(--border,#d3e5f0);border-radius:8px}
#acmCategoryOptions[hidden]{display:none}
#acmCategoryOptions [role=option]{display:flex;align-items:center;min-height:44px;padding:6px 12px;box-sizing:border-box;cursor:pointer;color:#263b50}
#acmCategoryOptions [aria-selected=true],#acmCategoryOptions [role=option]:hover{background:#eaf3f8}
.category-option-empty{padding:12px;color:#60768a;font-size:13px}
.asset-tag-requirements{min-width:0;margin:14px 0 0;padding:10px 12px;border:1px solid var(--border,#d3e5f0);border-radius:9px}
.asset-tag-requirements legend{padding:0 4px;color:var(--text,#263b50);font-weight:700}
.asset-tag-requirements legend span{font-size:12px;font-weight:400;color:var(--muted,#60768a)}
#acmTagRequirementChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#acmTagRequirementChoices label{display:flex;align-items:center;gap:8px;min-height:44px;min-width:0;margin:0;padding:8px;border:1px solid var(--border,#d3e5f0);border-radius:8px;font-size:13px}
#acmTagRequirementChoices label:has(input:checked){background:var(--surface,#eaf3f8);border-color:var(--primary,#4b75a2)}
#acmTagRequirementChoices input{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--primary,#4b75a2)}
#acmTagRequirementChoices span{overflow-wrap:anywhere}
.asset-tag-type-list{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.asset-tag-type-list span{padding:8px 12px;border:1px solid var(--border,#d3e5f0);border-radius:8px;color:var(--text,#263b50);overflow-wrap:anywhere}
.asset-tag-type-add{display:flex;gap:12px;align-items:end}
.asset-tag-type-add label{display:grid;gap:6px;flex:1;min-width:0}
.asset-tag-type-add input{width:100%;min-width:0}
.asset-tag-type-add .btn{flex:none}
@media(max-width:600px){.category-secondary-editor .category-map-form,#acmTagRequirementChoices{grid-template-columns:minmax(0,1fr)}.asset-tag-type-add{flex-direction:column;align-items:stretch}.asset-tag-type-add input,.asset-tag-type-add .btn{min-height:44px}.asset-setting-tabs{flex-wrap:wrap}}

.repair-progress>header,.asset-repair-cycle>header{display:flex;justify-content:space-between;align-items:start;gap:12px}
.repair-progress header h4,.asset-repair-cycle h5{margin:0 0 4px;color:var(--text,#263b50)}
.repair-cycle-state,.asset-repair-cycle>header>span{font-size:13px;color:#315c85;background:#eaf3f8;padding:5px 10px;border-radius:8px}
.repair-cycle-period{display:flex;flex-wrap:wrap;gap:8px 16px;color:#60768a;line-height:1.6}
.repair-cycle-period strong{color:#263b50;font-variant-numeric:tabular-nums}
.repair-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;list-style:none;padding:12px 0 0;margin:0}
.repair-progress-steps>li{position:relative;min-width:0;padding:0 10px}
.repair-progress-steps>li:not(:last-child)::after{content:"";position:absolute;top:17px;left:46px;right:-10px;height:2px;background:#c7d6e5}
.repair-progress-steps>li.done::after{background:#4b75a2}
.repair-step-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;position:relative;z-index:1;background:#e9eff5;color:#60768a;border:2px solid #f8fbfd;font-weight:700}
.done>.repair-step-number{background:#4b75a2;color:white}
.active>.repair-step-number{outline:2px solid #4b75a2;outline-offset:2px}
.repair-progress-steps h5{font-size:15px;line-height:1.5;margin:34px 0 4px;overflow-wrap:anywhere}
.repair-segment-time{position:absolute;top:24px;left:46px;right:-10px;text-align:center;font-size:12px;line-height:1.5;color:var(--muted,#60768a);font-variant-numeric:tabular-nums}
.repair-step-actor{margin-top:8px;font-size:14px;line-height:1.5;color:var(--text,#263b50);overflow-wrap:anywhere}
.repair-step-at{display:block;font-size:13px;color:var(--muted,#60768a);line-height:1.7;font-variant-numeric:tabular-nums}
.repair-step-status{color:#315c85;font-size:13px}
.repair-progress-steps p{font-size:13px;line-height:1.6;color:#60768a;min-height:42px;margin:8px 0}
.repair-progress-steps dl{display:grid;gap:8px;margin:12px 0 0}
.repair-progress-steps dl div{min-width:0}.repair-progress-steps dt{font-size:12px;color:#60768a}
.repair-progress-steps dd{font-size:13px;margin:3px 0 0;line-height:1.5;overflow-wrap:anywhere;color:#263b50}
.asset-repair-cycle{padding:16px;border:1px solid #c7dcef;border-left:3px solid #4b75a2;border-radius:12px;background:#f8fbfd;margin:12px 0}
.asset-repair-cycle p{line-height:1.65;overflow-wrap:anywhere}.asset-repair-cycle details{margin:12px 0}
.asset-repair-cycle summary,.asset-repair-audit summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#315c85}
.repair-cycle-gap{border-left:2px dashed #a9bdd2;margin:16px 0 0 18px;padding:10px 16px;color:#60768a;font-size:13px}
.asset-repair-audit{margin:16px 0}.review-note{color:#4e657a;line-height:1.6}
#reviewFilters.review-filters{display:grid;grid-template-columns:minmax(200px,2fr) repeat(2,minmax(130px,1fr));gap:12px;padding:16px;border:1px solid #d3e5f0;border-radius:14px;background:#f8fbfd;margin:16px 0}
.review-filters>label{display:grid;align-content:start;gap:6px;font-size:13px;color:#60768a;min-width:0;margin:0}
#reviewFilters input,#reviewFilters select{width:100%;min-width:0;min-height:44px;box-sizing:border-box}
.review-score{grid-column:1/-1;border:1px solid #d3e5f0;border-radius:10px;min-width:0;padding:10px 14px;margin:0}
.review-score legend{font-size:14px}.review-score output{font-weight:700;color:#263b50;margin-left:12px}
.review-score>div{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.review-score>div>label{display:grid;grid-template-columns:52px 1fr;align-items:center;font-size:13px;color:#60768a}
.review-score input[type=range]{accent-color:#4b75a2;padding:0;cursor:pointer}
.review-score .review-unscored{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}
#reviewFilters .review-unscored{justify-content:flex-start;margin:0}
#reviewFilters .review-unscored input{width:20px;height:20px;min-height:20px;flex:none}
.review-filter-actions{display:flex;gap:10px;grid-column:1/-1;justify-content:end}
.review-pager{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}
.review-pager span{font-size:13px;font-variant-numeric:tabular-nums}
.repair-progress button:focus-visible,.asset-repair-cycle summary:focus-visible,.review-filters :focus-visible{outline:3px solid #4b75a2;outline-offset:2px}
@media(max-width:600px){
 .repair-progress-steps{grid-template-columns:1fr;gap:0}
 .repair-progress-steps>li{display:grid;grid-template-columns:36px 1fr;gap:16px;padding:0 0 20px}
 .repair-progress-steps>li:not(:last-child)::after{left:17px;right:auto;top:36px;bottom:0;width:2px;height:auto}
 .repair-progress-steps>li{padding-bottom:36px}
 .repair-segment-time{top:auto;bottom:8px;left:52px;right:auto;text-align:left}
 .repair-step-content{grid-column:2}
 .repair-step-actor{margin-top:4px}
 .repair-progress-steps h5{margin:0 0 3px}.repair-progress-steps p{min-height:0}
 .repair-progress-steps dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 #reviewFilters.review-filters{grid-template-columns:1fr 1fr;padding:12px;gap:12px}
 .review-filters>label:first-child{grid-column:1/-1}
 .review-score>div{grid-template-columns:1fr;gap:0}
 .review-filter-actions .btn{flex:1}.review-pager>span{order:-1;width:100%;text-align:center}.review-pager>.btn{flex:1}
 .repair-cycle-period{font-size:13px}.repair-progress>header{flex-wrap:wrap}
}


/* delivery-review-energy.css */
/* Existing mist-blue system: compact operation rows, one date example per utility. */
.dy-review-note{font-size:13px;line-height:1.7;color:var(--mist-muted,#60768a);margin:0 0 16px}
.dy-review-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0;border-block:1px solid var(--mist-border,#d3e5f0)}
.dy-review-tools>div{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.dy-review-tools .btn{min-height:44px}
.dy-review-check{display:flex;gap:8px;align-items:center;min-height:44px;min-width:44px;margin:0;cursor:pointer}
.dy-review-check input,.dy-review-paid-confirm input{width:18px!important;height:18px!important;flex-shrink:0;margin:0}
.dy-audit-table{width:100%;min-width:0;max-width:100%;table-layout:fixed;border-collapse:collapse;margin:16px 0;font-size:14px}
.dy-audit-table th{white-space:normal;overflow-wrap:anywhere;text-align:left;background:var(--mist-pale,#eaf3f8);padding:12px}.dy-audit-table th:first-child{width:28%}.dy-audit-table th:nth-child(2){width:17%}.dy-audit-table th:nth-child(3){width:17%}.dy-audit-table th:nth-child(4){width:21%}
.dy-audit-table td{white-space:normal;padding:12px;border-bottom:1px solid var(--mist-border,#d3e5f0);vertical-align:top;overflow-wrap:anywhere}.dy-audit-table small{display:block;font-size:12px;line-height:1.6;color:var(--mist-muted,#60768a);margin-top:5px}
.dy-review-identity{display:flex;align-items:flex-start;gap:4px}.dy-review-identity>div{min-width:0}.dy-review-identity b{display:block;font-size:14px}.dy-audit-table button{white-space:normal!important;overflow-wrap:anywhere;min-height:44px}
.dy-review-status{display:inline-block;padding:5px 10px;font-size:13px;font-weight:600;border-radius:6px;background:#eaf3f8;color:#365c86;line-height:1.5}
.dy-review-settled{background:#e8f6ee;color:#176345}.dy-review-rejected,.dy-review-ineligible,.dy-review-zero_rate{background:#fff0f1;color:#a32639}
.dy-review-unfinished{background:#edf2f7;color:#465f78}
.dy-review-deny{color:#a32639!important;border-color:#a32639!important}
.dy-review-dialog{width:min(600px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;box-sizing:border-box;border:1px solid var(--mist-border,#d3e5f0);border-radius:16px;background:var(--mist-white,#f8fbfd);color:var(--mist-ink,#263b50)}
.dy-review-dialog::backdrop{background:rgba(38,59,80,.48);backdrop-filter:blur(5px)}
.dy-review-dialog h3{margin:0 0 16px}.dy-review-dialog p{font-size:14px;line-height:1.6}.dy-review-dialog ul{padding-left:22px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.dy-review-note-field{display:grid;gap:8px;margin:16px 0}.dy-review-note-field textarea{width:100%;font-size:16px}.dy-review-dialog [data-batch-error]{color:#a32639}.dy-review-paid-confirm{display:flex;align-items:center;gap:12px;min-height:44px;line-height:1.6}
#page-delivery.delivery-records-view .dy-records-table col:nth-child(1){width:22%}#page-delivery.delivery-records-view .dy-records-table col:nth-child(2){width:13%}#page-delivery.delivery-records-view .dy-records-table col:nth-child(3){width:15%}#page-delivery.delivery-records-view .dy-records-table col:nth-child(4){width:15%}#page-delivery.delivery-records-view .dy-records-table col:nth-child(5){width:16%}#page-delivery.delivery-records-view .dy-records-table col:nth-child(6){width:19%}
.delivery-tabs{flex-wrap:wrap}.delivery-tabs button{min-height:44px;white-space:normal}
@media(max-width:760px){#page-delivery .delivery-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}#page-delivery .delivery-tabs button{white-space:normal;overflow-wrap:anywhere;min-width:0}}
#page-delivery.delivery-records-view .delivery-toolbar{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr)) auto auto}
#page-delivery.delivery-review-view .delivery-toolbar{grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto auto}
@media(max-width:1000px){#page-delivery.delivery-records-view .delivery-toolbar,#page-delivery.delivery-review-view .delivery-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#page-delivery .delivery-toolbar #deliveryQ{grid-column:1/-1}#page-delivery .delivery-toolbar .btn{width:100%;min-height:44px}}
@media(max-width:700px){.dy-review-tools>div{margin-left:0;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dy-review-tools>div>button:first-child{grid-column:1/-1}.dy-audit-table,.dy-audit-table tbody,.dy-audit-table tr,.dy-audit-table td{display:block;width:100%}.dy-audit-table thead{display:none}.dy-audit-table tr{border:1px solid var(--mist-border,#d3e5f0);border-radius:10px;margin-bottom:12px;background:#fff;padding:8px;box-sizing:border-box}.dy-audit-table td{border:0;padding:8px;box-sizing:border-box}.dy-audit-table td:not(:first-child)::before{content:attr(data-label);display:block;color:var(--mist-muted,#60768a);font-size:12px;margin-bottom:5px}.dy-audit-table{font-size:16px}.dy-review-dialog{padding:16px}.dy-review-dialog .modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dy-review-dialog .modal-actions button{white-space:normal!important;min-height:44px}}
.energy-utility-policy .energy-cycle-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
.energy-deadline-section{margin-top:12px;border:1px solid var(--mist-border,#d3e5f0);border-radius:10px;background:#fff;overflow:hidden}
.energy-deadline-section h4{font-size:16px;margin:0;padding:12px 16px;background:var(--mist-pale,#eaf3f8)}
.energy-deadline-row,.energy-deadline-head{display:grid;grid-template-columns:minmax(130px,.65fr) minmax(250px,1.5fr) minmax(225px,1fr);gap:16px;padding:12px 16px;align-items:center}
.energy-deadline-head{font-size:13px;color:var(--mist-muted,#60768a);border-bottom:1px solid var(--mist-border,#d3e5f0)}
.energy-deadline-row+.energy-deadline-row{border-top:1px solid var(--mist-border,#d3e5f0)}
.energy-deadline-row>div{min-width:0}.energy-deadline-row b{font-size:14px}.energy-deadline-row small{display:block;font-size:12px;color:var(--mist-muted,#60768a);line-height:1.6}
.energy-deadline-reminder{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.energy-unified-example{padding:16px;margin:16px 0 0;background:var(--mist-pale,#eaf3f8);border-radius:10px}
.energy-unified-example>label{display:flex;align-items:center;gap:12px;margin:0;font-size:14px}
.energy-unified-example select{width:110px;min-height:44px;margin:0}.energy-unified-example>p{margin:10px 0;font-size:14px}
.energy-unified-example ol{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.energy-unified-example li{display:grid;gap:6px;border-left:3px solid var(--mist-primary,#4b75a2);padding-left:10px}
.energy-unified-example li span,.energy-unified-example>small{color:var(--mist-muted,#60768a);font-size:12px}
.energy-unified-example li b{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.energy-unified-example>small{display:block;margin-top:12px}.energy-unified-example .energy-sequence-warning{color:#975010}.energy-sequence-warning:empty{display:none}
.energy-planned-arrival{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0 0;padding-top:10px;border-top:1px solid var(--mist-border,#d3e5f0);font-size:12px;line-height:1.6}
.energy-planned-arrival span{color:var(--mist-muted,#60768a)}.energy-planned-arrival b{font-weight:600}
@media(max-width:1000px){.energy-deadline-row{grid-template-columns:140px minmax(0,1fr)}.energy-deadline-reminder{grid-column:2}.energy-deadline-head{display:none}}
@media(max-width:700px){.energy-deadline-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}.energy-deadline-reminder{grid-column:auto;border-top:1px dashed var(--mist-border,#d3e5f0);padding-top:8px}.energy-unified-example ol{grid-template-columns:repeat(2,minmax(0,1fr))}.energy-unified-example{padding:12px}.energy-deadline-row b{font-size:16px}.energy-utility-policy .energy-cycle-controls{grid-template-columns:minmax(0,1fr)}}


/* delivery-statistics.css */
.dy-stat-tabs{display:flex;gap:8px;margin-bottom:12px}.dy-stat-tabs[hidden],.dy-date-range[hidden],.dy-collected-checks[hidden]{display:none!important}.dy-stat-tabs button{border:1px solid #d3e5f0;border-radius:9px;background:#f6fafc;color:#426b96;min-height:44px;padding:8px 18px;cursor:pointer}.dy-stat-tabs button.active{background:#4b75a2;color:white}.dy-date-range{display:flex;gap:10px;flex:0 1 auto}.dy-date-range label{display:grid;gap:4px;font-size:12px;color:#57738d}.dy-date-range input{min-width:140px!important;width:160px!important}.dy-collected-checks{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dy-collected-checks label{display:flex;align-items:center;gap:6px;min-height:44px;font-size:13px}.dy-collected-checks input{width:16px!important;height:16px;min-width:16px!important}.dy-stat-help{font-size:13px;color:#57738d;line-height:1.8}.dy-stat-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dy-stat-chart{margin:0;padding:20px;border:1px solid #d3e5f0;border-radius:14px;background:#f6fafc}.dy-stat-chart figcaption{font-size:17px;font-weight:700;color:#263b50}.dy-stat-chart figcaption small{display:block;font-weight:400;font-size:12px;margin-top:6px;color:#57738d}.dy-stat-chart ol{padding:0;list-style:none}.dy-stat-chart li{display:grid;grid-template-columns:minmax(72px,.8fr) minmax(80px,2fr) minmax(72px,1fr);gap:10px;align-items:center;margin-top:18px;font-size:13px;overflow-wrap:anywhere}.dy-stat-chart li small{grid-column:2/4;color:#57738d}.dy-stat-chart b{text-align:right;font-variant-numeric:tabular-nums}.dy-stat-bar-track{height:12px;border-radius:4px;background:#eaf3f8;overflow:hidden}.dy-stat-bar-track i{height:100%;display:block;background:#4b75a2;border-radius:4px}.dy-stat-chart:nth-child(2) .dy-stat-bar-track i{background:#559a9a}.dy-stat-source{margin-top:16px}.dy-stat-source summary{cursor:pointer;color:#426b96;min-height:44px;display:flex;align-items:center}.dy-stat-source table,.dy-settlement-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.dy-settlement-table caption{text-align:left;color:#57738d;font-size:12px;margin:10px 0}.dy-settlement-table th,.dy-settlement-table td,.dy-stat-source th,.dy-stat-source td{padding:12px 10px;border-bottom:1px solid #d3e5f0;text-align:left;overflow-wrap:anywhere}.dy-settlement-table th,.dy-stat-source th{background:#eaf3f8}.dy-settlement-table small{display:block;color:#57738d;margin-top:5px}.dy-original-dialog{width:min(900px,92vw);max-height:86vh;box-sizing:border-box;background:#f6fafc;color:#263b50;border:1px solid #d3e5f0;border-radius:18px;padding:22px}.dy-original-dialog::backdrop{background:#263b5077;backdrop-filter:blur(5px)}.dy-original-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.dy-original-dialog section{overflow-wrap:anywhere}.dy-original-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dy-original-facts div{padding:10px;background:#eaf3f8;border-radius:9px}.dy-original-facts dt{font-size:12px;color:#57738d}.dy-original-facts dd{margin:6px 0 0;font-size:14px}.dy-original-dialog section>.btn{margin:5px}.dy-original-dialog button:focus-visible,.dy-stat-tabs button:focus-visible{outline:3px solid #426b96;outline-offset:3px}.dy-records-table col:nth-child(1){width:26%}.dy-records-table col:nth-child(2){width:18%}.dy-records-table col:nth-child(3){width:18%}.dy-records-table col:nth-child(4){width:19%}.dy-records-table col:nth-child(5){width:19%}
.delivery-statistics-view #deliveryList{display:block}.delivery-statistics-view #deliveryFilters{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.delivery-statistics-view #deliveryFilters [hidden]{display:none!important}.delivery-statistics-view .dy-date-range{gap:12px}.delivery-statistics-view #deliveryList>.dy-stat-help{margin:16px 0}.delivery-statistics-view #deliveryList>.dy-stat-charts{margin:16px 0}
@media(max-width:760px){.dy-stat-charts{grid-template-columns:1fr}.dy-date-range{width:100%}.dy-date-range label{flex:1;min-width:0}.dy-date-range input{width:100%!important;min-width:0!important}.dy-stat-chart{padding:14px}.dy-settlement-table thead{display:none}.dy-settlement-table tr{display:block;padding:12px 0;border-bottom:1px solid #d3e5f0}.dy-settlement-table td{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;border:0;padding:6px 8px}.dy-settlement-table td:before{content:attr(data-label);color:#57738d}.dy-settlement-table td small{grid-column:2}.dy-original-facts{grid-template-columns:1fr}.dy-original-dialog{padding:14px}}


/* delivery-followups.css */
/* Collected procurement filters: explicit yes/no, compact on desktop, wrap on mobile. */
#page-delivery.delivery-followups-view #deliveryFilters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#page-delivery.delivery-followups-view #deliveryFilters [hidden]{display:none!important}
#page-delivery.delivery-followups-view #deliveryFilters input,
#page-delivery.delivery-followups-view #deliveryFilters select,
#page-delivery.delivery-followups-view #deliveryFilters button,
#page-delivery.delivery-followups-view #deliveryFilters label{font-size:12px!important;min-width:0}
#page-delivery.delivery-followups-view #deliveryQ{flex:0 1 20em;width:20em!important;max-width:100%}
#page-delivery.delivery-followups-view #deliveryState{flex:0 0 auto;width:calc(6em + 34px)!important;max-width:100%}
#deliveryCollectedChecks{display:flex;flex-wrap:wrap;gap:8px;min-width:0;align-items:center}
#deliveryCollectedChecks .dy-collected-toggle{display:inline-flex;position:relative;align-items:center;gap:8px;white-space:nowrap;min-height:44px;width:auto;margin:0;padding:0 10px;border:1px solid var(--border,#d3e5f0);border-radius:8px;background:var(--surface,#f6fafc);cursor:pointer;color:#526e88}
.dy-collected-toggle input{position:absolute;opacity:0;inset:0;width:100%!important;height:100%;margin:0;z-index:1;cursor:pointer}
.dy-toggle-track{display:block;position:relative;flex:0 0 32px;width:32px;height:18px;border-radius:20px;background:#8296a9}
.dy-toggle-track:before{content:'';position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:white}
.dy-collected-toggle input:checked+.dy-toggle-track{background:#4b75a2}
.dy-collected-toggle input:checked+.dy-toggle-track:before{left:16px}
.dy-collected-toggle input:focus-visible+.dy-toggle-track{outline:2px solid #284f7c;outline-offset:3px}
.dy-collected-toggle .dy-toggle-on{display:none}
.dy-collected-toggle input:checked~.dy-toggle-off{display:none}
.dy-collected-toggle input:checked~.dy-toggle-on{display:inline}
@media(max-width:760px){#page-delivery.delivery-followups-view #deliveryQ{flex-basis:100%;width:100%!important}#deliveryCollectedChecks{flex-basis:100%}}

/* Nine fields share one desktop grid. Use the available results width, rather
   than the window width, to switch to labelled cards beside the PC sidebar. */
body #page-delivery.delivery-followups-view #deliveryList{
  display:block;min-width:0;container:delivery-followups / inline-size;
}
body #page-delivery.delivery-followups-view .dy-followup-header{display:none!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:'item item' 'tracking tracking' 'place recipient' 'person person' 'reason reason' 'state age' 'open open';
  gap:8px 12px!important;align-items:center;box-sizing:border-box;min-width:0;
  height:auto!important;min-height:44px!important;max-height:none!important;
  padding:14px 16px!important;border:0!important;border-radius:0!important;
  font-size:12px;line-height:1.5!important;white-space:normal;
}
body #page-delivery.delivery-followups-view .dy-followup-row>button>span{
  min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;
  text-align:left;justify-self:stretch;font-size:12px;
}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-main{grid-area:item!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-tracking{grid-area:tracking!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-place{grid-area:place!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-recipient{grid-area:recipient!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-person{grid-area:person!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-reason{grid-area:reason!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-stage{grid-area:state!important;justify-self:start;white-space:normal}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-age{grid-area:age!important}
body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-open{
  grid-area:open!important;justify-self:end;margin:0;text-decoration:underline;text-underline-offset:3px;
}
body #page-delivery.delivery-followups-view .dy-followup-tracking::before{content:'快递单号：';color:var(--mist-muted,#60768a)}
body #page-delivery.delivery-followups-view .dy-followup-place::before{content:'配送至：';color:var(--mist-muted,#60768a)}
body #page-delivery.delivery-followups-view .dy-followup-recipient::before{content:'接收人：';color:var(--mist-muted,#60768a)}
body #page-delivery.delivery-followups-view .dy-followup-person::before{content:'采购跟进人：';color:var(--mist-muted,#60768a)}
body #page-delivery.delivery-followups-view .dy-followup-reason::before{content:'跟进原因：';font-weight:600;color:var(--mist-muted,#60768a)}
body #page-delivery.delivery-followups-view .dy-followup-age::before{content:'本次耗时：';color:var(--mist-muted,#60768a)}
@container delivery-followups (min-width:1040px){
  body #page-delivery.delivery-followups-view .dy-followup-header,
  body #page-delivery.delivery-followups-view .dy-followup-row>button{
    display:grid!important;
    grid-template-columns:minmax(0,1.25fr) minmax(0,1.15fr) minmax(0,.7fr) minmax(0,.75fr) minmax(0,.8fr) minmax(0,1.5fr) minmax(6em,.85fr) minmax(6em,.8fr) 5em;
    grid-template-areas:'item tracking place recipient person reason state age open';
    gap:10px!important;padding:12px 16px!important;font-size:12px;line-height:1.5;
  }
  body #page-delivery.delivery-followups-view .dy-followup-header>span{
    min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left;justify-self:stretch;
  }
  body #page-delivery.delivery-followups-view .dy-followup-row>button>.dy-followup-open{justify-self:start}
  body #page-delivery.delivery-followups-view .dy-followup-row>button>span::before{content:none}
}


/* query-cache.css */
.hy-query-status{min-block-size:1.35em;margin:.15rem 0;color:var(--muted,#516985);font-size:.85em;line-height:1.35}
.hy-query-status[data-state="unverified"],.hy-query-status[data-state="denied"],.hy-query-status[data-state="error"]{color:#8b3a28}
.hy-query-skeleton{display:grid;gap:.65rem;padding:1rem;border-radius:.5rem;background:#f4f7fa;min-block-size:6rem}
.hy-query-skeleton i{display:block;block-size:.7rem;inline-size:65%;border-radius:.25rem;background:#e1eaf2}
.hy-query-skeleton i:nth-child(2){inline-size:46%}
.hy-query-skeleton i:nth-child(3){inline-size:55%}
tr.hy-query-skeleton{display:table-row}
tr.hy-query-skeleton td{padding:1rem}
tr.hy-query-skeleton i+i{margin-block-start:.65rem}
.hy-query-hints{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.65rem}
.hy-query-hints article{display:flex;align-items:center;gap:.75rem;padding:.8rem;background:#f6f9fc;border:1px solid #d6e2ed;border-radius:.6rem}
.hy-query-hints small{display:block;margin-top:.3rem;color:#516985}
.hy-query-image-slot{inline-size:3rem;block-size:3rem;flex:none;border-radius:.4rem;background:#e1eaf2}


/* server-details.css */
.server-nav-label{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:1;min-width:0}
#nav #navServerDetails .server-nav-label{display:flex;gap:8px;justify-content:space-between;text-align:left}
#navServerDetails[hidden],.server-resource meter[hidden]{display:none!important}
#serverLatency{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;color:inherit;opacity:.85}
#serverLatency[data-state="error"]{color:#ffd4b0;opacity:1}
.server-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.server-toolbar h3{margin:0 0 6px}.server-toolbar p{margin:0;color:var(--muted,#506780)}
.server-toolbar-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.server-auto{display:flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.server-auto input{width:18px;height:18px;min-height:0}
.server-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.server-resource{min-width:0;border:1px solid var(--line,#d5e2f0);border-radius:10px;padding:20px;background:#fff}
.server-resource h4{font-size:16px;margin:0 0 12px}.server-resource [data-value]{display:block;font-size:30px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink,#20354e)}
.server-resource [data-scope],.server-resource [data-detail]{display:block;color:var(--muted,#506780);font-size:13px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}
.server-resource meter{display:block;width:100%;height:12px;margin-top:16px;accent-color:var(--primary,#265f91)}
.server-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px;padding:20px 0;margin:16px 0 0}
.server-facts div{min-width:0}.server-facts dt{color:var(--muted,#506780);font-size:13px;margin-bottom:5px}.server-facts dd{margin:0;font-size:15px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.server-status{min-height:24px;margin:0 0 16px}.server-status[data-state="error"]{color:#99461b}
.server-tabs{margin-bottom:14px}
.server-cache-section + .server-cache-section{margin-top:22px}
.server-cache-section h4{margin:0 0 10px}
.server-cache-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line,#d5e2f0);border-radius:8px}
.server-cache-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.server-cache-table th,.server-cache-table td{padding:9px 10px;text-align:left;white-space:nowrap}
.server-cache-table th{background:var(--soft,#edf4f8);color:var(--ink,#20354e)}
.server-cache-table tbody tr+tr{border-top:1px solid var(--line,#d5e2f0)}
.server-cache-note{margin:8px 0 0;font-size:13px}
.server-cache-device-head{display:flex;align-items:end;flex-wrap:wrap;gap:8px 12px;margin-bottom:10px}
.server-cache-device-head h4{margin:0 auto 5px 0}
.server-cache-device-head label{display:flex;align-items:center;gap:6px}
.server-cache-device-head select{min-width:108px}
.server-cache-pager{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px}
.server-cache-status-current{color:#176b48;font-weight:600}
.server-cache-status-outdated{color:#94521c;font-weight:600}
.server-cache-version{min-width:0;padding:14px;border:1px solid var(--line,#d5e2f0);border-radius:8px;background:var(--soft,#f6f8fb)}
.server-cache-version p{margin:6px 0 0;line-height:1.5;overflow-wrap:anywhere}
#page-server-details [hidden]{display:none!important}
@media(max-width:760px){.server-resource-grid{grid-template-columns:1fr}.server-facts{grid-template-columns:1fr}.server-toolbar-actions{width:100%;justify-content:space-between}.server-resource{padding:16px}}


/* interaction-state.css */
.hy-busy-dialog{position:fixed;inset:0;max-width:none;max-height:none;width:100vw;height:100dvh;margin:0;padding:0;border:0;background:transparent;color:#173853;z-index:2147483647;outline:0}
.hy-busy-dialog::backdrop{background:rgba(25,49,70,.35);backdrop-filter:blur(2px)}
.hy-busy-dialog[open]{display:grid;place-items:center}.hy-busy-card{display:grid;justify-items:center;gap:16px;max-width:calc(100vw - 40px);padding:32px;border:1px solid #fff;border-radius:20px;background:#f8fcff;box-shadow:0 18px 65px #17385330;text-align:center}.hy-busy-card small{color:#58738d}.hy-busy-spinner{width:36px;height:36px;border:3px solid #d7e5f2;border-top-color:#4b70a0;border-radius:50%;animation:hy-busy-spin .8s linear infinite}.hy-busy{overflow:hidden}
@keyframes hy-busy-spin{to{transform:rotate(360deg)}}
#desktopSidebarToggle{display:none}
@media(min-width:921px){#desktopSidebarToggle{display:grid;place-items:center;position:fixed;left:222px;top:12px;z-index:25;width:32px;height:40px;border:1px solid #b7cde1;border-radius:10px;background:#f5faff;color:#355f89;font:28px/1 sans-serif;cursor:pointer;box-shadow:0 3px 10px #28507718}.sidebar-collapsed #desktopSidebarToggle{left:10px}.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}.app-shell.sidebar-collapsed .main{margin-left:0;width:100%;padding-left:54px}#desktopSidebarToggle:hover{background:#dceaf7}#desktopSidebarToggle:focus-visible{outline:3px solid #4779b7;outline-offset:2px}}
@media(prefers-reduced-motion:reduce){.hy-busy-spinner{animation-duration:1.8s}}


/* supplier-management.css */
/* Haiyue mist-blue system, using local Chinese fonts and an 8px spacing rhythm. */
.supplier-page{--sp-ink:#263b50;--sp-muted:#60788c;--sp-line:#d3e3ed;--sp-soft:#f6fafc;--sp-blue:#4b75a2;color:var(--sp-ink);font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}
.supplier-page *{box-sizing:border-box}
.supplier-workspace{padding:18px;border:1px solid var(--sp-line);border-radius:16px;background:#f9fcfd}
.supplier-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.supplier-toolbar-primary{display:flex;align-items:baseline;gap:12px;min-width:0}
.supplier-kicker{font-family:Songti SC,STSong,SimSun,serif;font-size:19px;font-weight:700;white-space:nowrap}
.supplier-toolbar-primary strong{font-size:13px;color:var(--sp-muted);font-weight:600;white-space:nowrap}
.supplier-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.supplier-toolbar-actions .btn{min-height:42px}
.supplier-toolbar-actions [hidden]{display:none!important}
.supplier-notice{margin:0 0 14px;padding:12px 14px;border:1px solid #e7d5ab;border-left:4px solid #bb7e22;border-radius:9px;background:#fff8e9;color:#725020;font-size:14px;line-height:1.5}
.supplier-filters{display:grid;grid-template-columns:minmax(210px,2fr) repeat(3,minmax(130px,1fr)) auto;gap:9px;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid var(--sp-line)}
.supplier-filters input,.supplier-filters select{width:100%;min-width:0;min-height:42px;border:1px solid #b9cedd;border-radius:9px;background:#fff;color:var(--sp-ink);padding:8px 11px;font:inherit;font-size:14px}
.supplier-filters .btn{min-height:42px}
.supplier-columns{display:grid;grid-template-columns:minmax(330px,.95fr) minmax(0,1.25fr);gap:14px;align-items:start}
.supplier-list,.supplier-detail{min-width:0;min-height:360px;border:1px solid var(--sp-line);border-radius:12px;background:#fff;overflow:hidden}
.supplier-list-head,.supplier-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) auto;align-items:center;gap:12px}
.supplier-list-head{padding:11px 15px;background:#eaf3f8;color:#47647e;font-size:12px;font-weight:700}
.supplier-list-head>span:last-child{text-align:right}
.supplier-row{width:100%;min-height:77px;padding:12px 15px;border:0;border-top:1px solid #e5edf2;background:#fff;color:var(--sp-ink);font:inherit;text-align:left;cursor:pointer}
.supplier-row:hover{background:#f4f9fc}.supplier-row.is-selected{background:#edf5fa;box-shadow:inset 3px 0 0 var(--sp-blue)}
.supplier-row:focus-visible{outline:3px solid var(--sp-blue);outline-offset:-3px}
.supplier-row-name{display:grid;gap:4px;min-width:0}.supplier-row-name strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.supplier-row-name small{color:var(--sp-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.supplier-row-contact{color:#4b6379;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.supplier-tag,.supplier-priority{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap}
.supplier-tag-active{background:#e9f6ef;color:#23674b}.supplier-tag-pending{background:#fff3dd;color:#8b5b09}.supplier-tag-rejected{background:#fff0ef;color:#a33d3b}.supplier-tag-inactive{background:#edf1f4;color:#64717a}
.supplier-priority-优先{background:#dfeee9;color:#246953}.supplier-priority-中等{background:#e8f1fa;color:#315d81}.supplier-priority-备选{background:#f2f3f5;color:#626e79}
.supplier-empty{display:grid;place-items:center;min-height:160px;padding:25px;color:var(--sp-muted);font-size:14px;text-align:center;line-height:1.6}
.supplier-detail{padding:0 18px 18px}
.supplier-detail-head{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:20px 0 14px}
.supplier-detail-head small{font-size:12px;color:var(--sp-muted)}.supplier-detail-head h3{margin:2px 0 4px;font-family:Songti SC,STSong,SimSun,serif;font-size:21px;line-height:1.3;color:var(--sp-ink)}.supplier-detail-head p{margin:0;color:var(--sp-muted);font-size:13px;line-height:1.4}
.supplier-detail-tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--sp-line)}
.supplier-detail-tabs button{flex:0 0 auto;min-height:44px;padding:8px 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:#536f84;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.supplier-detail-tabs button[aria-selected=true]{color:#345e83;border-bottom-color:var(--sp-blue)}.supplier-detail-tabs button:focus-visible{outline:3px solid var(--sp-blue);outline-offset:-3px}
.supplier-section-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 10px}.supplier-section-bar h4{margin:0;font-size:16px;color:var(--sp-ink)}.supplier-section-bar .btn{min-height:38px;font-size:13px}
.supplier-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border:1px solid var(--sp-line);border-radius:9px;overflow:hidden}
.supplier-facts>div{min-width:0;padding:11px 13px;border-bottom:1px solid #e7eff3}.supplier-facts>div:nth-child(odd){border-right:1px solid #e7eff3}.supplier-facts>div:nth-last-child(-n+2){border-bottom:0}
.supplier-facts dt{margin-bottom:4px;color:var(--sp-muted);font-size:12px}.supplier-facts dd{margin:0;color:var(--sp-ink);font-size:14px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.supplier-note,.supplier-section-help{padding:11px 12px;border-radius:8px;background:var(--sp-soft);color:#526b80;font-size:13px;line-height:1.55}.supplier-section-help{margin:0 0 13px}
.supplier-offer-group{margin:12px 0;border:1px solid var(--sp-line);border-radius:9px;overflow:hidden}.supplier-offer-group h5{margin:0;padding:9px 12px;background:#edf5f9;color:#355c7e;font-size:13px}.supplier-offer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:58px;padding:8px 12px;border-top:1px solid #e9f0f4}.supplier-offer-row strong{display:block;font-size:14px}.supplier-offer-row small{display:block;color:var(--sp-muted);font-size:12px}.supplier-offer-row>span{font-weight:700;color:#315e84}.supplier-offer-row .btn{min-height:36px;padding:5px 10px;font-size:13px}.supplier-offer-empty{margin:0;padding:14px;color:var(--sp-muted);font-size:13px}
.supplier-account-action{margin-top:12px;min-height:40px}
.supplier-dialog{width:min(780px,calc(100vw - 28px));max-height:min(88dvh,850px);padding:0;border:1px solid #c4d9e6;border-radius:15px;background:#fff;color:var(--sp-ink);box-shadow:0 24px 70px #152d4050;overflow:hidden;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}
.supplier-dialog::backdrop{background:#233a4e75;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.supplier-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;border-bottom:1px solid var(--sp-line);background:#edf5f9}.supplier-dialog-head h3{margin:0;font-family:Songti SC,STSong,SimSun,serif;font-size:20px}.supplier-dialog-close{width:42px;height:42px;border:0;border-radius:8px;background:#f8fbfd;color:var(--sp-ink);font-size:25px;cursor:pointer}
.supplier-dialog-body{max-height:calc(88dvh - 70px);overflow-y:auto;padding:18px}.supplier-form-help{margin:0 0 15px;color:var(--sp-muted);font-size:13px;line-height:1.55}
.supplier-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.supplier-field{display:grid;align-content:start;gap:6px;min-width:0;color:#3f5b70;font-size:13px;font-weight:650}.supplier-field input,.supplier-field select,.supplier-field textarea{width:100%;min-width:0;min-height:42px;padding:9px 11px;border:1px solid #b8cfdd;border-radius:8px;background:#fff;color:var(--sp-ink);font:inherit;font-size:15px;font-weight:400}.supplier-field textarea{resize:vertical}.supplier-full,.supplier-category-choice,.supplier-employee-choice{grid-column:1/-1}
.supplier-category-choice,.supplier-employee-choice{min-width:0;margin:0;padding:10px 12px;border:1px solid var(--sp-line);border-radius:9px}.supplier-category-choice legend,.supplier-employee-choice legend{padding:0 5px;color:#3f5b70;font-size:13px;font-weight:700}
.supplier-category-choice-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px}.supplier-category-choice-row label,.supplier-employee-options label{display:flex;align-items:center;gap:8px;min-height:40px;cursor:pointer;font-size:14px}.supplier-category-choice-row input,.supplier-employee-options input{width:18px;height:18px;accent-color:var(--sp-blue)}.supplier-category-choice-row select{min-height:36px;border:1px solid #b8cfdd;border-radius:7px;background:#fff;color:var(--sp-ink);padding:5px 9px}.supplier-employee-options{display:flex;flex-wrap:wrap;gap:5px 14px}
.supplier-offer-category-choice{grid-column:1/-1;min-width:0;margin:0;padding:10px 12px;border:1px solid var(--sp-line);border-radius:9px}.supplier-offer-category-choice legend{padding:0 5px;color:#3f5b70;font-size:13px;font-weight:700}.supplier-picker-help{margin:0 0 9px;color:var(--sp-muted);font-size:12px;line-height:1.5}.supplier-employee-selected,.supplier-offer-category-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px}.supplier-person-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:3px 5px 3px 10px;border:1px solid #c5dae6;border-radius:7px;background:#eef6fa;color:#315c7b;font-size:13px}.supplier-person-chip button{min-width:28px;min-height:28px;border:0;border-radius:5px;background:transparent;color:#496b83;font-size:19px;cursor:pointer}.supplier-person-chip button:hover{background:#daeaf2}.supplier-person-results{display:grid;gap:3px;max-height:180px;overflow:auto}.supplier-person-results button{min-height:40px;padding:7px 10px;border:1px solid var(--sp-line);border-radius:7px;background:#fff;color:var(--sp-ink);font:inherit;text-align:left;cursor:pointer}.supplier-person-results button:hover,.supplier-person-results button:focus-visible{background:#eaf3f8;outline:2px solid var(--sp-blue)}.supplier-person-results p{margin:4px;color:var(--sp-muted);font-size:13px}.supplier-category-add{display:flex;gap:8px}.supplier-category-add input{flex:1;min-width:0;min-height:42px;padding:9px 11px;border:1px solid #b8cfdd;border-radius:8px;font:inherit}.supplier-category-add .btn{min-height:42px}.supplier-percent-field{display:flex;align-items:center;border:1px solid #b8cfdd;border-radius:8px;background:#fff}.supplier-percent-field:focus-within{outline:2px solid var(--sp-blue);outline-offset:1px}.supplier-percent-field input{border:0;outline:0;min-height:40px}.supplier-percent-field>span{padding:0 12px;color:#48677f;font-size:15px}.supplier-section-actions{display:flex;gap:7px;flex-wrap:wrap}.supplier-parameter-group>p{margin:0 0 12px;color:var(--sp-muted);font-size:13px;line-height:1.5}
.supplier-duplicate{margin-top:15px;padding:11px 13px;border:1px solid #d4e4ed;border-radius:9px;background:#f5fafc;color:#4d6579;font-size:13px;line-height:1.5}.supplier-duplicate strong,.supplier-duplicate small{display:block}.supplier-duplicate small{color:var(--sp-muted)}.supplier-duplicate button{display:flex;justify-content:space-between;gap:10px;width:100%;min-height:38px;padding:8px 0;border:0;border-top:1px solid #dae7ee;background:transparent;color:#315f83;text-align:left;cursor:pointer}
.supplier-dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:16px}.supplier-dialog-actions .btn{min-height:43px}.supplier-review p{line-height:1.5}.supplier-review small{display:block;margin-top:12px;color:var(--sp-muted)}.supplier-price-history{margin-top:16px;padding:12px;border:1px solid var(--sp-line);border-radius:9px}.supplier-price-history h4{margin:0 0 8px}.supplier-price-history p{margin:7px 0;font-size:13px;color:#4c657a}
.supplier-import{display:grid;gap:14px}.supplier-import>p{margin:0;color:#4f687c;line-height:1.55}.supplier-import>.btn{justify-self:start}.supplier-import #supplierImportPreview{min-height:45px;padding:10px 12px;border-radius:8px;background:var(--sp-soft);font-size:13px}
.supplier-category-settings{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.supplier-parameter-group{min-width:0;padding:13px;border:1px solid #d3e3ed;border-radius:10px;background:#fff}.supplier-parameter-group h4{margin:0 0 10px;color:#345a7d;font-size:15px}.supplier-parameter-group>div{display:flex;gap:7px;flex-wrap:wrap}.supplier-category-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #cbdfea;border-radius:7px;background:#f1f7fa;font-size:13px}.supplier-category-chip small{color:#5a7284}.supplier-category-chip button{min-height:30px;padding:2px 6px;border:0;background:transparent;color:#345e83;cursor:pointer}.supplier-parameter-group form{display:flex;gap:8px;margin-top:12px}.supplier-parameter-group input{flex:1;min-width:0;min-height:40px;padding:7px 9px;border:1px solid #bfd3df;border-radius:7px}.supplier-parameter-group .btn{min-height:40px}
@media(max-width:1100px){.supplier-columns{grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr)}.supplier-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-filters>input{grid-column:1/-1}}
@media(max-width:900px){.supplier-columns{grid-template-columns:minmax(0,1fr)}.supplier-detail{scroll-margin-top:72px}.supplier-list{min-height:0}.supplier-detail{min-height:220px}}
@media(max-width:600px){.supplier-workspace{padding:11px}.supplier-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.supplier-toolbar-actions{width:100%}.supplier-toolbar-actions .btn{flex:1 1 45%;min-height:44px}.supplier-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.supplier-filters>input{grid-column:1/-1}.supplier-filters select{min-height:44px}.supplier-filters .btn{min-height:44px}.supplier-list-head{display:none}.supplier-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}.supplier-row-contact{grid-column:1/-1;grid-row:2}.supplier-detail{padding:0 12px 14px}.supplier-detail-head h3{font-size:19px}.supplier-detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:visible}.supplier-detail-tabs button{min-width:0;padding:8px 3px;font-size:12px}.supplier-facts{grid-template-columns:minmax(0,1fr)}.supplier-facts>div:nth-child(odd){border-right:0}.supplier-facts>div:nth-last-child(2){border-bottom:1px solid #e7eff3}.supplier-form-grid,.supplier-category-settings{grid-template-columns:minmax(0,1fr)}.supplier-dialog{width:calc(100vw - 16px);max-height:92dvh}.supplier-dialog-body{max-height:calc(92dvh - 70px);padding:14px}.supplier-dialog-actions .btn{flex:1;min-height:44px}}
@media(max-width:600px){.supplier-category-add{flex-wrap:wrap}.supplier-category-add .btn{width:100%}.supplier-section-actions{justify-content:flex-end}.supplier-section-actions .btn{min-height:40px}}

/* Category labels retain their line; ranking is a compact, six-character control. */
.supplier-dialog .supplier-category-choice-row{justify-content:flex-start;gap:16px;padding:4px 0}
.supplier-dialog .supplier-category-choice-row>label{flex:1;min-width:0;white-space:nowrap;gap:9px;min-height:44px}
.supplier-dialog .supplier-category-choice-row>label input{flex:none;margin:0}
.supplier-dialog .supplier-category-choice-row>label span{white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.supplier-dialog .supplier-category-choice-row>select{flex:0 0 6em;width:6em;max-width:6em;min-width:0;min-height:44px;padding:7px 8px;font-size:14px}

/* Compact, clearly grouped entry; only the footer commits the full draft. */
.supplier-dialog{--sp-ink:#263b50;--sp-muted:#60788c;--sp-line:#d3e3ed;--sp-blue:#4b75a2;width:min(960px,calc(100vw - 28px))}
.supplier-dialog-body{padding:14px 18px}.supplier-form-help{margin-bottom:12px;padding:9px 12px;border-radius:8px;background:#eef5fa;font-size:13px;line-height:1.5}
.supplier-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}
.supplier-form-section{grid-column:1/-1;margin:2px 0 0;padding:7px 0 5px;border-bottom:1px solid var(--sp-line);font-size:14px;color:#315b7c}
.supplier-summary{grid-column:span 2}.supplier-field{gap:4px}.supplier-dialog label{margin:0}.supplier-dialog label input{margin-top:0}.supplier-field input,.supplier-field select{min-height:44px;padding:8px 10px;font-size:14px}.supplier-field textarea{min-height:56px;padding:8px 10px;font-size:14px}
.supplier-category-choice{grid-column:1}.supplier-offer-category-choice{grid-column:2/-1}.supplier-category-choice,.supplier-offer-category-choice,.supplier-employee-choice{padding:8px 10px}
.supplier-dialog .supplier-category-choice-row{gap:10px;padding:0;min-height:44px}.supplier-picker-help{margin-bottom:6px}.supplier-category-add input,.supplier-category-add .btn{min-height:44px}
.supplier-employee-choice{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);gap:6px 12px;align-items:start}.supplier-employee-choice .supplier-picker-help{grid-column:1/-1}.supplier-employee-selected{margin:0}.supplier-person-results{grid-column:2}
.supplier-person-chip button{min-width:36px;min-height:36px}.supplier-duplicate{margin-top:10px;padding:8px 12px}.supplier-duplicate p{margin:4px 0}
.supplier-dialog-actions{position:sticky;bottom:-14px;align-items:center;margin-top:10px;padding:10px 0;background:#fff;border-top:1px solid var(--sp-line);z-index:2}.supplier-dialog-actions small{flex:1;color:var(--sp-muted);font-size:12px;line-height:1.4}.supplier-dialog-actions .btn{min-height:44px}
.supplier-form[aria-busy=true]{cursor:progress}.supplier-dialog-close:focus-visible,.supplier-person-chip button:focus-visible{outline:3px solid #426b96;outline-offset:1px}
.supplier-inline-error{color:var(--mist-danger,#9f3644);font-size:14px;line-height:1.5;margin:6px 0}
.supplier-inline-error:empty{display:none}.supplier-field textarea[aria-invalid=true]{border-color:var(--mist-danger,#9f3644);background:#fff7f7}
@media(max-width:700px){.supplier-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-summary{grid-column:1/-1}.supplier-category-choice,.supplier-offer-category-choice{grid-column:1/-1}.supplier-employee-choice{grid-template-columns:minmax(0,1fr)}.supplier-person-results{grid-column:1}.supplier-dialog-body{padding:12px}.supplier-dialog-actions{bottom:-12px}.supplier-dialog-actions small{flex-basis:100%}}
@media(max-width:430px){.supplier-form-grid{grid-template-columns:minmax(0,1fr)}.supplier-dialog{width:calc(100vw - 16px)}.supplier-dialog-actions .btn{flex:1}}
.supplier-readonly .supplier-detail-head{padding-top:0}
.supplier-readonly-offer{border-bottom:1px solid #d3e3ed;padding:8px 12px}
.supplier-readonly-offer summary{min-height:44px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;cursor:pointer}
.supplier-readonly-offer summary strong{flex:1;overflow-wrap:anywhere}
.supplier-readonly-offer summary span{color:#4e657a}
.supplier-readonly .supplier-facts dd{overflow-wrap:anywhere}
.maintenance-supplier-link{border:0;background:transparent;color:#426b96;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:700;text-align:left;min-height:44px;cursor:pointer;padding:0;overflow-wrap:anywhere}
.maintenance-supplier-link:focus-visible{outline:2px solid #426b96;outline-offset:3px}


/* access-terminals.css */
/* Terminal policy never unhides an element hidden by authorization or workflow. */
.terminal-feature-hidden,#nav button.terminal-feature-hidden{display:none!important}
.terminal-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid #d7e4ef}
.terminal-intro small,.terminal-description small,.terminal-description>span{color:#647e99;font-size:12px;line-height:1.6}
.terminal-intro h3{margin:5px 0 8px;font-size:23px;color:#244667}.terminal-intro p{margin:0;line-height:1.7;max-width:760px}
.terminal-current{white-space:nowrap;background:#e9f2fa;border:1px solid #cedfed;padding:9px 12px;border-radius:8px;font-size:13px;color:#345f87}
.terminal-notes{padding:12px 0;color:#56718e;font-size:13px;line-height:1.7}.terminal-notes p{margin:4px 0}
.terminal-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:8px 0 16px}.terminal-tools label{display:grid;gap:5px;font-size:12px;color:#587491}.terminal-tools input{width:300px;max-width:100%}.terminal-tools select{width:190px}.terminal-tools [data-result]{font-size:12px;color:#5b7691;padding:12px 0}
.terminal-columns,.terminal-row{display:grid;grid-template-columns:minmax(270px,1fr) 116px 116px 132px;gap:14px;align-items:center;padding:12px 18px}.terminal-columns{background:#eaf2f9;font-size:13px;font-weight:700;color:#3a5c7d;border-radius:10px 10px 0 0}.terminal-columns>span:not(:first-child){text-align:center}
.terminal-group{border:1px solid #d8e5ef;border-top:0;background:#fbfdff}.terminal-group h4{margin:0;padding:12px 18px;background:#f0f6fb;font-size:14px;color:#355d83}.terminal-row+.terminal-row{border-top:1px solid #e4edf4}.terminal-row[hidden],.terminal-group[hidden]{display:none}.terminal-description{display:grid;gap:4px;min-width:0}.terminal-description strong{font-size:14px;font-weight:650;color:#294b6d}.terminal-description>span{font-size:11px}
.terminal-switch{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;border:1px solid #cbddeb;background:#f6f9fc;border-radius:8px;padding:8px;font-size:12px;color:#5b7390;cursor:pointer}.terminal-track{width:32px;height:18px;position:relative;flex-shrink:0;border-radius:20px;background:#8fa3b8}.terminal-track:after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;background:#fff;border-radius:50%}.terminal-switch[aria-checked=true]{background:#eaf3fa;border-color:#a8c2db;color:#285785}.terminal-switch[aria-checked=true] .terminal-track{background:#4d78a2}.terminal-switch[aria-checked=true] .terminal-track:after{left:17px}.terminal-switch:disabled{cursor:not-allowed;opacity:.58}.terminal-switch:focus-visible,.terminal-tools :focus-visible{outline:3px solid #317ac2;outline-offset:3px}.terminal-reserved .terminal-switch{width:100%;border-style:dashed}.terminal-device{display:none}
.terminal-adaptive{margin-top:16px;padding:14px 18px;border:1px solid #d7e4ef;border-radius:10px;font-size:13px;color:#5b7692;line-height:1.8}.terminal-adaptive summary{cursor:pointer;color:#355b80;font-weight:650}.terminal-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:16px 0 4px}.terminal-actions [data-status]{font-size:13px;color:#4e6d8a;flex:1 1 320px}.terminal-actions .btn{min-height:44px}
@media(max-width:760px){.terminal-intro{flex-direction:column;gap:10px}.terminal-tools{align-items:stretch}.terminal-tools label{flex:1 1 180px}.terminal-tools input,.terminal-tools select{width:100%}.terminal-columns{display:none}.terminal-row{grid-template-columns:1fr 1fr 1fr;gap:8px;padding:14px 12px}.terminal-description{grid-column:1/-1;margin-bottom:4px}.terminal-switch{flex-wrap:wrap;gap:5px;padding:7px 4px}.terminal-device{display:block;flex-basis:100%;text-align:center;font-size:11px}.terminal-reserved>.terminal-device{color:#6b8095;margin-bottom:3px}.terminal-current{font-size:12px}.terminal-actions .btn{flex:1 1 140px}.terminal-matrix{min-width:0}}


/* asset-ownership.css */
.ownership-shell{min-width:0;display:grid;gap:12px}.ownership-shell p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.ownership-shell h4{font-size:14px;margin:0 0 10px}.ownership-heading,.ownership-record>div,.ownership-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.ownership-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ownership-section,.ownership-record{padding:14px;border:1px solid var(--line,#d0dfed);border-radius:12px;background:var(--surface,#f7fbfe);min-width:0}.ownership-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ownership-facts small{display:block;color:#5f7a91}.ownership-facts b{display:block;overflow-wrap:anywhere}.ownership-record{margin:12px 0;display:grid;gap:10px}.ownership-record .btn{justify-self:end}.ownership-filter{display:flex;gap:10px;align-items:end}.ownership-filter label{flex:1}.ownership-inline-tools{display:flex;gap:8px;justify-content:flex-end;margin:0 0 12px}.ownership-check{display:flex!important;align-items:center;gap:8px}.ownership-check input{width:20px;height:20px;flex:none}.ownership-shell input[readonly],.asset-edit-shell input[readonly]{background:#edf3f8;color:#526e86}.ownership-shell .modal-actions{justify-content:flex-end;flex-wrap:wrap;padding-bottom:env(safe-area-inset-bottom,0px)}.ownership-shell textarea{width:100%;box-sizing:border-box}.ownership-shell .notice{margin:0}.ownership-shell [role=alert]{color:#ab3434}.ownership-shell .badge{white-space:normal}.ownership-pagination{justify-content:flex-end}
@media(max-width:600px){.ownership-compare{grid-template-columns:1fr}.ownership-filter{flex-wrap:wrap}.ownership-filter label{flex-basis:100%}.ownership-shell button,.ownership-workspace button{min-height:44px}.ownership-shell input:not([type=checkbox]),.ownership-shell select,.ownership-shell textarea,.ownership-workspace input{font-size:16px;min-height:44px}.ownership-facts{gap:10px}.ownership-shell .modal-actions{position:static}.ownership-inline-tools{flex-wrap:wrap}}

/* V18.1.0: one archive amendment and a compact, touch-safe query row. */
#page-assets .archive-filter-row>.btn{align-self:end!important;margin:0!important;min-height:36px;height:36px}
.archive-fixed-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.archive-fixed-summary div{min-width:0;padding:10px;background:#eff5fa;border-radius:8px}.archive-fixed-summary dt{font-size:12px;color:#587591;margin-bottom:5px}.archive-fixed-summary dd{margin:0;font-weight:600;overflow-wrap:anywhere}.ownership-facts:has(.archive-fixed-summary){display:block}
.archive-compare{border:1px solid #d6e3ee;border-radius:10px;overflow:visible}.archive-compare-head,.archive-compare-row{display:grid;grid-template-columns:130px minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;padding:10px 12px}.archive-compare-head{background:#eaf2f9;border-radius:10px 10px 0 0;color:#476782}.archive-compare-row+.archive-compare-row{border-top:1px solid #e2ebf2}.archive-compare-row>span{color:#657b90;overflow-wrap:anywhere}.archive-compare-row>div{min-width:0}.archive-compare-row>strong{overflow-wrap:anywhere}.archive-compare-row label{margin:0!important}.archive-compare-row input,.archive-compare-row select{box-sizing:border-box;width:100%;min-width:0!important}.archive-compare-row[hidden]{display:none!important}.ownership-reason{display:block;margin-top:14px}.archive-compare-row .location-suggestions,.archive-compare-row .purchase-channel-suggestions{z-index:210}.archive-compare-row .location-picker{min-width:0}
.archive-query{position:relative;overflow:visible!important}.archive-filter-row{display:grid;grid-template-columns:minmax(125px,1.5fr) minmax(112px,1.2fr) minmax(104px,1fr) minmax(90px,1fr) minmax(90px,1fr) minmax(112px,1fr) auto auto auto;align-items:end;gap:8px}.archive-filter-row>label{display:flex;flex-direction:column;min-width:0;gap:5px;margin:0}.archive-filter-row>label>span{font-size:12px;color:#5a7590}.archive-filter-row input,.archive-filter-row select{width:100%;min-width:0!important;box-sizing:border-box;height:36px}.archive-filter-row>.btn{min-width:0!important;height:36px;white-space:nowrap;padding:0 10px}.archive-room-picker{position:relative}.archive-room-options{position:absolute;left:0;top:100%;min-width:100%;width:280px;max-width:min(80vw,320px);max-height:300px;overflow:auto;z-index:140;border:1px solid #b8ccdf;background:#fff;box-shadow:0 8px 24px #28476325;border-radius:9px;padding:6px}.archive-room-options button{display:flex;width:100%;text-align:left;gap:8px;flex-wrap:wrap;background:#fff;border:0;padding:10px;border-radius:6px;min-height:40px;color:#28445d;cursor:pointer}.archive-room-options button:hover,.archive-room-options button:focus-visible{background:#e8f2fb}.archive-room-options button span{font-size:12px;font-weight:400}.archive-room-selection{font-size:12px;margin-top:10px;color:#4d6a86}.archive-extra-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-top:1px solid #deE8f1;margin-top:12px;padding-top:12px}.archive-extra-filters label{display:flex;flex-direction:column;min-width:0;gap:5px}.archive-extra-filters input,.archive-extra-filters select{min-width:0!important;width:100%;box-sizing:border-box}.archive-retire-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.archive-retire-search>label{flex:1;max-width:380px}.archive-retire-search input{width:100%}.archive-retire-workspace{overflow:visible!important}.archive-retire-workspace .asset-grid{margin-top:14px}.archive-retire-workspace .asset-card{min-width:0}.archive-retire-workspace .panel-head{align-items:start}.archive-retire-workspace #retireRoomSummary{margin:14px 0 0}.archive-room-options.hidden,.archive-extra-filters.hidden{display:none!important}
@media(max-width:1250px) and (min-width:801px){.archive-filter-row{grid-template-columns:repeat(6,minmax(0,1fr))}.archive-filter-row>.btn{grid-row:2}.archive-filter-row>label:first-child{grid-column:span 1}}
@media(max-width:800px){.archive-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.archive-filter-row>label:first-child{grid-column:1/-1}.archive-filter-row>.btn,.archive-retire-search>.btn{min-height:44px;height:auto}.archive-filter-row input,.archive-filter-row select,.archive-retire-search input{min-height:44px;font-size:16px}.archive-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-extra-filters input,.archive-extra-filters select{min-height:44px;font-size:16px}.archive-room-options button{min-height:44px}.archive-retire-search>label{flex-basis:100%;max-width:none}.archive-retire-search>.btn{flex:1}.archive-fixed-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-compare-head,.archive-compare-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px}.archive-compare-head>b:first-child{display:none}.archive-compare-row>label,.archive-compare-row>b{grid-column:1/-1}.archive-compare-row>span:before{content:'原：';font-size:12px}.archive-room-options{max-width:calc(100vw - 64px)}}
/* V18.1.1: grouped actions, visible disabled reasons, one archive editor. */
/* Query-only popovers: canonical current location, linked categories, month ranges. */
#page-assets .archive-filter-row{grid-template-columns:minmax(170px,1.5fr) minmax(180px,1.4fr) minmax(180px,1.3fr) minmax(140px,1fr) auto auto auto}
.asset-query-head-right,.asset-r1-filter-controls,.asset-epc-entry{display:flex;align-items:center;gap:8px}
.asset-query-head-right{flex-wrap:wrap;justify-content:flex-end}
.asset-r1-filter-controls[hidden],.asset-epc-entry button[hidden]{display:none!important}
.asset-r1-status{font-size:12px;color:#61778c;white-space:nowrap}
.asset-r1-status.online{color:#116347}
.asset-r1-status.offline{color:#9a3d3d}
#page-assets .archive-filter-row>.asset-epc-filter{display:flex;flex-direction:column;align-self:end;min-width:0;gap:5px}
.asset-epc-filter>label{font-size:12px;color:#5a7590}
.asset-epc-entry{min-width:0}
.asset-epc-entry #fEpc{flex:1;min-width:0}
.asset-epc-entry .btn{flex:none;height:36px;white-space:nowrap;padding:0 9px}
.asset-r1-read-status{font-size:12px;color:#61778c;line-height:1.3}
.asset-r1-read-status:empty{display:none}
.asset-r1-read-status.success{color:#116347}
.asset-r1-read-status.error{color:#a33030}
.asset-filter-menu{position:relative;min-width:0;display:flex;flex-direction:column;gap:5px}
.asset-filter-label{font-size:12px;color:#5a7590}
.asset-filter-toggle{width:100%;height:36px;min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:0 28px 0 10px;position:relative}
.asset-filter-toggle:after{content:'▾';position:absolute;right:10px}
.asset-filter-popover{position:absolute;top:calc(100% + 7px);left:0;width:380px;max-width:calc(100vw - 48px);padding:16px;background:#fff;border:1px solid #b8ccdf;box-shadow:0 10px 25px #28476325;border-radius:10px;z-index:145;box-sizing:border-box;max-height:65dvh;overflow:auto}
.asset-filter-popover.asset-popover-align-right{left:auto;right:0}
.asset-filter-popover.hidden{display:none!important}
body .panel.archive-query:has(.asset-filter-popover:not(.hidden)),body .panel.archive-query:has(.archive-room-options:not(.hidden)){position:relative;z-index:60}
#page-assets .archive-extra-filters{align-items:end}
#page-assets .archive-extra-filters>.asset-filter-menu{align-self:end;margin-bottom:0}
.asset-filter-popover h4{margin:0 0 14px;font-size:15px;line-height:1.5}
.asset-filter-popover h5{margin:14px 0 8px;font-size:13px}
.asset-filter-popover p{font-size:12px;margin:12px 0;color:#61778c}
.asset-category-pair,.asset-category-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.asset-filter-popover label{margin:0;display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px}
.asset-filter-popover input:not([type=range]),.asset-filter-popover select{width:100%;min-width:0!important;box-sizing:border-box;height:36px}
.asset-filter-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.asset-month-range-label{position:relative;margin-bottom:18px!important;padding-top:4px}
.asset-month-range-label output{position:absolute;top:4px;right:0;font-weight:600;color:#2c5d8d}
.asset-month-range-label input[type=range]{width:100%;min-width:0!important;height:32px;padding:0;border:0;box-shadow:none;accent-color:#426e9c;background:transparent}
#page-assets .archive-extra-filters{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
@media(max-width:1250px) and (min-width:801px){#page-assets .archive-filter-row{grid-template-columns:repeat(4,minmax(0,1fr))}#page-assets .archive-filter-row>.btn{grid-row:2}#page-assets .archive-extra-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){#page-assets .archive-filter-row,#page-assets .archive-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#page-assets .archive-filter-row>label:first-child{grid-column:1/-1}.asset-filter-toggle,.asset-filter-popover input:not([type=range]),.asset-filter-popover select,.asset-filter-footer .btn{min-height:44px;height:auto}.asset-filter-popover input:not([type=range]),.asset-filter-popover select{font-size:16px}.asset-filter-popover{width:340px;padding:14px}.asset-month-range-label input[type=range]{min-height:44px}}
#assetDrawer .asset-action-group{margin-top:12px;padding-top:10px;border-top:1px solid var(--line,#d6e3ee)}
#assetDrawer .asset-action-group h5{font-size:12px;color:var(--mist-muted,#60768a);margin:0 0 8px}
#assetDrawer .asset-action-group .detail-actions{margin:0;gap:8px}
.asset-action-target{position:relative;display:inline-flex;max-width:100%;border-radius:7px}
.asset-action-target:focus-visible{outline:2px solid #426b96;outline-offset:3px}
.asset-action-target>button:disabled{pointer-events:none}
body #assetDrawer .asset-action-group .btn:disabled,body #modal .asset-edit-shell .btn:disabled{background:#edf0f3!important;color:#7a8590!important;border-color:#cdd4db!important;opacity:1!important;box-shadow:none;cursor:not-allowed}
.asset-action-tooltip{display:none!important} /* Hints use the shared, window-bounded overlay. */
.archive-compare-row.archive-field-changed{background:#fff6e8;box-shadow:inset 3px 0 #bd7920}
.archive-compare-row.archive-field-changed>div:last-child>input,.archive-compare-row.archive-field-changed>div:last-child>select{border-color:#b7761c;background:#fffaf0}
.archive-change-badge{display:inline-block;margin-top:5px;color:#875211;font-size:12px;font-weight:600}
.archive-parameter-row #owAssetParameters{padding:0;border:0;background:transparent;margin:0;min-width:0}
.archive-parameter-row .asset-parameter-heading{display:none}
.archive-parameter-row .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ownership-reason .required-mark{font-size:12px;color:#9e3535;font-weight:600}
#page-assets .archive-filter-row{grid-template-columns:minmax(160px,1.5fr) 104px minmax(130px,1fr) minmax(108px,.85fr) minmax(110px,.8fr) minmax(120px,.9fr) minmax(144px,1.1fr) auto auto;gap:8px}
#page-assets .archive-filter-row{grid-template-columns:minmax(235px,2fr) minmax(185px,1.2fr) minmax(175px,1.2fr) minmax(145px,1fr) auto auto auto}
#page-assets .asset-more-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:10px;padding:12px;border:1px solid #d2e1ee;border-radius:9px;background:#f5f9fc}
#page-assets .asset-more-filters[hidden]{display:none!important}
#page-assets .asset-more-filters>label{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
#page-assets .asset-more-filters>label>span{font-size:12px;color:#5a7590}
#page-assets .asset-more-filters :is(input,select){width:100%;min-width:0;box-sizing:border-box}
#page-assets .asset-more-filters .asset-filter-popover{z-index:151}
#assetOwnershipPanel #ownerAssetSearchPanel{margin-top:14px}
#assetOwnershipPanel .location-suggestions{position:static;margin-top:6px;max-height:160px;min-width:0;width:100%;box-sizing:border-box}
@media(max-width:1350px) and (min-width:801px){#page-assets .archive-filter-row{grid-template-columns:minmax(160px,1.3fr) 104px repeat(3,minmax(110px,1fr))}#page-assets .archive-filter-row>.btn{grid-row:auto!important}}
@media(max-width:1350px) and (min-width:801px){#page-assets .archive-filter-row{grid-template-columns:repeat(4,minmax(140px,1fr))}#page-assets .asset-more-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#page-assets .archive-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#page-assets .archive-filter-row>.btn{grid-row:auto!important;min-height:44px;height:44px}}
@media(max-width:800px){#page-assets .asset-more-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.archive-parameter-row .form-grid{grid-template-columns:1fr}}
.asset-action-target:has(>button.hidden),.asset-action-target:has(>button[hidden]){display:none}
.field-browser .asset-action-target:has(>.desktop-only){display:none}
#assetActionReason:empty{display:none}
.archive-no-review-fields{border:0;margin:0;padding:0;min-width:0}
.asset-photo-editor{display:grid;gap:12px;min-width:0}
.asset-photo-editor .existing-photo-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.asset-photo-editor .existing-photo-section>h4{grid-column:1/-1;margin:0}
.asset-photo-editor .existing-photo-group{min-width:0;margin:0}
.asset-photo-editor .existing-photo-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}
.asset-photo-editor .managed-photo{max-width:150px}
.asset-photo-editor .form-grid{align-items:end}
.asset-photo-editor .modal-actions{margin:0;padding:0}
.asset-edit-shell .asset-edit-group p{font-size:12px}
.archive-compare-row>*{min-width:0;overflow-wrap:anywhere}
.archive-compare-row select,.archive-compare-row input{max-width:100%}
.archive-report-table{width:100%;table-layout:fixed}
.archive-report-table td,.archive-report-table th{overflow-wrap:anywhere;vertical-align:top}
.archive-report-table small{display:block;font-size:12px;color:var(--mist-muted,#60768a)}
.archive-report-table td>div+div{margin-top:6px}
#assetDrawer .lifecycle-detail,#assetDrawer .lifecycle-summary{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px),(pointer:coarse){
 .asset-action-group .detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .asset-action-group .btn,.asset-action-target{width:100%;min-height:44px}
 .asset-action-tooltip{max-width:calc(100vw - 80px)}
 .asset-photo-editor .existing-photo-section{grid-template-columns:1fr}
 .asset-photo-editor .form-grid{grid-template-columns:1fr}
 .asset-photo-editor .modal-actions{flex-wrap:wrap}
 .asset-photo-editor .modal-actions>.btn{min-height:44px}
 .archive-compare-row input,.archive-compare-row select{min-height:44px;font-size:16px}
 .archive-report-table{table-layout:auto}
 body .archive-report-table{display:block;width:100%;min-width:0}
 body .archive-report-table thead{display:none!important}
 body .archive-report-table tbody{display:grid;gap:12px}
 body .archive-report-table tbody tr{display:block;border:1px solid #cdddED;border-radius:10px;padding:8px;background:#fff}
 body .archive-report-table td{display:block;position:relative;min-height:24px;width:auto!important;padding:6px 6px 6px 96px;border:0;text-align:left}
 body .archive-report-table td:before{content:attr(data-label);position:absolute;left:4px;top:7px;width:82px;color:#61778c;font-size:12px;font-weight:400}
 body .archive-report-table td small{margin-top:3px}
}

/* V18.3.7: compact asset details and one QR action in the drawer header. */
.asset-drawer-head-actions{display:flex;align-items:center;gap:7px;flex:none}
.drawer-head .asset-drawer-head-actions .icon-btn{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:8px}
.drawer-head .asset-drawer-head-actions .icon-btn:hover:not(:disabled){background:#e9f2fb;color:#245f9a}
.drawer-head .asset-drawer-head-actions .icon-btn:focus-visible{outline:2px solid #245f9a;outline-offset:2px}
.asset-qr-head-action svg{width:20px;height:20px}
.asset-qr-head-action:disabled{opacity:.4;cursor:wait}
.drawer .asset-detail-section{margin-top:8px;padding:10px 12px}
.drawer .asset-detail-section h4{margin-bottom:6px}
.drawer .detail-grid.compact{gap:6px;margin:6px 0 0}
.drawer .detail-grid.compact .detail-item{min-height:48px;padding:6px 8px}
.drawer .detail-grid.compact .detail-item small{margin-bottom:2px}
@media(pointer:coarse){.drawer-head .asset-drawer-head-actions .icon-btn{width:44px;height:44px}}
/* One combined search input, with explicit RFID reading beside connection. */
#page-assets .archive-filter-row{grid-template-columns:minmax(280px,2fr) minmax(180px,1.1fr) minmax(150px,1fr) auto auto auto}
.asset-r1-menu{position:relative}
.asset-r1-status.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}
.asset-r1-filter-controls>.btn,.asset-r1-menu>.btn{white-space:nowrap}
.asset-r1-menu>.btn.is-connected{color:#116347;border-color:#86b5a0}
.asset-r1-power-panel[hidden]{display:none!important}
.asset-r1-power-panel{position:absolute;right:0;top:calc(100% + 7px);width:300px;max-width:calc(100vw - 48px);padding:14px;box-sizing:border-box;border:1px solid #b8ccdf;border-radius:9px;background:#fff;box-shadow:0 8px 24px #28476325;z-index:150}
.asset-r1-power-panel label{display:flex;justify-content:space-between;gap:8px;font-size:13px}
.asset-r1-power-panel .r1-power-chart{margin:8px 0 10px}
.asset-r1-power-actions{display:flex;gap:8px;flex-wrap:wrap}
.asset-r1-power-panel p{font-size:12px;line-height:1.4;margin:9px 0 0}.asset-r1-power-panel p:empty{display:none}
body .panel.archive-query:has(.asset-r1-power-panel:not([hidden])){position:relative;z-index:60}
.asset-r1-read-status{display:block;margin-top:8px}
.r1-query-tag-feedback{position:fixed;z-index:220;pointer-events:none;display:grid;gap:9px;box-sizing:border-box;width:360px;max-width:calc(100vw - 32px);padding:20px 24px;border:1px solid #89acce;border-radius:14px;background:#fff;box-shadow:0 12px 36px #173d6533;text-align:center;color:#285d91;transform-origin:center}
.r1-query-tag-feedback>span{font-size:13px;font-weight:600}.r1-query-tag-feedback>strong{font:700 22px/1.4 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;letter-spacing:.03em}.r1-query-tag-feedback>small{font-size:12px;color:#60768a}.r1-query-tag-feedback.is-verified{border-color:#4d8e78}.r1-query-tag-feedback.is-verified>small{color:#116347}
@media(prefers-reduced-motion:reduce){.r1-query-tag-feedback{transition:none}}
@media(max-width:1100px){#page-assets .archive-filter-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}#page-assets .archive-filter-row>.btn{grid-row:auto}.asset-query-head-right{max-width:100%}}
@media(max-width:800px){#page-assets .archive-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-query-panel>.panel-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.asset-r1-filter-controls{flex-wrap:wrap}.asset-r1-power-panel .btn{min-height:44px}}



/* asset-tag-guides.css */
/* Existing compact mist-blue visual system, scoped to category guides. */
body .asset-tag-guide{display:grid;gap:12px;padding:16px;margin:12px 0;border:1px solid var(--mist-border,#d3e5f0);border-radius:10px;background:#f7fbff;min-width:0}
body .asset-tag-guide header{display:flex;gap:12px;align-items:center;justify-content:space-between}
body .asset-tag-guide h4,body .asset-tag-guide p{margin:0}
body .tag-guide-images{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
body .tag-guide-image{width:160px;max-width:100%;padding:0;border:1px solid #c6d9e8;border-radius:8px;background:#fff;overflow:hidden;cursor:zoom-in}
body .tag-guide-image img{display:block;max-width:100%;width:100%;aspect-ratio:1;object-fit:contain}
body .tag-guide-current{padding:12px;border:1px solid #d5e4ef;border-radius:8px;background:#fff;min-width:0}
body .tag-guide-source{display:flex;flex-wrap:wrap;gap:8px}
body .tag-guide-source label{flex:1 1 160px}
body .tag-guide-source input,body .tag-guide-confirm input{flex:0 0 20px;width:20px;height:20px;min-height:20px!important;margin:0}
body .tag-guide-source label,body .tag-guide-confirm{display:flex;align-items:center;gap:8px;margin:0;min-height:36px}
body .tag-guide-file,body .tag-guide-instructions{display:grid;gap:4px;margin:8px 0;min-width:0}
body .tag-guide-instructions textarea{width:100%;min-width:0;box-sizing:border-box}
body .tag-guide-qr{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
body .tag-guide-qr>img{width:156px;height:156px;max-width:100%}
body .tag-guide-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body .tag-guide-notice{color:#315d80}
body #tgError{color:#ac303e;overflow-wrap:anywhere}
body .tag-guide-history>section{padding:12px;border-bottom:1px solid #d5e4ef}
body .lifecycle-item.approval{border:1px solid #cbdfee;border-radius:9px;padding:12px;margin-bottom:12px;background:#f2f8ff}
body .lifecycle-item.approval .lifecycle-dot{background:#3479bd}
body .lifecycle-item.approval .btn{margin-top:8px}
@media(max-width:760px),(pointer:coarse){body .tag-guide-source label,body .tag-guide-confirm,body .tag-guide-actions .btn{min-height:44px}body .tag-guide-file input,body .tag-guide-instructions textarea{font-size:16px}
 body .tag-guide-source{display:grid;grid-template-columns:1fr}
 body .tag-guide-source input,body .tag-guide-confirm input{flex:0 0 20px;width:20px;height:20px;min-height:20px!important;margin:0}
}
@media(max-width:920px){body .procurement-page-head .procurement-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;overflow:visible!important}body .procurement-page-head .procurement-tabs button{white-space:normal;overflow-wrap:anywhere;min-height:44px!important}}

/* Two purposeful tabs: shared definitions first, one full-width category editor second. */
body .category-parameter-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.7fr);gap:20px;align-items:start}
body .asset-primary-settings{min-width:0;padding:16px;border:1px solid #d3e5f0;border-radius:10px;background:#f6fafc}
body .asset-primary-settings h4{margin:0;font-size:15px}
body .asset-primary-settings>label{display:block;margin-top:16px;font-weight:650}
body .asset-primary-settings .parameter-add{display:flex;align-items:center;gap:8px;margin-top:6px}
body .asset-primary-settings .parameter-add input{min-width:0;flex:1;width:0}
body .asset-primary-settings .parameter-add button{flex:none;white-space:nowrap}
body .asset-primary-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
body .asset-primary-list span{border:1px solid #d3e5f0;border-radius:6px;padding:4px 8px;background:#fff;color:#365572;overflow-wrap:anywhere}
body .category-parameter-layout .asset-parameter-catalog{margin:0;min-width:0;padding:16px;border-radius:10px}
body .category-parameter-layout .asset-parameter-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body .category-parameter-layout .asset-parameter-row{padding:10px;background:#f6fafc}
body .category-parameter-layout .asset-parameter-row b{font-size:13px}
body .category-parameter-layout .asset-parameter-head{align-items:flex-start;gap:12px;margin-bottom:12px}
body #assetCategorySettings .category-secondary-editor{padding:16px;border:1px solid #d3e5f0;border-radius:10px;background:#fff;min-width:0}
body .category-editor-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:16px}
body .category-editor-heading h4{margin:0;font-size:15px;overflow-wrap:anywhere}
body .category-editor-heading>span{font-size:12px;color:#526b82;overflow-wrap:anywhere}
body .category-secondary-editor .category-map-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body .category-secondary-editor .category-map-form>label{gap:6px;margin:0}
body .category-secondary-editor .category-combobox>label{margin:0 0 6px;color:#506a83;font-size:13px;font-weight:650}
body .category-map-form label small{font-size:12px;font-weight:400;color:#60768a}
body .category-secondary-editor .category-map-form select,body .category-secondary-editor .category-combobox-input{height:36px;min-height:36px;border-radius:8px}
body .category-secondary-editor .category-map-form select{padding:6px 10px}
body .category-secondary-editor .category-combobox-input input{height:34px;min-height:34px;padding:6px 10px}
body .category-secondary-editor .category-combobox-input button{min-height:34px;height:34px;flex-basis:36px;padding:0;align-self:stretch}
body .category-combobox-input:has(input:disabled){background:#f0f4f7;color:#62768a}
body .category-combobox-input button:disabled{cursor:not-allowed;color:#768594}
body #acmCategoryOptions{position:absolute;z-index:20;top:62px;left:0;right:0;margin:0;max-height:240px;box-shadow:0 6px 18px #263b501a;overscroll-behavior:contain}
body #acmCategoryOptions [role=option]{min-height:36px;overflow-wrap:anywhere}
body .category-secondary-editor .field-help{margin:6px 0 0;font-size:12px;line-height:1.6;color:#60768a}
body .category-selection-hint{margin:20px 0 4px;color:#60768a}
body #acmEditorFields{margin-top:20px}
body #acmTagRequirementChoices{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body #acmTagRequirements{margin:0 0 16px}
body #acmTagRequirementChoices label{min-height:36px;font-size:13px;padding:8px;margin:0;gap:8px}
body .category-required-picker{margin-top:16px}
body .category-required-picker .asset-parameter-checks{grid-template-columns:repeat(4,minmax(0,1fr))}
body .category-editor-actions{align-items:center;justify-content:space-between;gap:12px;padding-top:16px;margin-top:16px;border-top:1px solid #d3e5f0}
body .category-editor-actions small{color:#60768a;font-size:12px}
body .category-editor-actions .btn{min-height:32px;flex:none;white-space:nowrap}
body #assetCategorySettings .asset-category-tree{margin-top:16px;grid-template-columns:minmax(0,1fr)}
body .tag-guide-upload-tools{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
body .tag-guide-upload-tools .tag-guide-file{flex:1;min-width:160px;margin:0}
body .tag-guide-file input{width:100%;max-width:100%;min-width:0;height:auto;font-size:13px}
body .tag-guide-upload-tools .btn{align-self:flex-end}
body .tag-guide-image{width:128px}
body .tag-guide-image img{aspect-ratio:4/3}
body .tag-guide-instructions{grid-template-columns:minmax(0,1fr) auto}
body .tag-guide-instructions{max-width:300px;grid-template-columns:minmax(0,1fr) auto}
body .tag-guide-instructions input{grid-column:1/-1;width:100%;height:36px;box-sizing:border-box}
@media(max-width:760px),(pointer:coarse){body .tag-guide-instructions input{height:44px;font-size:16px}}
body .tag-guide-actions{align-items:center}
body .tag-guide-actions>small{margin-right:auto;font-size:12px;color:#60768a}
body .tag-guide-local{font-size:12px;overflow-wrap:anywhere;margin-top:6px}
body .asset-setting-tabs button{font-size:13px}
body #acmEditorFields[hidden],body #acmSelectionHint[hidden],body .asset-category-group[hidden],body .asset-tag-guide[hidden],body #tgUpload[hidden],body #tgQr[hidden]{display:none!important}
@media(max-width:1100px){body .category-parameter-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}body .category-required-picker .asset-parameter-checks,body #acmTagRequirementChoices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px),(pointer:coarse){
 body .category-parameter-layout{grid-template-columns:minmax(0,1fr);gap:16px}
 body .category-secondary-editor .category-map-form{grid-template-columns:minmax(0,1fr)}
 body .category-secondary-editor .category-map-form select,body .category-secondary-editor .category-combobox-input{height:44px;min-height:44px}
 body .category-secondary-editor .category-combobox-input input,body .category-secondary-editor .category-combobox-input button{height:42px;min-height:42px}
 body #acmCategoryOptions{top:70px}body #acmCategoryOptions [role=option]{min-height:44px}
 body #acmTagRequirementChoices label,body .category-editor-actions .btn,body .asset-primary-settings .btn{min-height:44px}
 body .category-editor-actions{flex-wrap:wrap}body .category-editor-actions .btn{width:100%}
 body .category-editor-heading{flex-wrap:wrap;gap:4px}
 body .asset-setting-tabs button{padding:8px 12px;flex:1;white-space:normal}
 body .asset-primary-settings input,body .category-map-form input,body .category-map-form select{font-size:16px}
 body .category-parameter-layout .asset-parameter-list{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){body #acmTagRequirementChoices,body .category-required-picker .asset-parameter-checks{grid-template-columns:minmax(0,1fr)}body .tag-guide-actions>small{width:100%}body .tag-guide-actions .btn{flex:1}}



/* V18.1.7 direct filing: compact fields, required parameters above the guide. */
body #assetCreateForm .form-section-title{margin:16px 0 10px;padding-bottom:8px;font-size:15px;gap:8px}
body #assetCreateForm .form-grid{gap:12px;align-items:start}
body #assetCreateForm :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),select){height:36px;min-height:36px;padding:6px 10px;box-sizing:border-box}
body #assetCreateForm .filing-label-text{min-height:32px;align-content:end;line-height:1.4;gap:4px}
body #assetCreateForm .filing-field-badge{font-size:10px;line-height:1.4;white-space:nowrap;padding:1px 4px}
.asset-tag-type-rows{display:grid;gap:8px;margin-bottom:14px}.asset-tag-type-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(280px,1.3fr) minmax(140px,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #dce3e9;border-radius:8px}.tag-purpose-options{border:0;padding:0;margin:0;min-width:0;display:flex;flex-wrap:wrap;gap:8px 16px}.tag-purpose-options legend{font-size:12px;color:#526b80;margin-bottom:5px}.tag-purpose-options label{display:inline-flex!important;align-items:center;gap:6px;margin:0;font-size:13px;white-space:normal}.tag-purpose-options input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;margin:0;accent-color:#245f91}.tag-purpose-options .is-unavailable{color:#8593a2}.asset-tag-type-add.tag-type-purpose-add{display:grid;grid-template-columns:minmax(140px,1fr) minmax(280px,1.3fr) minmax(140px,1fr) auto;gap:12px;align-items:end}.tag-type-purpose-add>label,.tag-type-note{margin:0;min-width:0}.tag-type-note input{width:100%;min-width:0}.asset-tag-type-row>.btn,.tag-type-purpose-add>.btn{min-height:36px}#assetTagTypeError .btn{margin-left:8px}@media(max-width:860px){.asset-tag-type-row,.asset-tag-type-add.tag-type-purpose-add{grid-template-columns:minmax(0,1fr)}.tag-purpose-options{gap:8px 14px}.tag-purpose-options label{min-height:36px}.asset-tag-type-row>.btn,.tag-type-purpose-add>.btn{justify-self:start;min-height:44px}}
body #assetCreateForm .procurement-core-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
body #assetCreateForm .procurement-core-grid>label{grid-column:span 2;min-width:0;order:0}
body #assetCreateForm .procurement-core-grid>label:has(#acName){grid-column:span 4}
body #assetCreateForm .procurement-core-grid>label:has(#acModel),body #assetCreateForm .procurement-core-grid>label:has(#acSpec),body #assetCreateForm .procurement-core-grid>label:has(#acSerial){grid-column:span 3}
body #assetCreateForm .procurement-core-grid>.filing-tag-requirement{grid-column:span 3;order:1}
body #assetCreateForm .filing-tag-requirement{display:flex;flex-direction:column;gap:4px;justify-content:end;min-height:72px}
body #assetCreateForm .filing-tag-requirement .filing-label-text{font-size:12px;color:#536d87;min-height:0}
body #acTagRequirement{display:block;align-self:flex-start;font-size:15px;font-weight:700;line-height:36px;color:#245f86;border:0;background:transparent;padding:0 0 0 10px;border-left:3px solid #4b75a2;white-space:normal}
body #acTagRequirement[data-rule=none]{color:#536d87;border-left-color:#96a9b8}
body #acTagRequirement[data-rule=both]{color:#245f69;border-left-color:#387c89}
body #assetCreateForm #acAssetParameters{grid-column:1/-1;order:2;margin:0;padding:12px 0;border-top:1px solid #d3e5f0}
body #assetCreateForm #acAssetParameters .form-grid{grid-template-columns:repeat(auto-fill,minmax(150px,180px))}
body #assetCreateForm #acCategoryInfo{grid-column:1/-1;order:3;padding:12px;margin:0}
body #assetCreateForm .filing-category-layout{grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
body #assetCreateForm .filing-category-head{margin-bottom:4px}
body #assetCreateForm .filing-category-info>.filing-hint{margin:0 0 6px}
body #assetCreateForm .filing-category-status,body #assetCreateForm #acCategoryRetry{grid-column:1/-1;order:4;margin:0}
body #acCategoryStatus:empty{display:none}
body #assetCreateForm .filing-ownership-grid{display:flex;flex-wrap:wrap;align-items:start}
body #assetCreateForm .filing-ownership-grid>:is(label,fieldset){flex:0 1 180px;min-width:0}
body #assetCreateForm .filing-ownership-grid>.ownership-choice{flex-basis:210px}
body #assetCreateForm .filing-ownership-grid>.transfer-choice-field{flex-basis:330px}
body #assetCreateForm .choice-segment{min-height:36px}
body #assetCreateForm .choice-segment label{min-height:34px;padding:6px 8px}
body #assetCreateForm .filing-purchase-grid{grid-template-columns:repeat(auto-fit,minmax(150px,180px))}
body #assetCreateForm .filing-purchase-choice{grid-column:span 2}
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap){grid-column:span 2;min-width:0}
body #assetCreateForm .filing-quantity-layout{display:flex;align-items:center;gap:16px}
body #assetCreateForm .procurement-quantity-field{flex:0 0 110px;min-width:0;margin:0}
body #assetCreateForm .filing-quantity-layout>p{max-width:860px;margin:0;line-height:1.7;font-size:13px;color:#56718e}
body #assetCreateForm .filing-nameplate-step{padding:12px}
body #assetCreateForm .filing-nameplate-step>.form-section-title{margin-top:0}
body #assetCreateForm .upload-box-preview{min-height:120px}
body #assetCreateForm :is(#acCategoryInfo,#acTagRequirementWrap)[hidden]{display:none!important}
@media(max-width:1100px){body #assetCreateForm .procurement-core-grid{grid-template-columns:repeat(6,minmax(0,1fr))}body #assetCreateForm .procurement-core-grid>label:has(#acName){grid-column:span 2}}
@media(max-width:920px),(pointer:coarse){
 body #assetCreateForm .procurement-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body #assetCreateForm .procurement-core-grid>label{grid-column:span 1!important}
 body #assetCreateForm .procurement-core-grid>label:has(#acName),body #assetCreateForm .procurement-core-grid>.filing-tag-requirement{grid-column:1/-1!important}
 body #assetCreateForm :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),select){height:44px;min-height:44px;font-size:16px}
 body #assetCreateForm .filing-purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body #assetCreateForm .filing-ownership-grid>:is(label,fieldset){flex:1 1 160px}
 body #assetCreateForm .filing-label-text{min-height:42px}
 body #assetCreateForm .filing-category-layout{grid-template-columns:minmax(0,1fr)}
 body #assetCreateForm .filing-quantity-layout{align-items:start;flex-wrap:wrap;gap:8px}
 body #assetCreateForm .filing-quantity-layout>p{font-size:14px}
 body #assetCreateForm .choice-segment label{min-height:42px}
}

/* Uniform label/control rows for plain, badged and conditional inputs. */
body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label,
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap){display:grid;grid-template-rows:32px 36px auto;gap:4px;align-items:end}
body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label>:is(input:not([type=hidden]),select),
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap)>:is(select,.purchase-channel-picker){grid-row:2;margin:0;align-self:start}
body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label>.filing-label-text,
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap)>label{min-height:0;height:32px;margin:0;align-self:end}
body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label>.field-help,
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap)>.field-help{grid-row:3;margin:0}
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap)>label .filing-label-text{height:32px;min-height:0;align-content:end}
@media(max-width:920px),(pointer:coarse){
 body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label,
 body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap){grid-template-rows:42px 44px auto}
 body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label>.filing-label-text,
 body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap)>label,
 body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap)>label .filing-label-text{height:42px}
}


/* asset-filing.css */
/* Filing is one workflow, not a parallel asset ledger. */
/* Compact proposal and evidence-led progress use the established mist-blue tokens. */
.filing-need-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.filing-need-grid>label,.filing-identity-item{display:grid;gap:6px;min-width:0;margin:0}
.filing-need-grid input,.filing-need-grid select{width:100%;min-width:0;height:36px}
.filing-need-wide{grid-column:1/-1}.filing-need-identity>summary{color:#263b50;font-size:15px;font-weight:600;margin-bottom:12px;cursor:pointer}
.filing-reference-upload summary{color:#4b75a2;font-size:12px;cursor:pointer;min-height:28px;display:flex;align-items:center}
.filing-reference-upload .filing-media-field{margin-top:4px}
.filing-camera{justify-self:start;display:inline-flex;align-items:center;cursor:pointer;position:relative;overflow:hidden;min-height:44px!important}
.filing-camera input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.filing-reference-view{position:fixed;z-index:1400;width:300px;max-width:calc(100vw - 24px);padding:12px;border:1px solid #9db4c8;border-radius:8px;background:#f8fbfd;box-shadow:0 6px 20px #263b5026;max-height:210px;overflow:auto}
.filing-reference-view[hidden]{display:none}.filing-reference-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.filing-progress-nodes{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 16px;padding:0}
.filing-progress-nodes>li{position:relative;color:#60768a;display:grid;gap:5px;font-size:13px;padding-top:4px}
.filing-progress-nodes>li>.filing-node-dot{width:24px;height:24px;display:grid;place-items:center;border:1px solid #b6cbdc;background:#f8fbfd;border-radius:50%;font-size:12px;position:relative;z-index:1}
.filing-progress-nodes>li:not(:last-child)::after{content:"";position:absolute;top:16px;left:24px;width:calc(100% - 12px);height:1px;background:#b6cbdc}
.filing-progress-nodes>li.is-current{color:#315d85}.filing-progress-nodes>li.is-current>.filing-node-dot{color:#fff;background:#4b75a2;border-color:#4b75a2;box-shadow:0 0 0 3px #dce8f1}
.filing-progress-nodes>li.is-done>.filing-node-dot{color:#246948;border-color:#9ecdb6;background:#e6f4ee}
.filing-progress-nodes small{font-size:12px;font-weight:400}.filing-progress-nodes .is-skipped{color:#60768a}
.filing-progress-current{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;padding:12px;background:#eaf3f8;border-radius:6px;font-size:13px;line-height:1.7}
.filing-progress-current>strong{color:#263b50}.filing-progress-current .filing-aftercare{margin:0}
.filing-progress-history{margin-top:14px}.filing-progress-history>summary{cursor:pointer;color:#405e78;font-size:13px;min-height:32px}
.filing-progress-history>ol{list-style:none;margin:0 0 0 6px;padding:0 0 0 18px;border-left:1px solid #b6cbdc}
.filing-progress-history>ol>li{position:relative;padding:0 0 16px;display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;line-height:1.7;font-size:13px}
.filing-progress-history>ol>li::before{content:"";position:absolute;top:7px;left:-23px;width:8px;height:8px;border:1px solid #4b75a2;border-radius:50%;background:#f8fbfd}
.filing-progress-history time,.filing-progress-history small{font-size:12px;color:#60768a}.filing-progress-history ul{flex-basis:100%;list-style:none;margin:0;padding:0;display:grid;gap:5px}
.filing-progress-history ul li{display:flex;gap:4px 10px;align-items:baseline;flex-wrap:wrap}.filing-progress-history ul small{margin-left:auto}
.filing-task-table td:nth-child(3){width:185px;max-width:220px}.filing-task-table td:nth-child(4){width:230px}.filing-task-table td:first-child{width:24%}
.shopping-platform-existing{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}.shopping-platform-existing span{padding:4px 8px;border:1px solid #d3e5f0;border-radius:5px;background:#eaf3f8;color:#405e78;font-size:13px}
@media(max-width:767px){.filing-need-grid{grid-template-columns:minmax(0,1fr)}.filing-progress-nodes{grid-template-columns:1fr;gap:0;margin:12px 0}
.filing-progress-nodes>li{grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:4px 0}
.filing-progress-nodes>li:not(:last-child)::after{left:12px;top:28px;width:1px;height:24px}
.filing-progress-current{display:grid;gap:4px}.filing-progress-history ul small{margin-left:0}.filing-need-grid input,.filing-need-grid select{height:44px}}
@media(pointer:coarse){.filing-reference-upload summary,.filing-need-identity>summary,.filing-progress-history>summary{min-height:44px}.filing-reference-view .btn{min-height:44px}}
/* Explicit filing intents: text labels accompany semantic color, focus and touch help. */
#assetCreateForm .procurement-submit-bar{gap:8px;flex-wrap:wrap;scroll-margin-bottom:160px}
#assetCreateForm{scroll-padding-block:100px 170px}
#assetCreateForm #acSaveDraft{background:#e8eff5;color:#344f69;border-color:#9db4c8;box-shadow:none}
#assetCreateForm #acSaveDraft:hover{background:#dce8f1}
:is(#assetCreateForm,#filingDetail) .btn.filing-file-first{background:#fff3d9;color:#755018;border-color:#c89f55;box-shadow:none}
:is(#assetCreateForm,#filingDetail) .btn.filing-file-first:hover{background:#f9e5bd}
#assetCreateForm #acSubmitBtn{background:#4b75a2;color:#fff;border-color:#41688f}
:is(.filing-save-draft,.filing-file-first):focus-visible{outline:2px solid #3873b4;outline-offset:3px}
.filing-aftercare{display:block;width:fit-content;max-width:100%;padding:4px 7px;margin-top:6px;border:1px solid #e1c493;border-radius:5px;background:#fff6e5;color:#755018;font-size:12px;line-height:1.6;white-space:normal}
.filing-priority{background:#fffaf1}.filing-priority td:first-child{border-left:3px solid #c6994e}
.filing-tag-progress{font-weight:600;color:#755018}
.filing-generation .form-grid{margin-bottom:10px}.filing-generation .filing-sketch-tools{margin-bottom:10px}
.filing-state.missing_labels{background:#fff1e3;color:#895517}
@media(max-width:767px),(pointer:coarse){:is(#acSaveDraft,#acSubmitBtn,#acFileFirst,.filing-generation .btn){min-height:44px}.filing-generation input,.filing-generation select{height:44px;font-size:16px}}
@media(max-width:480px){
 #assetCreateForm .procurement-submit-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 #assetCreateForm .procurement-submit-bar .btn{width:100%;white-space:normal;overflow:visible}
 #assetCreateForm #acFileFirst{grid-column:1/-1}
 #assetCreateForm #acResult{grid-column:1/-1}
}

.filing-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.filing-workspace-head h3{margin:0 0 5px;font-size:18px}.filing-workspace-head p{margin:0;color:#536d87;line-height:1.65}
.filing-workspace-actions,.filing-filter,.filing-pages{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
.filing-filter{padding:12px;background:#eef5f9;border:1px solid #d3e5f0;border-radius:10px;margin-bottom:14px}
.filing-filter label{display:grid;align-content:end;margin:0;gap:6px;flex:1;min-width:160px}.filing-filter label:first-child{flex:2}
.filing-filter input,.filing-filter select{height:36px;min-width:0;width:100%}
.filing-pages{justify-content:flex-end;margin-top:12px}.filing-pages span{color:#536d87}
.filing-list-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(90px,.8fr) minmax(150px,1.3fr) minmax(110px,1fr) 92px;align-items:center;gap:14px;padding:14px 12px;border-bottom:1px solid #d3e5f0}
.filing-list-row:first-child{border-top:1px solid #d3e5f0}.filing-list-row small{display:block;color:#536d87;margin-top:5px;overflow-wrap:anywhere}
.filing-state{display:inline-block;padding:4px 8px;background:#e7f1f8;border-radius:5px;color:#315d85;font-size:12px}
.filing-state.completed{background:#e6f4ee;color:#246948}.filing-state.returned,.filing-state.need_rejected,.filing-state.committing{background:#fff1e3;color:#895517}
.filing-empty{padding:36px 12px;text-align:center;color:#536d87}
.filing-form-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px;background:#eef5f9;border-left:3px solid #4b75a2}
.filing-modal{min-width:0}.filing-modal h4{margin:0 0 10px;font-size:16px}.filing-modal section{padding:16px;border:1px solid #d3e5f0;border-radius:10px;margin-bottom:14px;background:#fbfdff}
.filing-modal p{line-height:1.7;overflow-wrap:anywhere}.filing-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.filing-meta dt{color:#536d87;font-size:12px}.filing-meta dd{margin:5px 0 0;overflow-wrap:anywhere}
.filing-task-row{padding:10px 0;border-top:1px solid #d3e5f0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filing-task-row>div{flex:1;min-width:180px}.filing-task-row small{display:block;margin-top:5px;color:#536d87}
.filing-photos{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.filing-photos button{width:108px;height:88px;border:1px solid #d3e5f0;padding:3px;border-radius:6px;background:#fff;cursor:pointer}.filing-photos img{width:100%;height:100%;object-fit:contain}
.filing-evidence-photos{display:flex;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-top:12px}
.filing-evidence-photo-group{flex:1 1 170px;min-width:0}
.filing-evidence-photo-group>b{display:block}
.filing-evidence-photo-group .filing-photos{margin:8px 0 0}
.filing-evidence-photo-group .filing-hint{margin:8px 0 0}
.filing-evidence-history{margin:0 0 14px;border:1px solid #d3e5f0;border-radius:10px;background:#fff}
.filing-evidence-history>summary{padding:12px 16px;color:#315d85;font:inherit;font-weight:600;cursor:pointer}
.filing-evidence-history>summary:focus-visible{outline:2px solid #41688f;outline-offset:-3px;border-radius:8px}
.filing-evidence-history[open]>summary{border-bottom:1px solid #d3e5f0}
.filing-evidence-history>.filing-field-evidence{margin:12px}
.filing-return-icon{display:inline-block;width:16px;height:16px;margin-right:4px;vertical-align:-3px;flex-shrink:0}
.filing-business-status{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.filing-handling-terminals{display:inline-flex;align-items:center;gap:4px;color:#536d87;vertical-align:middle;cursor:help}
.filing-handling-terminals>span{display:inline-flex;align-items:center}
.filing-handling-terminals .ui-icon{width:16px;height:16px;margin:0}
.filing-handling-terminals:focus-visible{outline:2px solid #41688f;outline-offset:3px;border-radius:3px}
.filing-checkboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.filing-checkboxes label{display:flex;gap:9px;align-items:center;min-height:36px;padding:8px;background:#eef5f9;border-radius:6px;line-height:1.6}.filing-checkboxes input{flex:none;width:20px;height:20px}
.filing-entry-form{display:grid;gap:14px}.filing-entry-form>label,.filing-media-field{display:grid;gap:7px}.filing-media-field{padding:12px;border:1px dashed #738aa0;border-radius:8px;min-width:0}
.filing-media-field input{max-width:100%;min-width:0}.filing-phone-box{padding:10px;background:#eef5f9;border-radius:6px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.filing-phone-box img{width:140px;height:140px}.filing-phone-box[hidden]{display:none}
.filing-entry-form canvas{border:1px solid #738aa0;border-radius:8px;background:#fff;width:100%;height:160px;touch-action:none}
.filing-sketch-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filing-entry-form audio{max-width:100%}
/* Handheld note modes share one compact surface; desktop renders text only. */
.filing-notes{min-width:0}.filing-note-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px;color:#405e78}
.filing-note-modes{display:flex;gap:8px;flex-wrap:wrap}.filing-note-modes .btn{min-width:60px;min-height:44px;padding:6px 12px;border-radius:6px;background:#fff;color:#405e78;box-shadow:none}
#filingNeedForm .filing-note-modes .btn[aria-pressed=true]{border-color:#41688f;background:#e7f1f8;color:#315d85;font-weight:700}
.filing-note-modes .btn.has-content::after{content:"";display:inline-block;width:5px;height:5px;margin-left:5px;border-radius:50%;background:currentColor;vertical-align:middle}
.filing-note-modes .btn:focus-visible{outline:2px solid #3873b4;outline-offset:2px}.filing-note-modes .btn:active{background:#dce8f1}
.filing-note-panel{display:grid;gap:8px;min-width:0}.filing-note-panel[hidden],.filing-note-panel audio[hidden]{display:none}
.filing-note-panel textarea{width:100%;min-height:88px}.filing-note-panel input[type=file]{min-width:0;max-width:100%;width:100%}
.filing-note-panel .filing-hint{margin:0}.filing-note-help{margin:8px 0 0;font-size:12px;color:#536d87}
.filing-error{color:#a83746;line-height:1.7;overflow-wrap:anywhere}.filing-hint{color:#536d87;font-size:12px}.filing-guide-note{white-space:pre-wrap}
.filing-review-history{padding-top:10px;margin-top:10px;border-top:1px solid #d3e5f0}.filing-review-history p{margin:5px 0}
.filing-step-list{display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;list-style:none}.filing-step-list li{color:#536d87;font-size:12px}.filing-step-list li+li:before{content:"→";margin-right:8px}
.filing-label-preview{display:grid;place-items:center;min-height:130px;padding:16px;background:#fff}.filing-label-preview img{width:128px;height:128px}.filing-label-preview strong{overflow-wrap:anywhere}
.filing-label-print{display:none}
/* One task list, locally scrollable on narrow screens; no full-page overflow. */
[data-filing-result]{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:8px}
.filing-task-table{width:100%;min-width:940px;border-collapse:collapse;text-align:left;font-size:13px}
.filing-task-table th{font-weight:600;color:#405e78;background:#eef5f9;white-space:nowrap}
.filing-task-table :is(th,td){padding:12px 10px;border-bottom:1px solid #d3e5f0;vertical-align:top}
.filing-task-table td:first-child{min-width:180px;max-width:260px;overflow-wrap:anywhere}
.filing-task-table td small{display:block;color:#536d87;margin-top:4px;line-height:1.55;overflow-wrap:anywhere}
.filing-task-table td:nth-child(4){min-width:150px;max-width:220px}
.filing-task-table :is(.filing-state,.btn){white-space:nowrap}
.filing-task-table tbody tr:hover{background:#f4f9fc}
.filing-recent-labels{margin-top:20px;padding:16px 0 0;border-top:1px solid #d3e5f0}
.filing-recent-labels h4{font-size:15px;margin:0 0 12px}
.filing-recent-labels [data-filing-labels]{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.filing-label-choice{display:grid;gap:5px;flex:0 1 420px;min-width:0}
.filing-label-choice select{width:100%;min-width:0;height:36px}
.filing-recent-labels .filing-hint{flex-basis:100%;margin:0}
@media(max-width:767px),(pointer:coarse){.filing-task-table .btn,.filing-recent-labels .btn{min-height:44px;min-width:44px}.filing-label-choice select{height:44px;font-size:16px}}

.filing-nameplate-step .form-section-title{margin-top:0;flex-wrap:wrap}.filing-nameplate-step .form-section-title>.btn{margin-left:auto}.filing-nameplate-step>p{color:#536d87;line-height:1.7}.filing-nameplate-step .upload-box{max-width:620px}
.filing-category-info{grid-column:1/-1;padding:16px;border:1px solid #d3e5f0;background:#f1f7fb;border-radius:10px;min-width:0}.filing-category-info[hidden]{display:none}
.filing-category-head{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:12px}.filing-category-head small{color:#536d87}
.filing-category-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);gap:20px}.filing-category-layout>div{min-width:0}.filing-category-facts{display:grid;gap:12px;margin:0}.filing-category-facts dt{color:#536d87;font-size:12px}.filing-category-facts dd{margin:4px 0 0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.filing-category-info .asset-parameter-fields{margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid #d3e5f0;border-radius:0;background:transparent}.filing-guide-preview .filing-photos{margin:8px 0}.filing-guide-preview .filing-photos button{width:112px;height:92px}.filing-category-info .filing-hint{margin:8px 0 0}
.filing-purchase-step{margin:0 0 16px}.filing-purchase-choice{grid-column:1/-1}.filing-purchase-choice .choice-segment{max-width:620px}.filing-platform-field{display:grid;gap:6px;align-content:start}.filing-platform-field .btn{justify-self:start}
#assetCreateForm [hidden]{display:none}#assetCreateForm .form-section-title{scroll-margin-top:90px}#assetCreateForm #acName{scroll-margin-block:100px}

.filing-submission-notice{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;margin:0 0 16px;border:1px solid #c3d8e8;border-left:4px solid #4b75a2;border-radius:10px;background:#f0f7fc;scroll-margin-top:80px}.filing-submission-notice[hidden]{display:none}.filing-submission-notice>div:first-child{min-width:0;flex:1}.filing-submission-notice h3{margin:0 0 6px;font-size:16px}.filing-submission-notice p{line-height:1.65;margin:4px 0;overflow-wrap:anywhere;color:#405e78}.filing-submission-notice.is-uncertain{border-color:#e4ca96;border-left-color:#95631f;background:#fff8eb}.filing-submission-reference{font-size:12px}.filing-submission-reference code{font:inherit;overflow-wrap:anywhere}.filing-submission-actions{display:flex;gap:8px;flex-wrap:wrap;max-width:100%;flex-shrink:0}
.filing-field-legend{background:#f1f7fb;border:1px solid #d3e5f0;border-radius:8px;padding:12px;margin-bottom:16px;color:#405e78;font-size:12px}.filing-field-legend p{margin:6px 0 0;line-height:1.8}.filing-label-text{display:inline-flex;align-items:baseline;gap:5px;flex-wrap:wrap;max-width:100%;line-height:1.6}.filing-field-badge{display:inline-block;vertical-align:baseline;padding:1px 5px;border:1px solid #c7d6e4;border-radius:4px;font-size:11px;line-height:1.5;font-weight:500;white-space:nowrap;background:#eef3f7;color:#405e78}.filing-field-badge.is-required{background:#fff0ee;color:#a32e27;border-color:#e8bbb6}.filing-field-badge.is-approval{background:#fff7e6;color:#84591a;border-color:#dfc68d}.filing-field-badge.is-immutable{background:#edf1f5;color:#4c6074;border-color:#c5d1dd}
#assetCreateForm .required-label::after,#assetCreateForm .required-label>.field-label::after{content:none}
#assetCreateForm [aria-describedby=acFieldLegend]:focus-visible{outline:2px solid #3873b4;outline-offset:2px}
@media(max-width:767px){.filing-submission-notice{flex-direction:column;padding:12px}.filing-submission-actions{width:100%}.filing-submission-actions .btn{min-height:44px;flex:1}.filing-field-badge{font-size:12px}}
@media(max-width:767px){.filing-category-layout{grid-template-columns:minmax(0,1fr);gap:14px}.filing-category-info{padding:12px}.filing-category-head{align-items:flex-start}.filing-nameplate-step .form-section-title>.btn{margin-left:0;flex-basis:100%}}
@media(max-width:767px),(pointer:coarse){.filing-modal .btn,.filing-workspace-head .btn,.filing-filter .btn,.filing-list-row .btn,.filing-pages .btn{min-height:44px;min-width:44px}.filing-entry-form input:not([type=checkbox]):not([type=radio]),.filing-entry-form select,.filing-entry-form textarea,.filing-filter input,.filing-filter select{font-size:16px;min-height:44px}.filing-checkboxes label{min-height:44px}.filing-checkboxes{grid-template-columns:1fr}}
@media(max-width:767px){.filing-list-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.filing-list-row>div:first-child{grid-column:1/-1}.filing-list-row>div:nth-child(3){grid-column:1/-1;grid-row:3}.filing-list-row>div:nth-child(4){grid-column:1/-1;grid-row:4}.filing-list-row>.btn{grid-column:2;grid-row:2}.filing-meta{grid-template-columns:1fr}.filing-workspace-actions{width:100%}.filing-filter label{flex-basis:100%;min-width:0}.filing-task-row>div{min-width:0;flex-basis:100%}.filing-form-banner{align-items:flex-start}.filing-modal section{padding:12px}.filing-pages{justify-content:space-between}.filing-phone-box img{width:128px;height:128px}}
@media(prefers-reduced-motion:reduce){.filing-modal *,.filing-workspace *{transition:none!important;animation:none!important}}
/* V18.2.2: one restrained filing surface, equal control rows, real errors only. */
body :is(#assetCreateForm,#filingNeedForm){--filing-control-height:36px;--ui-button:36px;--ui-row-button:36px;--filing-line:#b5c4d1;--filing-ink:#263b50;--filing-muted:#526b80;--filing-accent:#41688f;--filing-surface:#f6f8fa;color:var(--filing-ink)}
.filing-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body #assetCreateForm :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]):not([type=file]),select),
body #filingNeedForm :is(input:not([type=hidden]):not([type=radio]):not([type=checkbox]):not([type=file]),select){box-sizing:border-box;height:var(--filing-control-height)!important;min-height:var(--filing-control-height)!important;border:1px solid var(--filing-line);border-radius:7px;background:#fff;margin:0}
body :is(#assetCreateForm,#filingNeedForm) :is(.btn,.upload-trigger){height:var(--filing-control-height)!important;min-height:var(--filing-control-height)!important;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;line-height:1.4}
body :is(#assetCreateForm,#filingNeedForm) :is(input,select,textarea):not(.invalid):not([aria-invalid=true]){border-color:var(--filing-line)!important;background:#fff!important;box-shadow:none!important}
body :is(#assetCreateForm,#filingNeedForm) :is(input,select,textarea).invalid,
body :is(#assetCreateForm,#filingNeedForm) [aria-invalid=true]{border-color:#a83746!important;background:#fff!important;box-shadow:0 0 0 1px #a837461a!important}
body :is(#assetCreateForm,#filingNeedForm) :is(input,select,textarea):focus-visible{outline:2px solid var(--filing-accent);outline-offset:2px}
body #assetCreateForm .filing-field-badge{color:var(--filing-muted);background:#f0f3f6;border-color:#c7d1da;font-weight:400;font-size:10px}
body #assetCreateForm .form-section-title{font-size:16px;line-height:1.5;margin:20px 0 12px;padding-bottom:8px;border-bottom:1px solid #dce3e9;color:var(--filing-ink)}
body #assetCreateForm .form-section-title>span{border-radius:5px;background:#eef2f5;color:var(--filing-muted);font-size:12px}
body #assetCreateForm .form-grid{row-gap:12px;column-gap:12px}
body #assetCreateForm .filing-ownership-grid{align-items:flex-start}
body #assetCreateForm .compact-choice-field{padding:0;margin:0;border:0;min-width:0}
body #assetCreateForm .compact-choice-field>legend{float:left;box-sizing:border-box;width:100%;height:32px;min-height:32px;padding:0;margin:0 0 4px;display:flex;align-items:flex-end;gap:4px;font-size:13px;line-height:1.4}
body #assetCreateForm .compact-choice-field>.choice-segment{clear:both}
body #assetCreateForm .choice-segment{box-sizing:border-box;height:var(--filing-control-height);min-height:var(--filing-control-height);padding:1px;border:1px solid var(--filing-line);border-radius:7px;background:#f6f8fa;gap:2px;overflow:visible}
body #assetCreateForm .choice-segment label{box-sizing:border-box;min-height:0!important;height:100%;padding:0!important;margin:0!important}
body #assetCreateForm .choice-segment label span{box-sizing:border-box;min-height:0!important;height:100%;padding:0 8px;display:flex;align-items:center;justify-content:center;border-radius:5px;color:var(--filing-muted);font-size:12px;line-height:1.25;white-space:nowrap}
body #assetCreateForm .choice-segment input:checked+span{background:#e7eef4!important;color:#315d85!important;box-shadow:none!important}
body #assetCreateForm .filing-nameplate-step{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body #assetCreateForm .filing-nameplate-step>.form-section-title{margin-top:0}
body #assetCreateForm .filing-nameplate-step .upload-box-preview{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-content:start;align-items:center;gap:8px;min-height:0}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>.draft-photo-qr{grid-column:3}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>.multi-photo-preview{grid-column:1/-1;min-height:44px;padding:6px 10px}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>small{grid-column:1/-1;text-align:left;margin:0}
@media(max-width:767px){body #assetCreateForm .filing-nameplate-step .upload-box-preview{grid-template-columns:minmax(0,1fr) auto}body #assetCreateForm .filing-nameplate-step .upload-box-preview>.draft-photo-qr{grid-column:1/-1;justify-self:start}}
body #assetCreateForm .filing-nameplate-step>p{font-size:12px;margin:0 0 10px;color:var(--filing-muted)}
body #assetCreateForm .filing-nameplate-step .upload-box{max-width:none;min-height:100px;padding:12px;border:1px solid #dce3e9;background:#fff;border-radius:7px;box-shadow:none}
body #assetCreateForm :is(#acTagRequirement,#acTagRequirement[data-rule=both]){color:var(--filing-accent);border-color:var(--filing-accent)}
body #assetCreateForm #acCategoryInfo{background:#f8fafc;border-color:#dce3e9}
body #assetCreateForm .asset-edit-note{color:var(--filing-muted);background:#f6f8fa;border-color:#dce3e9;padding:10px 12px;font-size:12px;line-height:1.6}
body #assetCreateForm #acSaveDraft{background:#eef2f5;color:#40566b;border-color:#b5c4d1}
body #assetCreateForm #acSubmitBtn{background:#41688f;color:#fff;border-color:#41688f}
body #assetCreateForm #acFileFirst{background:#fff;color:#41688f;border-color:#41688f}
.filing-action-wrap{display:inline-flex;max-width:100%;align-items:center;border-radius:7px}
.filing-action-wrap:focus-visible{outline:2px solid #41688f;outline-offset:3px}
body #filingNeedForm{gap:0;line-height:1.6}
body .filing-need-modal{background:#fff}
body #filingNeedForm .filing-need-section{border:0;border-bottom:1px solid #dce3e9;background:transparent;border-radius:0;padding:0 0 16px;margin:0 0 16px}
body #filingNeedForm .filing-need-section h4{font-size:14px;margin:0 0 12px;line-height:1.5;color:var(--filing-ink)}
body #filingNeedForm .filing-need-grid{gap:12px 16px}
body #filingNeedForm :is(.filing-need-grid>label,.filing-identity-item){gap:5px;font-size:13px;font-weight:600;line-height:1.5}
body #filingNeedForm :is(.filing-hint,small){color:var(--filing-muted);font-weight:400;line-height:1.6}
body #filingNeedForm .required-mark{display:inline;color:var(--filing-muted);font-size:12px;font-weight:400;margin-left:6px}
body #filingNeedForm .filing-reasons{border:0;padding:0;margin:12px 0 0}
body #filingNeedForm .filing-reasons legend{font-weight:600;font-size:13px;padding:0}
body #filingNeedForm .filing-checkboxes{display:flex;gap:8px 16px;flex-wrap:wrap;margin:4px 0 0}
body #filingNeedForm .filing-checkboxes label{min-height:36px;background:transparent;padding:0 8px 0 0;font-weight:400}
.filing-need-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.filing-need-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
body #filingNeedForm .filing-need-photo-heading h4{margin:0}
.filing-photo-modes{display:flex;gap:16px;border-bottom:1px solid var(--filing-line,#dce3e9);flex-wrap:nowrap}
.filing-photo-tab{display:block;min-height:36px;margin:0 0 -1px;padding:6px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--filing-muted,#526b80);font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;white-space:nowrap;cursor:pointer}
.filing-photo-tab[aria-selected=true]{color:var(--primary,#245d91);border-bottom-color:currentColor}
.filing-photo-tab:focus-visible{outline:2px solid var(--primary,#245d91);outline-offset:2px}
.filing-photo-tab:hover{color:var(--primary,#245d91)}
.filing-need-upload>[hidden],body #filingNeedForm .filing-need-identity[hidden]{display:none!important}
.filing-identity-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0}
.filing-identity-results>div{min-width:0}
.filing-identity-results dt{font-size:12px;color:#526b80;margin-bottom:3px}
.filing-identity-results dd{margin:0;color:#263b50;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.filing-identity-results>div:last-child{grid-column:1/-1}
@media(max-width:767px){.filing-identity-results{grid-template-columns:minmax(0,1fr)}.filing-photo-tab{min-height:44px}}
body #filingNeedForm .filing-media-field{border:1px solid #dce3e9;background:#f8fafc;padding:12px;gap:8px;border-radius:7px}
.filing-media-field>label{display:flex;gap:8px;justify-content:space-between;align-items:baseline;color:#263b50;font-size:13px;font-weight:600}
.filing-media-field>label small{font-size:12px;font-weight:400;color:#526b80}
.filing-media-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.filing-file-choice,.filing-camera{position:relative;overflow:hidden;cursor:pointer}
.filing-file-choice input,.filing-camera input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.filing-file-choice:focus-within,.filing-camera:focus-within{outline:2px solid #41688f;outline-offset:2px}
.filing-media-field{align-content:start}
.filing-media-preview{min-height:76px;min-width:0}
.filing-media-preview .filing-photos{margin:0;gap:8px}
.filing-media-preview .filing-photos button{width:92px;height:76px;min-height:76px;border-color:#b5c4d1}
.filing-preview-empty{display:flex;align-items:center;justify-content:center;min-height:76px;background:#fff;border:1px dashed #c7d1da;border-radius:5px;font-size:12px;color:#526b80}
body #filingNeedForm #fnAiStatus:empty,body #filingNeedForm #fnError:empty{display:none}
body #filingNeedForm #fnAiStatus{margin:10px 0 0}
body #filingNeedForm .filing-need-identity{padding:0 0 16px;border-bottom:1px solid #dce3e9;margin:0 0 16px}
body #filingNeedForm .filing-need-identity>summary{font-size:14px;line-height:1.5;color:#263b50;min-height:36px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 10px}
body #filingNeedForm .filing-need-identity>summary::before{content:"▸";font-size:12px}
body #filingNeedForm .filing-need-identity[open]>summary::before{content:"▾"}
body #filingNeedForm .filing-need-identity>summary small{font-size:12px;font-weight:400}
body #filingNeedForm .filing-need-notes{padding-bottom:0;border:0}
body #filingNeedForm textarea{padding:8px 10px;font-size:13px;line-height:1.6;border:1px solid var(--filing-line);border-radius:7px}
body #filingNeedForm .modal-actions{margin-top:4px}
.filing-progress-nodes .filing-node-person{color:#40566b;overflow-wrap:anywhere;line-height:1.5}
.filing-progress-nodes time{color:#526b80;font-size:11px;line-height:1.5}
.filing-progress-nodes>li.is-done>.filing-node-dot{color:#41688f;border-color:#9eafbf;background:#edf2f6}
.filing-progress-nodes>li{align-content:start;grid-auto-rows:max-content}
.filing-progress-nodes .filing-node-duration{position:absolute;top:5px;left:calc(50% + 18px);transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:0 5px;box-sizing:border-box;text-align:center;background:#fff;z-index:2;color:#526b80;font-size:11px;white-space:nowrap}
.filing-state-picker{position:relative;min-width:0}
.filing-filter{overflow:visible}
.filing-task-table .filing-state.has-missing{cursor:help;text-decoration:underline dotted;text-underline-offset:3px}
.filing-task-table .filing-state.has-missing:focus-visible{outline:2px solid #245d91;outline-offset:2px}
body .filing-state-toggle{width:100%;height:36px!important;justify-content:space-between;display:flex;border-color:#9db4c8;box-shadow:none;text-align:left;font-size:13px!important}
.filing-state-toggle>span{margin-left:auto}
.filing-state-menu{z-index:1250;display:flex;flex-direction:column;border:1px solid #9db4c8;background:#fff;border-radius:7px;box-shadow:0 6px 20px #263b5026;overflow:hidden}
.filing-state-menu[hidden]{display:none}
.filing-state-menu>[role=listbox]{overflow-y:auto;min-height:0;padding:4px}
.filing-state-menu [role=option]{display:block;width:100%;border:0;min-height:36px;padding:8px 10px;background:#fff;border-radius:4px;color:#263b50;text-align:left;font-size:13px;line-height:1.5;cursor:pointer}
.filing-state-menu [role=option]:is(:hover,:focus-visible,[aria-selected=true]){background:#eaf1f7;color:#315d85;outline:none}
.filing-state-menu [role=option]:focus-visible{outline:2px solid #41688f;outline-offset:-2px}
.filing-state-menu>[data-state-help]{margin:0;padding:10px 12px;border-top:1px solid #dce3e9;background:#f6f8fa;color:#40566b;font-size:12px;line-height:1.6;min-height:56px;overflow-wrap:anywhere}
@media(max-width:920px),(pointer:coarse){
 body :is(#assetCreateForm,#filingNeedForm){--filing-control-height:48px;--ui-button:48px;--ui-row-button:48px}
 body #assetCreateForm :is(.procurement-core-grid,.filing-purchase-grid)>label,body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap){grid-template-rows:42px 48px auto}
 body #assetCreateForm .compact-choice-field>legend{height:42px;min-height:42px}
 body #assetCreateForm :is(input,select,textarea),body #filingNeedForm :is(input,select,textarea){font-size:16px}
 body #assetCreateForm .choice-segment label span{font-size:13px}
 body #filingNeedForm .filing-need-identity>summary{min-height:48px}
 body #filingNeedForm .filing-checkboxes label{min-height:48px}
 body .filing-state-toggle{height:48px!important;min-height:48px!important}
 .filing-state-menu [role=option]{min-height:48px}
}
@media(max-width:767px){
 .filing-need-media-grid{grid-template-columns:minmax(0,1fr)}
 .filing-progress-nodes>li{grid-template-columns:24px minmax(0,1fr);align-content:center;gap:3px 10px;padding:6px 0 12px;min-height:56px}
 .filing-progress-nodes>li>.filing-node-dot{grid-column:1;grid-row:1/4;align-self:start}
 .filing-progress-nodes>li>:is(strong,small,time){grid-column:2}
 .filing-progress-nodes>li:not(:last-child)::after{top:28px;height:calc(100% - 22px)}
 .filing-progress-nodes .filing-node-duration{position:static;transform:none;max-width:none;width:auto;text-align:left;grid-column:2;background:transparent;padding:3px 0;font-size:12px}
}

/* Read-only archives and step-scoped work share the restrained filing palette. */
.filing-name-link{border:0;background:none;padding:2px 0;color:#315d85;font:600 13px/1.6 var(--ui-font);text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.filing-name-link:focus-visible{outline:2px solid #41688f;outline-offset:3px;border-radius:3px}
.filing-row-actions,.filing-preparation-pages{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.filing-task-table td:last-child{min-width:140px}
body .filing-modal{--ui-button:36px;--ui-row-button:36px;color:#263b50;background:#fff}
body .filing-modal>section,body .filing-read-section{padding:14px;border:1px solid #dce3e9;border-radius:7px;background:#fff;box-shadow:none;margin:0 0 14px}
body .filing-modal :is(h4,h5){color:#263b50;font-size:14px;line-height:1.5;margin:0 0 10px}
body .filing-modal h5{font-size:13px;margin-top:18px;padding-top:12px;border-top:1px solid #dce3e9}
body .filing-modal p{font-size:13px;line-height:1.6}
.filing-read-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:0}
.filing-read-facts>div{min-width:0}
.filing-read-facts dt{font-size:12px;color:#526b80;margin:0 0 4px}
.filing-read-facts dd{font-size:13px;line-height:1.6;color:#263b50;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.filing-read-section.filing-record-data{padding:12px}.filing-record-data .filing-read-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 18px}.filing-record-data .filing-read-facts>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:baseline}.filing-record-data .filing-read-facts dt{margin:0}.filing-record-data .filing-read-facts dd{line-height:1.5}
@media(max-width:700px){.filing-record-data .filing-read-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}}@media(max-width:520px){.filing-record-data .filing-read-facts>div{display:block}.filing-record-data .filing-read-facts dt{margin-bottom:2px}}
body .filing-modal .filing-checkboxes label{background:#f6f8fa;border:1px solid #dce3e9}
body .filing-modal .filing-state{color:#315d85;background:#eaf1f7;border-color:#bccbd8}
body .filing-modal .filing-aftercare{color:#526b80;background:#f6f8fa;border-color:#c7d1da}
body .filing-modal .filing-tag-progress{color:#526b80}
body .filing-modal .filing-media-field{background:#f8fafc;border:1px solid #dce3e9;padding:12px;border-radius:7px;margin-bottom:12px}
body .filing-modal .filing-file-choice,body .filing-modal .filing-camera{min-height:36px!important;height:36px!important}
body .filing-modal .form-grid{gap:12px}
body .filing-modal :is(input:not([type=checkbox],[type=radio]),select){height:36px!important;min-height:36px!important}
body .filing-modal :is(input[type=checkbox],input[type=radio]){height:18px!important;min-height:18px!important;width:18px!important;flex:0 0 18px}
@media(max-width:920px),(pointer:coarse){
 body .filing-modal{--ui-button:48px;--ui-row-button:48px}
 body .filing-modal :is(input:not([type=checkbox],[type=radio]),select,.filing-file-choice,.filing-camera){height:48px!important;min-height:48px!important;font-size:16px}
 .filing-name-link{min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:767px){.filing-read-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filing-modal>section{padding:12px}}
@media(max-width:390px){.filing-read-facts{grid-template-columns:minmax(0,1fr)}}

@media(max-width:480px){
 #assetCreateForm .procurement-submit-bar>.filing-action-wrap{grid-column:1/-1;width:100%}
 #assetCreateForm .procurement-submit-bar>.filing-action-wrap>.btn{width:100%;grid-column:auto}
}



/* Filing progress uses status text. Help uses the shared tooltip. */
body .filing-task-table .filing-state{display:inline;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;box-shadow:none}
body #assetCreateForm .filing-purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
body #assetCreateForm .filing-purchase-grid>label{min-width:0}
body #assetCreateForm .filing-purchase-grid .filing-label-text{flex-wrap:wrap;white-space:normal}
.filing-room-assets-link{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:0;padding:0;max-width:100%;border:0;background:none;color:#315d85;font:inherit;line-height:1.7;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.filing-room-assets-link:focus-visible{outline:2px solid #41688f;outline-offset:3px}
.filing-room-assets-table{overflow-x:auto;max-width:100%}.filing-room-assets-table table{min-width:550px}
.filing-approval-checks{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0 18px}
.filing-approval-checks>label{display:flex;align-items:start;gap:8px;margin:0;line-height:1.65}
.filing-approval-checks>button{margin-left:26px;justify-self:start}
body .filing-modal .filing-approve-confirm:disabled{background:#e6ebf0;color:#79899a;border-color:#c5d0da;opacity:1;cursor:not-allowed}
body .filing-modal .filing-approve-confirm:not(:disabled){background:#248452;color:white;border-color:#248452}
body .filing-modal .filing-approve-confirm:not(:disabled):hover{background:#1c6e44}
@media(max-width:600px){body #assetCreateForm .filing-purchase-grid{grid-template-columns:minmax(0,1fr)}}

/* Optional appearance photos remain beside their asset fields. */
#assetCreateForm .filing-appearance-upload{margin-top:20px;min-width:0}
#assetCreateForm .filing-appearance-upload h4{font-size:14px;font-weight:600;margin:0 0 6px}
#assetCreateForm .filing-appearance-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
#assetCreateForm .filing-appearance-heading :is(h4,.filing-hint){margin:0}
#assetCreateForm .filing-name-lock{justify-self:end}
#assetCreateForm .filing-appearance-upload .upload-box{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
#assetCreateForm .filing-appearance-upload .multi-photo-preview{display:flex;gap:10px;flex-wrap:wrap;min-height:0;padding:10px}
#assetCreateForm .filing-appearance-upload [hidden]{display:none!important}
#assetCreateForm .filing-appearance-upload .photo-thumb-wrap{width:96px;height:96px;position:relative}
#assetCreateForm .filing-appearance-upload .photo-thumb{width:100%;height:100%;background-size:contain;background-position:center;background-repeat:no-repeat}

/* Requirements stay visible, with the original frozen placement guide alongside. */
.filing-rule-columns{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:20px;align-items:start}
.filing-prepared-codes{display:grid;gap:4px;margin:6px 0 0;font:inherit;line-height:1.5}
.filing-prepared-codes>div{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px;align-items:start}
.filing-prepared-codes dt{font:inherit;color:#536d87}
.filing-prepared-codes dd{margin:0;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.filing-tag-info{display:grid;gap:8px}.filing-tag-info-item{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}.filing-tag-info-item small{font-size:12px;color:#5a6f89}.filing-tag-info-item code{flex-basis:100%;overflow-wrap:anywhere;font-size:11px}
.filing-rule-guide .filing-photos{display:flex;flex-wrap:wrap}.filing-rule-guide p{overflow-wrap:anywhere}
.filing-task-table td .filing-tag-info{font-size:12px;min-width:150px}.filing-task-table td .filing-tag-info-item{gap:4px}
.filing-prepare-modal #filingCreateWrap{padding:0;border:0;box-shadow:none;margin:0}.filing-prepare-modal #filingSubmissionNotice{margin:0 0 12px}
.filing-label-entry.is-inline{padding:0}.filing-label-entry.is-inline .filing-label-item{margin:0;padding:12px 0;border:0}.filing-label-entry.is-inline [hidden]{display:none!important}
.filing-label-entry.is-inline footer{margin-top:4px}.filing-label-entry.is-inline .filing-label-actions{margin:0}
@media(max-width:640px){.filing-rule-columns{grid-template-columns:minmax(0,1fr)}.filing-prepare-modal .filing-step-row{grid-template-columns:minmax(0,1fr)}}

/* Filing progress separates asset identity from compact tag preparation states. */
.filing-task-table.filing-progress-table{table-layout:fixed;min-width:1100px}
body .filing-task-table.filing-progress-table td{width:auto;min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}
.filing-progress-table th:nth-child(1){width:15%}.filing-progress-table th:nth-child(2){width:10%}.filing-progress-table th:nth-child(3){width:8%}.filing-progress-table th:nth-child(4){width:20%}.filing-progress-table th:nth-child(5){width:8%}.filing-progress-table th:nth-child(6){width:11%}.filing-progress-table th:nth-child(7){width:9%}.filing-progress-table th:nth-child(8){width:13%}.filing-progress-table th:nth-child(9){width:6%}
.filing-progress-table tr.filing-formal,.filing-progress-table tr.filing-formal>td{background:#e7f5eb}.filing-progress-table tr.filing-formal:hover>td{background:#def0e3}
.filing-progress-table .filing-latest-time,.filing-progress-table .filing-step-age{display:block}.filing-progress-table .filing-step-age{margin-top:4px;color:#647890;font-size:12px}
body .filing-task-table.filing-progress-table td .filing-tag-info{min-width:0}.filing-progress-table .filing-tag-info-item small{display:inline;margin:0}
.filing-progress-table{--filing-pending-color:#b45309}.filing-progress-table .filing-tag-info-item small.is-pending{color:var(--filing-pending-color);font-weight:600}
/* Workbench text and spacing follow the shared system table vocabulary. */
body .filing-progress-table{font-size:var(--ui-body);line-height:1.4}
body .filing-progress-table :is(th,td){padding:7px 10px}
body .filing-progress-table th{font-size:var(--ui-aux);line-height:1.4}
body .filing-progress-table td{font-size:var(--ui-body);line-height:1.5}
body .filing-progress-table .filing-name-link{padding:0;font:inherit;font-weight:600}
body .filing-progress-table td .filing-tag-info{font-size:inherit;line-height:inherit;gap:var(--ui-s1)}
body .filing-progress-table .filing-tag-flag{font-size:inherit;line-height:inherit}
body .filing-progress-table td small{font-size:var(--ui-aux);line-height:1.5}
body .filing-progress-table .filing-step-age{margin-top:var(--ui-s1)}
body .filing-progress-table .filing-row-actions{gap:var(--ui-s2) var(--ui-s3)}
.filing-action-link{display:inline-flex;align-items:center;padding:0;border:0;background:none;color:var(--mist-focus,#315d85);font:inherit;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;cursor:pointer}
.filing-action-link[data-filing-delete]{color:var(--mist-danger,#a83746)}
.filing-action-link:hover{color:var(--mist-primary,#245d91);text-decoration-thickness:2px}
.filing-action-link:focus-visible{outline:2px solid var(--mist-focus,#41688f);outline-offset:3px;border-radius:2px}
@media(max-width:599px),(pointer:coarse){.filing-action-link{min-width:44px;min-height:44px;justify-content:center}}
.filing-workspace-actions>.btn.filing-create-btn{--hy-selected-bg:#21804b;--hy-selected-hover:#19653b;--hy-selected-fg:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#21804b;border-color:#21804b;color:#fff;box-shadow:none}.filing-workspace-actions>.btn.filing-create-btn:hover:not(:disabled){background:#19653b;border-color:#19653b;box-shadow:none}.filing-create-btn svg{flex:none}
body .filing-rule-columns table.filing-label-status-table{table-layout:fixed;width:100%!important;min-width:0!important;max-width:100%}.filing-rule-columns .filing-label-status-table :is(th,td){white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.filing-rule-columns .filing-label-status-table th:first-child{width:40%}.filing-rule-columns .filing-label-status-table th:nth-child(2){width:23%}.filing-label-type{display:block;font-size:12px;line-height:1.5;font-weight:400;color:#536d87;margin-top:4px}
.filing-rule-columns .filing-label-status-table.has-label-actions th:first-child{width:25%}.filing-rule-columns .filing-label-status-table.has-label-actions th:nth-child(2){width:15%}.filing-rule-columns .filing-label-status-table.has-label-actions th:nth-child(3){width:24%}.filing-rule-columns .filing-label-status-table.has-label-actions th:nth-child(4){width:36%}.filing-label-action-cell .btn{max-width:100%;min-height:36px;padding:6px 7px;white-space:normal;overflow-wrap:anywhere}
.filing-label-status-table.has-label-actions [data-prepared] .filing-tag-flag{display:flex;align-items:flex-start;white-space:normal}.filing-label-status-table.has-label-actions [data-prepared] .filing-tag-flag span{min-width:0;white-space:normal;overflow-wrap:anywhere}

/* Label preparation is one checklist: requirements stay with the label identity. */
body .filing-rule-preparation{gap:var(--ui-s4);align-items:start}
body .filing-rule-preparation h4{margin-bottom:var(--ui-s2)}
body .filing-rule-preparation .filing-preparation-hint{margin:0 0 var(--ui-s3);font-size:var(--ui-aux);line-height:1.5;color:var(--mist-muted)}
body .filing-rule-preparation .filing-rule-guide{min-width:0;border-left:1px solid var(--mist-border);padding-left:var(--ui-s4)}
body .filing-rule-preparation table.filing-preparation-table{font-size:var(--ui-body)}
body .filing-rule-preparation .filing-preparation-table :is(th,td){padding:var(--ui-s3) var(--ui-s2);vertical-align:middle;background:transparent;line-height:1.5;border-bottom:1px solid var(--mist-border)}
body .filing-rule-preparation .filing-preparation-table thead th{padding-block:var(--ui-s2);font-size:var(--ui-aux);font-weight:400;color:var(--mist-muted)}
body .filing-rule-preparation .filing-preparation-table th:first-child{width:36%;padding-left:0}
body .filing-rule-preparation .filing-preparation-table th:nth-child(2){width:30%}
body .filing-rule-preparation .filing-preparation-table th:nth-child(3){width:34%}
body .filing-rule-preparation .filing-preparation-table :is(th,td):last-child{text-align:right;padding-right:0}
body .filing-rule-preparation .filing-preparation-table tbody tr:last-child :is(th,td){border-bottom:0}
body .filing-rule-preparation .filing-preparation-table [data-has-rfid-codes]>:is(th,td){border-bottom:0;padding-bottom:0}
body .filing-rule-preparation .filing-preparation-table .filing-rfid-codes-row td{padding:4px 0 var(--ui-s3);text-align:left}
.filing-rfid-codes-scroll{max-width:100%;overflow-x:auto}
.filing-rfid-codes-scroll .filing-prepared-codes{display:flex;gap:8px 16px;margin:0;width:max-content;font-size:var(--ui-aux)}
.filing-rfid-codes-scroll .filing-prepared-codes>div{display:flex;white-space:nowrap}
.filing-rfid-codes-scroll .filing-prepared-codes dd{overflow-wrap:normal}
.filing-preparation-name{display:block;font-size:var(--ui-body);font-weight:600;line-height:1.5}
.filing-preparation-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ui-s1) var(--ui-s2);margin-top:var(--ui-s1);font-size:var(--ui-aux);font-weight:400;color:var(--mist-muted)}
.filing-preparation-meta .filing-label-type{display:inline;margin:0;font:inherit}
.filing-preparation-requirement{display:inline-flex;align-items:center;gap:4px;font-weight:400;white-space:nowrap}
.filing-preparation-requirement svg,.filing-preparation-status svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.filing-preparation-requirement.is-required svg{color:#17724f}.filing-preparation-requirement.is-not-required svg{color:#b43c45}
.filing-preparation-status{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 7px;border-radius:5px;font-size:var(--ui-aux);line-height:1.5;font-weight:500;white-space:nowrap}
.filing-preparation-status.is-ready{color:#226847;background:#e9f6ee}
.filing-preparation-status.is-pending{color:#8a5a15;background:#fff4e5}
.filing-preparation-status:is(.is-optional,.is-unknown){color:var(--mist-muted);background:var(--mist-ice,#f7f9fc)}
.filing-preparation-no-action{font-size:var(--ui-aux);font-weight:400;color:var(--mist-muted)}
@media(max-width:760px){body #page-procurement .filing-progress-table thead{display:table-header-group!important;overflow:visible}body #page-procurement .filing-progress-table thead tr{display:table-row!important;padding:0}body #page-procurement .filing-progress-table thead th{display:table-cell!important;padding:7px 10px;border-bottom:1px solid var(--mist-border)}}
body .filing-preparation-table .filing-label-action-cell .btn{min-height:var(--ui-button);width:max-content;max-width:100%;white-space:normal}
@media(max-width:640px){
 body .filing-rule-preparation .filing-rule-guide{border-left:0;border-top:1px solid var(--mist-border);padding:var(--ui-s3) 0 0}
 .filing-preparation-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .filing-preparation-table tbody{display:block}
 body .filing-rule-preparation .filing-preparation-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--ui-s2);padding:var(--ui-s3) 0;border-bottom:1px solid var(--mist-border)}
 body .filing-rule-preparation .filing-preparation-table tbody tr:last-child{border-bottom:0}
 body .filing-rule-preparation .filing-preparation-table :is(th,td){width:auto;padding:0;border:0}
 .filing-preparation-table tbody th{grid-column:1;grid-row:1}
 .filing-preparation-table [data-prepared]{grid-column:1;grid-row:2}
 .filing-preparation-table .filing-label-action-cell{grid-column:2;grid-row:1/3;align-self:center;max-width:145px}
 body .filing-rule-preparation .filing-preparation-table .filing-rfid-codes-row{grid-template-columns:minmax(0,1fr);padding:0}
 body .filing-rule-preparation .filing-preparation-table [data-has-rfid-codes]{border-bottom:0}
 body .filing-preparation-table .filing-label-action-cell .btn{min-height:44px}
}

body #filingNeedForm .filing-media-field.is-required.is-empty{border:1px solid var(--hy-field-edge,#d5dde5);background:#fff}.filing-media-required{color:#cf3441;font-weight:600;margin-left:4px}

.filing-delete{margin-right:0}
#assetCreateForm.filing-editing-details .filing-quantity-layout,#assetCreateForm.filing-editing-details .filing-quantity-step .filing-help-trigger,#assetCreateForm.filing-editing-details .filing-quantity-step .filing-step-aside{display:none!important}
.filing-delete-recovery [hidden]{display:none!important}
#assetCreateForm .filing-photo-drop:focus-visible{outline:2px solid #28649b;outline-offset:3px}
#assetCreateForm .filing-photo-drop.is-file-drop{outline:2px dashed #28649b;outline-offset:2px;background:#eef5fc}
#assetCreateForm .filing-photo-drop-hint{flex:1 1 190px;margin:0;color:#536d87;font-size:12px;line-height:1.5}
body #fleRfid.filing-unbind{background:#b73535;border-color:#b73535;color:#fff}
body #fleRfid.filing-unbind:hover:not(:disabled){background:#9f2929;border-color:#9f2929;color:#fff}
.filing-rule-columns .filing-label-status-table.has-installation-status th:first-child{width:24%}.filing-rule-columns .filing-label-status-table.has-installation-status th:nth-child(2){width:13%}.filing-rule-columns .filing-label-status-table.has-installation-status th:nth-child(3){width:45%}.filing-rule-columns .filing-label-status-table.has-installation-status th:nth-child(4){width:18%}
.filing-progress-nodes>li{padding:8px;border:1px solid transparent;border-radius:7px}
.filing-progress-nodes>li:not(:last-child)::after{top:20px;left:32px}
.filing-progress-nodes>li.is-done{background:#e7f5eb;border-color:#c7e4d0;color:#225e37}
.filing-progress-nodes>li.is-current{background:#21804b;border-color:#21804b;color:#fff}
.filing-progress-nodes>li:is(.is-done,.is-current)>:is(strong,small,time){color:inherit}
.filing-progress-nodes>li.is-done>.filing-node-dot{background:#d5eadb;border-color:#9ec9ac;color:#24673f}
.filing-progress-nodes>li.is-current>.filing-node-dot{background:#fff;border-color:#fff;color:#21804b;box-shadow:none}
.filing-progress-nodes>li:is(.is-done,.is-current)::after{background:#92c6a4}
.filing-draft-validation{font:inherit;line-height:1.6}
.filing-draft-validation ul{display:grid;gap:10px;margin:16px 0 22px;padding:0;list-style:none}
.filing-draft-validation li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.filing-draft-validation li>button{font:inherit;text-align:left;min-height:24px}
.filing-draft-validation li>span{color:var(--muted,#536d87)}
.filing-draft-field-error{display:block;font:inherit;font-size:12px;line-height:1.5;color:var(--danger,#a83746);margin-top:4px}
.filing-field-voice{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#d4e1ed);font:inherit}.filing-field-voice audio{width:360px;max-width:100%}.filing-field-voice audio[hidden],.filing-field-voice button[hidden]{display:none}.filing-field-voice p{margin:0;line-height:1.5;color:var(--muted,#536d87)}.filing-field-voice p:empty{display:none}


/* filing-label-entry.css */
/* Filing policy badges and label workflow. */
body #assetCreateForm .filing-field-badge.is-required{display:none}
body #assetCreateForm .filing-field-badge:is(.is-approval,.is-immutable){color:#805615!important;background:#fff7e5!important;border-color:#ddbd77!important}
body #assetCreateForm .required-mark,body #filingNeedForm .required-mark{display:none}
.filing-label-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}
.filing-entry-head{border-bottom:1px solid #dce3e9;margin-bottom:18px;padding-bottom:12px}
.filing-entry-head h3{margin:3px 0;font-size:20px}
.filing-eyebrow{font-size:12px;color:#526b80;margin:0}
.filing-label-entry>label{display:grid;gap:6px;margin-bottom:16px}
.filing-label-item{padding:16px}
.filing-label-entry .filing-read-facts{margin:16px 0}
.filing-label-entry .modal-actions{border-top:1px solid #dce3e9;padding-top:16px}
.filing-success{text-align:center;padding:32px 20px}
.filing-success-check{width:64px;height:64px;margin:0 auto 16px}
.filing-success-check svg{width:100%;height:100%;fill:none;stroke:#41688f;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.filing-success .modal-actions{justify-content:center}
.filing-verify-shade{position:fixed;inset:0;z-index:1400;background:#263b5066;display:grid;place-items:center;padding:16px}
.filing-verify-result{background:#fff;border-radius:8px;padding:20px;width:min(640px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}
.filing-verify-result .filing-read-section{padding:0!important;border:0!important}
.label-management-head h3{margin:0 0 8px}
#labelManagementHost{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #dce3e9}
#labelLegacyR1{display:none!important}
.r1-settings-panel #r1SettingsBridge{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.r1-settings-power{display:grid;gap:8px;width:min(100%,420px);box-sizing:border-box;margin:16px 0}
.r1-settings-power>label{display:flex;justify-content:space-between;gap:8px;font-size:13px}
.r1-settings-power>.btn{justify-self:start}
:is(#assetR1PowerValue,#r1SettingsPowerValue){font-weight:600;font-variant-numeric:tabular-nums}
.r1-power-chart{
  --r1-power-normal:var(--mist-focus,#365f89);
  --r1-power-long:var(--mist-warning,#87591e);
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--mist-ice,#f3f6fa);
  padding:10px 12px;
}
.r1-power-chart:has(input:focus-visible){outline:2px solid var(--r1-power-normal);outline-offset:2px}
.r1-power-chart:has(input:disabled){opacity:.65}
.r1-power-axis-title,.r1-power-axis-x,.r1-power-axis-y{font-size:12px;color:var(--mist-on-tint,var(--muted))}
.r1-power-axis-title{margin-bottom:11px}
.r1-power-axes{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:8px;padding-right:8px}
.r1-power-axis-y,.r1-power-axis-x{position:relative;font-variant-numeric:tabular-nums}
.r1-power-axis-y span{position:absolute;right:0;transform:translateY(-50%)}
.r1-power-axis-x{grid-column:2;text-align:center;padding-top:20px}
.r1-power-axis-x span{position:absolute;top:4px;transform:translateX(-50%)}
.r1-power-plot{position:relative;height:112px}
.r1-power-plot svg{display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.r1-power-plot :is(path,polyline){fill:none;vector-effect:non-scaling-stroke}
.r1-power-grid-line{stroke:var(--line);stroke-width:1}
.r1-power-axis-line{stroke:var(--mist-control-line,var(--muted));stroke-width:1}
.r1-power-normal-line{stroke:var(--r1-power-normal);stroke-width:2.5}
.r1-power-long-line{stroke:var(--r1-power-long);stroke-width:2;stroke-dasharray:4 3}
.r1-power-cursor,.r1-power-point{position:absolute;left:var(--r1-power-x);pointer-events:none}
.r1-power-cursor{top:0;bottom:0;border-left:1px solid var(--mist-control-line,var(--muted))}
.r1-power-point{box-sizing:border-box;background:var(--card);transform:translate(-50%,-50%)}
.r1-power-normal-point{top:var(--r1-power-normal-y);width:12px;height:12px;border:2px solid var(--r1-power-normal);border-radius:50%}
.r1-power-long-point{top:var(--r1-power-long-y);width:6px;height:6px;background:var(--r1-power-long);transform:translate(-50%,-50%) rotate(45deg)}
/* Align the native slider's thumb centers with the ends of the plot. */
.r1-power-plot>input[type="range"]{
  appearance:none;position:absolute;top:0;left:-8px;width:calc(100% + 16px);max-width:none;
  min-width:0;height:100%;padding:0;margin:0;border:0;opacity:0;cursor:ew-resize;touch-action:none;
}
.r1-power-plot>input[type="range"]::-webkit-slider-runnable-track{height:100%}
.r1-power-plot>input[type="range"]::-webkit-slider-thumb{appearance:none;width:16px;height:16px}
.r1-power-plot>input[type="range"]::-moz-range-thumb{width:16px;height:16px;border:0}
.r1-power-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:12px;color:var(--text)}
.r1-power-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.r1-power-legend span::before{content:"";width:13px;border-top:2px solid var(--r1-power-normal)}
.r1-power-legend .r1-power-legend-long::before{border-top:2px dashed var(--r1-power-long)}
.r1-power-legend b{font-variant-numeric:tabular-nums}
.r1-nav-status{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:8px;background:#39486b;color:#fff;font-size:11px;white-space:nowrap}
.r1-nav-status.online{background:#156c52}.r1-nav-status.offline{background:#6c7280}
#assetR1Connect{position:relative;overflow:visible;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:116px}
#assetR1Connect .reader-power-badge{position:absolute;right:7px;top:-10px;display:inline-block;min-width:44px;padding:1px 6px;border:1px solid var(--mist-control-line,#738aa0);border-radius:8px;background:var(--mist-blue,#eaf3f8);color:var(--mist-ink,#263b50);font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
#assetR1Status{display:none!important}
.label-table-scroll{overflow-x:auto;max-width:100%;margin-top:14px}
#modal:has(#filingLabelEntryPage) #modalRefresh{display:none!important}
#modal:has(#filingDetail) #modalRefresh,#filingDetailRefresh{display:none!important}
#flePrintedCount,#flePrintCount{display:none!important}
.filing-tag-flags{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.filing-tag-flag{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#263b50;font-size:13px;line-height:1.5}
.filing-tag-flag svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.filing-tag-flag.is-required svg{color:#17724f}.filing-tag-flag.is-not-required svg{color:#b43c45}.filing-tag-flag.is-unknown svg{color:#647789}
.filing-label-status-table{width:100%;border-collapse:collapse;font-size:13px}
.filing-label-status-table th,.filing-label-status-table td{padding:7px 8px;text-align:left;border-bottom:1px solid #dce3e9}
.filing-label-status-table thead th{color:#526b80;font-weight:600}
.filing-label-status-table tbody th{color:#263b50;font-weight:600}
.label-management-table{width:100%;min-width:1030px;table-layout:fixed}
.label-management-table .lm-check-col{width:64px}
.label-management-table .lm-asset-col{width:28%}
.label-management-table .lm-status-col{width:17%}
.label-management-table .lm-epc-col{width:17%}
.label-management-table .lm-room-col{width:14%}
.label-management-table .lm-actions-col{width:18%}
.label-management-table th:first-child,.label-management-table td:first-child{width:64px;text-align:center}
.label-management-table th,.label-management-table td{box-sizing:border-box}
.lm-filter{display:grid;grid-template-columns:minmax(210px,1.6fr) repeat(3,minmax(130px,1fr)) minmax(155px,1fr) auto auto;gap:8px;align-items:end}
.lm-filter>label{min-width:0}
.lm-filter>label :is(input,select){width:100%}
.label-management-table td{overflow-wrap:anywhere}
.label-management-table input[type=checkbox]{width:20px;height:20px}
.label-asset-cell{display:flex;align-items:center;gap:10px;min-width:0}
.label-asset-cell>span:last-child{min-width:0}
.label-asset-cell small{display:block;color:#526b80;overflow-wrap:anywhere}
.label-asset-thumb{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border:1px solid #dce3e9;border-radius:8px;background:#f3f6fa;color:#526b80;font-size:12px;overflow:hidden}
.label-asset-thumb:is(button){padding:0;cursor:zoom-in;transition:border-color .15s,box-shadow .15s}
.label-asset-thumb:is(button):hover,.label-asset-thumb:is(button):focus-visible{border-color:#4f91da;box-shadow:0 0 0 3px rgba(79,145,218,.15);outline:0}
.label-asset-thumb img{width:100%;height:100%;object-fit:contain}
.label-epc{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;word-break:break-all}
.label-row-actions{display:flex;flex-wrap:wrap;gap:5px}
.label-row-actions .btn{min-height:32px;padding:5px 8px;white-space:nowrap}
.label-missing-lines{display:block;line-height:1.6}
#flePreview{overflow-x:auto;max-width:100%;padding:12px 0}
@media(max-width:1250px){.lm-filter{grid-template-columns:repeat(3,minmax(150px,1fr))}.lm-filter>label:first-child{grid-column:span 2}}
@media(max-width:767px){.filing-label-actions>.btn{min-height:48px;flex:1 1 140px}.filing-label-item{padding:12px}.filing-label-entry .modal-actions>.btn{flex:1}.label-management-head h3{font-size:18px}.label-table-scroll{border:1px solid #dce3e9;border-radius:7px}.label-management-table{font-size:13px}.lm-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.lm-filter>label:first-child{grid-column:1/-1}}


.filing-appearance-upload .upload-trigger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border:1px solid #7c99b3;border-radius:8px;background:#fff;color:#285f8d;font-size:13px;font-weight:600;cursor:pointer}
.filing-appearance-upload .desktop-upload.btn{min-height:36px;padding:6px 12px;border-radius:8px;font-size:13px;font-weight:600}

.fle-rfid-types{display:flex;flex-wrap:wrap;gap:10px;border:0;padding:0;margin:0;min-width:0}.fle-rfid-types legend{padding:0;margin-bottom:10px;font-size:13px}.fle-rfid-types legend>span{color:#bd303b}
.fle-rfid-type{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;box-sizing:border-box;border:1px solid #c8d6e5;border-radius:6px;font-size:13px;cursor:pointer}.fle-rfid-type input{flex:none;width:16px;height:16px;margin:0;accent-color:#245f91}.fle-rfid-type:has(input:checked){border-color:#245f91;background:#eef5fc}.fle-rfid-type:focus-within{outline:2px solid #28659b;outline-offset:2px}.fle-rfid-types:disabled .fle-rfid-type{opacity:.65;cursor:wait}
@media(max-width:640px){.fle-rfid-type{min-height:44px;flex:1 1 150px}}
.rfid-request-recovery{min-width:0}.rfid-request-recovery .filing-read-facts>div{min-width:0}.rfid-request-recovery dd{overflow-wrap:anywhere}.rfid-request-recovery details{margin:12px 0}.rfid-request-recovery .modal-actions{flex-wrap:wrap;gap:8px}.rfid-isolation-confirm{display:flex;align-items:flex-start;gap:8px;line-height:1.6}.rfid-isolation-confirm input{flex:none;width:18px;height:18px;margin-top:3px}

/* Zero-distance calibration must remain explicit as well as red. */
.r1-power-legend .r1-distance-zero,.r1-power-zero-warning{color:var(--danger,#ad3446);font-weight:600}
.r1-power-zero-warning{margin:8px 0 0;font-size:12px;line-height:1.5}
.r1-power-zero-warning[hidden]{display:none}


/* rfid-tag-management.css */
/* Same compact typography and controls as the existing Haiyue lists. */
/* Navigation exposes each RFID view directly without a duplicate tab strip. */
.procurement-tabs:has(.procurement-rfid-menu){overflow:visible}
.procurement-rfid-menu{display:inline-flex;position:relative;min-width:0}
.procurement-rfid-menu>[data-rfid-menu-toggle]{display:inline-flex;align-items:center;gap:6px}
.procurement-rfid-menu>[data-rfid-menu-toggle] svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.procurement-rfid-options{position:absolute;z-index:100;top:calc(100% + 5px);left:0;display:grid;min-width:170px;padding:4px;border:1px solid var(--mist-border);border-radius:7px;background:var(--mist-control,#fff);box-shadow:0 6px 18px #263b5026}
body .procurement-rfid-options>[data-rfid-view]{display:block;width:100%;margin:0;padding:8px 12px!important;border:0;background:transparent;color:var(--mist-ink);font-size:var(--ui-body)!important;line-height:1.5;text-align:left;white-space:nowrap}
body .procurement-rfid-options>[data-rfid-view]:is(:hover,[aria-current="page"]){color:var(--mist-focus);background:var(--mist-blue)}
.procurement-rfid-options>[data-rfid-view]:focus-visible{outline:2px solid var(--mist-focus);outline-offset:-2px}
body #labelManagementHost .rt-table{font-size:var(--ui-body);line-height:1.4;min-width:1150px}
body #labelManagementHost .rt-table :is(th,td){padding:7px 10px;vertical-align:middle}
body #labelManagementHost .rt-table th{font-size:var(--ui-aux);line-height:1.4}
body #labelManagementHost .rt-table td{font-size:var(--ui-body);line-height:1.5;min-width:0;max-width:none}
body #labelManagementHost .rt-table :is(.rt-code,.rt-state){font-family:var(--ui-font);font-size:inherit;line-height:inherit;font-weight:400}
body #labelManagementHost .rt-table :is(th:nth-child(2),th:nth-child(3)){width:20.5%}
body #labelManagementHost .rt-table th:nth-child(4){width:12%}
body #labelManagementHost .rt-table th:nth-child(5){width:8%}
body #labelManagementHost .rt-table th:nth-child(6){width:10%}
body #labelManagementHost .rt-table th:nth-child(7){width:11%}
body #labelManagementHost .rt-table th:nth-child(8){width:14%}
.rt-text-link{display:inline-flex;align-items:center;margin:0 8px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:var(--mist-focus,#245f91);font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.rt-text-link:hover{text-decoration-thickness:2px}
.rt-text-link:focus-visible{outline:2px solid var(--mist-focus);outline-offset:3px}
.rt-text-link:disabled{color:var(--mist-muted);opacity:.5;cursor:not-allowed;text-decoration:none}
@media(max-width:599px),(pointer:coarse){.rt-text-link{min-width:44px;min-height:44px}.procurement-rfid-options>[data-rfid-view]{min-height:44px}}
#labelManagementHost{min-width:0;font-size:var(--ui-body);color:var(--mist-ink,#243d58)}
#modal.rt-reactivate-mismatch #modalClose{display:none}
.rt-view-tabs{display:flex;gap:6px}.rt-view-tabs>.btn.active{background:#245f91;color:white;border-color:#245f91}.rl-page[hidden],[data-rt-tag-panel][hidden]{display:none!important}.rl-status{padding:12px 14px;border:1px solid #d4e1ed;border-radius:7px;background:#f3f7fb;color:#345572;line-height:1.5}.rl-ready{color:#147344;background:#f0f8f3;border-color:#bedac9}.rl-unready{color:#805309;background:#fff8e9;border-color:#e6d3a9}.rl-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.rl-metrics>div{padding:12px;border:1px solid #d4e1ed;border-radius:7px;background:#fafcfe;display:grid;gap:6px}.rl-metrics span{color:#526c85}.rl-metrics b{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}.rl-note{font-size:13px;color:#526c85;line-height:1.6}.rl-details{margin:12px 0 16px}.rl-details>summary{cursor:pointer;color:#345572;padding:6px 0}.rl-details dl{margin:8px 0;padding:12px;background:#f5f8fb;border:1px solid #d4e1ed;border-radius:7px}.rl-details dl>div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:5px 0}.rl-details dt{color:#526c85}.rl-details dd{margin:0;overflow-wrap:anywhere}.rl-filter{margin:14px 0}.rl-filter label:first-child{max-width:580px}.rl-table{width:100%;table-layout:fixed;border-collapse:collapse;min-width:1180px;font-size:13px}.rl-table th{background:#edf4f9;text-align:left;padding:10px;color:#345572;font-weight:600}.rl-table td{padding:10px;border-top:1px solid #e0e8f0;line-height:1.55;overflow-wrap:anywhere;vertical-align:top}.rl-table th:first-child{width:145px}.rl-table th:nth-child(2){width:100px}.rl-table th:nth-child(3){width:85px}.rl-table th:nth-child(4),.rl-table th:nth-child(5){width:205px}.rl-table th:nth-child(6){width:100px}.rl-page>.filing-pages{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:14px}.rl-page :is(button,input,summary):focus-visible{outline:2px solid #28659b;outline-offset:2px}
.rt-reader{border:1px solid #d4e1ed;border-radius:8px;padding:14px;margin-bottom:16px;background:#fafcfe;min-width:0}
.rt-pending-asset{display:block;margin-top:4px;color:#805309;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.rl-metrics.rt-stat-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,105px),1fr))}
.rl-metrics.rt-stat-cards>div{grid-column:auto;padding:5px 8px;border-radius:6px;background:#fff;justify-items:center;gap:2px;min-width:0;line-height:1.35;text-align:center;overflow-wrap:anywhere}
.rt-stat-cards b{font-size:var(--ui-body,12px)}
.rt-asset-link:focus-visible{outline:2px solid #28659b;outline-offset:3px}
.rt-asset-link{display:inline;padding:0;margin:0;border:0;border-radius:2px;background:transparent;color:#245f91;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.rt-reading-failed .rt-asset-link{color:inherit}.rt-asset-link:hover{text-decoration-thickness:2px}#modal.rt-asset-summary-modal{width:min(540px,calc(100vw - 28px))}.rt-asset-summary-fields{display:grid;gap:16px;margin:0}.rt-asset-summary-fields>div{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:start;gap:12px}.rt-asset-summary-fields dt{color:#526c85}.rt-asset-summary-fields dd{margin:0;overflow-wrap:anywhere}.rt-asset-summary-photo{width:140px;height:112px;max-width:100%;display:flex;align-items:center;justify-content:center;border:1px solid #d4e1ed;border-radius:6px;background:#fafcfe;color:#526c85;font-size:12px;text-align:center}.rt-asset-summary-photo img{display:block;width:100%;height:100%;object-fit:contain}
.rt-reader-head,.rt-reader-actions,.rt-reader-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rt-reader-head{justify-content:space-between;gap:12px}.rt-reader-head h4{margin:0;font-size:14px}.rt-reader-message{min-height:20px;line-height:1.55;margin:12px 0;color:#345572}.rt-reader-empty{padding:18px 12px;text-align:center;color:#526c85;border:1px dashed #bdcfdf;border-radius:6px;background:#fff}
.rt-reader-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:770px;font-size:13px}.rt-reader-table th{font-size:13px;font-weight:600;background:#edf4f9;color:#345572;text-align:left;padding:9px}.rt-reader-table td{padding:10px 9px;line-height:1.55;border-top:1px solid #e0e8f0;overflow-wrap:anywhere;vertical-align:top}.rt-reader-table th:nth-child(1),.rt-reader-table th:nth-child(2){width:27%}.rt-reader-table th:nth-child(3){width:25%}.rt-reader-row-actions{gap:6px}.rt-reader .rt-table-scroll{background:white}
.rt-reading-failed{color:#ad3446}.rt-reading-pending{color:#805309}
.rt-scan-toggle{display:inline-flex;justify-content:center;align-items:center;gap:6px;white-space:nowrap}.rt-scan-toggle svg{flex:none}
.rt-head,.rt-toolbar,.rt-enroll-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rt-head{justify-content:space-between;margin-bottom:14px}.rt-head h3{font-size:16px;font-weight:600;margin:0}
.rt-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:12px;background:#f1f6fa;border:1px solid #d4e1ed;border-radius:8px}
.rt-filter label,.rt-enroll-tools label{display:grid;gap:5px;font-size:13px;font-weight:400;min-width:0}
.rt-filter>:is(.rt-read-field,label:first-child){flex:1 1 280px}.rt-filter label:not(:first-child){flex:0 1 150px}
.rt-filter :is(input,select),.rt-enroll-tools select{box-sizing:border-box;width:100%;height:36px;font:inherit;font-size:13px;font-weight:400;line-height:1.4;color:inherit}
.rt-filter input::placeholder{font-size:13px;font-weight:400}
.rt-filter>label{margin:0}.rt-filter>.btn{height:36px;min-height:36px;margin:0;align-self:flex-end;flex:none}.rt-toolbar{margin:14px 0}.rt-toolbar>span{margin-left:4px;color:#526c85}
#labelManagementHost>.filing-pages{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:16px}
.rt-table-scroll{max-width:100%;overflow-x:auto;border:1px solid #d9e4ee;border-radius:7px}
.rt-table,.rt-history-table,.rt-scan-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;font-weight:400}
.rt-table{min-width:1050px}.rt-table th:nth-child(1){width:48px}.rt-table th:nth-child(2),.rt-table th:nth-child(5){width:212px}.rt-table th:nth-child(3){width:100px}.rt-table th:nth-child(4){width:72px}.rt-table th:nth-child(6){width:105px}.rt-table th:nth-child(7){width:150px}.rt-table th:nth-child(8){width:100px}
:is(.rt-table,.rt-history-table,.rt-scan-table) th{text-align:left;background:#edf4f9;font-size:13px;font-weight:600;color:#345572;padding:10px}
:is(.rt-table,.rt-history-table,.rt-scan-table) td{text-align:left;vertical-align:middle;padding:10px;border-top:1px solid #e0e8f0;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.rt-table input[type=checkbox]{height:20px;width:20px;vertical-align:middle}.rt-table th:first-child,.rt-table td:first-child{text-align:center}
.rt-page-check{display:inline-flex;align-items:center;gap:8px;margin:0}
.rt-page-check>span{display:none}
@media(max-width:920px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 body #labelManagementHost .rt-table.responsive-card-table thead{position:static!important;display:block;width:auto;height:auto;clip:auto;overflow:visible;margin:0;background:var(--mist-blue)}
 body #labelManagementHost .rt-table.responsive-card-table thead tr{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:0 8px}
 body #labelManagementHost .rt-table.responsive-card-table thead th:not(:first-child):not(:has([data-ui-sort])){display:none!important}
 body #labelManagementHost .rt-table.responsive-card-table thead th:is(:first-child,:has([data-ui-sort])){display:block!important;width:auto;padding:0;text-align:left;background:transparent}
 .rt-page-check{min-height:44px}
 .rt-page-check>span{display:inline}
}
.rt-code{font-family:Consolas,"Courier New",monospace;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.rt-time{white-space:nowrap;font-variant-numeric:tabular-nums}
.rt-state{font-size:13px;font-weight:400}.rt-state-free,.rt-success{color:#147344}.rt-state-invalid,.rt-failed{color:#ad3446}.rt-state-pending{color:#805309}
.rt-state[title]{cursor:help}.rt-empty{padding:36px 16px;text-align:center;color:#526c85}.rt-pending{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#fff7e6;border:1px solid #e3c790;border-radius:7px}.rt-pending[hidden]{display:none}
.rt-history-id{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.rt-history-table{min-width:800px}.rt-history-table th:nth-child(1){width:145px}.rt-history-table th:nth-child(5){width:210px}
.rt-history,.rt-enroll{min-width:0;font-size:13px}.rt-enroll-tools label{width:185px}.rt-enroll-tools .btn{min-height:36px}.rt-hint{color:#526c85;margin:12px 0}.rt-scan-status{min-height:22px;margin:10px 0;color:#345572}.rt-scan-table{min-width:700px}.rt-scan-table th:first-child,.rt-scan-table th:nth-child(2){width:210px}.rt-scan-table th:last-child{width:70px}
.rt-enroll>.modal-actions{display:flex;align-items:center;gap:8px;margin-top:16px}.rt-enroll>.modal-actions>span{margin-right:auto}
.rt-operation-results{list-style:none;padding:0;margin:0;max-height:55vh;overflow:auto}.rt-operation-results li{display:flex;gap:16px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #e0e8f0}
#rtInvalidate>label{display:grid;gap:6px;font-weight:400}#rtInvalidate textarea{box-sizing:border-box;width:100%;min-height:80px;font-size:13px}
:is(.rt-enroll,.rt-history,#labelManagementHost) :is(button,input,select,textarea):focus-visible{outline:2px solid #28659b;outline-offset:2px}
@media(max-width:767px){.rt-filter>:is(.rt-read-field,label:first-child){flex-basis:100%}.rt-filter label:not(:first-child){flex:1 1 120px}.rt-filter .btn,.rt-toolbar .btn,.rt-enroll-tools .btn,.rt-enroll>.modal-actions>.btn{min-height:44px}.rt-enroll-tools label{width:100%}.rt-enroll-tools>span{flex-basis:100%}.rt-toolbar{gap:8px}.rt-enroll>.modal-actions{flex-wrap:wrap}.rt-pending{align-items:flex-start;flex-direction:column}}
@media(max-width:767px){.rt-reader{padding:12px}.rt-reader-actions .btn,.rt-reader-row-actions .btn{min-height:44px}.rt-reader-table{min-width:0;display:block}.rt-reader-table thead{display:none}.rt-reader-table tbody{display:grid;gap:8px}.rt-reader-table tr{display:grid;grid-template-columns:1fr;min-width:0;padding:10px}.rt-reader-table tr+tr{border-top:1px solid #e0e8f0}.rt-reader-table td{display:block;border:0;padding:5px 0}.rt-reader-table td:nth-child(1)::before,.rt-reader-table td:nth-child(2)::before{display:block;font-size:12px;color:#526c85;margin-bottom:3px}.rt-reader-table td:nth-child(1)::before{content:'TID编号'}.rt-reader-table td:nth-child(2)::before{content:'EPC编号'}}
@media(max-width:767px){.rl-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rl-metrics>div:last-child{grid-column:1/-1}.rl-filter>.btn,.rt-view-tabs>.btn{min-height:44px}.rl-details dl>div{grid-template-columns:80px 1fr;gap:8px}}

/* Compact RFID dialogs: content wraps inside the available width. */
#modal.rt-history-modal,#modal.rt-enroll-modal{width:min(1000px,calc(100vw - 32px));max-width:calc(100vw - 32px);overflow-x:hidden}
.rt-history,.rt-enroll{box-sizing:border-box;width:100%;max-width:100%;min-width:0;font-size:12px}
.rt-history .rt-table-scroll,.rt-enroll .rt-table-scroll{min-width:0;max-width:100%;overflow-x:hidden}
.rt-history .rt-history-table,.rt-enroll .rt-scan-table{min-width:0;width:100%;max-width:100%;table-layout:fixed;font-size:12px}
:is(.rt-history-table,.rt-scan-table) :is(th,td){box-sizing:border-box;font-size:12px;line-height:1.5;padding:8px;white-space:normal;overflow-wrap:anywhere}
:is(.rt-history-table,.rt-scan-table) .rt-code{font-size:12px;white-space:normal;overflow-wrap:anywhere}
.rt-history-table th:nth-child(1){width:12%}.rt-history-table th:nth-child(2){width:17%}.rt-history-table th:nth-child(3){width:11%}.rt-history-table th:nth-child(4){width:11%}.rt-history-table th:nth-child(5){width:27%}.rt-history-table th:nth-child(6){width:22%}
.rt-scan-table th:first-child,.rt-scan-table th:nth-child(2){width:31%}.rt-scan-table th:nth-child(3){width:27%}.rt-scan-table th:last-child{width:11%}
.rt-time time{display:inline-block;font-variant-numeric:tabular-nums}.rt-time time small{display:block;font-size:12px;line-height:1.4;color:#526c85}
.rt-history-id{margin-bottom:12px;gap:10px}.rt-history-id .rt-code{min-width:0}
.rt-enroll-tools{display:grid;grid-template-columns:minmax(180px,240px) max-content minmax(0,1fr);align-items:end;gap:12px}
.rt-enroll-type{display:grid;min-width:0;gap:6px}
.rt-enroll-tools :is(.rt-enroll-type label,#rtIssuePurposeBox){margin:0;font-size:12px;line-height:18px}
.rt-enroll-tools .rt-enroll-type label{display:block;width:auto}
#rtIssuePurposeBox{gap:6px}
#rtIssuePurposeBox[hidden]{display:none}
.rt-enroll-type label.required-label::after{content:none!important}.rt-required{display:inline;color:#c52c30}
.rt-enroll-tools :is(select,.rt-scan-toggle){box-sizing:border-box;height:var(--hy-field-height,32px);min-height:var(--hy-field-height,32px);margin:0;font-size:12px}
.rt-enroll-tools .rt-scan-toggle{--action-height:var(--hy-field-height,32px);align-self:end}
#rtReaderState{display:flex;align-items:center;min-width:0;min-height:32px;line-height:1.4;font-size:12px;color:#526c85}
.rt-table td:last-child .btn+.btn{margin-left:6px}.rt-table td:last-child{white-space:normal}.rt-table th:nth-child(7){width:100px}.rt-table th:nth-child(8){width:190px}
.rt-read-field{position:relative;min-width:0}.rt-read-field input{padding-right:42px}.rt-field-read.btn{position:absolute;right:3px;top:3px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;margin:0;padding:4px;border:0;background:transparent;color:#285f8f}
.rl-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.rl-head>.rl-status{flex:1;min-width:0}.rl-refresh-icon.btn{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;padding:7px;margin:0}.rl-read-status{font-size:12px;line-height:1.5;color:#526c85}
.rl-filter input[readonly]{background:#fff;cursor:default}.rl-filter input[readonly]:focus{border-color:#6a91b2}
.rt-scan-table th:first-child{width:43%}.rt-scan-table th:nth-child(2){width:45%}.rt-scan-table th:last-child{width:12%}
@media(max-width:640px){
 #modal.rt-history-modal,#modal.rt-enroll-modal{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}
 .rt-enroll-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.rt-enroll-type{grid-column:1/-1}
 #rtReaderState{min-height:44px}
 :is(.rt-history-table,.rt-scan-table){display:block}.rt-history-table thead,.rt-scan-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 :is(.rt-history-table,.rt-scan-table) tbody{display:grid;gap:8px}:is(.rt-history-table,.rt-scan-table) tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:8px;gap:8px}
 :is(.rt-history-table,.rt-scan-table) tr+tr{border-top:1px solid #e0e8f0}:is(.rt-history-table,.rt-scan-table) td{display:block;padding:0;border:0;min-width:0}
 :is(.rt-history-table,.rt-scan-table) td::before{display:block;color:#526c85;font-size:12px;margin-bottom:3px}
 .rt-history-table td:nth-child(1)::before{content:'时间'}.rt-history-table td:nth-child(2)::before{content:'操作'}.rt-history-table td:nth-child(3)::before{content:'操作员'}.rt-history-table td:nth-child(4)::before{content:'资产编号'}.rt-history-table td:nth-child(5)::before{content:'EPC编号'}.rt-history-table td:nth-child(6)::before{content:'结果 / 原因'}
 .rt-history-table td:nth-child(5),.rt-history-table td:nth-child(6){grid-column:1/-1}
 .rt-scan-table td:nth-child(1){grid-column:1/-1}.rt-scan-table td:nth-child(1)::before{content:'TID编号'}.rt-scan-table td:nth-child(2)::before{content:'结果'}.rt-scan-table td:last-child{align-self:end;justify-self:end}.rt-scan-table td:last-child .btn{min-height:44px}
 .rl-refresh-icon.btn{width:44px;height:44px;min-height:44px}.rt-field-read.btn{width:32px;height:32px;top:2px}
}

.rt-reader-table{min-width:1120px}.rt-reader-table th:nth-child(1),.rt-reader-table th:nth-child(2){width:22%}.rt-reader-table th:nth-child(3){width:110px}.rt-reader-table th:nth-child(4){width:18%}.rt-reader-table th:nth-child(5){width:100px}.rt-reader-table th:nth-child(6){width:130px}.rt-reader-table th:nth-child(7){width:120px}.rt-reader-activation{font-variant-numeric:tabular-nums}
.rt-asset-summary-photo[type="button"]{padding:0;overflow:hidden;cursor:zoom-in;font:inherit}.rt-asset-summary-photo[type="button"]:focus-visible{outline:2px solid #28659b;outline-offset:3px}
.rt-state-exception,.rt-state-scrapped{color:#ad3446}
.rt-reader-table td:nth-child(4),.rt-reader-table td:nth-child(5),.rt-table td:nth-child(6){white-space:normal;overflow-wrap:anywhere}
@media(max-width:767px){.rt-reader-table{min-width:0}.rt-reader-table td:nth-child(n+3)::before{display:block;font-size:12px;color:#526c85;margin-bottom:3px}.rt-reader-table td:nth-child(3)::before{content:"标签类型"}.rt-reader-table td:nth-child(4)::before{content:"标签状态"}.rt-reader-table td:nth-child(5)::before{content:"关联资产"}.rt-reader-table td:nth-child(6)::before{content:"启用时间"}.rt-reader-table td:nth-child(7)::before{content:"操作"}}

body #labelManagementHost .rt-time{white-space:nowrap;font-variant-numeric:tabular-nums}


/* asset-oversight.css */
.asset-oversight-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:14px 0}.asset-oversight-filters label{display:grid;gap:6px;font-size:13px;color:var(--muted,#657e99)}.asset-oversight-filters input,.asset-oversight-filters select{min-width:130px;max-width:100%;height:40px}.asset-oversight-filters .oversight-keyword{flex:1;min-width:220px}.asset-oversight-results{margin-top:14px;display:grid;gap:10px}.asset-oversight-row{border:1px solid #cdddED;border-radius:12px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff}.asset-oversight-row>div{min-width:0}.asset-oversight-row p{margin:5px 0;overflow-wrap:anywhere}.asset-oversight-row small{display:block;color:var(--muted,#657e99);line-height:1.7}.asset-oversight-row .asset-link{font-weight:700;border:0;background:transparent;color:#365f96;text-align:left;padding:0;cursor:pointer;overflow-wrap:anywhere}.asset-oversight-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.asset-report-count{min-width:72px;font-size:18px;font-weight:700}.asset-report-tabs{flex-wrap:wrap}.custody-phone-upload{margin:8px 0 16px}.custody-phone-upload>small{display:block;margin:8px 0;color:var(--muted,#657e99)}.asset-oversight-row button:focus-visible{outline:3px solid #96b9e8;outline-offset:3px}.asset-oversight-empty{padding:28px;text-align:center;color:#657e99;background:#f6f9fc;border-radius:12px}.asset-oversight-tabs{margin-bottom:16px}
@media(max-width:600px){.asset-oversight-filters{gap:10px}.asset-oversight-filters label{flex:1;min-width:120px}.asset-oversight-filters .oversight-keyword{min-width:100%}.asset-oversight-filters input,.asset-oversight-filters select{width:100%;min-width:0}.asset-oversight-row{align-items:flex-start;flex-direction:column}.asset-oversight-actions{width:100%}.asset-oversight-actions .btn{min-height:44px}.asset-report-tabs button{flex:1 1 40%;min-height:44px}.custody-phone-upload .qr-upload-layout{flex-wrap:wrap}.custody-phone-upload .qr-upload-layout img{max-width:100%}}
.asset-oversight-results .ui-data-table .asset-link{font:inherit;font-weight:600;border:0;background:transparent;color:#365f96;text-align:left;padding:2px 0;min-height:24px;cursor:pointer;overflow-wrap:anywhere}
.asset-oversight-results .ui-data-table .asset-link:focus-visible{outline:2px solid #426b96;outline-offset:3px;border-radius:4px}
@media(pointer:coarse),(max-width:760px){.asset-oversight-results .ui-data-table .asset-link{min-height:44px}}


/* linen-exceptions.css */
.le-dialog{font-size:var(--ui-body,15px);line-height:var(--ui-line-height,1.5)}
.le-dialog [hidden]{display:none!important}
.le-dialog .form-grid{gap:14px 12px}.le-dialog label{display:block;margin:8px 0}.le-dialog .ll-check{display:flex;align-items:flex-start;gap:8px}
.le-dialog input[type=checkbox]{flex:0 0 auto;width:17px;height:17px;min-height:0;margin:3px 0;accent-color:var(--primary,#245c90)}
.le-notice{padding:12px 14px;background:var(--panel-bg,#edf4f8);border-left:3px solid var(--primary,#245c90);border-radius:5px}
.le-notice .btn{display:block;margin-top:10px}.le-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.le-table{min-width:760px;width:100%}.le-table small{display:block;margin-top:4px;color:var(--muted,#536c87);overflow-wrap:anywhere}.le-table td{vertical-align:top;padding:9px 10px}
.le-table td:first-child{max-width:250px}.le-link{display:block;border:0;background:transparent;padding:4px 0;text-align:left;color:var(--primary,#245c90);font:inherit;text-decoration:underline;cursor:pointer}
.le-link:focus-visible{outline:2px solid var(--primary,#245c90);outline-offset:2px}.le-facts{display:grid;gap:8px}.le-facts div{display:grid;grid-template-columns:7em minmax(0,1fr);gap:8px}.le-facts dt{color:var(--muted,#536c87)}.le-facts dd{margin:0;overflow-wrap:anywhere}
.le-scope{border:1px solid var(--border,#d8e3ef);border-radius:6px;padding:10px 12px;max-height:260px;overflow:auto;margin:14px 0}.le-scope label{display:flex;gap:8px;align-items:flex-start;font-weight:400}
#leError:empty{display:none}
@media(max-width:700px){.le-dialog .form-grid{grid-template-columns:1fr}.le-dialog .form-grid .full{grid-column:1}.le-link{min-height:40px}.le-head{align-items:flex-start}.le-facts div{grid-template-columns:1fr;gap:2px}}


/* ui-standard.css */
/* Approved compact system, 2026-10-08. Load after module styles.
   Presentation only: never override hidden, permission, disabled or busy state. */
:root{
  --ui-font:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;
  --ui-body:15px;--ui-aux:13px;--ui-name:16px;--ui-section:18px;--ui-title:20px;--ui-number:24px;
  --ui-button:36px;--ui-row-button:32px;--ui-tool-button:30px;--ui-field:36px;--ui-field-text:14px;
  --ui-s1:4px;--ui-s2:8px;--ui-s3:12px;--ui-s4:16px;
  --mist-body:var(--ui-font);--mist-serif:var(--ui-font);--mist-number:var(--ui-font);
  --mist-radius-control:7px;--mist-border:var(--mist-line,#d3e5f0);
}
html,body{font-family:var(--ui-font);font-size:var(--ui-body);line-height:1.5;font-variant-numeric:lining-nums tabular-nums}
body [hidden]{display:none!important}
/* Old modules contain explicit Georgia/monospace rules. Business numbers share the body face. */
body :is(button,input,select,textarea,h1,h2,h3,h4,h5,p,span,small,b,strong,td,th,dt,dd,label,summary,a){font-family:var(--ui-font)!important;font-variant-numeric:lining-nums tabular-nums}
body :is(.page,.modal,.drawer,dialog){font-size:var(--ui-body);line-height:1.5}
body :is(.page,.modal,.drawer,dialog) :is(h1,h2){font-size:var(--ui-title)!important;line-height:1.4;font-weight:700;letter-spacing:0}
body :is(.page,.modal,.drawer,dialog) h3{font-size:var(--ui-section)!important;line-height:1.4;font-weight:600;letter-spacing:0}
body :is(.modal-head,.drawer-head,[class$="dialog-head"]) h3{font-size:var(--ui-title)!important;font-weight:700}
body :is(.page,.modal,.drawer,dialog) :is(h4,h5){font-size:var(--ui-name);line-height:1.4;font-weight:600;letter-spacing:0}
body :is(small,.muted,.asset-code-subtle,.asset-id-copy,.activity-summary,.iv-detail-caption,.iv-detail-eyebrow,.iv-state-help,.dy-followup-help,.supplier-note){font-size:var(--ui-aux)!important;line-height:1.5}
body :is(.page,.modal,.drawer,dialog) :is(p,dd,td){font-size:var(--ui-body);line-height:1.5}
body :is(.mist-field,.form-grid>label,.supplier-field,.delivery-field,.invoice-filters>label,.energy-bill-search-field,.filter-grid>label){font-size:var(--ui-body)!important;font-weight:600;gap:var(--ui-s1)}
body :is(.detail-item small,.energy-proof-facts dt,.iv-detail-facts dt,.maintenance-detail-grid dt){font-size:var(--ui-aux)!important;font-weight:400;margin-bottom:var(--ui-s1)}
body :is(.detail-item b,.energy-proof-facts dd,.iv-detail-facts dd,.maintenance-detail-grid dd,.asset-meta,.asset-meta b){font-size:var(--ui-body)!important;line-height:1.5}
body :is(.metric b,.luggage-kpis b,.lost-found-kpis b,.network-asset-kpis b,.energy-kpis b,.inventory-metrics b,.overview-column>b,.task-location,.energy-proof-money,.iv-detail-total>strong,.iv-detail-amount){font-size:var(--ui-number)!important;font-weight:700!important;line-height:1.3;letter-spacing:0}
body :is(.panel,.supplier-workspace,.invoice-workspace,.delivery-workspace){padding:var(--ui-s4);margin-bottom:var(--ui-s3)}
body :is(.modal-body,.detail){padding:var(--ui-s4)}
body :is(.modal-head,.drawer-head){padding:var(--ui-s3) var(--ui-s4);gap:var(--ui-s2)}
body :is(.panel-head,.mist-results-heading){margin-bottom:var(--ui-s2);gap:var(--ui-s2)}
body :is(.two-col,.form-grid,.detail-grid,.asset-search-primary,.filter-grid){gap:var(--ui-s3)}
body :is(.toolbar,.modal-actions,.detail-actions,.page-header-action-group){gap:var(--ui-s2)}

/* Ordinary, inline, tool and icon buttons have one size vocabulary. */
body :is(.btn,.icon-btn,.icon-action,.supplier-dialog-close,.dy-followup-close,.dy-followup-dialog-close,.image-zoom-toolbar button,.energy-proof-tools button,.energy-proof-toolbar button){
  min-height:var(--ui-button)!important;height:auto!important;align-self:center;min-width:0;padding:4px 10px!important;
  font-size:14px!important;line-height:1.4!important;font-weight:600;border-radius:7px!important;letter-spacing:0;touch-action:manipulation;
}
body :is(.btn.mini,td .btn,.iv-list-row .btn,.dy-list-row .btn,.supplier-offer-row .btn){min-height:var(--ui-row-button)!important;padding:3px 8px!important;border-radius:6px!important;font-size:var(--ui-aux)!important}
body :is(.icon-btn,.icon-action,.supplier-dialog-close,.dy-followup-close,.dy-followup-dialog-close){width:var(--ui-button)!important;min-width:var(--ui-button)!important;height:var(--ui-button)!important;padding:0!important;text-align:center;vertical-align:middle;font-size:18px!important;flex-shrink:0}
body .btn :is(svg,.ui-icon){width:14px;height:14px;flex:none}
.ui-icon{display:inline-block;width:14px;height:14px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body .btn:has(>.ui-icon){align-items:center;justify-content:center;gap:6px}
body :is(.btn,.icon-btn,.icon-action):disabled{cursor:not-allowed;box-shadow:none;opacity:.48}
body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]){min-height:var(--ui-field)!important;height:auto!important;padding:6px 10px!important;font-size:var(--ui-field-text)!important;line-height:1.5;border-radius:7px!important}
body :is(.invoice-filters,.asset-search-primary,.supplier-filters,.energy-bill-search-filters,.filter-grid)>.btn{align-self:end}
body #page-invoices .invoice-filters :is(input,select,summary){font-size:var(--ui-field-text)!important}
body #invoicePlatformMenu summary{min-height:var(--ui-field)!important;padding:6px 10px;border-radius:7px;line-height:1.5}
body textarea{height:auto}
/* Legacy underline sort controls are not form boxes. Keep until migrated to headings. */
body :is(#energySearchSort,#energySearchDirection){min-height:var(--ui-button)!important;border-radius:0!important;padding:4px 6px!important}
body :is(.workspace-tabs,.procurement-tabs,.maintenance-tabs,.inventory-result-tabs,.parameter-tabs,.linen-tabs,.guest-item-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.energy-tabs,.delivery-tabs,.task-tabs) button{
  min-height:var(--ui-button)!important;padding:5px 12px!important;font-size:var(--ui-body)!important;line-height:1.4;border-radius:7px;gap:6px;
}
body .sidebar #nav button{min-height:40px;padding:7px 10px;font-size:var(--ui-body);line-height:1.4}
body .sidebar .brand strong{font-size:var(--ui-section);letter-spacing:0}
body #toast.toast{font-size:var(--ui-body);line-height:1.5}

/* Fixed shared action position; do not infer permissions from primary/secondary styling. */
body .page-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--ui-s2);min-width:0}
body .page-header-action-group{align-items:center;flex-wrap:wrap;gap:var(--ui-s2)}
body .main>.topbar>.online-pill{font-size:var(--ui-aux);line-height:1.5;padding:2px 7px;border-radius:6px;flex:none;white-space:nowrap}
body .page-header-action-group .btn{min-height:var(--ui-button)!important}
body #deliveryOrderNew{height:auto!important;min-height:var(--ui-button)!important;padding:4px 10px!important;border-radius:7px 0 0 7px!important}
body #deliveryRegisterMenu.delivery-type-toggle{width:var(--ui-button)!important;height:var(--ui-button)!important;min-width:var(--ui-button)!important;min-height:var(--ui-button)!important;border-radius:0 7px 7px 0!important}
body .main>.topbar{gap:var(--ui-s2)}

/* Same segmented switch on every list/card page, including its ARIA state. */
body :is(.ui-view-switch,.asset-view-switch,.dy-view-switch){display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--mist-line);border-radius:8px;background:var(--mist-blue);min-height:34px;width:max-content;max-width:100%;margin:0}
body :is(.ui-view-switch,.asset-view-switch,.dy-view-switch)>button{min-height:var(--ui-row-button)!important;padding:4px 10px!important;border:0!important;border-radius:6px!important;background:transparent;color:var(--mist-focus);font-size:var(--ui-aux)!important;line-height:1.4!important;box-shadow:none}
body :is(.ui-view-switch,.asset-view-switch,.dy-view-switch)>button:is(.active,[aria-pressed=true]){background:var(--mist-primary)!important;color:#fff!important;box-shadow:0 2px 5px #426b961a}
body .dy-view-switch>span{font-size:var(--ui-aux);padding:0 8px}
.ui-results-tools{display:flex;align-items:center;justify-content:flex-end;gap:var(--ui-s2);flex-wrap:wrap;min-width:0;margin-left:auto}
body .mist-results-heading{display:flex;align-items:center;flex-wrap:wrap}
body #assetBatchToolGroup{display:flex;align-items:center;gap:0;flex:0 0 auto!important;width:max-content!important;max-width:100%;margin:0;padding:2px!important;border:1px solid var(--mist-line)!important;border-radius:8px;background:var(--mist-control)!important;box-shadow:none}
body #assetBatchToolGroup .asset-command-buttons{display:flex;gap:2px;flex-wrap:wrap;align-items:center}
body #assetBatchToolGroup .btn{min-height:var(--ui-tool-button)!important;padding:3px 8px!important;border:0;background:transparent;border-radius:5px!important;font-size:var(--ui-aux)!important;box-shadow:none}
body #assetBatchToolGroup .btn::before{content:none}
body #assetBatchToolGroup #assetBatchOpsBtn{background:var(--mist-blue);color:var(--mist-focus);border-left:1px solid var(--mist-line)}
body #assetBatchToolGroup .asset-command-group-title{display:none}
body .asset-command-toolbar{padding-top:var(--ui-s2);margin-top:var(--ui-s3)}
body .asset-command-group{padding:0;gap:6px}
body .asset-command-groups{gap:var(--ui-s4);flex-wrap:wrap}
body .asset-command-buttons{gap:var(--ui-s2)}

/* Readable dense tables: preserve long values and a real heading per field. */
body table{font-size:var(--ui-body);line-height:1.4}
body :is(th,td){padding:7px 10px;line-height:1.4}
body th{font-size:var(--ui-aux);font-weight:600;background:var(--mist-blue);color:var(--mist-on-tint)}
body :is(.iv-list-head,.iv-list-row,.dy-list-head,.dy-list-row,.supplier-list-head,.supplier-row){padding:7px 10px;font-size:var(--ui-body);line-height:1.4;gap:var(--ui-s2)}
body :is(.iv-list-head,.dy-list-head,.supplier-list-head){font-size:var(--ui-aux);font-weight:600}
body :is(.asset-grid,.delivery-list,.lost-found-list){gap:var(--ui-s3)}
body #assetResults .asset-info{padding:var(--ui-s3)}
body #assetResults .asset-info h4{font-size:var(--ui-name);font-weight:600;line-height:1.4}
body #assetResults .asset-meta{font-size:var(--ui-body);gap:4px 8px;line-height:1.5}
body #assetResults .asset-card-check{width:32px;height:32px;top:8px;right:8px}
body #assetResults .asset-card-check input{width:16px;height:16px}
body #assetResults.asset-compact{display:block}
body .ui-asset-table-wrap{overflow:auto;border:1px solid var(--mist-line);border-radius:10px;background:var(--mist-control)}
body .ui-asset-table{table-layout:fixed;width:100%;border-collapse:collapse}
body .ui-asset-table .check-col{width:38px;text-align:center;padding:7px 3px}
body .ui-asset-table .photo-col{width:58px}
body .ui-asset-table .name-col{width:23%}
body .ui-asset-table :is(td,th){white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
body #assetResults .ui-asset-table tr.asset-card{display:table-row!important;background:transparent;box-shadow:none;border:0;border-radius:0;transform:none}
body #assetResults .ui-asset-table tr.asset-card:hover{background:var(--mist-blue);box-shadow:none;transform:none}
body #assetResults .ui-asset-table tr.asset-card:focus-visible{outline-offset:-3px}
body #assetResults .ui-asset-table .asset-card-check{position:static;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;width:24px;height:28px;min-height:28px!important;padding:0;margin:0}
body #assetResults .ui-asset-table .asset-card-check input{width:16px!important;height:16px!important;min-height:16px!important;margin:0}
body #assetResults .ui-asset-table .asset-photo{width:40px;height:40px;min-height:0;padding:0;border-radius:6px;font-size:10px;text-align:center}
body #assetResults .ui-asset-table .asset-info{padding:0}
body .ui-asset-table .ui-asset-name{display:block;font-size:var(--ui-name);font-weight:600}
body .ui-asset-table .ui-asset-code{display:block;color:var(--mist-muted);font-size:var(--ui-aux);margin-top:2px;line-height:1.5}
body .ui-asset-table :is(.asset-name-with-policy,.asset-name-with-policy>span){white-space:normal;flex-wrap:wrap}
body .ui-asset-table tbody tr:last-child td{border-bottom:0}

/* Pagination and business badges never reuse large primary action styling. */
body :is(.pager,.task-pager,.asset-pager,.delivery-pagination,.invoice-pagination,.energy-progress-pager,.lost-found-pager,.energy-batch-pager){display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--ui-s2);font-size:var(--ui-aux);line-height:1.5;margin-top:var(--ui-s3)}
body :is(.pager,.task-pager,.asset-pager,.delivery-pagination,.invoice-pagination,.energy-progress-pager,.lost-found-pager,.energy-batch-pager) :is(span,label){font-size:var(--ui-aux)}
body :is(.pager,.task-pager,.asset-pager,.delivery-pagination,.invoice-pagination,.energy-progress-pager,.lost-found-pager,.energy-batch-pager) .btn{min-height:var(--ui-button)!important;padding:4px 10px!important}
body :is(.badge,.status-pill,.asset-alert,.supplier-tag,.supplier-priority,.iv-review-state,.energy-bill-chip,.inv-status,.iv-detail-status,.task-age-badge,.asset-policy-badge){font-size:var(--ui-aux)!important;line-height:1.5!important;font-weight:500;padding:2px 6px;border-radius:6px!important;max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* Touch density is independent of the access-terminal policy. No feature is hidden here. */
@media(max-width:599px),(pointer:coarse){
  :root{--ui-body:16px;--ui-button:48px;--ui-row-button:44px;--ui-tool-button:44px;--ui-field:48px;--ui-field-text:16px}
  body :is(.btn,.icon-btn,.icon-action,.supplier-dialog-close,.dy-followup-close,.dy-followup-dialog-close,.ui-view-switch>button,.asset-view-switch>button,.dy-view-switch>button,.image-zoom-toolbar button,.energy-proof-tools button,.energy-proof-toolbar button){min-width:44px!important;min-height:44px!important}
  body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]){font-size:16px!important}
  body .sidebar #nav button{min-height:44px}
  body :is(.ui-results-tools,#assetBatchToolGroup .asset-command-buttons){gap:8px}
  body #assetBatchToolGroup{padding:4px!important}
  body .page-header-actions{overflow-x:auto}
  body .page-header-action-group{flex-wrap:nowrap}
  body :is(.ui-view-switch,.asset-view-switch,.dy-view-switch){gap:8px;flex-wrap:wrap;width:auto}
  body #assetResults .asset-card-check{width:44px;height:44px}
}
@media(max-width:920px){
  body .ui-asset-table-wrap{overflow:visible;border:0;background:transparent}
  body #assetResults .ui-asset-table{display:block;table-layout:auto;width:100%;min-width:0!important;max-width:100%}
  body .ui-asset-table :is(tbody,tr){width:100%}
  body #assetResults .ui-asset-table tr.asset-card{display:grid!important;grid-template-columns:44px minmax(0,1fr);gap:4px 8px;border:1px solid var(--mist-line);border-radius:10px;padding:10px;margin-bottom:8px;background:var(--mist-control)}
  body .ui-asset-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  body .ui-asset-table :is(td,tbody){display:block}
  body .ui-asset-table td{grid-column:2;padding:0;border:0;width:auto!important;min-width:0}
  body .ui-asset-table td[data-label]::before{content:attr(data-label)"：";color:var(--mist-muted);font-size:var(--ui-aux);font-weight:400}
  body .ui-asset-table td:is(.check-col,.photo-col){grid-column:1;display:flex;justify-content:center}
  body .ui-asset-table .check-col{grid-row:1/2}
  body .ui-asset-table .photo-col{grid-row:2/5}
  body #assetResults .ui-asset-table .asset-card-check{width:44px;height:44px;min-height:44px!important}
  body .ui-asset-table td.name-col{grid-row:1/2}
  body .ui-asset-table td:is(.check-col,.photo-col,.name-col)::before{content:none}
}
@media(prefers-reduced-motion:reduce){body :is(.btn,.icon-btn,.asset-card){transition:none}}
/* Clickable field headings share one quiet, keyboard-accessible affordance. */
.ui-sort-button{font:inherit;font-weight:600;color:inherit;border:0;background:transparent;padding:4px 0;min-height:var(--ui-row-button,28px);display:inline-flex;align-items:center;gap:6px;cursor:pointer;text-align:left}
.ui-sort-button span{color:var(--primary,#426b96);font-size:12px}
.ui-sort-button:hover{color:#315c8c}
.ui-sort-button:focus-visible{outline:2px solid #426b96;outline-offset:3px;border-radius:3px}
.ui-data-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:13px}
.ui-data-table th{background:#eaf3f8;color:#4e657a;font-weight:600;text-align:left}
.ui-data-table td,.ui-data-table th{padding:7px 10px;border-bottom:1px solid #d3e5f0;vertical-align:middle;overflow-wrap:anywhere}
.ui-data-table td small{display:block;font-size:12px;color:#60768a}
.ui-data-table td strong{font-size:14px;font-weight:600}
.ui-data-table .ui-actions{display:flex;gap:8px;flex-wrap:wrap}
.ui-data-table .ui-id{font-size:12px;font-weight:400}
.ui-data-table button.asset-link{text-align:left;font-size:14px;font-weight:600}
.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}
.ui-people{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;color:inherit;cursor:help;text-decoration:underline dotted #738aa0;text-underline-offset:3px;touch-action:manipulation}
.ui-people:focus-visible{outline:2px solid #4b75a2;outline-offset:3px;border-radius:3px}
.ui-people-tooltip,.ui-button-tooltip{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:max-content;max-width:300px;max-height:60dvh;overflow:auto;z-index:9999}
.ui-people-tooltip{max-width:min(400px,calc(100vw - 16px));max-height:min(320px,60vh)}
/* Repair modal padding uses the compact token; old -18px margins overflowed its 16px body. */
body .maintenance-detail-modal{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr);box-sizing:border-box}
body .maintenance-detail-modal :is(.form-grid,.form-grid>*,input,textarea,.purchase-channel-picker,.maintenance-detail-header){min-width:0;max-width:100%;box-sizing:border-box}
body .maintenance-detail-modal :is(p,dd,span,strong,small){overflow-wrap:anywhere;white-space:normal}
body .maintenance-detail-modal .modal-actions{margin:0 calc(-1 * var(--ui-s4)) calc(-1 * var(--ui-s4));padding:12px var(--ui-s4);bottom:calc(-1 * var(--ui-s4));flex-wrap:wrap;box-sizing:border-box}
body .maintenance-detail-modal .modal-actions .btn{max-width:100%;white-space:normal}
body #maintenanceBody td:nth-child(8){white-space:normal;min-width:130px;max-width:190px}
@media(pointer:coarse){.ui-people{min-height:44px;display:inline-flex;align-items:center}}
body .energy-non-current-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:6px;background:#fcebed;color:#ac253c;font-size:12px;font-style:normal;font-weight:600;white-space:nowrap}
@media(max-width:760px),(pointer:coarse){.ui-sort-button{min-height:44px}}
@media(max-width:760px){
  .ui-data-table,.ui-data-table tbody,.ui-data-table tr,.ui-data-table td{display:block;width:auto;min-width:0}
  .ui-data-table thead{display:flex;overflow-x:auto;max-width:100%;background:#eaf3f8}
  .ui-data-table thead tr{display:flex;gap:12px;padding:4px 10px}
  .ui-data-table th{display:block;flex:0 0 auto;border:0;padding:0}
  .ui-data-table tr{border:1px solid #d3e5f0;border-radius:7px;margin-bottom:8px;padding:4px 0}
  .ui-data-table td{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px;border:0;padding:4px 10px}
  .ui-data-table td::before{content:attr(data-label);color:#60768a;font-size:12px}
  .ui-data-table td .ui-actions{grid-column:2}
  body table:not(.ui-data-table):has([data-ui-sort]) thead{display:block!important;overflow-x:auto;max-width:100%;background:var(--mist-blue)}
  body table:not(.ui-data-table):has([data-ui-sort]) thead tr{display:flex!important;gap:12px;padding:4px 10px}
  body table:not(.ui-data-table):has([data-ui-sort]) thead th{display:block!important;flex:none;padding:0;border:0}
  body table:not(.ui-data-table):has([data-ui-sort]) thead th:not(:has([data-ui-sort])){display:none!important}
  body :is(.dy-followup-header,.iv-list-head):has([data-ui-sort]){display:flex!important;gap:12px;overflow-x:auto;max-width:100%;padding:4px 10px}
  body :is(.dy-followup-header,.iv-list-head):has([data-ui-sort])>span{flex:none}
  body :is(.dy-followup-header,.iv-list-head):has([data-ui-sort])>span:not(:has([data-ui-sort])){display:none}
}
@media(min-width:761px) and (max-width:1200px){body .iv-list-head:has([data-ui-sort]){display:flex;gap:12px;overflow-x:auto}body .iv-list-head>span:not(:has([data-ui-sort])){display:none}}
@media(min-width:761px) and (max-width:1100px){body .dy-followup-header:has([data-ui-sort]){display:flex;gap:12px;overflow-x:auto}body .dy-followup-header>span:not(:has([data-ui-sort])){display:none}}
/* V18.0.3: related personnel actions and inline supplier creation. */
body .personnel-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto}
body .purchase-supplier-field .purchase-channel-picker{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;align-items:start}
body .purchase-supplier-field .purchase-channel-picker>input{padding-right:10px;min-height:36px;width:100%;box-sizing:border-box}
body .purchase-supplier-field .purchase-supplier-add{position:static;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--control-border,#738aa0);border-radius:7px;font-size:20px;line-height:1;background:#eaf3f8;box-sizing:border-box}
body .person-lost-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #d3e5f0;min-width:0}
body .person-lost-item>div{flex:1;min-width:0;overflow-wrap:anywhere}
body .person-lost-item small{display:block;color:#60768a;font-size:12px}
body .person-lost-item dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:0;flex:2;min-width:0}
body .person-lost-item dt{color:#60768a;font-size:12px}
body .person-lost-item dd{margin:0;overflow-wrap:anywhere}
body .person-possessions .ui-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px}
body .maintenance-return-form label{display:grid;gap:4px}
body .maintenance-return-form .maintenance-method-options label{display:flex;align-items:center;gap:6px}
body .maintenance-return-form textarea{width:100%;box-sizing:border-box;min-width:0;resize:vertical}
body .maintenance-return-record{padding:12px 0;border-bottom:1px solid #d3e5f0;overflow-wrap:anywhere}
body .maintenance-return-record:last-child{border-bottom:0}
body .maintenance-return-record p{margin:6px 0}
body .maintenance-return-quality{color:#60768a;font-size:12px}
@media(max-width:600px){body .person-lost-item{flex-wrap:wrap}body .person-lost-item>div,body .person-lost-item dl{flex-basis:100%}}
@media(max-width:600px){body .maintenance-detail-modal .maintenance-action-section .form-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(pointer:coarse),(max-width:700px){body .purchase-supplier-field .purchase-channel-picker{grid-template-columns:minmax(0,1fr) 44px}body .purchase-supplier-field .purchase-supplier-add{width:44px;height:44px;min-height:44px}body .purchase-supplier-field .purchase-channel-picker>input{min-height:44px}}

/* V18.0.4: controls share one bottom baseline, including labelled dates,
   switches, query and clear. Scope is explicit; business forms are untouched. */
body .ui-filterbar{align-items:end!important;gap:8px;min-width:0}
body .ui-filterbar>label:not(:has(input[type=checkbox])){display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}
body :is(.page,.modal,dialog) .ui-filterbar :is(input,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),body :is(.page,.modal,dialog) .ui-filterbar .btn,body #page-invoices .invoice-filters summary{box-sizing:border-box;min-height:var(--ui-field)!important;height:var(--ui-field)!important;margin-block:0}
body #page-invoices .invoice-filters .btn{min-height:var(--ui-field)!important;height:var(--ui-field)!important}
body .ui-filterbar .btn{align-self:end;white-space:nowrap}
body .ui-filter-clear{border-color:var(--mist-line)!important;background:var(--mist-control)!important;color:var(--mist-focus)!important;font-weight:600}
body .ui-filter-clear:hover:not(:disabled),body .ui-selection-action:hover:not(:disabled){background:var(--mist-blue)!important}
body .ui-selection-action{min-height:var(--ui-field)!important;padding:6px 12px!important;border:1px solid var(--mist-line)!important;border-radius:7px!important;background:var(--mist-control)!important;color:var(--mist-focus)!important;font-size:var(--ui-field-text)!important;font-weight:600;box-shadow:none!important;white-space:nowrap}
body .ui-selection-action:focus-visible,body .ui-filter-clear:focus-visible{outline:2px solid var(--mist-primary);outline-offset:2px}
body .ui-selection-action:disabled{opacity:.52;cursor:not-allowed}
body .ui-filterbar :is(input,select,button,summary){transition-property:background-color,border-color,color,box-shadow!important}
body #page-invoices #invoiceFilters :is(input,select,summary){font-size:var(--ui-field-text)!important}
body .ui-filter-actions{display:flex;align-items:end;gap:8px}
body #deliveryFilters{display:flex;align-items:end;flex-wrap:wrap;gap:8px}
body #page-delivery #deliveryFilters :is(input,select){font-size:var(--ui-field-text)!important}
body #page-delivery.delivery-records-view #deliveryFilters{display:grid;grid-template-columns:minmax(0,1fr) 160px 170px auto auto;grid-template-areas:'search month stage query clear'}
body #page-delivery.delivery-records-view #uiFilterClear-delivery{grid-area:clear}
body #deliveryFilters>input:not([type=month]){flex:1 1 220px;min-width:160px}
body #deliveryFilters .dy-date-range{display:flex;align-items:end;gap:8px}
body #deliveryFilters .dy-date-range>label{display:grid;gap:4px;margin:0;min-width:0}
body #deliveryFilters .dy-date-range input{width:140px;min-width:0}
body #deliveryCollectedChecks{align-self:end;gap:8px;flex-wrap:wrap}
body #deliveryCollectedChecks .dy-collected-toggle{box-sizing:border-box;height:var(--ui-field);min-height:var(--ui-field);margin:0;padding:4px 8px;align-items:center}
body #page-invoices .invoice-toolbar>div{display:flex;gap:8px 12px;align-items:baseline;flex-wrap:wrap;width:100%}
body #page-invoices .invoice-toolbar p{margin:0}
body #page-invoices .invoice-filters{display:grid;grid-template-columns:minmax(220px,1fr) repeat(2,140px) repeat(3,110px) 140px auto;gap:8px;margin:16px 0}
body #page-invoices .invoice-filters>:is(label,.iv-platform-filter){width:auto;min-width:0}
body #page-invoices .invoice-filters .iv-filter-search{min-width:0}
body #page-invoices .invoice-selection{display:flex;justify-content:space-between;gap:8px 16px;border-top:1px solid #d3e5f0;padding:12px 0;margin:0}
body #page-invoices .iv-selection-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
body #page-invoices .iv-selection-summary .invoice-check{flex:0 0 auto;gap:8px;min-height:36px;white-space:nowrap}
body #page-invoices .iv-selected-total{color:#263b50;white-space:nowrap}
body #page-invoices #invoiceSelectedAmount{font-size:16px;color:#263b50}
body #page-invoices .iv-batch-actions{border:0;padding:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body #page-invoices .iv-print-mode{display:flex;align-items:center;gap:8px;margin:0;min-width:0}
body #page-invoices .iv-print-mode>span{white-space:nowrap;flex-shrink:0}
body #page-invoices .iv-print-mode select{min-width:130px;max-width:100%;min-height:36px!important;height:36px!important}
body #page-invoices .iv-batch-actions>.btn{min-height:36px!important;height:36px!important;align-self:center}
body #invoicePrintStatus{flex-basis:100%;font-size:12px;overflow-wrap:anywhere}
body #invoicePrintStatus:empty{display:none}
body .iv-review-choices{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
body .energy-existing-dialog{box-sizing:border-box;width:min(840px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #d3e5f0;border-radius:14px;background:#f6fafc;color:#263b50;overflow:auto}
body .energy-existing-dialog::backdrop{background:#263b5070}
body .energy-existing-dialog>:is(header,footer){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f6fafc}
body .energy-existing-dialog>header{border-bottom:1px solid #d3e5f0}
body .energy-existing-dialog>footer{position:sticky;bottom:0;border-top:1px solid #d3e5f0}
body .energy-existing-body{padding:16px;overflow-wrap:anywhere}
body .energy-existing-body img{display:block;width:100%;height:auto}
body .energy-existing-body summary{padding:8px;cursor:pointer}
@media(max-width:1450px){body #page-invoices .invoice-filters{grid-template-columns:repeat(6,minmax(0,1fr))}body #page-invoices .invoice-filters .iv-filter-search{grid-column:span 2}body #page-invoices .invoice-filters .iv-platform-filter{grid-column:span 2}body #page-invoices .invoice-filters .ui-filter-actions{grid-column:span 3}}
@media(min-width:1201px) and (max-width:1450px){body #page-invoices :is(.iv-list-head,.iv-list-row){grid-template-columns:24px minmax(70px,1fr) 70px 68px minmax(56px,.8fr) minmax(110px,1.3fr) 76px 50px 106px 50px 42px!important;gap:6px!important}}
@media(max-width:760px){
  body #page-invoices .invoice-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  body #page-invoices .invoice-filters>:is(.iv-filter-search,.iv-platform-filter,.ui-filter-actions){grid-column:1/-1}
  body #page-invoices .iv-batch-actions{width:100%;padding-top:8px;border-top:1px solid #d3e5f0}
  body #page-invoices .iv-print-mode{flex:1 1 100%;justify-content:space-between}
  body #page-invoices .iv-batch-actions>.btn{flex:1}
  body #deliveryFilters>:is(input,select,.dy-date-range,.dy-collected-checks){width:100%;min-width:0}
  body #deliveryFilters .dy-date-range>label{flex:1}
  body #deliveryFilters .dy-date-range input{width:100%}
  body .ui-filterbar{flex-wrap:wrap}
  body .energy-existing-dialog>footer{flex-wrap:wrap}
}
@media(pointer:coarse),(max-width:700px){
  body :is(.page,.modal,dialog) .ui-filterbar :is(input,select):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),body :is(.page,.modal,dialog) .ui-filterbar .btn,body #page-invoices .invoice-filters summary,body #page-invoices .invoice-filters .btn,body #deliveryCollectedChecks .dy-collected-toggle,body #page-invoices .iv-batch-actions>.btn,body #page-invoices .iv-print-mode select{height:44px!important;min-height:44px!important}
}
@media(max-width:1000px){body #page-delivery.delivery-records-view #deliveryFilters{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'search search' 'month stage' 'query clear'}}

/* V18.0.5: field toolbars fill the page, not desktop max-content slots.
   Visibility/terminal policy still wins over these layout-only rules. */
@media(max-width:920px),(max-width:1100px) and (hover:none) and (pointer:coarse){
  body #page-assets .mist-results-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
  body #page-assets .mist-results-heading h3{margin:0}
  body #page-assets .ui-results-tools{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);width:100%;margin:0;gap:8px}
  body #page-assets #assetBatchToolGroup{display:block!important;width:100%!important;min-width:0;box-sizing:border-box;padding:4px!important}
  body #page-assets #assetBatchToolGroup .asset-command-buttons{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr)!important;gap:8px!important;width:100%}
  body #page-assets #assetBatchToolGroup #assetBatchOpsBtn{grid-column:auto!important;border-left:0}
  body #page-assets #assetBatchToolGroup .btn{width:100%;min-width:0!important;min-height:44px!important;white-space:normal}
  body #page-assets .asset-view-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;box-sizing:border-box;gap:8px}
  body #page-assets .asset-command-toolbar{padding:8px!important}
  body #page-assets .asset-command-groups{gap:8px!important}
  body #page-assets #assetFilterToolGroup .asset-command-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body #page-assets #assetFilterToolGroup .btn{min-width:0;min-height:44px!important;width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
  body #page-assets #assetFilterToolGroup #assetNoRfidBtn{grid-column:auto!important}
  body #page-assets #assetFilterToolGroup #assetClearBtn{grid-column:1/-1}
  body .energy-proof-tools{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;gap:8px}
  body .energy-proof-tools button{min-width:0!important;min-height:44px!important;padding:4px!important}
  body .energy-proof-full{min-height:44px;max-width:calc(100% - 18px);white-space:normal}
  body .energy-proof-media>header small{line-height:1.5}
  body input[type=file]{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
  body .lost-found-filter-row{display:flex;flex-wrap:wrap;gap:8px}
  body .lost-found-filter-row>:is(input,select){flex:1 1 160px;min-width:0;max-width:100%}
  body .lost-found-filter-row>.btn{flex:1 1 100px;min-width:0}
  body #page-assets #assetBatchToolGroup:is(.hidden,.terminal-feature-hidden,[hidden]){display:none!important}
}
@media(max-width:380px){body .energy-proof-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Invisible full-width absolute radios used to extend the tablet document.
   Keep native semantics/focus, with the visible label as the touch surface. */
body .choice-segment label{position:relative;min-width:0}
body .choice-segment input{inset:0;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;margin:0;clip-path:inset(50%)}
body .choice-segment input:focus-visible+span{outline:2px solid var(--mist-primary);outline-offset:2px}
@media(max-width:1200px){
  body .lost-found-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  body .lost-found-filter-row>:is(input,select,.btn){width:100%;min-width:0;box-sizing:border-box}
}
@media(pointer:coarse),(max-width:760px){body .choice-segment label span{min-height:44px;height:auto;white-space:normal}}
.proof-hint-touch{display:none}
.image-preview-stage:is(.is-dragging,.is-pinching) img{transition:opacity .12s}
.iv-preview-image{touch-action:none;overscroll-behavior:contain}
.iv-preview-image img{user-select:none;-webkit-user-drag:none}
.iv-preview-hint{flex:none;margin:0;color:var(--mist-muted);font-size:var(--ui-aux);line-height:1.5}
/* V18.0.6: real fields, readable history, one bottom workflow action area. */
body .energy-batch-source{height:auto;min-width:0;align-self:start}
body .energy-batch-source-caption{margin:6px 0 0;padding:0 4px;font-size:12px;line-height:1.5;color:var(--mist-text,#263b50);overflow-wrap:anywhere;white-space:normal}
body .energy-batch-source-caption span{display:block}
body .dy-parcel-detail .dy-detail-history{padding:12px 16px!important;box-sizing:border-box;min-width:0}
body .dy-detail-history>p{margin:10px 0;overflow-wrap:anywhere}
body .dy-detail-history>p small{display:block}
body .dy-detail-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px;border-top:1px solid var(--mist-border,#d3e5f0);padding-top:12px}
body .dy-detail-footer .delivery-detail-actions{margin:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
body .dy-detail-footer .delivery-detail-actions:empty{display:none}
body .dy-followup-header,body .dy-followup-row>button{grid-template-columns:minmax(0,2fr) minmax(6em,.8fr) minmax(4em,.6fr) minmax(6em,.8fr) minmax(0,1.5fr) 6em 6em 5em;gap:12px}
body .dy-followup-header>span{white-space:nowrap;text-align:left;justify-self:start}
body .dy-followup-row .dy-stage{white-space:nowrap}
body .dy-followup-recipient{min-width:0;overflow-wrap:anywhere}
body .web-version-link{display:block;background:none;border:0;border-radius:4px;padding:0;color:var(--mist-muted,#60768a);font-size:12px;cursor:pointer;min-height:28px;text-align:left}
body .web-version-link:hover{color:var(--mist-primary,#4b75a2);text-decoration:underline}
body .web-version-link:focus-visible{outline:2px solid var(--mist-primary,#4b75a2);outline-offset:2px}
body .release-history-dialog{box-sizing:border-box;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:16px;border:1px solid var(--mist-border,#d3e5f0);border-radius:14px;background:var(--mist-bg,#f6fafc);color:var(--mist-text,#263b50);overflow:auto}
.release-history-dialog::backdrop{background:rgba(38,59,80,.45)}
body .release-history-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
body .release-history-dialog h3{margin:0}
body .release-history-help{color:var(--mist-muted,#60768a);font-size:12px}
.release-history-list details{padding:8px 12px;margin:8px 0;border:1px solid var(--mist-border,#d3e5f0);border-radius:8px;background:#fff}
.release-history-list summary{min-height:32px;display:list-item;align-content:center;cursor:pointer;font-weight:600}
.release-history-list ul{margin:8px 0;padding-left:20px}
.release-history-list li{margin:6px 0;overflow-wrap:anywhere}
@media(max-width:1100px){
 body .dy-followup-header{display:none}
 body .dy-followup-row>button{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 body .dy-followup-row>button>:is(.dy-followup-main,.dy-followup-place,.dy-followup-recipient,.dy-followup-person,.dy-followup-reason){grid-column:1/-1;grid-row:auto;text-align:left;justify-self:start}
 body .dy-followup-place::before{content:'配送至：';color:var(--mist-muted)}
 body .dy-followup-recipient::before{content:'接收人：';color:var(--mist-muted)}
 body .dy-followup-row>button>.dy-stage{grid-column:1;grid-row:auto}
 body .dy-followup-age{grid-column:1;grid-row:auto;justify-self:start}
 body .dy-followup-age::before{content:'本次耗时：'}
 body .dy-followup-open{grid-column:2;grid-row:auto}
}
@media(pointer:coarse),(max-width:760px),(max-width:920px) and (max-height:500px){
 body .web-version-link,body .release-history-list summary{min-height:44px}
 body .release-history-dialog{padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
 body .release-history-dialog .btn{min-width:44px;min-height:44px}
 body .dy-detail-footer .btn{min-height:44px;white-space:normal}
}
@media(hover:none),(pointer:coarse){.proof-hint-desktop{display:none}.proof-hint-touch{display:inline}}

/* V18.0.7: compact desk workflows, shared card/list selection, touch-safe wrap. */
body .procurement-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body .procurement-page-head .workspace-tabs{margin:0;max-width:100%}
body .procurement-page-tools{display:flex;justify-content:flex-end;gap:8px;flex-shrink:0}
body .procurement-page-tools .active{border-color:var(--mist-primary);color:var(--mist-primary);background:var(--mist-blue,#eaf3f8)}
body .filing-intro{margin-bottom:12px}
body .filing-intro h3{margin:0 0 4px}
body .filing-workspace{padding:20px}
body .filing-workspace .ai-reference{padding:16px;border:1px solid var(--mist-border);border-radius:10px;background:var(--mist-blue,#eaf3f8);margin:0 0 20px}
body .filing-workspace .ai-reference h3{margin:0 0 4px}
body .filing-workspace .ai-reference p{margin:4px 0 12px}
body #assetCreateForm .form-section-title{padding:12px 0 8px;margin:12px 0 8px;border-bottom:1px solid var(--mist-border);font-size:16px}
body #assetCreateForm .procurement-quantity-field{display:grid;max-width:none;gap:4px;align-content:start}
body #assetCreateForm .procurement-quantity-field input{width:100%!important;max-width:none}
body .filing-workspace .form-details{margin:20px 0}
body .filing-workspace .procurement-submit-bar{justify-content:flex-end;border-top:1px solid var(--mist-border);padding-top:12px}
body #page-batch .procurement-import-steps{gap:12px}
body #page-batch .batch-export-grid{display:grid;grid-template-columns:1fr;gap:12px}
body #page-batch .batch-export-grid .quick{text-align:left;min-height:88px;border:1px solid var(--mist-border);background:#fff;border-radius:10px;padding:16px}
body #page-batch .procurement-submit-bar{justify-content:flex-end}
body .task-result-tools,body #taskBatch{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body .task-result-tools{justify-content:flex-end}
body .task-selection-status{min-height:18px;margin:0 0 12px;color:var(--mist-muted);font-size:12px}
body .task-group-select{display:flex;align-items:center;gap:8px;margin:0;align-self:flex-start;cursor:pointer}
body .task-card-select{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin:0;cursor:pointer}
body :is(.task-group-select,.task-card-select) input{width:20px;height:20px;margin:0;accent-color:var(--mist-primary)}
body .task-group.selected{border-color:var(--mist-primary);box-shadow:0 0 0 2px var(--mist-primary);background:#dcecf6}
body .task-list-heading{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 90px minmax(190px,.9fr);gap:12px;padding:10px 14px;border:1px solid var(--mist-border);border-radius:8px;background:var(--mist-blue);font-weight:600;margin-bottom:8px}
body .task-layout-list .task-list,body .task-layout-list .task-group-members{display:grid;grid-template-columns:1fr;gap:8px}
body #taskPanel.task-layout-list .task-card{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 90px minmax(190px,.9fr);align-items:center;gap:12px;padding:12px 14px;border-radius:8px;box-shadow:none}
body .task-layout-list .task-card-top{display:contents}
body .task-layout-list .task-card-select{grid-column:1;grid-row:1;align-self:start;justify-self:start;z-index:1}
body .task-layout-list .task-card-title{grid-column:1;grid-row:1;padding-left:0}
body .task-layout-list .task-card:has(.task-card-select) .task-card-title{padding-left:28px}
body #taskPanel.task-layout-list .task-card-title strong{font-size:14px}
body #taskPanel.task-layout-list .task-card-title .task-subject{font-size:12px;margin:4px 0 0}
body .task-layout-list .task-card-top>.task-age-badge{position:static;grid-column:3;grid-row:1;justify-self:start}
body .task-layout-list .task-handler{grid-column:2;grid-row:1;margin:0;min-width:0}
body #taskPanel.task-layout-list .task-actions{grid-column:4;grid-row:1;margin:0;padding:0;border:0;display:flex;justify-content:flex-end;flex-wrap:wrap}
body .task-layout-list .task-actions .task-date{flex-basis:100%;text-align:right}
body .task-layout-list .task-card>:is(.task-warning,.task-anomaly-badge){grid-column:1/-1}
body .task-layout-list .task-group{border-radius:8px;margin:0}
body .task-layout-list .task-group::before,body .task-layout-list .task-group::after,body .task-layout-list .task-folder-icon{display:none}
body .task-layout-list .task-group>header{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 14px}
body .task-layout-list .task-group-heading{grid-column:1;grid-row:2}
body .task-layout-list .task-group h3{font-size:14px;margin:0}
body .task-layout-list .task-group-age{grid-column:2;grid-row:1;justify-self:end}
body .task-layout-list .task-group-actions{grid-column:2;grid-row:2/4;border:0;padding:0;justify-content:flex-end}
body .task-layout-list .task-group-actions>span{display:none}
body .task-layout-list .task-group-content{padding:0 12px 12px}
body .review-score-popover{position:relative;min-width:0;align-self:end}
body .review-score-popover>summary{min-height:36px;box-sizing:border-box;align-content:center;padding:6px 10px;border:1px solid var(--mist-border);border-radius:8px;background:#fff;cursor:pointer;white-space:nowrap;font-size:12px}
body .review-score-popover output{font-weight:600}
body .review-score-popover .review-score{position:absolute;z-index:30;right:0;top:calc(100% + 8px);box-sizing:border-box;width:300px;max-width:calc(100vw - 32px);padding:12px;background:#fff;box-shadow:0 8px 24px #263b5026}
body .review-score-popover .review-score>div{grid-template-columns:1fr;gap:8px}
body .review-score-popover input[type=range]{min-height:32px;width:100%}
body .dy-detail-footer :is(.modal-actions,.task-ack-actions){margin:0;justify-content:flex-end}
@media(min-width:1101px){
 body #page-batch.active{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:16px;align-items:start}
 body #page-batch>.procurement-page-head,body #page-batch>.procurement-intro{grid-column:1/-1;margin:0}
 body #page-batch>.panel{margin:0;min-width:0;padding:20px}
 body #page-batch .procurement-import-steps{grid-template-columns:1fr}
 body #page-batch .procurement-import-steps>div{display:grid;grid-template-columns:32px minmax(0,1fr) 150px;gap:8px 16px;padding:14px}
 body #page-batch .procurement-import-steps>div>.btn{grid-column:3;align-self:center;margin:0;width:auto}
 body #page-batch:has(#batchPreviewStage:not(.hidden)){grid-template-columns:1fr}
 body #taskFilters.task-filters{display:grid;grid-template-columns:minmax(140px,2fr) minmax(110px,1fr) minmax(120px,1fr) minmax(110px,.8fr) auto auto;align-items:end;gap:8px}
 body #taskFilters.task-filter-mine{grid-template-columns:minmax(140px,2fr) minmax(110px,1fr) minmax(110px,.8fr) auto auto}
 body #taskFilters .mist-field{min-width:0;margin:0;display:grid;gap:4px}
 body #taskFilters :is(input,select){height:36px;min-height:36px;margin:0;width:100%}
 body #taskFilters>.btn{height:36px;min-height:36px;margin:0;grid-column:auto;justify-self:auto;width:auto}
 body #reviewFilters.review-filters{grid-template-columns:minmax(110px,1.3fr) minmax(80px,.8fr) minmax(80px,.8fr) 125px 125px 142px auto;align-items:end;gap:8px;padding:12px}
 body #reviewFilters>label{gap:4px}
 body #reviewFilters :is(input:not([type=range]):not([type=checkbox]),select){width:100%;min-width:0;min-height:36px;height:36px;margin:0;padding:6px}
 body #reviewFilters .review-filter-actions{display:flex;gap:8px;margin:0;grid-column:auto}
 body #reviewFilters .review-filter-actions .btn{min-height:36px;height:36px}
}
/* V18.0.8: padded, in-border headings; query suggestions never grant location permissions. */
body :is(.review-score-popover,.residual-popover){position:relative;min-width:0;align-self:end}
body .residual-popover>summary{box-sizing:border-box;min-height:36px;padding:6px 10px;align-content:center;border:1px solid var(--mist-border);border-radius:8px;background:#fff;cursor:pointer;white-space:nowrap;font-size:12px}
body :is(.review-score-popover,.residual-popover)>.range-popover-panel{position:absolute;z-index:40;top:calc(100% + 8px);right:0;width:300px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:14px;border:1px solid var(--mist-border);border-radius:10px;background:#fff;box-shadow:0 8px 24px #263b5026}
body .range-popover-panel>h4{margin:0 0 12px;font-size:13px;line-height:1.5;color:var(--mist-ink)}
body .range-popover-panel :is(fieldset,.review-score){position:static;display:grid;gap:12px;min-width:0;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
body .range-popover-panel label{display:grid;gap:4px;min-width:0;margin:0}
body .range-popover-panel input[type=range]{box-sizing:border-box;min-width:0;width:100%;min-height:32px;margin:0;accent-color:var(--mist-primary)}
body .range-popover-panel .review-unscored{display:flex;align-items:center;gap:8px;margin:0}
body #disposalFilters{display:grid!important;grid-template-columns:minmax(130px,1.6fr) minmax(90px,.8fr) 125px 125px minmax(130px,1fr) 120px auto;align-items:end;gap:8px}
body #disposalFilters>label{display:grid;gap:4px;min-width:0;margin:0;grid-column:auto}
body #disposalFilters>label>span{white-space:nowrap;font-size:12px}
body #disposalFilters :is(input:not([type=range]),select){box-sizing:border-box;width:100%;min-width:0;min-height:36px;height:36px;margin:0;padding:6px;font-size:13px}
body #disposalFilters>.range-filter-actions{grid-column:auto;grid-row:auto;display:flex;gap:8px;margin:0}
body #disposalFilters>.range-filter-actions .btn{min-height:36px;height:36px;padding:6px 10px;font-size:13px}
body .room-filter-picker{display:block;position:relative;min-width:0;width:100%;box-sizing:border-box}
body .room-filter-picker .location-suggestions{z-index:45;box-sizing:border-box;max-height:240px;max-width:calc(100vw - 32px);min-width:min(230px,calc(100vw - 32px));width:max(100%,230px);text-align:left}
body .room-filter-picker .location-suggestion{width:100%;box-sizing:border-box;min-width:0;text-align:left;white-space:normal}
body .room-filter-picker .location-suggestion[aria-selected=true]{background:var(--mist-blue);outline:2px solid var(--mist-primary);outline-offset:-2px}
body .room-filter-picker small{display:block;overflow-wrap:anywhere}
body .room-hint-empty{padding:12px;white-space:normal}
body .panel:has(.room-filter-picker [aria-expanded=true]),body .panel:has(.residual-popover[open]),body .panel:has(.review-score-popover[open]){position:relative;z-index:50}
@media(max-width:1200px){body #disposalFilters{grid-template-columns:repeat(3,minmax(0,1fr))}body #disposalFilters>label:first-child{grid-column:span 2}body #disposalFilters>.range-filter-actions{justify-content:flex-end}}
@media(max-width:760px),(pointer:coarse){
 body #disposalFilters{grid-template-columns:repeat(2,minmax(0,1fr))}
 body #disposalFilters>label:first-child,body #disposalFilters>.range-filter-actions{grid-column:1/-1}
 body #disposalFilters :is(input:not([type=range]),select,.btn),body .residual-popover>summary{min-height:44px;height:auto}
 body #disposalFilters :is(input:not([type=range]),select){font-size:16px}
 body :is(.review-score-popover,.residual-popover)>.range-popover-panel{right:auto;left:0;width:280px}
 body .range-popover-panel input[type=range],body .range-popover-panel .review-unscored,body .room-filter-picker .location-suggestion{min-height:44px}
 body .room-filter-picker .location-suggestion{padding:10px;touch-action:manipulation}
}
@media(max-width:1100px){
 body #taskFilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px}
 body #taskFilters>.mist-field:first-child{grid-column:1/-1}
 body #taskFilters>.btn{width:auto;grid-column:auto}
 body .task-list-heading{display:none}
 body #taskPanel.task-layout-list .task-card{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 body .task-layout-list .task-card-title{grid-column:1}
 body .task-layout-list .task-card-top>.task-age-badge{grid-column:2}
 body .task-layout-list .task-handler{grid-column:1/-1;grid-row:auto}
 body #taskPanel.task-layout-list .task-actions{grid-column:1/-1;grid-row:auto}
 body .task-layout-list .task-group-actions{grid-column:1/-1;grid-row:auto}
 body .procurement-page-head{align-items:flex-start;flex-wrap:wrap}
 body .procurement-page-tools{margin-left:auto}
}
@media(pointer:coarse),(max-width:760px){
 body .filing-workspace{padding:12px}
 body .filing-workspace .ai-reference{padding:12px}
 body .task-group-select{min-height:44px}
 body .task-group-select input{min-width:24px;min-height:24px}
 body .task-card-select{width:44px;min-height:44px}
 body .task-layout-list .task-card:has(.task-card-select) .task-card-title{padding-left:52px}
 body .review-score-popover>summary{min-height:44px}
 body .review-score-popover .review-score{right:auto;left:0}
 body #taskFilters :is(input,select,.btn){min-height:44px;height:auto}
 body .task-result-tools{justify-content:flex-start;width:100%}
 body #taskBatch{gap:8px}
}

/* V18.1.3: one filter control height/baseline, including current-location input. */
body .ui-filterbar :is(.asset-filter-toggle,summary){box-sizing:border-box;height:var(--ui-field)!important;min-height:var(--ui-field)!important;margin-block:0;align-content:center}
body .ui-filterbar>label{align-self:end;gap:4px!important}
body .ui-filterbar>label>span{line-height:18px}
body .ui-filterbar :is(input,select,.btn,summary):not([type=checkbox]):not([type=radio]):not([type=range]){font-size:var(--ui-field-text)!important;line-height:1.5}
body .ui-filterbar .filter-active{border-color:#1677e8!important;background:#eef6ff!important;box-shadow:0 0 0 2px #1677e81a!important;color:#1f4e7c}
body #page-assets .archive-filter-row>label{margin:0;align-self:end}
@media(max-width:760px),(pointer:coarse){
 body .ui-filterbar :is(.asset-filter-toggle,summary){height:44px!important;min-height:44px!important}
 body .ui-filterbar :is(input,select):not([type=checkbox]):not([type=radio]):not([type=range]){font-size:16px!important}
}

/* Keep room suggestions above the task cards instead of trapping them in the filter stack. */
body #page-approvals #taskFilters:has(#taskRoom[aria-expanded="true"]){position:relative;z-index:80;overflow:visible}
body #page-approvals #taskFilters .room-filter-picker:has(#taskRoom[aria-expanded="true"]){z-index:81}
body #page-approvals #taskFilters .location-suggestions{z-index:82}

body #modal.modal-rfid-bind{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:hidden}
body #modal.modal-rfid-bind #modalBody{overflow-y:auto;max-height:calc(100dvh - 82px)}
body .rfid-bind-body{padding:14px 18px!important}
body .rfid-bind-grid{gap:10px 12px}
body .rfid-bind-grid>label{margin:0;min-width:0}
body .rfid-bind-grid input:not([type=range]){min-height:38px;margin-top:4px}
body .rfid-bind-grid .r1-power-row{display:flex;align-items:center;gap:12px;margin:0;padding:6px 0}
body .rfid-bind-grid .r1-power-row label{flex:1;margin:0}
body .rfid-bind-grid .rfid-read-row{display:flex;align-items:center;gap:10px}
body .rfid-bind-grid .rfid-read-row span{font-size:13px;color:var(--mist-muted)}
body .rfid-write-panel{margin:10px 0 0;padding:12px;border:1px solid var(--mist-line,#cbd8e7);border-radius:10px;background:var(--mist-soft,#f4f8fc)}
body .rfid-write-panel p{margin:6px 0 10px;line-height:1.5;color:var(--mist-muted)}
body .rfid-write-panel #rbWriteUniqueStatus{margin-top:8px;min-height:20px;line-height:1.5;color:var(--mist-ink,#173454);overflow-wrap:anywhere}
body .rfid-bind-body .modal-actions{margin-top:10px}
@media(max-width:560px){body .rfid-bind-grid{grid-template-columns:1fr}body .rfid-bind-grid>label{grid-column:1/-1}}

/* Compact, single-action RFID writing. */
.ui-button-tooltip.photo-action-help{pointer-events:none}
.asset-photo-action-picker{position:relative;min-width:0}.asset-photo-action-picker>label{display:block;margin:0 0 4px}.asset-photo-action-picker>#phActionToggle{width:100%;min-height:var(--ui-control,36px);display:flex;justify-content:space-between;align-items:center;font-size:var(--ui-body,15px);font-weight:400;text-align:left}.asset-photo-action-picker>#phActionOptions{position:absolute;left:0;right:0;top:100%;z-index:30;padding:4px;background:#fff;border:1px solid var(--border,#d8e3ef);border-radius:7px;box-shadow:0 8px 24px #20314922}.asset-photo-action-picker>#phActionOptions[hidden]{display:none}.asset-photo-action-picker>#phActionOptions>button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:9px 10px;font:inherit;color:inherit;cursor:pointer}.asset-photo-action-picker>#phActionOptions>button:hover,.asset-photo-action-picker>#phActionOptions>button:focus-visible{background:#edf4f8;outline:2px solid #c4d8eb;outline-offset:-2px}.asset-photo-action-picker>#phActionOptions>button[aria-selected="true"]{color:#245c90;background:#f0f5fa}@media(max-width:760px){.asset-photo-action-picker>#phActionToggle,.asset-photo-action-picker>#phActionOptions>button{min-height:44px}}
.rfid-simple-fields{grid-template-columns:1fr!important;gap:16px!important}
.rfid-simple-fields input{font-family:ui-monospace,Consolas,monospace;font-weight:400;min-width:0}
.rfid-simple-status{display:flex;align-items:center;gap:12px;margin:22px 0;padding:16px;border:1px solid #d9e4ee;border-radius:10px;background:#f5f8fb;line-height:1.6}
#rvResultIcon{font-size:26px;font-weight:700;flex:0 0 30px;text-align:center}
.rfid-simple-status.is-ready,.rfid-simple-status.is-success{color:#176c45;background:#eef8f1;border-color:#badbc8}
.rfid-simple-status.is-error{color:#a82f40;background:#fff3f4;border-color:#ebbec5}
.rfid-conflict-link{border:0;padding:0;background:none;color:inherit;font:inherit;line-height:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.rfid-conflict-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.rfid-conflict-summary dl{display:grid;gap:12px;margin:0}.rfid-conflict-summary dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}.rfid-conflict-summary dt{color:#536d87}.rfid-conflict-summary dd{margin:0;overflow-wrap:anywhere}
.rfid-request-link{color:#245f91;overflow-wrap:anywhere;max-width:100%}.rfid-request-timeline{padding-left:20px;display:grid;gap:12px}.rfid-request-timeline li{padding-left:4px;overflow-wrap:anywhere}.rfid-request-timeline :is(time,span,small){display:block}.rfid-request-timeline :is(time,small){font-size:12px;color:#536d87}
.rfid-simple-status.is-ready~footer #rvWrite:not(:disabled){background:#218454;border-color:#218454}
.rfid-write-power{position:relative;margin-left:auto;margin-right:12px;font-size:13px;font-weight:400}
.rfid-write-power summary{cursor:pointer;white-space:nowrap;list-style:none;padding:7px 9px;border:1px solid #c6d5e3;border-radius:6px}
.rfid-write-power-popup{position:absolute;right:0;top:100%;z-index:20;width:235px;max-width:75vw;box-sizing:border-box;display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;margin-top:8px;background:white;border:1px solid #d2dfe9;border-radius:9px;box-shadow:0 6px 20px #18324b22}
.rfid-write-power-popup label,.rfid-write-power-popup [role=status]{grid-column:1/-1}
#rvPower{width:100%;min-width:0;align-self:center}
@media(max-width:480px){.rfid-write-power{margin-right:6px}.rfid-write-power summary{font-size:12px;padding:6px}#modal .modal-head:has(.rfid-write-power){flex-wrap:wrap}}

/* User-idle countdown is informational and never resets the session itself. */
.session-idle-counter{flex:0 0 auto;margin-left:auto;white-space:nowrap;font-size:13px;font-weight:400;color:#58718b;font-variant-numeric:tabular-nums;line-height:1.5}
.session-idle-counter.is-warning{color:#a35b13}
.session-idle-counter[hidden]{display:none}
.session-idle-counter+#pageHeaderActions{margin-left:10px}
@media(max-width:600px){.session-idle-counter{font-size:12px}.session-idle-counter+#pageHeaderActions{margin-left:4px}.topbar{flex-wrap:wrap}}
/* Asset brief and unbinding are two views of the same preserved child dialog. */
.rfid-conflict-summary [hidden]{display:none!important}
.rfid-brief-layout{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:16px;align-items:start}.rfid-brief-details{min-width:0}.rfid-brief-photo{min-height:96px;text-align:center;color:#647890;font-size:12px}
.rfid-asset-thumbnail{display:block;width:100%;padding:0;border:1px solid #dce5ef;border-radius:7px;background:#f5f8fb;overflow:hidden;cursor:zoom-in}.rfid-asset-thumbnail img{display:block;width:100%;height:132px;object-fit:cover}.rfid-asset-thumbnail:focus-visible{outline:2px solid #28649b;outline-offset:3px}
.rfid-photo-viewer>.btn{margin-bottom:12px}.rfid-photo-viewer>img{display:block;max-width:100%;max-height:60vh;object-fit:contain;margin:auto}
@media(max-width:540px){.rfid-brief-layout{grid-template-columns:minmax(0,1fr) 96px;gap:10px}.rfid-asset-thumbnail img{height:96px}}
.asset-action-group #dRfidRecycle:disabled{background:#f1f3f5;border-color:#d4dbe2;color:#8a97a5;box-shadow:none;opacity:1;cursor:not-allowed}


/* interaction-standard.css */
/* Shared selected states: blue/white controls, not lifecycle status badges. */
:root{--hy-selected-bg:#245d91;--hy-selected-fg:#fff;--hy-selected-hover:#1b4c79}
html body :is(button.active,button.selected,button.is-active,button.is-selected,button[aria-pressed=true],button[aria-selected=true],[role=tab][aria-selected=true],a[aria-current=page],.btn.active,.btn.primary:not(.danger),.category-chip[aria-pressed=true]){
 background:var(--hy-selected-bg)!important;color:var(--hy-selected-fg)!important;border-color:var(--hy-selected-bg)!important;box-shadow:none!important
}
html body :is(button.active,button.selected,button.is-active,button.is-selected,button[aria-pressed=true],button[aria-selected=true],[role=tab][aria-selected=true],.btn.active)>:is(span,b,i,svg){color:inherit!important}
html body .choice-segment input:checked+span,html body #assetCreateForm .choice-segment input:checked+span{background:var(--hy-selected-bg)!important;color:var(--hy-selected-fg)!important;box-shadow:none!important}
html body :is(.iv-paper-choices,.rc-category,.dy-receive-choices,.dy-followup-segment,.energy-search-types,.custody-mode-choice,#acmTagRequirementChoices,.maintenance-method-options,.category-required-picker .asset-parameter-checks) label:has(input:checked){background:var(--hy-selected-bg)!important;color:var(--hy-selected-fg)!important;border-color:var(--hy-selected-bg)!important}
html body :is(.iv-paper-choices,.rc-category,.dy-receive-choices,.dy-followup-segment,.energy-search-types,.custody-mode-choice,#acmTagRequirementChoices,.maintenance-method-options,.category-required-picker .asset-parameter-checks) label:has(input:checked) :is(span,b,i,small){color:inherit!important}
html body .choice-segment input:focus-visible+span{outline:2px solid var(--hy-selected-bg);outline-offset:3px}
html body :is(button.active,button[aria-pressed=true],.btn.primary):not(:disabled):hover{background:var(--hy-selected-hover)!important;color:#fff!important}
html body :is(button,[role=tab]):focus-visible{outline:2px solid var(--hy-selected-bg);outline-offset:3px}
.modal-head-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.modal-header-refresh{min-width:52px}
.modal-head-actions .modal-header-refresh[hidden]{display:none!important}
[data-modal-refresh-proxy]{display:none!important}
.filing-label-entry .fle-priority{border-left:4px solid var(--hy-selected-bg);padding:4px 12px;margin-bottom:18px}
.fle-priority h3{margin:0;font-size:20px;line-height:1.5;color:#163c60}.fle-priority p{margin:4px 0 0;color:#5e7387;font-size:13px}
.filing-label-child-layer{position:fixed;inset:0;z-index:15000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,42,62,.3)}
.filing-label-child{width:min(620px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border:1px solid #d4e0eb;border-radius:14px;box-shadow:0 14px 46px rgba(16,40,60,.2)}
.filing-label-child-head{position:sticky;top:0;z-index:1;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #d4e0eb}
.filing-label-child-head h3{margin:0;font-size:17px;color:#233f59}.filing-label-child-head .icon-btn{width:36px;height:36px}
.filing-label-child .modal-body{padding:18px;max-height:none;overflow:visible}.filing-r1-power{display:flex;align-items:end;gap:12px;margin:14px 0}.filing-r1-power label{flex:1;min-width:0}.filing-r1-power input{width:100%;min-height:36px}.filing-r1-power .btn{flex-shrink:0}
.fle-print-count{font-variant-numeric:tabular-nums;font-weight:700;color:#245d91}
@media(max-width:920px){.modal-header-refresh{min-height:48px}.filing-label-child-head .icon-btn{width:48px;height:48px}.filing-label-child-layer{padding:8px}.filing-label-child{max-height:calc(100dvh - 16px)}.filing-label-child .btn{min-height:48px}.fle-priority h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.filing-label-child-layer *{scroll-behavior:auto}}



/* shell-redesign.css */
/* V18.2.5: readable hotel-operations shell. Visual only; never changes permissions. */
:root{
  --hy-canvas:#f4f6f9;
  --hy-surface:#fff;
  --hy-ink:#203047;
  --hy-secondary:#526780;
  --hy-border:#d9e2ed;
  --hy-sidebar:#16264b;
  --hy-sidebar-hover:#243967;
  --hy-sidebar-ink:#dbe5f7;
  --hy-sidebar-muted:#aabbd8;
  --hy-rail-width:70px;
  --hy-sidebar-width:230px;
  --mist-white:var(--hy-canvas);
  --mist-surface:var(--hy-surface);
  --mist-blue:#edf2f8;
  --mist-ice:#f7f9fc;
  --mist-control:#fff;
  --mist-ink:var(--hy-ink);
  --mist-muted:var(--hy-secondary);
  --mist-on-tint:var(--hy-secondary);
  --mist-line:var(--hy-border);
  --mist-shadow:0 1px 3px rgba(31,50,77,.06);
  --mist-shadow-hover:0 5px 18px rgba(31,50,77,.10);
}
html body{background:var(--hy-canvas);color:var(--hy-ink)}
body .app-shell{background:var(--hy-canvas)}
body .page :is(.panel,.supplier-workspace,.invoice-workspace,.delivery-workspace){background:var(--hy-surface);border-color:var(--hy-border);box-shadow:var(--mist-shadow)}
body :is(.page,.modal,.drawer,dialog) label{line-height:1.5}
body :is(.page,.modal,.drawer,dialog) :is(input,select,textarea){color:var(--hy-ink)}
body :is(.page,.modal,.drawer,dialog) :is(input,select,textarea)::placeholder{color:#687b91;opacity:1}

/* The brand remains Haiyue; reference navigation is a hierarchy and size cue. */
html body .app-shell .sidebar{
  width:var(--hy-sidebar-width);padding:0!important;
  background:var(--hy-sidebar);color:var(--hy-sidebar-ink);
  border-right:0;box-shadow:none;overflow:hidden;
}
body .sidebar .brand{
  position:relative;display:flex;align-items:center;flex:0 0 68px;
  height:68px;min-height:68px;gap:10px;margin:0!important;
  padding:9px 14px!important;background:#fff;border-bottom:1px solid var(--hy-border);
}
body .sidebar .sidebar-logo{width:50px;height:42px;flex:0 0 50px;object-fit:contain}
body .sidebar .brand strong{color:#1b3153;font-size:16px;line-height:1.25;white-space:nowrap}
body .sidebar .brand .web-version-link{color:#657891;font-size:12px}
body .sidebar .brand .brand-copy{position:relative;flex:1;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding-bottom:7px}
body .sidebar .brand .brand-copy .web-version-link{align-self:flex-start}
html body .sidebar .brand .brand-copy .online-pill{position:absolute;display:inline-flex!important;align-items:center;right:0;bottom:4px;margin:0!important;padding:2px 5px;font-size:11px;line-height:1.25;border-radius:4px}
body .sidebar #nav{gap:2px;padding:9px 8px 12px!important;scrollbar-color:#53668f transparent}
body .sidebar #nav .nav-group-label{
  flex:0 0 auto;height:29px;margin:7px 0 0;padding:7px 11px 4px;
  color:var(--hy-sidebar-muted);font-size:12px;line-height:1.4;letter-spacing:0;border-color:#34456b;
}
body .sidebar #nav .nav-group-label:first-child{margin-top:0}
html body .sidebar #nav button{
  display:flex!important;align-items:center!important;gap:11px;
  min-height:42px;padding:8px 10px!important;border:0;border-radius:7px;
  background:transparent;color:var(--hy-sidebar-ink);font-size:15px;
  font-weight:500;line-height:1.35;text-align:left;box-shadow:none;
}
html body .sidebar #nav button:hover:not(.active){background:var(--hy-sidebar-hover);color:#fff}
html body .sidebar #nav button.active,
html body .sidebar #nav button[aria-current="page"]{
  background:var(--hy-selected-bg,#245d91)!important;color:#fff!important;
  font-weight:650;box-shadow:none!important;
}
html body .sidebar #nav button.active::before{content:none}
html body .sidebar #nav .nav-icon{display:grid!important;place-items:center;flex:0 0 22px;width:22px;height:22px;color:inherit}
html body .sidebar #nav .nav-icon svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.85}
body .sidebar #nav button:focus-visible{outline:2px solid #d7e8ff;outline-offset:-3px}
body .sidebar .sidebar-user.account-bar{
  margin-top:0;padding:7px 8px max(8px,env(safe-area-inset-bottom))!important;
  border-top:1px solid #35476d;background:var(--hy-sidebar);
}
body .sidebar .account-trigger{color:var(--hy-sidebar-ink);min-height:50px;padding:7px}
body .sidebar .account-trigger:hover,body .sidebar .account-trigger[aria-expanded="true"]{background:var(--hy-sidebar-hover);border-color:#4b6090}
body .sidebar .account-summary strong{color:#fff;font-size:14px}
body .sidebar .account-summary small{color:var(--hy-sidebar-muted);font-size:12px}
body .sidebar .account-avatar{background:#345d9b;color:#fff}
body .sidebar .account-chevron{stroke:var(--hy-sidebar-muted)}
body .sidebar .account-menu{background:#fff;color:var(--hy-ink);border:1px solid var(--hy-border)}
body .sidebar .account-menu-action{color:#25446e}
body .sidebar .account-logout{color:#a53742}
body .app-shell:not(.hy-sidebar-drawer) .sidebar-close{display:none!important}

/* Shared working canvas: a quiet white header and clear section rhythm. */
html body .app-shell .main{margin-left:var(--hy-sidebar-width);width:calc(100% - var(--hy-sidebar-width));padding:0 24px 32px}
html body .main>.topbar{
  display:flex!important;align-items:center!important;min-height:64px!important;height:auto!important;
  margin:0 -24px 16px;padding:10px 24px!important;gap:12px;
  background:#fff;border-bottom:1px solid var(--hy-border);
}
html body .main>.page{padding-top:0}
body .page :is(.panel-head,.mist-results-heading){margin-bottom:12px}
body .page :is(.panel,.supplier-workspace,.invoice-workspace,.delivery-workspace){border-radius:10px}
body :is(.page,.modal,.drawer,dialog) :is(.form-grid,.filter-grid,.two-col,.detail-grid){row-gap:14px}
@media (max-width:920px){body .ui-sort-button{min-height:44px}}
@media (max-width:599px),(pointer:coarse){
  body .ui-sort-button{min-height:48px}
  body #page-invoices .invoice-filters :is(input,select,summary,.btn){min-height:48px!important;height:48px!important}
  body .purchase-supplier-field .purchase-supplier-add{width:48px;height:48px;min-height:48px}
}

/* A narrow desktop window keeps a 70px icon rail. Hover/focus reveals a flyout,
   while the content width stays fixed, so the page does not jump sideways. */
@media (hover:hover) and (pointer:fine) and (min-width:600px){
  html body .app-shell.hy-sidebar-rail .main{
    margin-left:var(--hy-rail-width)!important;
    width:calc(100% - var(--hy-rail-width))!important;
    padding:0 18px 28px!important;
  }
  html body .app-shell.hy-sidebar-rail .sidebar{
    position:fixed!important;inset:0 auto 0 0!important;
    width:var(--hy-sidebar-width)!important;height:100dvh!important;
    transform:none!important;visibility:visible!important;
    clip-path:inset(0 calc(var(--hy-sidebar-width) - var(--hy-rail-width)) 0 0);
    z-index:300!important;transition:clip-path .16s ease,box-shadow .16s ease!important;
  }
  html body .app-shell.hy-sidebar-rail.hy-rail-open .sidebar,
  html body .app-shell.hy-sidebar-rail .sidebar:has(:focus-visible){
    clip-path:inset(0 0 0 0);box-shadow:12px 0 32px rgba(17,36,71,.18);
  }
  body .hy-sidebar-rail .sidebar .brand>img,
  body .hy-sidebar-rail .sidebar .brand>div{visibility:hidden}
  body .hy-sidebar-rail .sidebar .brand::before{
    content:"";position:absolute;left:17px;top:14px;display:grid;place-items:center;
    width:36px;height:36px;border-radius:9px;background:#203d89 url('/web/haiyue-icon-192.png') center/contain no-repeat;color:#fff;
    font-size:18px;font-weight:750;
  }
  body .hy-sidebar-rail.hy-rail-open .sidebar .brand>img,
  body .hy-sidebar-rail.hy-rail-open .sidebar .brand>div,
  body .hy-sidebar-rail .sidebar:has(:focus-visible) .brand>img,
  body .hy-sidebar-rail .sidebar:has(:focus-visible) .brand>div{visibility:visible}
  body .hy-sidebar-rail.hy-rail-open .sidebar .brand::before,
  body .hy-sidebar-rail .sidebar:has(:focus-visible) .brand::before{display:none}
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) #nav .nav-group-label{
    font-size:0;color:transparent;position:relative;
  }
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) #nav .nav-group-label::after{
    content:"";position:absolute;left:17px;top:14px;width:21px;height:1px;background:#60749b;
  }
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) #nav button{overflow:hidden}
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) #nav button>span:not(.nav-icon),
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) #nav button>.nav-count{opacity:0}
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) .account-summary,
  body .hy-sidebar-rail:not(.hy-rail-open) .sidebar:not(:has(:focus-visible)) .account-chevron{visibility:hidden}
  html body .app-shell.hy-sidebar-rail .mobile-nav{display:none!important}
  html body .app-shell.hy-sidebar-rail #menuBtn{display:none!important}
  html body:has(.app-shell.hy-sidebar-rail){padding-bottom:0!important}
  html body .app-shell.hy-sidebar-rail .main>.topbar{
    display:flex!important;position:sticky!important;top:0;z-index:150;
    grid-template-columns:none!important;margin:0 -18px 16px;padding:9px 18px!important;
    min-height:64px!important;backdrop-filter:none;
  }
  html body .app-shell.hy-sidebar-rail .main>.topbar>.topbar-heading{
    display:block!important;position:static!important;width:auto!important;height:auto!important;
    margin:0!important;overflow:visible!important;clip-path:none!important;white-space:normal!important;
    pointer-events:auto!important;min-width:0;
  }
  body .hy-sidebar-rail .topbar-heading #pageTitle{margin:0;font-size:20px;line-height:1.35;font-weight:700;color:var(--hy-ink)}
  body .hy-sidebar-rail .topbar-heading #pageSubtitle{display:none!important}
  html body .app-shell.hy-sidebar-rail .main>.topbar>.page-header-actions{grid-column:auto!important;grid-row:auto!important;width:auto;max-width:65%;margin-left:auto!important;overflow-x:auto}
  html body .app-shell.hy-sidebar-rail .main>.topbar>.online-pill{grid-column:auto!important;grid-row:auto!important;margin-left:0}
}

/* Full-screen/maximized desktop always shows the complete sidebar. */
@media (hover:hover) and (pointer:fine) and (min-width:600px){
  html body .app-shell.hy-sidebar-expanded .sidebar{clip-path:none;transform:none!important;visibility:visible!important}
  html body .app-shell.hy-sidebar-expanded .mobile-nav{display:none!important}
  html body .app-shell.hy-sidebar-expanded #menuBtn{display:none!important}
  html body:has(.app-shell.hy-sidebar-expanded){padding-bottom:0!important}
  html body .app-shell.hy-sidebar-expanded .main>.topbar>.page-header-actions{margin-left:auto!important}
  html body .app-shell.hy-sidebar-expanded .main>.topbar>.online-pill{margin-left:0}
}

/* Touch and very narrow viewports retain the established drawer and bottom nav. */
body #desktopSidebarToggle{display:none!important}
@media (max-width:920px), (max-width:1100px) and (pointer:coarse){
  html body .main>.topbar{
    display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;
    gap:6px!important;min-height:56px!important;
    margin:0 calc(-1 * var(--page-gutter,12px)) 12px;
    padding:calc(6px + env(safe-area-inset-top)) var(--page-gutter,12px) 6px!important;
  }
}
@media (pointer:coarse),(hover:none),(max-width:599px){
  body .app-shell.hy-sidebar-drawer .sidebar{background:var(--hy-sidebar)}
  body .app-shell.hy-sidebar-drawer .sidebar .brand{border-radius:8px}
  body .app-shell.hy-sidebar-drawer .main{margin-left:0!important;width:100%!important}
  body .app-shell.hy-sidebar-drawer .sidebar-close{color:#25446e;background:#e9f1fa}
}
@media (prefers-reduced-motion:reduce){
  html body .app-shell.hy-sidebar-rail .sidebar{transition:none!important}
}


/* workflow-polish.css */
/* V18.3.0: operational tables and unobscured, scrollable forms. */
/* All ordinary modals share one viewport-bound frame. Only the body scrolls,
   so neither a sticky app header nor a long form can hide the modal title. */
html.has-modal #modalBackdrop:not(.hidden){z-index:400}
html.has-modal #modal:not(.hidden){z-index:410;display:flex;flex-direction:column;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:hidden}
html.has-modal #modal:not(.hidden)>.modal-head{position:relative;top:auto;flex:0 0 auto;z-index:2}
html.has-modal #modal:not(.hidden):not(.modal-room-return):not(.modal-network-edit):not(.modal-config-template):not(.modal-energy-batch):not(.modal-purchase):not(.modal-energy-proof)>#modalBody{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:16px}
@media(max-width:920px){html.has-modal #modal:not(.hidden){max-height:var(--app-height,100dvh)!important}}
.maintenance-report-photo{display:grid;gap:9px;padding:12px;border:1px dashed #b9cee2;border-radius:9px;background:#f8fbfd}
.maintenance-report-photo>b{color:#263b50;font-size:15px}.maintenance-report-photo-actions{display:flex;gap:8px;flex-wrap:wrap}
.maintenance-report-photo-actions .btn{min-height:44px}.maintenance-report-photo>.multi-photo-preview{min-height:66px}
.maintenance-report-photo>small{color:#526b82}.maintenance-report-evidence{margin-top:14px;padding-top:12px;border-top:1px solid #d3e5f0}
.maintenance-report-gallery{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.maintenance-report-gallery .photo-thumb{width:88px;height:88px}
.maintenance-diagnosis-readonly{margin-top:12px}.maintenance-liability-field{min-width:0;margin:0;padding:10px 12px;border:1px solid #b9cee2;border-radius:9px}
.maintenance-liability-field legend{padding:0 4px;color:#263b50;font-weight:700}.maintenance-liability-field details{position:relative}
.maintenance-liability-field summary{display:flex;align-items:center;min-height:44px;padding:8px 11px;border:1px solid #738aa0;border-radius:8px;background:#fff;color:#263b50;cursor:pointer;list-style:none}
.maintenance-liability-field summary::-webkit-details-marker{display:none}.maintenance-liability-field summary:after{content:'⌄';margin-left:auto}
.maintenance-liability-field summary:focus-visible{outline:3px solid #4b75a2;outline-offset:2px}
.maintenance-liability-options{display:grid;gap:4px;max-height:220px;overflow-y:auto;padding:8px;border:1px solid #b9cee2;border-radius:8px;background:#fff}
.maintenance-liability-options label{display:flex;align-items:center;gap:9px;min-height:44px;margin:0;padding:6px 8px;border-radius:6px;cursor:pointer}
.maintenance-liability-options label:has(input:checked){background:#eaf3f8}.maintenance-liability-options input{width:20px;min-width:20px;height:20px;min-height:20px;margin:0;accent-color:#285e91}
.common-setting-panel #pmMaintenanceLiabilityOptions{width:100%;box-sizing:border-box;min-height:170px;margin-top:6px;font-size:15px;line-height:1.55}
.common-setting-actions{display:flex;justify-content:flex-end;margin-top:10px}
.common-parameter-tabs{margin-bottom:12px}
[data-common-parameter-pane][hidden]{display:none!important}
.parameter-field-help{display:inline-grid;place-items:center;width:1.25em;height:1.25em;border:1px solid currentColor;border-radius:50%;color:var(--muted,#536c87);font-size:.85em;cursor:help}
.room-directory-section{border:1px solid var(--line,#d3e5f0);border-radius:10px;background:#fff;margin-bottom:16px}
.room-directory-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--mist-blue,#eaf3f8);border-radius:10px 10px 0 0}
.room-directory-section h4{margin:0;font-size:18px}.room-directory-section>header>span{font-size:13px;color:#526b82}
.room-directory-scroll{overflow:auto}.room-directory-table{width:100%;min-width:850px;border-collapse:collapse;table-layout:fixed}
.room-directory-table th,.room-directory-table td{padding:12px;text-align:left;border-bottom:1px solid #d3e5f0;vertical-align:middle;overflow-wrap:anywhere}
.room-directory-table th{font-weight:600;background:#f4f8fb}.room-directory-table th:first-child{width:17%}.room-directory-table th:nth-child(2){width:20%}.room-directory-table th:last-child{width:25%}
body .room-directory-table .parameter-location{display:table-row;padding:0;opacity:1}.room-directory-table td small{display:block;color:#526b82;margin-top:4px}
.room-directory-table tr:last-child td{border-bottom:0}.room-directory-table .parameter-location-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.room-retired-badge{color:#687586;white-space:nowrap}.room-directory-retired{margin-bottom:0}.room-directory-retired td{background:#f7f8fa;color:#596574}
body .ui-asset-model-spec{display:grid;gap:4px}body .ui-asset-model-spec>span{display:block;overflow-wrap:anywhere}
body #assetResults .asset-card-model-spec{grid-column:1/-1;min-width:0;color:#263b50;font-weight:500}
body #assetResults .asset-card-model-spec>span{color:inherit}
.filing-photo-choice{position:relative;display:inline-flex;flex-direction:column;gap:4px;padding-bottom:4px}.filing-photo-choice .photo-thumb-remove{position:static;align-self:flex-end;min-width:44px;min-height:36px;margin:0;font-size:14px}
/* The dialog frame never scrolls out of the viewport. Its header stays outside
   the single body scroller, above the sticky application shell. */
body .modal.modal-filing-need{z-index:410;display:flex;flex-direction:column;top:50%;height:min(90dvh,1000px);max-height:calc(100dvh - 24px);overflow:hidden}
body .modal.modal-filing-need.hidden{display:none}
.modal-filing-need>.modal-head{position:relative;flex:0 0 auto;top:auto}
.modal-filing-need>#modalBody{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding:16px}
body #modalBackdrop:has(+.modal-filing-need){z-index:400}
.task-kind{display:inline-flex;align-items:center;gap:4px;border:1px solid #bfd4e6;border-radius:5px;padding:2px 6px;font-size:13px;line-height:1.4;color:#265c90;background:#edf5fd;white-space:nowrap}
.task-kind svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.task-kind.notice{color:#785111;background:#fff6e5;border-color:#e3c58e}
.action-success-confirmation{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;box-sizing:border-box;width:min(340px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #c7decb;border-radius:12px;background:#fff;color:#263b50;text-align:center;box-shadow:0 16px 64px #142e4555;z-index:10000;animation:action-confirm-in .18s ease-out}
.action-success-confirmation svg{display:block;width:76px;height:76px;margin:0 auto 16px;fill:none;stroke:#5a9d4e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.action-success-confirmation svg circle{stroke:#e0eed9;stroke-width:3}
.action-success-confirmation h2{font-size:22px;margin:0 0 12px}.action-success-confirmation p{font-size:15px;line-height:1.6;overflow-wrap:anywhere;margin:0}
@keyframes action-confirm-in{from{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}
@media(prefers-reduced-motion:reduce){.action-success-confirmation{animation:none}}
body #taskFilters.task-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,.85fr) minmax(155px,1.1fr) minmax(135px,.9fr) minmax(125px,.8fr) auto auto;align-items:end;gap:8px}
body #taskFilters.task-filter-mine{grid-template-columns:minmax(200px,2fr) minmax(130px,.85fr) minmax(165px,1.1fr) minmax(135px,.8fr) auto auto}
body #taskFilters>label{min-width:0}
.claim-policy-preview-grid:has(figure:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.claim-policy-preview-set+.claim-policy-preview-set{margin-top:18px;padding-top:16px;border-top:1px solid #d3e5f0}
.claim-policy-preview-set h4{margin:0 0 10px;color:#245d91;font-size:14px}
.claim-policy-preview figure{min-width:0}.claim-policy-preview img{cursor:zoom-in}
.policy-image-open{display:block;width:100%;min-height:44px;padding:8px;border:1px solid #bfd4e6;border-radius:8px;background:#fff;cursor:zoom-in;text-align:center}.policy-image-open img{display:block;width:min(200px,100%);height:auto;margin:auto}.policy-image-open:focus-visible{outline:2px solid #265c90;outline-offset:3px}
.claim-policy-preview-controls{display:flex;align-items:center;gap:10px}.claim-policy-preview-close{width:44px;height:44px;border:1px solid #bfd4e6;border-radius:8px;background:#fff;color:#245d91;font-size:22px;line-height:1;cursor:pointer}.claim-policy-preview-close:hover{background:#e5f1fa}.claim-policy-preview-close:focus-visible{outline:2px solid #265c90;outline-offset:2px}
body .claim-policy-example{min-height:44px;padding:7px 5px}
@media(max-width:900px){.claim-policy-preview-grid:has(figure:nth-child(3)){grid-template-columns:1fr}.room-directory-section>header{align-items:flex-start}.room-directory-section h4{font-size:16px}}
@media(max-width:1150px){body #taskFilters.task-filters,body #taskFilters.task-filter-mine{grid-template-columns:repeat(2,minmax(0,1fr))}body #taskFilters>label:first-child{grid-column:1/-1}}
@media(pointer:coarse),(max-width:680px){.filing-photo-choice .photo-thumb-remove{min-height:48px}.room-directory-table .btn{min-height:44px}.modal.modal-filing-need{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}

/* V18.3.8: six compact cards on a wide desktop, with stable metadata alignment. */
body #assetResults.asset-grid:not(.asset-compact){grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch}
body #assetResults.asset-grid:not(.asset-compact) .asset-card{min-width:0}
body #assetResults.asset-grid:not(.asset-compact) .asset-meta{grid-template-columns:3em minmax(0,1fr);gap:5px 4px}
body #assetResults.asset-grid:not(.asset-compact) .asset-meta>span{white-space:nowrap}
body #assetResults.asset-grid:not(.asset-compact) .asset-meta>b{min-width:0;overflow-wrap:anywhere}
body #assetResults.asset-grid:not(.asset-compact) .asset-info{padding:10px 12px 12px}
@media(min-width:1700px){body #assetResults.asset-grid:not(.asset-compact){grid-template-columns:repeat(6,minmax(0,1fr))!important}body #assetResults.asset-grid:not(.asset-compact) .asset-photo{height:145px}}
@media(max-width:1299px){body #assetResults.asset-grid:not(.asset-compact){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:999px){body #assetResults.asset-grid:not(.asset-compact){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){body #assetResults.asset-grid:not(.asset-compact){grid-template-columns:1fr!important}}

/* Room identity, area and retirement date are separate, scan-friendly columns. */
body .room-directory-table{min-width:1180px;table-layout:auto}
body .room-directory-table th,body .room-directory-table td{padding:9px 10px}
body .room-directory-table th:nth-child(n){width:auto}
body .room-directory-table th:nth-child(1){min-width:135px}
body .room-directory-table th:nth-child(2){min-width:90px}
body .room-directory-table th:nth-child(3){min-width:145px}
body .room-directory-table th:nth-child(4){min-width:88px}
body .room-directory-table th:nth-child(7){min-width:95px}
body .room-directory-table th:nth-child(8){min-width:145px}
body .room-directory-table th:last-child{min-width:260px}
.room-directory-table .room-warehouse-yes{color:#b4232d;font-weight:750}
body .room-directory-table .parameter-location-actions{gap:5px;flex-wrap:nowrap}

body #locationCreateForm .location-compact-form{display:grid;grid-template-columns:180px 150px 105px 170px 140px minmax(0,1fr);column-gap:9px;row-gap:9px}
body #locationCreateForm .location-compact-form>label{min-width:0;margin:0}
body #locationCreateForm .location-compact-form>label :is(input,select){width:100%;min-width:0}
body #locationCreateForm .location-compact-form #pmLocLuggage,body #locationCreateForm .location-compact-form #pmLocWarehouse{width:78px}
body .location-utility-fields{gap:7px;padding:9px}
body .location-utility-fields>.location-utility-heading{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap}
body .location-utility-fields>.location-utility-heading span{font-size:12px;color:#526b82}
body .location-utility-fields .energy-service-switches label{min-height:36px;padding:5px 10px}
.person-trajectory-option{display:grid;align-content:start;gap:5px;min-width:0}
.person-trajectory-option>span{display:flex;align-items:center;gap:7px;min-height:36px}
body .person-trajectory-option input[type=checkbox]{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;accent-color:#245d91}
.person-trajectory-option small{display:block;color:#526b82;font-size:12px;line-height:1.45}
@media(max-width:1180px){body #locationCreateForm .location-compact-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){body #locationCreateForm .location-compact-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body #locationCreateForm .location-compact-form{grid-template-columns:1fr}}

/* In expanded/full-screen mode the sidebar already names the page. */
@media(min-width:921px) and (hover:hover) and (pointer:fine){
  html body .app-shell.hy-sidebar-expanded .main>.topbar:has(>.page-header-actions.field-empty){display:none!important}
  html body .app-shell.hy-sidebar-expanded .main>.topbar:not(:has(>.page-header-actions.field-empty)){min-height:48px!important;margin-bottom:8px;padding-block:4px!important}
}


/* required-fields.css */
/* Required markers belong to the caption. Validation messages stay beside the field. */
body .hy-required-label::before,body .hy-required-label::after{content:none!important;display:none!important}
body :is(.lost-found-register-modal,.lost-found-detail-modal,.lost-found-action-modal) .hy-required-label::before,
body .modal-network-edit .network-form-grid>.hy-required-label::before,
body .network-payment-form>.hy-required-label::before{content:none!important;display:none!important}
body .hy-required-label .required-mark,body .hy-required-label .filing-field-badge.is-required{display:none!important}
.hy-required-star{display:inline!important;color:#c92b32;font-weight:600;white-space:nowrap}
.hy-required-tail{display:inline!important;white-space:nowrap}
.hy-field-error{display:block;grid-column:1/-1;margin:4px 0 0;color:#a92031;font-size:12px;font-weight:650;line-height:1.4}


/* network-ledger.css */
.network-view-switch{display:inline-flex!important;align-items:center!important;gap:3px!important;padding:3px;border:1px solid #d8e4ef;border-radius:9px;background:#f5f8fc}
.network-view-switch .btn{min-height:34px;border:0;box-shadow:none;color:#2e5b86;background:transparent}
.network-view-switch .btn.active,.network-view-switch .btn[aria-pressed="true"]{background:#285f92;color:#fff}
.network-view-switch .btn:focus-visible{outline:2px solid #285f92;outline-offset:2px}
.network-asset-list.network-table-mode{display:block;min-width:0}
.network-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #dbe6ef;border-radius:10px}
.network-ledger-table{width:100%;min-width:1170px;border-collapse:collapse;text-align:left;font-size:13px}
.network-ledger-table th{padding:11px 12px;background:#edf5fb;color:#365979;font-weight:700;white-space:nowrap}
.network-ledger-table td{padding:12px;border-top:1px solid #e0e9f1;color:#1d3555;vertical-align:middle;white-space:nowrap}
.network-ledger-table td:first-child b,.network-ledger-table td:nth-child(2) b{display:block}
.network-ledger-table td small{display:block;margin-top:4px;color:#617994;font-size:12px}
.network-ledger-table tbody tr{cursor:pointer}
.network-ledger-table tbody tr:hover{background:#f3f8fc}
.network-ledger-table tbody tr:focus-visible{outline:2px solid #286aa9;outline-offset:-2px}
.network-ledger-table td:nth-child(3) .network-due-badge{margin-top:5px}
.network-ledger-table .row-actions{display:flex;gap:5px;align-items:center}
.network-ledger-table .row-actions .btn{min-height:32px;padding:5px 8px;white-space:nowrap}
.page .network-asset-kpis>button.active{background:#285f92!important;border-color:#285f92!important;box-shadow:0 4px 12px #153b6429!important;color:#fff!important}
.page .network-asset-kpis>button.active :is(small,b,span){color:#fff!important}
.page .network-asset-list:not(.network-table-mode){grid-template-columns:repeat(auto-fill,minmax(min(100%,440px),1fr))}
.page .network-asset-list:not(.network-table-mode)>.network-line-card{width:100%;max-width:520px}
.page .network-asset-list:not(.network-table-mode)>.network-line-card:hover,
.page .network-asset-list:not(.network-table-mode)>.network-line-card:focus-visible{border-color:#5a9dda;box-shadow:0 8px 20px rgba(31,95,151,.14);transform:translateY(-2px)}
.page .network-asset-list:not(.network-table-mode)>.network-line-card.overdue:hover,
.page .network-asset-list:not(.network-table-mode)>.network-line-card.overdue:focus-visible{border-color:#5a9dda;box-shadow:inset 4px 0 #c64c3c,0 8px 20px rgba(31,95,151,.14)}
@media (min-width:921px) and (pointer:fine){
  body .sidebar #nav{gap:0!important;padding-top:5px!important}
  html body .sidebar #nav button{min-height:38px;padding:6px 10px!important;line-height:1.25}
  body .sidebar #nav .nav-group-label{height:24px;margin-top:5px;padding-top:4px;padding-bottom:2px}
}
@media (max-width:640px){.network-list-head{align-items:stretch}.network-view-switch{align-self:flex-end}}


/* login-background.css */
/* The photo is decorative and loaded only for a desktop login visit. */
/* Original R15 operations artwork replaces the old logo and duplicate headings. */
.login-icp{display:none}
@media(min-width:921px){
  #loginView.login-shell{position:relative;min-height:100dvh;padding:36px 16px 64px}
  #loginView .login-icp{display:block;position:absolute;z-index:1;left:16px;right:16px;bottom:18px;text-align:center;font-size:13px;line-height:1.5}
  #loginView .login-icp a{display:inline-block;padding:4px 8px;color:var(--mist-ink,#263b50);text-decoration:none;border-radius:4px}
  :root[data-hy-login-photo] #loginView .login-icp a{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.7)}
  #loginView .login-icp a:hover{text-decoration:underline;text-underline-offset:3px}
  #loginView .login-icp a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
}
#loginView .login-logo{width:100%;height:auto;max-height:none;aspect-ratio:2400/556;object-fit:contain;object-position:left center;margin:0 0 20px}
#loginView .login-card{max-width:480px;padding-top:24px}
#loginView .login-content{
  position:relative;z-index:1;display:grid;justify-items:center;gap:16px;width:100%;min-width:0
}
#loginView .login-system-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:0 12px;max-width:100%;padding:4px 10px;
  border:1px solid var(--hy-ui-line,#dde4ed);border-radius:6px;background:rgba(248,251,254,.95)
}
#loginView .login-system-links a{
  display:inline-flex;align-items:center;min-height:32px;padding-inline:4px;white-space:nowrap;
  color:#1c4d81;font-size:12px;text-decoration:underline;text-underline-offset:3px
}
#loginView .login-system-links a:hover{color:#153c65}
#loginView .login-account .login-field-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:920px){#loginView .login-card{padding-top:14px}}
@media(max-height:650px){#loginView .login-logo{max-height:62px;margin-bottom:10px}}
html body .sidebar .brand{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:3px;flex:0 0 92px;height:92px;min-height:92px;padding:10px 12px!important}
html body .sidebar .sidebar-logo{display:block;width:100%;height:auto;max-height:52px;aspect-ratio:2400/556;flex:none;object-fit:contain;object-position:left center;padding:0;background:transparent;border-radius:0}
html body .sidebar .brand .brand-copy{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:0;align-self:auto}
html body .sidebar .brand .brand-copy .online-pill{position:static;right:auto;bottom:auto;flex:none}
html body .sidebar .brand .brand-copy .web-version-link{align-self:center}
@media(pointer:coarse){html body .sidebar .brand{padding-right:36px!important}}
@media (min-width: 921px) and (hover: hover) and (pointer: fine) {
  #loginView.login-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  :root[data-hy-login-photo] #loginView.login-shell::before {
    content: "";
    position: absolute;
    inset: -14px;
    z-index: 0;
    background-image: var(--login-background-photo);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(5px);
  }
  :root[data-hy-login-photo] #loginView.login-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(16, 38, 68, .28);
  }
  #loginView .login-card {
    position: relative;
    z-index: 1;
    background: rgba(248, 251, 254, .95);
    box-shadow: 0 24px 70px rgba(7, 25, 51, .28);
  }
}


/* company-announcements.css */
.company-announcement-bar[hidden],.company-announcement-panel [hidden]{display:none!important}
.task-tabs [hidden]{display:none!important}
.company-announcement-bar{position:sticky;top:0;z-index:18;display:flex;align-items:center;gap:10px;min-height:42px;margin:0 -24px 8px;padding:4px 24px;border-bottom:1px solid #c4d6e7;background:#eaf3f8;color:#263b50;box-sizing:border-box}
.company-announcement-mark{flex:none;padding:3px 8px;border-radius:6px;background:#285d91;color:#fff;font-size:12px;font-weight:700}
.company-announcement-open{flex:1;min-width:0;min-height:32px;border:0;background:transparent;color:#244f7c;text-align:left;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.company-announcement-open:hover{color:#17446f;text-decoration:underline}
.company-announcement-open:focus-visible,.company-announcement-pause:focus-visible,.company-announcement-panel button:focus-visible{outline:2px solid #245f9a;outline-offset:2px}
.company-announcement-viewport{display:block;overflow:hidden;white-space:nowrap}
.company-announcement-track{display:inline-block;min-width:100%;white-space:nowrap;animation:hy-announcement-roll var(--announcement-duration,24s) linear infinite}
.company-announcement-bar:hover .company-announcement-track,.company-announcement-bar:focus-within .company-announcement-track,.company-announcement-bar.is-paused .company-announcement-track{animation-play-state:paused}
.company-announcement-pause{flex:none;min-width:44px;min-height:32px;padding:3px 8px;border:1px solid #9bb7d0;border-radius:7px;background:#fff;color:#285d91;font:inherit;font-size:12px;cursor:pointer}
@keyframes hy-announcement-roll{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.company-announcement-track{animation:none;transform:none;overflow:hidden;text-overflow:ellipsis;max-width:100%}.company-announcement-pause{display:none}}
.company-announcement-panel{min-width:0}
.company-announcement-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.company-announcement-heading>div:first-child{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.company-announcement-heading h2{margin:0;color:#263b50;font-size:18px}
.company-announcement-tools{display:flex;gap:8px;flex-wrap:wrap}
.company-announcement-status{margin:4px 0 10px;color:#a23c30}
.company-announcement-status:empty{display:none}
.company-announcement-form{display:grid;gap:12px;margin:12px 0 16px;padding:16px;border:1px solid #cbdbea;border-radius:10px;background:#f8fbfd}
.company-announcement-form h3{margin:0;font-size:16px}
.company-announcement-form>label:not(.company-announcement-pin),.company-announcement-times label{display:grid;gap:4px;color:#263b50;font-weight:600}
.company-announcement-form input:not([type=checkbox]),.company-announcement-form textarea{width:100%;min-width:0;box-sizing:border-box;min-height:36px;padding:7px 10px;border:1px solid #738aa0;border-radius:7px;background:#fff;color:#263b50;font:inherit;font-size:13px}
.company-announcement-form textarea{resize:vertical;min-height:116px;line-height:1.5}
.company-announcement-pin{display:flex;align-items:center;gap:8px;min-height:36px;cursor:pointer}
.company-announcement-pin input{width:18px;height:18px;accent-color:#285d91}
.company-announcement-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:720px}
.company-announcement-form .muted{margin:0;font-size:12px}
.company-announcement-form-actions{display:flex;justify-content:flex-end;gap:8px}
.company-announcement-list{display:grid;gap:12px}
.company-announcement-card{padding:16px;border:1px solid #cbdbea;border-radius:10px;background:#fff;overflow-wrap:anywhere}
.company-announcement-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.company-announcement-card h3{margin:0;color:#263b50;font-size:16px}
.company-announcement-badges{display:flex;flex:none;gap:6px}
.company-announcement-body{max-width:78ch;margin:12px 0;white-space:pre-wrap;line-height:1.5}
.company-announcement-card small{color:#60768a;font-size:12px}
@media(max-width:920px),(hover:none) and (pointer:coarse){.company-announcement-form input:not([type=checkbox]),.company-announcement-form textarea{min-height:44px;font-size:16px}.company-announcement-tools .btn,.company-announcement-form-actions .btn{min-height:44px}.company-announcement-pin{min-height:44px}}
@media(max-width:600px){.company-announcement-heading,.company-announcement-card-top{align-items:stretch;flex-direction:column}.company-announcement-times{grid-template-columns:1fr}.company-announcement-tools .btn{flex:1}.company-announcement-badges{flex-wrap:wrap}}
/* V18.3.8: compact metadata list, author actions and a small rich-text editor. */
.announcement-important{color:#b32232!important;font-weight:750!important}
.company-announcement-table{width:100%;min-width:0;max-width:100%;border-collapse:collapse;table-layout:fixed;background:#fff;border:1px solid #cbdbea;border-radius:10px;overflow:hidden}
.company-announcement-table th,.company-announcement-table td{padding:11px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #dce6ef;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.company-announcement-table th{background:#eef5fa;color:#506c85;font-weight:650}
.company-announcement-table th{box-sizing:border-box}.company-announcement-table th:nth-child(1){width:9%}.company-announcement-table th:nth-child(2){width:25%}.company-announcement-table th:nth-child(3){width:9%}.company-announcement-table th:nth-child(4){width:25%}.company-announcement-table th:nth-child(5){width:16%}.company-announcement-table th:nth-child(6){width:16%}
.company-announcement-table tbody tr:hover{background:#f6faff}
.announcement-title{display:inline-block;vertical-align:middle;max-width:100%;min-height:32px;padding:0;border:0;background:transparent;text-align:left;color:#285d91;font:inherit;line-height:inherit;font-weight:650;cursor:pointer;overflow-wrap:anywhere}
.announcement-title:hover{text-decoration:underline}
.company-announcement-form fieldset{display:grid;gap:12px;min-width:0;margin:0;padding:0;border:0}
.company-announcement-title-fields{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px}
.company-announcement-title-fields label{display:grid;gap:4px;font-weight:600}
.company-announcement-times label,.company-announcement-title-fields label{min-width:0;grid-template-rows:auto auto;align-content:start}
.company-announcement-times .field-label,.company-announcement-title-fields .field-label{display:block;line-height:1.5}
.company-announcement-form .company-announcement-times input,.company-announcement-form .company-announcement-title-fields input,.company-announcement-form .company-announcement-title-fields select{margin:0!important;height:40px!important;min-height:40px!important}
.company-announcement-form select{width:100%;min-width:0;box-sizing:border-box;min-height:36px;border:1px solid #738aa0;border-radius:7px;background:#fff;color:#263b50;font:inherit;font-size:13px;padding:6px 9px}
.announcement-editor-field{min-width:0;display:grid;gap:5px}
.announcement-editor-field>label{font-weight:600}
.announcement-editor-toolbar{display:flex;gap:4px;flex-wrap:wrap;padding:6px;border:1px solid #cbdbea;border-radius:7px;background:#eef5fa}
.announcement-editor-toolbar button{min-height:32px;padding:4px 9px;border:1px solid transparent;border-radius:5px;background:#fff;color:#285d91;font:inherit;font-size:13px;cursor:pointer}
.announcement-editor-toolbar button:hover{border-color:#6f99bf}
.announcement-editor-toolbar button:disabled{opacity:.45;cursor:default}
.announcement-editor{min-height:150px;max-height:360px;overflow:auto;padding:10px 12px;box-sizing:border-box;border:1px solid #dc535b;border-radius:7px;background:#fffafa;color:#263b50;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.announcement-editor:focus{outline:2px solid #245f9a;outline-offset:2px}
.announcement-editor[contenteditable=false]{background:#eef2f6;color:#506c85}
.announcement-editor-field .hy-field-error:empty{display:none}
.announcement-editor p,.announcement-rich-body p{margin:.5em 0}
.announcement-editor ul,.announcement-editor ol,.announcement-rich-body ul,.announcement-rich-body ol{padding-left:1.8em}
.company-announcement-detail h3{margin:0 0 12px;font-size:20px;line-height:1.5;overflow-wrap:anywhere}
.company-announcement-detail>p{margin:0 0 6px}
.company-announcement-detail dl{display:grid;gap:6px;font-size:13px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #dce6ef}
.company-announcement-detail dl>div{display:flex;gap:10px}.company-announcement-detail dt{flex:none;min-width:64px;color:#60768a}.company-announcement-detail dd{margin:0;overflow-wrap:anywhere}
.announcement-rich-body{max-width:78ch;line-height:1.65;font-size:15px;overflow-wrap:anywhere}
.announcement-rich-body h2{font-size:19px}.announcement-rich-body h3{font-size:17px}.announcement-rich-body blockquote{border-left:3px solid #b7cee1;margin:10px 0;padding-left:12px}
@media(max-width:920px),(pointer:coarse){.company-announcement-form select,.announcement-editor-toolbar button,.announcement-title{min-height:44px}.company-announcement-form select,.announcement-editor{font-size:16px}}
@media(max-width:920px),(pointer:coarse){body #companyAnnouncementForm .company-announcement-times input,body #companyAnnouncementForm .company-announcement-title-fields input,body #companyAnnouncementForm .company-announcement-title-fields select{height:44px!important;min-height:44px!important;font-size:16px}}
@media(max-width:920px){.company-announcement-title-fields{grid-template-columns:1fr}.company-announcement-table,.company-announcement-table tbody{display:block}.company-announcement-table thead{display:none}.company-announcement-table tr{display:block;padding:8px 12px;border-bottom:1px solid #cbdbea}.company-announcement-table td{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;padding:5px 0;border:0;width:auto!important}.company-announcement-table td:before{content:attr(data-label);color:#60768a;font-size:12px}.company-announcement-detail dl>div{flex-wrap:wrap}}


/* compact-workspace-ui.css */
/* Compact filing controls, with original business fields retained. */
body #assetCreateForm :is(.form-section-title,.filing-label-text,.field-label){font-weight:700}
body #assetCreateForm :is(input,select,textarea){font-weight:400}
body #assetCreateForm .form-section-title small{font-weight:400}
body #assetCreateForm .nameplate-help{font-size:12px;color:#526b80;line-height:1.5}
body #assetCreateForm .filing-nameplate-step .upload-box{min-height:0;padding:0;border:0}
body #assetCreateForm .filing-nameplate-step .upload-trigger{grid-column:2}
body #assetCreateForm .procurement-core-grid{grid-template-columns:minmax(0,1fr);align-items:start}
body #assetCreateForm .procurement-core-grid>label:has(#acName){grid-column:1/-1!important;grid-row:1}
body #assetCreateForm #acCategoryPicker{grid-column:1/-1;grid-row:2;width:100%}
body #assetCreateForm .filing-category-picker{position:relative;min-width:0;display:grid;gap:5px}
body #assetCreateForm #acAssetParameters{order:0}
body #assetCreateForm .filing-category-picker>.filing-label-text{min-height:32px;display:flex;align-items:end;gap:4px;font-size:13px}
body #assetCreateForm #acCategoryPickerToggle{width:100%;justify-content:space-between;text-align:left;background:#fff;border:1px solid #dc5a62}
body #assetCreateForm #acCategoryPickerToggle[aria-invalid=false]{border-color:#b5c4d1}
body #assetCreateForm .filing-product-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body #assetCreateForm .filing-product-grid>label{min-width:0;display:grid;gap:5px;margin:0;grid-template-rows:32px 36px}
body #assetCreateForm .filing-product-grid .filing-label-text{display:flex;align-items:end;font-size:13px}
body #assetCreateForm .filing-product-grid input{width:100%;min-width:0}
body #assetCreateForm .filing-purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.filing-category-menu{position:absolute;top:100%;left:0;right:0;z-index:180;background:#fff;border:1px solid #9db4c8;border-radius:7px;box-shadow:0 6px 20px #263b5026;overflow:hidden;min-width:min(280px,100%)}
.filing-category-menu-head{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #dce3e9;color:#263b50}
.filing-category-menu-head button{border:0;background:transparent;color:#315d85;padding:5px;cursor:pointer}
.filing-category-menu [role=listbox]{max-height:270px;overflow:auto;padding:5px}
.filing-category-menu [role=option]{display:block;width:100%;min-height:36px;text-align:left;border:0;border-radius:5px;padding:8px 10px;background:#fff;color:#263b50;cursor:pointer}
.filing-category-menu [role=option]:is(:hover,[aria-selected=true]){background:#eaf1f7}
.filing-category-menu [role=option]:focus-visible,.desktop-menu-trigger:focus-visible{outline:2px solid #41688f;outline-offset:-2px}
.filing-category-menu p{margin:8px;color:#526b80}
.filing-required-star{color:#c73c48}
#desktopMenuRail{display:none}
.desktop-menu-group{display:contents}
#sidebarBrand .sidebar-rail-logo{display:none}
#sidebarBrand .sidebar-home{display:inline-flex;align-items:center;justify-content:center;flex:0 0 50px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;cursor:pointer}
#sidebarBrand .sidebar-home:focus-visible{outline:2px solid #41688f;outline-offset:1px;border-radius:6px}
#moreSystemsToggle{display:none}
#sidebarBrand>.sidebar-environment {
 flex:0 0 auto;
 display:inline-block;
 padding:2px 6px;
 border-radius:4px;
 font-size:10px;
 font-weight:600;
 line-height:14px;
 white-space:nowrap;
}
#sidebarBrand>.sidebar-environment[hidden] {display:none}
.sidebar-environment[data-environment="production"] {background:#dcf1e5;color:#185639}
.sidebar-environment[data-environment="test"] {background:#ffedc6;color:#724300}
html[data-hy-theme="night"] .sidebar-environment[data-environment="production"] {background:#244b3d;color:#d8f5e4}
html[data-hy-theme="night"] .sidebar-environment[data-environment="test"] {background:#59441f;color:#ffe6af}

#moreSystemsMenu{
  display:none;position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(216px,calc(100vw - 78px));
  max-height:calc(100dvh - 16px);overflow:auto;padding:6px;
  background:#16264b;border:1px solid #34456b;border-radius:0 6px 6px 0;box-shadow:10px 8px 24px #172c4a33
}
#moreSystemsMenu:popover-open{display:grid;gap:2px}
#moreSystemsMenu a{
  display:flex;align-items:center;min-height:36px;padding:6px 10px;border-radius:6px;
  color:#e4ecf9;font-size:12px;text-decoration:underline;text-underline-offset:3px
}
#moreSystemsMenu a:is(:hover,:focus-visible){background:#285e8c;color:#fff}
#moreSystemsMenu a:focus-visible{outline:2px solid #b8cbea;outline-offset:-2px}
@media(min-width:600px) and (hover:hover) and (pointer:fine), (min-width:1101px){
 html body .app-shell.hy-sidebar-rail .sidebar{width:70px!important;clip-path:none!important;overflow:visible!important;box-shadow:none!important}
 html body .app-shell.hy-sidebar-rail .main{margin-left:70px!important;width:calc(100% - 70px)!important}
 html body .app-shell.hy-sidebar-rail .sidebar .brand{height:78px!important;min-height:78px!important;overflow:hidden;padding:0!important}
 html body .hy-sidebar-rail .sidebar .brand>img,html body .hy-sidebar-rail .sidebar .brand>div{visibility:hidden!important}
 html body .hy-sidebar-rail .sidebar .brand::before{display:block!important}
 html body .hy-sidebar-rail #desktopMenuRail{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;align-items:center;gap:10px;padding:10px 6px;overflow-y:auto;scrollbar-width:thin}
 .desktop-menu-trigger{display:grid;place-items:center;align-content:center;gap:5px;width:52px;min-height:64px;flex-shrink:0;padding:8px 4px;border:0;border-radius:9px;background:transparent;color:#b8cbea;cursor:pointer}
 .desktop-menu-short-label{font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap}
 .desktop-menu-trigger:is(:hover,.active,[aria-expanded=true]){background:#285e8c;color:#fff}
 .desktop-menu-trigger .nav-icon{width:26px;height:26px;display:grid;place-items:center;font-size:24px}
 .desktop-menu-trigger svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 html body .hy-sidebar-rail .sidebar #nav{display:contents!important}
 html body .hy-sidebar-rail #nav .desktop-menu-group{display:none;position:fixed;left:70px;width:236px;max-height:calc(100dvh - 24px);overflow-y:auto;padding:10px;background:#16264b;border:1px solid #34456b;border-radius:0 9px 9px 0;box-shadow:10px 8px 24px #172c4a33;z-index:310}
 html body .hy-sidebar-rail #nav .desktop-menu-group.is-open{display:flex;flex-direction:column;gap:4px}
 html body .hy-sidebar-rail #nav .nav-group-label{font-size:12px!important;color:#aabbd8!important;padding:6px 10px 10px!important;margin:0!important}
 html body .hy-sidebar-rail #nav .nav-group-label::after{display:none!important}
 html body .hy-sidebar-rail #nav button{width:100%;min-height:40px;white-space:normal;overflow:visible!important}
 html body .hy-sidebar-rail #nav button>span:not(.nav-icon){opacity:1!important}
 html body .hy-sidebar-rail .account-summary,html body .hy-sidebar-rail .account-chevron{display:none!important}
 html body .hy-sidebar-rail .account-trigger{width:56px;margin:auto;padding:7px!important}
 html body .hy-sidebar-rail .account-menu{position:fixed!important;left:70px!important;bottom:10px!important;width:260px!important;z-index:320}
 html body .hy-sidebar-rail .sidebar #sidebarBrand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;flex:0 0 112px!important;height:112px!important;min-height:112px!important;padding:4px 0!important}
 html body .hy-sidebar-rail .sidebar #sidebarBrand:has(>.sidebar-environment:not([hidden])){flex-basis:132px!important;height:132px!important;min-height:132px!important}
 html body .hy-sidebar-rail .sidebar #sidebarBrand::before{display:none!important}
 html body .hy-sidebar-rail #sidebarBrand .sidebar-home{flex:0 0 44px;width:44px;height:44px;min-height:44px!important}
 html body .hy-sidebar-rail #sidebarBrand .sidebar-logo{display:none}
 html body .hy-sidebar-rail #sidebarBrand .sidebar-rail-logo{display:block;width:36px;height:36px;border-radius:8px}
 html body .hy-sidebar-rail #sidebarBrand>.brand-copy{position:static;display:flex;flex:0 0 auto;align-items:center;align-self:center;justify-content:center;visibility:visible!important;width:100%;padding:0!important}
 html body .hy-sidebar-rail #sidebarBrand #sidebarVersion{align-self:center;width:auto;min-width:0;min-height:24px!important;height:24px!important;padding:0 2px!important;font-size:12px;line-height:1.3;white-space:nowrap}
 html body .hy-sidebar-rail #sidebarBrand #onlinePill{display:none!important}
 .hy-sidebar-rail #moreSystemsToggle{
  display:block;flex:none;width:calc(100% - 8px);height:32px;padding:0;border:0;border-radius:5px;
  background:transparent;color:#245f9c;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer
 }
 .hy-sidebar-rail #moreSystemsToggle:is(:hover,[aria-expanded=true]){background:#edf4fb;text-decoration:underline;text-underline-offset:3px}
 .hy-sidebar-rail #moreSystemsToggle:focus-visible{outline:2px solid #245f9c;outline-offset:-2px}
}
@media(max-width:920px){body #assetCreateForm .filing-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body #assetCreateForm .filing-product-grid>label{grid-template-rows:32px 48px}body #assetCreateForm .filing-purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body #assetCreateForm .procurement-core-grid{grid-template-columns:minmax(0,1fr)}body #assetCreateForm #acCategoryPicker{grid-column:1;grid-row:auto}body #assetCreateForm .procurement-core-grid>label:has(#acName){grid-column:1/-1!important}body #assetCreateForm .filing-product-grid{grid-template-columns:minmax(0,1fr)}body #assetCreateForm .filing-nameplate-step .upload-trigger{grid-column:1}body #assetCreateForm .filing-category-picker>.filing-label-text{min-height:32px}}

/* Compact query choices and one consistent filing label level. */
body #assetCreateForm :is(.filing-label-text,.field-label){font-family:inherit;font-size:13px!important;font-weight:700!important;line-height:1.4}
body #assetCreateForm .filing-field-badge{font-size:10px!important;font-weight:400!important}
body #assetCreateForm .form-section-title{font-family:inherit;font-size:16px!important;font-weight:700!important}
body #assetCreateForm .filing-nameplate-step .upload-box-preview{grid-template-columns:max-content max-content minmax(0,1fr);justify-content:start;gap:8px}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>.upload-trigger{grid-column:1;justify-self:start;width:auto!important}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>.draft-photo-qr{grid-column:2;justify-self:start}
body #assetCreateForm #acNameplateAi{grid-column:1/-1;width:100%;max-width:none;box-sizing:border-box;text-align:left!important;margin:4px 0!important;padding:10px 12px!important;font-size:13px;line-height:1.45}
body #assetCreateForm #acNameplateAi p{margin:3px 0!important;text-align:left;line-height:1.45}
body #assetCreateForm #acNameplateAi strong{font-size:13px;font-weight:700}
body #assetCreateForm #acNameplateAi small{display:block;margin-top:5px;text-align:left;font-size:12px}
/* One always-visible query row; em budgets describe content, never input limits. */
body #page-assets .archive-filter-row{display:flex;flex-wrap:nowrap;gap:8px;align-items:end}
body #page-assets #assetMoreFilters{display:contents;padding:0;border:0;background:none}
body #page-assets .archive-filter-row .asset-filter-keyword{flex:1 1 190px;min-width:150px}
body #page-assets .archive-filter-row :is(.archive-room-picker,#assetOwnershipMenu,#assetPurchaseMonthMenu,label:has(>#fStatus),label:has(>#fWarranty)){flex:0 0 calc(6em + 34px);width:calc(6em + 34px);font-size:13px;min-width:0}
body #page-assets #assetCategoryMenu{flex:0 0 calc(10em + 34px);width:calc(10em + 34px);font-size:13px;min-width:0}
body #page-assets .archive-filter-row :is(input,select,.asset-filter-toggle){font-size:13px}
body #page-assets .archive-filter-row .asset-filter-toggle{display:block;text-align:left;padding:0 24px 0 10px}
body #page-assets .archive-filter-row .asset-filter-toggle>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body #page-assets :is(#fOwnership,#fStatus,#fWarranty){width:100%;max-width:100%;box-sizing:border-box}
body #page-assets .archive-filter-row>.btn{flex:0 0 auto}
@media(max-width:1150px){body #page-assets .archive-filter-row{flex-wrap:wrap}body #page-assets .archive-filter-row .asset-filter-keyword{flex-basis:100%}}
@media(max-width:800px){body #page-assets .archive-filter-row{gap:10px}body #page-assets .archive-filter-row :is(input,select,.asset-filter-toggle){min-height:44px;height:44px;font-size:16px}body #page-assets .archive-filter-row :is(.archive-room-picker,#assetOwnershipMenu,#assetPurchaseMonthMenu,label:has(>#fStatus),label:has(>#fWarranty),#assetCategoryMenu){flex:0 1 auto;max-width:100%}body #page-assets .archive-filter-row .asset-filter-keyword{width:100%}}
@media(max-width:920px),(pointer:coarse){body #assetCreateForm .filing-nameplate-step .upload-box-preview{grid-template-columns:max-content max-content minmax(0,1fr)}}

/* Date query controls share the same calendar without changing query values. */
.ui-date-range{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;align-self:end}
.ui-date-range>button{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;width:100%;height:36px;min-height:36px;padding:0 10px;border:1px solid #8ca6bd;border-radius:6px;background:#fff;color:#29445f;font-family:inherit;font-size:13px;font-weight:400;line-height:1.4;text-align:left;white-space:nowrap;cursor:pointer}
.ui-date-range>button>span:first-child{overflow:hidden;text-overflow:ellipsis}
.ui-date-range>button:focus-visible{outline:2px solid #315d85;outline-offset:2px}
.ui-date-range>button:disabled{opacity:.5;cursor:not-allowed}
.ui-date-range [hidden],.iv-range-panel[hidden]{display:none!important}
.iv-range-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0}
.iv-range-months>button{min-height:36px;border:0;border-radius:5px;background:#fff;color:#29445f;cursor:pointer;font:inherit}
.iv-range-months>button.range-edge{background:#285d91;color:#fff}.iv-range-months>button.range-inside{background:#e6f0f8}
.iv-range-months>button:disabled{opacity:.35;cursor:not-allowed}.iv-range-months>button:focus-visible{outline:2px solid #315d85;outline-offset:-2px}
.panel:has(.iv-range-panel:not([hidden])){position:relative;z-index:65}
body .iv-range-panel .iv-range-days>button{min-width:0!important;background:#fff!important;color:#25445c!important;font-size:12px!important;font-weight:400!important}
body .iv-range-panel .iv-range-days>button.other-month{color:#94a9ba!important}
body .iv-range-panel :is(.iv-range-days,.iv-range-months)>button.range-inside{background:#e8f1f9!important;color:#25445c!important}
body .iv-range-panel :is(.iv-range-days,.iv-range-months)>button.range-edge{background:#245e8f!important;color:#fff!important}
body .iv-range-panel .iv-range-month select{width:auto!important;min-width:0!important;flex:1;font-size:13px;font-weight:400}
body #page-assets #assetPurchaseMonthPanel{z-index:220}
@media(max-width:800px),(pointer:coarse){.ui-date-range>button{min-height:44px;height:44px}.iv-range-months>button,.iv-range-days>button{min-height:44px}.iv-range-panel{max-height:calc(100dvh - 24px);overflow:auto}}

/* Filing fields use the full row; explanations open beside their help controls. */
body #assetCreateForm .filing-step-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0 0 16px;padding:0;border:0;background:transparent}
body #assetCreateForm .filing-step-row>.form-section-title{grid-column:1/-1;margin:14px 0 0!important;padding-bottom:8px}
body #assetCreateForm .filing-nameplate-step>.form-section-title{margin-top:0!important}
.filing-step-main{min-width:0;align-self:start}
.filing-step-aside{min-width:0;align-self:start;box-sizing:border-box;padding:12px;border:1px solid #dce3e9;border-radius:7px;background:#f7f9fb;color:#526b80;font-size:13px;line-height:1.5}
.filing-step-aside:empty{display:none}
.filing-step-aside h4{margin:0 0 8px;color:#263b50;font-size:13px;font-weight:700;line-height:1.5}
.filing-step-aside h4:not(:first-child){margin-top:12px}
.filing-step-aside p{margin:6px 0;font-size:13px;line-height:1.5}
.filing-step-aside p:last-child{margin-bottom:0}
.filing-step-aside dl{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0}
.filing-step-aside dt{color:#263b50;font-weight:600;margin-top:7px}
.filing-step-aside dt:first-child{margin-top:0}
.filing-step-aside dd{margin:2px 0 0;overflow-wrap:anywhere}
body #assetCreateForm #acNameplateInsight{padding:0;background:transparent;border:0}
body #assetCreateForm #acNameplateAi{margin:0!important}
body #assetCreateForm #acNameplatePhotoPreview{grid-template-columns:minmax(0,1fr)!important}
body #assetCreateForm #acNameplatePhotoPreview .photo-thumb-wrap{flex:0 0 100%;width:100%;max-width:100%;min-width:0;margin:0!important}
body #assetCreateForm #acNameplatePhotoPreview .photo-thumb{width:100%;height:260px;max-height:340px;background-size:contain!important;background-position:center!important;background-repeat:no-repeat}
body #assetCreateForm #acCategoryAside .filing-category-info{padding:10px;margin-top:10px;background:#fff}
body #assetCreateForm #acCategoryAside .filing-tag-requirement{margin:10px 0}
body #assetCreateForm #acCategoryAside .filing-guide-preview .filing-photos button{width:100%;height:156px;background-size:contain!important;background-repeat:no-repeat}
body #assetCreateForm #acCategoryStatus:empty{display:none}
body #assetCreateForm .filing-quantity-layout{display:block}
body #assetCreateForm .filing-step-main>label{display:block;margin-top:10px}
body #assetCreateForm .filing-step-main>label>textarea{margin-top:5px}
body #assetCreateForm .filing-step-aside .filing-quantity-explanation{margin:0;font-size:13px;line-height:1.5}
body #assetCreateForm .procurement-submit-bar{width:100%;box-sizing:border-box}
body #assetCreateForm .filing-radio-options{clear:both;width:100%;box-sizing:border-box}
body #assetCreateForm .filing-help-trigger{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;min-height:24px;padding:0;margin:0 0 0 6px;border:0;border-radius:50%;background:transparent;color:#52708c;cursor:help;vertical-align:middle}body #assetCreateForm .filing-help-trigger:hover,body #assetCreateForm .filing-help-trigger[aria-expanded="true"]{background:#eaf2f8;color:#245f91}body #assetCreateForm .filing-help-trigger:focus-visible{outline:2px solid #28659b;outline-offset:2px}
body #assetCreateForm .filing-form-help-popover{position:fixed;inset:auto;margin:0;z-index:1000;width:360px;max-width:calc(100vw - 24px);overflow:auto;box-shadow:0 6px 24px #1934512b;background:#fff;font-weight:400}body #assetCreateForm .filing-form-help-popover::backdrop{background:transparent}body #assetCreateForm .filing-inline-preview{min-width:0;margin-top:8px}body #assetCreateForm .filing-inline-preview:has(>#acNameplatePhotoPreview[hidden]){display:none}body #assetCreateForm .filing-inline-preview .photo-thumb{max-width:360px;height:180px!important}
body #assetCreateForm .filing-appearance-upload .upload-box{min-height:64px;padding:12px;margin:8px 0}body #assetCreateForm .filing-radio-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;min-height:36px;padding:0;border:0;background:transparent}body #assetCreateForm .filing-radio-options label{display:inline-flex!important;align-items:center;gap:6px;flex:none;margin:0!important;padding:0!important;min-height:32px;cursor:pointer}body #assetCreateForm .filing-radio-options input[type="radio"]{position:static;opacity:1;pointer-events:auto;clip-path:none;inset:auto;appearance:auto;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;padding:0;margin:0;accent-color:#245f91}body #assetCreateForm .filing-radio-options label span{font-size:13px;line-height:1.5;color:inherit;background:transparent}body #assetCreateForm .filing-radio-options input:focus-visible{outline:2px solid #28659b;outline-offset:3px}
@media(max-width:767px){body #assetCreateForm .filing-radio-options label{min-height:44px}body #assetCreateForm .filing-help-trigger{width:28px;height:28px}}
@media(max-width:1100px){body #assetCreateForm .filing-step-row{grid-template-columns:minmax(0,1fr);gap:10px}.filing-step-aside{padding:10px}body #assetCreateForm .procurement-submit-bar{width:100%}body #assetCreateForm #acNameplatePhotoPreview .photo-thumb{height:220px}}

/* Each asset-type setting has its own tab; blank room status occupies no space. */
#assetCategoryPaneRequired .asset-primary-settings{max-width:540px}
#assetCategoryPaneParameters .asset-parameter-catalog{width:100%;box-sizing:border-box}
.archive-retire-workspace #retireRoomSummary:empty{display:none}

.category-operation-tabs{display:flex;gap:8px;margin:0 0 12px;flex-wrap:wrap}

#acmTagRequirementChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#acmTagRequirementChoices input[type=checkbox]{accent-color:#245e8f}
#acmSaveHelp:empty{display:none}
.tag-guide-editor-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.tag-guide-controls,.tag-guide-display{min-width:0}
body .tag-guide-editor-columns .tag-guide-upload-tools{display:flex;flex-wrap:wrap;align-items:end;gap:10px}
body .tag-guide-editor-columns .tag-guide-file{max-width:100%;flex:1;min-width:0}
body .tag-guide-editor-columns .tag-guide-file input{width:100%;max-width:100%;box-sizing:border-box}
body .tag-guide-editor-columns .tag-guide-instructions{display:flex;flex-direction:column;align-items:start;gap:5px;max-width:100%;margin-top:16px}
body .tag-guide-editor-columns .tag-guide-instructions input{width:100%;max-width:360px;box-sizing:border-box}
body .tag-guide-display .tag-guide-image{width:100%;height:260px;max-width:100%}
body .tag-guide-display .tag-guide-image img{width:100%;height:100%;object-fit:contain}
body .tag-guide-current.hidden{display:none!important}
.filing-label-child:has(#flePrintPage) [data-child-refresh]{display:none!important}
@media(max-width:800px){.tag-guide-editor-columns{grid-template-columns:minmax(0,1fr)}body .tag-guide-display .tag-guide-image{height:220px}#acmTagRequirementChoices label{min-height:44px}}

.filing-field-flag.required{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;padding:1px 4px;border:1px solid #efc4bf;border-radius:3px;background:#fff1f0;color:#a53131;font-size:11px;font-weight:400;line-height:1.4;white-space:nowrap}

/* Compact supplier filters preserve full option text and original business handlers. */
body #supplierFilters{grid-template-columns:minmax(180px,1fr) repeat(3,auto) auto auto;align-items:center;gap:8px}
body #supplierCategory,body #supplierPriority,body #supplierState{font-size:13px;width:calc(6em + 2.75rem);max-width:100%;min-width:0}
body #supplierFilters>.btn{white-space:nowrap}
body #supplierList .supplier-row.is-selected .supplier-row-name strong,body #supplierList .supplier-row.is-selected .supplier-row-name small,body #supplierList .supplier-row.is-selected .supplier-row-contact{color:#fff!important}
body #supplierList .supplier-row.is-selected .supplier-tag-pending{color:#8b5b09!important;background:#fff3dd!important}
body #supplierList .supplier-row.is-selected .supplier-tag-active{color:#23674b!important;background:#e9f6ef!important}
body #supplierList .supplier-row.is-selected .supplier-tag-rejected{color:#a33d3b!important;background:#fff0ef!important}
body #supplierList .supplier-row.is-selected .supplier-tag-inactive{color:#64717a!important;background:#edf1f4!important}
.supplier-actions-menu{position:relative}
.supplier-actions-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px}
.supplier-actions-menu>summary::-webkit-details-marker{display:none}
.supplier-actions-options{position:absolute;right:0;top:calc(100% + 6px);z-index:200;min-width:170px;padding:6px;display:grid;gap:4px;border:1px solid #c9dbe9;border-radius:8px;background:#fff;box-shadow:0 8px 24px #18364d22}
.supplier-actions-menu:not([open])>.supplier-actions-options{display:none}
.supplier-actions-options>.btn{width:100%;text-align:left;justify-content:flex-start;white-space:nowrap}
@media(max-width:800px){body #supplierFilters{grid-template-columns:repeat(2,minmax(0,1fr))}body #supplierFilters>input{grid-column:1/-1}body #supplierCategory,body #supplierPriority,body #supplierState{width:100%}.supplier-actions-options>.btn{min-height:44px}}

body #page-invoices #invoiceFilters>label{font-size:12px!important;font-weight:400!important;line-height:1.4}
body #page-invoices #invoiceFilters :is(input,select,summary){font-size:12px!important;font-weight:400!important;line-height:1.4}
body #page-invoices #invoiceFilters input::placeholder{font-size:12px;font-weight:400;color:#637d95;opacity:1}
body #page-invoices #invoiceFilters input::-webkit-datetime-edit{font-size:12px;font-weight:400}
body #page-invoices #invoiceFilters>.iv-date-range-filter{position:relative;display:flex;flex-direction:column;gap:5px;width:258px;font-size:12px;font-weight:400;min-width:0}
body #invoiceDateRangeToggle{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;height:36px;min-height:36px;border:1px solid #9bb6cf;border-radius:7px;background:#fff;color:#637d95;padding:7px 10px;text-align:left;font-size:12px;font-weight:400}
body #invoiceDateRangeToggle.has-range{color:#25445c}
#invoiceDateRange>input[hidden],#invoiceDateRangePanel[hidden],#ivClose[hidden]{display:none!important}
.iv-range-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:220;width:316px;max-width:calc(100vw - 32px);padding:12px;border:1px solid #c1d5e6;border-radius:10px;background:#fff;color:#25445c;box-shadow:0 12px 30px #1d3a5126;box-sizing:border-box}
.iv-range-month{display:flex;align-items:center;gap:6px;margin-bottom:9px}
body #invoiceFilters .iv-range-month select{width:auto;min-width:0;font-weight:400;flex:1;height:32px;min-height:32px;border:1px solid #cfdfec;border-radius:5px;background:#fff}
.iv-range-month>button{border:0;background:#f1f6fa;color:#25445c;border-radius:5px;width:30px;height:32px;font-size:20px;cursor:pointer}
.iv-range-parts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.iv-range-parts>button{min-height:30px;background:#f5f8fb;border:1px solid #ccdeec;border-radius:5px;color:#45617b;cursor:pointer}
.iv-range-parts>button[aria-pressed=true]{border-color:#245e8f;color:#245e8f;background:#eaf3fa}
.iv-range-value{font-size:11px;line-height:1.5;padding:7px 0;color:#526e87;min-height:17px}
.iv-range-week,.iv-range-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}
.iv-range-week{font-size:11px;color:#637d95;padding-bottom:5px}
.iv-range-days>button{width:100%;height:32px;padding:0;border:0;border-radius:5px;background:#fff;color:#25445c;font-size:12px;cursor:pointer}
.iv-range-days>button.other-month{color:#94a9ba}
.iv-range-days>button.range-inside{background:#e8f1f9}
.iv-range-days>button.range-edge{background:#245e8f;color:#fff}
.iv-range-days>button:focus-visible,.iv-range-month>button:focus-visible,.iv-range-parts>button:focus-visible{outline:2px solid #2c77b8;outline-offset:1px}
.iv-range-actions{display:flex;gap:8px;justify-content:space-between;border-top:1px solid #e0eaf2;margin-top:8px;padding-top:8px}
body #invoiceFilters .iv-range-actions .btn{min-height:32px;height:32px}
body .invoice-modal .modal-actions>.iv-item-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0;padding:0}
.iv-action-reference{font-size:12px;color:#526e87;overflow-wrap:anywhere}
@media(max-width:800px){body #page-invoices #invoiceFilters>.iv-date-range-filter{width:100%;flex-basis:100%}.iv-range-days>button{height:36px}body #invoiceFilters .iv-range-actions .btn{min-height:44px;height:44px}.iv-range-panel{position:fixed;left:50%;top:20%;transform:translateX(-50%);max-height:76dvh;overflow:auto}}

body #page-delivery .dy-parcel-table th:nth-child(1){width:4%}
body #page-delivery .dy-parcel-table th:nth-child(2){width:18%}
body #page-delivery .dy-parcel-table th:nth-child(3){width:9%}
body #page-delivery .dy-parcel-table th:nth-child(4){width:8%}
body #page-delivery .dy-parcel-table th:nth-child(5){width:24%}
body #page-delivery .dy-parcel-table th:nth-child(6){width:10%}
body #page-delivery .dy-parcel-table th:nth-child(7){width:11%}
body #page-delivery .dy-parcel-table th:nth-child(8){width:16%}
body #page-delivery .dy-parcel-table .dy-list-tracking{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(min-width:761px) and (max-width:1100px){body #page-delivery .dy-parcel-table{min-width:1060px}}
body .page-header-actions:has(#supplierActions[open]),body .main>.topbar:has(#supplierActions[open]){overflow:visible!important}

/* System-wide hover copy: one readable size, help pointer, keyboard equivalent. */
body [role=tooltip]{font:400 12px/1.5 var(--ui-font)!important;letter-spacing:normal;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;color:#24364d;background:#fff;border:1px solid #c4cdd7;border-radius:5px;box-shadow:none;padding:6px 9px}
body [title],body [data-ui-tooltip],body [data-ui-people],body [title] *,body [data-ui-tooltip] *,body [data-ui-people] *,body [aria-describedby~="uiButtonTooltip"],body [aria-describedby~="uiButtonTooltip"] *{cursor:help!important}
body #deliveryRecordsNote{display:none!important}
body #deliveryPaymentStatus{font-size:13px;width:calc(8em + 2.75rem);max-width:100%;flex:none}
@media(min-width:801px){body .delivery-records-view #deliveryFilters{display:flex;flex-wrap:wrap;align-items:center;gap:8px}body .delivery-records-view #deliveryQ{flex:0 1 calc(20em + 24px);width:calc(20em + 24px);max-width:calc(20em + 24px);min-width:160px;font-size:13px}body .delivery-records-view #deliveryMonth{width:140px;flex:none}body .delivery-records-view #deliveryParticipation{width:calc(8em + 2.75rem);flex:none}body .delivery-records-view #deliveryFilters>.btn{white-space:nowrap;flex:none}}
@media(min-width:1101px){body .dy-followup-header,body .dy-followup-row>button{grid-template-columns:minmax(0,1.2fr) minmax(0,1.1fr) minmax(0,.7fr) minmax(4em,.6fr) minmax(4em,.8fr) minmax(0,1.4fr) 6em 6em 5em;gap:10px}}
.dy-followup-tracking{overflow-wrap:anywhere}
body .dy-records-scroll{grid-column:1/-1;max-width:100%;min-width:0;overflow-x:auto}
body .dy-records-table{width:100%;min-width:1040px;table-layout:fixed}
body .dy-records-table col:nth-child(1){width:5%}body .dy-records-table col:nth-child(2){width:18%}body .dy-records-table col:nth-child(3){width:16%}body .dy-records-table col:nth-child(4){width:9%}body .dy-records-table col:nth-child(5){width:8%}body .dy-records-table col:nth-child(6){width:19%}body .dy-records-table col:nth-child(7){width:15%}body .dy-records-table col:nth-child(8){width:10%}
body .dy-records-table :is(th,td){font-size:13px;line-height:1.5;padding:10px;white-space:nowrap;vertical-align:middle;overflow-wrap:normal}
body .dy-records-table th{font-weight:600}
body .dy-records-table :is(td,strong,time,.dy-record-link,.dy-participation-text){font-size:13px;font-weight:400;line-height:1.5}
body .dy-records-table .dy-record-cell{display:block;width:100%;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
body .dy-records-table .dy-record-link{text-align:left;margin:0;padding:0;border:0;border-radius:0;background:transparent;min-height:24px}
body .dy-records-table .dy-record-link:focus-visible{outline:2px solid #41688f;outline-offset:-2px}
body .dy-records-table .dy-type{font-size:13px}
@media(max-width:800px){body .dy-records-table,body .dy-records-table tbody{display:table;width:100%;min-width:1040px}body .dy-records-table tbody{display:table-row-group}body .dy-records-table colgroup{display:table-column-group}body .dy-records-table thead{display:table-header-group;position:static;width:auto;height:auto;clip-path:none;overflow:visible}body .dy-records-table tr{display:table-row;padding:0;margin:0;border:0;background:transparent}body .dy-records-table td,body .dy-records-table td:first-child{display:table-cell;padding:10px;border:0;border-bottom:1px solid var(--line,#d3e5f0)}body .dy-records-table td::before{display:none}body .dy-records-table .dy-record-link{min-height:44px;line-height:44px}}
@media(max-width:800px){body .delivery-records-view .delivery-tabs{display:flex;flex-wrap:nowrap;max-width:100%;overflow-x:auto;box-sizing:border-box}body .delivery-records-view .delivery-tabs button{flex:0 0 auto;white-space:nowrap}}
@media(max-width:1100px){body .dy-followup-row>button{grid-template-columns:minmax(0,1fr);gap:8px}body .dy-followup-row>button>span{grid-column:1!important;grid-row:auto!important;justify-self:start}body .dy-followup-tracking::before{content:'单号：';color:#60768a}}
@media(max-width:800px){body #deliveryPaymentStatus{width:100%}}

body #deliveryPaymentStatus{width:calc(6em + 2.75rem)}
body #deliveryDateRange.dy-range-single{position:relative;display:flex;flex:none;width:258px;min-width:0;flex-direction:column;gap:5px}
body #deliveryDateRange.dy-range-single[hidden],#deliveryDateRange>input[hidden],#deliveryDateRangePanel[hidden]{display:none!important}
body #deliveryDateRangeToggle{display:flex;justify-content:space-between;align-items:center;width:100%;height:36px;border:1px solid #9bb6cf;border-radius:7px;background:#fff;color:#637d95;padding:7px 10px;text-align:left;font-size:12px;font-weight:400}
body #deliveryDateRangeToggle.has-range{color:#25445c}
body #deliveryFilters .iv-range-month select{width:auto;min-width:0;font-size:12px;font-weight:400;flex:1;height:32px;min-height:32px;border:1px solid #cfdfec;border-radius:5px;background:#fff}
.iv-range-days>button:disabled{color:#bac6ce;background:#f7f9fb;cursor:not-allowed}
.dy-audit-scroll{overflow-x:auto;max-width:100%}
body .dy-audit-table{table-layout:fixed;width:100%;min-width:1180px}
body .dy-audit-table th:nth-child(1){width:3%}body .dy-audit-table th:nth-child(2){width:11%}body .dy-audit-table th:nth-child(3){width:17%}body .dy-audit-table th:nth-child(4){width:12%}body .dy-audit-table th:nth-child(5){width:7%}body .dy-audit-table th:nth-child(6){width:6%}body .dy-audit-table th:nth-child(7){width:6%}body .dy-audit-table th:nth-child(8){width:7%}body .dy-audit-table th:nth-child(9){width:7%}body .dy-audit-table th:nth-child(10){width:14%}body .dy-audit-table th:nth-child(11){width:10%}
body .dy-audit-table td{white-space:nowrap;vertical-align:middle;padding:8px;line-height:1.4}
body .dy-audit-table .dy-audit-cell{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
body .dy-audit-table .dy-review-status.dy-review-approved{background:#fff0c9;color:#8a5b00;border:1px solid #efd083}
@media(max-width:800px){body #deliveryPaymentStatus{width:100%}body #deliveryDateRange.dy-range-single{width:100%;flex-basis:100%}body .dy-audit-table{min-width:1180px}body .dy-audit-table thead{display:table-header-group;position:static;width:auto;height:auto;clip-path:none}body .dy-audit-table tbody{display:table-row-group}body .dy-audit-table tr{display:table-row}body .dy-audit-table td{display:table-cell}body .dy-audit-table td::before{display:none}}

.dy-settlement-item{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dy-stat-source>h4{font-size:13px;font-weight:600;margin:12px 0 8px}

.dy-audit-scroll,.dy-review-tools{grid-column:1/-1;min-width:0}
body .dy-audit-table{min-width:1320px}body .dy-audit-table th{white-space:nowrap}
body .dy-audit-table th:nth-child(1){width:4%}body .dy-audit-table th:nth-child(2){width:9%}body .dy-audit-table th:nth-child(3){width:12%}body .dy-audit-table th:nth-child(4){width:10%}body .dy-audit-table th:nth-child(10){width:12%}

/* Opening history range and luggage presentation; original queries and pickup gates retained. */
body #doorHistoryPanel .door-toolbar{justify-content:flex-end}
body #doorDateRange{position:relative;display:flex;flex-direction:column;gap:5px;flex:0 1 258px;min-width:0}
body #doorDateRangeLabel{font-size:15px;font-weight:600}
body #doorDateRangeToggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:42px;border:1px solid #9bb6cf;border-radius:7px;background:#fff;color:#637d95;padding:7px 10px;text-align:left;font-size:14px;font-weight:400}
body #doorDateRangeToggle.has-range{color:#25445c}
body #doorFilters .iv-range-month select{width:auto;min-width:0;flex:1;height:32px;font-size:12px;font-weight:400;border:1px solid #cfdfec;border-radius:5px;background:#fff}
body #doorFilters .iv-range-actions .btn{min-height:36px}
body #doorConnection.door-page-footnote{margin-top:18px;padding-top:12px;border-top:1px solid #dde7ef;font-size:12px;line-height:1.6;color:#637d95}
body .luggage-kpis .luggage-kpi-value{display:flex;align-items:baseline;gap:5px}
body .luggage-kpi-value>span{font-size:14px;color:#526c83}
body #page-luggage .location-permission-icon,body .luggage-detail-modal .location-permission-icon{display:none!important}
body .luggage-detail-modal .luggage-order-primary{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:800px){body #doorDateRange{width:100%;grid-column:1/-1}body #doorFilters .iv-range-actions .btn{height:44px;min-height:44px}}
@media(max-width:480px){body .luggage-detail-modal .luggage-order-state{grid-column:auto}}

/* Each lost item keeps its original preview, file input and QR session together. */
body .lf-register-compact .lf-ai-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px;background:#f6f9fc;border:1px solid #d6e3ef;border-radius:10px}
body .lf-photo-target-actions{display:flex;align-items:center;gap:8px;min-width:0}
body .lf-photo-target-actions select{width:220px;max-width:100%;margin:0}
body .lf-photo-target-actions>.btn{flex:none;white-space:nowrap}
body .lf-register-compact .lf-item-photo-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:10px 0 16px;align-items:start}
body .lf-register-compact .lost-found-register-item.is-photo-target .lf-item-photo-workspace:has(.lost-found-photo-qr:not(.hidden)){grid-template-columns:minmax(0,1fr) minmax(260px,.85fr)}
body .lf-register-compact .lost-found-register-item:not(.is-photo-target) .lost-found-photo-qr{display:none!important}
body .lf-register-compact .lf-compact-photo{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0}
body .lf-register-compact .lost-found-photo-preview{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;max-width:100%;height:auto!important;min-height:190px!important;padding:8px;align-content:center;border:1px solid #d9e5ee;border-radius:9px;background:#f8fbfd;text-align:center}
body .lf-register-compact .lost-found-photo-preview .photo-thumb-wrap{width:100%;min-width:0;margin:0}
body .lf-register-compact .lost-found-photo-preview .photo-thumb{width:100%;height:210px;min-height:190px;background-size:contain!important;background-position:center!important;background-repeat:no-repeat}
body .lf-register-compact .lost-found-photo-actions,body .lf-shared-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body .lf-register-compact .lost-found-photo-actions .btn{min-height:36px;font-size:12px;margin:0;white-space:nowrap}
body .lf-register-compact .lost-found-photo-actions>[data-lf-shared-photo-actions]:empty{display:none}
body .lf-register-compact .lost-found-photo-qr{margin:0;padding:12px;background:#f4f8fc;border:1px solid #d7e4f0;border-radius:9px}
body .lf-register-compact .lost-found-photo-qr:not(.hidden){display:block}
body .lf-register-compact .lost-found-photo-qr .qr-upload-layout{display:flex;width:100%;align-items:center;flex-direction:column;gap:9px;text-align:center}
body .lf-register-compact .lost-found-photo-qr .qr-upload-layout>img{width:156px;height:156px;margin:0}
body .lf-register-compact .lost-found-photo-qr [data-draft-qr-thumbs]{display:none!important}
body .lf-register-compact .lost-found-register-item-head [data-lf-ai-state]:empty{display:none}
body .lf-register-compact .lost-found-register-item-head [data-lf-ai-state]{font-size:12px;color:#607b91}
@media(max-width:700px){body .lf-register-compact .lost-found-register-item.is-photo-target .lf-item-photo-workspace:has(.lost-found-photo-qr:not(.hidden)){grid-template-columns:minmax(0,1fr)}body .lf-photo-target-actions{width:100%;flex-wrap:wrap}body .lf-photo-target-actions select{flex:1;min-width:120px}body .lf-register-compact .lost-found-photo-preview .photo-thumb{height:190px}}

/* Task list columns flatten the same controls; card mode retains its original actions. */
body #taskPanel .task-card{font-size:13px}
body #taskPanel .task-card-title>strong{font-size:14px}
body #taskPanel .task-location{font-size:14px!important;font-weight:600!important}
body #taskPanel .task-context .task-step,body #taskPanel .task-card-title .task-subject,body #taskPanel .task-handler b{font-size:13px}
body #taskPanel .task-handler{background:transparent;border:0;padding:0}
body #taskPanel .task-age-badge{background:transparent;border:0;border-radius:0;padding:0;font-size:12px;font-weight:400;box-shadow:none}
body #taskPanel .task-action-buttons{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;font-size:13px}
body #taskPanel .task-selection-status:empty{display:none}
body #taskPanel.task-layout-list .task-list-scroll{overflow-x:auto;max-width:100%;min-width:0}
body #taskPanel.task-layout-list #taskList{min-width:1170px}
body #taskPanel.task-layout-list :is(.task-list-heading,.task-card){grid-template-columns:minmax(100px,.85fr) 64px 92px minmax(110px,1fr) minmax(145px,1.3fr) minmax(115px,1fr) 84px 118px minmax(175px,1.2fr);gap:10px;min-width:1170px;font-size:13px}
body #taskPanel.task-layout-list .task-card{position:relative;padding:12px 14px;align-items:center}
body #taskPanel.task-layout-list :is(.task-card-top,.task-card-title,.task-context,.task-actions){display:contents!important}
body #taskPanel.task-layout-list .task-card-title>strong{grid-column:1;grid-row:1;font-size:13px;min-width:0;overflow-wrap:anywhere}
body #taskPanel.task-layout-list .task-card:has(.task-card-select) .task-card-title>strong{padding-left:27px}
body #taskPanel.task-layout-list .task-kind{grid-column:2;grid-row:1;width:max-content;max-width:100%;font-size:12px}
body #taskPanel.task-layout-list .task-location{grid-column:3;grid-row:1;font-size:13px!important;font-weight:400!important;overflow-wrap:anywhere}
body #taskPanel.task-layout-list .task-card-title .task-subject{grid-column:4;grid-row:1;display:block;font-size:13px;margin:0;overflow-wrap:anywhere}
body #taskPanel.task-layout-list .task-context .task-step{grid-column:5;grid-row:1;display:block;font-size:13px;font-weight:400;background:transparent;padding:0}
body #taskPanel.task-layout-list .task-handler{grid-column:6;grid-row:1;display:block;font-size:13px;margin:0}
body #taskPanel.task-layout-list .task-card-top>.task-age-badge{grid-column:7;grid-row:1;position:static;justify-self:start;font-size:12px}
body #taskPanel.task-layout-list .task-actions .task-date{grid-column:8;grid-row:1;font-size:12px;text-align:left;margin:0;flex-basis:auto}
body #taskPanel.task-layout-list .task-action-buttons{grid-column:9;grid-row:1}
body #taskPanel.task-layout-list .task-card-title>.custody-source{grid-column:1/-1;font-size:12px;margin:0}

/* Exception history keeps date_from/date_to and makes one query per range commit. */
body #reviewFilters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}
body #reviewFilters>label:first-child{flex:1;min-width:190px}
body #reviewFilters>label{min-width:130px;font-size:13px}
body #reviewDateRange{position:relative;display:flex;flex-direction:column;gap:5px;width:258px;min-width:0;flex:none;font-size:13px}
body #reviewDateRangeToggle{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;height:36px;border:1px solid #9bb6cf;border-radius:7px;background:#fff;color:#637d95;padding:7px 10px;text-align:left;font-size:13px;font-weight:400}
body #reviewDateRangeToggle.has-range{color:#25445c}
body #reviewFilters .iv-range-month select{width:auto;min-width:0;flex:1;height:32px;font-size:12px;border:1px solid #cfdfec;border-radius:5px}
#reviewDateRange>input[hidden],#reviewDateRangePanel[hidden]{display:none!important}
@media(max-width:800px){body #reviewDateRange{width:100%}body #reviewFilters .iv-range-actions .btn{min-height:44px}}

/* Log filters share the range calendar and retain the original source fields. */
body #logFilters{grid-template-columns:minmax(200px,1.5fr) repeat(3,minmax(125px,1fr)) minmax(245px,1.2fr)!important}
body #logDateRange{position:relative;display:flex;flex-direction:column;gap:5px;min-width:0;font-size:13px}
body #logDateRangeToggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:36px;border:1px solid #9bb6cf;border-radius:7px;background:#fff;color:#637d95;padding:7px 10px;text-align:left;font-size:13px;font-weight:400}
body #logDateRangeToggle.has-range{color:#25445c}
body #logDateRange .iv-range-month select{width:auto;min-width:0;flex:1;height:32px;font-size:12px;border:1px solid #cfdfec;border-radius:5px}
#logDateRange>input[hidden],#logDateRangePanel[hidden]{display:none!important}
body .operation-log-table .log-client-cell{white-space:nowrap}
body .operation-log-table td:last-child{white-space:nowrap}
/* Room controls align; the original submit button still submits its original form. */
body #locationCreateForm .location-compact-form{align-items:start}
body #locationCreateForm .location-compact-form>label{display:flex;flex-direction:column;gap:5px;font-size:13px;line-height:20px}
body #locationCreateForm .location-compact-form>label>.field-label{display:block;min-height:20px;line-height:20px}
body #locationCreateForm .location-compact-form>label :is(input,select){box-sizing:border-box;height:36px;min-height:36px;margin:0;font-size:13px;line-height:20px}
body #locationCreateForm .location-compact-form :is(#pmLocLuggage,#pmLocWarehouse){width:100%}
.parameter-location-io{display:flex;align-items:center;gap:8px}
.location-io-menu{position:relative}.location-io-menu>summary{list-style:none;white-space:nowrap;cursor:pointer}
.location-io-menu>summary::-webkit-details-marker{display:none}
.location-io-menu-items{position:absolute;right:0;top:calc(100% + 6px);display:grid;gap:5px;min-width:145px;padding:8px;background:#fff;border:1px solid #cfdfec;border-radius:8px;box-shadow:0 8px 24px #1f3a5520;z-index:40}
.location-io-menu:not([open])>.location-io-menu-items{display:none}
.location-io-menu-items>.btn{width:100%;justify-content:flex-start}
/* Shared reader and inline asset lookup retain the original reader handlers. */
body #pageHeaderActions .global-reader-controls{display:flex;align-items:center;flex:none;margin-left:auto;margin-right:8px}
body #pageHeaderActions .global-reader-controls[hidden]{display:none!important}
body #pageHeaderActions #assetR1Connect{min-width:138px;min-height:32px;gap:6px;white-space:nowrap}
body #pageHeaderActions #assetR1Connect .reader-power-badge{position:static;min-width:0;padding:0;border:0;background:transparent;font-size:12px}
body #assetR1PowerPanel{position:fixed;inset:auto;margin:0;width:380px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto}
body #page-assets .asset-keyword-entry{display:block;position:relative;width:100%}
body #page-assets .asset-keyword-entry:has(>#assetR1Read:not([hidden]):not(.terminal-feature-hidden))>#fQ{padding-right:112px!important}
body #page-assets .asset-keyword-entry>#assetR1Read{position:absolute;top:3px;right:3px;bottom:3px;display:inline-flex;align-items:center;gap:5px;width:auto;height:calc(100% - 6px);min-height:0!important;padding:0 8px;margin:0;white-space:nowrap;font:inherit}
body #page-assets .asset-keyword-entry>#assetR1Read[hidden]{display:none!important}
body #assetDrawer .asset-action-more>summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer}
body #assetDrawer .asset-action-more>summary::-webkit-details-marker{display:none}
body #assetDrawer .asset-action-more[open]>summary{margin-bottom:10px}
body #assetDrawer .asset-action-more:not([open])>.detail-actions{display:none}
body #assetDrawer .asset-action-more>.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
body #assetDrawer .asset-action-group .btn{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;max-width:100%;white-space:normal;text-align:left}
body #assetDrawer .asset-action-group .btn>.ui-icon{flex:none}
body #assetDrawer .asset-action-group .btn>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
body #assetDrawer .asset-action-more>.detail-actions>.btn{min-width:0}
body #assetDrawer .asset-action-more>.detail-actions>.asset-action-target{display:flex}
body #assetDrawer .asset-action-more>.detail-actions>.asset-action-target>.btn{width:100%}
.linen-supplier-choice{min-width:0;margin:0;padding:0;border:0;font:inherit}
.linen-supplier-choice>legend{margin-bottom:6px;padding:0;font:inherit;font-weight:600}
.linen-supplier-choice>div{display:flex;align-items:center;flex-wrap:wrap;gap:18px;min-height:36px}
.linen-supplier-choice>div>label{display:inline-flex;align-items:center;gap:6px;margin:0;font:inherit;cursor:pointer}
.linen-supplier-choice input[type=radio]{width:16px!important;min-width:16px;height:16px!important;min-height:16px;margin:0;accent-color:var(--primary,#285d91)}
body .location-utility-fields{display:flex;flex-direction:column;gap:10px;padding:12px}
body .location-utility-row{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:start;gap:12px}
body .location-utility-toggle{display:flex;flex-direction:row;align-items:center;gap:7px;min-height:36px;margin:22px 0 0;font-size:13px;font-weight:600}
body .location-utility-toggle>input{width:16px;height:16px;min-height:0;margin:0}
body .location-utility-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
body .location-utility-accounts>label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:13px;min-width:0}
body .location-utility-accounts input{width:100%;height:36px;min-height:36px;margin:0;font-size:13px}
body .location-utility-row:not(:has(> .location-utility-toggle>input:checked))>.location-utility-accounts{display:none}
body .location-utility-row:not(:has(> .location-utility-toggle>input:checked))>.location-utility-toggle{margin-top:0}
body .room-directory-retired .room-directory-table th:last-child{min-width:160px}
@media(max-width:1100px){body #logFilters{grid-template-columns:repeat(2,minmax(0,1fr))!important}body #logDateRange{grid-column:1/-1}}
@media(max-width:680px){body #logFilters{grid-template-columns:1fr!important}.parameter-location-io{flex-wrap:wrap}body .location-utility-row{grid-template-columns:110px minmax(0,1fr);gap:8px}body .location-utility-accounts{grid-template-columns:1fr}body #logDateRange .iv-range-actions .btn{min-height:44px}}

/* Nameplate review: original controls and recognition left, original photo preview right. */
body #assetCreateForm #acNameplatePhotoName{display:none!important}
body #assetCreateForm #acNameplateImage{padding:0;background:transparent;border:0}
body #assetCreateForm #acNameplateImage:has(#acNameplatePhotoPreview[hidden]){display:none}
body #assetCreateForm #acNameplateImage #acNameplatePhotoPreview{margin:0}
body #assetCreateForm #acNameplateInsight{margin-top:10px}
body #assetCreateForm #acNameplateInsight:empty{display:none}

/* Width budgets affect presentation only; original values and validation survive. */
body #ownerAssetSearchPanel{flex:0 0 calc(6em + 34px);width:calc(6em + 34px);font-size:13px;min-width:0}
body #disposalFilters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
body #disposalFilters>label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:13px}
body #disposalFilters>label:has(>#dpQ){flex:1 1 250px}
body #disposalFilters>label:has(>#dpRecentLocations){flex:0 1 calc(12em + 24px)}
body #disposalFilters>label:has(>#dpViewStatus),body #disposalFilters>.ui-date-range,body #dpResidualPopup{flex:0 0 calc(8em + 34px);width:calc(8em + 34px);min-width:0;font-size:13px}
body #disposalFilters :is(input,select,.ui-date-range>button),body #dpResidualPopup>summary{box-sizing:border-box;max-width:100%;height:36px;min-height:36px;margin:0;font-size:13px;font-weight:400}
body #dpResidualPopup>summary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body #disposalFilters>.range-filter-actions{display:flex;gap:8px;align-items:end;flex:0 0 auto}
body .prep-history-filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
body .prep-history-filterbar>label:has(>#demandHistQ){flex:1 1 210px;min-width:160px}
body .prep-history-filterbar>label:has(>#demandHistStatus){flex:0 0 calc(15em + 34px);width:calc(15em + 34px);font-size:13px;min-width:0}
body .prep-history-filterbar :is(input,select,.ui-date-range>button){height:36px;min-height:36px;font-size:13px;box-sizing:border-box}
body #demandCreatePanel .demand-create-grid{display:flex;flex-wrap:wrap;align-items:end;gap:12px 10px}
body #demandCreatePanel .demand-create-grid>label{display:flex;flex-direction:column;align-items:stretch;gap:5px;align-self:auto;margin:0;font-size:13px;line-height:20px;min-width:0}
body #demandCreatePanel .demand-create-grid>label>span{display:flex;align-items:center;gap:4px;min-height:20px;white-space:nowrap}
body #demandCreatePanel .demand-create-grid>label:is(.demand-create-room,.demand-create-source,.demand-create-date){flex:0 0 calc(8em + 34px);width:calc(8em + 34px)}
body #demandCreatePanel .demand-create-grid>.demand-create-note{flex:1 0 100%;max-width:100%}
body #demandCreatePanel .demand-create-grid :is(input,select,.location-picker,.btn){height:36px!important;min-height:36px!important;margin:0;font-size:13px;box-sizing:border-box}
body #demandCreatePanel .demand-create-grid :is(input,select){padding:6px 10px;line-height:20px}
body #demandCreatePanel .demand-create-grid>.btn{width:auto;align-self:end}
body .config-category-panel .config-category-create{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;align-items:center}
body .config-category-panel #cfgNewCategoryName{width:calc(20em + 24px);max-width:100%;height:36px;min-height:36px;font-size:13px}
body #cfgCategoryList .category-save-bar{display:flex;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #dce3e9;background:#f7f9fb}
body #cfgCategoryList .config-category-table{table-layout:fixed;width:100%;min-width:0}
body #cfgCategoryList .config-category-table :is(th,td){font-size:13px;line-height:1.5;padding:8px 12px}
body #cfgCategoryList .config-category-table :is(th,td):first-child{width:80px;text-align:center}
body #cfgCategoryList .config-category-table :is(th,td):last-child{width:auto;text-align:left}
body #cfgCategoryList .config-category-table th{font-weight:600}
body #cfgCategoryList .config-category-table td b{font-weight:400}
body #cfgCategoryList .config-category-table input{height:36px;min-height:36px;font-size:13px;font-weight:400;box-sizing:border-box}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>:is(.upload-trigger,.draft-photo-qr){display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto!important;height:36px;min-height:36px;box-sizing:border-box;padding:0 12px;margin:0;border:1px solid #8ea8bf;border-radius:7px;background:#fff;color:#315d85!important;font-family:inherit;font-size:13px!important;font-weight:600;line-height:1.4;cursor:pointer}
body #assetCreateForm .filing-nameplate-step .upload-box-preview>:is(.upload-trigger,.draft-photo-qr):hover{background:#eef4f9}
body #assetCreateForm .filing-nameplate-step .upload-trigger:focus-within{outline:2px solid #41688f;outline-offset:2px}
body #assetCreateForm :is(#acSupplierWrap,#acPlatformWrap,#acPurchaseOrderWrap){grid-column:1/-1!important;max-width:100%;min-width:0}
body #assetCreateForm #acQuantity{width:calc(6em + 34px)!important;max-width:100%;min-width:0;font-size:13px!important;box-sizing:border-box}
@media(max-width:920px),(pointer:coarse){body #assetCreateForm .filing-nameplate-step .upload-box-preview>:is(.upload-trigger,.draft-photo-qr){height:48px;min-height:48px}body #assetCreateForm #acQuantity{font-size:16px!important}}
@media(max-width:680px),(pointer:coarse){body #disposalFilters :is(input,select,.ui-date-range>button),body #dpResidualPopup>summary,body .prep-history-filterbar :is(input,select,.ui-date-range>button),body #demandCreatePanel .demand-create-grid :is(input,select,.location-picker,.btn){height:44px!important;min-height:44px!important;font-size:16px}body #disposalFilters>.ui-date-range,body .prep-history-filterbar>.ui-date-range{flex-basis:100%;width:100%}body .prep-history-filterbar>label:has(>#demandHistStatus){max-width:100%}body #demandCreatePanel .demand-create-grid>label:is(.demand-create-room,.demand-create-source,.demand-create-date){flex-shrink:1;max-width:100%;font-size:16px}}

/* One compact proposal dialog with photo tabs and consistent upload actions. */
body .modal.modal-filing-need{width:min(450px,calc(100vw - 24px));max-width:450px}
body #filingNeedForm .filing-need-photo-heading{align-items:end;gap:10px}
html body #filingNeedForm .filing-photo-modes>.filing-photo-tab{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#526b80!important}
html body #filingNeedForm .filing-photo-modes>.filing-photo-tab[aria-selected=true]{border-bottom-color:#245e8f!important;color:#245e8f!important}
body #filingNeedForm .filing-media-tools{gap:8px}
body #filingNeedForm .filing-media-tools :is(.btn,.upload-trigger){width:auto;max-width:100%;padding:0 10px;border:1px solid #8ea8bf;border-radius:7px;background:#fff;color:#315d85!important;font-family:inherit;font-size:13px!important;font-weight:600;line-height:1.4}
body #filingNeedForm .filing-media-tools :is(.btn,.upload-trigger):hover{background:#eef4f9}
body #filingNeedForm .filing-identity-results{grid-template-columns:minmax(0,1fr)}
body :is(#filingNeedForm,#assetCreateForm) .upload-trigger:has(>input[type=file]){position:relative}
body :is(#filingNeedForm,#assetCreateForm) .upload-trigger>input[type=file]{display:block;position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;padding:0;cursor:pointer}
body :is(#filingNeedForm,#assetCreateForm) .upload-trigger:focus-within{outline:2px solid #41688f;outline-offset:2px}

/* Classification inputs and their live label policy stay visible together. */
body #assetCreateForm .filing-step-row.filing-identity-step{grid-template-columns:minmax(0,2.2fr) minmax(200px,1fr);column-gap:16px}
body #assetCreateForm #acCategoryAside{margin-top:32px}
body #assetCreateForm #acTagRequirement{display:grid;gap:10px;margin:0;padding:0;border:0;font-size:13px;line-height:1.5;color:var(--filing-ink)}
body #assetCreateForm #acTagRequirementWrap{min-height:0;justify-content:start}
body #assetCreateForm #acTagRequirement .filing-tag-flag{display:flex;align-items:center;gap:8px;white-space:normal}
body #assetCreateForm #acTagRequirement .filing-tag-flag small{margin-left:auto;color:#526b80;font-size:12px;font-weight:400}
body #assetCreateForm #acCategoryInfo .filing-category-head{display:grid;gap:4px}
body #assetCreateForm #acCategoryInfo .filing-photos{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body #assetCreateForm #acCategoryRetry{margin-top:8px;max-width:100%;white-space:normal}
@media(max-width:760px){body #assetCreateForm .filing-step-row.filing-identity-step{grid-template-columns:minmax(0,1fr)}body #assetCreateForm #acCategoryAside{margin-top:0}body #assetCreateForm #acCategoryInfo .filing-photos{grid-template-columns:repeat(2,minmax(0,1fr))}body #assetCreateForm #acAssetParameters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tag-type-delete-blocked{display:inline-flex;border-radius:5px}
.tag-type-delete-blocked>button{pointer-events:none}
.tag-type-delete-blocked:focus-visible{outline:2px solid var(--primary,#245f9c);outline-offset:2px}


/* workspace-pages.css */
/* Compact desktop header; global reader controls remain beside the idle timer. */
html[data-hy-pc-tabs]:not(.field-browser) #assetR1Connect::before{
  content:"";
  position:absolute;
  top:0;
  inset-inline:4px;
  height:2px;
  border-radius:0 0 2px 2px;
  background-color:#9ca3af;
  pointer-events:none;
}
html[data-hy-pc-tabs]:not(.field-browser) #assetR1Connect.is-connected::before{
  background-color:#258451;
}
html body .app-shell.hy-sidebar-rail #mainContent>.topbar{display:flex;align-items:center;gap:8px;min-height:32px!important;height:32px!important;max-height:32px;padding:0 8px!important;overflow:visible}
body #mainContent>.topbar .topbar-heading{flex:1;min-width:0;overflow:hidden}
body #mainContent>.topbar #pageTitle,body #mainContent>.topbar #pageSubtitle{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0!important;padding:0!important}
body #mainContent>.topbar #sessionIdleCounter{position:static!important;transform:none!important;flex:0 0 auto;margin:0 0 0 auto!important;font-size:12px;white-space:nowrap}
html body .app-shell.hy-sidebar-rail #mainContent>.topbar>#pageHeaderActions{display:flex;flex:0 0 auto;max-width:none;margin:0!important;gap:6px;overflow:visible}
body #mainContent>.topbar #pageHeaderActions :is(.page-header-action-group>.btn,.asset-r1-menu>.btn){height:24px;min-height:24px;padding:1px 7px;font-size:12px;line-height:1.4}
body #mainContent>.topbar #pageHeaderActions .icon-action{width:26px;padding:0}
.workspace-page-tabs{display:flex;gap:4px;align-items:center;overflow-x:auto;scrollbar-width:thin;min-width:0;height:31px}
.workspace-page-tab{display:inline-flex;align-items:center;flex:0 0 auto;height:26px;border:1px solid var(--line,#d8e3ef);border-radius:5px;background:var(--card,#fff);color:var(--text,#263b50)}
.workspace-page-tab.is-active{border-color:var(--primary,#245c90);background:var(--panel-bg,#edf4f8);color:var(--primary,#245c90)}
.workspace-page-tab button{font:inherit;font-size:13px;color:inherit;background:transparent;border:0;line-height:1.3;cursor:pointer;height:24px;margin:0}
.workspace-page-select{padding:2px 4px 2px 8px;max-width:14em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-page-close{width:24px;padding:0;font-size:17px!important}.workspace-page-close:hover{background:var(--mist-danger-bg,#f9e9ec);color:var(--danger,#ad3446)}
.workspace-page-tab button:focus-visible{outline:2px solid var(--primary,#245c90);outline-offset:-2px}
.workspace-tabs-empty{font-size:13px;color:var(--muted,#536c87)}.workspace-empty-page{padding:48px 16px;text-align:center;color:var(--muted,#536c87)}
/* Desktop workspace tabs use a plain label and underline, not button tiles. */
@media(min-width:921px){
 /* The legacy compact shell hid this whole heading before it held tabs. */
 html body .app-shell.hy-sidebar-rail #mainContent>.topbar>.topbar-heading{position:static!important;width:auto!important;height:100%!important;min-width:0!important;margin:0!important;padding:0!important;clip-path:none!important;white-space:normal;pointer-events:auto;display:flex;align-items:center;overflow:hidden}
 html body .app-shell #mainContent>.page{max-width:none;margin-inline:0;width:100%}
 #workspacePageTabs{gap:0}
 #workspacePageTabs .workspace-page-tab{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text,#263b50);height:29px}
 #workspacePageTabs .workspace-page-tab.is-active{background:transparent;border-bottom-color:var(--primary,#245c90);color:var(--primary,#245c90)}
 #workspacePageTabs .workspace-page-select{background:transparent!important;color:var(--text,#263b50)!important;padding:2px 6px 2px 10px;font-size:13px;font-weight:400}
 #workspacePageTabs .workspace-page-close{color:var(--muted,#536c87)!important}
 #workspacePageTabs .workspace-page-tab.is-active .workspace-page-select{color:var(--primary,#245c90)!important}
 #workspacePageTabs .workspace-page-tab.is-active .workspace-page-select{font-weight:600}
 #workspacePageTabs .workspace-page-close{background:transparent;width:19px;font-size:14px!important}
 body #mainContent>.topbar #pageHeaderActions :is(.page-header-action-group>.btn,.asset-r1-menu>.btn){height:22px;min-height:22px;padding:1px 6px;font-size:11px}
 body #mainContent>.topbar #pageHeaderActions .icon-action{width:22px;height:22px;min-height:22px;padding:0}
 html body #mainContent>.topbar #pageHeaderActions :is(.page-header-action-group>.btn,#assetR1Connect){box-sizing:border-box;height:22px!important;min-height:22px!important;max-height:22px!important;min-width:0!important;padding:1px 6px!important;line-height:18px!important;font-size:11px!important;border-radius:4px!important;margin:0;align-self:center}
 html body #mainContent>.topbar #pageHeaderActions .icon-action{width:22px!important;min-width:22px!important;max-width:22px!important;padding:0!important}
 html body #mainContent>.topbar #pageHeaderActions .global-reader-controls{margin-right:0;min-height:0;gap:4px}
 html body #mainContent>.topbar #pageHeaderActions .btn :is(svg,.ui-icon){width:12px;height:12px}
}
@media(max-width:920px){html body .app-shell.hy-sidebar-rail #mainContent>.topbar{height:auto!important;min-height:44px!important;max-height:none;flex-wrap:wrap}.workspace-page-tabs{height:43px}.workspace-page-tab{height:38px}.workspace-page-tab button{height:36px}.workspace-page-close{width:32px}body #mainContent>.topbar #pageHeaderActions .btn{height:36px;min-height:36px}}

.topbar .topbar-heading,.topbar #workspacePageTabs,.topbar .workspace-page-tab{cursor:default!important}
.topbar .workspace-page-select,.topbar .workspace-page-close{cursor:pointer!important}
.login-caps-lock{display:block;color:#ad263c;font-size:12px;line-height:1.5;margin-top:5px}
.login-caps-lock[hidden]{display:none!important}


/* housekeeping.css */
.hk{--hk-border:#cfe0ef;--hk-muted:#607b9a;--hk-control-height:var(--ui-field,34px);color:var(--text,#21364f);font:inherit;line-height:1.55}
.hk *{box-sizing:border-box}.hk [hidden],.hk-dialog [hidden]{display:none!important}
.hk-nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.hk-nav .active{background:#24608f;color:white;border-color:#24608f}
.hk-menu{position:relative}.hk-menu>div{position:absolute;top:100%;right:0;background:white;border:1px solid var(--hk-border);border-radius:8px;padding:5px;box-shadow:0 8px 22px #1b35552b;z-index:20;min-width:132px;display:none}.hk-menu:hover>div,.hk-menu:focus-within>div{display:grid;gap:3px}
.hk-toolbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:0 0 14px}.hk-toolbar label{display:grid;gap:4px;color:#607b9a;font-size:12px}.hk-toolbar input,.hk-toolbar select{height:34px}.hk-toolbar .hk-search{flex:1;min-width:170px}.hk-month{display:flex;align-items:center;gap:4px}.hk-month input{width:150px}
.hk-spacer{flex:1}.hk h2{font-size:17px;margin:0 0 12px}.hk h3{font-size:14px;margin:0 0 8px}.hk small,.hk-muted{color:#607b9a;font-size:12px}
.hk-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.hk-stat{border:1px solid var(--hk-border);border-radius:9px;background:#f6faff;padding:14px 16px}.hk-stat b{display:block;font-size:24px;color:#174f7d;margin-top:5px;font-variant-numeric:tabular-nums}
.hk-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.hk-person{border:1px solid var(--hk-border);border-radius:9px;padding:14px;background:white;cursor:pointer}.hk-person:hover{background:#f3f8fc}.hk-person dl{display:grid;grid-template-columns:1fr auto;gap:5px;margin:0}.hk-person dt{color:#607b9a;text-align:left}.hk-person dd{margin:0;text-align:right}
.hk-table-wrap{overflow:auto}.hk table{border-collapse:collapse;width:100%;font-size:13px}.hk th{background:#edf5fa;color:#3b607f;white-space:nowrap;text-align:left;font-weight:600}.hk th,.hk td{padding:10px 9px;border-bottom:1px solid #dce8f2;vertical-align:top}.hk td small{display:block}.hk td.hk-number{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.hk th.hk-number{text-align:right}
.hk-link{background:none;border:0;padding:0;color:#28618e;text-decoration:underline;cursor:pointer;font:inherit;line-height:inherit}.hk-actions{display:flex;gap:12px;flex-wrap:wrap;white-space:nowrap}.hk-badge{display:inline-block;padding:2px 7px;border-radius:4px;background:#fff4dd;color:#8c5c12;font-size:12px;white-space:nowrap}.hk-badge.verified{color:#18734e;background:#e5f4eb}.hk-badge.needs,.hk-badge.secondary{background:#fbe9ea;color:#a52d3d}.hk-empty{text-align:center;padding:35px;color:#607b9a}
.hk-dialog{font:inherit;line-height:1.55;color:#21364f;border:1px solid #d4e1ee;border-radius:14px;padding:0;width:min(850px,94vw);max-height:92vh;box-shadow:0 15px 70px #15314e40}.hk-dialog::backdrop{background:#23344666;backdrop-filter:blur(2px)}.hk-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-bottom:1px solid #d9e5f0}.hk-dialog h2{font-size:18px;margin:0}.hk-dialog h3{font-size:14px;margin:10px 0}.hk-dialog>header button{border:0;background:transparent;padding:4px;color:#426181;font-size:20px;cursor:pointer}.hk-dialog .hk-body{padding:18px 20px;overflow-y:auto;max-height:calc(92vh - 132px)}.hk-dialog footer{padding:12px 20px;border-top:1px solid #d9e5f0;display:flex;gap:8px;justify-content:flex-end;align-items:center}
.hk-dialog .hk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px}.hk-dialog label.hk-field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#526e8d}.hk-dialog input:not([type=checkbox]):not([type=radio]),.hk-dialog select{height:36px;margin:0;min-width:0;width:100%;border:1px solid #9cb4ce;border-radius:5px;padding:6px 9px;font:inherit;color:#21364f;background:white}.hk-dialog textarea{width:100%;min-height:70px;resize:vertical;border:1px solid #9cb4ce;border-radius:5px;padding:8px;font:inherit;color:#21364f;background:white}.hk-dialog input:disabled,.hk-dialog select:disabled{background:#f1f5f9;color:#607b9a}.hk-dialog .full{grid-column:1/-1}.hk-dialog .hk-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:36px}.hk-dialog .hk-inline label{display:flex;align-items:center;gap:5px;white-space:nowrap}.hk-dialog .hk-rule{padding:10px 12px;background:#edf5fa;border:1px solid #d3e5f2;border-radius:6px;color:#355d7d}.hk-dialog .hk-own{display:flex;gap:20px;justify-content:flex-end;padding:10px;background:#eff7f2;border-radius:6px}.hk-dialog .hk-own b{color:#18734e}.hk-dialog .hk-error{color:#a82c3b;background:#fff0f0;border-radius:5px;margin:0 0 12px;padding:8px 10px;white-space:pre-line}.hk-dialog .hk-error:empty{display:none}.hk-dialog .hk-readonly{padding:9px 10px;background:#f5f8fb;border-radius:5px;color:#233c59;font-size:13px}
.hk-dialog .hk-drop{border:1px dashed #8caed0;border-radius:8px;padding:20px;text-align:center;background:#f9fcff;cursor:pointer}.hk-dialog .hk-drop.drag{background:#e9f4ff}.hk-dialog .hk-preview{display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,1.5fr);gap:16px}.hk-dialog .hk-image{width:100%;height:250px;background:#f1f5f9;object-fit:contain;border:1px solid #dce7f2;border-radius:7px;cursor:zoom-in}.hk-dialog .hk-skeleton{height:250px;background:#f1f5f9;display:grid;place-items:center;color:#607b9a;border-radius:7px}.hk-dialog .hk-raw{white-space:pre-wrap;word-break:break-word;max-height:240px;overflow:auto;font-size:12px;background:#f7f9fc;padding:10px}.hk-dialog table{width:100%;border-collapse:collapse;font-size:12px}.hk-dialog th,.hk-dialog td{padding:7px;border-bottom:1px solid #dce7f2;text-align:left}.hk-dialog .hk-warning{color:#a45f10}.hk-print-head{display:none}
@media(max-width:750px){.hk-stats{grid-template-columns:repeat(2,1fr)}.hk-dialog .hk-preview{grid-template-columns:1fr}.hk-dialog .hk-grid{grid-template-columns:1fr}.hk-dialog .full{grid-column:auto}}
@media print{body>*{display:none!important}body #appView,body #appView .app-shell,body #mainContent,body #page-housekeeping,body .hk{display:block!important}#sidebar,.topbar,.hk-nav,.hk-toolbar,.hk-actions{display:none!important}.hk-print-head{display:block}.hk{color:black}.hk table{font-size:10px}}

/* Align labelled filters and plain actions to the same control baseline. */
.hk .hk-toolbar,.hk .hk-bill-controls{align-items:flex-end}
#housekeepingHost .hk-toolbar :is(input,select,.btn){box-sizing:border-box;height:var(--hk-control-height)!important;min-height:var(--hk-control-height)!important;max-height:var(--hk-control-height)!important;margin:0;line-height:20px}
.hk .hk-toolbar .btn{padding:6px 10px;white-space:nowrap;align-self:flex-end}
.hk .hk-month-field,.hk .hk-toolbar label{display:flex;flex-direction:column;gap:4px;margin:0}
.hk .hk-month{height:var(--hk-control-height);align-items:center;flex-wrap:nowrap}
.hk .hk-month .btn{width:26px;padding:6px 4px}
.hk .hk-month-input{display:inline-block;position:relative;width:calc(6em + 26px);height:var(--hk-control-height);flex:none}
.hk .hk-month-input input{width:100%;padding-right:22px;font:inherit;background:transparent;position:relative;z-index:1}
.hk .hk-month-input input::-webkit-datetime-edit{opacity:0}
.hk .hk-month-input>span{position:absolute;left:8px;top:0;height:var(--hk-control-height);display:flex;align-items:center;color:var(--text,#21364f);pointer-events:none;white-space:nowrap;font-size:13px}
.hk .hk-overview-toolbar,.hk .hk-bill-toolbar{justify-content:flex-end}
.hk .hk-bill-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.hk .hk-service-type{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#355e80}
.hk .hk-service-type svg{width:16px;height:16px;flex:none}
.hk-dialog .hk-type-field{margin:0;padding:0;border:0;min-width:0;color:#526e8d;font-size:12px}
.hk-dialog .hk-type-field legend{margin-bottom:5px;padding:0}
.hk .hk-policy{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.hk .hk-policy h3{flex-basis:100%;margin:0}
.hk .hk-policy label{display:flex;align-items:center;gap:8px;font-size:13px}
.hk .hk-policy input[type=number]{width:70px;height:34px}
.hk .hk-policy input[type=checkbox]{width:auto}

.hk-rule-list{list-style:decimal;padding-inline-start:1.6em;margin:0 0 16px}
.hk-rule-list li + li{margin-top:8px}
.hk .hk-bill-toolbar .hk-bill-controls{align-items:flex-end}
.hk .hk-bill-more>summary{display:flex;align-items:center;gap:6px}
.hk .hk-bill-more:not([open])>div{display:none}
.hk .hk-bill-more[open]>div{display:grid;gap:3px}
.hk-dialog :is(#hkRecord,#hkReview,#hkProject){row-gap:12px}
.hk-dialog :is(#hkRecord,#hkReview,#hkProject) .hk-field,.hk-dialog #hkReview p{margin:0}
.hk-dialog :is(#hkRecord,#hkProject) .hk-inline label{margin:0}
.hk-dialog #hkProject>.hk-inline{align-self:end;height:32px;min-height:32px}
.hk-dialog #hkProject .hk-inline input[type=checkbox]{margin:0}
.hk-dialog #hkSourceHelp{margin:0}
.hk-dialog #hkSourceHelp:empty{display:none}
.hk-dialog #hkReview .hk-field input[readonly]{background:#f3f6fa}
.hk-dialog #hkOwn .hk-own{flex-wrap:wrap;justify-content:flex-start;gap:6px 16px}

.hk-load-feedback {
  display:flex;
  align-items:center;
  gap:8px;
  margin-inline-start:auto;
  color:var(--hk-muted);
  font-size:12px;
}
.hk-placeholder {
  display:inline-block;
  vertical-align:middle;
  inline-size:min(7em, 85%);
  block-size:.72em;
  border-radius:4px;
  background:#e6e9ed linear-gradient(100deg, #e6e9ed 30%, #f0f2f4 50%, #e6e9ed 70%) 100% 0 / 220% 100%;
  animation:hk-shimmer 1400ms linear infinite;
}
.hk-stat b .hk-placeholder {inline-size:min(4em, 85%)}
.hk-person-loading {pointer-events:none; text-align:center; font:inherit}
.hk-person-loading dd .hk-placeholder {inline-size:3.3em}
.hk-content-ready {animation:hk-content-ready 140ms ease-out}
@keyframes hk-shimmer {to {background-position:-100% 0}}
@keyframes hk-content-ready {from {opacity:.85} to {opacity:1}}
@media(prefers-reduced-motion:reduce) {
  .hk-placeholder,.hk-content-ready {animation:none}
}


/* ai-settings.css */
.ai-settings-heading,.ai-settings-tools,.ai-settings-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ai-settings-heading h3{margin:0}.ai-settings-heading>.ai-settings-actions{margin-left:auto}
.ai-global-summary{display:flex;gap:12px 32px;flex-wrap:wrap;margin:14px 0 0}
.ai-global-summary div{min-width:115px}
.ai-global-summary dt{color:var(--muted,#536c87);font-size:var(--ui-aux,12px)}
.ai-global-summary dd{margin:4px 0 0;overflow-wrap:anywhere}
.ai-settings-tools{margin:12px 0;align-items:end}.ai-settings-tools label{display:grid;gap:4px}
.ai-settings-info{padding:10px 12px;background:var(--mist-blue,#edf5fa);border-radius:6px;color:var(--text,#263b50);margin:12px 0}
.ai-settings-table{overflow:auto}.ai-settings-table table{width:100%;border-collapse:collapse;white-space:nowrap}
.ai-settings-table th,.ai-settings-table td{padding:9px 10px;text-align:left;border-bottom:1px solid var(--line,#d8e3ef)}
.ai-settings-table th{background:var(--mist-blue,#edf5fa)}.ai-settings-table small{display:block;color:var(--muted,#536c87)}
.ai-settings-link{border:0;background:transparent;text-decoration:underline;color:var(--primary,#245c90);padding:2px;cursor:pointer;font:inherit}
.ai-settings-dialog{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line,#d8e3ef);border-radius:10px;color:var(--text,#263b50)}
.ai-settings-dialog::backdrop{background:#17203366}.ai-settings-dialog header,.ai-settings-dialog footer{padding:12px 16px;display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--line,#d8e3ef)}
.ai-settings-dialog h3{margin:0;flex:1}.ai-settings-dialog footer{border-bottom:0;border-top:1px solid var(--line,#d8e3ef);justify-content:flex-end}
.ai-settings-dialog form{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ai-settings-dialog label{display:grid;gap:4px;margin:0}.ai-settings-dialog .full{grid-column:1/-1}.ai-settings-dialog .ai-inline{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ai-settings-dialog [hidden]{display:none!important}
.ai-model-hint{margin:0;color:var(--muted,#536c87)}
.ai-settings-dialog .ai-inline label{display:flex;align-items:center;gap:6px}.ai-settings-dialog input[type=checkbox],.ai-settings-dialog input[type=radio]{width:auto}
.ai-settings-error{color:var(--danger,#a92f45);margin:0;white-space:normal}.ai-settings-muted{color:var(--muted,#536c87)}
@media(max-width:600px){.ai-settings-dialog form{grid-template-columns:1fr}.ai-settings-tools label{flex:1;min-width:130px}}


/* haiyue-unified-ui.css */
/* Haiyue OMS unified presentation, 2026-11-13. Business state is unchanged. */
:root{
  --ui-font:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;
  --ui-body:12px;--ui-aux:10px;--ui-name:12px;--ui-section:16px;--ui-title:20px;--ui-number:20px;
  --ui-button:36px;--ui-row-button:32px;--ui-tool-button:32px;--ui-field:36px;--ui-field-text:12px;
  --hy-selected-bg:#245f9c;--hy-selected-hover:#1c4d81;
  --hy-ui-primary:#245f9c;--hy-ui-ink:#24364d;--hy-ui-muted:#65758a;--hy-ui-line:#dde4ed;
  --hy-ui-soft:#edf4fb;--hy-ui-page:#f4f6f9;
}
html,body{font-family:var(--ui-font);font-size:12px;line-height:1.6}
body :is(.page,.modal,.drawer,dialog){font-size:12px;line-height:1.6}
body :is(.page,.modal,.drawer,dialog) :is(p,td,th,dd,dt,label,input,select,textarea,button,summary){font-size:12px;line-height:1.55}
body :is(.page,.modal,.drawer,dialog) :is(h1,h2){font-size:20px!important;line-height:1.4}
body :is(.page,.modal,.drawer,dialog) h3{font-size:16px!important;line-height:1.45}
body :is(small,.muted,.asset-code-subtle,.asset-id-copy,.activity-summary,.supplier-note){font-size:10px!important}
body :is(.metric b,.luggage-kpis b,.lost-found-kpis b,.network-asset-kpis b,.energy-kpis b,.inventory-metrics b,.overview-column>b,.energy-proof-money,.iv-detail-total>strong,.iv-detail-amount,.hk-stat b){font-size:20px!important}
body :is(.btn,.icon-btn,.icon-action){font-size:12px!important;font-weight:500;border-radius:6px!important}
body :is(.btn.mini,td .btn,.iv-list-row .btn,.dy-list-row .btn,.supplier-offer-row .btn){font-size:12px!important}
body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]){font-size:12px!important}
body .btn.primary:not(.danger):not(:disabled):not([aria-disabled="true"]){background:var(--hy-ui-primary)!important;border-color:var(--hy-ui-primary)!important;color:#fff!important}
body :is(.btn.primary:not(.danger)):not(:disabled):hover{background:var(--hy-selected-hover)!important;border-color:var(--hy-selected-hover)!important}
body :is(.btn,.icon-btn,.icon-action):focus-visible,body :is(a,input,select,textarea):focus-visible{outline:2px solid var(--hy-ui-primary);outline-offset:2px}
@media(min-width:921px){html body .app-shell #mainContent>.page{max-width:none;margin-inline:0;width:100%}}

/* A single moving background under the selected tab, without changing handlers. */
body :is(.workspace-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.delivery-tabs,.task-tabs,.inventory-result-tabs,.hk-nav,#workspacePageTabs){position:relative;isolation:isolate}
body :is(.workspace-tabs,.people-scope-tabs,.role-permission-tabs,.network-tabs,.delivery-tabs,.task-tabs,.inventory-result-tabs,.hk-nav,#workspacePageTabs).hy-tabs-ready{background:transparent}
.hy-tab-indicator{position:absolute;z-index:0;left:0;top:0;pointer-events:none;border-radius:999px;background:#e6f0fb;transition:transform 300ms ease,width 300ms ease,height 300ms ease;visibility:hidden}
body .hy-tabs-ready>.hy-tab-indicator{visibility:visible}
body .hy-tabs-ready :is(button[role=tab],button[data-tab],.workspace-page-select){position:relative;z-index:1;box-shadow:none!important}
body .hy-tabs-ready :is(button[role=tab],button[data-tab],.workspace-page-select):not(.workspace-page-close){background:transparent!important;border-color:transparent!important;color:#526b85!important;border-radius:999px!important}
body .hy-tabs-ready :is(button[role=tab],button[data-tab],.workspace-page-select):is(.active,.selected,.is-active,[aria-selected=true],[aria-pressed=true]){background:transparent!important;border-color:transparent!important;color:#174f88!important;font-weight:600}
body .hk-nav.hy-tabs-ready .hk-menu>button{position:relative;z-index:1;background:transparent!important;border-color:transparent!important;color:#526b85!important;border-radius:999px!important}
body .hk-nav.hy-tabs-ready .hk-menu>button.active{color:#174f88!important;font-weight:600}
body .hy-tabs-ready .workspace-page-tab,body .hy-tabs-ready .workspace-page-tab.is-active{position:relative;z-index:1;background:transparent!important;border:0!important}
body .hy-tabs-ready .workspace-page-close{position:relative;z-index:2;background:transparent!important;color:#65758a!important}
body .hy-tabs-ready .workspace-page-tab.is-active .workspace-page-select{color:#174f88!important}

/* Non-invasive loading indications; the owning query still controls lifecycle. */
@keyframes hy-unified-shimmer{from{background-position:120% 0}to{background-position:-120% 0}}
@keyframes hy-unified-reveal{from{opacity:.85}to{opacity:1}}
.hy-skeleton-block,.hy-query-skeleton i,.hy-loading-placeholder i,.linen-loading-cell,.hy-image-pending,.image-loading{background:#e7edf3 linear-gradient(100deg,#e7edf3 30%,#f1f4f7 50%,#e7edf3 70%) 100% 0/220% 100%;animation:hy-unified-shimmer 1400ms linear infinite}
.hy-query-skeleton{background:transparent;min-block-size:0;padding:0;gap:0}
.hy-query-skeleton.hy-module-placeholder{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:9px;padding:14px;background:#fff;pointer-events:none}
.hy-query-skeleton.hy-module-placeholder>i{min-height:10px;margin:0}
.hy-query-skeleton.hy-invoice-placeholder{align-items:center;gap:8px;padding:12px 10px}
.hy-query-skeleton.hy-invoice-placeholder i{width:75%;max-width:95px;min-height:10px}
.dy-parcel-cards.hy-query-skeleton{gap:12px}
.maintenance-asset-history.hy-query-skeleton summary>i.maint-thumb{width:44px;height:44px}
tr.hy-query-skeleton td{padding:9px 8px!important;border-bottom:1px solid var(--hy-ui-line)}
tr.hy-query-skeleton i{display:block;width:70%;height:12px;margin:0!important;border-radius:4px}
.hy-query-skeleton.hy-query-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.hy-query-skeleton .hy-query-card{min-height:138px;padding:12px;background:#fff;border:1px solid var(--hy-ui-line);border-radius:8px}
.hy-query-skeleton .hy-query-card i{display:block;width:72%;height:12px;margin:0 0 14px;border-radius:4px}
.hy-query-skeleton .hy-query-card i:first-child{height:56px;width:100%}
.hy-query-skeleton .hy-query-card i:last-child{width:45%;margin-bottom:0}
.hy-asset-skeleton,.hy-task-skeleton{border:1px solid var(--hy-ui-line);border-radius:12px;background:#fff;overflow:hidden}
.hy-asset-skeleton .hy-skeleton-photo{height:200px;margin:10px;border-radius:8px;background:#e7edf3 linear-gradient(100deg,#e7edf3 30%,#f1f4f7 50%,#e7edf3 70%) 100% 0/220% 100%;animation:hy-unified-shimmer 1400ms linear infinite}
.hy-skeleton-info{padding:4px 14px 14px}.hy-skeleton-info i{display:block;height:12px;width:70%;border-radius:4px;margin:0 0 11px}.hy-skeleton-info i:first-child{width:42%}.hy-skeleton-info i:last-child{width:48%;margin-bottom:0}
.hy-task-skeleton{padding:20px;min-height:175px;display:flex;flex-direction:column;gap:14px}.hy-task-skeleton i{display:block;height:12px;width:45%;border-radius:4px}.hy-task-skeleton i:nth-child(2){width:25%}.hy-task-skeleton i:nth-child(3){width:65%}.hy-task-skeleton i:last-child{width:32%;margin-top:auto}
.task-layout-list #taskList{grid-template-columns:1fr}.hy-task-skeleton.is-list{display:grid;grid-template-columns:repeat(9,minmax(60px,1fr));gap:10px;min-height:52px;align-items:center;padding:12px 14px}.hy-task-skeleton.is-list i{width:75%;margin:0}
.hy-query-skeleton table{width:100%}.hy-query-skeleton table td{padding:12px 8px}.hy-query-skeleton table i{display:block;width:70%;height:12px;border-radius:4px}
.hy-linen-skeleton{display:flex;align-items:center;justify-content:space-between;gap:16px}.hy-linen-skeleton>div{flex:1}.hy-linen-skeleton i{display:block;width:50%;height:12px;margin:0 0 10px;border-radius:4px}.hy-linen-skeleton>i{width:70px;margin:0}.hy-linen-skeleton i:last-child{margin-bottom:0}
.hy-loading-placeholder{display:grid;gap:10px;padding:12px 0;pointer-events:none}
.hy-loading-placeholder i{display:block;height:12px;border-radius:4px;width:85%}.hy-loading-placeholder i:nth-child(2){width:62%}.hy-loading-placeholder i:nth-child(3){width:73%}
img.hy-image-pending{color:transparent}
img.hy-image-failed{background:#edf1f5}
.hk-menu.hy-menu-dismissed>div{display:none!important}
@media(max-width:800px){.hy-asset-skeleton{display:grid;grid-template-columns:128px 1fr;min-height:132px}.hy-asset-skeleton .hy-skeleton-photo{height:120px;margin:6px}.hy-asset-skeleton .hy-skeleton-info{padding:11px}}
@media(prefers-reduced-motion:reduce){.hy-tab-indicator,.hy-float-hint{transition:none!important}.hy-skeleton-block,.hy-query-skeleton i,.hy-loading-placeholder i,.linen-loading-cell,.hy-image-pending,.image-loading,.hy-asset-skeleton .hy-skeleton-photo{animation:none!important}}

/* Legacy modules contain many fixed font sizes; apply the agreed four-level
   scale to desktop text while leaving touch-device scaling available. */
@media(min-width:921px){
 html body :is(.page,dialog,#modal,#assetDrawer) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select:not([multiple])):not(.hy-control-exempt){box-sizing:border-box;height:36px!important;min-height:36px!important}
 html body :is(.page,dialog,#modal,#assetDrawer) :is(button.btn,summary.btn):not(.mini):not(.icon-action):not(.wide):not(.hy-control-exempt){box-sizing:border-box;height:36px!important;min-height:36px!important}
 html body :is(.page,dialog,#modal,#assetDrawer) :is(button.btn,summary.btn).mini:not(.hy-control-exempt){box-sizing:border-box;height:32px!important;min-height:32px!important}
 html body :is(#appView,#loginView,dialog,#modal,#assetDrawer) :not(.hy-font-exempt):not(.hy-font-exempt){font-size:12px!important}
 html body :is(#appView,#loginView,dialog,#modal,#assetDrawer) :is(small,.muted,.date,.hy-query-status,.session-idle-counter,.linen-kpi-draft span,.hk-muted):not(.hy-font-exempt):not(.hy-font-exempt){font-size:10px!important}
 html body :is(#appView,#loginView,dialog,#modal,#assetDrawer) :is(h2,h3):not(.hy-font-exempt):not(.hy-font-exempt){font-size:16px!important}
 html body :is(#appView,#loginView,dialog,#modal,#assetDrawer) :is(h1,.modal-head h2,.modal-head h3,.drawer-head h2,dialog>header h2,.metric b,.linen-kpi-draft b,.luggage-kpis b,.lost-found-kpis b,.energy-kpis b,.hk-stat b):not(.hy-font-exempt):not(.hy-font-exempt){font-size:20px!important}
 html body :is(#appView,#loginView,dialog,#modal,#assetDrawer) :is(h1,h2,h3) :not(.hy-font-exempt):not(.hy-font-exempt){font-size:inherit!important}
}

/* Every reserved field gets the same low-contrast sweep. */
:root body :is(.hy-skeleton-block,.hy-query-skeleton i,.hy-loading-placeholder i,.linen-loading-cell,.hy-image-pending,.image-loading,.hy-skeleton-photo,.hk-placeholder,.supplier-skeleton-row i),
#imagePreviewFeedback[data-state="loading"] .image-preview-placeholder-visual {
  background-color:#e5ebf1;
  background-image:linear-gradient(100deg,#e5ebf1 25%,#f6f8fa 50%,#e5ebf1 75%);
  background-size:220% 100%;
  background-repeat:no-repeat;
  animation:hy-unified-shimmer 1400ms linear infinite;
}
@media (prefers-reduced-motion:reduce) {
  :root body :is(.hy-skeleton-block,.hy-query-skeleton i,.hy-loading-placeholder i,.linen-loading-cell,.hy-image-pending,.image-loading,.hy-skeleton-photo,.hk-placeholder,.supplier-skeleton-row i),
  #imagePreviewFeedback[data-state="loading"] .image-preview-placeholder-visual { animation:none !important; }
}

/* Retired quantity pills are hidden before rendering; no late style injection. */
.nav-count,#luggageTabBadge,#lostFoundTabBadge,#taskMineCount,#taskAllCount,#reviewCount,#energyLedgerTabCount,#energyProgressTabCount,#energyProgressAllCount,#energyProgressRecentCount{display:none!important}


/* haiyue-approved-design.css */
/* Local PC redesign following the approved draft-03. Existing controls and
   business handlers remain in place; touch layouts retain their own sizing. */
@media (min-width:921px){
 html body{--hy-ui-primary:#245f9c;--hy-ui-ink:#24364d;--hy-ui-muted:#65758a;--hy-ui-line:#dde4ed;--hy-ui-page:#f4f6f9}
 html body .app-shell{background:var(--hy-ui-page);color:var(--hy-ui-ink)}
 html body .app-shell.hy-sidebar-rail #mainContent>.topbar{height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 18px!important;gap:12px;border-bottom:1px solid var(--hy-ui-line);background:#fff}
 html body #mainContent>.topbar #pageHeaderActions :is(.page-header-action-group>.btn,#assetR1Connect,#supplierActions>summary.btn){box-sizing:border-box;height:26px!important;min-height:26px!important;max-height:26px!important;padding:2px 7px!important;border:1px solid #bdc9d8;border-radius:4px!important;line-height:20px!important;font-size:12px!important;display:inline-flex;align-items:center;justify-content:center}
 html body #mainContent>.topbar #pageHeaderActions .icon-action{width:28px!important;min-width:28px!important;max-width:28px!important;padding:0!important}
 html body #workspacePageTabs{height:40px;align-items:center;gap:2px}
 html body #workspacePageTabs .workspace-page-tab{height:30px!important;align-items:center;border:0!important;border-radius:999px!important;background:transparent!important}
 html body #workspacePageTabs .workspace-page-select{height:30px!important;font-size:12px!important;color:#65758a!important;line-height:1.4}
 html body #workspacePageTabs .workspace-page-tab.is-active .workspace-page-select{color:#174f88!important;font-weight:600}
 html body #workspacePageTabs .workspace-page-close{height:24px!important;color:#65758a!important}
 html body #mainContent>.page{padding:0 0 18px!important;max-width:none!important;width:100%;margin:0}
 html body #mainContent>.page>.hy-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;margin:0 0 16px}
 html body #mainContent>.page>.hy-page-heading h1{margin:0;font-family:var(--ui-font);font-weight:600;color:var(--hy-ui-ink);font-size:20px!important;line-height:1.4}
 .hy-page-heading-actions{display:flex;align-items:center;gap:8px}
 html body :is(.page,.drawer,dialog,#modal) :is(.panel,.asset-query-panel,.task-filters,.task-card,.asset-card:not(tr),.hk-stat){border:1px solid var(--hy-ui-line);border-radius:6px;box-shadow:none;background:#fff}
 html body :is(.page,.drawer,dialog,#modal) .btn:not(.primary):not(.danger):not(.danger-outline):not(:disabled){background:#fff;color:#245f9c;border:1px solid #bdc9d8;box-shadow:none}
 html body :is(.page,.drawer,dialog,#modal) .btn:not(:disabled):hover{border-color:#8da5bf;box-shadow:none}
 html body .page :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]){border:1px solid #bdc9d8;border-radius:5px;background:#fff;color:#24364d;box-shadow:none}
 html body .page :is(.data-table,.ui-asset-table,.responsive-card-table){width:100%;border-collapse:collapse;border-spacing:0}
 html body .page :is(.data-table,.ui-asset-table,.responsive-card-table) th{background:#eef3f8;color:#526b85;font-weight:500;border-bottom:1px solid #dbe4ed}
 html body .page :is(.data-table,.ui-asset-table,.responsive-card-table) td{border-bottom:1px solid #e2e8f0;color:#24364d}
 html body .page :is(.data-table,.ui-asset-table,.responsive-card-table) :is(th,td){padding:10px 12px;line-height:1.5;vertical-align:middle}
 html body .page :is(.workspace-tabs,.task-tabs,.hk-nav,.inventory-result-tabs,.network-tabs){margin-bottom:16px}
 html body #page-assets .asset-query-panel{padding:16px;margin:0 0 16px;border-radius:6px}
 html body #page-assets .asset-query-panel>.panel-head{display:none}
 html body #page-assets .archive-filter-row{gap:10px;align-items:end}
 html body #page-assets .archive-filter-row>.btn{align-self:end}
 html body #page-assets #assetSearchBtn{background:#fff!important;color:#245f9c!important;border-color:#bdc9d8!important;box-shadow:none!important}
 html body #page-assets #assetClearBtn{border-color:transparent!important;background:transparent!important;color:#245f9c!important;box-shadow:none!important}
 html body #page-assets .mist-results-heading{display:flex;align-items:center;gap:8px;margin:0 0 12px;min-height:34px}
 html body #page-assets .mist-results-heading>h3{font-family:var(--ui-font);font-size:16px!important;letter-spacing:0;margin:0}
 html body #page-assets .mist-results-heading>.ui-results-tools{margin-left:auto;display:flex;align-items:center;gap:12px}
 html body #page-assets .asset-command-group{display:flex;align-items:center;gap:8px;border:0;background:none;padding:0;box-shadow:none}
 html body #page-assets .asset-command-group-title{font-size:10px!important;color:#65758a}
 html body #page-assets .asset-command-buttons{display:flex;align-items:center;gap:8px}
 html body #page-assets .asset-view-switch{display:flex;gap:2px;padding:2px;background:#e9eef4;border:0;border-radius:999px}
 html body #page-assets .asset-view-switch .btn{height:28px!important;min-height:28px!important;padding:2px 10px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#65758a!important;box-shadow:none!important}
 html body #page-assets .asset-view-switch .btn.active{background:#dcebf9!important;color:#174f88!important}
 html body #assetResults.asset-compact{display:block}
 html body #assetResults.asset-compact .ui-asset-table-wrap{overflow:auto;border:1px solid #dce4ed;border-radius:6px;background:#fff}
 html body #assetResults.asset-compact table.ui-asset-table{min-width:900px}
 html body #assetResults.asset-compact table.ui-asset-table tr.asset-card{display:table-row!important;position:static;padding:0!important;background:#fff;border:0;border-radius:0;box-shadow:none;min-height:0}
 html body #assetResults.asset-compact table.ui-asset-table tbody tr:hover{background:#f7faff}
 html body #assetResults.asset-compact .asset-card-check{width:auto;height:auto;min-height:0;display:inline-flex!important}
 html body #assetResults.asset-compact .asset-card-check input{width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important}
 html body #assetResults.asset-compact .hy-asset-name-cell{display:flex;align-items:center;gap:12px;min-width:210px}
 html body #assetResults.asset-compact .hy-asset-name-cell .asset-photo{flex:0 0 50px;width:50px;height:46px;min-height:46px;padding:2px;border:0;border-radius:4px;background:#eef3f8}
 html body #assetResults.asset-compact .ui-asset-name{display:block;color:#245f9c;font-weight:500}
 html body #assetResults.asset-compact .ui-asset-code{display:block;margin-top:3px;font-size:10px!important;color:#65758a}
 .hy-asset-status{display:inline-block;padding:2px 6px;border-radius:3px;white-space:nowrap;background:#f1f4f8;color:#526b85}
 .hy-asset-status.is-normal{background:#edf7f0;color:#23704d}.hy-asset-status.is-warning{background:#fbf4e6;color:#93611c}
 .hy-row-link{border:0;background:none;padding:2px 0;color:#245f9c;font:inherit;cursor:pointer}.hy-row-link:hover{text-decoration:underline}
 html body :is(#page-assets,#page-approvals) :is(h1,h2,h3,h4){font-family:var(--ui-font);letter-spacing:normal}
 html body #page-approvals .task-filters{padding:16px;background:#fff;border:1px solid #dde4ed;border-radius:6px}
 html body #page-approvals .task-card{border-radius:6px;box-shadow:none}
 html body #page-linen :is(.panel,.linen-kpi-draft){border-radius:6px;box-shadow:none}
 html body #page-housekeeping .hk :is(.panel,.hk-stat){border-radius:6px;box-shadow:none}
 /* The selected capsule is supplied by the shared moving indicator. */
 html body :is(.page .workspace-tabs,#page-approvals .task-tabs,#housekeepingHost .hk-nav){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:4px}
 html body :is(.page .workspace-tabs,#page-approvals .task-tabs,#housekeepingHost .hk-nav)>button,
 html body #housekeepingHost .hk-nav>.hk-menu>button,
 html body #page-linen .linen-tabs .lo-management-menu>button,
 html body #page-procurement .procurement-rfid-menu>[data-rfid-menu-toggle],
 html body #page-batch .procurement-rfid-menu>[data-rfid-menu-toggle]{position:relative;z-index:1;height:32px!important;min-height:32px!important;min-width:0!important;padding:0 12px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#526b85!important;font-weight:400!important;box-shadow:none!important}
 html body :is(.page .workspace-tabs,#page-approvals .task-tabs,#housekeepingHost .hk-nav)>button.active,
 html body #housekeepingHost .hk-nav>.hk-menu>button.active,
 html body #page-linen .linen-tabs .lo-management-menu>button.active,
 html body #page-procurement .procurement-rfid-menu>[data-rfid-menu-toggle].active,
 html body #page-batch .procurement-rfid-menu>[data-rfid-menu-toggle].active{color:#174f88!important;font-weight:600!important}
 html body #page-approvals .task-tabs b{min-width:0;padding:0;background:transparent;color:inherit;font-size:10px}
 html body #page-approvals .task-toolbar{margin:12px 0;gap:10px}
 html body #page-approvals .task-toolbar .hy-list-heading{display:flex;align-items:center;gap:8px;min-width:0;color:#24364d}
 html body #page-approvals .task-toolbar .hy-list-heading strong{font-size:16px!important;font-weight:600}
 html body #page-approvals #taskSummary{font-size:10px;color:#65758a}
 html body #page-approvals .task-result-tools{display:flex;align-items:center;gap:10px}
 html body #page-approvals .task-result-tools #taskBatch{order:0}
 html body #page-approvals .task-result-tools .view-switch{order:1;display:flex;gap:2px;padding:2px;border:0;border-radius:999px;background:#e9eef4}
 html body #page-approvals .task-result-tools .view-switch .btn{height:28px!important;min-height:28px!important;padding:2px 10px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#65758a!important;box-shadow:none!important}
 html body #page-approvals .task-result-tools .view-switch .btn[aria-pressed=true]{background:#dcebf9!important;color:#174f88!important}
 html body #page-approvals #taskFilters button[type=submit]{background:#fff!important;color:#245f9c!important;border-color:#bdc9d8!important}
 html body #page-approvals #taskClearSelection{border-color:transparent!important;background:transparent!important}
 html body #page-approvals #taskPanel:not(.task-layout-list) .task-card{position:relative;padding:16px;min-height:160px;gap:7px}
 html body #page-approvals .task-card-top{flex:0;align-items:start}
 html body #page-approvals .task-card-select{position:absolute;right:16px;top:50px}
 html body #page-approvals .task-card-select input{width:15px;height:15px;margin:0}
 html body #page-approvals .task-card-title strong{display:inline;font-size:12px!important;font-weight:500;color:#65758a}
 html body #page-approvals .task-card-title .task-subject{font-size:12px!important;font-weight:600;color:#24364d;margin-top:6px}
 html body #page-approvals .task-card-title .task-context{margin-top:7px}
 html body #page-approvals .task-handler{padding:0;background:transparent;color:#65758a}
 html body #page-approvals .task-handler b{font-size:10px!important;font-weight:400;color:#65758a}
 html body #page-approvals .task-actions{padding-top:10px;border-top:1px solid #e5ebf2}
 html body #page-approvals .task-actions .btn:not(:disabled){height:auto!important;min-height:0!important;padding:2px 0!important;border:0!important;background:transparent!important;color:#245f9c!important;font-weight:400!important;box-shadow:none!important}
 html body #page-approvals .task-actions .btn:not(:disabled):hover{text-decoration:underline}
 html body #page-approvals .task-actions .task-action-buttons{display:flex;gap:12px}
 html body #page-linen .linen-kpi-draft{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0;margin:0 0 12px;padding:16px 0;background:#fff;border:1px solid #dde4ed;border-radius:6px}
 html body #page-linen .linen-kpi-draft>div{min-width:0;padding:0 18px;background:transparent;border:0;border-right:1px solid #dde4ed;border-radius:0}
 html body #page-linen .linen-kpi-draft>div:last-child{border-right:0}
 html body #page-linen .linen-kpi-draft b{margin:5px 0;color:#24364d}
 html body #page-linen .linen-pane{padding:0}
 html body #housekeepingHost .hk-month-input input{background:transparent!important}
 html body #housekeepingHost .hk-month-input>span{font-size:12px;z-index:2}
 html body #housekeepingHost .hk:has(.hk-content[data-tab=records])>section.panel{padding:0;border:0;background:transparent;box-shadow:none}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-toolbar{padding:16px;background:#fff;border:1px solid #dde4ed;border-radius:6px}
 html body #housekeepingHost .hk-content[data-tab=records]>.hk-table-wrap{border:1px solid #dde4ed;border-radius:6px;background:#fff}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-results-heading{display:flex;align-items:center;gap:8px;margin:16px 0 12px}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-results-heading h2{font-size:16px!important;margin:0}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-results-heading small{font-size:10px!important;color:#65758a}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-results-counts{display:flex;gap:20px;margin-left:auto}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-table-wrap tfoot td{padding:11px 12px;background:#f8fafc;border-top:1px solid #dbe4ed;font-weight:600}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-more{position:relative;align-self:flex-end}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-more>summary{display:flex;align-items:center;gap:5px;list-style:none}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-more>summary::-webkit-details-marker{display:none}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-more>div{position:absolute;right:0;top:calc(100% + 5px);z-index:30;min-width:140px;padding:5px;background:#fff;border:1px solid #dde4ed;border-radius:6px;box-shadow:0 8px 20px #21364f1a}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-more>div>.btn{display:block;width:100%;height:auto!important;min-height:32px!important;text-align:left;border:0!important;background:transparent!important;font-weight:400}
 html body #housekeepingHost .hk-content[data-tab=records] .hk-more>div>.btn:hover{background:#eef3f8!important}
 html body #page-suppliers .supplier-skeleton-row{display:grid;grid-template-columns:1.25fr 1fr .5fr;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #e2e8f0;min-height:52px}
 html body #page-suppliers .supplier-skeleton-row i{display:block;width:70%;height:10px;margin:3px 0;border-radius:4px;background:#e7edf3 linear-gradient(100deg,#e7edf3 30%,#f1f4f7 50%,#e7edf3 70%) 100% 0/220% 100%;animation:hy-unified-shimmer 1400ms linear infinite}
 html body #page-suppliers .supplier-skeleton-row span:first-child i:last-child{width:45%;height:8px}
}
/* The fixed desktop header must not cover the first line of the detail drawer. */
@media (min-width:921px){
  html body #assetDrawer.drawer{top:40px!important;height:calc(100vh - 40px)!important}
}
@media (prefers-reduced-motion:reduce){html body #page-suppliers .supplier-skeleton-row i{animation:none!important}}
@media (max-width:920px){
 #mainContent>.page>.hy-page-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 12px}
 #mainContent .hy-page-heading h1{margin:0;font-size:20px}
 #mainContent .hy-page-heading-actions{max-width:100%}
}

#page-linen [data-linen-pane="ledger"] .hy-text-action {
  border:0;
  background:transparent;
  color:#245f9c;
  font:inherit;
  padding:0;
  text-decoration:underline;
  cursor:pointer;
}
.linen-review-number { overflow-wrap:anywhere; }
#linenReviewTable .linen-review-number { display:block; max-width:34ch; }
#modal .linen-review-number { max-width:100%; }
#page-linen #linenReviewForm { grid-template-columns:minmax(0,1fr) auto auto!important; }
#page-linen #linenReviewForm button { width:auto; }
#linenReviewStatus:empty { display:none; }
#linenReviewStatus { margin:8px 0; }
#linenReviewTable .linen-review-placeholder {
  display:block;
  width:86%;
  height:12px;
  border-radius:4px;
  background:linear-gradient(105deg,#e9edf2 22%,#f3f5f8 48%,#e9edf2 72%);
  background-size:240% 100%;
  animation:linen-review-shimmer 1400ms linear infinite;
}
@keyframes linen-review-shimmer { to { background-position:-240% 0; } }
@media (prefers-reduced-motion:reduce) {
  #linenReviewTable .linen-review-placeholder { animation:none; }
}


/* haiyue-controls.css */
/* Common action and field contract. The named layer intentionally gives
   these presentation rules precedence over old module-specific !important rules.
   Never override display for permission-hidden or responsive controls. */
@layer haiyue-controls {
 :root,:host{--hy-action-blue:#245f9c;--hy-action-blue-hover:#1c4e83;--hy-action-text:#20262e;--hy-action-gray:#e7ebef;--hy-action-edge:#c4cdd7;--hy-field-edge:#d5dde5;--hy-action-radius:6px;--hy-button-tool:32px;--hy-button-normal:36px;--hy-button-large:44px}
 [data-hy-tone]{
  --action-height:var(--hy-button-normal);
  box-sizing:border-box!important;height:var(--action-height)!important;min-height:var(--action-height)!important;max-height:var(--action-height)!important;
  padding:0 12px!important;margin-block:0!important;line-height:1.25!important;font-family:var(--ui-font,"Microsoft YaHei UI","Microsoft YaHei",sans-serif)!important;font-size:12px!important;font-weight:500!important;
  border:1px solid var(--action-border)!important;border-radius:var(--hy-action-radius)!important;background:var(--action-fill)!important;color:var(--action-ink)!important;
  box-shadow:none!important;text-shadow:none!important;letter-spacing:0!important;text-decoration:none!important;white-space:nowrap;vertical-align:middle;gap:6px!important;
 }
 :is(button,summary,a,input)[data-hy-size="32"]{--action-height:var(--hy-button-tool)}
 :is(button,summary,a,input)[data-hy-size="44"]{--action-height:var(--hy-button-large);padding-inline:16px!important}
 [data-hy-tone="primary"]{--action-fill:var(--hy-action-blue);--action-border:var(--hy-action-blue);--action-ink:#fff}
 [data-hy-tone="secondary"]{--action-fill:transparent;--action-border:var(--hy-action-edge);--action-ink:var(--hy-action-text)}
 [data-hy-tone="outline"]{--action-fill:transparent;--action-border:var(--hy-action-edge);--action-ink:var(--hy-action-text)}
 [data-hy-tone="link"]{--action-fill:transparent;--action-border:transparent;--action-ink:#245889;padding-inline:3px!important;text-decoration-line:underline!important;text-underline-offset:3px!important;text-decoration-thickness:1px!important}
 a[data-hy-tone="link"]:not(.btn){padding-inline:0!important}
 [data-hy-tone] :is(span,i,b):not(.sr-only):not(.badge){color:inherit!important}
 [data-hy-tone="primary"]:not(:disabled):not([aria-disabled=true]):hover{--action-fill:var(--hy-action-blue-hover);--action-border:var(--hy-action-blue-hover)}
 [data-hy-tone="secondary"]:not(:disabled):not([aria-disabled=true]):hover{--action-fill:#f1f4f7;--action-border:#9daebf}
 [data-hy-tone="outline"]:not(:disabled):not([aria-disabled=true]):hover{--action-fill:#f1f4f7;--action-border:#9daebf}
 [data-hy-tone="link"]:not(:disabled):not([aria-disabled=true]):hover{--action-ink:#133f70}
 [data-hy-tone]:is(:disabled,[aria-disabled=true]){--action-fill:#edf0f3;--action-border:#dde3e9;--action-ink:#677685;opacity:1!important;cursor:not-allowed!important}
 [data-hy-tone="link"]:is(:disabled,[aria-disabled=true]){--action-fill:transparent;--action-border:transparent;--action-ink:#77808a}
 [data-hy-tone]:focus-visible{outline:2px solid #245f9c!important;outline-offset:2px!important}
 [data-hy-icon="1"]{box-sizing:border-box!important;width:var(--action-height)!important;min-width:var(--action-height)!important;max-width:var(--action-height)!important;aspect-ratio:1!important;padding:0!important;text-align:center!important}
 [data-hy-tone] .hy-action-glyph{width:14px!important;height:14px!important;flex:0 0 14px;fill:none!important;stroke:currentColor!important;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px;pointer-events:none}
 [data-hy-verb="refresh"]{font-size:0!important;overflow:hidden}
 [data-hy-verb="refresh"]>:not(.hy-action-glyph){display:none!important}
 [data-hy-tone]:has(>.hy-action-glyph)::before,[data-hy-tone]:has(>.hy-action-glyph)::after{content:none!important}
 /* Plain HTML buttons center their anonymous line; existing flex controls
    center their children. Preserve display:none from permission or responsive CSS. */
 [data-hy-tone]{align-items:center!important;justify-content:center!important}
 [data-hy-glyph-layout="inline"]>.hy-action-glyph{margin-inline-end:6px}
 [data-hy-joined]{gap:0!important;row-gap:0!important;column-gap:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;align-items:center!important;flex-wrap:nowrap!important}
 [data-hy-joined]>[data-hy-tone]{margin:0!important;border-radius:0!important;border:1px solid var(--hy-action-edge)!important;z-index:auto}
 [data-hy-joined]>[data-hy-edge~="after"]{border-inline-start-width:0!important}
 [data-hy-joined]>[data-hy-edge~="first"]{border-start-start-radius:6px!important;border-end-start-radius:6px!important}
 [data-hy-joined]>[data-hy-edge~="last"]{border-start-end-radius:6px!important;border-end-end-radius:6px!important}
 [data-hy-joined]>[data-hy-tone]:is(.active,.selected,[aria-pressed=true],[aria-selected=true]){--action-fill:#e2eaf2;--action-ink:#193f63;font-weight:600!important}
 [data-hy-joined]>[data-hy-tone]:focus-visible{position:relative;z-index:1;outline-offset:-2px!important}
 #workspacePageTabs .workspace-page-close{flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
 #workspacePageTabs :is(.workspace-page-tab,.workspace-page-select){height:32px!important}
 #assetR1Read{top:0!important;bottom:auto!important;transform:none!important;right:0!important}
 :is(.ui-filterbar,.archive-filter-row,.task-filters,.hk-toolbar) :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=range]),select,[data-hy-verb=filter]){height:32px!important;min-height:32px!important;box-sizing:border-box!important}
 .asset-keyword-entry #fQ{height:32px!important;min-height:32px!important}
 #assetPurchaseMonthToggle::after,#assetCategoryToggle::after{top:50%!important;transform:translateY(-50%)!important;line-height:1!important}
 #assetBatchToolGroup{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .asset-keyword-entry:has(>#assetR1Read:not([hidden]):not(.terminal-feature-hidden)) #fQ{padding-inline-end:40px!important}
 :root,:host{--hy-field-height:32px;--hy-field-ink:#203047;--hy-field-radius:5px;--hy-field-surface:#fff}
 :is(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),select,textarea,[contenteditable=true][role=textbox],.asset-filter-toggle,.filing-state-toggle,button[aria-haspopup=listbox],.hy-calendar-trigger){
   box-sizing:border-box!important;border:1px solid var(--hy-field-edge)!important;border-radius:var(--hy-field-radius)!important;
   color:var(--hy-field-ink)!important;background-color:var(--hy-field-surface)!important;box-shadow:none!important;
   font:400 12px/1.45 var(--ui-font,"Microsoft YaHei",sans-serif)!important;
 }
 :is(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),select:not([multiple],[size]),select[size="1"]:not([multiple]),.asset-filter-toggle,.filing-state-toggle,button[aria-haspopup=listbox],.hy-calendar-trigger){
   height:var(--hy-field-height)!important;min-height:var(--hy-field-height)!important;max-height:var(--hy-field-height)!important;
   margin-block:0!important;padding-block:0!important;vertical-align:middle;
 }
 :is(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=hidden],[type=image],[type=button],[type=submit],[type=reset]),select,textarea,[contenteditable=true][role=textbox],.asset-filter-toggle,.filing-state-toggle,button[aria-haspopup=listbox],.hy-calendar-trigger):focus{
   border-color:#7898b7!important;outline:2px solid #c8d9e9!important;outline-offset:1px!important;
 }
 :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=range]),select,textarea,.hy-calendar-trigger):disabled,
 :is(input,textarea)[readonly]{--hy-field-surface:#f4f6f8;color:#617184!important}
 :is(input,select,textarea).hy-invalid{animation:none!important}
 :is(.energy-photo-required,.filing-media-field.is-required.is-empty){border:1px solid var(--hy-field-edge)!important;background-color:#fff!important;box-shadow:none!important}
 :is(.form-grid,.form-grid-3,.network-form-grid,.hk-grid,#doorScheduleForm,.door-config form,.delivery-form,.category-map-form,.energy-proof-form)>label:has(>:is(select,textarea,input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=range]))):not([hidden],.hidden){
   display:flex!important;flex-direction:column!important;align-items:stretch!important;align-self:start!important;justify-content:flex-start!important;
   gap:5px!important;min-width:0;line-height:16px!important;
 }
 :is(.form-grid,.form-grid-3,.network-form-grid,.hk-grid,#doorScheduleForm,.door-config form,.delivery-form,.category-map-form,.energy-proof-form)>label>:is(.field-label,.hy-field-title){
   margin:0!important;line-height:16px!important;
 }
 .hy-page-heading-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}
 .hy-page-heading-actions .page-header-action-group:not(.hidden){align-items:center;flex-wrap:wrap}
 .hy-page-heading-actions .page-header-action-group.hidden,#workspaceRefresh[hidden]{display:none!important}
 .hy-calendar-field{min-width:0!important;max-width:100%;position:relative}
 #invoiceFilters>.hy-calendar-field{width:auto!important;min-width:0!important}
 .hy-calendar-field>.hy-calendar-trigger{
   display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;
   padding:0 26px 0 10px!important;text-align:start!important;position:relative;cursor:pointer;
 }
 .hy-calendar-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .hy-calendar-trigger>span[aria-hidden=true]{display:none!important}
 .hy-calendar-field>.hy-calendar-trigger::after{
   content:'▾'!important;position:absolute!important;inset:auto 9px auto auto!important;top:50%!important;transform:translateY(-50%)!important;
   width:auto!important;height:auto!important;line-height:1!important;font-size:10px!important;color:#495e72!important;background:none!important;border:0!important;
 }
 html[data-hy-pc-tabs] input:is([type=date],[type=month],[type=datetime-local]){
   background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23495e72' d='M1 1h8L5 5z'/%3E%3C/svg%3E")!important;
   background-repeat:no-repeat!important;background-size:8px 5px!important;background-position:right 9px center!important;padding-right:24px!important;
 }
 html[data-hy-pc-tabs] input:is([type=date],[type=month],[type=datetime-local])::-webkit-calendar-picker-indicator{display:none}
 .iv-range-panel{background:white!important;border:1px solid #c1d5e6!important;border-radius:10px!important;padding:12px!important;color:#25445c!important;box-shadow:0 12px 30px #1d3a5126!important;font:400 12px/1.5 var(--ui-font)!important}
 .iv-range-panel .iv-range-month{display:flex!important;align-items:center!important;gap:6px!important;margin:0 0 9px!important}
 .iv-range-panel .iv-range-month select{flex:1!important;min-width:0!important;width:0!important;max-width:100%!important}
 .iv-range-panel :is(.iv-range-month,.iv-range-parts) button{min-height:32px!important;height:32px!important;color:#29445f!important}
 .iv-range-panel .iv-range-month button{width:32px!important;min-width:32px!important;padding:0!important;background:#f1f6fa!important}
 .iv-range-panel .iv-range-parts [aria-pressed=true]{border-color:#245e8f!important;background:#eaf3fa!important}
 .iv-range-panel [role=gridcell]{height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:5px!important;background:white!important;font:400 12px/1.4 var(--ui-font)!important}
 .iv-range-panel [role=gridcell].range-inside{background:#e8f1f9!important}
 .iv-range-panel [role=gridcell].range-edge{background:#245e8f!important;color:white!important}
 .iv-range-panel [role=gridcell]:focus-visible{outline:2px solid #7098bf!important;outline-offset:-2px!important}
 .iv-range-panel [role=gridcell]:disabled{opacity:.45;cursor:default}
 .iv-range-panel .hy-calendar-time{display:flex;align-items:center;gap:8px;margin:8px 0}
 .hk .hk-month,.hk .hk-month-input,.hk .hk-month-input>span{height:var(--hy-field-height)!important;min-height:var(--hy-field-height)!important}
 [data-hy-floating]::placeholder{color:transparent!important;opacity:0!important}
 .hy-float-hint{position:absolute;z-index:2;box-sizing:border-box!important;pointer-events:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:max-content!important;margin:0!important;padding:0 3px!important;
  font:400 12px/16px var(--ui-font,"Microsoft YaHei",sans-serif)!important;letter-spacing:0!important;text-align:start!important;
  color:#647488!important;background:transparent;transform:translateY(-50%);transition:top 180ms ease,color 180ms ease,background-color 180ms ease!important;
 }
 .hy-float-hint.is-up{font-size:12px!important;line-height:16px!important;color:#435d75!important;background:var(--hy-field-surface,#fff)!important}
 .hy-float-hint[data-required]::after{content:'＊';margin-inline-start:2px;color:#c92b32}
 .hy-float-position{position:relative}
 .hy-float-hint[hidden]{display:none!important}
 .hy-float-caption-hidden{opacity:0!important;pointer-events:none!important;overflow:hidden!important;white-space:nowrap!important;line-height:16px!important;min-height:16px;padding:0!important;margin:0!important}
 [data-hy-floating]:not(textarea){padding-block:0!important;line-height:normal!important}
 textarea[data-hy-floating]{padding-block:8px!important}
 .hy-float-caption-hidden+.hy-required-star,[data-hy-caption-merged]>.hy-required-star{display:none!important}
 .hy-required-tail,.hy-required-star{display:inline!important;white-space:nowrap!important}
 .hy-required-star{color:#c92b32!important;font-size:12px!important;margin-inline-start:2px}
 @media(pointer:coarse){:root,:host{--hy-field-height:44px}}
 @media(prefers-reduced-motion:reduce){.hy-float-hint{transition:none!important}}
}

/* The gallery strip sits outside the image stage so tab motion cannot shrink
   the photo. Keep its geometry in the same layer as shared control sizing. */
@layer haiyue-controls {
  #imageBackdrop {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 12px;
    border: 0;
    background: rgba(10, 18, 31, .94);
    overflow: hidden;
  }
  #imageBackdrop::backdrop { background: transparent; }
  .image-preview-caption { display: contents; }
  #imageBackdrop #imagePreviewStage {
    box-sizing: border-box;
    width: calc(100vw - 112px) !important;
    height: calc(100dvh - 24px) !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0;
    min-height: 0;
    padding: 64px 16px 88px !important;
  }
  #imageBackdrop.asset-gallery-open #imagePreviewStage {
    padding-top: 116px !important;
  }
  #imageBackdrop #imageGalleryTabs {
    position: fixed !important;
    top: 64px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 112px);
    min-height: 32px;
    padding: 0 4px !important;
    border: 1px solid #d5dde5 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #24364d;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    box-shadow: none !important;
  }
  #imageBackdrop #imageGalleryTabs button {
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    color: #63768b !important;
  }
  #imageBackdrop #imageGalleryTabs button[aria-pressed="true"] {
    color: #174f88 !important;
  }
  #imageBackdrop .image-zoom-toolbar {
    position: absolute;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    width: max-content !important;
    max-width: calc(100% - 20px);
    gap: 6px;
    padding: 4px 6px;
    border: 1px solid #d5dde5;
    border-radius: 6px;
    background: #fff !important;
    box-shadow: none;
  }
  #imageBackdrop .image-zoom-toolbar button {
    min-width: 52px;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
  #imageBackdrop :is(#imageClose, #imagePrev, #imageNext) {
    --action-fill: #fff;
    --action-border: #d5dde5;
    --action-ink: #24364d;
  }
  #imageBackdrop #imageMetadata {
    top: auto !important;
    bottom: 50px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100% - 24px);
    max-height: 54px;
    overflow-y: auto;
    overflow-wrap: anywhere;
    padding: 6px 10px;
    border-radius: 5px;
    background: #142238;
    color: #f2f6fc;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
  }
  #imageBackdrop #imageCounter {
    top: auto !important;
    bottom: 10px !important;
    font-size: 12px;
  }
  #invoicePlatformMenu > summary {
    box-sizing: border-box;
    height: var(--hy-field-height) !important;
    min-height: var(--hy-field-height) !important;
    max-height: var(--hy-field-height) !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid var(--hy-field-edge) !important;
    border-radius: var(--hy-field-radius) !important;
    background: var(--hy-field-surface) !important;
    color: var(--hy-field-ink) !important;
    font: 400 12px/1.45 var(--ui-font, "Microsoft YaHei", sans-serif) !important;
  }
  @media (max-width: 920px) {
    #imageBackdrop { padding: 0; }
    #imageBackdrop #imagePreviewStage {
      width: 100vw !important;
      height: var(--app-height, 100dvh) !important;
      padding: 64px 10px 88px !important;
    }
    #imageBackdrop.asset-gallery-open #imagePreviewStage {
      padding-top: 120px !important;
    }
    #imageBackdrop #imageGalleryTabs { max-width: calc(100vw - 24px); }
  }
}

@layer haiyue-controls {
  #imageBackdrop.pc-image-preview {
    inset: 0 !important;
    width: min(1000px, calc(100vw - 40px)) !important;
    height: min(800px, calc(100dvh - 40px)) !important;
    margin: auto;
    padding: 12px 16px !important;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 8px;
    place-items: stretch;
    border: 1px solid #d5dde5;
    border-radius: 10px;
    background: #fff !important;
    color: #20262e !important;
    box-shadow: 0 8px 30px #15284229;
  }
  #imageBackdrop.pc-image-preview[open] { display: grid !important; }
  #imageBackdrop.pc-image-preview::backdrop { background: #17273f66 !important; }
  #imageBackdrop.pc-image-preview #imageClose {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    display: grid !important;
    place-items: center;
    --action-fill: #fff;
    --action-ink: #20262e;
    color: #20262e !important;
  }
  #imageBackdrop.pc-image-preview .image-zoom-toolbar {
    grid-area: 1 / 1 / 2 / -1;
    position: static !important;
    justify-self: center;
    max-width: calc(100% - 80px);
    transform: none !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #imageBackdrop.pc-image-preview #imageGalleryTabs {
    grid-area: 2 / 1 / 3 / -1;
    position: relative !important;
    inset: auto !important;
    justify-self: center;
    transform: none !important;
    width: max-content !important;
    max-width: 100% !important;
  }
  #imageBackdrop.pc-image-preview #imagePreviewStage {
    grid-area: 3 / 2;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }
  #imageBackdrop.pc-image-preview #imagePreview { box-shadow: none !important; }
  #imageBackdrop.pc-image-preview #imagePrev { grid-area: 3 / 1; }
  #imageBackdrop.pc-image-preview #imageNext { grid-area: 3 / 3; }
  #imageBackdrop.pc-image-preview .image-nav {
    position: static !important;
    place-self: center;
    transform: none !important;
  }
  #imageBackdrop.pc-image-preview :is(#imageClose, #imagePrev, #imageNext) {
    box-sizing: border-box;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    border: 1px solid #d5dde5 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #20262e !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }
  #imageBackdrop.pc-image-preview button:focus-visible {
    outline: 2px solid #245f9c !important;
    outline-offset: 2px;
  }
  #imageBackdrop.pc-image-preview .image-preview-caption {
    display: flex;
    grid-area: 4 / 1 / 5 / -1;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    flex-wrap: wrap;
    min-width: 0;
  }
  #imageBackdrop.pc-image-preview :is(#imageMetadata, #imageCounter) {
    position: static !important;
    transform: none !important;
    max-width: 100%;
    padding: 4px 2px !important;
    color: #526b85 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #imageBackdrop.pc-image-preview #imageCounter { font-variant-numeric: tabular-nums; }
  #imageBackdrop.pc-image-preview #imagePreviewFeedback {
    inset: 0 !important;
    width: min(560px, 100%) !important;
    max-height: 100%;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    margin: auto;
    transform: none !important;
    color: #24364d !important;
    font-size: 12px !important;
  }
  #imageBackdrop.pc-image-preview #imagePreviewFeedback .image-preview-placeholder-visual {
    align-self: center;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 400px;
    border-color: #d5dde5;
    background: #f3f6fa !important;
  }
  #imageBackdrop.pc-image-preview #imagePreviewStatus { background: #f3f6fa !important; }
  #imageBackdrop.pc-image-preview #imageGalleryEmpty {
    border-color: #d5dde5;
    background: #f3f6fa !important;
    color: #526b85 !important;
  }
  @media (max-width: 600px) {
    #imageBackdrop.pc-image-preview {
      width: calc(100vw - 20px) !important;
      height: calc(100dvh - 20px) !important;
      padding: 8px !important;
      gap: 6px;
    }
    #imageBackdrop.pc-image-preview #imageClose { top: 8px !important; right: 8px !important; }
    #imageBackdrop.pc-image-preview .image-zoom-toolbar {
      justify-self: start;
      max-width: calc(100% - 42px) !important;
    }
  }
}

@layer haiyue-controls {
  #imageBackdrop #imageClose {
    --action-fill: transparent;
    --action-border: #d5dde5;
    --action-ink: #fff;
    color: #fff !important;
  }
  .location-choice-field { min-width:0; margin:0; padding:0; border:0; }
  .location-choice-field > legend { margin:0 0 6px; padding:0; color:#526b85; font-size:12px; font-weight:600; }
  .location-radio-options { display:flex; align-items:center; flex-wrap:wrap; min-height:32px; gap:8px 24px; }
  .location-radio-options > label { display:inline-flex !important; align-items:center; gap:6px; margin:0; padding:0; font-size:12px; font-weight:400; }
  .location-radio-options input[type="radio"] { flex:0 0 16px; width:16px; height:16px; margin:0; accent-color:#245f9c; }
  .energy-deadline-section :is(.energy-policy-offset, .energy-policy-choice) { display:inline-flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0; min-height:32px; }
  .energy-deadline-section input[type="number"] { flex:0 0 auto; inline-size:calc(10em + 22px) !important; min-inline-size:calc(10em + 22px) !important; max-inline-size:calc(10em + 22px) !important; padding-inline:10px !important; text-align:start; }
  .energy-deadline-section .energy-deadline-reminder { display:grid; grid-template-columns:minmax(106px,1fr) minmax(140px,1fr); align-items:center; gap:8px 12px; }
  @media (max-width:1040px) { .energy-deadline-section .energy-deadline-reminder { grid-template-columns:minmax(0,1fr); } }
}

@layer haiyue-controls {
  [data-hy-verb="refresh"]:not(#workspaceRefresh) { display:none !important; }
  .hy-calendar-caption-hidden { display:none !important; }
  .operation-log-table tbody tr { cursor:pointer; }
  .operation-log-detail dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
  .operation-log-detail dt { color:#607082; margin-bottom:4px; }
  .operation-log-detail dd { margin:0; overflow-wrap:anywhere; }
  .operation-log-detail section { margin-top:16px; }
  .operation-log-detail h4 { margin:0 0 8px; }
  .operation-log-detail pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; margin:0; padding:10px; border:1px solid #d5dde5; border-radius:5px; background:#fff; }
  .procurement-rfid-options[popover] {
    position:fixed !important;
    inset:auto !important;
    left:var(--rfid-menu-left,8px) !important;
    top:var(--rfid-menu-top,8px) !important;
    margin:0 !important;
    max-width:calc(100vw - 16px);
    max-height:calc(100dvh - 16px);
    overflow-y:auto;
  }
  #disposalFilters > label:has(#dpRecentLocations) {
    width:calc(15em + 22px) !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:0 1 calc(15em + 22px) !important;
  }
  #dpRecentLocations { width:100% !important; max-width:calc(15em + 22px) !important; }
  @media (min-width:1101px) {
    #disposalFilters { grid-template-columns:minmax(130px,1.6fr) minmax(90px,.8fr) 125px 202px minmax(130px,1fr) 120px auto !important; }
  }
  .asset-state-text {
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    padding:0 !important;
    color:inherit !important;
    font:inherit !important;
    box-shadow:none !important;
  }
  .energy-deadline-row > .energy-policy-offset {
    display: grid !important;
    grid-template-columns: 136px 142px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
  }
  .energy-payment-options, .energy-policy-month-end {
    display: grid !important;
    grid-template-columns: 136px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
  }
  .energy-policy-month-end { grid-template-columns:136px 142px minmax(0,1fr); }
  .energy-deadline-section .energy-deadline-reminder {
    display:grid !important;
    grid-template-columns:minmax(106px,1fr) 220px;
  }
  .energy-deadline-reminder > .energy-policy-offset {
    display:grid !important;
    grid-template-columns:48px 142px minmax(0,1fr);
    align-items:center;
    gap:6px;
  }
  @media (max-width:1040px) {
    .energy-deadline-section .energy-deadline-reminder { grid-template-columns:minmax(0,1fr); }
  }
  @media (max-width:700px) {
    .energy-deadline-row > .energy-policy-offset, .energy-payment-options, .energy-policy-month-end {
      display:flex !important; flex-wrap:wrap; gap:8px;
    }
  }
}

@layer haiyue-controls {
 .hy-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
}

@layer haiyue-controls {
 :is(.asset-view-switch,.task-result-tools>.view-switch,.network-view-switch,#deliveryViewSwitch){width:max-content!important;max-width:100%;margin-inline-start:auto!important;justify-self:end!important;flex:0 0 auto!important;order:99}
 :is(.lo-code-query,.rt-read-field){position:relative}
 :is(.lo-code-query,.rt-read-field)>input{width:100%;padding-inline-end:40px!important}
 :is(.lo-code-query,.rt-read-field)>[data-hy-embedded-rfid]{position:absolute!important;inset-inline-end:0!important;right:0!important;top:0!important;bottom:auto!important;transform:none!important;border-radius:5px!important}
}

@layer haiyue-controls {
 .filing-field-flag.required,.filing-field-badge.is-required,.required-mark{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-style:normal!important;font-size:12px!important;color:#c92b32!important}
 .hy-io-source{display:flex;align-items:center;gap:8px}
}

@layer haiyue-controls { .delivery-view-tools{display:flex;justify-content:flex-end;min-width:0} }

/* Shared PC list presentation, following the delivery list reference.
   Separate cell borders avoid the collapsed-border paint loss on legacy asset rows. */
@layer haiyue-controls {
 :root{--hy-list-head:#eef3f8;--hy-list-rule:#d8e3ef;--hy-list-ink:#24364d;--hy-list-muted:#526b85;--hy-list-hover:#f6f9fc;--hy-list-cell-y:10px;--hy-list-cell-x:12px}
 #taskFilters [data-task-sort-field][hidden]{display:none!important}
 @media screen and (min-width:921px){
  .page table:has(>thead){border-collapse:separate!important;border-spacing:0!important;background:#fff;box-shadow:none!important}
  .page table:has(>thead)>:is(thead,tbody,tfoot)>tr>:is(th,td){
   box-sizing:border-box;padding:var(--hy-list-cell-y) var(--hy-list-cell-x)!important;line-height:1.5!important;vertical-align:middle!important;
   border:0!important;border-bottom:1px solid var(--hy-list-rule)!important;font-size:12px!important;
  }
  .page table>thead>tr>:is(th,td){background:var(--hy-list-head)!important;color:var(--hy-list-muted)!important;font-weight:600!important}
  .page table:has(>thead)>tbody>tr{height:44px!important}
  .page table:has(>thead)>tbody>tr:last-child>:is(th,td){border-bottom:0!important}
  .page table:has(>thead)>tfoot>tr>:is(th,td){border-top:1px solid var(--hy-list-rule)!important;background:var(--hy-list-head)!important}
  .page table:has(>thead)>tfoot>tr:last-child>:is(th,td){border-bottom:0!important}
  .page :is(.table-wrap,.ui-asset-table-wrap,.hk-table-wrap,.dy-parcel-table-wrap,.door-table-wrap,.filing-task-table-wrap,.lo-table-wrap,.rt-table-scroll,.network-table-scroll):has(>table){
   border:1px solid var(--hy-list-rule)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;
  }
  #assetResults.asset-compact .ui-asset-table>tbody>tr.asset-card{overflow:visible!important}
  #taskPanel.task-layout-list .task-list-scroll{border:1px solid var(--hy-list-rule)!important;border-radius:6px!important;background:#fff;box-shadow:none!important}
  #taskPanel.task-layout-list .task-list-heading{border:0!important;border-bottom:1px solid var(--hy-list-rule)!important;border-radius:0!important;margin:0!important;background:var(--hy-list-head)!important;color:var(--hy-list-muted)!important;font-weight:600!important}
  #taskPanel.task-layout-list :is(.task-list,.task-group-members){gap:0!important}
  #taskPanel.task-layout-list :is(.task-list-heading,.task-card){padding:var(--hy-list-cell-y) var(--hy-list-cell-x)!important;min-height:44px;box-sizing:border-box}
  #taskPanel.task-layout-list .task-card{border:0!important;border-bottom:1px solid var(--hy-list-rule)!important;border-radius:0!important;margin:0!important;box-shadow:none!important}
  #taskPanel.task-layout-list .task-card:last-child{border-bottom:0!important}
  #taskPanel.task-layout-list .task-card:not(.selected):hover{background:var(--hy-list-hover)!important}
  @container delivery-followups (min-width:1040px){
   #page-delivery.delivery-followups-view :is(.dy-followup-header,.dy-followup-row>button){padding:var(--hy-list-cell-y) var(--hy-list-cell-x)!important;min-height:44px;box-sizing:border-box}
   #page-delivery.delivery-followups-view .dy-followup-header{background:var(--hy-list-head)!important;color:var(--hy-list-muted)!important;border-bottom:1px solid var(--hy-list-rule)!important;font-weight:600}
   #page-delivery.delivery-followups-view .dy-followup-row{border-bottom:1px solid var(--hy-list-rule)!important}
   #page-delivery.delivery-followups-view .dy-followup-row:last-child{border-bottom:0!important}
  }
 }
 @media screen and (min-width:1101px){
  #taskFilters.task-filters{grid-template-columns:minmax(180px,2fr) minmax(120px,.85fr) minmax(155px,1.1fr) minmax(135px,.9fr) auto auto!important}
  #taskFilters.task-filter-mine{grid-template-columns:minmax(180px,2fr) minmax(120px,.85fr) minmax(155px,1.1fr) auto auto!important}
 }
}

@layer haiyue-controls {
 .hy-status-plain{display:inline!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font:inherit!important}
 :is(.location-compact-form,.location-edit-form){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important}
 .location-choice-field{grid-column:1/-1!important;min-height:32px;margin:0!important;padding:0!important;border:0!important}
 .location-choice-field>legend{float:left;box-sizing:border-box;width:160px;margin:0!important;padding:0!important;line-height:32px!important;color:#526b85;font-size:12px!important}
 .location-choice-field>.location-radio-options{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;min-height:32px;margin-inline-start:160px;gap:12px 24px!important}
 .hy-radio-field{min-width:0;border:0;margin:0;padding:0}
 .hy-radio-field>legend{font-size:12px;line-height:18px;margin:0 0 6px;padding:0;color:#526b85}
 .hy-radio-options{display:flex;align-items:center;gap:16px;min-height:32px}
 :is(.location-radio-options,.hy-radio-options)>label{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:32px;min-width:60px;width:auto!important;margin:0!important;padding:0!important;white-space:nowrap;font-size:12px!important;font-weight:400;cursor:pointer}
 .hy-radio-options input[type=radio]{width:16px;height:16px;min-height:16px;flex:0 0 16px;margin:0;accent-color:#245f9c}
 #doorConnectForm>.door-connect-save{width:max-content!important;max-width:100%;justify-self:start!important;align-self:start!important;grid-column:1/-1}
 .tag-type-purpose-add .tag-purpose-options{display:flex!important;align-items:center;justify-content:flex-start!important;flex-wrap:wrap;gap:8px 16px!important;min-width:0}
 .tag-type-purpose-add .tag-purpose-options>label{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;min-height:32px;gap:6px!important;margin:0!important;white-space:nowrap}
 #aiSettingsHost .ai-settings-tools{align-items:flex-end!important}
 #aiSettingsHost .ai-settings-tools>[data-ai=usage]{align-self:flex-end!important;flex:0 0 auto}
 @media(max-width:600px){:is(.location-compact-form,.location-edit-form){grid-template-columns:minmax(0,1fr)!important}}
 @media(max-width:480px){.location-choice-field>legend{width:132px}.location-choice-field>.location-radio-options{margin-inline-start:132px;gap:12px!important}}
}

@layer haiyue-controls {
 :is(.location-radio-options,.hy-radio-options) input[type=radio],.tag-purpose-options input[type=checkbox]{margin:0!important;align-self:center!important}
}

@layer haiyue-controls {
 :is(.location-radio-options,.hy-radio-options) input[type=radio]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;flex:0 0 16px!important}
 @media(max-width:600px){
  .location-choice-field,.location-radio-options,.hy-radio-options{min-height:44px}
  .location-choice-field>legend{line-height:44px!important}
  :is(.location-radio-options,.hy-radio-options)>label{min-height:44px}
 }
}

@layer haiyue-controls { #aiSettingsHost .ai-settings-tools>label{margin:0!important;padding:0!important} }
/* Task rows share the list rhythm; card-only height must not affect rows. */
html body #page-approvals #taskPanel{--hy-task-columns:minmax(116px,.85fr) 60px 86px minmax(132px,1fr) minmax(140px,1.2fr) minmax(112px,1fr) 78px 108px minmax(128px,1fr)}
html body #page-approvals #taskPanel :is(.task-card,.task-card-title>strong,.task-card-title .task-subject,.task-location,.task-step,.task-handler,.task-handler b,.task-kind,.task-action-buttons,.task-age-badge){font-size:12px!important;line-height:1.5}
html body #page-approvals #taskPanel .task-date{font-size:10px!important;line-height:1.5}
html body #page-approvals #taskPanel .task-card-select{position:static!important;flex:0 0 16px;align-self:center;justify-self:start}
html body #page-approvals #taskPanel :is(.task-card-select input,#taskPageCheck){appearance:auto;width:16px!important;height:16px!important;min-width:16px;min-height:16px;padding:0;margin:0;accent-color:#245f9c}
html body #page-approvals #taskPanel .task-heading-name{display:flex;align-items:center;gap:10px}
html body #page-approvals #taskPanel.task-layout-list :is(.task-list-heading,.task-card,.hy-task-skeleton.is-list){grid-template-columns:var(--hy-task-columns)!important;min-height:44px!important;height:auto!important;padding:10px 12px!important;gap:10px;min-width:1160px;box-sizing:border-box;font-size:12px!important;line-height:1.5}
html body #page-approvals #taskPanel.task-layout-list .task-card{display:grid!important;align-items:center;grid-auto-rows:auto}
html body #page-approvals #taskPanel.task-layout-list .task-card-select{grid-column:1;grid-row:1;align-self:center}
html body #page-approvals #taskPanel.task-layout-list .task-card:has(.task-card-select) .task-card-title>strong{padding-left:26px!important}
html body #page-approvals #taskPanel.task-layout-list .task-card-title .task-subject{margin:0!important;font-weight:400;overflow-wrap:anywhere}
html body #page-approvals #taskPanel.task-layout-list .task-card-title .task-context{margin:0!important}
html body #page-approvals #taskPanel.task-layout-list .task-card-title>.custody-source{font-size:10px!important}
html body #page-approvals #taskPanel.task-layout-list .task-action-buttons{align-self:center;justify-content:flex-end;min-height:24px}
html body #page-approvals #taskPanel.task-layout-list #taskList{min-width:1160px!important;margin:0!important;padding:0!important}
html body #page-approvals #taskPanel.task-layout-list #taskListHeading:not(.hidden){display:grid!important}
html body #page-approvals #taskPanel.task-layout-list .task-card:not(.selected){background:#fff!important}
html body #page-approvals #taskPanel.task-layout-list .task-card:not(.selected):hover{background:var(--hy-list-hover,#f6f9fc)!important}
html body #page-approvals #taskPanel.task-layout-list .task-card.selected{background:#eaf3fb!important}

/* Work-step duration is ordinary text in both task views and layouts. */
html body #page-approvals #taskPanel .task-age-badge{background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;font-weight:400!important}
/* Guest parcels and takeaways share the same type colors. */
@layer haiyue-controls {
 html body .dy-type:is(.dy-type-guest,.dy-type-takeaway),
 html body [data-hy-tone] .dy-type:is(.dy-type-guest,.dy-type-takeaway){background:#fff1df!important;color:#a7660c!important}
}
/* A completed receipt remains readable without a status chip. */
html body .dy-stage-completed{display:inline!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;font-weight:400!important}
/* Keep the linen query reader inside its field, matching the asset search control. */
.linen-rfid-query{position:relative;display:flex;align-items:center;min-width:0;flex:1 1 260px}
.linen-rfid-query>#linenRfidQ{width:100%;min-width:0;padding-right:40px!important}
.linen-rfid-query>#linenRfidRead{position:absolute;right:0;top:0;width:32px;height:32px;margin:0}
#linenRfidReadStatus{font-size:10px;margin:6px 0 0}


/* workspaces-layout.css */
/* Desktop business workspaces share the geometry of the approved asset search.
   Semantic regions stay on the original forms, result hosts and detail panels. */
@layer haiyue-workspaces {
  @media screen and (min-width: 921px), screen and (min-width: 600px) and (pointer: fine) {
    :root {
      --ws-ink: #24364d;
      --ws-muted: #63768b;
      --ws-edge: #dde4ed;
      --ws-head: #eef3f8;
      --ws-wash: #f7f9fb;
      --ws-selected: #edf4fb;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #doorHistoryPanel,
        .hk-content:not([data-tab="records"]), #companyAnnouncementPanel) {
      min-width: 0;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #companyAnnouncementPanel) .panel {
      padding: 16px !important;
      border: 1px solid var(--ws-edge) !important;
      border-radius: 6px !important;
      background: white !important;
      box-shadow: none !important;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #companyAnnouncementPanel)
        :is(.panel-head, .server-toolbar, .inventory-workspace-bar, .network-list-head,
            .filing-section-head, .energy-section-title) {
      align-items: center !important;
      gap: 12px !important;
      margin: 0 0 12px !important;
      padding: 0 !important;
      background: transparent !important;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), .hk-content:not([data-tab="records"]))
        :is(.panel-head h3, .inventory-workspace-bar h3, .network-list-head > div > b,
            .server-toolbar h3, .supplier-kicker, .supplier-detail-head h3,
            .supplier-section-bar h4, .filing-workspace h3, .energy-section-title h3, .hk-section-head h3) {
      margin: 0 !important;
      color: var(--ws-ink) !important;
      font: 600 16px/1.45 var(--ui-font, "Microsoft YaHei", sans-serif) !important;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]))
        :is(.panel-head p, .inventory-note, .supplier-form-help, .supplier-section-help,
            .server-toolbar p, .delivery-footer-count, .filing-hint, .supplier-picker-help) {
      margin: 3px 0 0;
      color: var(--ws-muted);
      font-size: 10px !important;
    }
    :is([data-workspace-layout="filters"], #page-procurement .filing-filter,
        #page-inventory .prep-history-filterbar, #doorHistoryPanel .door-filters,
        [data-parameter-pane="people"] .parameter-person-toolbar,
        [data-linen-pane]:not([data-linen-pane="stock"]) .compact-filter-row) {
      box-sizing: border-box;
      align-items: end !important;
      gap: 10px 12px !important;
      margin: 0 0 14px !important;
      padding: 16px !important;
      background: white !important;
      border: 1px solid var(--ws-edge) !important;
      border-radius: 6px !important;
      box-shadow: none !important;
    }
    #page-linen #linenReportFilters {
      padding: 0 !important;
      border: 0 !important;
    }
    [data-workspace-layout="filters"] .workspace-choice {
      display: grid;
      align-content: end;
      gap: 5px;
      min-width: 0;
      margin: 0;
      color: var(--ws-muted);
      font-size: 12px;
      font-weight: 400;
    }
    .workspace-choice > select { width: 100% !important; }
    .workspace-filter-actions, .workspace-caption {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }
    .workspace-filter-actions { justify-self: end; }
    .workspace-caption { min-width: 0; }
    .workspace-caption > .muted, #logCount, #supplierCount, #networkAssetCount {
      font-size: 10px !important;
      font-weight: 400 !important;
      color: var(--ws-muted);
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #doorHistoryPanel,
        .hk-content:not([data-tab="records"]), #companyAnnouncementPanel)
        :is(.table-wrap, .door-table-wrap, .dy-parcel-table-wrap, .supplier-facts,
            .filing-task-table-wrap, .r1-asset-results) {
      border: 1px solid var(--ws-edge) !important;
      border-radius: 6px !important;
      background: white !important;
      box-shadow: none !important;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #doorHistoryPanel,
        .hk-content:not([data-tab="records"]), #companyAnnouncementPanel) :is(thead th,.supplier-list-head) {
      padding: 9px 10px !important;
      color: #4f647c !important;
      background: var(--ws-head) !important;
      border-bottom: 1px solid var(--ws-edge) !important;
      font-size: 12px !important;
      font-weight: 600 !important;
      line-height: 1.5 !important;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #doorHistoryPanel,
        .hk-content:not([data-tab="records"]), #companyAnnouncementPanel) tbody td {
      padding: 9px 10px !important;
      border-bottom: 1px solid var(--ws-edge) !important;
      font-size: 12px !important;
      line-height: 1.5 !important;
    }
    :is([data-workspace-page], [data-parameter-pane]:not([data-parameter-pane="doors"]),
        [data-linen-pane]:not([data-linen-pane="stock"]), #doorHistoryPanel) tbody tr:last-child > td {
      border-bottom: 0 !important;
    }
    [data-workspace-page] :is(.pager, .delivery-pagination, .filing-pager) {
      justify-content: flex-end;
      align-items: center;
      margin: 12px 0 0;
      gap: 8px;
    }

    /* Directory and detail share a results heading; selecting a supplier keeps
       both panes in place. */
    #page-suppliers .supplier-workspace, #page-network-assets .network-asset-workbench,
    #page-asset-reports .asset-report-panel, #page-inventory #inventoryListScreen,
    #page-logs > .panel, #page-custody > .panel, #page-delivery > .panel,
    #page-luggage .guest-item-pane > .panel, #page-energy .energy-room-panel,
    #page-disposal > .panel:has(#disposalFilters) {
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
    #page-suppliers .supplier-toolbar { margin: 0 0 10px; min-height: 32px; }
    #supplierFilters:not([hidden]) {
      display: grid !important;
      grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(110px, 1fr)) auto auto !important;
    }
    #page-suppliers .supplier-columns {
      grid-template-columns: minmax(280px, 2fr) minmax(340px, 3fr);
      gap: 12px;
      align-items: start;
    }
    #page-suppliers :is(.supplier-list, .supplier-detail, .supplier-offer-group) {
      border: 1px solid var(--ws-edge) !important;
      border-radius: 6px !important;
      background: #fff !important;
      box-shadow: none !important;
    }
    #page-suppliers :is(.supplier-list,.supplier-detail) { min-height: 148px !important; }
    #page-suppliers .supplier-empty { min-height: 146px !important; color: var(--ws-muted); }
    #page-suppliers .supplier-detail { padding: 0 16px 16px; }
    #page-suppliers .supplier-detail-head { padding: 14px 0 10px; }
    #page-suppliers .supplier-row.is-selected { background: var(--ws-selected) !important; }
    #page-suppliers .supplier-facts > div { padding: 8px 10px; }
    #page-suppliers :is(.supplier-note, .supplier-section-help) { border-radius: 5px; background: var(--ws-wash); }

    #inventoryListScreen .inventory-history-filters {
      display: grid !important;
      grid-template-columns: minmax(170px, 2fr) repeat(2, minmax(110px, 1fr)) auto !important;
    }
    #page-logs #logFilters {
      display: grid !important;
      grid-template-columns: minmax(170px, 2fr) repeat(4,minmax(105px,1fr)) auto !important;
    }
    #page-logs .compact-panel-head > div { display: flex; align-items: baseline; gap: 8px; }
    #page-custody .inline-form { display: flex; flex-wrap: wrap; }
    #cuPeopleQ { width: min(480px, 100%) !important; }
    :is(#cuPeopleList, #assetReportResults, #inventoryHistory, #logsTable, #luggageOrderList,
        #lostFoundOrderList, #networkAssetList, #deliveryList):not(:empty) {
      background-color: #fff !important;
      border: 1px solid var(--ws-edge) !important;
      border-radius: 6px !important;
    }
    :is(#assetReportResults,#inventoryHistory,#logsTable,#cuPeopleList,#deliveryList) > .table-wrap:only-child {
      border: 0 !important;
    }
    #page-asset-reports #assetReportHint { margin: 0 0 10px; color: var(--ws-muted); font-size: 10px !important; }
    #page-maintenance .maintenance-history-summary { margin: 12px 0; }
    :is(#page-maintenance, #page-disposal) :is(.maintenance-asset-history, .disposal-card, .disposal-item) {
      padding: 12px 16px; margin: 0 0 8px; border: 1px solid var(--ws-edge); border-radius: 6px; background: #fff;
    }
    #page-disposal > .panel:has(#disposalFilters) > .panel-head:empty { display: none; }
    #page-procurement :is(.filing-workspace, .archive-retire-workspace) .filing-filter { margin-top: 12px !important; }
    #page-procurement :is(.filing-step-row, .r1-source-card, .r1-bind-card, .r1-paper-card) {
      border: 1px solid var(--ws-edge); border-radius: 6px; background-color: #fff; box-shadow: none;
    }
    #page-batch .procurement-intro {
      background: #fff !important; border: 1px solid var(--ws-edge);
      border-radius: 6px; padding: 12px 16px;
    }
    #page-batch .procurement-intro b { font-size: 16px !important; }
    #page-batch :is(.procurement-import-step, .batch-export-grid .quick) {
      padding: 12px; border: 1px solid var(--ws-edge); border-radius: 5px; background: var(--ws-wash);
    }
    :is(#page-luggage,#page-network-assets,#page-energy,#page-inventory,#page-server-details,
        #page-housekeeping) :is(.luggage-kpis,.network-asset-kpis,.energy-kpis,
        .inventory-metrics,.server-resource-grid,.hk-stats) { gap: 10px; }
    :is(.luggage-kpis,.network-asset-kpis,.energy-kpis,.inventory-metrics,.server-resource-grid) > :is(div,button,article),
    .hk-content:not([data-tab="records"]) .hk-stat {
      padding: 12px 14px !important;
      border: 1px solid var(--ws-edge) !important;
      border-radius: 6px !important;
      background: #fff !important;
      color: var(--ws-ink) !important;
      box-shadow: none !important;
    }
    .network-asset-kpis > button[aria-pressed="true"] {
      border-color: #9db7d1 !important;
      background: var(--ws-selected) !important;
    }
    .network-asset-kpis > button[aria-pressed="true"] :is(small,span,b) { color: var(--ws-ink) !important; }
    :is(.luggage-kpis,.network-asset-kpis,.energy-kpis,.inventory-metrics) > :is(div,button) > b,
    .server-resource > [data-value] { color: var(--ws-ink); font-size: 20px !important; }
    :is(.luggage-kpis,.network-asset-kpis,.inventory-metrics) > :is(div,button) > :is(small,span),
    .server-resource > [data-detail] { font-size: 10px !important; color: var(--ws-muted); }
    #page-network-assets .network-asset-filter-grid {
      display: grid !important;
      grid-template-columns: minmax(155px,2fr) repeat(4,minmax(95px,1fr)) auto auto !important;
    }
    #page-network-assets .network-list-head > div:first-child { display: flex; align-items: baseline; gap: 8px; }
    #page-luggage :is(.lg-filters,.lost-found-filter-row) { flex-wrap: wrap; }
    #page-energy .energy-room-toolbar, #page-energy .energy-room-summary {
      border: 0 !important; background: transparent !important; padding: 0 !important;
    }
    #page-energy :is(.energy-room-card, .energy-ranking-pair > section, .energy-missing-main) {
      background: #fff; border: 1px solid var(--ws-edge); border-radius: 6px; box-shadow: none;
    }
    #page-energy .energy-room-summary { margin: 0 0 10px; }
    #page-delivery :is(.delivery-desktop-note, .delivery-stage-counts) { margin: 8px 0; padding: 8px 12px; border-radius: 5px; }
    #page-delivery :is(.delivery-card, .dy-followup-card) { border-color: var(--ws-edge); border-radius: 6px; background: white; box-shadow: none; }
    #page-server-details .server-facts { margin: 14px 0 0; }
    #page-server-details .server-facts > div { border-top: 1px solid var(--ws-edge); padding: 9px 0; }
    #page-r1-settings :is(.r1-diagnostic-grid > div, .r1-settings-power),
    [data-parameter-pane]:not([data-parameter-pane="doors"]) :is(.role-permission-editor, .parameter-location-list, .supplier-parameter-group) {
      padding: 12px; border: 1px solid var(--ws-edge); border-radius: 6px; background: white; box-shadow: none;
    }
    #page-r1-settings .r1-settings-power { margin: 14px 0; }
    #doorHistoryPanel .door-table-wrap { margin-top: 12px; }
    .hk-content:not([data-tab="records"]) :is(.hk-toolbar, .hk-rule-form) {
      padding: 10px 12px; margin: 0 0 12px; border: 1px solid var(--ws-edge); border-radius: 6px; background: #fff;
    }

    :is(.supplier-dialog, .ai-settings-dialog, .dy-followup-dialog, .energy-existing-dialog,
        .release-history-dialog, .hk-dialog, body:has(.page[data-workspace-page].active) #modal) {
      border: 1px solid var(--ws-edge) !important;
      border-radius: 8px !important;
      background: white !important;
    }
    :is(.supplier-dialog-head, .ai-settings-dialog > header, .hk-dialog > header,
        body:has(.page[data-workspace-page].active) #modal .modal-head) {
      padding: 12px 16px !important; border-bottom: 1px solid var(--ws-edge); background: white;
    }
    :is(.supplier-dialog, .ai-settings-dialog, .hk-dialog) :is(header, .supplier-dialog-head) h3 {
      margin: 0; color: var(--ws-ink); font-size: 16px !important;
    }
    :is(.supplier-dialog-actions, .ai-settings-dialog > footer, .hk-dialog > footer) {
      padding: 10px 16px; gap: 8px; border-top: 1px solid var(--ws-edge); background: white;
    }
    .supplier-dialog .supplier-form-section { padding: 12px 0; border-bottom: 1px solid var(--ws-edge); }
    .supplier-dialog .supplier-form-grid { gap: 14px 12px; }
    #page-procurement [data-procurement-pane="tasks"].filing-workspace {
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
    }
    #page-procurement [data-filing-root="tasks"] > .filing-filter { margin-top: 0 !important; }
    #page-procurement .filing-workspace-head { margin: 0 0 10px; align-items: center; }
    #page-procurement [data-filing-result] {
      border: 1px solid var(--ws-edge); border-radius: 6px; background: white;
    }
    #invoiceList:has(.iv-list-row) {
      overflow-x: auto; border: 1px solid var(--ws-edge); border-radius: 6px; background: white;
    }
    #invoiceList .iv-list-head {
      padding-block: 9px !important; border-bottom: 1px solid var(--ws-edge);
      background: var(--ws-head) !important; color: #4f647c !important;
    }
    #invoiceList .iv-list-row { padding-block: 9px; border-bottom: 1px solid var(--ws-edge); }
    #invoiceList .iv-list-row:last-child { border-bottom: 0; }
    .iv-detail-shell :is(.iv-detail-hero,.iv-detail-item,.iv-detail-originals) {
      border: 1px solid var(--ws-edge) !important; border-radius: 6px !important;
      padding: 12px 16px; color: var(--ws-ink) !important; background: white !important;
    }
    .iv-detail-shell .iv-detail-total strong { color: var(--ws-ink) !important; font-size: 20px !important; }
    .iv-detail-shell :is(.iv-detail-hero h3,.iv-detail-originals h4) { font-size: 16px !important; }
    .iv-detail-shell :is(.iv-detail-caption,.iv-detail-eyebrow,.iv-state-help) { color: var(--ws-muted); font-size: 10px !important; }
    @media (max-width: 1250px) {
      #inventoryListScreen .inventory-history-filters, #page-logs #logFilters,
      #page-network-assets .network-asset-filter-grid, #supplierFilters:not([hidden]) {
        grid-template-columns: repeat(auto-fit,minmax(min(146px,100%),1fr)) !important;
      }
      .workspace-filter-actions { justify-self: start; }
    }
    @media (max-width: 920px) {
      #page-suppliers .supplier-columns { grid-template-columns: 1fr; }
    }
  }
}


/* haiyue-tabs.css */
/* PC workspace: a stable tab strip and one travelling underline. Toggle
   buttons such as list/cards remain joined controls. */
@layer haiyue-tabs {
 html[data-hy-pc-tabs] #workspacePageTabs{flex:1 1 auto;overflow:hidden!important;scrollbar-width:none!important}
 html[data-hy-pc-tabs] #workspacePageTabs .workspace-page-tab[hidden]{display:none!important}
 html[data-hy-pc-tabs] #workspacePageTabs .workspace-page-tab{max-width:100%;min-width:0}
 html[data-hy-pc-tabs] #workspacePageTabs .workspace-page-select{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .workspace-overflow{flex:0 0 32px;margin-inline:3px;align-self:center}
 .workspace-overflow .ui-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
 .workspace-overflow-menu:popover-open{display:flex!important;flex-direction:column!important;gap:2px;width:min(280px,calc(100vw - 16px))!important}
 .workspace-overflow-row{display:flex;align-items:center;min-width:0;gap:4px}
 .workspace-overflow-row>[role=menuitem]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .workspace-overflow-row>.workspace-overflow-close{flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:4px;background:transparent;color:#65758a;font:12px var(--ui-font);cursor:pointer}
 .workspace-overflow-row>.workspace-overflow-close:hover{background:#edf3f8;color:#24364d}
 html[data-hy-pc-tabs] .topbar-heading{display:flex!important;align-items:center!important;min-width:0!important}
 html[data-hy-pc-tabs] #workspacePageTabs{min-width:0;max-width:100%;height:100%!important;align-self:stretch;align-items:end!important;gap:2px!important;isolation:isolate;scrollbar-width:none}
 #workspacePageTabs::-webkit-scrollbar{display:none}
 .workspace-new{flex:0 0 32px;margin-inline:5px!important;font-size:16px!important}
 .workspace-launcher{position:fixed;inset:auto;margin:0;padding:6px;width:min(345px,calc(100vw - 18px));max-height:min(60vh,420px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;color:#24364d;border:1px solid #d6dfe8;border-radius:6px;background:#fff;box-shadow:0 8px 24px #23344724}
 .workspace-launcher:popover-open{display:grid;grid-template-columns:1fr 1fr;gap:2px}
 .workspace-launcher [role=menuitem]{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 9px;height:32px;color:#293847;border:0;border-radius:4px;background:transparent;text-align:start;font:400 12px/1.3 var(--ui-font);cursor:pointer}
 .workspace-launcher [role=menuitem]:is(:hover,:focus-visible){background:#edf3f8;outline:1px solid #9fbbd6;outline-offset:-1px}
 .workspace-launcher small{font-size:10px;color:#697d90}
 html[data-hy-pc-tabs] [data-hy-tabstrip]{position:relative!important;isolation:isolate;gap:3px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
 html[data-hy-pc-tabs] [data-hy-tabstrip=section]{background-image:linear-gradient(#dce3ea,#dce3ea)!important;background-position:bottom!important;background-size:100% 1px!important;background-repeat:no-repeat!important;border-radius:0!important;align-items:center}
 html[data-hy-pc-tabs] [data-hy-tabstrip=section] [data-hy-tab-item]{height:32px!important;min-height:32px!important;max-height:32px!important;box-sizing:border-box!important;position:relative;z-index:1;padding:0 12px!important;color:#607082!important;-webkit-text-fill-color:currentColor!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font:400 12px/1.35 var(--ui-font)!important;text-decoration:none!important}
 html[data-hy-pc-tabs] [data-hy-tabstrip] [data-hy-tab-item=on],html[data-hy-pc-tabs] [data-hy-tabstrip] [data-hy-tab-item=on]>.workspace-page-select{color:#174f88!important;font-weight:600!important}
 html[data-hy-pc-tabs] [data-hy-tabstrip=section] [data-hy-tab-item]::after{border-block-end:0!important;box-shadow:none!important}
 html[data-hy-pc-tabs] #workspacePageTabs .workspace-page-tab{height:36px!important;min-height:36px!important;align-items:center;flex:0 0 auto;box-sizing:border-box;border:1px solid transparent!important;border-bottom:0!important;border-radius:5px 5px 0 0!important;background:transparent!important;color:#607082!important}
 html[data-hy-pc-tabs] #workspacePageTabs .workspace-page-tab.is-active{border-color:#dae2ea!important;background:var(--hy-ui-page,#f4f6f9)!important}
 html[data-hy-pc-tabs] #workspacePageTabs .workspace-page-select{font:400 12px/1.3 var(--ui-font)!important;color:#607082!important;padding-inline:10px 3px!important;border-radius:3px!important;background:transparent!important}
 html[data-hy-pc-tabs] #workspacePageTabs .is-active>.workspace-page-select{font-weight:600!important;color:#174f88!important}
 html[data-hy-pc-tabs] .workspace-page-close:disabled{opacity:.3;cursor:default!important}
 html[data-hy-pc-tabs] :is([data-hy-tab-item],[role=tab],.workspace-new,.workspace-page-close:not(:disabled),.workspace-launcher [role=menuitem]),
 html[data-hy-pc-tabs] :is([data-hy-tab-item],[role=tab],.workspace-launcher [role=menuitem]) :not(:disabled){cursor:pointer!important}
 html[data-hy-pc-tabs] .workspace-page-close:not(:disabled):hover{background:#e3eaf1!important}
 html[data-hy-pc-tabs] [data-hy-tabstrip]>.hy-tab-indicator{position:absolute!important;z-index:3!important;left:0;top:0;border-radius:2px!important;height:2px!important;pointer-events:none;background:#245f9c!important;transition:transform 320ms cubic-bezier(.2,.7,.2,1),width 320ms cubic-bezier(.2,.7,.2,1)!important}
 html[data-hy-pc-tabs] [data-hy-tabstrip] [data-hy-tab-item]:focus-visible{outline:2px solid #7098bf!important;outline-offset:-3px}
 @media(prefers-reduced-motion:reduce){html[data-hy-pc-tabs] [data-hy-tabstrip]>.hy-tab-indicator{transition:none!important}}
}


/* haiyue-io-menus.css */
/* Load after haiyue-controls.css in the document AND each topology shadow root.
   Never set display on an original business control: module permission rules win. */
@layer haiyue-controls {
  .hy-io-menu { display:inline-flex; align-items:center; flex:none; position:relative; vertical-align:middle; }
  .hy-io-menu[hidden], .hy-io-option[hidden], .hy-io-trigger[data-hy-io-empty="true"],
  [data-hy-io-replaced="true"], [data-hy-io-empty-source="true"] { display:none!important; }
  :is(button,summary).hy-io-trigger {
    box-sizing:border-box!important; height:32px!important; min-height:32px!important; max-height:32px!important;
    padding:0 12px!important; margin:0!important; border:1px solid #c4cdd7!important; border-radius:5px!important;
    background:transparent!important; color:#20262e!important; box-shadow:none!important;
    font:500 12px/30px var(--ui-font,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif)!important;
    white-space:nowrap; vertical-align:middle; list-style:none; cursor:pointer;
  }
  summary.hy-io-trigger::-webkit-details-marker { display:none; }
  .hy-io-trigger:not(:disabled):not([aria-disabled="true"]):hover { background:#f1f4f7!important; border-color:#9daebf!important; }
  .hy-io-trigger:is(:disabled,[aria-disabled="true"]) { color:#77808a!important; border-color:#dde3e9!important; cursor:not-allowed!important; }
  .hy-io-trigger:focus-visible, .hy-io-panel .hy-io-item:focus-visible {
    outline:2px solid #245f9c!important; outline-offset:2px!important;
  }
  .hy-io-panel {
    display:none!important; box-sizing:border-box!important; position:fixed!important; inset:auto; margin:0!important;
    min-width:180px; width:max-content; max-width:calc(100vw - 16px); max-height:min(360px,calc(100vh - 16px));
    padding:4px!important; border:1px solid #d5dde5!important; border-radius:5px!important;
    background:#fff!important; color:#20262e!important; box-shadow:none!important; overflow:auto; overscroll-behavior:contain;
    font:12px/1.5 var(--ui-font,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif);
  }
  .hy-io-panel:popover-open { display:grid!important; gap:2px!important; }
  .hy-io-panel::backdrop { background:transparent; }
  .hy-io-option { min-width:0; }
  .hy-io-panel .hy-io-item {
    box-sizing:border-box!important; width:100%!important; min-width:0!important; height:32px!important;
    min-height:32px!important; max-height:32px!important; margin:0!important; padding:0 10px!important;
    border:1px solid transparent!important; border-radius:3px!important; background:transparent!important;
    color:#20262e!important; box-shadow:none!important; text-align:left!important; justify-content:flex-start!important;
    font:500 12px/30px var(--ui-font,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif)!important;
    white-space:nowrap; text-decoration:underline!important;
  }
  .hy-io-panel .hy-io-item:not(:disabled):not([aria-disabled="true"]):hover,
  .hy-io-panel .hy-io-item:not(:disabled):not([aria-disabled="true"]):focus-visible { background:#eaf1f8!important; }
  .hy-io-panel .hy-io-item:is(:disabled,[aria-disabled="true"]) { color:#77808a!important; cursor:not-allowed!important; }
  .hy-io-panel .hy-io-item.quick { gap:0!important; }
  .hy-io-panel .hy-io-item.quick > b { font:inherit!important; }
  .hy-io-panel .hy-io-item.quick > span { display:none; }
  .hy-io-adapted { position:relative; }
  /* Topology retains its native details and engine listeners; only normalize appearance. */
  .hy-io-native > summary.hy-io-trigger { min-width:max-content; }
  .hy-io-native > .hy-io-native-panel {
    padding:4px!important; border:1px solid #d5dde5!important; border-radius:5px!important;
    background:#fff!important; color:#20262e!important; box-shadow:none!important; gap:2px!important;
  }
  .hy-io-native-panel > .button {
    box-sizing:border-box!important; min-height:32px!important; height:32px!important; margin:0!important;
    padding:0 10px!important; border:0!important; border-radius:3px!important; background:transparent!important;
    color:#20262e!important; box-shadow:none!important; font:500 12px/32px var(--ui-font,"Microsoft YaHei UI","Microsoft YaHei",sans-serif)!important;
  }
  .hy-io-native-panel > .button:has(input:disabled), .hy-io-native-panel > .button:disabled { color:#77808a!important; }
}

