*{box-sizing:border-box}body{margin:0;font:14px/1.6 "Microsoft YaHei",system-ui,sans-serif;background:#faf8fc;color:#463b50}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #eadfec;border-radius:9px;background:#fff;color:#685171;padding:8px 13px}button:hover{background:#fff0f7}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}aside{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid #f0e9f2;padding:28px 22px;overflow:auto}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:700;color:#bc789d;margin-bottom:32px}.brand span{font-size:22px;color:#594261}small{display:block;font-weight:400;font-size:12px;color:#98899e}.brand small{font-size:9px;letter-spacing:2px}.workspace{display:flex;gap:12px;align-items:center;border:1px solid #eee3ef;border-radius:15px;padding:13px 12px;margin:12px 0;font-weight:600}.workspace b{font-size:24px;color:#cb82ab}.workspace.active{border-color:#ddb4d0;background:#fff6fa;color:#9e4b82}.workspace>span:last-child{margin-left:auto}.nav-label{font-size:12px;color:#ad9bb2;margin:30px 8px 10px}#regions button{display:block;width:100%;text-align:left;margin:7px 0;border-color:transparent}#regions button.selected{background:#f9edf6;color:#a35686}.side-note{font-size:11px;color:#a698ac;margin:28px 8px}.back{display:block;margin:30px 8px;color:#9a6e93}main{margin-left:244px;padding:36px 38px;max-width:2200px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:12px;color:#a38daf}h1{font-size:28px;margin:10px 0 2px}p{margin:4px 0;color:#96869f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stats>div{padding:20px 24px;background:#fff;border:1px solid #eee5f0;border-radius:16px}.stats strong{font-size:29px;font-weight:600;display:block;margin-top:5px}.panel{border:1px solid #eee5f0;border-radius:18px;background:#fff;overflow:hidden}.toolbar{display:flex;gap:12px;padding:20px;align-items:center;flex-wrap:wrap}.tabs{display:flex;gap:5px;margin-right:auto}.tabs button{border-color:transparent}.tabs .selected{background:#f7e9f2;color:#a24f85}input,select{background:#fff;border:1px solid #e8dfe9;border-radius:9px;padding:8px 12px;color:inherit}input{width:230px}.note{font-size:12px;margin:0 22px 16px;color:#a492ab}.table-wrap{overflow:auto;max-height:65vh}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:13px}th{background:#fbf7fc;font-weight:500;color:#957d9f;position:sticky;top:0;z-index:1}td,th{padding:13px 16px;border-bottom:1px solid #f2ebf3;text-align:left}tbody tr:hover{background:#fffbfe}.lord{border:0;background:none;padding:0;color:#9c5188;font-weight:600}.shield{color:#5d927b}.unknown{color:#aaa0af}.expired{color:#ac8b65}footer{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;color:#a18ba8;font-size:12px}footer>div{display:flex;gap:14px;align-items:center}#message:not(:empty){padding:12px 16px;background:#fff2df;border-radius:10px;margin-bottom:20px}dialog{border:1px solid #eadceb;border-radius:18px;width:min(1200px,95vw);max-height:85vh;padding:24px;color:inherit}dialog::backdrop{background:#3a293c66}.detail-head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-24px;background:#fff;z-index:2}h2{font-size:20px}h3{margin-top:28px}.detail-table{overflow:auto;margin-bottom:16px}.detail-table td{max-width:450px;white-space:pre-wrap;overflow-wrap:anywhere}.empty{text-align:center;padding:70px;color:#ad99b3}@media(max-width:1000px){aside{width:200px;padding:22px 14px}main{margin-left:200px;padding:24px 18px}.stats{gap:8px}.stats>div{padding:14px}.toolbar{padding:14px;gap:8px}}@media(max-width:700px){aside{position:static;width:auto}.brand,.side-note,.nav-label,.back{display:none}aside{padding:12px;display:flex;flex-wrap:wrap;gap:8px}.workspace{margin:0;flex:1}#regions{display:flex;width:100%;overflow:auto}#regions button{white-space:nowrap}main{margin:0;padding:20px 12px}.stats{grid-template-columns:repeat(2,1fr)}header{gap:12px}.tabs{width:100%}}

.detail-table table{width:max-content;min-width:100%}.detail-table td{min-width:95px;max-width:420px;white-space:nowrap;vertical-align:top}.detail-table td.long-value{white-space:pre-wrap;min-width:260px}details{margin:18px 0;color:#99829f}summary{cursor:pointer;font-size:12px}.detail-table{max-height:350px}

label.nav-label{display:block}#regions{display:block}#region-select{width:100%;color:#9e4b82;background:#fff6fa;border-color:#ddb4d0}#region-count{margin:8px 10px;font-size:11px}

.table-title{margin-right:auto;color:#9c5188;font-size:14px}#rows td{vertical-align:top}#rows .grouped-value{white-space:pre;line-height:26px;min-width:120px}

.collector-panel{padding:18px;margin:0 0 20px;background:#fff;border:1px solid #ddd;border-radius:12px}.collector-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.collector-controls input{width:100px}.collector-controls input,.collector-controls select,.collector-controls button{padding:8px;border:1px solid #ccc;border-radius:6px}#collector-logs{height:180px;overflow:auto;background:#15202b;color:#d9e4ee;padding:12px;white-space:pre-wrap;font-size:12px}

.section-nav{display:grid;gap:6px;margin:18px 0}.section-nav a{padding:10px 14px;text-decoration:none;color:inherit;border-radius:8px;background:#ffffff10}.recent-region{display:block;padding:12px;border-bottom:1px solid #eee;color:inherit;text-decoration:none}.page-link{color:#6276b8}#storage-fields{display:grid;gap:12px;max-height:60vh;overflow:auto;padding:12px}#storage-fields label{display:grid;gap:6px}#storage-fields input{padding:9px;border:1px solid #ccc;border-radius:6px}#storage-editor{width:min(620px,90vw)}#storage-message,#storage-editor-error{color:#b34747}#storage-rows td{max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#storage-rows button{margin-right:6px}

#search-field{min-width:120px}#search{min-width:180px;flex:1;max-width:300px}@media(max-width:700px){.toolbar .table-title{width:100%}#search{max-width:none;width:auto;min-width:130px}#export{margin-left:auto}}

.storage-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;align-items:start}
.storage-sidebar{padding:16px 12px}
.storage-sidebar h2{font-size:14px;margin:0 10px 12px}
#storage-table-list{display:grid;gap:6px;max-height:65vh;overflow:auto}
.storage-table-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;border-color:transparent;background:transparent;padding:11px 12px}
.storage-table-item span{min-width:0;overflow-wrap:anywhere}
.storage-table-item small{flex:none}
.storage-table-item.selected{background:var(--accent-soft,#f9edf6);border-color:var(--accent,#bc789d)}
.storage-content{min-width:0}
#storage-height-handle{height:16px;display:flex;align-items:center;justify-content:center;cursor:ns-resize;touch-action:none;border-bottom:1px solid #eee3ef;background:rgba(188,120,157,.04)}
#storage-height-handle::after{content:"";width:42px;height:4px;border-radius:4px;background:#c6a4bc}
#storage-height-handle:hover,#storage-height-handle:focus-visible{background:rgba(188,120,157,.15)}
body.resizing-table-height,body.resizing-table-height *{cursor:ns-resize!important;user-select:none!important}
.storage-content .toolbar{border-bottom:1px solid #eee3ef}
.storage-content #storage-search{flex:1;min-width:150px;max-width:300px}
@media(max-width:700px){.storage-layout{grid-template-columns:112px minmax(0,1fr);gap:8px}.storage-sidebar{padding:12px 5px}.storage-sidebar h2{margin-left:7px}.storage-table-item{padding:9px 6px;gap:4px;font-size:12px}.storage-content .toolbar{padding:12px;gap:8px}.storage-content #storage-search{width:100%;max-width:none;min-width:0;flex-basis:100%}.storage-content footer{flex-wrap:wrap;gap:8px;padding:12px}.storage-content footer>div{gap:6px;flex-wrap:wrap}}
.storage-page-actions{justify-content:flex-end;margin-bottom:16px}

.storage-content input[type="checkbox"]{width:17px;height:17px;padding:0;accent-color:#bc789d;cursor:pointer}#storage-selected{margin-left:12px}

/* Storage workspace: compact left-aligned layout */
body.storage-page main{padding-left:18px;padding-right:18px}
body.storage-page main>:not(.console-topbar){max-width:none;margin-left:0;margin-right:0}
body.storage-page .console-topbar{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
body.storage-page .storage-page-actions{margin-bottom:12px}
body.storage-page .storage-layout{grid-template-columns:188px minmax(0,1fr);gap:14px}
body.storage-page .storage-sidebar{padding:18px 10px;min-height:360px;border:1px solid var(--border);box-shadow:0 4px 20px #60435906;background:linear-gradient(180deg,#ffffffee,var(--tint))}
body.storage-page .storage-sidebar h2{font-size:12px;letter-spacing:1px;color:var(--muted);padding-bottom:14px;margin:0 10px 10px;border-bottom:1px solid var(--border)}
body.storage-page .storage-table-item{position:relative;border-radius:10px;padding:12px 10px;gap:8px;transition:background .15s,border-color .15s}
body.storage-page .storage-table-item::before{content:'⠿';color:var(--muted);opacity:.5;font-size:16px}
body.storage-page .storage-table-item span{flex:1;font-size:13px}
body.storage-page .storage-table-item small{background:#ffffffa0;border-radius:6px;padding:1px 7px;font-size:11px}
body.storage-page .storage-table-item.selected{background:var(--soft);border-color:var(--border);color:var(--primary);box-shadow:inset 3px 0 var(--primary)}
body.storage-page .storage-content{border:1px solid var(--border);box-shadow:0 8px 30px #60435908}
body.storage-page .storage-content .toolbar{padding:16px;gap:8px;background:#ffffffa0}
body.storage-page .storage-content button{border-radius:8px}
body.storage-page .storage-content #storage-search{max-width:380px;margin-left:6px;background:var(--tint);border-color:transparent}
body.storage-page .storage-content th{font-size:12px;font-weight:600;background:var(--soft);padding-block:12px}
body.storage-page .storage-content td{padding-block:13px;border-bottom-color:var(--border)}
body.storage-page .storage-content tbody tr:nth-child(even){background:#faf9fc60}
body.storage-page .storage-content tbody tr:hover{background:var(--tint)}
body.storage-page .storage-content footer{padding:12px 16px;background:#ffffffa0}
body.storage-page .page-foot{opacity:.65}
@media(max-width:700px){body.storage-page main{padding-left:10px;padding-right:10px}body.storage-page .console-topbar{margin-inline:-10px;padding-inline:10px}body.storage-page .storage-layout{grid-template-columns:104px minmax(0,1fr);gap:8px}body.storage-page .storage-sidebar{padding:12px 5px}body.storage-page .storage-table-item{padding:10px 6px;flex-wrap:wrap}body.storage-page .storage-table-item::before{display:none}body.storage-page .storage-table-item span{font-size:12px}body.storage-page .storage-content .toolbar{padding:10px}body.storage-page .storage-content #storage-search{margin-left:0}}

body.storage-page .storage-sidebar{height:calc(100dvh - 120px);min-height:480px;display:flex;flex-direction:column}
body.storage-page #storage-table-list{flex:1;min-height:0;max-height:none;align-content:start;overflow-y:auto;scrollbar-width:thin;padding-bottom:6px}
body.storage-page .storage-content table.storage-resizable{min-width:0!important}
@media(max-width:700px){body.storage-page .storage-sidebar{height:calc(100dvh - 108px);min-height:420px}}

body.storage-page .storage-content .storage-resizable th,body.storage-page .storage-content .storage-resizable td{padding-left:8px;padding-right:8px}
body.storage-page .storage-content .storage-resizable th{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:10px}
body.storage-page .storage-content .storage-resizable th:first-child,body.storage-page .storage-content .storage-resizable td:first-child{padding-left:7px;padding-right:7px}
body.storage-page .column-resize-handle{width:7px}

/* Storage tools and opened-table tabs */
body.storage-page .storage-page-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body.storage-page .storage-top-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0;border:0;flex:1}
body.storage-page .storage-top-tools #storage-search{flex:1;min-width:160px;max-width:380px}
body.storage-page .storage-danger{color:#ba4264;background:#fff5f7;border-color:#edc3cd}
#storage-open-tabs{display:flex;gap:6px;overflow-x:auto;padding:12px 14px 0;min-height:54px;border-bottom:1px solid var(--border);background:var(--tint)}
.storage-open-tab{display:flex;flex:none;align-items:center;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0}
.storage-open-tab.active{background:var(--panel,#fff);border-color:var(--border);box-shadow:inset 0 3px var(--primary)}
body.storage-page .storage-open-tab button{border:0;background:transparent;white-space:nowrap;padding:10px 12px;color:var(--muted)}
body.storage-page .storage-open-tab.active button{color:var(--primary)}
body.storage-page .storage-open-tab .storage-tab-close{padding:8px;font-size:17px;opacity:.65}
body.storage-page .storage-content .storage-resizable th,body.storage-page .storage-content .storage-resizable td{border-right:1px solid var(--border,#eadbe5)}
body.storage-page .storage-content .storage-resizable th:last-child,body.storage-page .storage-content .storage-resizable td:last-child{border-right:0}
@media(max-width:700px){body.storage-page .storage-top-tools{flex-basis:100%}body.storage-page .storage-top-tools #storage-search{order:1;max-width:none}#storage-open-tabs{padding:8px 8px 0}}

/* Storage field conditions and large logical pages. */
.storage-query-panel{padding:12px 16px;margin:0 0 14px;border:1px solid var(--border,#eadfec);border-radius:12px;background:var(--panel,#fff)}
.storage-query-panel p{font-size:12px;margin:0 0 8px;color:var(--muted,#98899e)}
#storage-conditions{display:grid;gap:8px}
.storage-condition{display:grid;grid-template-columns:minmax(110px,1fr) 110px minmax(160px,2fr) auto;gap:8px;max-width:1000px}
.storage-condition select,.storage-condition input{min-width:0;width:100%}
.storage-condition input:disabled{background:var(--soft,#f8f4fa)}
.storage-large-page-note{margin:0;padding:8px 16px;font-size:12px;color:var(--muted,#98899e);border-top:1px solid var(--border,#eadfec)}
.storage-large-page-note[hidden]{display:none}
#storage-rows tr.storage-grid-spacer,#storage-rows tr.storage-grid-spacer:hover{background:transparent!important}
#storage-rows tr.storage-grid-spacer td{padding:0!important;border:0!important;max-width:none}
#storage-rows tr.storage-grid-placeholder td{height:64px;text-align:center;color:var(--muted,#98899e)}
@media(max-width:700px){.storage-condition{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.storage-condition input{grid-column:1}.storage-query-panel{padding:10px}}

/* Compact conditions are part of the top toolbar, in actual column order. */
body.storage-page .storage-top-tools{gap:6px;align-content:flex-start}
body.storage-page .storage-top-tools button,body.storage-page .storage-top-tools input,body.storage-page .storage-top-tools select{font-size:12px;min-height:32px;padding:5px 9px;border-radius:6px}
body.storage-page .storage-top-tools #storage-search{flex:0 1 180px;width:180px;max-width:180px;min-width:120px;order:0}
#storage-conditions{display:contents}
.storage-condition{display:flex;flex:0 0 auto;align-items:center;gap:5px;max-width:none}
body.storage-page .storage-condition>select:first-child{width:140px}
body.storage-page .storage-condition>select:nth-child(2){width:78px}
.storage-condition-value{width:182px;min-width:0}
body.storage-page .storage-condition-value>input,body.storage-page .storage-condition-value>button{width:100%;min-width:0}
.storage-date-trigger{text-align:left;white-space:nowrap}
.storage-date-trigger::before{content:'◷';margin-right:6px;opacity:.6}
.storage-sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.storage-date-popover{position:fixed;z-index:10000;width:316px;padding:10px;background:#fff;color:var(--text,#463b50);border:1px solid var(--border,#eadfec);border-radius:8px;box-shadow:0 7px 28px #33223d25;font-size:12px}
.storage-date-fields,.storage-date-month,.storage-date-actions{display:flex;align-items:center;gap:8px;justify-content:space-between}
.storage-date-popover input{min-width:0;width:50%;padding:6px;font-size:12px;border-radius:5px}
.storage-date-month{margin:10px 0}
.storage-date-month button,.storage-date-actions button{padding:4px 8px;font-size:12px;border-radius:5px}
.storage-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.storage-date-weekday{padding:6px 0;color:var(--muted,#98899e)}
.storage-date-grid button{padding:5px 0;min-height:30px;font-size:12px;border:0;border-radius:5px}
.storage-date-grid button.outside{color:#bdb5c2}
.storage-date-grid button.selected{background:var(--primary,#bb739c);color:white}
.storage-date-actions{border-top:1px solid var(--border,#eadfec);padding-top:9px;margin-top:9px;justify-content:flex-end}
.storage-date-error{color:#b93e56;min-height:18px;font-size:12px}
@media(max-width:700px){.storage-condition{flex-wrap:wrap;max-width:100%}.storage-condition-value{width:172px}body.storage-page .storage-top-tools #storage-search{order:0;max-width:180px;width:180px}body.storage-page .storage-condition>select:first-child{width:120px}.storage-date-popover{max-width:calc(100vw - 16px)}}

/* Storage mobile refresh: scoped to this page; desktop arrangement is preserved. */
body.storage-page .storage-mobile-heading,
body.storage-page .storage-scroll-hint { display:none; }
body.storage-page .storage-query-actions,
body.storage-page .storage-batch-actions { display:contents; }
body.storage-page #delete-table {
  background:#dc2626;
  border-color:#dc2626;
  color:#fff;
  font-weight:600;
  box-shadow:0 3px 8px #dc26261a;
}
body.storage-page #delete-table:hover:not(:disabled) { background:#b91c1c; border-color:#b91c1c; }
body.storage-page #delete-table:disabled { background:#dc2626; color:#fff; box-shadow:none; }
body.storage-page #delete-table:focus-visible { outline:3px solid #fca5a5; outline-offset:3px; }
body.storage-page .storage-confirm-actions .storage-danger { background:#dc2626; border-color:#dc2626; color:#fff; }
body.storage-page .storage-confirm-actions .storage-danger:hover { background:#b91c1c; border-color:#b91c1c; }

@media (max-width:800px) {
  body.storage-page { background:var(--tint,#f8f9fc); }
  body.storage-page main { padding:0 12px 24px; }
  body.storage-page .console-topbar { margin:0 -12px 18px; padding-right:12px; background:#ffffffec; border-bottom:1px solid var(--border); }
  body.storage-page .storage-mobile-heading { display:flex; align-items:center; gap:11px; margin:0 0 14px; }
  body.storage-page .storage-mobile-mark { display:grid; place-items:center; width:38px; height:38px; flex:none; border:1px solid var(--border); border-radius:12px; background:#fff; color:var(--primary); }
  body.storage-page .storage-mobile-mark svg { width:20px; height:20px; }
  body.storage-page .storage-mobile-heading h2 { margin:0; font-size:20px; line-height:1.35; color:var(--ink,#463b50); }
  body.storage-page .storage-mobile-heading p { margin:3px 0 0; font-size:11px; color:var(--muted); }
  body.storage-page .storage-page-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin-bottom:12px; }
  body.storage-page .storage-top-tools,
  body.storage-page .storage-right-tools { display:grid; min-width:0; width:100%; margin:0; padding:12px; border:1px solid var(--border); border-radius:14px; background:#fff; box-shadow:0 3px 14px #60435904; gap:8px; }
  body.storage-page .storage-top-tools { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.storage-page .storage-right-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.storage-page .storage-top-tools button,
  body.storage-page .storage-right-tools button { width:100%; min-width:0; min-height:40px; padding:8px 5px; border-radius:9px; font-size:12px; line-height:1.35; white-space:normal; }
  body.storage-page .storage-top-tools #storage-query { color:#fff; background:var(--primary); border-color:var(--primary); font-weight:600; }
  body.storage-page .storage-top-tools #edit-selected { background:var(--tint); }
  body.storage-page .storage-top-tools #delete-selected { background:#fff5f5; border-color:#fecaca; color:#b91c1c; }
  body.storage-page .storage-right-tools #delete-table { font-size:14px; }
  body.storage-page #storage-conditions { display:grid; grid-column:1/-1; min-width:0; gap:8px; }
  body.storage-page #storage-conditions:empty { display:none; }
  body.storage-page .storage-condition { display:grid; grid-template-columns:minmax(0,1fr) 78px 40px; grid-template-areas:'field operator remove' 'value value value'; gap:7px; width:100%; padding:10px; background:var(--tint); border:1px solid var(--border); border-radius:10px; }
  body.storage-page .storage-condition>select:first-child { grid-area:field; width:100%; margin:0; }
  body.storage-page .storage-condition>select:nth-child(2) { grid-area:operator; width:100%; margin:0; }
  body.storage-page .storage-condition>button { grid-area:remove; font-size:11px; min-width:0; padding:5px 2px; color:var(--muted); background:#fff; }
  body.storage-page .storage-condition-value { grid-area:value; width:100%; min-width:0; }
  body.storage-page .storage-condition-value>input { width:100%; max-width:none; min-height:42px; font-size:16px; padding:8px 10px; }
  body.storage-page .storage-condition select { min-width:0; min-height:40px; font-size:14px; padding:7px; }
  body.storage-page .storage-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  body.storage-page .storage-sidebar { display:block; min-height:0; height:auto; padding:12px; background:#fff; border-radius:14px; }
  body.storage-page .storage-sidebar h2 { margin:0 0 9px; padding:0; border:0; font-size:12px; letter-spacing:0; }
  body.storage-page #storage-table-list { display:flex; gap:8px; max-height:none; overflow-x:auto; overflow-y:hidden; padding:0 0 3px; scrollbar-width:thin; overscroll-behavior-x:contain; }
  body.storage-page .storage-table-item { flex:0 0 auto; width:auto; max-width:240px; min-height:42px; display:flex; flex-wrap:nowrap; gap:8px; padding:9px 12px; border:1px solid var(--border); border-radius:9px; background:#fff; }
  body.storage-page .storage-table-item::before { display:none; }
  body.storage-page .storage-table-item span { flex:none; min-width:0; max-width:172px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
  body.storage-page .storage-table-item small { display:block; padding:1px 6px; border-radius:5px; background:var(--tint); font-size:11px; }
  body.storage-page .storage-table-item.selected { background:var(--soft); border-color:var(--primary); box-shadow:none; }
  body.storage-page .storage-content { min-width:0; width:100%; border-radius:14px; background:#fff; }
  body.storage-page #storage-open-tabs { padding:8px 10px 0; min-height:46px; background:#fff; }
  body.storage-page .storage-open-tab button { min-height:38px; font-size:12px; padding:9px 10px; }
  body.storage-page .storage-open-tab .storage-tab-close { min-width:32px; padding:8px; }
  body.storage-page .storage-scroll-hint { display:flex; justify-content:space-between; gap:10px; padding:8px 12px; margin:0; color:var(--muted); font-size:10px; background:var(--tint); border-bottom:1px solid var(--border); }
  body.storage-page .storage-content .table-wrap { width:100%; overflow:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
  body.storage-page .storage-content input[type=checkbox] { width:20px; height:20px; min-height:20px; margin:0; padding:0; vertical-align:middle; }
  body.storage-page #storage-height-handle { height:28px; background:#fff; border-color:var(--border); }
  body.storage-page #storage-height-handle::after { width:54px; height:4px; background:var(--border); }
  body.storage-page .storage-content footer { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; padding:12px; background:#fff; font-size:11px; }
  body.storage-page .storage-content footer>span { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
  body.storage-page #storage-selected { margin:0; color:var(--primary); }
  body.storage-page .storage-content footer>div { display:grid; grid-template-columns:minmax(0,1fr) auto auto auto; align-items:center; gap:5px; min-width:0; }
  body.storage-page .storage-content footer label { min-width:0; white-space:nowrap; font-size:10px; }
  body.storage-page #storage-page-size { min-width:0; max-width:74px; min-height:38px; margin:0 2px; padding:6px 4px; font-size:12px; border-radius:8px; }
  body.storage-page .storage-content footer button { min-height:38px; padding:7px 6px; font-size:11px; white-space:nowrap; }
  body.storage-page #storage-page { white-space:nowrap; font-size:10px; }
  body.storage-page #storage-message:not(:empty) { margin-bottom:12px; padding:10px 12px; font-size:12px; }
  body.storage-page #storage-editor { width:calc(100vw - 24px); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); padding:16px; border-radius:16px; background:#fff; overflow:hidden; }
  body.storage-page #storage-editor #storage-form { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto auto; max-height:calc(100dvh - 58px); min-width:0; }
  body.storage-page #storage-editor .detail-head { grid-column:1; gap:12px; padding:0 0 12px; margin:0; }
  body.storage-page #storage-editor .detail-head h2 { margin:0; min-width:0; font-size:17px; }
  body.storage-page #storage-editor .detail-head button { flex:none; min-height:38px; }
  body.storage-page #storage-editor #storage-fields { grid-column:1; grid-template-columns:minmax(0,1fr); gap:12px; min-height:0; max-height:none; overflow-x:hidden; overflow-y:auto; padding:14px 0; border-bottom:1px solid var(--border); }
  body.storage-page #storage-editor #storage-fields label { font-size:12px; }
  body.storage-page #storage-editor #storage-fields input[type=text],
  body.storage-page #storage-editor #storage-fields input:not([type]) { min-width:0; min-height:42px; font-size:16px; }
  body.storage-page #storage-editor #storage-fields .storage-bulk-field { grid-template-columns:18px minmax(0,1fr); padding:11px; gap:8px; border:1px solid var(--border); border-radius:10px; background:var(--tint); }
  body.storage-page #storage-editor #storage-fields .storage-bulk-field input[type=checkbox] { width:18px; height:18px; min-height:18px; padding:0; margin:0; }
  body.storage-page #storage-editor #storage-editor-error { grid-column:1; margin:10px 0 0; font-size:11px; line-height:1.6; }
  body.storage-page #storage-editor #storage-form>button[type=submit] { grid-column:1; float:none; justify-self:stretch; min-height:42px; width:100%; margin-top:12px; }
  body.storage-page .storage-confirm-dialog { width:calc(100vw - 32px); max-width:420px; padding:20px; border-radius:16px; background:#fff; }
  body.storage-page .storage-confirm-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  body.storage-page .storage-confirm-actions button { min-height:42px; padding:8px; }
  body.storage-page .page-foot { padding-top:18px; font-size:9px; letter-spacing:.3px; }
}

@media (max-width:360px) {
  body.storage-page .console-topbar>span { max-width:70px; white-space:normal; line-height:1.4; }
  body.storage-page .storage-top-tools,.storage-page .storage-right-tools { padding:10px; gap:6px; }
  body.storage-page .storage-top-tools button { font-size:11px; padding-inline:3px; }
  body.storage-page .storage-content footer>div { grid-template-columns:1fr auto auto; }
  body.storage-page .storage-content footer label { grid-column:1/-1; margin-bottom:3px; font-size:11px; }
}
