:root{--cream:#f6f3ee;--white:#fff;--ink:#302c28;--muted:#78726c;--brown:#755342;--accent:#9c5d40;--line:#e7e0d8;--soft:#eee7de;--nav:#18232b;--blue:#376a83;--radius:20px;--shadow:0 12px 36px #4737240b}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',Arial,sans-serif;font-size:16px;line-height:1.6;letter-spacing:-.025em}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,2.2vw,40px);line-height:1.34;letter-spacing:-.055em}h2{font-size:24px;line-height:1.35}h3{font-size:18px;line-height:1.4}p+p{margin-top:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:13px 15px;min-height:48px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #9c5d4015}input[type=checkbox]{width:21px;height:21px;min-height:21px;padding:0;flex:none;accent-color:var(--brown)}label{display:block;font-size:14px;font-weight:650;margin:16px 0 7px}svg{width:22px;height:22px;flex-shrink:0}a{color:var(--accent)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:11px;font-weight:700;transition:background .15s,transform .15s;text-decoration:none}.btn:hover:not(:disabled){filter:brightness(.96)}.btn:active:not(:disabled){transform:translateY(1px)}.primary{background:var(--brown);color:#fff}.outline{background:transparent;border-color:var(--line);color:var(--ink)}.large{width:100%;min-height:58px;padding:16px 24px;font-size:17px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:10px}.icon-btn:hover{background:#75635310}.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--brown);min-height:40px;font-size:14px;font-weight:650}.text-btn svg{width:16px;height:16px}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:var(--accent);margin-bottom:10px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#ede5da;color:var(--brown);border-radius:30px;font-size:12px;font-weight:700;padding:5px 11px}.pill.neutral{background:#eef1f4;color:#617481}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:25px;font-weight:750;letter-spacing:.1em;line-height:1.16}.brand small{display:block;font-size:8px;letter-spacing:.13em;font-weight:550;margin-top:7px}.brand-mark{width:44px;height:44px;border:1px solid #866c5040;border-radius:50%;display:grid;place-items:center;color:var(--brown)}.brand-mark svg{width:27px;height:27px}.brand-dark{color:#fff;font-size:22px}.brand-dark .brand-mark{color:#d1b69b;border-color:#ffffff24}.brand-dark small{color:#adbac1}.kiosk-header{display:flex;align-items:center;justify-content:space-between;padding:22px 48px;background:var(--cream);border-bottom:1px solid var(--line);min-height:98px;gap:15px}.header-tools{display:flex;align-items:center;gap:14px}.mode-label{font-size:12px;letter-spacing:.07em;color:var(--muted)}.welcome{max-width:1680px;margin:40px auto;display:grid;grid-template-columns:1.1fr 1fr;min-height:720px;gap:80px;padding:0 48px}.welcome-visual{border-radius:24px;overflow:hidden;position:relative;min-height:600px;background:#4d382b}.welcome-visual>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;opacity:.9}.welcome-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#30241930,#22170f10 30%,#20170df0)}.hero-word{position:absolute;left:42px;bottom:48px;color:#fff;z-index:1}.hero-word>span{font-size:12px;letter-spacing:.17em;color:#e5c7ab}.hero-word h1{font-size:clamp(40px,3.7vw,65px);margin:16px 0 24px;font-weight:650}.hero-word p{font-size:18px;color:#e7d9cc}.welcome-panel{display:flex;flex-direction:column;justify-content:center;padding:30px 0;max-width:520px}.welcome-panel h2{font-size:clamp(30px,2.8vw,46px);line-height:1.36;margin-bottom:24px}.welcome-panel .large{margin-top:20px}.welcome-panel .outline{margin-top:10px}.welcome-meta{display:flex;gap:25px;margin:28px 0 20px;font-size:13px;color:var(--muted)}.welcome-meta span{display:flex;align-items:center;gap:7px}.welcome-meta svg{width:18px;height:18px}.legal-note{font-size:12px;line-height:1.7;color:#8d847a;margin-top:20px}.center-shell{max-width:1080px;margin:50px auto 70px;padding:0 32px}.center-shell.narrow{max-width:680px}.center-shell>h1{margin:12px 0 15px}.step-label{font-size:12px;letter-spacing:.05em;font-weight:700;color:var(--accent)}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:28px}.panel h3{margin-bottom:14px}.panel p{font-size:15px;line-height:1.85}.consent-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:30px}.consent-copy p{max-height:340px;overflow-y:auto}.consent-checks{margin:24px 0 0}.check-row{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.5;margin:13px 0;font-weight:500}.consent-checks .btn{margin-top:18px}.practice{text-align:center}.practice-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;margin:30px auto 20px;max-width:340px}.practice-card p{font-size:14px;color:var(--muted);margin:10px 0 20px}.practice-symbol{font-size:70px;line-height:1;color:var(--brown);margin-bottom:18px}.practice-steps{display:flex;gap:12px;justify-content:center;margin:20px}.practice-steps span{padding:6px 20px;background:var(--soft);border-radius:30px;color:#9e958a}.practice-steps .done{background:#dce8dc;color:#526d52}.goal{text-align:center}.guide-avatar{width:58px;height:58px;border-radius:20px;background:#e9ddcc;color:var(--brown);margin:20px auto;display:grid;place-items:center}.guide-avatar svg{width:28px;height:28px}.goal-cards{border:1px solid var(--line);background:white;border-radius:20px;padding:22px;margin:28px 0 16px}.goal-cards>div{display:flex;justify-content:space-between;padding:16px 5px;border-bottom:1px solid var(--line)}.goal-cards>div:first-child{justify-content:center;gap:30px;font-size:24px}.goal-cards>div:last-child{border:0}.goal-cards strong{font-size:20px}.goal>.large{margin-top:24px}.task-bar{max-width:1824px;margin:24px 48px 0;display:flex;align-items:center;gap:24px;padding:17px 25px;background:#eae2d7;border-radius:14px;font-size:15px}.task-bar>div{display:flex;align-items:center;gap:7px}.task-caption{font-size:13px;font-weight:700;color:#786753;margin-right:8px}.task-bar>.text-btn{margin-left:auto}.shop-layout{max-width:1824px;padding:26px 48px 26px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 392px;gap:30px;align-items:start}.menu-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:23px}.menu-heading h1{font-size:32px}.menu-heading .eyebrow{margin-bottom:5px}.menu-tabs{display:flex;align-items:center;gap:12px;margin-bottom:24px}.menu-tabs button{display:inline-flex;align-items:center;gap:9px;padding:13px 24px;border-radius:12px;background:#fff;border:1px solid var(--line);min-height:50px;font-size:16px;font-weight:650}.menu-tabs small{font-size:11px;opacity:.7}.menu-tabs button.active{background:var(--brown);border-color:var(--brown);color:white}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.menu-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff;min-width:0;box-shadow:0 3px 10px #40332103}.menu-card.selected{border-color:#a38465;box-shadow:0 0 0 1px #a38465}.product-image{display:block;width:100%;height:clamp(135px,11.5vw,210px);padding:0;position:relative;background:#ede8e2;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.product-image:hover img{transform:scale(1.025)}.image-info{position:absolute;right:12px;bottom:10px;border-radius:50%;background:#fff8;width:26px;height:26px;display:grid;place-items:center;color:#665340}.image-info svg{width:16px;height:16px}.selected-mark{position:absolute;top:11px;left:11px;border-radius:20px;background:#ffffffec;color:var(--brown);padding:4px 9px;display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700;box-shadow:0 3px 8px #0001}.selected-mark svg{width:14px;height:14px}.product-body{padding:15px 18px 16px}.product-body>small{font-size:10px;letter-spacing:.055em;color:#918578}.product-body h2{font-size:20px;margin-top:3px}.product-body p{color:var(--muted);font-size:12px;line-height:1.5;margin-top:7px;min-height:36px}.product-buy{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}.product-buy strong{display:block;font-size:18px}.product-buy span{font-size:11px;color:var(--muted)}.add-btn{height:44px;width:44px;display:grid;place-items:center;border-radius:50%;background:#eee6dc;color:var(--brown);flex-shrink:0}.add-btn.is-selected{background:var(--brown);color:white}.catalog-note{color:#8b8278;font-size:11px;margin-top:17px}.order-pane{position:sticky;top:24px}.guide-panel{border:1px solid #dfd2bf;background:#efe6da;border-radius:18px;padding:22px;margin-bottom:18px}.guide-title{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:750}.guide-title>span{height:39px;width:39px;background:#dac8ae;border-radius:12px;display:grid;place-items:center;color:#6c4e35}.guide-title small{display:block;font-size:11px;margin-top:2px;color:#806f5e;font-weight:500}.guide-copy{font-size:15px;line-height:1.82;margin-top:15px;min-height:140px;overflow-wrap:anywhere}.basket-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.basket-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.basket-title h2{font-size:20px}.basket-title h2 span{font-size:16px;background:var(--soft);padding:1px 7px;margin-left:6px;border-radius:7px}.basket-item{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);min-height:110px}.basket-item img{width:64px;height:72px;object-fit:cover;border-radius:9px;background:#e6ded1}.basket-item>div{flex:1;min-width:0}.basket-item h3{font-size:15px;line-height:1.5}.basket-item p{font-size:12px;color:var(--muted)}.basket-item .text-btn{font-size:12px;min-height:26px}.small-icon{min-width:34px;min-height:34px}.small-icon svg{width:16px;height:16px}.basket-empty{display:flex;align-items:center;gap:12px;padding:24px 0;border-bottom:1px solid var(--line);min-height:110px;font-size:13px;color:var(--muted)}.basket-empty>span{height:54px;width:54px;background:var(--cream);border-radius:10px;display:grid;place-items:center}.basket-empty .text-btn{display:flex;justify-content:flex-start}.order-totals{padding:22px 0 18px}.order-totals>div{display:flex;justify-content:space-between;align-items:center;padding:5px 0;font-size:14px;color:#6d645a}.order-totals strong{font-size:23px;letter-spacing:-.03em;color:var(--ink)}.order-totals small{font-size:15px}.basket-panel .large{font-size:14px;padding:16px 10px;gap:6px}.basket-panel .large svg{width:17px;height:17px}.no-purchase{width:100%;margin-top:7px;color:#8b7969;font-size:12px}.save-state{font-size:10px;color:#858279;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px}.save-state svg{width:12px;height:12px}.connection{display:none;align-items:center;gap:12px;background:#f5dfad;color:#624c21;padding:13px 32px;font-size:14px;position:sticky;top:0;z-index:10}.connection.show{display:flex}.connection span{flex:1}.connection button{background:#624c21;color:#fff;padding:8px 14px;border-radius:7px;white-space:nowrap}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#17171488;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}.modal{background:var(--cream);border-radius:24px;position:relative;max-height:92dvh;max-width:950px;width:100%;padding:34px;overflow:auto;box-shadow:0 25px 80px #0003}.modal-close{position:absolute;right:15px;top:15px;background:#ffffffc0;z-index:2}.product-modal{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.product-modal>img{width:100%;height:420px;border-radius:18px;object-fit:cover}.product-modal h2{font-size:32px;margin-bottom:14px}.product-modal p{font-size:15px;line-height:1.8}.detail-facts{margin:20px 0;border-block:1px solid var(--line);padding:12px 0}.detail-facts>div{display:flex;justify-content:space-between;padding:7px 0;font-size:15px}.product-modal .large{margin-top:20px}.confirm-panel{max-width:580px;margin:auto;text-align:center;padding:20px}.confirm-panel h2{font-size:28px;margin-bottom:20px}.confirm-panel p{color:var(--muted);line-height:1.9}.confirm-totals{display:flex;gap:24px;justify-content:center;margin:25px 0;font-size:19px}.button-row{display:flex;gap:10px;margin-top:22px}.button-row>.btn{flex:1}.button-row.wrap{flex-wrap:wrap}.button-row.wrap>.btn{flex:none}.completion-icon{width:80px;height:80px;display:grid;place-items:center;background:#e0e9df;color:#597054;border-radius:50%;margin:20px auto 25px}.completion-icon svg{width:40px;height:40px}.done-page{text-align:center}.debrief{text-align:left;margin:28px 0}.survey-item{border:0;padding:24px 0;border-bottom:1px solid var(--line);margin:0}.survey-item legend{font-size:16px;padding:0}.likert{display:flex;gap:12px;margin-top:18px}.likert label{flex:1;position:relative;margin:0;cursor:pointer}.likert input{position:absolute;opacity:0;min-height:0;height:1px;width:1px}.likert span{display:grid;place-items:center;min-height:46px;border-radius:10px;background:white;border:1px solid var(--line)}.likert input:checked+span{background:var(--brown);color:white;border-color:var(--brown)}.likert input:focus-visible+span{outline:3px solid var(--accent)}.scale-ends{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:8px}#survey-form>.large{margin-top:28px}#skip-survey{display:flex;margin:8px auto}#toast{position:fixed;z-index:150;bottom:28px;left:50%;transform:translateX(-50%) translateY(30px);max-width:min(90vw,660px);padding:14px 22px;border-radius:12px;background:#242823;color:white;font-size:14px;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 6px 28px #0003}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.loading{height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:28px;letter-spacing:.1em}.loading small{font-size:14px;letter-spacing:0;color:var(--muted)}.demo-bar{display:flex;align-items:center;justify-content:center;gap:14px;background:#293b46;color:#fff;min-height:38px;padding:7px 20px;font-size:12px}.demo-bar>b{background:#ebd2a5;color:#3d3324;border-radius:5px;padding:1px 6px;white-space:nowrap}.demo-bar button{font-size:12px;color:white;border:1px solid #ffffff55;border-radius:6px;padding:3px 11px;white-space:nowrap}.demo-bar button:hover{background:#ffffff20}
/* Research Admin */
body[data-page=admin]{background:#f4f6f8;--muted:#7b838c;--line:#e4e8ed;--brown:#304f60;--accent:#376a83}.admin-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.admin-sidebar{background:var(--nav);color:#c4cdd4;padding:30px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;min-height:650px}.admin-sidebar .brand{font-size:19px;gap:10px}.admin-sidebar .brand-mark{width:36px;height:36px}.admin-sidebar .brand small{font-size:6px}.side-section{font-size:9px;letter-spacing:.16em;color:#788b96;margin:45px 13px 14px}.admin-sidebar nav{display:flex;flex-direction:column;gap:8px}.admin-sidebar nav button{text-align:left;display:flex;align-items:center;gap:13px;padding:14px 12px;border-radius:10px;font-size:14px;color:#acbbc5}.admin-sidebar nav button.active{background:#314754;color:#fff}.admin-sidebar nav button:hover{background:#263943;color:#fff}.admin-sidebar nav svg{width:19px;height:19px}.side-bottom{margin-top:auto;padding:30px 10px 0}.side-bottom small{display:block;color:#8195a1;font-size:10px;line-height:1.8;margin:12px 0 25px}.server-status{font-size:11px;color:#bdcbd3;display:flex;align-items:center;gap:7px}.server-status i{width:6px;height:6px;background:#84b79c;border-radius:50%}.side-link{color:#afc0ca;display:flex;gap:8px;align-items:center;font-size:12px;padding:8px 0}.side-link svg{width:16px;height:16px}.admin-main{min-width:0}.admin-topbar{display:flex;justify-content:space-between;align-items:center;min-height:84px;padding:18px 40px;border-bottom:1px solid var(--line);background:#fff;gap:15px}.admin-topbar>div{display:flex;align-items:center;gap:12px;font-size:12px;color:#64727e}.breadcrumb{font-size:12px;color:#8c969d}.breadcrumb b{color:#415663;margin-left:6px}.admin-avatar{width:33px;height:33px;background:#dfE8ed;color:#304f60;border-radius:50%;display:grid;place-items:center;font-weight:700;margin-left:8px}.admin-page{max-width:1740px;padding:36px 40px 55px;margin:auto}.admin-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.admin-title-row h1{font-size:32px}.admin-title-row p{font-size:13px;margin-top:10px}.admin-title-row .eyebrow{font-size:10px;margin-bottom:6px}.study-selector{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:#fff;padding:13px 18px;border-radius:12px;margin-bottom:25px}.study-selector label{margin:0;white-space:nowrap;color:#66717b;font-size:12px}.study-selector select{border:0;min-height:35px;padding:3px 30px 3px 6px;flex:1;font-weight:650;font-size:14px}.admin-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;min-width:0;margin-bottom:24px;box-shadow:0 4px 12px #233a4c02}.admin-card>h2,.card-heading h2{font-size:18px;font-weight:750}.admin-card>p{margin-top:14px;font-size:14px;line-height:1.9}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.metric-card{padding:22px}.metric-card>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#788491}.metric-card>div span{background:#f0f4f7;color:#6f8595;display:grid;place-items:center;width:32px;height:32px;border-radius:9px}.metric-card>div svg{width:17px;height:17px}.metric-card>strong{display:block;font-size:38px;line-height:1.3;margin:15px 0 9px;letter-spacing:-.055em;font-weight:680}.metric-card small{font-size:13px;color:#94a0a8;font-weight:500;margin-left:8px}.metric-card>p{font-size:11px;margin-top:7px;color:#8c969e;line-height:1.5}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.dashboard-grid .admin-card{margin-bottom:24px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.card-heading select{width:auto;min-height:35px;font-size:12px;padding:4px 12px}.progress-title{display:flex;justify-content:space-between;align-items:end;margin:22px 0 12px}.progress-title>strong{font-size:34px;font-weight:650;line-height:1}.progress-title small{font-size:15px;color:#a0a8ae;font-weight:500}.progress-title>span{font-size:16px;color:var(--blue)}.progress-track{height:8px;background:#edf1f4;border-radius:8px;overflow:hidden}.progress-track>i{display:block;background:var(--blue);height:100%;border-radius:8px}.cell-bars{margin:22px 0}.cell-bars>div{display:grid;grid-template-columns:48px 1fr 25px;align-items:center;gap:14px;margin:11px 0;font-size:11px;color:#78828b}.cell-bars>div>div{height:6px;background:#f0f3f5;border-radius:10px;overflow:hidden}.cell-bars i{display:block;height:100%;background:#93aab9;border-radius:10px}.cell-bars b{text-align:right;color:#566976}.group-chart{margin-top:24px}.group-row{margin:20px 0}.group-label{display:flex;align-items:center;gap:12px;font-size:13px}.group-label>strong{width:35px;height:35px;background:#eef3f6;display:grid;place-items:center;border-radius:9px;color:var(--blue)}.group-label>div{flex:1}.group-label small{display:block;font-size:10px;color:#9aa2a8;margin-top:3px}.group-label>b{font-size:24px;color:#435967;font-weight:650}.group-track{height:10px;background:#f2f4f6;border-radius:8px;margin-top:14px;overflow:hidden}.group-track i{display:block;height:100%;border-radius:8px}.arm-A{background:#496b83}.arm-B{background:#bc9376}.effect-diff{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#8d979f}.effect-diff strong{color:#526672;font-size:15px}.locked-state{text-align:center;padding:22px 10px 20px;color:#85929b}.locked-state>svg{width:30px;height:30px;margin:15px 0}.locked-state h3{font-size:15px;color:#556c7a;margin-bottom:10px}.locked-state p{font-size:12px;line-height:1.8}.data-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.data-table th{font-size:11px;text-align:left;color:#8995a0;font-weight:600;background:#f8fafb;padding:12px 13px;border-block:1px solid var(--line)}.data-table td{padding:13px;border-bottom:1px solid #f0f2f4;color:#61707a}.data-table td b{font-weight:650;color:#3a4e5b}.data-table small{display:block;font-size:9px;color:#a0a9b0;margin-top:2px}.data-table .text-btn{font-size:11px;min-height:30px}.table-wrap{overflow:auto;max-width:100%}.table-empty{font-size:13px;color:#8c969e;text-align:center;padding:45px 15px}.status-tag{font-size:10px;padding:4px 8px;border-radius:6px;background:#eef1f4;color:#74828b}.status-checkout{background:#e7f0ed;color:#547c6f}.status-active{background:#edf2f9;color:#5c7d9e}.status-withdrawn,.status-technical_missing{background:#f4ece5;color:#a08366}.data-table .y-1{color:#587f6d}.data-table .y-0{color:#896d56}.audit-note{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#a0aab1;margin-top:5px}.audit-note svg{width:13px;height:13px}.empty-state{padding:65px 20px;text-align:center;background:white;border:1px dashed #c9d2d9;border-radius:20px}.empty-icon{margin:0 auto 22px;width:64px;height:64px;border-radius:20px;background:#edf2f5;color:#8095a2;display:grid;place-items:center}.empty-state h2{font-size:22px;margin-bottom:15px}.empty-state p{font-size:14px;color:#86939d;line-height:1.8;margin-bottom:24px}.section-action{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:20px}.section-action p{font-size:13px;color:#83919b}.definition-list{margin:18px 0}.definition-list>div{display:grid;grid-template-columns:120px 1fr;gap:18px;border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.definition-list dt{color:#8a959e}.definition-list dd{margin:0;overflow-wrap:anywhere;color:#4d626f}.notice{font-size:12px;line-height:1.9;border:1px solid #e7deca;background:#f9f5eb;border-radius:12px;padding:16px 20px;margin-bottom:22px;color:#887753}.hash-box{margin-top:24px;padding:18px;background:#f6f8fa;color:#8d9aa3;font-size:11px;font-family:ui-monospace,monospace;overflow-wrap:anywhere;border-radius:10px}.admin-menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.admin-menu{border:1px solid var(--line);border-radius:12px;display:flex;gap:12px;align-items:center;overflow:hidden;padding-right:10px;min-width:0}.admin-menu img{width:88px;height:96px;object-fit:cover}.admin-menu>div{min-width:0}.admin-menu small{font-size:9px;display:block;color:#9aa6ae}.admin-menu b{display:block;font-size:13px;margin:3px 0}.admin-menu span{font-size:11px;color:#7a8993}.stimulus{font-size:16px!important;line-height:1.9!important;color:#586c79}.export-card{max-width:850px;text-align:center;margin-inline:auto;padding:44px}.export-icon{margin:0 auto 20px;border-radius:18px;background:#eaf0f4;color:#4a6b7f;display:grid;place-items:center;width:66px;height:66px}.export-files{border:1px solid var(--line);border-radius:12px;text-align:left;margin:28px 0}.export-files>div{padding:17px 22px;border-bottom:1px solid var(--line)}.export-files>div:last-child{border:0}.export-files b{display:block;font-family:ui-monospace,monospace;font-size:13px;color:#476071}.export-files span{font-size:11px;color:#92a0aa}.admin-login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-brand{background:var(--nav);color:#fff;padding:70px;display:flex;flex-direction:column;justify-content:center}.login-brand>span{font-size:12px;letter-spacing:.2em;color:#91a7b4;margin:80px 0 18px}.login-brand h1{font-family:Georgia,serif;font-size:clamp(42px,4.2vw,72px);font-weight:400;letter-spacing:-.04em}.login-brand p{font-size:19px;color:#abbac3;margin-top:28px;line-height:1.8}.login-form{width:100%;max-width:500px;align-self:center;justify-self:center;padding:50px 30px}.login-form h2{font-size:34px;margin-bottom:15px}.login-form p{font-size:14px}.login-form form{margin:30px 0 20px}.login-form .btn{margin-top:24px}.login-error{color:#b36a55;font-size:12px}.create-study{max-width:640px;margin:auto;padding:10px}.create-study h2{margin-bottom:14px;font-size:28px}.create-study>p{font-size:14px}.create-study form .large{margin-top:24px}.create-study .notice{margin-top:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.code-list{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.code-list>div{display:flex;justify-content:space-between;gap:20px;padding:13px 20px;border-bottom:1px solid var(--line);font-size:13px}.code-list code{color:#376a83;user-select:all}.session-detail{max-width:800px;margin:auto;padding:12px}.session-detail>p{font-size:13px;color:#80909b;margin:10px 0 22px}.detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:18px;border-radius:12px;background:#eaf0f4}.detail-summary small{display:block;font-size:10px;color:#8c9ba6;margin-bottom:6px}.detail-summary b{font-size:14px;font-weight:650}.timeline{max-height:400px;overflow:auto;border:1px solid var(--line);border-radius:12px;margin-top:22px}.timeline details{border-bottom:1px solid var(--line);padding:12px 18px}.timeline summary{cursor:pointer;font-size:12px;color:#4c6473}.timeline summary span{font-family:ui-monospace,monospace;font-weight:600}.timeline summary time{float:right;font-size:10px;color:#9aa8b0}.timeline pre{font-size:11px;color:#748591;background:#f9fbfc;padding:15px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.missing-action{margin-top:24px}.missing-action>.btn{margin-top:12px}.missing-action p{margin-top:14px}
@media(min-width:1800px){.task-bar{margin-inline:auto}.shop-layout{grid-template-columns:minmax(0,1fr) 410px;gap:34px}.product-image{height:205px}.menu-heading h1{font-size:36px}.product-body{padding:16px 22px 18px}.product-body h2{font-size:22px}.product-body p{font-size:13px;min-height:22px}.product-buy strong{font-size:20px}.product-buy span{font-size:12px}.guide-copy{font-size:16px;min-height:145px}.basket-item{min-height:112px}.guide-panel{padding:24px}.basket-panel{padding:24px}.admin-page{padding:38px 48px 55px}.metric-card{padding:26px}.metric-card>strong{font-size:42px}.admin-card{padding:28px}}
@media(max-width:1280px){.kiosk-header{padding:18px 28px}.task-bar{margin:20px 28px 0;gap:18px;padding:14px 18px;font-size:13px}.shop-layout{padding:24px 28px;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.menu-heading h1{font-size:25px}.menu-heading>.small{display:none}.product-body{padding:13px}.product-body h2{font-size:18px}.product-body p{font-size:11px}.guide-copy{font-size:13px;min-height:140px}.guide-panel,.basket-panel{padding:18px}.basket-item img{width:52px;height:63px}.menu-grid{gap:15px}.product-image{height:150px}.admin-shell{grid-template-columns:215px 1fr}.admin-sidebar{padding:27px 15px}.admin-sidebar .brand{font-size:17px}.admin-sidebar .brand small{font-size:6px}.admin-sidebar .brand-mark{width:32px;height:32px}.admin-page{padding:28px}.metric-grid{gap:14px}.metric-card{padding:17px}.metric-card>strong{font-size:32px}.admin-menu-grid{grid-template-columns:repeat(2,1fr)}.welcome{gap:45px;padding:0 28px;margin-top:28px;min-height:650px}.welcome-visual{min-height:580px}.admin-topbar{padding-inline:28px}}
@media(max-width:1000px){.brand{font-size:22px}.task-bar{flex-wrap:wrap;gap:9px 20px}.task-caption{width:100%;margin:0}.task-bar>.text-btn{margin-left:0}.shop-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.menu-grid{grid-template-columns:repeat(2,1fr)}.product-image{height:150px}.order-pane{top:20px}.guide-copy{font-size:13px;min-height:0}.menu-heading h1{font-size:24px}.menu-tabs button{font-size:13px;padding:11px 14px}.welcome{min-height:620px;gap:32px}.welcome-visual{min-height:540px}.hero-word{left:26px;bottom:30px}.hero-word p{font-size:15px}.welcome-panel h2{font-size:33px}.welcome-panel .muted{font-size:14px}.dashboard-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:190px 1fr}.admin-sidebar .brand{font-size:15px;gap:7px}.admin-sidebar .brand-mark{width:26px;height:26px}.admin-sidebar .brand-mark svg{width:19px;height:19px}.admin-sidebar .brand small{font-size:5px}.admin-sidebar nav button{font-size:12px;padding:12px 8px;gap:10px}.admin-page{padding:24px}.admin-title-row{align-items:start}.admin-title-row h1{font-size:27px}.admin-title-row>.btn{font-size:12px;white-space:nowrap;padding:11px}.admin-topbar{padding:16px 24px}.admin-topbar>div>span:last-child{display:none}.admin-card{padding:21px}.login-brand{padding:45px}.login-brand h1{font-size:48px}.login-brand p{font-size:16px}.consent-grid{grid-template-columns:1fr}.consent-copy p{max-height:none}}
@media(max-width:760px){.kiosk-header{padding:16px 20px;min-height:82px}.brand{font-size:19px;gap:8px}.brand-mark{width:34px;height:34px}.brand-mark svg{width:23px;height:23px}.brand small{font-size:6px;margin-top:5px}.header-tools{gap:4px}.mode-label{display:none}.header-tools>.text-btn{font-size:12px;padding:0 4px}.welcome{display:flex;flex-direction:column;margin:20px auto;padding:0 20px;gap:24px;min-height:0}.welcome-visual{min-height:290px;height:290px;border-radius:20px}.hero-word{left:24px;bottom:28px}.hero-word h1{font-size:36px;margin:12px 0}.hero-word p{font-size:13px;line-height:1.7}.hero-word>span{font-size:9px}.welcome-panel{max-width:none;padding:6px 6px 25px}.welcome-panel h2{font-size:29px}.welcome-panel h2 br{display:none}.welcome-meta{margin:22px 0 8px}.legal-note{font-size:11px}.center-shell{padding:0 22px;margin:30px auto 45px}.center-shell>h1{font-size:29px}.center-shell>p{font-size:14px}.panel{padding:22px}.panel p{font-size:14px}.consent-grid{margin-top:22px;gap:15px}.check-row{font-size:13px;gap:10px;margin:14px 0}.task-bar{margin:14px 16px 0;border-radius:12px;padding:13px 16px;gap:4px 14px;font-size:11px}.task-bar svg{width:16px;height:16px}.task-caption{font-size:11px}.task-bar>.text-btn{font-size:10px;margin-left:auto;min-height:28px}.shop-layout{display:flex;flex-direction:column;padding:22px 16px;gap:22px}.menu-pane{width:100%}.menu-heading{margin-bottom:16px}.menu-heading h1{font-size:24px}.menu-heading .eyebrow{font-size:9px}.menu-tabs{gap:10px;margin-bottom:17px}.menu-tabs button{flex:1;font-size:14px;justify-content:center;padding:12px 10px}.menu-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-image{height:150px}.product-body{padding:12px}.product-body h2{font-size:17px;line-height:1.4}.product-body>small{font-size:9px}.product-body p{font-size:11px;min-height:33px;line-height:1.5}.product-buy{margin-top:13px;gap:5px}.product-buy strong{font-size:17px}.product-buy span{font-size:10px}.add-btn{width:37px;height:37px}.add-btn svg{width:18px;height:18px}.order-pane{position:static;width:100%}.guide-copy{font-size:15px;min-height:0}.guide-panel,.basket-panel{padding:21px}.guide-panel{margin-bottom:16px}.basket-item img{width:62px;height:67px}.basket-item h3{font-size:16px}.basket-item p{font-size:13px}.basket-panel .large{font-size:16px}.no-purchase{min-height:45px;font-size:13px}.save-state{font-size:11px}.catalog-note{font-size:10px;line-height:1.7}.modal-backdrop{padding:12px}.modal{padding:26px 20px;border-radius:20px;max-height:94dvh}.product-modal{display:flex;flex-direction:column;gap:22px}.product-modal>img{height:230px;object-fit:cover}.product-modal h2{font-size:26px}.product-modal>div{width:100%}.confirm-panel{padding:22px 4px}.confirm-panel h2{font-size:25px}.confirm-panel p{font-size:13px}.confirm-totals{font-size:16px;gap:16px}.goal-cards>div:first-child{font-size:20px;gap:20px}.goal-cards>div{font-size:14px}.goal-cards strong{font-size:18px}.likert{gap:7px}.likert span{font-size:13px;min-height:43px}.survey-item legend{font-size:14px}.demo-bar{font-size:10px;padding:7px 12px;gap:8px;flex-wrap:wrap}.demo-bar>span{font-size:9px}.demo-bar button{font-size:10px;padding:4px 8px}.connection{font-size:11px;padding:12px 16px;gap:8px}.connection svg{width:17px;height:17px}.connection button{font-size:11px;padding:8px 10px}.admin-shell{display:block}.admin-sidebar{position:static;height:auto;min-height:0;padding:18px 16px}.admin-sidebar .brand{font-size:19px}.admin-sidebar .brand-mark{width:33px;height:33px}.admin-sidebar .brand small{font-size:6px}.side-section,.side-bottom{display:none}.admin-sidebar nav{flex-direction:row;margin-top:22px;gap:6px;overflow-x:auto;padding-bottom:1px}.admin-sidebar nav button{font-size:11px;flex-shrink:0;padding:9px 10px;gap:6px}.admin-sidebar nav svg{width:14px;height:14px}.admin-topbar{min-height:60px;padding:8px 18px}.admin-topbar .breadcrumb{font-size:10px}.admin-topbar>div{gap:4px}.admin-page{padding:23px 16px 35px}.admin-title-row{gap:12px;margin-bottom:20px}.admin-title-row h1{font-size:27px}.admin-title-row p{font-size:11px;line-height:1.7}.admin-title-row .eyebrow{font-size:8px}.admin-title-row>.btn{min-height:40px;padding:9px 11px;font-size:11px;gap:5px}.admin-title-row>.btn svg{width:15px;height:15px}.study-selector{gap:8px;padding:10px 12px;margin-bottom:18px}.study-selector label{display:none}.study-selector select{min-width:0;font-size:12px}.study-selector .pill{font-size:10px;padding:4px 8px}.metric-grid{gap:12px}.metric-card{padding:15px;margin-bottom:0}.metric-card>div{font-size:11px}.metric-card>div span{display:none}.metric-card>strong{font-size:33px;margin-top:13px}.metric-card>p{font-size:10px;line-height:1.6}.metric-grid{margin-bottom:18px}.dashboard-grid{gap:0}.admin-card{padding:19px;margin-bottom:18px}.card-heading h2,.admin-card>h2{font-size:16px}.card-heading .text-btn{font-size:10px}.card-heading{gap:10px;margin-bottom:16px}.pill{font-size:10px}.data-table{font-size:11px}.data-table th,.data-table td{padding:10px}.admin-menu-grid{gap:11px;grid-template-columns:1fr 1fr}.admin-menu{display:block;padding:0}.admin-menu img{height:120px;width:100%}.admin-menu>div{padding:10px 12px}.admin-menu b{font-size:13px}.admin-menu span{font-size:10px}.definition-list>div{grid-template-columns:85px 1fr;gap:13px;font-size:12px}.export-card{padding:26px 18px}.export-files>div{padding:14px 16px}.export-files span{font-size:10px}.export-card .large{font-size:13px;padding:13px 10px}.admin-login{display:flex;flex-direction:column;min-height:100vh}.login-brand{padding:30px 25px}.login-brand>span{margin:36px 0 12px;font-size:9px}.login-brand h1{font-size:43px}.login-brand p{display:none}.login-form{padding:38px 25px 55px;max-width:500px}.login-form h2{font-size:28px}.section-action{align-items:flex-start;gap:15px}.section-action p{font-size:11px}.section-action>.btn{font-size:11px;white-space:nowrap;gap:5px;min-height:40px;padding:8px 10px}.section-action>.btn svg{width:14px;height:14px}.form-grid{gap:12px}.create-study{padding:9px 0}.create-study h2{font-size:26px}.create-study>p{font-size:12px}.detail-summary{grid-template-columns:1fr;gap:12px}.detail-summary>div{display:flex;justify-content:space-between;align-items:center}.detail-summary small{margin:0}.timeline details{padding:11px 13px}.session-detail{padding:12px 0}.code-list>div{padding:13px 12px;font-size:11px}.code-list code{font-size:12px}}
@media(max-width:360px){.brand{font-size:17px}.header-tools .icon-btn{min-width:35px}.product-image{height:125px}.product-body{padding:10px}.product-body h2{font-size:15px}.product-body p{font-size:10px}.product-buy strong{font-size:15px}.add-btn{width:32px;height:32px}.task-bar{font-size:10px}.menu-tabs button{font-size:12px}.guide-copy{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.kiosk-header .header-tools,.admin-sidebar,.admin-topbar,.demo-bar,.btn,.text-btn,.icon-btn{display:none!important}.admin-shell{display:block}.admin-page{padding:0}.admin-card{break-inside:avoid}.shop-layout{display:block}.order-pane{position:static}.menu-card{break-inside:avoid}body{background:white}}
/* Single-screen, actual 1920×1080 kiosk layout. Height is budgeted, not clipped. */
@media(min-width:1200px) and (min-height:900px){
 body[data-page=kiosk].in-shop #app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 body[data-page=kiosk].in-shop .kiosk-header{min-height:84px;padding-block:15px;flex:none}
 body[data-page=kiosk].in-shop #kiosk-content{display:flex;flex-direction:column;flex:1;min-height:0}
 body[data-page=kiosk].in-shop .task-bar{flex:none;width:calc(100% - 96px);min-height:58px;margin-top:16px;padding-block:9px}
 body[data-page=kiosk].in-shop .shop-layout{width:100%;flex:1;min-height:0;overflow:auto;align-items:stretch;padding-block:22px}
 body[data-page=kiosk].in-shop .menu-pane{display:flex;flex-direction:column;min-height:0}
 body[data-page=kiosk].in-shop .menu-heading{margin-bottom:14px;flex:none}
 body[data-page=kiosk].in-shop .menu-heading h1{font-size:32px}
 body[data-page=kiosk].in-shop .menu-tabs{margin-bottom:18px;flex:none}
 body[data-page=kiosk].in-shop .menu-grid{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr))}
 body[data-page=kiosk].in-shop .menu-card{display:flex;flex-direction:column;min-height:0}
 body[data-page=kiosk].in-shop .product-image{height:auto;min-height:80px;flex:1}
 body[data-page=kiosk].in-shop .product-image img{object-fit:contain;background:#eee7dd}
 body[data-page=kiosk].in-shop .product-body{flex:none;padding:12px 18px}
 body[data-page=kiosk].in-shop .product-body h2{font-size:20px}
 body[data-page=kiosk].in-shop .product-body p{font-size:12px;min-height:20px}
 body[data-page=kiosk].in-shop .product-buy{margin-top:9px}
 body[data-page=kiosk].in-shop .catalog-note{margin-top:12px;flex:none}
 body[data-page=kiosk].in-shop .order-pane{position:static;overflow:auto;min-height:0}
 body[data-page=kiosk].in-shop .guide-copy{min-height:106px;font-size:15px}
 body[data-page=kiosk].in-shop .guide-panel{padding:21px}
 body[data-page=kiosk].in-shop .basket-panel{padding:22px}
}
/* On a phone, expose the same explanation before menu exploration. */
@media(max-width:760px){
 .order-pane{display:contents}
 .guide-panel{order:0;width:100%;margin-bottom:0}
 .menu-pane{order:1}
 .basket-panel{order:2;width:100%}
 .basket-item .small-icon{min-width:44px;min-height:44px}
 .basket-item .text-btn{min-height:34px}
 .product-image img{object-fit:contain;background:#eee7dd}
}
/* Reserve the identical explanation region in A and B; prevent cart position from
   becoming an additional treatment. Overflow remains readable, never clipped. */
.guide-copy{height:160px!important;min-height:160px!important;overflow-y:auto}
