/* V2.47 (Change Request Batch 28) */
/* item 5: BIM viewer model list */
.b28-models { padding: 10px; }
.b28-mhead { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.b28-mtools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.b28-mtools input[type=search] { flex: 1 1 160px; min-width: 0; }
.b28-mtools select { flex: 1 1 110px; min-width: 0; }
.b28-mlist { display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow: auto; }
.b18-ws .b28-mlist { max-height: none; }
.b28-mrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 6px; border: 1px solid var(--line, #dde4e2); border-radius: 8px; background: var(--card, #fff); }
.b28-mrow.on { border-color: var(--accent, #2f7d5a); box-shadow: inset 3px 0 0 var(--accent, #2f7d5a); }
.b28-mopen { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b28-mopen:focus-visible { outline: 2px solid var(--accent, #2f7d5a); outline-offset: 2px; border-radius: 4px; }
.b28-mopen .mono { font-weight: 600; overflow-wrap: anywhere; }
.b28-mt { color: var(--ink, #1d2b29); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b28-mmeta { color: var(--muted, #66736f); font-size: 11px; overflow-wrap: anywhere; }
.b28-mfoot { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.b28-pick { padding: 24px; text-align: center; }
.b28-nomodel .bimv-tree, .b28-nomodel .bimv-props { display: none; }
.b28-nomodel .bimv-body { grid-template-columns: minmax(0, 1fr); }

/* V2.47 (Batch 28 items 2, 13): Storage page and Recent exports */
.a28-storage{max-width:1400px}
.a28-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.a28-tile b{font-size:1.35rem;display:block;margin-top:2px}
.a28-card{margin-top:10px}
.a28-card h4{margin:0 0 8px}
.a28-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:10px}
.a28-grid .a28-card{margin-top:10px}
.a28-bar{height:10px;border-radius:5px;background:var(--line,#e5e7eb);overflow:hidden;position:relative}
.a28-bar i{display:block;height:100%;background:var(--primary,#1d4ed8);border-radius:5px}
.a28-bar i.warn{background:#d97706}.a28-bar i.danger{background:#dc2626}
.a28-marks{position:relative;height:16px}.a28-marks span{position:absolute;transform:translateX(-50%);top:2px}
.a28-trend{width:100%;max-width:760px;height:auto;display:block}
.a28-trend .ax{stroke:var(--line,#cbd5e1);stroke-width:1}.a28-trend .ln{fill:none;stroke:var(--primary,#1d4ed8);stroke-width:2}
.a28-trend .pt{fill:var(--primary,#1d4ed8)}.a28-trend .tx{font-size:10px;fill:var(--muted,#64748b)}

/* V2.47 (Batch 28 item 10): comment track */
.c28-th{border:1px solid var(--line,#e2e8f0);border-left:3px solid #d97706;border-radius:8px;padding:8px 10px;margin-bottom:8px;background:var(--card,#fff)}
.c28-th.done{border-left-color:#16a34a;opacity:.92}
.c28-hd{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.c28-tx{margin:4px 0}
.c28-rp{margin:6px 0 0 14px;padding:4px 8px;border-left:2px solid var(--line,#cbd5e1);font-size:.92em}
.c28-act{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}.c28-act input{flex:1;min-width:140px}
.c28-filters input[type=search]{min-width:200px}

/* V2.47 (Batch 28 item 14): top and sticky bottom horizontal scroll bars of wide tables */
.hs28{overflow-x:auto;overflow-y:hidden;height:16px;max-width:100%}
.hs28 .hs28-in{height:1px}
.hs28-bot{position:sticky;bottom:0;z-index:5;background:var(--card,#fff);border-top:1px solid var(--line,#e2e8f0)}
.hs28[hidden]{display:none}

/* item 15: drawing editor (full window) */
.cad28{position:fixed;inset:0;z-index:2000;background:var(--bg,#fff);display:flex;flex-direction:column}
.cad28-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--line,#ddd);flex-wrap:wrap}
.cad28-t{max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cad28-st.danger{color:var(--danger,#b42318)}
.cad28-host{position:relative;flex:1;min-height:0;overflow:hidden}
body.cad28-on{overflow:hidden}
