/* V5 PROPOSAL · tenant logo symbols (fictional marks for sample tenants — not Sham One icons; Lucide stays the UI icon family) */
.s1-i[data-i="sym-arch"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 2l1.8 3.4h-3.6zM11 6.5h2l6.2 14.6-1.9.8L12 10 6.7 21.9l-1.9-.8z M7.5 15h9v2h-9z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-hat"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M2.5 17h19v2.6h-19zM4.6 16a7.4 7.4 0 0 1 14.8 0zM10.5 5.5h3v4.5h-3z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-box"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 2l9 4.5v11L12 22l-9-4.5v-11zm0 2.3L5.6 7.5 12 10.7l6.4-3.2zM4.9 9.1v7.2l6.1 3.1v-7.2zm14.2 0L13 12.2v7.2l6.1-3.1z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-chair"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M7 3h10v9H7zM5 12.5h14v3H5zM6 15.5h2.2V21H6zm9.8 0H18V21h-2.2z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-hanger"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 3.5a2.6 2.6 0 0 1 1.2 4.9V10l8 5.9c.9.7.4 2.1-.7 2.1H3.5c-1.1 0-1.6-1.4-.7-2.1l8-5.9V7.6h1.6a1 1 0 1 0-1-1H9.4A2.6 2.6 0 0 1 12 3.5zm0 8.6L6.3 16.2h11.4z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-bolt"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M13.5 2L4 14h6.2L9 22l10-12.6h-6.3z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-drop"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 2.5c3.6 4.6 6.6 8.3 6.6 12a6.6 6.6 0 0 1-13.2 0c0-3.7 3-7.4 6.6-12z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-gem"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M7 3h10l4.5 6L12 21.5 2.5 9zM6 9.5l6 8.2 6-8.2z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-basket"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M2 9h20l-2.3 11.5H4.3zM6.8 9l3.3-6.2 1.8 1L9.2 9zm10.4 0l-3.3-6.2-1.8 1L14.8 9z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-bowl"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M2.8 11h18.4a9.2 9.2 0 0 1-18.4 0zM6 20h12v2.2H6zM9.8 2.5h1.7V8H9.8zm3 1.2h1.7V8h-1.7z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-tooth"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M7.2 3c2 0 3 1 4.8 1s2.8-1 4.8-1C19.4 3 21 5 21 8c0 4-2 5.2-2.5 9.2C18.2 19.6 17.4 21 16 21c-1.6 0-2-2-2.5-4.5S12.6 13 12 13s-1 1-1.5 3.5S9.6 21 8 21c-1.4 0-2.2-1.4-2.5-3.8C5 13.2 3 12 3 8c0-3 1.6-5 4.2-5z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-cap"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 3l11 5-11 5L1 8zM5 10.6l7 3.2 7-3.2V16c0 1.8-3.1 3.2-7 3.2S5 17.8 5 16zM21.2 8.8h1.6v6h-1.6z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-key"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M8 5.5a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13zm0 3.8a2.7 2.7 0 1 0 0 5.4 2.7 2.7 0 0 0 0-5.4zM13.8 10.6H22v3h-1.8v3.2h-3v-3.2h-3.4z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-wheel"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 3.3a6.7 6.7 0 1 0 0 13.4 6.7 6.7 0 0 0 0-13.4zM12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-bell"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M3.5 18h17v2.4h-17zM12 6.2a8.2 8.2 0 0 1 8.2 8.2V17H3.8v-2.6A8.2 8.2 0 0 1 12 6.2zM10.4 3h3.2v2.4h-3.2z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-wrench"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M21.2 6.4a5.2 5.2 0 0 1-6.9 4.9L6.1 19.6a2.1 2.1 0 0 1-3-3l8.3-8.3a5.2 5.2 0 0 1 6.2-5.6l-3.1 3.1.6 3 3 .6z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-pen"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M12 2l6.3 7.3-2.1 9H7.8L5.7 9.3zm0 4.6a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2zM7.8 19.2h8.4V22H7.8z'/%3E%3C/svg%3E")}
.s1-i[data-i="sym-wheat"]{--i:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath fill-rule='evenodd' d='M11 22V10.5h2V22zM12 1.8c1.9 1.3 2.3 3.5 1 5.3-1.9-1.3-2.3-3.5-1-5.3zM6.6 6.6c2.1.4 3.9 2.2 4.4 4.4-2.1-.4-3.9-2.2-4.4-4.4zm10.8 0c-.5 2.2-2.3 4-4.4 4.4.5-2.2 2.3-4 4.4-4.4zM6.6 11.8c2.1.4 3.9 2.2 4.4 4.4-2.1-.4-3.9-2.2-4.4-4.4zm10.8 0c-.5 2.2-2.3 4-4.4 4.4.5-2.2 2.3-4 4.4-4.4z'/%3E%3C/svg%3E")}

/* SHAM ONE V5 · sector-template layer. OWNER REVIEW REQUIRED · NOT FROZEN.
   Consumes V3 roles only (--b1…--b8, SY-* via --paper/--depth/--card/--ink/--body/--sec/--meta/--hair/--ctl).
   Adds no colour role, no token, no breakpoint: container queries use the V3 `s1` container at 640/768/1024. */

/* ---------- capability chips (review chrome) ---------- */
.bd-chip[data-st="mvp"], .bd-chip[data-st="approved"], .s5-cap[data-st="mvp"], .s5-cap[data-st="approved"] { color: #0A7355; }
.bd-chip[data-st="approvedNI"], .bd-chip[data-st="decided"], .s5-cap[data-st="approvedNI"] { color: #334155; }
.bd-chip[data-st="roadmap"], .s5-cap[data-st="roadmap"] { color: #6B4E16; border-style: dashed; }
.bd-chip[data-st="owner"], .s5-cap[data-st="owner"] { color: #1E3A8A; }
.bd-chip[data-st="blocked"], .s5-cap[data-st="blocked"] { color: #B42318; }
.bd-chip[data-st="na"], .s5-cap[data-st="na"] { color: #64748B; border-style: dotted; }
.s5-cap { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; background: #fff; font: 600 12px/1.6 "IBM Plex Sans Arabic", sans-serif; white-space: nowrap; }
.s5-cap::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; }
.s5-cap[data-st="blocked"]::before { border-radius: 1px; transform: rotate(45deg); }
.s5-cap[data-st="roadmap"]::before, .s5-cap[data-st="na"]::before { background: transparent; border: 1.5px solid currentColor; }

/* ---------- shared bits for proposed sections ---------- */
.s5-tag { display: inline-flex; align-items: center; gap: 6px; min-block-size: 28px; padding-inline: 10px; border-radius: 999px; background: var(--b6); color: var(--ink); font-size: 13px; font-weight: 500; }
.s5-num { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.s5-note { font-size: 14px; color: var(--sec); }
.s5-new { display: inline-flex; gap: 6px; align-items: center; font: 600 12px/1.6 "IBM Plex Sans Arabic", sans-serif; color: #1E3A8A; border: 1px dashed #1E3A8A; border-radius: 999px; padding: 0 10px; background: #fff; }

/* S5-MENU */
.s5-menu { display: grid; gap: 32px; }
.s5-menu-g { display: grid; gap: 4px; }
.s5-menu-g > h3 { font-family: var(--fd); font-size: var(--t-h3); color: var(--ink); padding-block-end: 12px; border-block-end: 2px solid var(--b2); margin: 0 0 8px; }
.s5-mi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 14px; border-block-end: 1px solid var(--hair); }
.s5-mi b { font-family: var(--fd); font-size: 18px; color: var(--ink); }
.s5-mi .s5-price { font-weight: 600; color: var(--ink); white-space: nowrap; }
.s5-mi p { margin: 0; color: var(--sec); font-size: 15px; }
.s5-mi .s1-chips { grid-column: 1 / -1; gap: 6px; }
@container s1 (min-width: 1024px) { .s5-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } }

/* S5-STAY */
.s5-stay-bar { display: grid; gap: 16px; padding: 24px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); }
.s5-stay-bar .s1-btn { inline-size: 100%; }
@container s1 (min-width: 768px) { .s5-stay-bar { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); align-items: end; } }
.s5-rooms { display: grid; gap: 24px; margin-block-start: 32px; }
@container s1 (min-width: 768px) { .s5-rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s5-room { display: grid; gap: 12px; align-content: start; }
.s5-room img, .s5-lst img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); display: block; background: var(--depth); }

/* S5-LIST */
.s5-lst-grid { display: grid; gap: 24px; margin-block-start: 24px; }
@container s1 (min-width: 768px) { .s5-lst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container s1 (min-width: 1024px) { .s5-lst-grid[data-one="false"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s5-lst { position: relative; display: grid; gap: 12px; align-content: start; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-card); padding: 12px 12px 20px; }
.s5-lst h3 { margin: 0; font-family: var(--fd); font-size: 18px; color: var(--ink); line-height: 1.4; }
.s5-lst dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 14px; }
.s5-lst dt { color: var(--sec); } .s5-lst dd { margin: 0; color: var(--ink); font-weight: 500; }
.s5-lst .s5-price { font-family: var(--fd); font-weight: 700; font-size: 18px; color: var(--ink); }
.s5-lst a.s1-link { min-block-size: 44px; display: inline-flex; align-items: center; }

/* S5-FIT */
.s5-fit { display: grid; gap: 16px; padding: 28px; border: 2px solid var(--b2); border-radius: var(--r-card); background: var(--card); }
@container s1 (min-width: 1024px) { .s5-fit { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); align-items: end; } }

/* S5-TIME */
.s5-tt { display: grid; gap: 12px; }
.s5-tt-row { display: grid; gap: 8px 16px; padding: 16px; border: 1px solid var(--hair); border-radius: var(--r-card); background: var(--card); align-items: center; }
.s5-tt-row b { font-family: var(--fd); font-size: 18px; color: var(--ink); }
.s5-tt-row dl { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 14px; }
.s5-tt-row dl div { display: flex; gap: 6px; } .s5-tt-row dt { color: var(--sec); } .s5-tt-row dd { margin: 0; color: var(--ink); font-weight: 500; }
@container s1 (min-width: 1024px) { .s5-tt-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 3fr) auto; } }

/* S5-BRAND */
.s5-brands { display: grid; gap: 20px; }
@container s1 (min-width: 768px) { .s5-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container s1 (min-width: 1024px) { .s5-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.s5-brand-g { display: grid; gap: 4px; align-content: start; border-block-start: 1px solid var(--hair); padding-block-start: 12px; }
.s5-brand-g > span { font: 700 28px/1 var(--fd); color: var(--b5); }
.s5-brand-g a { min-block-size: 44px; display: flex; align-items: center; color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 4px; font-size: 17px; }

/* S5-RFQ */
.s5-rfq { display: grid; gap: 12px; }
.s5-rfq-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 44px; gap: 8px 12px; align-items: center; padding: 12px; border: 1px solid var(--hair); border-radius: var(--r-ctl); background: var(--card); }
.s5-rfq-row .s5-sku { grid-column: 1 / -1; font: 500 12px/1.4 ui-monospace, monospace; color: var(--sec); direction: ltr; unicode-bidi: isolate; text-align: start; }
.s5-rfq-row .s1-input { min-block-size: 44px; text-align: center; }
.s5-rfq-row button { inline-size: 44px; block-size: 44px; border: 1px solid var(--ctl); border-radius: var(--r-ctl); background: var(--card); color: var(--sec); display: grid; place-items: center; cursor: pointer; }
@container s1 (min-width: 768px) { .s5-rfq-row { grid-template-columns: 180px minmax(0, 1fr) 110px 120px 44px; } .s5-rfq-row .s5-sku { grid-column: auto; } }
.s5-rfq-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }

/* ---------- review chrome: board strip, frame, gallery, editor ---------- */
.s5-bd { font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", system-ui, sans-serif; color: #0F172A; background: #F1F5F9; }
.s5-strip { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 10px 16px; background: #0F172A; color: #F8FAFC; font-size: 13px; line-height: 1.5; }
.s5-strip b { font-size: 14px; } .s5-strip .s5-id { font: 600 12px/1.4 ui-monospace, monospace; direction: ltr; unicode-bidi: isolate; color: #CBD5E1; }
.s5-strip .s5-sp { flex: 1 1 auto; }
.s5-strip .s5-cap { background: #F8FAFC; }
.s5-frame { display: grid; gap: 8px; align-content: start; }
.s5-frame figcaption { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: #334155; }
.s5-frame figcaption b { color: #0F172A; font-size: 14px; }
.s5-vp { overflow: hidden; border: 1px solid #CBD5E1; border-radius: 8px; background: #fff; }
.s5-zoom { transform-origin: top right; }
[dir="ltr"] .s5-zoom, .s5-zoom[data-ltr="true"] { transform-origin: top left; }

.s5-gal { display: grid; gap: 0; min-block-size: 100%; background: #F8FAFC; font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; color: #0F172A; }
.s5-gal-top { display: grid; gap: 16px; padding: 28px 32px 20px; background: #fff; border-block-end: 1px solid #E2E8F0; }
.s5-gal-top h1 { margin: 0; font: 600 24px/1.4 "IBM Plex Sans Arabic", sans-serif; }
.s5-gal-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; }
.s5-gal-bar label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; color: #334155; }
.s5-gal-bar select, .s5-gal-bar input[type="color"] { min-block-size: 44px; min-inline-size: 44px; border: 1px solid #94A3B8; border-radius: 6px; background: #fff; font: inherit; padding-inline: 10px; color: #0F172A; }
.s5-seg { display: inline-flex; border: 1px solid #94A3B8; border-radius: 6px; overflow: hidden; background: #fff; }
.s5-seg button { min-block-size: 44px; min-inline-size: 44px; padding-inline: 14px; border: 0; background: transparent; font: 500 14px/1 "IBM Plex Sans Arabic", sans-serif; color: #334155; cursor: pointer; }
.s5-seg button[aria-pressed="true"] { background: #0F172A; color: #fff; }
.s5-seg button + button { border-inline-start: 1px solid #CBD5E1; }
.s5-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 44px; padding-inline: 16px; border: 1px solid #0F172A; border-radius: 6px; background: #0F172A; color: #fff; font: 600 14px/1 "IBM Plex Sans Arabic", sans-serif; cursor: pointer; text-decoration: none; }
.s5-btn.is-out { background: #fff; color: #0F172A; }
.s5-btn:focus-visible, .s5-seg button:focus-visible, .s5-card:focus-visible, .s5-gal-bar select:focus-visible { outline: 2px solid #0F172A; outline-offset: 2px; }
.s5-gal-main { display: grid; gap: 24px; padding: 24px 32px 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
.s5-card { display: grid; gap: 10px; align-content: start; padding: 12px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; text-align: start; cursor: pointer; font: inherit; color: inherit; }
.s5-card[aria-pressed="true"] { border: 2px solid #0F172A; }
.s5-card .s5-thumb { block-size: 300px; overflow: hidden; border-radius: 6px; border: 1px solid #E2E8F0; background: #F3EFEA; position: relative; }
.s5-card h3, .s5-card .s5-card-t { margin: 0; font-size: 16px; font-weight: 600; }
.s5-vh { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s5-card p { margin: 0; font-size: 13px; color: #475569; }
.s5-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.s5-detail { display: grid; gap: 20px; padding: 24px 32px 40px; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.s5-detail aside { display: grid; gap: 16px; padding: 20px; background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; }
.s5-detail aside h2 { margin: 0; font-size: 18px; font-weight: 600; }
.s5-detail aside h3 { margin: 0; font-size: 14px; font-weight: 600; color: #334155; }
.s5-kv { display: grid; gap: 6px; margin: 0; font-size: 13px; }
.s5-kv div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; padding-block: 6px; border-block-end: 1px solid #F1F5F9; }
.s5-kv dt { color: #475569; } .s5-kv dd { margin: 0; color: #0F172A; }
.s5-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.s5-pages button { min-block-size: 44px; padding-inline: 12px; border: 1px solid #CBD5E1; border-radius: 6px; background: #fff; font: 500 13px/1 "IBM Plex Sans Arabic", sans-serif; cursor: pointer; color: #0F172A; display: inline-flex; gap: 6px; align-items: center; }
.s5-pages button[aria-pressed="true"] { border: 2px solid #0F172A; font-weight: 600; }
.s5-pages button i { inline-size: 8px; block-size: 8px; border-radius: 50%; display: inline-block; }
.s5-stage { display: grid; gap: 12px; justify-items: center; padding: 16px; background: #E2E8F0; border-radius: 10px; }
.s5-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px 32px 40px; }
.s5-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: #334155; align-items: center; }
.s5-empty { padding: 40px; text-align: center; color: #475569; }

.s5-ed { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 0; min-block-size: 100%; background: #F8FAFC; font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; color: #0F172A; }
.s5-ed-panel { display: grid; gap: 20px; align-content: start; padding: 24px; background: #fff; border-inline-end: 1px solid #E2E8F0; }
.s5-ed-panel h1 { margin: 0; font-size: 20px; font-weight: 600; }
.s5-ed-panel h2 { margin: 0; font-size: 14px; font-weight: 600; color: #334155; }
.s5-ed-panel label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; color: #334155; }
.s5-ed-panel select, .s5-ed-panel input[type="text"], .s5-ed-panel input[type="color"] { min-block-size: 44px; border: 1px solid #94A3B8; border-radius: 6px; font: inherit; padding-inline: 10px; background: #fff; color: #0F172A; inline-size: 100%; box-sizing: border-box; }
.s5-ed-sec { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px 44px; gap: 6px; align-items: center; padding: 6px; border: 1px solid #E2E8F0; border-radius: 6px; }
.s5-ed-sec[aria-current="true"] { border: 2px solid #0F172A; }
.s5-ed-sec > button:first-child { min-block-size: 44px; text-align: start; border: 0; background: transparent; font: 500 13px/1.3 "IBM Plex Sans Arabic", sans-serif; color: #0F172A; cursor: pointer; padding-inline: 6px; }
.s5-ed-sec > button:not(:first-child) { inline-size: 44px; block-size: 44px; border: 1px solid #CBD5E1; border-radius: 6px; background: #fff; cursor: pointer; font: 600 14px/1 "IBM Plex Sans Arabic", sans-serif; color: #0F172A; }
.s5-ed-sec[data-hidden="true"] > button:first-child { color: #64748B; text-decoration: line-through; }
.s5-ed-stage { display: grid; gap: 12px; padding: 24px; align-content: start; justify-items: center; }
.s5-ed-log { font: 500 12px/1.6 ui-monospace, monospace; direction: ltr; text-align: left; background: #0F172A; color: #E2E8F0; padding: 12px; border-radius: 6px; white-space: pre-wrap; max-block-size: 220px; overflow: auto; }
@media (prefers-reduced-motion: reduce) { .s5-card, .s5-btn { transition: none; } }
@media (max-width: 1100px) { .s5-gal-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s5-detail { grid-template-columns: minmax(0, 1fr); } .s5-ed { grid-template-columns: minmax(0, 1fr); } .s5-ed-panel { border-inline-end: 0; border-block-end: 1px solid #E2E8F0; } }
@media (max-width: 700px) { .s5-gal-main, .s5-cmp { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; } .s5-gal-top, .s5-detail { padding-inline: 16px; } }
/* ---------- V5 layer corrections of inherited V3 target-size gaps (P1 F4 R7: every target ≥ 44px). PROPOSAL — V3 files untouched ---------- */
.s1 .s1-lang { min-block-size: 44px; min-inline-size: 44px; }
.s1 nav li > a, .s1 footer li > a { min-inline-size: 44px; }
.s1 :not(p) > a.s1-link { min-block-size: 44px; display: inline-flex; align-items: center; }
.s1 .s1-btn { min-inline-size: 44px; }
.s1 .s1-bn-in > a, .s1 .s1-ftr-statement > a { min-block-size: 44px; display: inline-flex; align-items: center; }
.s5-full { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding-inline: 14px; border: 1px dashed #94A3B8; color: #475569; font-size: 15px; font-weight: 500; justify-self: start; }
.s5-full .s1-i { inline-size: 16px; block-size: 16px; }
/* V5 layer corrections of inherited contrast gaps found by the rendered audit (PROPOSAL — V3/V4 files untouched; frozen colour values unchanged) */
.s1 .s1-ftr-contact .s1-btn span { color: inherit; }
.c4 .c4-avail[data-tone="warn"] { background: #FFFFFF; padding-inline: 6px; }
