/* GENERATED by the opener mock's build-theme.py (trailer/docs/concept-2026-10-21/mock): do not edit here. (opener/scene-aorphone.css, @imports inlined) */
/* One staff phone, four Templatizer 3 mobile tools in one session: the Hub, Cap Intake, Portal (quick-sell) and the Yard.
   Values verbatim from hub (includes/magiclink/page-hub.php inline style), assets/capintake/capintake.css, assets/portal/portal.css
   and assets/yard/yard.css (rem converted to px at 16), drawn at 1 CSS px = 1 dp inside the shared 360x800 phone (.op-phone-dp).
   Everything is scoped under .op-ap so nothing leaks; Portal's generic class names (.pill .thumb ...) are prefixed por-.
   The frame, status bar, camera dot and home bar are the shared .op-phone chrome from opener.css. */
.op-ap { --p-bg: #0b1220; --p-surface: #1e293b; --p-surface-2: #0a1628; --p-border: #334155; --p-text: #e2e8f0; --p-text-dim: #94a3b8; --p-text-mute: #64748b; --p-primary: #3b82f6; --p-primary-dark: #2563eb; --p-success: #10b981; --p-success-dark: #059669; --p-danger: #ef4444; --p-warn: #f59e0b;
  --cap-bg: #0b1220; --cap-surface: #131c2e; --cap-surface-2: #1b2740; --cap-border: #263449; --cap-text: #e6edf6; --cap-muted: #94a3b8; --cap-primary: #e11d2a; --cap-primary-2: #b91622; --cap-ok: #10b981; --cap-err: #ef4444; --cap-warn: #f59e0b; --cap-radius: 12px;
  background: #0b1220; color: #e2e8f0; overflow: hidden; line-height: normal; text-align: left; -webkit-font-smoothing: antialiased; pointer-events: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.op-ap *, .op-ap *::before, .op-ap *::after { box-sizing: border-box; }
.op-ap h1, .op-ap h2, .op-ap p, .op-ap label { margin: 0; padding: 0; }
.op-ap button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; }
.op-ap input, .op-ap select { font-family: inherit; margin: 0; }
.op-ap a { text-decoration: none; color: inherit; }
.op-ap .op-phone-status { padding: 0 22px 0 24px; }
.op-ap .op-phone-navbar { margin-left: -54px; }
.op-ap [hidden] { display: none !important; }
.op-ap .mi { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 18px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; color: inherit; }

/* ---- the pages: the Hub is the base, each tool slides over it (a browser page change) ---- */
.op-ap .op-ap-pg { position: absolute; left: 0; right: 0; top: 0; bottom: 24px; padding-top: 28px; background: #0b1220; overflow: hidden; }   /* the system gesture bar sits below the web viewport */
.op-ap .op-ap-pg:not(.op-ap-hub) { z-index: 2; opacity: 0; visibility: hidden; transition: opacity .2s ease-out, visibility 0s .2s; }   /* a page change fades (no transform: the fingertip measures final positions at any frame rate) */
.op-ap .op-ap-pg.on:not(.op-ap-hub) { opacity: 1; visibility: visible; transition: opacity .2s ease-out, visibility 0s; }
.op-ap .op-ap-pg.op-ap-nt { transition: none !important; }
.op-ap .op-ap-hub { z-index: 1; padding-top: 0; }
.op-ap .op-ap-sc { height: 100%; overflow: hidden; position: relative; }
.op-ap .op-ap-v { display: none; }
.op-ap .op-ap-v.on { display: block; }

/* ---- the Hub (page-hub.php) ---- */
.op-ap .hub-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.op-ap .hub-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.op-ap .hub-brand { font-size: 15px; font-weight: 800; letter-spacing: .02em; background: linear-gradient(90deg, #f87171, #60a5fa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.op-ap .hub-signout { font-size: 13px; color: #94a3b8; }
.op-ap .hub-hi { font-size: 26px; font-weight: 800; margin: 14px 0 4px; }
.op-ap .hub-hi .mi { font-size: 26px; vertical-align: -4px; }
.op-ap .hub-sub { color: #94a3b8; font-size: 14px; margin: 0 0 26px; }
.op-ap .hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.op-ap .hub-card { display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: 14px; background: linear-gradient(160deg, #1e293b, #172033); border: 1px solid rgba(255,255,255,.06); color: inherit; transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease; }
.op-ap .hub-card.op-active, .op-ap .hub-card.op-hover { transform: translateY(-2px); border-color: rgba(96,165,250,.5); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.op-ap .hub-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(96,165,250,.14); color: #93c5fd; }
.op-ap .hub-ico .mi { font-size: 26px; }
.op-ap .hub-tt { display: block; font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.op-ap .hub-dd { font-size: 12.5px; color: #94a3b8; margin: 0; }
.op-ap .hub-foot { margin-top: 34px; font-size: 12px; color: #64748b; }

/* ---- Cap Intake (assets/capintake/capintake.css) ---- */
.op-ap .cap-body { background: var(--cap-bg); color: var(--cap-text); }
.op-ap .cap-wrap { max-width: 640px; margin: 0 auto; padding: 0 16px 48px; }
.op-ap .cap-header { display: flex; align-items: center; gap: 12px; padding: 16px 4px; position: sticky; top: 0; z-index: 5; background: var(--cap-bg); border-bottom: 1px solid var(--cap-border); }
.op-ap .cap-header-title { font-size: 16.8px; font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-ap .cap-count { font-size: 13.6px; color: var(--cap-muted); white-space: nowrap; }
.op-ap .cap-count span { color: var(--cap-text); font-weight: 700; font-size: 16.8px; }
.op-ap .cap-link { color: var(--cap-muted); font-size: 13.6px; padding: 6px 8px; }
.op-ap .cap-back { font-weight: 600; }
.op-ap .cap-section-h { font-size: 12.8px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--cap-muted); margin: 24px 0 10px; font-weight: 700; }
.op-ap .cap-muted { color: var(--cap-muted); }
.op-ap .cap-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cap-border); background: var(--cap-surface-2); color: var(--cap-text); border-radius: var(--cap-radius); padding: 12px 18px; font-size: 16px; font-weight: 600; transition: filter .15s, background .15s; }
.op-ap .cap-btn.op-active { filter: brightness(1.25); }
.op-ap .cap-btn:disabled { opacity: .55; }
.op-ap .cap-btn-primary { background: var(--cap-primary); border-color: var(--cap-primary-2); color: #fff; }
.op-ap .cap-btn-lg { width: 100%; padding: 16px; font-size: 17.6px; margin-top: 8px; }
.op-ap .cap-picker { padding-top: 12px; }
.op-ap .cap-batch-list { display: flex; flex-direction: column; gap: 10px; }
.op-ap .cap-batch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: var(--cap-surface); border: 1px solid var(--cap-border); border-radius: var(--cap-radius); padding: 16px; color: var(--cap-text); }
.op-ap .cap-batch-row.op-active { background: var(--cap-surface-2); }
.op-ap .cap-batch-name { font-weight: 600; }
.op-ap .cap-batch-meta { font-size: 13.1px; color: var(--cap-muted); white-space: nowrap; }
.op-ap .cap-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.op-ap .cap-pill-active { background: rgba(16,185,129,.15); color: var(--cap-ok); }
.op-ap .cap-pill-paused { background: rgba(245,158,11,.15); color: var(--cap-warn); }
.op-ap .cap-capture { padding-top: 16px; }
.op-ap .cap-field-label { display: block; font-size: 13.1px; color: var(--cap-muted); margin: 14px 0 6px; }
.op-ap .cap-input { width: 100%; background: var(--cap-surface); border: 1px solid var(--cap-border); color: var(--cap-text); border-radius: var(--cap-radius); padding: 14px; font-size: 16px; }
.op-ap .cap-input::placeholder { color: #64748b; }
.op-ap .cap-input.op-focus { outline: none; border-color: var(--cap-primary); }
.op-ap .cap-input-lg { font-size: 22.4px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.op-ap .cap-input-lg::placeholder { text-transform: none; font-weight: 400; letter-spacing: 0; font-size: 16px; }
.op-ap .cap-toggles { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.op-ap .cap-toggle-group { display: inline-flex; border: 1px solid var(--cap-border); border-radius: var(--cap-radius); overflow: hidden; flex: 1; min-width: 160px; }
.op-ap .cap-toggle { flex: 1; background: var(--cap-surface); border: none; color: var(--cap-muted); padding: 12px 10px; font-size: 14.4px; font-weight: 600; }
.op-ap .cap-toggle.on { background: var(--cap-surface-2); color: var(--cap-text); box-shadow: inset 0 -2px 0 var(--cap-primary); }
.op-ap .cap-qty-row { margin: 2px 0 12px; }
.op-ap .cap-qty-stepper { display: flex; align-items: stretch; gap: 8px; }
.op-ap .cap-qty-btn { flex: 0 0 56px; min-height: 48px; background: var(--cap-surface-2); color: var(--cap-text); border: 1px solid var(--cap-border); border-radius: var(--cap-radius); font-size: 24px; line-height: 1; font-weight: 700; }
.op-ap .cap-qty-btn.op-active { background: var(--cap-border); }
.op-ap .cap-qty-input { flex: 1 1 auto; min-height: 48px; text-align: center; font-size: 21.6px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 0; }
.op-ap .cap-qty-hint { margin: 8px 0 0; font-size: 12px; }
.op-ap .cap-status { min-height: 22px; margin-top: 12px; font-size: 14.4px; }
.op-ap .cap-status-working { color: var(--cap-muted); }
.op-ap .cap-status-ok { color: var(--cap-ok); font-weight: 600; }
.op-ap .cap-photo-step { margin-top: 16px; padding: 14px; background: var(--cap-surface); border: 1px dashed var(--cap-border); border-radius: var(--cap-radius); }
.op-ap .cap-photo-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.op-ap .cap-photo-step-head > span:first-child { font-size: 14.4px; font-weight: 600; }
.op-ap .cap-photo-row { display: flex; flex-direction: column; gap: 10px; }
.op-ap .cap-photo-btn { width: 100%; gap: 6px; }
.op-ap .cap-info { margin: 0 0 12px; }
.op-ap .cap-info-head { display: flex; align-items: flex-start; gap: 12px; }
.op-ap .cap-info-img { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--cap-border); background: var(--cap-bg); }
.op-ap .cap-info-id { min-width: 0; flex: 1; }
.op-ap .cap-info-sku { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-family: ui-monospace, "SF Mono", Menlo, "DejaVu Sans Mono", monospace; font-size: 16.8px; font-weight: 700; letter-spacing: .3px; }
.op-ap .cap-info-part { color: var(--cap-muted); font-size: 13.6px; margin-top: 3px; word-break: break-all; }
.op-ap .cap-info-chip { padding: 2px 8px; border-radius: 999px; font-size: 11.2px; font-weight: 700; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: .3px; background: var(--cap-surface-2); border: 1px solid var(--cap-border); color: var(--cap-muted); }
.op-ap .cap-info-chip-qty { background: rgba(225,29,42,.15); border-color: rgba(225,29,42,.45); color: #fca5a5; }
.op-ap .cap-info-rows { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.op-ap .cap-info-row { display: flex; gap: 10px; font-size: 13.6px; line-height: 1.35; }
.op-ap .cap-info-row span { flex: 0 0 74px; color: var(--cap-muted); }
.op-ap .cap-info-row b { flex: 1; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.op-ap .cap-info-foot { margin: 10px 0 0; font-size: 11px; color: var(--cap-muted); line-height: 1.4; }
.op-ap .cap-tail { display: flex; flex-direction: column; gap: 8px; }
.op-ap .cap-tail-row { display: flex; align-items: center; gap: 10px; background: var(--cap-surface); border: 1px solid var(--cap-border); border-radius: 10px; padding: 10px 12px; }
.op-ap .cap-tail-row.op-new { animation: op-ap-in .6s ease-out; }
.op-ap .cap-tail-sku { font-family: ui-monospace, "SF Mono", Menlo, "DejaVu Sans Mono", monospace; font-weight: 700; font-size: 16px; }
.op-ap .cap-tail-part { color: var(--cap-muted); font-size: 13.6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-ap .cap-tail-badge { font-size: 11.2px; font-weight: 700; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.op-ap .cap-tail-badge-wait { background: rgba(148,163,184,.15); color: var(--cap-muted); }
.op-ap .cap-tail-badge-ok { background: rgba(16,185,129,.15); color: var(--cap-ok); }
.op-ap .cap-tail-badge .mi { font-size: 12px; vertical-align: -2px; }
.op-ap .cap-tail-del { color: var(--cap-muted); font-size: 16px; padding: 4px 8px; }
.op-ap .cap-tail-qty { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: var(--cap-surface-2); border: 1px solid var(--cap-border); font-size: 12.8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.op-ap .cap-body .mi { font-size: inherit; color: inherit; vertical-align: -3px; }
@keyframes op-ap-in { 0% { background: var(--cap-surface-2); border-color: var(--cap-primary); } 100% { background: var(--cap-surface); border-color: var(--cap-border); } }

/* ---- Portal (assets/portal/portal.css) ---- */
.op-ap .op-ap-por { font-size: 16px; color: var(--p-text); }
.op-ap .por-app { padding: 16px; max-width: 640px; margin: 0 auto; }
.op-ap .portal-header { display: flex; align-items: center; gap: 8px; padding: 8px 0 14px; border-bottom: 1px solid var(--p-surface); }
.op-ap .portal-header .who { width: 34px; height: 34px; border-radius: 50%; background: var(--p-surface); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--p-text-dim); }
.op-ap .portal-header .name { font-size: 13px; color: var(--p-text-dim); }
.op-ap .portal-header .label { margin-left: auto; font-size: 11px; color: var(--p-text-mute); }
.op-ap .portal-search-input { width: 100%; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 8px; padding: 14px 16px; color: var(--p-text); font-size: 16px; margin-top: 16px; }
.op-ap .portal-search-input::placeholder { color: #64748b; }
.op-ap .portal-search-input.op-focus { outline: none; border-color: var(--p-primary); }
.op-ap .portal-search-count { font-size: 12px; color: var(--p-text-mute); margin-top: 8px; }
.op-ap .portal-search-empty { text-align: center; color: var(--p-text-mute); padding: 60px 0; font-size: 13px; }
.op-ap .portal-results { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.op-ap .portal-card { background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 10px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.op-ap .portal-card.op-active { background: #26344a; }
.op-ap .portal-card.is-oos { opacity: .6; }
.op-ap .portal-card .por-thumb { width: 64px; height: 64px; border-radius: 6px; background: var(--p-surface-2); flex-shrink: 0; object-fit: cover; display: block; }
.op-ap .portal-card .por-body { flex: 1; min-width: 0; }
.op-ap .portal-card .por-title { font-size: 13px; font-weight: 700; color: var(--p-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-ap .portal-card .por-pills { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.op-ap .portal-card .por-meta { font-size: 11px; color: var(--p-text-dim); margin-top: 6px; }
.op-ap .por-pill { padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.op-ap .por-hollander { background: var(--p-primary); color: #fff; }
.op-ap .por-loc { background: var(--p-success); color: #0a2418; }
.op-ap .por-oos { background: var(--p-text-mute); color: #fff; }
.op-ap .portal-sheet-backdrop { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0,0,0,.6); z-index: 100; opacity: 0; pointer-events: none; transition: opacity .2s; }
.op-ap .portal-sheet-backdrop.open { opacity: 1; }
.op-ap .portal-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 101; background: var(--p-bg); border: 1px solid var(--p-surface); border-radius: 16px 16px 0 0; padding: 20px; margin: 0 auto; clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .12s ease-out, visibility 0s .12s; }
.op-ap .portal-sheet.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .25s ease-out, visibility 0s; }
.op-ap .drag-handle { width: 32px; height: 4px; background: var(--p-border); border-radius: 2px; margin: 0 auto 16px; }
.op-ap .portal-sheet .head { display: flex; gap: 14px; align-items: flex-start; }
.op-ap .portal-sheet .head .thumb-lg { width: 96px; height: 96px; border-radius: 8px; background: var(--p-surface); object-fit: cover; flex-shrink: 0; display: block; }
.op-ap .portal-sheet .head .info { flex: 1; min-width: 0; }
.op-ap .portal-sheet .head .info .title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.op-ap .portal-sheet .head .info .row { font-size: 12px; color: var(--p-text-dim); margin-top: 4px; }
.op-ap .portal-sheet .head .info .row .lbl { color: var(--p-text-mute); margin-right: 4px; }
.op-ap .portal-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.op-ap .portal-action-btn { border: none; border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 700; text-align: left; display: flex; align-items: center; gap: 10px; color: var(--p-text); }
.op-ap .portal-action-btn.primary { background: linear-gradient(180deg, var(--p-primary) 0%, var(--p-primary-dark) 100%); color: #fff; }
.op-ap .portal-action-btn.secondary { background: var(--p-surface); border: 1px solid #475569; }
.op-ap .portal-action-btn.ghost { background: transparent; border: 1px solid var(--p-border); color: var(--p-text-dim); font-weight: 600; font-size: 14px; padding: 12px 16px; }
.op-ap .portal-action-btn.op-active { filter: brightness(1.2); }
.op-ap .portal-action-btn .icon { font-size: 20px; }
.op-ap .portal-action-btn .sub { font-size: 11px; font-weight: 400; opacity: .85; margin-top: 2px; display: block; }
.op-ap .portal-toast { position: absolute; top: 40px; left: 50%; transform: translateX(-50%) translateY(-12px); background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 10px; padding: 10px 16px; color: var(--p-text); font-size: 14px; z-index: 200; box-shadow: 0 6px 24px rgba(0,0,0,.5); max-width: 90%; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; }
.op-ap .portal-toast.success { border-left: 4px solid var(--p-success); }
.op-ap .portal-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.op-ap .portal-modal-backdrop { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0,0,0,.7); z-index: 110; display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .18s; }
.op-ap .portal-modal-backdrop.open { opacity: 1; visibility: visible; transition: opacity .18s, visibility 0s; }
.op-ap .portal-modal { background: var(--p-bg); border: 1px solid var(--p-surface); border-radius: 16px 16px 0 0; padding: 20px; max-width: 480px; width: 100%; overflow: hidden; }
.op-ap .portal-modal label { display: block; font-size: 11px; color: var(--p-text-dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-top: 14px; }
.op-ap .portal-modal input, .op-ap .portal-modal select { width: 100%; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: 8px; padding: 14px 16px; color: var(--p-text); font-size: 15px; margin-top: 6px; display: block; }
.op-ap .portal-modal select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394a3b8' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.op-ap .portal-modal select.op-active, .op-ap .portal-modal input.op-focus { border-color: var(--p-primary); }
.op-ap .portal-modal input::placeholder { color: #64748b; }
.op-ap .money-input { position: relative; }
.op-ap .money-input::before { content: '$'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--p-text-dim); margin-top: 3px; }
.op-ap .portal-modal .money-input input { padding-left: 26px; }
.op-ap .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.op-ap .portal-profit-row { margin-top: 14px; background: var(--p-surface-2); border: 1px solid var(--p-surface); border-radius: 8px; padding: 10px 12px; display: flex; justify-content: space-between; font-size: 13px; }
.op-ap .portal-profit-row .pos { color: var(--p-success); font-weight: 700; }
.op-ap .portal-save-btn { width: 100%; background: linear-gradient(180deg, var(--p-success) 0%, var(--p-success-dark) 100%); color: #fff; border: none; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 700; margin-top: 18px; }
.op-ap .portal-save-btn.op-active { filter: brightness(1.15); }
.op-ap .portal-save-btn .mi { font-size: 18px; vertical-align: -4px; }
.op-ap .portal-cancel-btn { width: 100%; background: transparent; border: 1px solid var(--p-border); color: var(--p-text-dim); padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-top: 8px; }

/* ---- Yard (assets/yard/yard.css) ---- */
.op-ap .op-ap-yd { font-size: 14px; color: #e2e8f0; }
.op-ap .yard-shell { max-width: 480px; margin: 0 auto; padding: 16px; }
.op-ap .yard-shell-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.op-ap .yard-shell-header h1 { font-size: 18px; font-weight: 700; flex: 1; margin: 0; }
.op-ap .yard-link { color: #94a3b8; font-size: 13px; }
.op-ap .yard-back { color: #94a3b8; font-size: 24px; }
.op-ap .yard-muted { color: #64748b; font-size: 12px; }
.op-ap .yard-section-h { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #94a3b8; margin: 16px 0 8px; font-weight: 700; }
.op-ap .yard-btn { padding: 12px 16px; border-radius: 10px; border: none; font-weight: 600; display: inline-block; font-size: 14px; }
.op-ap .yard-btn-primary { background: linear-gradient(180deg, #10b981 0%, #059669 100%); color: white; }
.op-ap .yard-btn.op-active, .op-ap .yard-btn-secondary.op-active, .op-ap .yard-btn-danger.op-active { filter: brightness(1.2); }
.op-ap .yard-btn-secondary { background: #1e293b; color: #cbd5e1; padding: 8px 14px; border-radius: 6px; border: none; font-size: 14px; }
.op-ap .yard-btn-secondary .mi { font-size: 16px; vertical-align: -3px; }
.op-ap .yard-batch-row { display: flex; align-items: center; padding: 12px; background: #1e293b; border-radius: 10px; margin-bottom: 8px; color: white; }
.op-ap .yard-batch-row.op-active { background: #26344a; }
.op-ap .yard-batch-row-main { flex: 1; }
.op-ap .yard-batch-row-name { font-weight: 600; margin-bottom: 4px; }
.op-ap .yard-batch-row-meta { font-size: 11px; color: #94a3b8; }
.op-ap .yard-batch-row-arrow { color: #475569; font-size: 18px; }
.op-ap .yard-pill { padding: 1px 6px; border-radius: 4px; font-size: 9px; font-weight: 600; text-transform: uppercase; margin-right: 6px; }
.op-ap .yard-pill-active { background: #064e3b; color: #6ee7b7; }
.op-ap .yard-pill-paused { background: #422006; color: #fcd34d; }
.op-ap .yard-batch-mode-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.op-ap .yard-batch-mode-intake { background: #f59e0b; color: #1a1000; }
.op-ap .yard-batch-mode-audit { background: #1e293b; color: white; border: 1px solid #334155; }
.op-ap .yard-batch-mode-badge .mi, .op-ap .yard-mode-banner .mi, .op-ap .yard-lock-status .mi { font-size: inherit; color: inherit; vertical-align: -3px; }
.op-ap .yard-cap-header { display: flex; align-items: center; gap: 12px; padding: 6px 4px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.op-ap .yard-cap-title { flex: 1; text-align: center; }
.op-ap .yard-cap-name { font-weight: 700; }
.op-ap .yard-cap-meta { color: #94a3b8; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.op-ap .yard-kebab { color: white; font-size: 18px; }
.op-ap .yard-tail { background: rgba(15,23,42,.6); border-radius: 8px; padding: 8px 10px; margin-top: 12px; }
.op-ap .yard-tail-label { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.op-ap .yard-tail-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-size: 11px; color: #cbd5e1; gap: 8px; }
.op-ap .yard-tail-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-ap .yard-tail-meta { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.op-ap .yard-tail-del { color: #475569; font-size: 16px; line-height: 1; padding: 2px 6px; }
.op-ap .yard-section-label { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: .6px; margin: 14px 0 6px 2px; display: flex; justify-content: space-between; }
.op-ap .yard-lock-status { color: #475569; }
.op-ap .yard-input-row { display: flex; gap: 8px; align-items: stretch; }
.op-ap .yard-input { flex: 1; width: 100%; background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 10px 12px; color: white; font-size: 16px; font-weight: 600; outline: none; }
.op-ap .yard-input::placeholder { color: #64748b; font-weight: 400; }
.op-ap .yard-input-locked { border-color: #f59e0b; background: rgba(245,158,11,.08); color: #fde68a; }
.op-ap .yard-lock-btn { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 10px 14px; color: white; font-size: 18px; }
.op-ap .yard-kbd-pills { display: flex; gap: 4px; margin-top: 6px; }
.op-ap .yard-kbd-pill { font-size: 10px; padding: 4px 12px; border-radius: 99px; background: #1e293b; color: #94a3b8; border: none; }
.op-ap .yard-kbd-pill.active { background: #3b82f6; color: white; }
.op-ap .yard-add-btn { display: block; width: 100%; background: linear-gradient(180deg, #10b981 0%, #059669 100%); color: white; font-weight: 700; padding: 14px; border-radius: 12px; border: none; margin-top: 12px; font-size: 15px; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 4px 8px rgba(16,185,129,.3); }
.op-ap .yard-list { margin-top: 12px; max-height: 372px; overflow: hidden; }
.op-ap .yard-list-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12px; gap: 8px; }
.op-ap .yard-list-del { color: #475569; font-size: 18px; padding: 0 6px; }
.op-ap .yard-tag { font-size: 8px; padding: 1px 5px; border-radius: 3px; margin-left: 4px; vertical-align: middle; font-weight: 700; }
.op-ap .yard-tag-h { background: #1e40af; color: white; }
.op-ap .yard-tag-p { background: #7c3aed; color: white; }
.op-ap .yard-cap-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 16px; }
.op-ap .yard-mode-banner { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-weight: 700; font-size: 14px; letter-spacing: .3px; box-shadow: 0 2px 4px rgba(0,0,0,.1); margin: -16px -16px 12px; }
.op-ap .yard-mode-banner-audit { background: #1e293b; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
.op-ap .yard-mode-banner-emoji { font-size: 18px; }
.op-ap .yard-mode-banner-divider { opacity: .5; margin: 0 4px; }
.op-ap .yard-mode-banner-name { font-weight: 800; }
/* reconcile */
.op-ap .yard-reconcile { max-width: 1100px; margin: 0 auto; padding: 16px; }
.op-ap .yard-rec-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.op-ap .yard-rec-header h1 { font-size: 18px; margin: 0; flex: 1; font-weight: 700; }
.op-ap .yard-rec-header > div { flex: 1; min-width: 0; }
.op-ap .yard-rec-search { position: relative; margin: 0 0 16px; }
.op-ap .yard-rec-search-input { width: 100%; padding-right: 40px; font-size: 14px; font-weight: 500; }
.op-ap .yard-rec-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 24px; }
.op-ap .yard-rec-stat { padding: 12px; border-radius: 10px; background: rgba(15,23,42,.5); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.op-ap .yard-rec-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.op-ap .yard-rec-stat-ok::before { background: #10b981; }
.op-ap .yard-rec-stat-warn::before { background: #f59e0b; }
.op-ap .yard-rec-stat-add::before { background: #3b82f6; }
.op-ap .yard-rec-stat-danger::before { background: #ef4444; }
.op-ap .yard-rec-stat-num { font-size: 28px; font-weight: 800; }
.op-ap .yard-rec-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: #94a3b8; margin-top: 4px; }
.op-ap .yard-bucket { margin-bottom: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; }
.op-ap .yard-bucket summary { padding: 12px 16px; background: rgba(15,23,42,.6); font-weight: 700; }
.op-ap .yard-bucket summary.op-active { background: rgba(30,41,59,.9); }
.op-ap .yard-bucket-count { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #1e293b; color: white; margin-left: 8px; }
.op-ap .yard-rec-banner { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fecaca; padding: 12px 16px; margin: 0; font-size: 12px; }
.op-ap .yard-bucket-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.op-ap .yard-bucket-table th { text-align: left; padding: 8px 16px; background: rgba(255,255,255,.03); color: #94a3b8; font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.op-ap .yard-bucket-table td { padding: 8px 16px; border-bottom: 1px solid rgba(255,255,255,.04); }
/* scene adaptation: the product's table (16 px cell padding, five columns) does not fit a 360 dp phone, so the cells are tightened and the title is ellipsised */
.op-ap .yard-bucket-table th, .op-ap .yard-bucket-table td { padding-left: 6px; padding-right: 6px; white-space: nowrap; }
.op-ap .yard-bucket-table td.yard-muted:not(:last-child) { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
.op-ap .yard-mono { font-family: "SF Mono", Monaco, "DejaVu Sans Mono", monospace; font-weight: 600; color: white; }
.op-ap .yard-rec-loc { font-family: "SF Mono", Monaco, "DejaVu Sans Mono", monospace; font-size: 11px; color: #fde68a; font-weight: 600; }
.op-ap .yard-rec-status { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; vertical-align: middle; }
.op-ap .yard-rec-status-draft { background: #422006; color: #fcd34d; }
.op-ap .yard-rec-status-private { background: #1e3a8a; color: #93c5fd; }
.op-ap .yard-rec-footer { display: flex; justify-content: flex-end; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 16px; }
.op-ap .yard-btn-danger { background: #ef4444; color: white; border: none; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.op-ap .yard-btn-danger.op-hover { box-shadow: 0 0 0 3px rgba(239,68,68,.35); }
/* the mode picker (modal) */
.op-ap .yard-modal-backdrop { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s .15s; }
.op-ap .yard-modal-backdrop.open { opacity: 1; visibility: visible; transition: opacity .15s, visibility 0s; }
.op-ap .yard-modal { background: #1e293b; border-radius: 12px; padding: 24px; max-width: 560px; width: 100%; }
.op-ap .yard-modal h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.op-ap .yard-mode-pick { max-width: 480px; }
.op-ap .yard-mode-tiles { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.op-ap .yard-mode-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; border: 2px solid #475569; border-radius: 8px; background: #1e293b; color: #f1f5f9; transition: transform .15s, border-color .15s; }
.op-ap .yard-mode-tile.op-hover, .op-ap .yard-mode-tile.op-active { transform: translateY(-2px); }
.op-ap .yard-mode-intake { background: #f59e0b; color: #1a1000; border-color: #d97706; }
.op-ap .yard-mode-emoji { font-size: 36px; margin-bottom: 8px; line-height: 1; }
.op-ap .yard-mode-emoji .mi { font-size: 36px; color: inherit; vertical-align: top; }
.op-ap .yard-mode-title { font-size: 16px; font-weight: 800; letter-spacing: .5px; margin-bottom: 6px; }
.op-ap .yard-mode-desc { font-size: 13px; opacity: .85; line-height: 1.4; }
.op-ap .yard-modal-cancel { color: #64748b; font-size: 13px; margin-top: 8px; width: 100%; padding: 6px; text-align: center; display: block; }

/* ---- the system back gesture ---- */
.op-ap .op-ap-edge { position: absolute; left: 0; top: 400px; width: 8px; height: 56px; z-index: 40; }
.op-ap .op-ap-edge-b { left: 120px; top: 400px; width: 8px; height: 56px; }
.op-ap .op-ap-bk { position: absolute; left: -44px; top: 394px; width: 40px; height: 40px; border-radius: 50%; background: #2b2930; display: flex; align-items: center; justify-content: center; z-index: 41; box-shadow: 0 2px 10px rgba(0,0,0,.5); opacity: 0; transition: left .2s ease-out, opacity .15s; }
.op-ap .op-ap-bk.op-on { left: 14px; opacity: 1; }

/* the caption sits under the phone, as the other phone scenes; three lines so the film does not jump between beats */
.op-scene[data-scene="aorphone"] .op-foot { max-width: 520px; margin: 14px auto 0 !important; text-align: center; min-height: 59px; }
@media (prefers-reduced-motion: reduce) {
  .op-ap .op-ap-pg, .op-ap .hub-card, .op-ap .portal-sheet, .op-ap .portal-sheet-backdrop, .op-ap .portal-modal-backdrop, .op-ap .portal-toast, .op-ap .yard-modal-backdrop, .op-ap .op-ap-bk, .op-ap .cap-btn { transition: none !important; }
  .op-ap .cap-tail-row.op-new { animation: none; }
}
html.motion-paused .op-ap .cap-tail-row.op-new { animation: none; }
