.layout-transfer .workspace-target{outline:2px solid var(--accent,#82b9f4);outline-offset:-2px}
.layout-transfer .pay-summary-item[role=button]:hover{background:var(--surface2);box-shadow:inset 0 0 0 1px var(--accent)}
.layout-transfer :is(button,a,input,select,textarea,summary,[role=button]):focus-visible{outline:2px solid var(--accent,#82b9f4);outline-offset:3px}
.layout-transfer button:disabled{cursor:not-allowed}
.layout-transfer button:not(:disabled),.layout-transfer summary,.layout-transfer [role=button]{cursor:pointer}
.layout-transfer :is(button,summary){touch-action:manipulation}
.home-password-control{display:flex;align-items:center;gap:8px;min-width:0}
.staff-access-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.staff-access-person{grid-column:1/-1;background:var(--surface);padding:22px;gap:18px}
.staff-access-person.staff-access-owner{grid-column:auto;padding:18px}
.staff-person-heading{display:flex;align-items:center;gap:12px}
.staff-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;background:var(--surface2);border:1px solid var(--border);font-weight:700}
.staff-module-grid,.staff-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.staff-action-grid{margin:0;padding:16px;border:1px solid var(--border);border-radius:14px;min-width:0}
.staff-action-grid legend{padding:0 8px;font-weight:600;font-size:13px}
.staff-module-row,.staff-action-row{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);min-width:0}
.staff-permission-copy{display:grid;gap:5px;min-width:0;line-height:1.45}
.staff-permission-copy strong{font-size:13px;color:var(--text)}
.staff-permission-copy small{font-size:12px;color:var(--text2)}
.staff-module-row select{width:130px;flex:none;min-height:44px;background:var(--surface)}
#staff-access-card .staff-access-row input[type=checkbox]{appearance:none;position:relative;flex:none;width:42px;height:24px;margin:0;border:1px solid var(--border);border-radius:999px;background:var(--surface);cursor:pointer;transition:background .15s}
#staff-access-card .staff-access-row input[type=checkbox]::before{content:'';position:absolute;width:18px;height:18px;left:2px;top:2px;border-radius:50%;background:var(--text2);transition:transform .15s}
#staff-access-card .staff-access-row input[type=checkbox]:checked{background:var(--green,#7cd3b2)}
#staff-access-card .staff-access-row input[type=checkbox]:checked::before{transform:translateX(18px);background:white}
#staff-access-card .staff-access-row input[type=checkbox]:disabled{cursor:not-allowed}
.staff-action-row.is-unavailable{opacity:.6}
.layout-transfer #panel-redeem .redeem-server-toolbar{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:start;justify-content:flex-start;height:auto;min-height:0;gap:18px;padding:22px}
.layout-transfer #panel-redeem .redeem-server-toolbar .redeem-server-overview{order:0;flex-basis:auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border:0;padding:0;min-width:0}
.layout-transfer #panel-redeem .redeem-server-filters{order:1;align-self:flex-start}
.layout-transfer #panel-redeem .redeem-provider-summary{order:2;display:grid;flex:none;align-content:start;align-items:stretch;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}
.layout-transfer #panel-redeem .redeem-provider-chip{display:grid;grid-template-columns:10px 1fr;gap:8px;padding:14px;border-radius:12px;min-height:85px;font-size:13px}
.layout-transfer #panel-redeem .redeem-provider-chip b{font-size:13px}
.layout-transfer #panel-redeem .redeem-provider-chip>span,.layout-transfer #panel-redeem .redeem-provider-chip>small{grid-column:2}
.layout-transfer #panel-redeem .redeem-provider-chip>span{color:var(--text);font-size:16px;font-weight:600}
.layout-transfer #panel-redeem .redeem-provider-chip>small{font-size:11px;line-height:1.4}
.layout-transfer #panel-redeem .redeem-provider-chip i{align-self:center}
@media(max-width:760px){.staff-module-grid,.staff-action-grid,.staff-access-grid{grid-template-columns:minmax(0,1fr)}.staff-access-person{padding:14px}.staff-access-person.staff-access-owner{grid-column:1/-1}.layout-transfer #panel-redeem .redeem-server-toolbar{padding:16px}.staff-module-row select{width:115px}}
.home-password-control input{flex:1;min-width:0}
.home-password-control button{flex:none;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);color:var(--text);font:inherit}
.stock-review-form{flex-basis:100%;display:flex;flex-wrap:wrap;gap:10px;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface2)}
.stock-review-form p,.stock-review-form label{width:100%;margin:0;line-height:1.5}
.stock-review-form label{display:grid;gap:8px}
.stock-review-form textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:76px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
.layout-transfer #panel-redeem .stock-review-form button{min-height:44px}
.home-instruction-dialog .home-form-footer{position:sticky;bottom:0;z-index:1;background:var(--surface);padding-bottom:12px}
.layout-transfer #panel-home #home-account-form .home-form-footer,.layout-transfer #panel-redeem .redeem-composer .redeem-actions{position:sticky;bottom:0;z-index:3;padding:14px 12px;background:var(--surface);border-top:1px solid var(--border);border-radius:12px}
@media(prefers-reduced-motion:reduce){
 .layout-transfer *, .layout-transfer *::before,.layout-transfer *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* Persistent accessible labels without changing compact composer layouts. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
