:root{--ink:#17221d;--muted:#718078;--line:#e6eae6;--paper:#f7f8f4;--green:#233f31;--lime:#dbef99;--gold:#bea76a;--red:#ba564a}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:white;color:var(--ink);font-weight:600;transition:background .15s}button:hover{background:#eef3eb}button:disabled{opacity:.45;cursor:not-allowed}button.primary,.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#30523f}.secondary{background:transparent}.danger{color:var(--red)}a{color:#316348;text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{width:100%;border:1px solid #dce3dc;background:white;border-radius:8px;padding:11px 12px;color:var(--ink);outline:none}input:focus,textarea:focus,select:focus{border-color:#779e5b;box-shadow:0 0 0 3px #b9d79b30}textarea{resize:vertical;min-height:110px;line-height:1.65}label{display:block;font-size:12px;font-weight:600;margin:16px 0 6px}label input,label select,label textarea{display:block;margin-top:7px}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green);box-shadow:none;vertical-align:middle}.checkbox{display:flex;align-items:center;gap:9px;line-height:1.5}.checkbox input{margin:0;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:26px;letter-spacing:-.7px;margin-bottom:0}h2{font-size:21px;letter-spacing:-.4px;margin-bottom:10px}h3{font-size:15px;margin-bottom:7px}p{line-height:1.65}.muted,small{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:var(--muted)}.layout{display:flex;min-height:100vh}.sidebar{width:242px;background:#172b22;color:white;position:fixed;inset:0 auto 0 0;padding:32px 21px;display:flex;flex-direction:column}.brand-mark{display:flex;align-items:center;gap:13px;color:var(--lime);font-size:36px;font-weight:800}.brand-mark>span{font-size:20px;font-weight:650;letter-spacing:2px;color:white}.brand-mark small{display:block;font-size:8px;font-weight:500;letter-spacing:2px;color:#9daf9f;margin-top:7px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#91a89b;margin:48px 13px 15px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{border:0;color:#b8c7be;background:none;text-align:left;padding:13px 12px;display:flex;gap:13px;font-size:12px;font-weight:500;align-items:center}.sidebar nav button>span:first-child{font-size:18px;width:20px;color:#89a291}.sidebar nav button.active{background:#30493a;color:var(--lime)}.sidebar nav button.active>span:first-child{color:var(--lime)}.nav-count{margin-left:auto;font-size:10px;padding:2px 6px;border-radius:4px;background:#47614b}.sidebar-bottom{margin-top:auto;border-top:1px solid #385040;padding-top:22px;display:flex;align-items:center;gap:10px;font-size:11px}.sidebar-bottom small{display:block;font-size:10px;color:#a3b5a9;margin-top:4px}.sidebar-bottom button{margin-left:auto;background:none;border:0;color:#aac2ae;font-size:20px;padding:3px}.account-avatar{width:31px;height:31px;border:1px solid #5a715a;border-radius:50%;display:grid;place-items:center;color:var(--lime);font-weight:700}.workspace{width:calc(100% - 242px);margin-left:242px;padding:32px 40px 20px;max-width:1800px}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:26px;margin-bottom:30px}.topbar h1{margin-top:10px}.topbar-right{display:flex;align-items:center;gap:20px;font-size:11px}.pill{border-radius:6px;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;font-size:10px;font-weight:600;background:#edf0ea;color:#657168;white-space:nowrap}.pill.good{color:#386744;background:#eaf1df}.pill.warn{color:#996a29;background:#faf0d7}.pill.bad{color:#ac5549;background:#fbeae5}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.welcome h2{font-size:24px;margin:0 0 5px}.welcome p{margin:0;font-size:12px;color:var(--muted)}.banner{background:#e7eddc;border:1px solid #dce4d0;border-radius:10px;padding:20px 24px;display:flex;gap:17px;align-items:center;margin-bottom:25px}.banner-icon{width:42px;height:42px;border-radius:9px;background:white;display:grid;place-items:center;font-size:20px;color:#68834c}.banner h3{font-size:13px;margin-bottom:4px}.banner p{font-size:12px;color:#68775f;margin:0;max-width:660px}.banner button{margin-left:auto;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:22px}.stat-top{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.stat-icon{font-size:17px;color:#688256}.stat-value{font-size:32px;font-weight:650;letter-spacing:-1px;display:block;margin:13px 0 8px}.stat small{font-size:10px}.stat.featured{background:#233f31;color:white;border-color:#233f31}.stat.featured .stat-top,.stat.featured small,.stat.featured .stat-icon{color:#b7cbab}.columns{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.card{border:1px solid var(--line);background:white;border-radius:10px;padding:24px;margin-bottom:22px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.card-head h2,.card-head h3{margin:0}.card-head small{font-size:10px}.card-head button{font-size:11px;padding:7px 10px}.card p{font-size:12px}.steps{display:grid;gap:20px}.step{display:flex;gap:13px;align-items:flex-start}.step-number{border:1px solid var(--line);border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:10px;font-weight:600;flex-shrink:0}.step h3{font-size:12px;margin:1px 0 4px}.step p{margin:0;font-size:11px;color:var(--muted)}.mini-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);align-items:center;font-size:12px;gap:10px}.mini-row:last-child{border:0}.brand-avatar{width:33px;height:33px;border-radius:7px;display:grid;place-items:center;background:#eef2e8;color:#63804d;font-weight:700;font-size:11px;flex-shrink:0}.brand-info{display:flex;gap:10px;align-items:center}.brand-info strong{font-size:12px;display:block}.brand-info small{display:block;font-size:10px;margin-top:4px}.table-card{padding:0;overflow:hidden}.table-toolbar{padding:20px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.table-toolbar input{max-width:290px}.table-toolbar select{max-width:230px}.table-toolbar .spacer{margin-left:auto}table{width:100%;border-collapse:collapse;font-size:12px}thead{background:#f7f9f4;color:#7b887d;font-size:9px;letter-spacing:.7px;text-align:left}th{padding:14px 18px;font-weight:600;white-space:nowrap}td{padding:15px 18px;border-top:1px solid #eef1e9;vertical-align:middle}tr:hover td{background:#fcfdf9}td small{font-size:10px}td button{font-size:10px;padding:6px 9px}td .email{display:block;color:#5f6e61;font-size:11px;max-width:235px;word-break:break-word}td.check,th.check{width:30px;padding-right:0}.table-wrap{overflow-x:auto}.pagination{padding:16px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.pagination button{padding:6px 10px;font-size:11px}.section-intro{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px;align-items:center}.section-intro p{margin:5px 0 0;color:var(--muted);font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{padding:13px 16px;border-radius:8px;font-size:12px;line-height:1.65;background:#f9f2df;color:#8b6c2c;margin:12px 0 18px;border:1px solid #f0e4bf}.notice.info{color:#546d5b;background:#f0f5eb;border-color:#dfebd6}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.template-editor textarea{min-height:290px}.template-editor .variables{display:flex;gap:7px;margin-top:8px}.variables code{font-size:11px;border:1px solid #dde6d5;padding:4px 7px;border-radius:4px;background:#f5f8f0}.preview-shell{border:1px solid var(--line);border-radius:9px;overflow:hidden}.preview-header{padding:15px 19px;background:#f6f8f3;border-bottom:1px solid var(--line);font-size:11px;line-height:2}.preview-header strong{display:block;color:var(--ink);font-size:13px}.preview-shell iframe{display:block;width:100%;height:390px;border:0;background:white}.empty{padding:55px 20px;text-align:center;color:var(--muted)}.empty strong{display:block;color:#496249;font-size:15px;margin-bottom:8px}.queue-status{display:flex;gap:12px;align-items:center;padding:14px 20px;border:1px solid var(--line);border-radius:8px;background:white;margin-bottom:20px}.queue-status .dot{width:8px;height:8px;border-radius:50%;background:#ba9d58}.queue-status .dot.running{background:#5f994f}.queue-status span:nth-child(2){flex:1;font-size:12px}.settings-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px}.setup-list{padding-left:20px;font-size:12px;line-height:1.8}.setup-list li{margin:12px 0}.code-box{padding:10px;background:#f5f7f1;border:1px solid var(--line);border-radius:6px;font-family:Consolas,monospace;font-size:11px;word-break:break-all;margin:8px 0}.divider{border-top:1px solid var(--line);margin:22px 0}.report-heading{padding:24px;border-radius:9px;background:#233f31;color:white;margin-bottom:25px;display:flex;justify-content:space-between;align-items:center}.report-heading h2{margin-bottom:6px}.report-heading p{color:#bbcbbd;margin:0}.report-heading button{background:#e4efca;border:0}.report-note{font-size:11px;color:var(--muted);line-height:1.8}.stage-list{display:grid;gap:14px}.stage-row{display:flex;justify-content:space-between;font-size:12px}.stage-row span{color:var(--muted)}.risk{max-width:650px;font-size:11px;line-height:1.7}.hint{font-size:10px;color:var(--muted);line-height:1.7}.pool-row{padding:13px 0;border-bottom:1px solid var(--line);font-size:11px;word-break:break-all}.pool-row small{display:block;margin-top:5px}.icon-button{padding:0 8px;background:transparent;border:0;font-size:26px;color:#778777}dialog{width:min(680px,94vw);max-height:88vh;overflow-y:auto;border:1px solid var(--line);border-radius:12px;padding:26px;box-shadow:0 24px 70px #122a2933;color:var(--ink)}dialog::backdrop{background:#14291b80;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-head h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#233f31;color:white;border-radius:8px;padding:13px 23px;max-width:min(700px,90vw);font-size:12px;box-shadow:0 7px 24px #172d2430;z-index:99}footer{display:flex;justify-content:space-between;font-size:9px;color:#9aa495;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.login-story{background:#172b22;color:white;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between}.login-story .eyebrow{color:#bed096}.login-story h1{font-size:48px;font-weight:600;line-height:1.2;margin:20px 0;letter-spacing:-1.5px}.login-story p{color:#aabcab;line-height:1.8;font-size:14px}.login-story small{color:#88a28f}.login-form{display:grid;place-items:center;padding:40px}.login-form>div{width:340px;max-width:100%}.login-form h2{font-size:28px;margin:15px 0 8px}.login-form form{margin:30px 0}.login-form form button{width:100%;margin-top:16px;text-align:left;display:flex;justify-content:space-between;padding:13px 15px}#login-error{color:var(--red);font-size:12px;margin-top:12px}.unsubscribe{max-width:620px;margin:12vh auto;padding:40px;background:white;border-radius:10px}.unsubscribe .brand-mark>span{color:var(--green)}.unsubscribe h1{margin:25px 0 20px}.mobile-hint{display:none}@media(min-width:1550px){.workspace{padding-left:55px;padding-right:55px}}@media(max-width:1150px){.workspace{padding:24px}.sidebar{width:205px;padding-left:15px;padding-right:15px}.workspace{width:calc(100% - 205px);margin-left:205px}.stats{gap:10px}.stat{padding:18px}.topbar-right .date{display:none}.columns,.settings-grid{grid-template-columns:1fr}.table-toolbar{flex-wrap:wrap}.table-toolbar .spacer{margin-left:0}.login-story{padding:40px}.login-story h1{font-size:39px}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:15px}.layout{display:block}.sidebar .brand-mark{font-size:25px}.sidebar .brand-mark>span{font-size:15px}.sidebar nav{display:flex;overflow:auto;margin-top:17px;gap:3px}.sidebar nav button{white-space:nowrap;font-size:10px;padding:9px}.sidebar nav button>span:first-child,.sidebar .nav-label,.sidebar-bottom,.sidebar .brand-mark small,.nav-count{display:none}.workspace{width:100%;margin:0;padding:20px 16px}.topbar h1{font-size:23px}.topbar-right{gap:0}.pill{font-size:9px}.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:27px}.banner{padding:17px;align-items:flex-start;flex-wrap:wrap}.banner button{margin-left:58px;font-size:11px}.welcome{align-items:flex-start}.welcome h2{font-size:21px}.card{padding:18px}.table-card{padding:0}.section-intro{flex-wrap:wrap}.columns,.two-fields,.settings-grid{grid-template-columns:1fr}.table-toolbar input,.table-toolbar select{max-width:none}.login-layout{display:block}.login-story{min-height:330px;padding:25px}.login-story h1{font-size:33px}.login-story small{display:none}.login-form{padding:35px 25px}.login-form>div{width:100%}.report-heading{display:block}.report-heading button{margin-top:16px}.queue-status{flex-wrap:wrap}.queue-status span:nth-child(2){min-width:70%}.card-head{align-items:flex-start}footer span{display:none}}@media print{.sidebar,.topbar-right,button,footer,#toast{display:none!important}.workspace{width:100%;margin:0;padding:0}.layout{display:block}.stats{grid-template-columns:repeat(4,1fr)}.card,.stat,.report-heading{break-inside:avoid}.report-heading,.stat.featured{color:#111;background:white;border:1px solid #ccc}.stat.featured small,.stat.featured .stat-top{color:#555}.report-heading p{color:#555}body{background:white}.topbar{margin-bottom:20px}}

.test-history{margin-top:12px}.test-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5e9e6}.test-row>div:first-child{min-width:0}.test-row strong,.test-row small{display:block;overflow-wrap:anywhere}.test-row small{font-size:12px;color:#64748b;margin-top:4px}.test-row>div:last-child{display:flex;flex-direction:column;gap:8px;align-items:flex-end;flex-shrink:0}.test-row a{font-size:12px}
.sidebar nav button[data-page=forms]{line-height:1.45}.sidebar nav button>span:first-child{flex-shrink:0}.table-wrap td a{overflow-wrap:anywhere}#form-body{min-height:260px}.button{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding:10px 15px;background:white;font-weight:600}
