/* Production additions to the selected independent workspace design. */
#workspace{--ui-ink:#252724;--ui-muted:#666960;--ui-blue:#b93219;--ui-line:#e7e2d8;--ui-bg:#f7f5f0}
#workspace .brand,#workspace h1,#workspace h2,#workspace h3{color:var(--ui-ink)}
#workspace .ui-brand-mark{border:2px solid #c4371a;border-radius:5px;color:#b93219;font-weight:700;box-shadow:inset 0 0 0 2px #fff}
#workspace .ui-brand-mark::after{display:none}
#workspace .primary,#workspace .ui-side-new{background:#b93219;box-shadow:0 3px 8px #83291312}
#workspace .primary:hover:not(:disabled),#workspace .ui-side-new:hover{background:#992a16}
#workspace .secondary,#workspace .nav button.active,#workspace .ui-filters button[aria-pressed=true]{background:#f7eee7;color:#99311e;border-color:#ead5c9}
#workspace .tier:has(input:checked){border-color:#bd7563;background:#fcf8f3;box-shadow:0 0 0 1px #bd7563}
#workspace button:focus-visible,#workspace a:focus-visible,#workspace summary:focus-visible{outline-color:#ae3821}
#workspace input:focus,#workspace textarea:focus,#workspace select:focus{border-color:#bd7563;outline-color:#b9321917}
#workspace .ui-step-number{color:#8c4c39;border-color:#e8dbcd;background:#fcf8f1}
#workspace .sms-tabs button[aria-pressed=true]{color:#99311e}
#workspace .entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0 32px}
#workspace .research-card{border:1px solid #dde3ec;background:#fff;text-align:left;border-radius:12px;padding:22px;min-width:0;transition:border-color .15s,box-shadow .15s}
#workspace .research-card:hover{border-color:#8d9fb8;box-shadow:0 5px 18px #1c38540a}
#workspace .research-card h3{font-size:16px;line-height:1.7;margin:12px 0 8px}
#workspace .research-card p{font-size:13px;line-height:1.8;color:#69788c;margin:0}
#workspace .research-card .eyebrow{font-size:10px;letter-spacing:1.5px;color:#8492a6}
#workspace .ui-form-sections{min-width:0}
#workspace #redesignPanel,#workspace #applicationPanel{margin:20px 0;padding:18px;background:#f6f8fc;border-radius:10px}
#workspace [hidden]{display:none!important}
#workspace textarea{line-height:1.8;resize:vertical}
#workspace .research-grid:not(.entry-grid){display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}
#workspace .billing-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.8;margin:20px 0}
#workspace .billing-consent input{width:18px;height:18px;flex:0 0 18px;margin-top:5px}
#workspace .tiers .tier p{line-height:1.8}
#workspace .ui-task-tools{flex-wrap:wrap}
#workspace .job h3,#workspace .file>span,#workspace .download div{overflow-wrap:anywhere}
#workspace .ui-detail-layout{align-items:start}
#workspace .content .stats .value{overflow-wrap:anywhere}
#workspace .entry-header{border-bottom:1px solid #e5e9ef}
#workspace.ui-has-shell>.entry-header{display:none}
#workspace .service-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#workspace .service-choice{background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:26px;text-align:left;min-width:0}
#workspace .service-choice:hover{border-color:#6488cc;background:#fafdff}
#workspace .service-choice h2{display:flex;justify-content:space-between;font-size:19px;margin:12px 0}
#workspace .service-choice p{font-size:14px;line-height:1.9;font-weight:400;color:#526680}
#workspace .service-choice small{display:block;color:#748599;border-top:1px solid #edf0f5;padding-top:15px;font-size:12px;font-weight:400}
@media(max-width:800px){#workspace .service-choices{grid-template-columns:1fr}}
#toast.visible,#toast.show{opacity:1;transform:translateY(0);visibility:visible;pointer-events:none}
@media(max-width:1200px){#workspace .entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#workspace .entry-grid{grid-template-columns:1fr;gap:10px}#workspace .research-card{padding:18px}#workspace .tiers{grid-template-columns:1fr}#workspace .ui-task-tools{align-items:stretch}#workspace .ui-search-wrap{width:100%}}
@media(prefers-reduced-motion:reduce){#workspace *{scroll-behavior:auto!important;transition:none!important}}
/* SMS authentication is scoped to login and account settings. */
.sms-tabs{display:flex;gap:16px;width:100%;max-width:430px;margin:0 auto 22px;border-bottom:1px solid #d9e2ec;padding-bottom:12px}
.sms-tabs button[aria-pressed=true]{color:#235bb2;font-weight:700}
.sms-form[hidden],#login[hidden]{display:none!important}
#passwordform[hidden],.ui-account-layout:has(#passwordform[hidden]){display:none!important}
.sms-code-row{display:flex;align-items:flex-end;gap:12px;margin:10px 0 18px}
.sms-code-row>div{flex:1;min-width:0}.sms-code-row input{width:100%;margin-bottom:0!important}
.sms-code-row button{flex-shrink:0;min-height:44px;margin-bottom:0!important;white-space:nowrap}
.sms-form .sms-consent{display:flex;align-items:flex-start;gap:9px;line-height:1.7;font-size:13px;margin:16px 0}
.sms-form .sms-consent input{width:16px;height:16px;flex:0 0 16px;margin:4px 0 0!important}
.sms-status{font-size:14px;min-height:22px;line-height:1.65}.sms-form .notice{margin-bottom:18px}
.login-form-wrap:has(.sms-tabs){display:flex;flex-direction:column;justify-content:center;align-items:center}
.login-form-wrap:has(.sms-tabs)>.login-form{width:100%}
@media(max-width:500px){.sms-tabs{gap:10px}.sms-tabs button{font-size:13px}.sms-code-row{gap:8px}}
/* Redemption controls share the current workspace palette and remain usable on phones. */
#workspace .voucher-panel{min-width:0;margin:22px 0}
#workspace .voucher-panel h3{margin:26px 0 14px}
#workspace .voucher-input-row{display:flex;gap:12px;align-items:stretch;margin:10px 0 14px}
#workspace .voucher-input-row input{flex:1;min-width:0;margin:0;font-family:ui-monospace,monospace}
#workspace .voucher-input-row button{white-space:nowrap;flex-shrink:0}
#workspace .voucher-message{min-height:24px;line-height:1.8;overflow-wrap:anywhere}
#workspace .voucher-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#workspace .voucher-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.8;margin:18px 0;font-weight:400}
#workspace .voucher-consent input{width:17px;height:17px;flex:0 0 17px;margin:5px 0 0}
#workspace .voucher-panel .actions{flex-wrap:wrap;gap:12px}
#workspace .voucher-panel textarea{width:100%;max-width:100%;font-family:ui-monospace,monospace;font-size:13px}
#workspace .voucher-panel .tablewrap{max-width:100%;overflow:auto}
@media(max-width:600px){#workspace .voucher-input-row{flex-direction:column}#workspace .voucher-fields{grid-template-columns:1fr;gap:0}#workspace .voucher-panel .panel-head{flex-wrap:wrap;gap:12px}}
