/* Shared app surfaces: readable forms and study content, with the public brand. */
body.app-shell{background:#f4f2eb;color:#151916;line-height:1.65}body.app-shell main{max-width:1050px;padding-top:28px;padding-bottom:60px}body.app-shell main h1{font-size:clamp(30px,4.2vw,48px);letter-spacing:-.03em;line-height:1.12;margin:28px 0 18px}body.app-shell main h2{font-size:clamp(23px,2.7vw,31px);letter-spacing:-.02em;line-height:1.2}body.app-shell main h3{font-size:clamp(18px,2vw,23px);letter-spacing:0;line-height:1.35}body.app-shell p{color:#596354;max-width:75ch;font-size:16px;line-height:1.7}body.app-shell .card{background:#fffefa;border:1px solid #d9dcd1;border-top:3px solid #384934;border-radius:5px;padding:28px;margin:20px 0;box-shadow:0 3px 16px #15201404}body.app-shell button,body.app-shell .button{font-family:GI,Arial,sans-serif;font-weight:750;text-transform:none;letter-spacing:0;border-radius:3px;font-size:15px;line-height:1.4;min-height:48px;padding:13px 20px;background:#ffda36;color:#151916}body.app-shell input,body.app-shell select,body.app-shell textarea{font-family:GI,Arial,sans-serif;font-size:16px;background:white;border:1px solid #bac3b1;border-radius:4px;min-height:48px;padding:13px;color:#151916}body.app-shell input[type=checkbox]{min-height:22px;width:22px;accent-color:#384934;flex-shrink:0}body.app-shell label.field{font-weight:530;font-size:15px}body.app-shell #status{border:1px solid #dce0d2;border-left:3px solid #6b785e;background:#e8ecdf;border-radius:3px;font-size:15px;padding:15px 18px;margin:18px 0 24px}body.app-shell .account-header{border-bottom:1px solid #d9dcd1;padding-bottom:18px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}body.app-shell .account-header>a:first-child{display:flex;align-items:center;gap:14px;color:#151916;text-decoration:none;font-family:"Mono Spec",monospace;text-transform:uppercase;font-size:19px;line-height:1.05}body.app-shell .account-header img{width:56px;height:66px;object-fit:contain}body.app-shell .account-header>a:not(:first-child){font-family:GI,Arial,sans-serif;text-transform:none;font-size:14px;min-height:44px;display:flex;align-items:center}body.app-shell .account-nav{border-bottom:1px solid #d9dcd1;padding-bottom:0;margin:0 0 25px;gap:24px}body.app-shell .account-nav a{padding:11px 3px;background:transparent;color:#596354;font-family:GI,Arial,sans-serif;font-weight:750;border-radius:0;font-size:16px}body.app-shell[data-page=login] .login-link,body.app-shell[data-page=contact] .signup-link{color:#151916;box-shadow:inset 0 -3px #151916}body.app-shell #public{max-width:760px}body.app-shell #intake-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}body.app-shell #intake-fields>.field{margin:0}body.app-shell #intake-fields>p,body.app-shell #intake-fields>div,body.app-shell #intake-fields>label:not(.field),body.app-shell #intake-fields>button{grid-column:1/-1;margin:0}body.app-shell #intake-fields>label:not(.field){font-size:14px;font-weight:400;line-height:1.6;margin-top:8px}body.app-shell #intake-fields>p{font-size:13px}body.app-shell #intake-fields>button{justify-self:start;margin-top:4px}body.app-shell .verification-help{font-size:14px}body.app-shell #login-card h2,body.app-shell #intake-card h2{margin-top:0}body.app-shell .study-nav{padding:4px;background:#e5e9dc;border:1px solid #d9dcd1;border-radius:5px;display:flex;gap:4px;width:fit-content;max-width:100%;margin:26px 0}body.app-shell .study-nav button{background:transparent;margin:0;border:0;outline:0;flex:1;min-width:0;padding:12px 20px;font-size:14px;white-space:nowrap}body.app-shell .study-nav button[aria-current=true]{background:#151916;color:#fffefa;outline:none}body.app-shell .study-nav button:focus-visible{outline:3px solid #987800;outline-offset:2px}body.app-shell .answer{background:#eef0df;border-left:3px solid #6b785e;border-radius:3px;line-height:1.7;font-size:17px}body.app-shell .passage{background:#edf0e5;border-radius:4px;font-size:17px;padding:22px}body.app-shell .question{font-family:GI,Arial,sans-serif;font-size:18px;font-weight:530;line-height:1.6;border-bottom:1px solid #d9dcd1;padding:22px 0}body.app-shell .question select{font-weight:400;max-width:100%;white-space:normal}body.app-shell textarea{line-height:1.6}body.app-shell .small{font-size:13px}body.app-shell summary{font-family:GI,Arial,sans-serif;font-weight:530;font-size:16px;padding:14px 0}body.app-shell #dashboard>h2{margin-top:35px}body.app-shell progress{accent-color:#637554;height:10px}body.app-shell button:focus-visible,body.app-shell a:focus-visible,body.app-shell input:focus-visible,body.app-shell select:focus-visible,body.app-shell textarea:focus-visible,body.app-shell summary:focus-visible{outline:3px solid #987800;outline-offset:3px}body.app-shell .appointment{padding:20px 0;border-color:#d9dcd1}
@media(max-width:600px){body.app-shell main{padding:20px 20px 45px}body.app-shell .card{padding:22px 20px}body.app-shell .account-header{gap:12px;flex-wrap:nowrap}body.app-shell .account-header>a:first-child{font-size:16px;gap:9px}body.app-shell .account-header img{width:43px;height:52px}body.app-shell .account-header>a:not(:first-child){font-size:12px}body.app-shell #intake-fields{grid-template-columns:1fr;gap:17px}body.app-shell .study-nav{width:100%}body.app-shell .study-nav button{padding:11px 9px;font-size:12px}body.app-shell .question{font-size:17px}body.app-shell .passage{padding:18px;font-size:16px}body.app-shell #status{font-size:14px}body.app-shell main h1{margin-top:23px}body.app-shell button{max-width:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){body.app-shell *{scroll-behavior:auto!important;transition:none!important}}

.dashboard-tools,.dashboard-shortcuts{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.dashboard-tools{justify-content:flex-end;border-bottom:1px solid #d9dcd1;padding-bottom:18px}.dashboard-tools a{margin-right:auto!important}.dashboard-shortcuts{margin:25px 0}.dashboard-shortcuts a{padding:10px 16px;background:#e7ebde;text-decoration:none;border-radius:3px;font-size:14px}.dashboard-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0}.dashboard-summary>div{padding:22px;border:1px solid #d9dcd1;background:#fffefa}.dashboard-summary strong{display:block;font:700 34px "Mono Spec",monospace}.dashboard-summary span{display:block;font-size:13px;color:#596354;margin-top:8px}.dashboard-section{scroll-margin-top:25px}.pipeline-controls{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.pipeline-controls label.field{margin:0}.result-count{font-size:13px!important;margin-top:10px}.person-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}.person-heading h3{margin:0}.stage-badge{font-size:12px;padding:5px 11px;background:#e5e9db;border-radius:20px}.person-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.person-stats strong{font-size:12px;color:#5f6b56}.person-stats p{font-size:15px!important;margin:5px 0}.contact-actions{display:flex;gap:12px}.contact-actions a{padding:7px 20px;min-height:44px;border:1px solid #b9c3ae;border-radius:3px;text-decoration:none}.next-action>a{display:block!important}.next-action>p:first-child{font:700 10px "Mono Spec",monospace;letter-spacing:1.5px}.app-footer{font-size:13px!important;margin-top:32px}.app-footer a{display:inline-block;padding:8px 0}.diagnostic-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.diagnostic-actions button{margin:0}.diagnostic-steps{font-size:13px!important;font-weight:530}.diagnostic-progress{margin:12px 0}.study-recovery{border-left:3px solid #a17c24;padding-left:18px}.study-recovery button{margin:10px 8px 0 0}@media(max-width:600px){.dashboard-summary{grid-template-columns:1fr 1fr;gap:10px}.dashboard-summary>div{padding:16px}.pipeline-controls{grid-template-columns:1fr;gap:12px}.person-stats{grid-template-columns:1fr;gap:10px}.dashboard-tools{gap:8px}.dashboard-tools button{font-size:13px;padding:10px 14px}.dashboard-shortcuts{gap:8px}.dashboard-shortcuts a{font-size:12px;padding:9px 11px}.diagnostic-actions button{width:100%}}
