/*! Montserrat (the montserrat-*.woff2 files in /assets), shipped under its licence:
Copyright 2024 The Montserrat.Git Project Authors (https://github.com/JulietaUla/Montserrat.git)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
/* Modern Home Technologies applications portal: the candidate page (index.html) and the staff page (manager.html).
   Colours and type come from the Modern Home website (mht-website/public/styles.css :root and docs/DESIGN.md).
   Montserrat 400/500/600/700, self-hosted WOFF2, SIL Open Font License 1.1: licenses/Montserrat-OFL.txt.
   Contrast (WCAG AA): navy, harbor, royal and slate text pass 4.5:1 on white, soft and mist; white on royal is 7.2:1;
   rule-grey control borders and the ocean focus ring pass 3:1 on white. Cyan and surf are accents only, never text on white. */
@font-face{font-family:Montserrat;src:url(/assets/montserrat-regular.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url(/assets/montserrat-medium.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url(/assets/montserrat-semibold.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url(/assets/montserrat-bold.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--navy:#0D243C;--harbor:#013468;--royal:#0356A8;--ocean:#0277C7;--cyan:#03A0E0;--surf:#02C4F5;--slate:#535A63;--rule:#8A929D;--line:#D5E0EA;--mist:#EEF4F9;--soft:#F6F9FC;--on-navy:#D5E3F0;--royal-tint:#E3EEF9;--error:#A12D39;--radius:10px;font-family:Montserrat,Arial,sans-serif;color:var(--navy);background:#fff;font-synthesis:none;-webkit-text-size-adjust:100%}

/* Base */
*,*:before,*:after{box-sizing:border-box}
body{margin:0;min-width:320px}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button{cursor:pointer;font-size:15px;font-weight:600}
button:disabled{opacity:.55;cursor:not-allowed}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--ocean);outline-offset:3px}
a{color:var(--royal);text-underline-offset:3px}
a:hover{color:var(--harbor)}
button .icon,a .icon{vertical-align:middle}
.icon{width:20px;height:20px;flex-shrink:0}
h1,h2,h3,h4{color:var(--navy);font-weight:700;letter-spacing:-.02em}
h1{font-size:44px;line-height:1.12;margin:0 0 5px}
h2{font-size:28px;line-height:1.2;margin:0 0 14px}
h3{font-size:19px;line-height:1.35;letter-spacing:-.01em;margin:0 0 12px}
h4{font-size:17px;line-height:1.4;letter-spacing:-.01em;margin:0 0 10px}
p{line-height:1.6}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.preserve{white-space:pre-wrap;overflow-wrap:anywhere}

/* Header: the kit logo at 250 px (226 px on phones, above the kit's 225 px minimum). Items wrap under the logo when they do not fit. */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{width:min(1420px,calc(100% - 120px));min-height:84px;margin:auto;padding:12px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 24px}
.public-header .header-inner{width:min(1352px,calc(100% - 96px))}
.wordmark{display:flex;align-items:center;min-height:48px;text-decoration:none}
.logo{display:block;width:250px;height:auto}
.header-label{color:var(--royal);font-size:14px;font-weight:500;letter-spacing:.15em;line-height:1.4;text-transform:uppercase}
.account-controls{display:flex;align-items:center;gap:26px;margin-left:auto;font-size:15px}
.account-controls>a{padding-left:24px;border-left:1px solid var(--line);text-decoration:none}
.account-menu{position:relative}
.account-menu summary{list-style:none;cursor:pointer;display:flex;gap:10px;align-items:center;min-height:44px}
.account-menu summary::-webkit-details-marker{display:none}
.account-detail{position:absolute;top:44px;right:0;z-index:5;min-width:220px;background:#fff;padding:18px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 18px 40px -22px rgba(13,36,60,.35);line-height:1.6;font-size:13px;overflow-wrap:anywhere}

/* Buttons */
.primary-button,.secondary-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 18px;border-radius:var(--radius);font-size:15px;font-weight:600;line-height:1.3;text-decoration:none;white-space:normal}
.primary-button{background:var(--royal);color:#fff;border:2px solid var(--royal)}
.primary-button:hover:not(:disabled){background:var(--harbor);border-color:var(--harbor);color:#fff}
.secondary-button{background:#fff;color:var(--royal);border:2px solid var(--royal)}
.secondary-button:hover:not(:disabled){background:var(--mist);color:var(--harbor)}
.text-button{background:transparent;border:0;color:var(--royal);padding-left:0;padding-right:0;min-height:32px}
.text-button:hover:not(:disabled){color:var(--harbor);text-decoration:underline}
.button-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.section-actions{padding-top:15px;margin-top:20px;border-top:1px solid var(--line)}

/* Forms */
label{display:block;font-size:15px;font-weight:600;line-height:1.45}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{display:block;width:100%;margin-top:6px;min-height:48px;padding:11px 14px;border:1px solid var(--rule);border-radius:8px;background:#fff;color:var(--navy);font-size:16px;font-weight:400;line-height:1.4;box-shadow:none}
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,select:focus,textarea:focus{border-color:var(--royal)}
textarea{resize:vertical;min-height:105px}
input::placeholder,textarea::placeholder{color:#6B737D;font-weight:400;opacity:1}
input:disabled,select:disabled,textarea:disabled{background:#F2F5F8;color:#5B636D}
.check-label{display:flex;align-items:flex-start;gap:10px;font-weight:400}
.check-label input{accent-color:var(--royal);width:20px;height:20px;flex-shrink:0;margin:2px 0}
.required{color:var(--royal)}
.hint{font-size:14px;color:var(--slate);line-height:1.5;font-weight:400;margin:7px 0}
.notice{margin:14px 0;padding:13px 16px;border-left:3px solid var(--royal);border-radius:0 8px 8px 0;background:var(--mist);color:var(--navy);font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.notice.error{color:var(--error);background:#FFF3F3;border-color:#AB4650}
.notice.success{color:#25664C;background:#EFF8F3;border-color:#33876C}
.notice.warning{color:#715920;background:#FFF8E8;border-color:#BB9346}
.empty-state{padding:40px 24px;text-align:center;background:var(--soft);color:var(--slate);line-height:1.65;border-radius:var(--radius)}
video{display:block;width:100%;background:var(--navy);max-height:430px;min-height:200px;border-radius:8px}
progress{width:100%;height:9px;accent-color:var(--royal)}

/* Candidate page: 1 practice script, then contact details, questions, video, documents (only when staff add slots), review and send. */
.application-layout{width:min(1352px,calc(100% - 96px));margin:48px auto 64px;display:grid;grid-template-columns:42% 58%}
.introduction{padding:0 40px 0 0;border-right:1px solid var(--line);min-width:0}
.introduction h1{font-size:clamp(36px,4.4vw,58px);line-height:1.08;margin:0 0 18px}
.intro-copy{font-size:19px;line-height:1.6;max-width:520px;margin:0 0 30px}
.step-heading{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.step-heading h2,.step-heading h3{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.01em}
.step-number{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:var(--royal);color:#fff;font-size:18px;font-weight:700;line-height:1}
.script-panel{padding:24px;background:var(--mist);border-radius:14px}
.script-panel .step-heading{margin-bottom:12px}
.script-panel .script-meta{margin:0 0 14px;color:var(--slate);font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}
.script-text{min-height:160px;padding:20px 22px;background:#fff;border-radius:var(--radius);color:var(--navy);font-size:17px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.application-form-section{padding-left:44px;min-width:0}
.application-form-section>h2{font-size:32px;margin-bottom:20px}
.application-form-section form{display:grid;gap:28px}
.application-form-section textarea{min-height:140px}
.form-section{display:grid;gap:18px;padding-bottom:28px;border-bottom:1px solid var(--line);min-width:0}
.form-section>*{min-width:0}
.form-section>.step-heading{margin:0}
.form-section>.hint{margin:-6px 0 0}
.final-step{padding-bottom:0;border-bottom:0}
.file-slot>label{margin-bottom:8px}
.upload-target{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:128px;padding:20px;border:2px dashed #5B91C6;border-radius:var(--radius);background:var(--soft);color:var(--royal);text-align:center;cursor:pointer}
.upload-target:hover{border-color:var(--royal)}
.upload-target .icon{width:26px;height:26px}
.upload-target strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.upload-target>span{font-size:13px;color:var(--slate);font-weight:400}
.upload-target input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.upload-target:focus-within{outline:3px solid var(--ocean);outline-offset:3px}
.upload-target.dragover{background:var(--royal-tint);border-color:var(--royal)}
.file-status{font-size:14px;color:var(--slate);margin:8px 0;overflow-wrap:anywhere}
.file-status.saved{color:#287551}
.file-status.error{color:var(--error)}
.selected-video{margin-top:12px;max-height:300px;min-height:0}
.progress-label{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:var(--slate);margin:10px 0 5px}
.candidate-actions .primary-button{width:100%;min-height:54px;font-size:17px}
.privacy-note{font-size:13px;color:var(--slate);text-align:center;margin:10px 0 0}
.candidate-review{border-top:2px solid var(--royal);padding-top:22px}
.candidate-review h4{font-size:21px;margin:0 0 14px}
.candidate-review dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px 15px;font-size:15px;margin:0 0 6px}
.candidate-review dt{color:var(--slate)}
.candidate-review dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.receipt{padding:18px;background:var(--soft);border-radius:var(--radius);overflow-wrap:anywhere}
.confirmation{padding:30px 0;border-top:3px solid var(--royal)}
.confirmation-mark{display:grid;place-items:center;width:48px;height:48px;background:#E3F1EA;color:#1C6B47;border-radius:50%;margin-bottom:18px}
.confirmation h2{font-size:30px}
.confirmation p{color:var(--slate)}
.public-footer{width:min(1352px,calc(100% - 96px));margin:0 auto 25px;padding-top:15px;border-top:1px solid var(--line);text-align:center;font-size:14px}
.public-footer a{color:var(--slate)}

/* Staff page: header, tabs and toolbar */
.manager-layout{width:min(1420px,calc(100% - 120px));margin:24px auto 60px}
.subtitle{font-size:18px;color:var(--slate);margin:0}
.portal-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);margin-top:14px;overflow:auto}
.portal-tabs button{background:none;border:0;border-bottom:4px solid transparent;color:var(--slate);padding:17px 16px 15px;font-size:17px;font-weight:500;white-space:nowrap}
.portal-tabs button.active{color:var(--royal);border-bottom-color:var(--royal);font-weight:600}
.toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:18px 0}
.toolbar .toolbar-start{margin-right:auto;color:var(--slate);font-size:14px}

/* Staff page: Applications tab */
.split-layout{display:grid;grid-template-columns:394px minmax(0,1fr);min-height:600px}
.queue-rail{border-right:1px solid var(--line);padding-right:0}
.queue-top{padding:0 17px 13px 0}
.queue-top p{font-size:17px;margin:0 0 15px}
.queue-top select{margin:0}
.queue-list{border:1px solid var(--line);border-right:0;overflow:hidden}
.candidate-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start;width:100%;background:#fff;text-align:left;border:0;border-bottom:1px solid var(--line);padding:17px 20px;color:var(--navy)}
.candidate-row:last-child{border-bottom:0}
.candidate-row.selected{background:var(--mist);box-shadow:inset 4px 0 var(--royal)}
.candidate-row strong{grid-column:1;font-size:17px;font-weight:600;margin:0 0 5px;overflow-wrap:anywhere}
.candidate-row .status-label{grid-column:2;grid-row:1}
.candidate-row .meta{grid-column:1/-1;display:block;color:var(--slate);font-size:14px;line-height:1.6;font-weight:400}
.status-label{display:inline-block;padding:4px 13px;border-radius:20px;background:#E6ECF2;color:#21415B;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
.status-label.new{color:var(--royal);background:#DDEBF9}
.status-label.approved{color:#296143;background:#DEEEE3}
.status-label.interview{color:#01506F;background:#D7F0FA}
.status-label.declined{color:#8D3B46;background:#F5E7E8}
.pagination{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:18px 17px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.pagination .secondary-button{min-height:36px;padding:7px 12px;font-size:13px}
.pagination .hint{margin:0}
.review-workspace{min-width:0;padding:0 0 24px 36px}
.review-title h2{font-size:32px;margin:0 0 4px}
.review-title p{color:var(--slate);margin:3px 0;font-size:16px}
.review-title .submitted{font-size:14px;margin:7px 0 16px}
.candidate-video{margin:18px 0}
.media-empty{background:var(--soft);color:var(--slate);padding:35px;text-align:center;border:1px solid var(--line);border-radius:var(--radius);margin:15px 0}
.detail-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:20px 0 16px}
.detail-tabs button{background:none;border:0;border-bottom:3px solid transparent;color:var(--slate);padding:11px 22px;font-size:15px;font-weight:500}
.detail-tabs button.active{color:var(--royal);border-bottom-color:var(--royal);font-weight:600}
.review-form{display:grid;gap:16px}
.review-form select{max-width:610px}
.review-form textarea{min-height:100px}
.review-save{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.review-save .hint{margin:0}
.profile-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px 20px;margin:20px 0}
.profile-grid dt{color:var(--slate);font-size:14px}
.profile-grid dd{margin:0;font-size:15px;overflow-wrap:anywhere}
.file-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}
.file-row strong{font-size:15px}
.file-row p{margin:4px 0;font-size:13px;color:var(--slate)}
.history{margin-top:25px;border-top:1px solid var(--line);padding-top:18px}
.history details{border-bottom:1px solid var(--line);padding:13px 0}
.history summary{cursor:pointer;font-size:14px;font-weight:600;line-height:1.6}
.history p{font-size:14px;color:var(--slate);white-space:pre-wrap}
.legacy-invites{margin-top:30px;padding-top:15px;border-top:1px solid var(--line);font-size:13px;color:var(--slate)}
.legacy-invites summary,.optional-invite summary{cursor:pointer}
.optional-invite{margin:20px 0}
.optional-invite form{padding-top:20px}
.shared-link{margin:15px 0;display:grid;gap:10px}
.shared-link input{font-size:13px!important}

/* Staff page: Test script & application tab, with the preview of the candidate page */
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:42px;margin-top:25px}
.editor{min-width:0}
.editor>section{margin:0 0 30px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.editor>section>label{margin-top:18px}
.editor form,.stack{display:grid;gap:18px}
.editor textarea.script-editor{min-height:270px}
.editor-titlebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 22px}
.editor-titlebar p{color:var(--slate);font-size:14px;margin:6px 0 0}
.question-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.question-section-heading h3{margin-bottom:6px}
#application-questions{scroll-margin-top:24px;border-top:2px solid var(--royal);padding-top:24px}
.question-remove{min-height:34px;padding:6px 10px;font-size:13px}
.edit-row{padding:20px 0;border-top:1px solid var(--line);display:grid;gap:13px}
.edit-row-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.edit-row-header h3{font-size:16px;margin:0}
.compact-checks{display:flex;gap:17px;flex-wrap:wrap}
.compact-checks label{font-size:13px}
.preview-rail{padding-left:28px;border-left:1px solid var(--line)}
.preview-rail>h3{font-size:16px;color:var(--slate);font-weight:600}
.preview-document{font-size:14px;overflow-wrap:anywhere}
.preview-document h2{font-size:26px;line-height:1.15}
.preview-document p{color:var(--slate);font-size:13px}
.preview-document .step-heading{gap:9px;margin:24px 0 10px}
.preview-document .step-number{width:26px;height:26px;font-size:13px}
.preview-document .step-heading h3{font-size:16px}
.preview-document blockquote{margin:14px 0;padding:17px;background:var(--mist);border-radius:8px;font-size:13px;line-height:1.6}
.preview-document label{font-size:12px;margin-bottom:10px}
.preview-document input,.preview-document select{font-size:12px!important;min-height:35px!important;padding:7px 10px}
.preview-document textarea{font-size:12px;min-height:70px}
.preview-document .check-label input{width:16px!important;min-height:16px!important}
.preview-upload{display:flex;gap:9px;align-items:center;margin:12px 0;padding:14px;border:1px dashed #5B91C6;border-radius:8px;font-size:13px;color:var(--royal)}

/* Staff page: dialogs */
.dialog{width:min(650px,calc(100% - 36px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:14px;color:var(--navy)}
.dialog::backdrop{background:rgba(13,36,60,.44)}
.dialog.wide{width:min(1000px,calc(100% - 36px))}
.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:15px}
.dialog-heading h2{font-size:26px}
.dialog form{display:grid;gap:18px}
.dialog-close{min-width:44px;min-height:44px;padding:0 5px;border:0;background:none;color:var(--slate);font-size:25px;line-height:1}

@media(max-width:1100px){
 .header-inner,.manager-layout,.public-header .header-inner,.application-layout,.public-footer{width:calc(100% - 64px)}
 .split-layout{grid-template-columns:300px minmax(0,1fr)}
 .review-workspace{padding-left:27px}
 .editor-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}
 .portal-tabs button{font-size:15px;padding:15px 12px}
 .application-layout{grid-template-columns:43% 57%}
 .introduction{padding-right:27px}
 .intro-copy{font-size:18px}
 .script-text{font-size:16px}
 .application-form-section{padding-left:28px}
}
/* Candidate page in one column below 960 px, so the practice script keeps a readable line length on tablets. */
@media(max-width:960px){
 .application-layout{display:block}
 .introduction{padding:0 0 28px;border-right:0;border-bottom:1px solid var(--line)}
 .intro-copy{max-width:640px}
 .application-form-section{padding:30px 0 0}
}

/* Phones and small tablets: one column. Checked from 320 to 430 px wide. */
@media(max-width:760px){
 .header-inner,.public-header .header-inner,.manager-layout,.application-layout,.public-footer{width:calc(100% - 32px)}
 .header-inner{min-height:72px;padding:10px 0;gap:4px 16px}
 .logo{width:226px}
 .account-controls{gap:12px;font-size:14px}
 .account-controls>a{padding-left:12px}
 .account-menu .icon{width:15px}
 .manager-layout{margin-top:25px}
 h1{font-size:34px}
 .subtitle{font-size:16px}
 .portal-tabs{gap:0;margin-top:17px}
 .portal-tabs button{font-size:14px;padding:13px 12px}
 .toolbar{flex-wrap:wrap;justify-content:flex-start;padding:17px 0}
 .toolbar .toolbar-start{width:100%;margin:0}
 .toolbar button{font-size:13px;padding:9px 12px}
 .split-layout{display:block;min-height:0}
 .queue-rail{border-right:0;padding-bottom:25px}
 .queue-top{padding-right:0}
 .queue-list{border-right:1px solid var(--line)}
 .pagination{margin-right:0}
 .candidate-row{padding:14px 17px}
 .candidate-row strong{font-size:16px}
 .review-workspace{padding:25px 0;border-top:1px solid var(--line)}
 .review-title h2{font-size:27px}
 .review-title p{font-size:14px}
 .candidate-video{max-height:300px;min-height:150px}
 .detail-tabs button{font-size:14px;padding:11px 14px}
 .field-row{grid-template-columns:1fr;gap:18px}
 .editor-layout{display:block;margin-top:22px}
 .preview-rail{display:none}
 .editor-titlebar{align-items:flex-start;flex-direction:column;gap:10px}
 .question-section-heading{flex-direction:column;gap:10px}
 .profile-grid{grid-template-columns:110px minmax(0,1fr);gap:11px}
 .file-row{gap:12px;flex-wrap:wrap}
 .dialog{padding:22px}
 video{min-height:150px}
 .button-row .primary-button,.button-row .secondary-button{flex:1}
 .application-layout{margin-top:28px;margin-bottom:48px}
 .introduction h1{font-size:clamp(30px,9.4vw,42px);margin-bottom:14px}
 .intro-copy{font-size:17px;margin-bottom:24px}
 .step-heading{gap:12px}
 .step-number{width:36px;height:36px;font-size:17px}
 .step-heading h2,.step-heading h3{font-size:19px}
 .script-panel{padding:18px 16px}
 .script-text{padding:16px}
 .application-form-section>h2{font-size:27px}
 .candidate-review dl{grid-template-columns:100px minmax(0,1fr)}
}
@media(max-width:420px){
 .candidate-review .button-row{flex-direction:column;align-items:stretch}
 .upload-target{padding:18px 14px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
