/* Scoped to Frost's storage view; the existing account workspace keeps its styles. */
body.storage-page main>.page{max-width:none;margin-inline:0;padding-inline:18px}
@media(max-width:800px){body.storage-page main>.page{padding-inline:10px}}
#storage-view{--soft:var(--theme-soft,#eeedff);--tint:var(--theme-tint,#eef3ff);--border:var(--theme-border,#e5e2f5)}
#storage-view button{font:inherit;font-size:12px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:9px 12px;color:var(--theme-ink,#373e69);cursor:pointer}
#storage-view button:disabled{opacity:.45;cursor:default}
#storage-view input,#storage-view select{font:inherit;font-size:12px;border:1px solid var(--border);border-radius:8px;padding:9px 10px;background:#fff;color:inherit;min-width:0}
#storage-view .storage-page-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#storage-view .storage-top-tools,#storage-view .storage-right-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#storage-view .storage-top-tools{flex:1}
#storage-view #storage-search{flex:1;min-width:160px;max-width:380px;background:var(--tint)}
#storage-view #new-table,#storage-view #add-row{background:var(--primary);border-color:var(--primary);color:#fff}
#storage-view .storage-danger,.storage-confirm-dialog .storage-danger{color:#ba4264;background:#fff5f7;border-color:#edc3cd}
#storage-view #storage-message:not(:empty){margin-bottom:14px;padding:12px;background:#fff2df;border-radius:10px;color:#945336}
#storage-view .storage-layout{display:grid;grid-template-columns:188px minmax(0,1fr);gap:14px;align-items:start}
#storage-view .storage-sidebar{padding:18px 10px;min-height:360px;height:65vh;display:flex;flex-direction:column;border:1px solid var(--border);background:linear-gradient(180deg,#ffffffee,var(--tint))}
#storage-view .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)}
#storage-view #storage-table-list{display:grid;gap:6px;flex:1;min-height:0;align-content:start;overflow-y:auto;scrollbar-width:thin;padding-bottom:6px}
#storage-view .storage-table-item{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;border-color:transparent;background:transparent;padding:12px 10px}
#storage-view .storage-table-item::before{content:'⠿';color:var(--muted);opacity:.5;font-size:16px}
#storage-view .storage-table-item span{min-width:0;overflow-wrap:anywhere;flex:1;font-size:13px}
#storage-view .storage-table-item small{flex:none;background:#ffffffa0;border-radius:6px;padding:1px 7px;font-size:11px}
#storage-view .storage-table-item.selected{background:var(--soft);border-color:var(--border);color:var(--primary);box-shadow:inset 3px 0 var(--primary)}
#storage-view .storage-content{min-width:0;border:1px solid var(--border);overflow:hidden}
#storage-view #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-view .storage-open-tab{display:flex;flex:none;align-items:center;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0}
#storage-view .storage-open-tab.active{background:#fff;border-color:var(--border);box-shadow:inset 0 3px var(--primary)}
#storage-view .storage-open-tab button{border:0;background:transparent;white-space:nowrap;padding:10px 12px;color:var(--muted)}
#storage-view .storage-open-tab.active button{color:var(--primary)}
#storage-view .storage-open-tab .storage-tab-close{padding:8px;font-size:17px;opacity:.65}
#storage-view .table-wrap{width:100%;overflow:auto;max-height:65vh}
#storage-view table{width:100%;border-collapse:collapse;font-size:12px}
#storage-view .storage-resizable{table-layout:fixed;min-width:0!important}
#storage-view th,#storage-view td{padding:12px 8px;border-bottom:1px solid var(--border);border-right:1px solid var(--border);text-align:left}
#storage-view th{font-size:12px;font-weight:600;background:var(--soft);position:sticky;top:0;z-index:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:10px}
#storage-view td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#storage-view th:last-child,#storage-view td:last-child{border-right:0}
#storage-view tbody tr:nth-child(even){background:#faf9fc60}
#storage-view tbody tr:hover{background:var(--tint)}
#storage-view #storage-rows button{margin-right:6px;padding:5px 10px;font-size:11px;color:var(--primary)}
#storage-view #storage-rows button:last-child{color:#bc4c66}
#storage-view input[type=checkbox]{width:17px;height:17px;padding:0;accent-color:var(--primary);cursor:pointer}
#storage-view .storage-content footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;margin:0;font-size:12px;color:var(--muted);border-top:1px solid var(--border);background:#ffffffa0}
#storage-view .storage-content footer>div{display:flex;align-items:center;gap:8px}
#storage-view #storage-selected{margin-left:12px}
#storage-view .column-resize-handle{position:absolute;right:0;top:0;height:100%;width:7px;cursor:col-resize;touch-action:none}
#storage-view .column-resize-handle:hover,#storage-view .column-resize-handle:focus-visible{background:#ac79ca44}
#storage-view #storage-height-handle{height:16px;display:flex;align-items:center;justify-content:center;cursor:ns-resize;touch-action:none;border-bottom:1px solid var(--border);background:#7772d80a}
#storage-view #storage-height-handle::after{content:'';width:42px;height:4px;border-radius:4px;background:#afaad6}
#storage-view #storage-height-handle:hover,#storage-view #storage-height-handle:focus-visible{background:#7772d822}
body.resizing-column,body.resizing-column *{cursor:col-resize!important;user-select:none!important}
body.resizing-table-height,body.resizing-table-height *{cursor:ns-resize!important;user-select:none!important}
.storage-editor{width:min(620px,92vw);max-height:90dvh;padding:24px;box-sizing:border-box}
.storage-editor form{padding:0}
.storage-editor header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:static;height:auto;margin:0;padding:0 0 14px;border-bottom:1px solid var(--theme-border,#e5e2f5)}
.storage-editor h2,.storage-confirm-dialog h2{font-size:18px;margin:0}
.storage-editor #storage-fields{display:grid;gap:14px;max-height:60vh;overflow:auto;padding:18px 0}
.storage-editor #storage-fields label{display:grid;gap:6px;font-size:12px;color:var(--muted);margin:0}
.storage-editor #storage-fields input{width:100%;min-width:0;box-sizing:border-box;padding:9px;border:1px solid var(--theme-border,#e5e2f5);border-radius:8px;background:#fff;font:inherit}
.storage-editor button,.storage-confirm-dialog button{font:inherit;font-size:12px;padding:9px 12px;border-radius:8px;border:1px solid var(--theme-border,#e5e2f5);background:#fff;color:inherit;cursor:pointer}
.storage-editor button:disabled{opacity:.45;cursor:default}
.storage-editor #storage-close{border:0;font-size:18px;padding:3px 8px;background:transparent}
.storage-editor #storage-form>button[type=submit]{float:right;min-width:100px;background:var(--primary);border-color:var(--primary);color:#fff}
.storage-editor #storage-editor-error{color:#b34747;font-size:12px;margin:0 0 12px}
.storage-editor .storage-column-list{display:grid;gap:14px}
.storage-editor .storage-column-row{display:flex;align-items:flex-end;gap:10px}
.storage-editor .storage-column-row label{flex:1;min-width:0}
.storage-editor .storage-column-delete{flex:none;margin-bottom:1px;color:#bc4c66}
.storage-editor #storage-fields .storage-bulk-field{display:grid;grid-template-columns:18px minmax(90px,1fr) minmax(100px,2fr);align-items:center;gap:10px}
.storage-editor #storage-fields .storage-bulk-field input[type=checkbox]{width:17px;height:17px;accent-color:var(--primary)}
.storage-confirm-dialog{width:min(420px,92vw);padding:24px;box-sizing:border-box}
.storage-confirm-dialog p{line-height:1.8;font-size:14px;overflow-wrap:anywhere}
.storage-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
@media(max-width:700px){
 #storage-view .storage-layout{grid-template-columns:104px minmax(0,1fr);gap:8px}
 #storage-view .storage-sidebar{padding:12px 5px;min-height:320px}
 #storage-view .storage-sidebar h2{margin-inline:7px}
 #storage-view .storage-table-item{padding:10px 6px;gap:4px;flex-wrap:wrap}
 #storage-view .storage-table-item::before{display:none}
 #storage-view .storage-table-item span{font-size:12px}
 #storage-view .storage-top-tools{flex-basis:100%}
 #storage-view #storage-search{order:1;max-width:none;width:100%;min-width:0;flex-basis:100%}
 #storage-view #storage-open-tabs{padding:8px 8px 0}
 #storage-view .storage-content footer,#storage-view .storage-content footer>div{flex-wrap:wrap;gap:6px}
 #storage-view .storage-content footer{padding:10px 8px}
 #storage-view .storage-content footer button,#storage-view .storage-content footer select{padding:6px}
 .storage-editor{padding:18px}
 .storage-editor #storage-fields .storage-bulk-field{grid-template-columns:18px 1fr}
 .storage-editor .storage-bulk-field input[type=text]{grid-column:2}
}

/* Current Cok storage tools, conditions and mobile arrangement. */
body.storage-page .page-heading{display:none}
body.storage-page main>.page{padding-top:18px}
#storage-view .storage-page-actions{margin-bottom:12px;align-items:flex-start}
#storage-view>.storage-page-actions{height:auto;min-height:0;padding:0;border:0;background:transparent;backdrop-filter:none}
#storage-view .storage-right-tools{margin-left:auto;flex-shrink:0}
#storage-view .storage-sidebar{height:calc(100dvh - 120px);min-height:480px}
/* 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-view .storage-top-tools{gap:6px;align-content:flex-start}
body.storage-page #storage-view .storage-top-tools button,body.storage-page #storage-view .storage-top-tools input,body.storage-page #storage-view .storage-top-tools select{font-size:12px;min-height:32px;padding:5px 9px;border-radius:6px}
body.storage-page #storage-view .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-view .storage-condition>select:first-child{width:140px}
body.storage-page #storage-view .storage-condition>select:nth-child(2){width:78px}
.storage-condition-value{width:182px;min-width:0}
body.storage-page #storage-view .storage-condition-value>input,body.storage-page #storage-view .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-view .storage-top-tools #storage-search{order:0;max-width:180px;width:180px}body.storage-page #storage-view .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-view .storage-mobile-heading,
body.storage-page #storage-view .storage-scroll-hint { display:none; }
body.storage-page #storage-view .storage-query-actions,
body.storage-page #storage-view .storage-batch-actions { display:contents; }
body.storage-page #storage-view #delete-table {
  background:#dc2626;
  border-color:#dc2626;
  color:#fff;
  font-weight:600;
  box-shadow:0 3px 8px #dc26261a;
}
body.storage-page #storage-view #delete-table:hover:not(:disabled) { background:#b91c1c; border-color:#b91c1c; }
body.storage-page #storage-view #delete-table:disabled { background:#dc2626; color:#fff; box-shadow:none; }
body.storage-page #storage-view #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 .console-topbar { margin:0 -12px 18px; padding-right:12px; background:#ffffffec; border-bottom:1px solid var(--border); }
  body.storage-page #storage-view .storage-mobile-heading { display:flex; align-items:center; gap:11px; margin:0 0 14px; }
  body.storage-page #storage-view .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-view .storage-mobile-mark svg { width:20px; height:20px; }
  body.storage-page #storage-view .storage-mobile-heading h2 { margin:0; font-size:20px; line-height:1.35; color:var(--ink,#463b50); }
  body.storage-page #storage-view .storage-mobile-heading p { margin:3px 0 0; font-size:11px; color:var(--muted); }
  body.storage-page #storage-view .storage-page-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin-bottom:12px; }
  body.storage-page #storage-view .storage-top-tools,
  body.storage-page #storage-view .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-view .storage-top-tools { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.storage-page #storage-view .storage-right-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.storage-page #storage-view .storage-top-tools button,
  body.storage-page #storage-view .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-view .storage-top-tools #storage-query { color:#fff; background:var(--primary); border-color:var(--primary); font-weight:600; }
  body.storage-page #storage-view .storage-top-tools #edit-selected { background:var(--tint); }
  body.storage-page #storage-view .storage-top-tools #delete-selected { background:#fff5f5; border-color:#fecaca; color:#b91c1c; }
  body.storage-page #storage-view .storage-right-tools #delete-table { font-size:14px; }
  body.storage-page #storage-view #storage-conditions { display:grid; grid-column:1/-1; min-width:0; gap:8px; }
  body.storage-page #storage-view #storage-conditions:empty { display:none; }
  body.storage-page #storage-view .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-view .storage-condition>select:first-child { grid-area:field; width:100%; margin:0; }
  body.storage-page #storage-view .storage-condition>select:nth-child(2) { grid-area:operator; width:100%; margin:0; }
  body.storage-page #storage-view .storage-condition>button { grid-area:remove; font-size:11px; min-width:0; padding:5px 2px; color:var(--muted); background:#fff; }
  body.storage-page #storage-view .storage-condition-value { grid-area:value; width:100%; min-width:0; }
  body.storage-page #storage-view .storage-condition-value>input { width:100%; max-width:none; min-height:42px; font-size:16px; padding:8px 10px; }
  body.storage-page #storage-view .storage-condition select { min-width:0; min-height:40px; font-size:14px; padding:7px; }
  body.storage-page #storage-view .storage-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  body.storage-page #storage-view .storage-sidebar { display:block; min-height:0; height:auto; padding:12px; background:#fff; border-radius:14px; }
  body.storage-page #storage-view .storage-sidebar h2 { margin:0 0 9px; padding:0; border:0; font-size:12px; letter-spacing:0; }
  body.storage-page #storage-view #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-view .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-view .storage-table-item::before { display:none; }
  body.storage-page #storage-view .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-view .storage-table-item small { display:block; padding:1px 6px; border-radius:5px; background:var(--tint); font-size:11px; }
  body.storage-page #storage-view .storage-table-item.selected { background:var(--soft); border-color:var(--primary); box-shadow:none; }
  body.storage-page #storage-view .storage-content { min-width:0; width:100%; border-radius:14px; background:#fff; }
  body.storage-page #storage-view #storage-open-tabs { padding:8px 10px 0; min-height:46px; background:#fff; }
  body.storage-page #storage-view .storage-open-tab button { min-height:38px; font-size:12px; padding:9px 10px; }
  body.storage-page #storage-view .storage-open-tab .storage-tab-close { min-width:32px; padding:8px; }
  body.storage-page #storage-view .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-view .storage-content .table-wrap { width:100%; overflow:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
  body.storage-page #storage-view .storage-content input[type=checkbox] { width:20px; height:20px; min-height:20px; margin:0; padding:0; vertical-align:middle; }
  body.storage-page #storage-view #storage-height-handle { height:28px; background:#fff; border-color:var(--border); }
  body.storage-page #storage-view #storage-height-handle::after { width:54px; height:4px; background:var(--border); }
  body.storage-page #storage-view .storage-content footer { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; padding:12px; background:#fff; font-size:11px; }
  body.storage-page #storage-view .storage-content footer>span { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
  body.storage-page #storage-view #storage-selected { margin:0; color:var(--primary); }
  body.storage-page #storage-view .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-view .storage-content footer label { min-width:0; white-space:nowrap; font-size:10px; }
  body.storage-page #storage-view #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-view .storage-content footer button { min-height:38px; padding:7px 6px; font-size:11px; white-space:nowrap; }
  body.storage-page #storage-view #storage-page { white-space:nowrap; font-size:10px; }
  body.storage-page #storage-view #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 #storage-view .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-view .storage-top-tools,.storage-page .storage-right-tools { padding:10px; gap:6px; }
  body.storage-page #storage-view .storage-top-tools button { font-size:11px; padding-inline:3px; }
  body.storage-page #storage-view .storage-content footer>div { grid-template-columns:1fr auto auto; }
  body.storage-page #storage-view .storage-content footer label { grid-column:1/-1; margin-bottom:3px; font-size:11px; }
}

@media(max-width:800px){body.storage-page main>.page{padding:16px 12px 24px}}

#storage-rows .storage-copy-cell:hover { background:var(--tint); }
#storage-rows .storage-copy-cell:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }
