:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-blue: #f0f5ff;
  --line: #e3e8f0;
  --line-strong: #d5dde9;
  --text: #1b2430;
  --muted: #7a8798;
  --muted-2: #9aa6b5;
  --primary: #315fd3;
  --primary-soft: #eaf0ff;
  --green: #1d9b6c;
  --green-soft: #e9f8f1;
  --orange: #bd7620;
  --orange-soft: #fff5e6;
  --red: #c64848;
  --red-soft: #fff0f0;
  --shadow: 0 12px 32px rgba(39, 56, 82, .06);
  --radius: 12px;
  --font: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.paas-shell { min-height: 100vh; display: flex; }
.paas-sidebar { width: 244px; flex: 0 0 244px; min-height: 100vh; padding: 26px 16px 18px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); }
.paas-brand { display: flex; align-items: center; gap: 11px; padding: 0 12px 26px; }
.paas-brand-mark { width: 32px; height: 32px; border-radius: 10px; display: flex; gap: 3px; align-items: flex-end; justify-content: center; padding: 7px 6px; background: var(--primary); box-shadow: 0 7px 14px rgba(49,95,211,.2); }
.paas-brand-mark i { display: block; width: 5px; border-radius: 3px; background: #fff; }
.paas-brand-mark i:first-child { height: 12px; opacity: .66; }
.paas-brand-mark i:last-child { height: 18px; }
.paas-brand strong { display: block; font-size: 17px; letter-spacing: -.03em; }
.paas-brand small { display: block; color: var(--muted-2); font-size: 8px; letter-spacing: .12em; margin-top: 2px; }
.paas-tenant { display: flex; align-items: center; gap: 9px; margin: 0 3px 26px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.tenant-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.paas-tenant b, .paas-tenant small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paas-tenant b { max-width: 135px; font-size: 11px; }
.paas-tenant small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.chevron { margin-left: auto; color: var(--muted-2); }
.paas-nav-label { margin: 0 11px 8px; color: #aab4c0; font-size: 10px; letter-spacing: .1em; }
.paas-nav { display: grid; gap: 3px; margin-bottom: 18px; }
.paas-nav-item { min-height: 40px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border-radius: 8px; color: #7c8999; font-size: 12px; }
.paas-nav-item:hover { color: var(--primary); background: #f7f9fd; }
.paas-nav-item.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-symbol { width: 19px; color: currentColor; font-size: 15px; text-align: center; }
.nav-count { margin-left: auto; min-width: 18px; padding: 2px 5px; border-radius: 5px; color: var(--primary); background: #dbe6ff; font-size: 9px; text-align: center; }
.nav-count.warn { color: var(--orange); background: var(--orange-soft); }
.paas-sidebar-spacer { flex: 1; }
.paas-side-status { display: flex; align-items: center; gap: 8px; margin: 12px 4px; padding: 10px 11px; border-radius: 9px; background: #f3fbf7; }
.status-dot, .device-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #dff5e9; }
.paas-side-status b, .paas-side-status small { display: block; }
.paas-side-status b { color: #327956; font-size: 10px; }
.paas-side-status small { color: #8ca99b; margin-top: 3px; font-size: 9px; }
.paas-side-foot { padding: 14px 11px 0; border-top: 1px solid var(--line); color: #aeb8c4; font-size: 9px; letter-spacing: .08em; }
.paas-side-foot span { float: right; letter-spacing: 0; }
.paas-main { width: calc(100% - 244px); min-width: 0; }
.paas-topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 38px; background: #fff; border-bottom: 1px solid var(--line); }
.paas-breadcrumb { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.paas-breadcrumb i { color: #c5ccd5; font-style: normal; }
.paas-breadcrumb b { color: var(--text); font-weight: 600; }
.paas-top-actions { display: flex; align-items: center; gap: 15px; }
.paas-search, .filter-search { display: flex; align-items: center; gap: 7px; color: var(--muted-2); }
.paas-search { width: 230px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.paas-search input, .filter-search input { width: 100%; border: 0; outline: none; color: var(--text); background: transparent; font-size: 11px; }
.paas-search input::placeholder, .filter-search input::placeholder { color: #afb9c5; }
.top-icon { position: relative; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 17px; }
.top-icon em { position: absolute; top: -5px; right: -7px; min-width: 14px; padding: 1px 4px; border-radius: 7px; color: #fff; background: var(--red); font-size: 8px; font-style: normal; }
.top-divider { height: 20px; border-left: 1px solid var(--line); }
.api-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: 11px; white-space: nowrap; }
.api-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f1b94c; }
.api-pill.live { color: #17765a; border-color: #b8e7d5; background: #f0fbf6; }
.api-pill.live::before { background: #22a873; }
.profile-chip { display: flex; align-items: center; gap: 7px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; }
.profile-chip span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #4d65a2; background: #e9efff; font-size: 11px; font-weight: 600; }
.paas-view { display: none; max-width: 1480px; margin: 0 auto; padding: 34px 40px 18px; animation: paas-rise .18s ease; }
.paas-view.active { display: block; }
@keyframes paas-rise { from { opacity: .5; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.paas-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.paas-eyebrow { color: #7d8fb0; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.paas-page-head h1 { margin: 7px 0 5px; color: var(--text); font-size: 26px; letter-spacing: -.04em; }
.paas-page-head p { margin: 0; color: var(--muted); font-size: 12px; }
.head-actions { display: flex; align-items: center; gap: 9px; }
.primary-btn, .ghost-btn, .link-btn, .row-action { border-radius: 8px; cursor: pointer; transition: .15s ease; }
.primary-btn { padding: 10px 14px; border: 1px solid var(--primary); color: #fff; background: var(--primary); box-shadow: 0 7px 16px rgba(49,95,211,.15); font-size: 11px; font-weight: 600; }
.primary-btn:hover { background: #264fb6; }
.ghost-btn { padding: 9px 12px; border: 1px solid var(--line-strong); color: #657286; background: #fff; font-size: 11px; }
.ghost-btn:hover { color: var(--primary); border-color: #b9c8e7; background: var(--surface-blue); }
.link-btn { padding: 0; border: 0; color: var(--primary); background: transparent; font-size: 10px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.summary-card { min-height: 132px; padding: 17px 17px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.summary-card.accent { border-color: #d5e1ff; background: linear-gradient(140deg, #f7f9ff, #fff); }
.summary-label { color: var(--muted); font-size: 11px; }
.summary-value { margin-top: 10px; color: var(--text); font-size: 29px; font-weight: 700; letter-spacing: -.05em; }
.summary-value small { color: var(--muted-2); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.summary-meta { margin-top: 7px; color: var(--muted); font-size: 10px; }
.up, .good { color: var(--green); }
.warn-text { color: var(--orange); }
.summary-progress { height: 5px; margin-top: 14px; overflow: hidden; border-radius: 8px; background: #e8edf5; }
.summary-progress i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.summary-progress.green i { background: var(--green); }
.summary-progress.orange i { background: #e3a244; }
.summary-progress.muted i { background: #8fa1c1; }
.summary-grid.compact .summary-card { min-height: 109px; }
.summary-grid.compact .summary-value { margin-top: 7px; font-size: 25px; }
.summary-grid.compact .summary-progress { display: none; }
.paas-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr); gap: 15px; margin-bottom: 15px; }
.bottom-grid { grid-template-columns: 1fr 1fr; }
.paas-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.large-card, .paas-dashboard-grid > .paas-card { padding: 19px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-head h2 { margin: 0; color: var(--text); font-size: 14px; }
.card-head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.task-table { margin-top: 17px; }
#task-table .data-row { grid-template-columns: 34px 1.45fr 1fr .9fr .72fr .85fr 1.05fr 1fr 120px; }
.task-row { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(140px, 1fr) 74px; align-items: center; gap: 16px; min-height: 67px; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-header { min-height: 28px; color: var(--muted-2); font-size: 10px; }
.task-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.task-name b, .task-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-name b { color: #334052; font-size: 11px; }
.task-name small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.scene-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); font-size: 14px; }
.scene-icon.office { color: #9562b6; background: #f2ebfb; }
.scene-icon.warehouse { color: #bd7620; background: var(--orange-soft); }
.task-progress span { display: block; color: var(--muted); font-size: 9px; }
.task-progress i { display: block; height: 5px; margin-top: 7px; overflow: hidden; border-radius: 5px; background: #edf0f5; }
.task-progress em { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.status-badge { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 4px 7px; border-radius: 6px; font-size: 9px; white-space: nowrap; }
.status-badge.good { color: var(--green); background: var(--green-soft); }
.status-badge.review { color: var(--orange); background: var(--orange-soft); }
.status-badge.bad { color: var(--red); background: var(--red-soft); }
.status-badge.neutral { color: #718096; background: #f0f2f6; }
.batch-steps { display: grid; gap: 19px; margin-top: 19px; }
.batch-step { position: relative; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 10px; align-items: start; }
.batch-step:not(:last-child)::after { position: absolute; top: 24px; left: 11px; width: 1px; height: 25px; content: ""; background: var(--line); }
.batch-step > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #fff; font-size: 10px; }
.batch-step.done > span { border-color: #bfe8d5; color: var(--green); background: var(--green-soft); }
.batch-step.current > span { border-color: #c7d5ff; color: var(--primary); background: var(--primary-soft); }
.batch-step b, .batch-step small { display: block; }
.batch-step b { color: #3c4859; font-size: 11px; }
.batch-step small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.health-list, .issue-list { margin-top: 13px; }
.health-list > div, .issue-list > div { display: grid; grid-template-columns: minmax(150px, 1fr) auto auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.health-list > div:last-child, .issue-list > div:last-child { border-bottom: 0; }
.health-device { display: flex; align-items: center; gap: 8px; color: #3c4a5c; font-size: 10px; }
.device-dot.red { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.health-meta, .issue-list small { color: var(--muted); font-size: 9px; }
.issue-list > div { grid-template-columns: auto minmax(0, 1fr) auto; }
.issue-list b, .issue-list small { display: block; }
.issue-list b { color: #3b4656; font-size: 10px; }
.issue-list span:last-child { color: var(--muted-2); font-size: 17px; }
.issue-level { width: 24px; padding: 4px 0; border-radius: 5px; text-align: center; font-size: 9px; }
.issue-level.critical { color: var(--red); background: var(--red-soft); }
.issue-level.medium { color: var(--orange); background: var(--orange-soft); }
.issue-level.low { color: var(--primary); background: var(--primary-soft); }
.paas-footer { display: flex; justify-content: space-between; padding: 21px 2px 30px; color: var(--muted-2); font-size: 9px; letter-spacing: .05em; }
.filter-bar { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.filter-search { width: 260px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.filter-bar select { min-width: 130px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; color: #657286; background: #fff; font-size: 11px; outline: none; }
.table-card { padding: 19px; }
.data-table { margin-top: 15px; overflow-x: auto; }
.data-row { min-width: 820px; display: grid; grid-template-columns: 1.6fr 1.05fr 1fr .75fr .8fr .8fr 22px; align-items: center; gap: 13px; min-height: 62px; padding: 0 3px; border-bottom: 1px solid var(--line); color: #627083; font-size: 10px; }
.data-row:last-child { border-bottom: 0; }
.data-row.header { min-height: 30px; color: var(--muted-2); font-size: 9px; }
.data-row b, .data-row small { display: block; }
.data-row b { color: #344153; font-size: 11px; font-weight: 600; }
.data-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.data-row > span:last-child { color: var(--muted-2); text-align: right; font-size: 16px; }
.row-action-btn { border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--primary); padding: 4px 8px; cursor: pointer; font-size: 10px; }
.row-action-btn:hover { border-color: var(--primary); background: #f2f7ff; }
.row-action-btn.primary { color: #fff; border-color: var(--primary); background: var(--primary); }
.row-action-btn.primary:hover { background: #264fb6; }
.row-action-btn.danger { color: #a84f5a; border-color: #e8b8be; }
.row-action-btn.danger:hover { background: #fff4f5; }
.task-select { width: 14px; height: 14px; accent-color: var(--primary); cursor: pointer; }
.task-select:disabled { cursor: not-allowed; opacity: .45; }
.batch-dispatch-result-card { margin-top: 18px; }
.batch-dispatch-result-list { display: grid; gap: 0; margin-top: 13px; }
.batch-dispatch-result-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 8px 3px; border-bottom: 1px solid var(--line); }
.batch-dispatch-result-row:last-child { border-bottom: 0; }
.batch-dispatch-result-row b, .batch-dispatch-result-row small { display: block; }
.batch-dispatch-result-row b { color: #344153; font-size: 11px; }
.batch-dispatch-result-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.batch-dispatch-result-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.scene-live-card { margin-top: 18px; }
.scene-live-card .card-actions { display: flex; gap: 8px; align-items: center; }
.scene-proposal-form { display: grid; grid-template-columns: 1.2fr .6fr 1.8fr auto; gap: 10px; align-items: end; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.scene-proposal-form label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.scene-proposal-form input, .scene-proposal-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 9px; color: var(--text); background: var(--surface-soft); font: inherit; font-size: 10px; resize: vertical; }
.scene-proposal-form > div { display: flex; gap: 8px; }
.scene-live-sections { display: grid; gap: 18px; padding-top: 8px; }
.scene-live-sections h3 { margin: 0 0 8px; color: #556277; font-size: 11px; font-weight: 600; }
.scene-live-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; min-height: 50px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.scene-live-row:last-child { border-bottom: 0; }
.scene-live-row b, .scene-live-row small { display: block; }
.scene-live-row b { color: #344153; font-size: 11px; }
.scene-live-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.capability { display: inline-block; padding: 3px 6px; border-radius: 5px; color: var(--primary); background: var(--primary-soft); font-size: 9px; }
.capability.premium { color: #875ab1; background: #f4ecfb; }
.row-action { padding: 0; border: 0; color: var(--primary); background: transparent; font-size: 10px; }
.segmented { display: flex; gap: 3px; padding: 3px; border-radius: 8px; background: var(--surface-soft); }
.segmented button { padding: 5px 8px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; font-size: 9px; }
.segmented button.selected { color: var(--primary); background: #fff; box-shadow: 0 2px 5px rgba(50,68,100,.08); }
.delivery-layout, .settings-panels { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 15px; }
.delivery-layout > .paas-card, .settings-panels > .paas-card { padding: 19px; }
.upload-source-tabs { display:flex; gap:8px; margin:-2px 0 16px; }
.source-tab { border:1px solid var(--line); border-radius:999px; padding:8px 13px; background:#fff; color:var(--muted); cursor:pointer; font-size:12px; }
.source-tab.selected { color:#4059a6; border-color:#afbee9; background:#f2f5ff; }
.upload-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); gap:16px; }
.upload-drop-card { min-height:330px; display:flex; flex-direction:column; justify-content:space-between; }
.upload-drop-zone { min-height:260px; border:1px dashed #bfc9de; border-radius:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:26px; background:linear-gradient(180deg,#fbfcff,#f6f8fd); }
.upload-drop-zone.dragging { border-color:#5069bd; background:#f0f4ff; }
.upload-drop-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; color:#5069bd; background:#e9efff; font-size:24px; }
.upload-drop-zone h2 { margin:14px 0 6px; font-size:17px; }
.upload-drop-zone p { margin:0 0 14px; color:var(--muted); font-size:12px; }
.upload-drop-zone small { max-width:330px; margin-top:16px; color:#98a2b5; line-height:1.5; }
.upload-preflight { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:10px; padding-top:16px; border-top:1px solid var(--line); font-size:12px; }
.upload-preflight b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.upload-preflight span:not(.status-badge) { color:var(--muted); }
.upload-task-picker { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:11px; white-space:nowrap; }
.upload-task-picker select { max-width:180px; padding:6px 8px; border:1px solid var(--line); border-radius:8px; color:var(--ink); background:#fff; font-size:11px; }
.upload-batch-list { display:grid; gap:8px; }
.upload-batch-row { display:grid; grid-template-columns:minmax(0,1.3fr) .8fr .7fr auto; align-items:center; gap:10px; padding:13px 0; border-bottom:1px solid var(--line); font-size:12px; }
.upload-batch-row:last-child { border-bottom:0; }
.upload-batch-row b,.upload-batch-row small { display:block; }
.upload-batch-row small { margin-top:4px; color:var(--muted); }
.upload-batch-meta { color:var(--muted); }
.empty-state { padding:32px 10px; text-align:center; color:var(--muted); font-size:12px; }
.delivery-progress { display: grid; gap: 7px; margin-top: 21px; }
.delivery-progress > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.delivery-progress b { color: #465466; font-weight: 600; }
.delivery-progress > i { height: 6px; display: block; overflow: hidden; border-radius: 6px; background: #edf0f5; }
.delivery-progress em { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.delivery-progress em.green-fill { background: var(--green); }
.delivery-timeline { display: grid; gap: 17px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.delivery-event { position: relative; display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; }
.delivery-event:not(:last-child)::after { position: absolute; top: 24px; left: 11px; width: 1px; height: 22px; content: ""; background: var(--line); }
.delivery-event > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #fff; font-size: 10px; }
.delivery-event.done > span { border-color: #bfe8d5; color: var(--green); background: var(--green-soft); }
.delivery-event.current > span { border-color: #c7d5ff; color: var(--primary); background: var(--primary-soft); }
.delivery-event b, .delivery-event small { display: block; }
.delivery-event b { color: #3c4859; font-size: 11px; }
.delivery-event small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.delivery-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 23px; }
.export-list, .todo-list { margin-top: 16px; }
.export-list > div, .todo-list > div { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.export-list > div:last-child, .todo-list > div:last-child { border-bottom: 0; }
.export-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); background: var(--surface-soft); font-size: 13px; }
.export-icon.done { color: var(--green); background: var(--green-soft); }
.export-icon.working { color: var(--primary); background: var(--primary-soft); }
.export-list b, .export-list small { display: block; }
.export-list b { overflow: hidden; color: #3d4a5b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.export-list small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.setting-rows { margin-top: 14px; }
.setting-rows > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.setting-rows > div:last-child { border-bottom: 0; }
.setting-rows b { color: #445163; font-weight: 600; text-align: right; }
.todo-list > div { grid-template-columns: auto minmax(0, 1fr) auto; }
.org-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 15px; }
.org-summary { margin-bottom: 15px; }
.org-scope-value { font-size: 19px; letter-spacing: -.03em; }
.org-list { margin-top: 14px; }
.org-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(100px, .75fr) auto; align-items: center; gap: 12px; min-height: 65px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.org-row:last-child { border-bottom: 0; }
.org-row b, .org-row small { display: block; }
.org-row b { color: #344153; font-size: 11px; font-weight: 600; }
.org-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.org-row-meta { text-align: right; }
.org-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.org-form { display: grid; gap: 11px; padding: 19px; }
.org-form .card-head { margin-bottom: 4px; }
.org-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }
.org-form input, .org-form select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-soft); outline: none; font-size: 11px; }
.org-form input:focus, .org-form select:focus { border-color: #9fb5e9; box-shadow: 0 0 0 3px #eaf0ff; }
.org-form .primary-btn { justify-self: start; margin-top: 3px; }
.delivery-live-card { margin-top: 15px; }
.delivery-live-list { margin-top: 12px; }
.delivery-live-row { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(180px,.8fr) auto; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.delivery-live-row:last-child { border-bottom: 0; }
.delivery-live-row b, .delivery-live-row small { display: block; }
.delivery-live-row b { color: #344153; font-size: 11px; }
.delivery-live-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.compliance-live-card { margin-top: 15px; }
.compliance-section { margin-top: 18px; }
.compliance-section .card-head { margin-bottom: 6px; }
.compliance-section h3 { margin: 0; color: #344153; font-size: 13px; }
.compliance-report-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.metric-chip { border: 1px solid var(--line); border-radius: 9px; background: #fbfcfe; padding: 10px; }
.metric-chip b, .metric-chip span { display: block; }
.metric-chip b { color: #182638; font-size: 18px; }
.metric-chip span { margin-top: 4px; color: var(--muted-2); font-size: 10px; }
[hidden] { display: none !important; }
@media (max-width: 1100px) { .org-layout, .org-form-grid, .scene-proposal-form { grid-template-columns: 1fr; } }
.todo-list b { color: #435064; font-size: 10px; }
.capture-dialog { width: min(540px, calc(100vw - 30px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 24px 80px rgba(22, 36, 59, .2); }
.capture-dialog::backdrop { background: rgba(25, 37, 58, .3); backdrop-filter: blur(3px); }
.capture-dialog form { padding: 22px; }
.task-detail-dialog { width: min(760px, calc(100vw - 30px)); max-height: calc(100vh - 40px); overflow: auto; padding: 22px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 24px 80px rgba(22, 36, 59, .2); }
.task-detail-dialog::backdrop { background: rgba(25, 37, 58, .3); backdrop-filter: blur(3px); }
.device-detail-dialog { width: min(860px, calc(100vw - 30px)); }
.device-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
.device-detail-card { padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); }
.device-detail-card h3 { margin:0 0 8px; font-size:12px; }
.device-detail-card p { margin:4px 0; color:var(--muted); font-size:10px; }
.device-detail-card b { color:var(--text); }
.device-detail-chip { display:inline-flex; margin:2px 4px 2px 0; padding:3px 7px; border-radius:999px; color:#4a5b77; background:#eaf0ff; font-size:9px; }
.device-detail-actions { display:flex; justify-content:flex-end; gap:7px; margin:14px 0 -4px; }
.device-detail-actions .danger-btn { color:#a84f5a; border-color:#e8b8be; }
.device-detail-list { margin-top:8px; }
.device-detail-list .task-detail-row { padding:7px 0; }
.task-detail-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-top:18px; }
.task-detail-kpi { padding:11px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); }
.task-detail-kpi small { display:block; color:var(--muted-2); font-size:9px; }
.task-detail-kpi b { display:block; margin-top:5px; color:var(--text); font-size:13px; }
.task-detail-section { margin-top:18px; }
.task-detail-section h3 { margin:0 0 8px; font-size:12px; }
.task-detail-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); font-size:10px; }
.task-detail-row:last-child { border-bottom:0; }
.task-detail-row small { display:block; margin-top:3px; color:var(--muted-2); }
.dialog-head { display: flex; justify-content: space-between; gap: 15px; }
.dialog-head h2 { margin: 7px 0 4px; font-size: 19px; }
.dialog-head p { margin: 0; color: var(--muted); font-size: 10px; }
.close-dialog { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; cursor: pointer; font-size: 18px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 20px; }
.dialog-grid label { display: grid; gap: 6px; color: #647287; font-size: 10px; }
.dialog-grid .wide { grid-column: 1 / -1; }
.dialog-grid select, .dialog-grid textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-soft); outline: none; font-size: 11px; resize: vertical; }
.dialog-grid select:focus, .dialog-grid textarea:focus { border-color: #9fb5e9; box-shadow: 0 0 0 3px #eaf0ff; }
.preflight { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 11px; border: 1px solid #ccebdc; border-radius: 8px; background: #f1fbf6; }
.preflight > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #dff5e9; }
.preflight b, .preflight small { display: block; }
.preflight b { color: #317654; font-size: 10px; }
.preflight small { margin-top: 3px; color: #7da18f; font-size: 9px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.annotation-label-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.annotation-label-grid label, #annotation-submit-form > label { display: grid; gap: 6px; color: #647287; font-size: 10px; }
.annotation-label-grid input, #annotation-submit-form select, #annotation-submit-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-soft); outline: none; font-size: 11px; resize: vertical; }
.annotation-event-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 8px; color: #344153; font-size: 11px; }
.annotation-event-list { display: grid; gap: 8px; }
.annotation-event-row { display: grid; grid-template-columns: .8fr .8fr 1.4fr 1.1fr auto; gap: 6px; align-items: center; }
.annotation-event-row input { min-width: 0; padding: 8px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-soft); outline: none; font-size: 10px; }
.annotation-event-row input:focus, .annotation-label-grid input:focus, #annotation-submit-form select:focus, #annotation-submit-form textarea:focus { border-color: #9fb5e9; box-shadow: 0 0 0 3px #eaf0ff; }
.icon-btn { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 18px; line-height: 1; }
#episode-review-form { display: grid; gap: 13px; margin-top: 19px; }
#episode-review-form > label { display: grid; gap: 6px; color: #647287; font-size: 10px; }
#episode-review-form select, #episode-review-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface-soft); outline: none; font-size: 11px; resize: vertical; }
.toast-region { position: fixed; right: 24px; bottom: 23px; z-index: 10; display: grid; gap: 8px; }
.toast { padding: 11px 14px; border: 1px solid #ccebdc; border-radius: 8px; color: #317654; background: #f1fbf6; box-shadow: var(--shadow); font-size: 11px; animation: paas-rise .18s ease; }
@media (max-width: 1100px) { .paas-sidebar { width: 210px; flex-basis: 210px; } .paas-main { width: calc(100% - 210px); } .paas-topbar { padding: 0 24px; } .paas-view { padding: 28px 24px 15px; } .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .paas-dashboard-grid, .delivery-layout, .settings-panels { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .paas-sidebar { width: 62px; flex-basis: 62px; padding: 20px 7px 14px; } .paas-brand { justify-content: center; padding: 0 0 25px; } .paas-brand > span:last-child, .paas-tenant, .paas-nav-label, .paas-sidebar-spacer, .paas-side-status, .paas-side-foot { display: none; } .paas-nav-item { justify-content: center; padding: 0; font-size: 0; } .nav-symbol { font-size: 17px; } .nav-count { position: absolute; margin: -22px 0 0 22px; font-size: 8px; } .paas-main { width: calc(100% - 62px); } .paas-topbar { height: 58px; padding: 0 15px; } .paas-search { width: 140px; } .profile-chip { font-size: 0; } .paas-top-actions { gap: 9px; } .paas-view { padding: 23px 15px 12px; } .paas-page-head { align-items: flex-start; flex-direction: column; margin-bottom: 19px; } .head-actions { width: 100%; justify-content: space-between; } .summary-grid { gap: 9px; } .summary-card { min-height: 118px; padding: 13px; } .summary-value { font-size: 25px; } .task-row { grid-template-columns: minmax(0, 1fr) 70px; gap: 8px; } .task-row > .task-progress { display: none; } .task-header { display: none; } .bottom-grid { grid-template-columns: 1fr; } .filter-bar { align-items: stretch; flex-wrap: wrap; } .filter-search { width: 100%; } .filter-bar select { flex: 1; min-width: 0; } .paas-footer { flex-wrap: wrap; gap: 7px; } .paas-footer span:nth-child(2) { width: 100%; order: 3; } .dialog-grid { grid-template-columns: 1fr; } .dialog-grid .wide { grid-column: auto; } .task-detail-summary { grid-template-columns:repeat(2,1fr); } .device-detail-grid { grid-template-columns:1fr; } }
@media (max-width: 760px) { .annotation-label-grid { grid-template-columns: 1fr; } .annotation-event-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .annotation-event-row .icon-btn { justify-self: end; } }
@media (max-width: 760px) { .upload-layout { grid-template-columns: 1fr; } .upload-preflight { grid-template-columns: auto minmax(0,1fr); } .upload-preflight .primary-btn { grid-column: 1 / -1; } .upload-batch-row { grid-template-columns:minmax(0,1fr) auto; } .upload-batch-row .upload-batch-meta { display:none; } }
@media (max-width: 900px) { .compliance-report-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .delivery-live-row { grid-template-columns: minmax(0,1fr) auto; } .delivery-live-row .ghost-btn { grid-column: 1 / -1; justify-self: start; } .compliance-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
