
/* Shared rhythm, modelled on the Ampl onboarding. */
:root{--bg:#faf9f6;--ink:#2e302c;--muted:#72766d;--rule:#e7e8e1}
body{-webkit-font-smoothing:antialiased}
.ampl-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:20px;max-width:1600px;padding:16px;margin:auto;align-items:start;background:#faf9f6}
.ampl-layout .onboard-form-side{padding:0 clamp(24px,3vw,64px);min-width:0}
.ampl-layout .onboard-header{padding:16px 0 32px;min-height:106px;border:0;gap:24px;justify-content:space-between}
.ampl-layout .onboard-header .logo{width:130px;height:auto}.ampl-layout .client-label{border:0;padding:0;flex:0 1 auto;text-align:right;font-size:12px;color:#77796f}
.ampl-layout .form-panel{padding:20px 0 32px;border:0;background:transparent;box-shadow:none;border-radius:0;min-width:0}
.section-meta{display:flex;justify-content:space-between;gap:16px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#818276}.section-segments{display:flex;gap:5px;margin:12px 0 32px}.section-segments span{height:4px;flex:1;border-radius:4px;background:#e7e7df}.section-segments .complete{background:#b57145}
.ampl-layout .form-panel>.eyebrow{display:none}.ampl-layout .form-panel h1{font-size:clamp(26px,2.4vw,36px);line-height:1.2;font-weight:600;letter-spacing:-1px;margin:0 0 14px}.ampl-layout .lead{font-size:14px;color:#777b70;line-height:1.6;margin:0 0 30px}
.ampl-layout .identity-fields,.ampl-layout .question-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;margin:0;padding:0;border:0}.ampl-layout .identity-fields{margin-bottom:28px}.ampl-layout .question-grid .question{margin:0;grid-column:auto;min-width:0}
.ampl-layout .identity-fields label{display:block;font-size:14px;font-weight:500;color:#51584d}.ampl-layout .identity-fields label input{display:block;margin-top:10px}.ampl-layout .identity-fields .full-width{grid-column:auto}.ampl-layout .optional{font-size:12px;color:#92968b;display:inline;margin-left:5px;font-weight:400}
.ampl-layout .question>label:not(.unknown-check){font-size:15px;line-height:1.5;font-weight:500;margin:0;color:#434c3f}.ampl-layout .hint{font-size:13px;line-height:1.6;color:#82877a;margin:7px 0 12px}
.ampl-layout input:not([type=checkbox]):not([type=radio]):not([type=file]),.ampl-layout textarea,.ampl-layout select{width:100%;min-width:0;max-width:100%;border:1px solid #dfe3d8;border-radius:10px;background:#fff;padding:15px 16px;font-size:15px;line-height:1.55;font-weight:400;color:#353e30;min-height:54px;box-shadow:none}.ampl-layout textarea{min-height:130px;resize:vertical}.ampl-layout select{padding-right:30px}.ampl-layout input:focus,.ampl-layout textarea:focus,.ampl-layout select:focus{outline:2px solid #ba825333;outline-offset:1px;border-color:#b57145}.ampl-layout ::placeholder{color:#a0a696}
.ampl-layout .question>label.unknown-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:400;line-height:1.6;color:#7b8172;margin:12px 0 0}.ampl-layout .unknown-check input{width:16px;height:16px;min-height:0;flex:0 0 16px;margin:2px 0 0;accent-color:#a84d21}
.ampl-layout .button{border-radius:28px;padding:13px 22px;min-height:48px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;line-height:1.5}.ampl-layout .form-actions{margin-top:32px;padding-top:24px;gap:16px;align-items:center;flex-wrap:wrap}.ampl-layout .form-actions>.small{font-size:12px;flex:1}.ampl-layout .form-actions .button{flex-shrink:0}.ampl-layout .button.secondary{background:transparent;box-shadow:none;border-color:#dedfd6}
.ampl-layout .onboard-footer{margin:0;padding:0 0 20px;border:0;display:block;font-size:12px;color:#7c8372}
.ampl-layout .onboard-sidebar{position:sticky;top:16px;min-height:calc(100svh - 32px);border-radius:26px;padding:36px;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;background:#39251c;color:#fff8ed;max-width:none;min-width:0}
.onboard-art{position:absolute;inset:0;z-index:-1;overflow:hidden;background:linear-gradient(155deg,#a56840 0%,#553322 40%,#2c211c 85%)}.onboard-art i{position:absolute;width:150%;height:230px;left:-20%;top:8%;border:55px solid #d99c6255;border-radius:50%;transform:rotate(-32deg)}.onboard-art i:nth-child(2){top:25%;left:3%;border-color:#e7b78222;transform:rotate(-32deg)}.onboard-art i:nth-child(3){top:40%;left:-40%;border-color:#291b1744;transform:rotate(-32deg)}
.side-brand{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;letter-spacing:1.4px;color:#f4ddc4;margin-bottom:100px}.side-brand span:first-child{font-size:13px;font-weight:700;letter-spacing:1px}.side-content{margin-top:auto}.ampl-layout .onboard-sidebar .eyebrow{font-size:11px;letter-spacing:1.8px;color:#dcc1a6;margin:0 0 14px}.ampl-layout .onboard-sidebar h2{font-size:clamp(28px,3vw,42px);line-height:1.12;letter-spacing:-1px;font-weight:500;margin:0 0 20px}.side-intro{font-size:15px;line-height:1.6;color:#decbb8;margin:0 0 28px;max-width:460px}.side-progress{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #ffffff22;padding-top:24px;margin-bottom:16px;font-size:12px;color:#d3bda6}
.ampl-layout .onboard-sidebar nav{display:flex;flex-wrap:wrap;gap:8px;margin:0}.ampl-layout .step-link{display:flex;gap:8px;align-items:center;padding:8px 11px;min-height:42px;border:1px solid #ffffff22;border-radius:24px;background:#ffffff09;color:#e8d7c4;font-size:12px;line-height:1.4;margin:0;white-space:normal}.ampl-layout .step-link>span{flex:0 0 22px;width:22px;height:22px;border:0;background:#ffffff15;color:inherit;font-size:11px}.ampl-layout .step-link.active{background:#f6e8d5;color:#593722;border-color:#f6e8d5;font-weight:500}.ampl-layout .step-link.active>span{background:#684126;color:#fff}.ampl-layout .step-link:hover{border-color:#f6e8d5}
.side-help{border-top:1px solid #ffffff22;margin:28px 0 0;padding-top:22px;font-size:14px;line-height:1.7;color:#f6e8d5}.side-help span{font-size:12px;color:#cdb8a2}
.ampl-layout .check-item{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:20px 0;align-items:start}.ampl-layout .check-item select{max-width:none}.ampl-layout .form-callout,.ampl-layout .preview-explainer{padding:18px;line-height:1.6;margin:24px 0}.ampl-layout .upload-box{padding:20px}.ampl-layout .field-grid{grid-template-columns:minmax(0,1fr);gap:20px}.ampl-layout .review-answers summary{gap:16px;align-items:start;padding:18px 0;font-size:14px}.ampl-layout .answer-state{white-space:nowrap;flex-shrink:0;font-size:11px}.ampl-layout .files-grid{grid-template-columns:minmax(0,1fr)}
/* The dashboard uses the same form spacing and alignment. */
.workspace{background:#faf9f6}.workspace .panel-body{padding:24px}.workspace .panel-heading{gap:20px;align-items:center;flex-wrap:wrap}.workspace .panel-heading h2{line-height:1.4}.workspace .field-grid{gap:24px;align-items:start}.workspace .stage-form{gap:24px}.workspace .stage-form label{line-height:1.5;font-size:14px;font-weight:500;gap:10px}.workspace .stage-form input,.workspace .stage-form select{min-height:50px}.workspace .client-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px}.workspace .client-heading>div{grid-row:span 2}.workspace .client-heading>.button{margin:0}.workspace .delivery-banner{align-items:flex-start;flex-wrap:wrap;padding:24px;gap:20px}.workspace .delivery-banner h2{line-height:1.4}.workspace .panel>details,.workspace .panel>form{margin:24px}.workspace .tabs{display:flex;gap:4px;border-bottom:1px solid #e3e5db;margin-bottom:24px;overflow-x:auto;flex-wrap:nowrap}.workspace .tabs a{font-size:14px;padding:12px 14px}.workspace input[type=checkbox]{width:16px;height:16px;min-height:0;flex-shrink:0;accent-color:#a84d21}
@media(min-width:1500px){.ampl-layout .onboard-form-side{padding:0 64px}.ampl-layout .onboard-sidebar{padding:48px}}
@media(max-width:900px){.ampl-layout{grid-template-columns:minmax(0,1fr);padding:0;gap:0}.ampl-layout .onboard-form-side{padding:0 28px}.ampl-layout .onboard-header{min-height:94px;padding:24px 0}.ampl-layout .form-panel{max-width:650px;margin:0 auto;padding-top:12px}.ampl-layout .onboard-footer{max-width:650px;margin:auto}.ampl-layout .onboard-sidebar{position:static;min-height:0;margin:16px;padding:28px;border-radius:20px}.side-brand{margin-bottom:36px}.ampl-layout .onboard-sidebar h2{font-size:30px}.ampl-layout .onboard-sidebar nav{display:flex;overflow:visible}.ampl-layout .onboard-sidebar .eyebrow{display:block}.ampl-layout .side-intro,.ampl-layout .side-help{display:block}.side-progress{padding-top:20px}.workspace .client-heading{display:flex;flex-wrap:wrap}.workspace .client-heading>div{width:100%}}
@media(max-width:540px){.ampl-layout .onboard-form-side{padding:0 22px}.ampl-layout .client-label{max-width:150px}.ampl-layout .onboard-header .logo{width:110px}.ampl-layout .form-panel h1{font-size:28px}.ampl-layout .form-actions{justify-content:space-between}.ampl-layout .form-actions>.small{flex-basis:100%}.ampl-layout .form-actions .button{font-size:13px;padding:12px 18px}.workspace .field-grid{grid-template-columns:1fr}.workspace .panel-body,.workspace .panel-heading{padding:20px}}

.ampl-layout .onboard-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 0%,#2c211c55 35%,#251d18ee 75%)}
.ampl-layout .onboard-sidebar{min-height:calc(100svh - 70px)}.ampl-layout .side-brand{margin-bottom:70px}.ampl-layout .onboard-sidebar h2{font-size:clamp(28px,2.8vw,38px)}
@media(max-width:900px){.ampl-layout .onboard-sidebar{min-height:0}.ampl-layout .side-brand{margin-bottom:32px}}
/* Responsive rules are shared by the live workspace and both previews. */
.compact-step-nav{display:none}
.ampl-layout .onboard-art{pointer-events:none}
.demo-switch{background:#edece6;color:#575c51;padding:10px 24px;gap:12px;align-items:center;line-height:1.4}
.demo-switch>span{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.demo-switch strong{font-size:13px;color:#444b3d}.demo-switch small{font-size:12px;color:#737969}
.demo-switch nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.demo-switch nav a{font-size:13px;min-height:36px;padding:8px 12px;border-radius:6px;display:flex;align-items:center}.demo-switch nav a[aria-current]{background:#fff;color:#8c411a}.demo-switch nav a:hover{background:#fff9}
.access-home{max-width:680px;padding:64px 24px;margin:auto}.access-home>.logo{width:140px;margin-bottom:48px}.access-home h1{font-size:36px}.access-home>p{margin:18px 0 26px;color:var(--muted)}.access-home .button{margin:0 12px 16px 0}.access-home .eyebrow{margin-top:0}
.ampl-layout input:not([type=checkbox]):not([type=radio]):not([type=file]),.ampl-layout textarea,.ampl-layout select{font-size:16px}
.workspace .panel,.workspace .panel-body,.workspace .stage-form,.workspace .field-grid>*{min-width:0}.workspace .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .button{white-space:normal;overflow-wrap:anywhere;line-height:1.5;text-align:center;min-height:44px}
.workspace .panel-heading>div,.workspace .stage-head>h3,.workspace .task-label{min-width:0}.workspace .stage-head{flex-wrap:wrap;gap:12px}.workspace .badge{white-space:normal;max-width:100%;overflow-wrap:anywhere}.workspace .stage-form label.unknown-check{flex-direction:row;align-items:flex-start;gap:10px}.workspace .unknown-check input{width:16px;height:16px;margin-top:3px;flex:0 0 16px}.workspace .form-callout,.workspace .answer,.workspace .note,.workspace .activity-row{overflow-wrap:anywhere}.workspace .funnel-question{min-width:0;margin:0;padding:20px}.workspace .funnel-source{max-width:100%;overflow:auto}
.workspace .editor-actions{flex-wrap:wrap}.workspace .overview-links{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.workspace .kanban{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.workspace .kanban-column{min-width:0}.workspace .files-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.workspace .file-card{min-width:0}.workspace .file-info{min-width:0;overflow-wrap:anywhere}.workspace .results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace .task-row{gap:12px;flex-wrap:wrap}.workspace .task-row>.task-label{flex:1 1 180px}
@media(max-width:1100px){
 .ampl-layout{display:block;max-width:780px;padding:0 24px;margin:auto}
 .ampl-layout .onboard-form-side{padding:0 12px}
 .ampl-layout .onboard-sidebar{position:relative;display:none}
 .ampl-layout .form-panel{padding:24px 0 32px;max-width:none;margin:0}
 .ampl-layout .onboard-header{min-height:92px;padding:24px 0;gap:20px}
 .ampl-layout .client-label{display:block;font-size:12px}
 .compact-step-nav{display:flex;align-items:center;gap:16px;padding:0 0 20px;border-bottom:1px solid #e5e7df}
 .compact-step-nav label{font-size:12px;white-space:nowrap;color:#747b6c}
 .ampl-layout .compact-step-nav select{min-height:44px;padding:10px 36px 10px 12px;font-size:14px}
 .ampl-layout .section-segments{margin-bottom:26px}
 .ampl-layout .onboard-footer{max-width:none;padding-bottom:24px}
 .workspace .sidebar{padding:24px 16px}.workspace>.main{padding:32px 24px}
 .workspace .client-heading{display:flex;flex-wrap:wrap}.workspace .client-heading>div{width:100%}.workspace .client-heading h1{font-size:29px}
}
@media(max-width:900px){
 .workspace{display:block}.workspace .sidebar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-right:0;border-bottom:1px solid #e9e8e4}.workspace .brand{margin:0}.workspace .sidebar .logo{width:112px}.workspace .sidebar-label,.workspace .sidebar-bottom,.workspace .future-domain{display:none}.workspace .sidebar nav{display:flex;gap:4px}.workspace .sidebar .nav-link{margin:0;padding:9px 12px;font-size:14px}.workspace .nav-symbol{font-size:17px}
 .workspace .panel-body,.workspace .panel-heading{padding:22px}.workspace .tabs{flex-wrap:wrap;overflow:visible;gap:0}.workspace .tabs a{min-height:44px;padding:12px;font-size:13px}
 .workspace .overview-links{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .demo-switch{padding:10px 16px;gap:8px;display:block}.demo-switch>span{display:block}.demo-switch small{display:block;font-size:11px;margin-top:3px}.demo-switch nav{margin-top:8px}.demo-switch nav a{min-height:40px;padding:8px 12px;font-size:12px}
 .ampl-layout{padding:0 20px}.ampl-layout .onboard-form-side{padding:0}.ampl-layout .onboard-header{padding:22px 0;min-height:84px}.ampl-layout .onboard-header .logo{width:112px}.ampl-layout .client-label{max-width:160px;font-size:11px}
 .compact-step-nav{display:block;padding-bottom:20px}.compact-step-nav label{display:block;margin-bottom:8px}.ampl-layout .compact-step-nav select{min-height:46px;font-size:16px}
 .ampl-layout .section-meta{font-size:10px;letter-spacing:.6px}.ampl-layout .form-panel h1{font-size:27px}.ampl-layout .lead{font-size:14px;line-height:1.6;margin-bottom:26px}.ampl-layout .identity-fields,.ampl-layout .question-grid{gap:24px}.ampl-layout .hint{font-size:13px}.ampl-layout .question>label:not(.unknown-check){font-size:15px}.ampl-layout .identity-fields label{font-size:14px}
 .ampl-layout .form-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.ampl-layout .form-actions>.button{width:100%;justify-content:center;min-height:48px}.ampl-layout .form-actions>.small{margin:0}.ampl-layout .review-answers summary{display:flex;flex-wrap:wrap;gap:8px;line-height:1.5}.ampl-layout .review-answers summary .answer-state{margin:0}.ampl-layout .upload-box{padding:18px}.ampl-layout input[type=file]{width:100%;max-width:100%;font-size:12px;padding:10px}
 .workspace>.main{padding:26px 16px}.workspace .sidebar{padding:14px 16px;gap:10px}.workspace .sidebar .logo{width:100px}.workspace .sidebar .nav-link{padding:8px 10px;font-size:13px}.workspace .nav-symbol{display:none}.workspace .page-heading{margin-bottom:24px}.workspace .page-heading h1{font-size:28px}.workspace .page-heading .muted{font-size:14px;line-height:1.6}.workspace .client-heading{gap:12px}.workspace .client-heading>.button{flex:1 1 130px;font-size:12px;padding:10px}
 .workspace .panel-body,.workspace .panel-heading{padding:20px}.workspace .panel-heading h2{font-size:18px}.workspace .field-grid{grid-template-columns:minmax(0,1fr);gap:20px}.workspace .stage-form{gap:20px}.workspace .delivery-banner{padding:20px}.workspace .delivery-banner h2{font-size:21px}.workspace .delivery-banner .button{width:100%}.workspace .overview-links{grid-template-columns:1fr}.workspace .kanban{grid-template-columns:1fr}.workspace .files-grid{grid-template-columns:1fr}.workspace .task-row>.badge{margin-left:28px}.workspace .task-edit{margin-left:0}.workspace .stage-grid,.workspace .answer-grid{grid-template-columns:1fr}.workspace .funnel-question{padding:14px}.workspace .results-grid{gap:10px}.workspace .result-metric{padding:16px}
 .workspace .table-wrap{overflow:visible}.workspace table,.workspace tbody,.workspace tr,.workspace td{display:block;width:100%;min-width:0}.workspace thead{display:none}.workspace tbody tr{padding:20px;border-top:1px solid var(--rule)}.workspace tbody td{padding:8px 0;border:0;white-space:normal;font-size:14px}.workspace td[data-label]::before{content:attr(data-label);display:block;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin-bottom:5px}.workspace .client-name{padding-bottom:8px;gap:12px}.workspace .panel-heading .search{width:100%}.workspace .panel-heading .search input{width:100%}
 .client-empty{padding:30px 22px}.client-empty h2{font-size:23px}.preview-section{margin-top:28px}.preview-option{padding:20px;gap:12px}.preview-options{grid-template-columns:1fr}.onboarding-entry{padding:32px 22px}.onboarding-entry h1{font-size:29px}.access-home{padding:36px 22px}.access-home h1{font-size:29px}.access-home .button{width:100%;margin-right:0}
}

@media(max-width:1100px){.workspace .client-heading{flex-direction:row;align-items:center}.workspace .client-heading>.button{flex:0 1 auto;min-height:44px;height:auto;align-self:auto}}
@media(max-width:600px){.workspace .client-heading>.button{flex:1 1 auto;width:auto}.workspace .page-heading{flex-direction:row}.workspace .page-heading>div{min-width:0}}

.workspace .panel-body>label{display:block;min-width:0;max-width:100%}.workspace .panel-body>label>select{display:block;width:100%;min-width:0;max-width:100%;margin-top:8px}.workspace select{min-width:0;max-width:100%}

.workspace .panel-heading>label{min-width:0;max-width:100%;width:100%}.workspace .panel-heading>label>select{display:block;width:100%;min-width:0;max-width:100%;margin-top:8px}

@media(min-width:601px) and (max-width:1100px){.workspace .table-wrap{overflow:visible}.workspace table{display:block;width:100%;min-width:0}.workspace thead{display:none}.workspace tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:0}.workspace tr{display:block;min-width:0;padding:22px;border-top:1px solid var(--rule)}.workspace td{display:block;min-width:0;width:100%;padding:8px 0;border:0;white-space:normal}.workspace td[data-label]::before{content:attr(data-label);display:block;font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);margin-bottom:5px}.workspace .client-name{padding-bottom:8px}}
