/* Live pages use the demo's unmodified style.css; these rules adapt existing forms. */
.live-portal .identity-label{font-size:.8125rem;color:#d3e0e9;margin:0 0 7px}.live-portal .identity{width:auto;min-width:235px}.live-portal .identity>strong{display:block;font-size:.9375rem;letter-spacing:0}.live-portal .identity button{margin-top:8px}.live-portal #portal-session-message{font-size:.8125rem}
.live-portal nav a{display:block;text-align:left;background:transparent;color:#e1eaf0;text-decoration:none;padding:11px 12px;min-height:44px;border-radius:6px;line-height:1.4;font-weight:600}.live-portal nav a:hover{background:#284d6c}.live-portal nav a[aria-current=page]{background:#e2f1f0;color:#125965}.live-portal .intro>div{min-width:0}.live-portal .intro p{max-width:75ch}.live-portal .portal-content{min-width:0}.live-portal .portal-content>p{max-width:75ch}.live-portal .portal-content>.panel:empty{display:none}.live-portal .table-scroll,.live-portal .table-wrap{overflow-x:auto;max-width:100%}.live-portal table{width:100%}.live-portal td,.live-portal th{overflow-wrap:anywhere}.live-portal .form-grid,.live-portal .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.live-portal .filters{flex-wrap:wrap}.live-portal .paging{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px}.live-portal .help,.live-portal .subtle{font-size:.875rem;color:var(--muted);line-height:1.65}.live-portal #message,.live-portal #status{line-height:1.65;overflow-wrap:anywhere}.live-portal [data-error=true]{color:#8c2230}.live-portal .request,.live-portal .device{border-top:1px solid var(--line);padding:22px 0}.live-portal .request:first-child,.live-portal .device:first-child{border-top:0}.live-portal .request h3,.live-portal .device h3{margin-bottom:8px}.live-portal .device dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 18px}.live-portal .device dd{margin:0;overflow-wrap:anywhere}.live-portal .device dt{color:var(--muted)}.live-portal .device-state{font-weight:600}.live-portal details form{margin-top:16px;max-width:650px}.live-portal .section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.live-portal .secret{background:#edf4f7;padding:18px;border-radius:8px;margin:18px 0}.live-portal .secret input{font-family:ui-monospace,Consolas,monospace}.live-portal .remove-button{color:var(--danger);border-color:#dbaaa3;background:#f9eae7}.live-portal .guide li{margin:14px 0;line-height:1.75}.live-portal .request .actions,.live-portal .device .actions{display:flex;flex-wrap:wrap;gap:10px}.live-portal .download-link,.live-portal .action-link{display:inline-block;padding:11px 16px;border:1px solid #8faeb8;border-radius:6px;background:#edf2f5;color:#284a60;font-weight:600;text-decoration:none;min-height:44px;line-height:1.4;margin:6px 8px 6px 0}.live-portal .action-link.primary{background:var(--accent);color:white;border-color:var(--accent)}.live-portal .activity-row{padding:14px 0;border-bottom:1px solid var(--line)}.live-portal .activity-row:last-child{border-bottom:0}.live-portal .activity-row p{margin:5px 0}.live-portal .workspace-error{padding:16px;border:1px solid #dbaaa3;border-radius:8px;color:#8c2230;background:#fff2ef}.live-portal .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.live-portal .selection-empty{padding:20px;background:#edf2f5;border-radius:8px}.live-portal #search-form{margin-bottom:24px}.live-portal .readiness p{margin:8px 0}.live-portal .page-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.live-portal .page-toolbar p{margin:0}.live-portal .connection-table{min-width:620px}.live-portal .message-grid{display:grid;gap:14px}.live-portal .message-grid article{border-bottom:1px solid var(--line);padding-bottom:16px}.live-portal .message-grid h3{margin:0 0 8px}.live-portal #workspace-status{min-height:24px}.live-portal .panel>h2{margin-bottom:16px}.live-portal #welcome-steps li{margin:16px 0;line-height:1.75}
@media(max-width:700px){.live-portal .identity{min-width:0}.live-portal nav a{width:100%;background:#21415d}.live-portal .form-grid,.live-portal .form-row{grid-template-columns:1fr}.live-portal .device dl{grid-template-columns:1fr;gap:4px}.live-portal .device dd{margin-bottom:10px}.live-portal .page-toolbar{align-items:flex-start}.live-portal .action-link{width:100%;text-align:center}}
@media(max-width:550px){.live-portal header{flex-wrap:wrap}.live-portal .identity{flex-basis:100%;margin:6px 0 0;display:grid;grid-template-columns:1fr auto;gap:5px 12px}.live-portal .identity-label{grid-column:1}.live-portal .identity>strong,.live-portal .identity>span{grid-column:1}.live-portal .identity button{grid-column:2;grid-row:1 / span 3;align-self:center;margin:0}.live-portal .identity #portal-session-message{grid-column:1 / -1}.live-portal .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.live-portal input[type=checkbox]{display:inline-block;width:20px;min-height:20px;height:20px;accent-color:var(--accent)}.live-portal .check{display:flex;align-items:flex-start;gap:12px;line-height:1.6;font-weight:400}.live-portal .portal-signin{max-width:780px;margin:0 auto;padding-top:40px}.live-portal .thread p{white-space:pre-wrap}.live-portal #announcements p{white-space:pre-wrap}.live-portal .intro:has(#workspace-status:empty){margin-bottom:24px}

.live-portal fieldset{border:0;padding:0;margin:0;min-width:0}.live-portal legend{padding:0;margin:0 0 16px;font-size:1rem;font-weight:600}.live-portal .portal-content .review-note{line-height:1.7}.live-portal .portal-content form>button,.live-portal .portal-content form>.actions{margin-top:16px}

/* Focused live-workspace refinements; the demo stylesheet remains unchanged. */
.live-portal .portal-account{position:relative;margin-left:auto;flex-shrink:0}
.live-portal .portal-account>summary{min-height:44px;padding:11px 14px;border:1px solid #8faeb8;border-radius:6px;color:#e1eaf0;cursor:pointer}
.live-portal .portal-account .identity{position:absolute;right:0;top:52px;z-index:10;display:block;width:270px;max-width:calc(100vw - 32px);min-width:0;padding:18px;margin:0;background:#193852;border:1px solid #8faeb8;border-radius:8px}
.live-portal .portal-account .identity>span{display:block}.live-portal .portal-account .identity button{margin-top:12px}
.live-portal #navigation{gap:16px}.live-portal .nav-group{gap:0}.live-portal .nav-admin{margin-top:0}.live-portal .nav-admin>summary{min-height:44px;padding:11px 12px;color:#e1eaf0;cursor:pointer;font-weight:600}
.live-portal .nav-admin[open]>summary{margin-bottom:6px}
.live-portal .portal-signin{max-width:600px}.live-portal .signin-help-link{display:inline-block;min-height:44px;padding:12px 0}
.live-portal .help-options>div+div{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.live-portal .help-options h2{margin:0 0 8px}.live-portal .help-options h2 a{display:inline-block;min-height:44px;padding:8px 0}.live-portal .help-options p{margin:0;max-width:70ch}
.live-portal .setup-help>details>summary{min-height:48px;padding:12px 0;cursor:pointer}.live-portal .setup-help>details[open]>summary{margin-bottom:14px}
@media(max-width:700px){.live-portal header{padding:12px 16px;gap:12px;flex-wrap:nowrap}.live-portal header .mark{width:36px;height:36px;flex-shrink:0;font-size:18px;padding:0;display:grid;place-items:center}.live-portal header>div:nth-child(3){margin-left:0}.live-portal header strong{font-size:.8125rem}.live-portal header>div>span{font-size:.8125rem}.live-portal .portal-account>summary{padding:11px 10px}.live-portal .portal-account .identity{display:block}.live-portal .portal-signin{padding-top:24px}.live-portal .nav-admin>summary{background:#21415d;border-radius:6px}}

/* Input edges remain visible before focus, including for low-vision readers. */
.live-portal input:not([type=checkbox]):not([type=radio]),.live-portal textarea,.live-portal select{border-color:#657b8d}
.live-portal .review-note{margin:18px 0}.live-portal .review-note>summary{padding:12px 0;min-height:44px;cursor:pointer}.live-portal #unsent-note{position:sticky;top:8px;z-index:2;background:#fff6db;color:#443300;border:1px solid #9f7b24;padding:14px 18px;border-radius:8px}
.live-portal nav a[aria-current=location]{background:#e2f1f0;color:#125965}

/* Task queues and feedback remain readable on narrow screens. */
.live-portal #request-tools{margin:18px 0}.live-portal #request-count,.live-portal #support-count{min-height:1.6em}.live-portal #request-list{scroll-margin-top:20px}.live-portal #change-warning{background:#fff6db;color:#443300;border:1px solid #9f7b24;border-radius:8px;padding:14px 18px}.live-portal #requests>details{border-top:1px solid var(--line);padding:20px 0}.live-portal #requests>details>summary{min-height:44px;padding:10px 0;cursor:pointer;overflow-wrap:anywhere}.live-portal #support-view{max-width:36rem}.live-portal [role=status]{overflow-wrap:anywhere}.live-portal .check{min-height:44px;padding:10px 0}

.live-portal #add-choice>summary,.live-portal #create-choice>summary,.live-portal #own-request-options>summary,.live-portal .request>details>summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:600}.live-portal #add-choice[open]>summary,.live-portal #create-choice[open]>summary,.live-portal #own-request-options[open]>summary{margin-bottom:16px}.live-portal .secret[hidden]{display:none}.live-portal .request>details{margin-top:14px}

.live-portal #incoming-review>summary,.live-portal #support-filters>summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:600}.live-portal #support-filters[open]>summary{margin-bottom:14px}
.live-portal .portal-signin .registration-options{margin-top:24px}
