/* APRIL interactive demos: restrained rounded panels, segmented tabs and consistent controls. */
.apr-admin-demo-root { width:100%; max-width:100%; min-width:0; container-type:inline-size; text-align:left; color:var(--ui-ink,#f3f3f3); }
.apr-admin-demo-root[data-enhanced] > img { display:none !important; }
.apr-admin-demo-root .apr-demo-panel { padding:24px; border:1px solid var(--ui-line,#393939); border-radius:14px; background:#1b1b1b; box-shadow:0 6px 20px #00000012; }
.apr-admin-demo-root .apr-demo-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; padding:0; border:0; }
.apr-admin-demo-root .apr-demo-heading h3 { margin:0; padding:0; border:0; color:inherit; font-size:23px; font-weight:650; line-height:1.45; }
.apr-admin-demo-root .apr-demo-heading > span { color:#999; font-size:11px; white-space:nowrap; }
.apr-admin-demo-root button,.apr-admin-demo-root select { font:inherit; }
.apr-admin-demo-root button { cursor:pointer; }
.apr-admin-demo-root button:focus { outline:none; }
.apr-admin-demo-root button:focus-visible { outline:2px solid #ff9900; outline-offset:3px; }
.apr-admin-demo-root .apr-demo-tabs { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 22px; padding:4px; border:1px solid #333; border-radius:10px; background:#141414; }
.apr-admin-demo-root .apr-demo-tabs button { flex:1 1 0; min-width:0; min-height:44px; padding:10px 8px; margin:0; border:0; border-radius:7px; background:transparent; color:#bcbcbc; font-size:13px; font-weight:400; line-height:1.6; white-space:nowrap; box-shadow:none; }
.apr-admin-demo-root .apr-demo-tabs button[aria-selected="true"] { color:#161616; background:#ff9900; font-weight:600; }
.apr-admin-demo-root .apr-demo-tabs button:hover { color:#f3f3f3; background:#2c2c2c; }
.apr-admin-demo-root .apr-demo-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(155px,1fr); gap:24px; align-items:start; }
.apr-admin-demo-root .apr-demo-list { min-width:0; }
.apr-admin-demo-root .apr-demo-list-heading { display:flex; justify-content:space-between; gap:12px; margin:0; padding:0 0 10px; border-bottom:1px solid var(--ui-line,#393939); color:#aaa; font-size:12px; line-height:1.6; }
.apr-admin-demo-root .apr-demo-row { position:relative; display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:10px; width:100%; min-height:90px; padding:14px 10px; margin:0 0 8px; border:1px solid #353535; border-radius:10px; background:#202020; color:inherit; text-align:left; box-shadow:none; transition:background .15s; }
.apr-admin-demo-root .apr-demo-row:hover { background:#252525; }
.apr-admin-demo-root .apr-demo-row[aria-pressed="true"] { border-color:#ff990070; background:#ff99000d; box-shadow:none; }
.apr-admin-demo-root .apr-demo-icon { display:flex; align-items:center; justify-content:center; width:32px; height:36px; border:0; border-radius:8px; background:#2b2b2b; color:#bcbcbc; }
.apr-admin-demo-root .apr-demo-icon svg { display:block; width:24px; height:24px; }
.apr-admin-demo-root .apr-demo-row[aria-pressed="true"] .apr-demo-icon { color:#ff9900; background:#ff990018; }
.apr-admin-demo-root .apr-demo-row-copy { min-width:0; }
.apr-admin-demo-root .apr-demo-row-copy strong { display:block; color:inherit; font-size:15px; font-weight:600; line-height:1.6; overflow-wrap:anywhere; }
.apr-admin-demo-root .apr-demo-row-copy small { display:block; margin-top:3px; color:#aaa; font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
.apr-admin-demo-root .apr-demo-badge { max-width:78px; padding:0; border:0; border-radius:0; background:none; color:#bcbcbc; font-size:11px; line-height:1.7; text-align:right; }
.apr-admin-demo-root .apr-demo-row[aria-pressed="true"] .apr-demo-badge { background:none; color:#ff9900; }
.apr-admin-demo-root .apr-demo-aside { min-width:0; margin:0; padding:0 0 0 18px; border:0; border-left:1px solid var(--ui-line,#393939); border-radius:0; background:transparent; box-shadow:none; }
.apr-admin-demo-root .apr-demo-aside h4 { margin:0 0 14px; padding:0; border:0; color:inherit; font-size:16px; font-weight:600; line-height:1.6; }
.apr-admin-demo-root .apr-demo-current { margin:0 0 18px; color:#aaa; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.apr-admin-demo-root .apr-demo-field { margin:0 0 18px; }
.apr-admin-demo-root .apr-demo-field label,.apr-admin-demo-root .apr-demo-field-label { display:block; margin:0 0 7px; color:#bcbcbc; font-size:12px; line-height:1.7; }
.apr-admin-demo-root .apr-demo-field select { width:100%; min-height:44px; max-width:100%; padding:15px 18px; border:1px solid #505050; border-radius:8px; background:#252525; color:#f3f3f3; font-size:14px; line-height:1.5; box-shadow:none; }
.apr-admin-demo-root .apr-demo-field select:focus { outline:0; border-color:#ff9900; background:#292929; box-shadow:0 0 0 2px #ff990022; }
.apr-admin-demo-root .apr-demo-value { min-height:34px; color:inherit; font-size:15px; font-weight:500; line-height:1.7; overflow-wrap:anywhere; }
.apr-admin-demo-root .apr-demo-primary { display:inline-block; width:auto; min-height:44px; min-width:112px; padding:12px 25px; margin:8px 0 0; border:1px solid #ff9900; border-radius:8px; background:#ff9900; color:#161616; font-size:14px; font-weight:650; line-height:1.5; box-shadow:none; transform:none; }
.apr-admin-demo-root .apr-demo-primary:hover { border-color:#ffad32; background:#ffad32; }
.apr-admin-demo-root .apr-demo-progress { list-style:none; padding:0; margin:0 0 16px; }
.apr-admin-demo-root .apr-demo-progress li { display:flex; align-items:center; gap:9px; min-height:44px; color:#bcbcbc; font-size:14px; line-height:1.7; }
.apr-admin-demo-root .apr-demo-progress li > span { display:inline-flex; align-items:center; justify-content:center; flex:0 0 18px; width:18px; height:18px; border:1px solid #505050; border-radius:50%; background:none; color:#aaa; font-size:12px; }
.apr-admin-demo-root .apr-demo-progress .is-current { color:#ff9900; }
.apr-admin-demo-root .apr-demo-progress .is-current > span { border-color:#ff9900; background:none; color:#ff9900; }
.apr-admin-demo-root .apr-demo-detail { display:grid; gap:5px; padding:12px 0 0; margin:12px 0; border-top:1px solid var(--ui-line,#393939); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.apr-admin-demo-root .apr-demo-detail span,.apr-admin-demo-root .apr-demo-detail small { color:#aaa; }
.apr-admin-demo-root .apr-demo-status { min-height:36px; margin:18px 0 0; padding:0; color:#aaa; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.apr-admin-demo-root .apr-demo-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 10px; margin:0; border:0; color:#999; font-size:11px; line-height:1.7; }
.apr-admin-demo-root .apr-demo-footer span { flex:1 1 220px; }
.apr-admin-demo-root .apr-demo-footer button { min-height:44px; padding:4px 0; border:0; border-radius:0; background:none; color:#aaa; font-size:11px; }
.apr-admin-demo-root .apr-demo-footer button:hover { color:#ff9900; }
@container (max-width:480px) {
 .apr-admin-demo-root .apr-demo-panel { padding:20px 16px 14px; }
 .apr-admin-demo-root .apr-demo-grid { grid-template-columns:minmax(0,1fr); gap:22px; }
 .apr-admin-demo-root .apr-demo-heading h3 { font-size:22px; }
 .apr-admin-demo-root .apr-demo-heading > span { font-size:10px; }
 .apr-admin-demo-root .apr-demo-tabs { gap:4px; margin-bottom:18px; }
 .apr-admin-demo-root .apr-demo-aside { padding:18px 0 0; border-left:0; border-top:1px solid var(--ui-line,#393939); }
 .apr-admin-demo-root .apr-demo-row { min-height:86px; }
 .apr-admin-demo-root .apr-demo-row-copy strong { font-size:16px; }
 .apr-admin-demo-root .apr-demo-row-copy small { font-size:12px; }
 .apr-admin-demo-root .apr-demo-field label,.apr-admin-demo-root .apr-demo-field-label { font-size:13px; }
}

.apr-admin-demo-root .apr-demo-tabs button[aria-selected="true"]:hover { color:#161616; background:#ffad32; }

/* Keep the selection marker away from the card corners instead of bending an inset shadow. */
.apr-admin-demo-root .apr-demo-row[aria-pressed="true"]::before { content:""; position:absolute; left:0; top:14px; bottom:14px; width:3px; border-radius:999px; background:#ff9900; pointer-events:none; }
