/* Storage connector (web/storage.js) */
.st-list { display: grid; gap: 10px; }
.st-conn { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line, rgba(127,127,127,.2)); flex-wrap: wrap; }
.st-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.st-tile { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border: 1px solid var(--line, rgba(127,127,127,.3)); border-radius: 10px; cursor: pointer; }
#stf label { display: block; margin: 8px 0; }
#stf input:not([type=checkbox]) { width: 100%; }
.st-pre { white-space: pre-wrap; word-break: break-all; font-size: 12px; max-height: 260px; overflow: auto; }
.st-grid { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 16px; }
@media (max-width: 760px) { .st-grid { grid-template-columns: 1fr; } }
.st-fold { padding: 4px 0; }
.st-crumbs { margin-bottom: 8px; font-size: 13px; }
.st-tbl td[contenteditable] { outline: 1px dashed transparent; min-width: 60px; }
.st-tbl td[contenteditable]:focus { outline-color: currentColor; }
.st-bar { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; background: var(--bg, #111); border-top: 1px solid var(--line, rgba(127,127,127,.3)); z-index: 5; }
.st-bar .chk { flex: 1 1 320px; }
#stf label.chk, .st-bar .chk { text-transform: none; letter-spacing: normal; font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
/* connector v2 (web/storage_v2.js): mapping wizard review, browse */
.st-v2bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.st-wz select, .st-wz input { width: 100%; min-width: 110px; }
.st-wz tr.st-low td:first-child { box-shadow: inset 3px 0 0 var(--bad, #E58A80); }
.st-wz-add { flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.st-wz-add input { flex: 1 1 220px; }
.st-wz-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 10px 0; }
.st-wz-kpi > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line, rgba(127,127,127,.2)); border-radius: 10px; }
.st-wz-kpi b { font-size: 20px; }
.st-wz-ser { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.st-wz-q p { margin: 4px 0; }
#rotf label { display: block; margin: 8px 0; }
#rotf input { width: 100%; }

/* round 3: convention, layout check, needs a look, quote counts, edited preview cells */
.st-conv { margin: 4px 0 14px; padding: 10px 12px; border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 10px; }
.st-conv summary { cursor: pointer; }
.st-conv ul { margin: 6px 0; padding-left: 18px; }
.st-lay-h { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.st-meter { flex: 0 1 220px; height: 10px; border-radius: 6px; background: var(--line, rgba(127,127,127,.2)); overflow: hidden; }
.st-meter i { display: block; height: 100%; background: var(--sage, #7FB59A); }
.st-lay-t td:last-child { min-width: 260px; }
.st-cnt { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.st-tbl td.st-ed { box-shadow: inset 0 -2px 0 var(--brass, #C9A55B); }
.st-map .tbl-wrap, .st-lay .tbl-wrap, .st-look .tbl-wrap, .st-grid .tbl-wrap { overflow-x: auto; max-width: 100%; }
.st-grid > * { min-width: 0; }
