:root{--ink:#1e2821;--ink-soft:#3a493e;--paper:#f7f6f1;--panel:#fffefa;--mist:#eef0e7;--line:#d9ddd2;--muted:#667068;--lime:#d5e25a;--lime-deep:#aebd2a;--danger:#a84740;--shadow:0 12px 32px rgba(42,52,43,.08)}
body{font-family:MiSans,"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;letter-spacing:.012em;background:radial-gradient(circle at 80% -10%,#eef1dc 0,transparent 30%),var(--paper)}
h1,h2,h3,.brand{font-family:MiSans,"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;font-weight:700}h1,h2,h3{letter-spacing:-.025em}.eyebrow,.survey-meta,.pill,.links{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;letter-spacing:.08em}
header{height:78px;background:rgba(247,246,241,.9);backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}header nav a{position:relative;padding:8px 0;color:var(--muted);transition:color .18s}header nav a:hover{color:var(--ink)}header nav a::after{content:"";height:1px;background:var(--ink);position:absolute;inset:auto 0 2px;transform:scaleX(0);transition:transform .18s}header nav a:hover::after{transform:scaleX(1)}.brand{font-weight:600;letter-spacing:.02em}
.button,.studio button.button{border-radius:8px;border:1px solid var(--ink);padding:12px 17px;min-height:43px;box-shadow:0 2px 0 rgba(0,0,0,.12);font-weight:600;transition:transform .16s,box-shadow .16s,background .16s}.button:hover,.studio button.button:hover{transform:translateY(-2px);box-shadow:0 6px 0 rgba(30,40,33,.16)}.button:active,.studio button.button:active{transform:translateY(1px);box-shadow:none}.button span{font-size:18px}
.input,textarea,select{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:12px 13px;font-family:inherit;font-size:14px;line-height:1.5;transition:border .16s,box-shadow .16s,background .16s}.input:hover,textarea:hover,select:hover{border-color:#aeb6a9}.input:focus,textarea:focus,select:focus{outline:none;border-color:var(--ink-soft);box-shadow:0 0 0 3px rgba(130,155,88,.18);background:#fff}textarea{min-height:96px}
.take{max-width:790px}.take>h1{font-size:clamp(38px,5vw,58px)}.survey-meta{margin-top:36px;color:var(--muted);border-color:var(--line)}.progress{height:8px;border-radius:99px;background:#e2e5dd;overflow:hidden}.progress i{border-radius:inherit;background:linear-gradient(90deg,#819b52,var(--lime-deep)}
.q{padding:30px 0;border-color:var(--line)}.q legend{font-family:MiSans,"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;font-size:20px;font-weight:700;line-height:1.55}.q legend::first-letter{color:var(--lime-deep)}.q textarea{background:#fff;box-shadow:inset 0 1px 0 rgba(0,0,0,.02)}
.choices{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:11px;margin-top:20px}.choices .choice{display:flex;align-items:center;gap:11px;min-height:54px;margin:0;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:11px 14px;font-size:14px;line-height:1.45;cursor:pointer;transition:border .16s,transform .16s,box-shadow .16s,background .16s}.choices .choice:hover{border-color:#9cac89;transform:translateY(-1px);box-shadow:0 6px 14px rgba(45,61,43,.06)}.choices .choice:has(input:checked){border-color:#758f50;background:#f3f8d7;box-shadow:0 0 0 2px rgba(180,198,77,.23)}.choices .choice input{appearance:none;flex:0 0 19px;width:19px;height:19px;margin:0;border:1.5px solid #a9b2a6;border-radius:50%;background:#fff;display:grid;place-content:center}.choices .choice input[type="checkbox"]{border-radius:5px}.choices .choice input:checked{border-color:var(--ink-soft);background:var(--ink-soft)}.choices .choice input:checked::after{content:"";width:7px;height:4px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg) translate(1px,-1px)}
.previewbar{margin:-10px 0 32px;border-radius:9px;background:#edf4c1;color:#445319;padding:12px 14px;font-weight:600}.previewbar a{color:inherit}.profile{margin-top:36px;padding:24px;background:linear-gradient(135deg,#f0f3e6,#fbfbf5);border:1px solid #dce2c9;border-radius:14px}.section-title{border-color:var(--line)}.section-title h2{font-size:27px}.notice{border-radius:8px;background:#edf0e7}.error{border-radius:8px}
.studio{max-width:1120px}.studio-toolbar{top:78px;background:rgba(247,246,241,.93);backdrop-filter:blur(14px);border-color:var(--line);padding:15px 0}.studio-toolbar>#save-state{font-size:12px;color:var(--muted)}.studio-toolbar button,.studio>button{border-radius:7px;border-color:var(--line);background:var(--panel);font-size:13px;font-weight:600;transition:background .16s,border .16s,transform .16s}.studio-toolbar button:hover,.studio>button:hover,.card-tools button:hover,.option-row button:hover{background:var(--mist);border-color:#aab49f}.studio-toolbar #publish{background:#e9f1bb;border-color:#c8d765}.studio-toolbar #publish:hover{background:var(--lime)}
.design-header,.design-card,.design-footer{background:rgba(255,254,250,.96);border-color:var(--line);border-radius:14px;box-shadow:var(--shadow)}.design-header{padding:28px}.design-header>label:first-of-type input{font-family:MiSans,"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;font-weight:700;color:var(--ink);font-size:30px}.design-card{position:relative;padding:25px}.card-tools{padding-bottom:15px;border-bottom:1px solid #e8ebe4;text-transform:uppercase;letter-spacing:.1em}.card-tools button{font-size:12px;padding:7px 9px;background:#fafbf7}.inline-controls{gap:18px}.inline-controls>label{font-weight:600}.option-editor{margin-top:18px;padding:14px;background:#f5f7f0;border:1px solid #e2e6d9;border-radius:10px}.option-row{gap:9px}.option-row>span{flex:0 0 24px;color:var(--muted);font-size:12px;text-align:center}.option-row button{flex:0 0 33px;padding:8px 3px;border-radius:6px;font-size:14px}.option-editor>button{margin-top:3px;border-style:dashed;color:var(--ink-soft)}.answer-placeholder{border-radius:8px;background:#fafbf7}
.trial{max-width:790px;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.trial progress{height:8px;border-radius:8px}.trial>h1{font-size:44px}.trial .q{background:transparent}.filter-row{padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:9px}.filter-row button{flex:0 0 auto}.result{border-color:var(--line);padding:25px 0}.result h3{font-size:20px}.bar{height:8px;border-radius:99px;overflow:hidden;background:#e6e9e1}.bar i{background:linear-gradient(90deg,#8ea762,var(--lime-deep))}table{background:var(--panel);border-radius:10px;overflow:hidden}th{background:#edf1e3;color:var(--ink);font-weight:600}th,td{border-color:#dfe3d9}
@media(max-width:700px){header{height:66px}.studio-toolbar{top:66px}.choices{grid-template-columns:1fr}.q legend{font-size:18px}.profile{padding:17px}.design-header>label:first-of-type input{font-size:24px}.studio-toolbar>div{display:flex;gap:5px;flex-wrap:wrap}.studio-toolbar button{padding:8px 9px;font-size:12px}.card-tools{gap:8px}.card-tools>div{display:flex;gap:4px;flex-wrap:wrap}.card-tools button{font-size:11px;padding:6px}.inline-controls{flex-direction:column;align-items:stretch;gap:0}.option-row{align-items:stretch;flex-wrap:wrap}.option-row input{width:calc(100% - 36px);flex:1}.option-row button{margin-left:33px}.option-row button+button{margin-left:0}.trial{margin:12px 0;padding:19px}}
