:root { --ink:#5b4204; --ink-soft:#826723; --gold:#f7c84f; --gold-deep:#dca92c; --cream:#fff7df; --paper:#fffdf5; }
[hidden] { display:none !important; }
* { box-sizing:border-box; }
html { min-width:320px; background:#fff4d3; }
body { margin:0; color:var(--ink); background:radial-gradient(circle at 10% 0%,rgba(247,200,79,.24),transparent 30rem),linear-gradient(180deg,#fff4d3 0%,#fffaf0 52%,#fff3c8 100%); font-family:"Noto Sans SC","Microsoft YaHei",sans-serif; }
.shell { width:min(calc(100% - 48px),1440px); margin:0 auto; padding:24px 0 56px; }
.topbar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:4px 0 20px; color:#826723; font-size:13px; font-weight:800; }
.topbar a { color:inherit; text-decoration:none; }
.topbar a:hover { text-decoration:underline; }
.hero,.card { border:2px solid rgba(123,86,6,.32); border-radius:22px; background:rgba(255,253,245,.92); box-shadow:0 12px 30px rgba(105,75,5,.08); }
.hero { padding:28px 28px 30px; box-shadow:0 20px 50px rgba(105,75,5,.12); }
.eyebrow { margin:0 0 8px; color:#b98b19; font-size:12px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
h1 { margin:0; font-size:clamp(34px,7vw,64px); line-height:1.04; letter-spacing:-.06em; }
.hero > p:last-child { max-width:670px; margin:18px 0 0; color:var(--ink-soft); font-size:15px; line-height:1.85; }
.form { display:grid; gap:18px; margin-top:18px; }
.card { padding:24px; }
.card-header { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:18px; }
h2 { margin:0; font-size:22px; letter-spacing:-.03em; }
h3 { margin:0; font-size:15px; }
small,.hint { color:#9a7c30; font-size:12px; line-height:1.6; }
.field-label { display:block; margin:0 0 8px; font-size:14px; font-weight:900; }
.field-label b { color:#bb401e; }
.input,.textarea { width:100%; border:2px solid rgba(123,86,6,.28); border-radius:13px; outline:none; color:#342400; background:#fffdf5; font:inherit; font-size:15px; }
.input { min-height:48px; padding:11px 14px; }
.textarea { min-height:104px; padding:12px 14px; resize:vertical; }
.input:focus,.textarea:focus { border-color:var(--gold-deep); box-shadow:0 0 0 4px rgba(247,200,79,.24); }
.lookup-hint { margin:-5px 0 12px; }
.lookup-actions button,.secondary-button { min-height:36px; padding:7px 13px; border:1px solid rgba(123,86,6,.34); border-radius:999px; color:var(--ink); background:#fff9e8; cursor:pointer; font:inherit; font-size:12px; font-weight:900; }
.lookup-actions button:hover,.secondary-button:hover { border-color:var(--gold-deep); background:#fff7d8; }
.lookup-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:-5px 0 16px; padding:12px 13px; border:1px solid rgba(123,86,6,.22); border-radius:13px; color:var(--ink-soft); background:rgba(247,200,79,.16); font-size:12px; }
.rating-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px; }
.rating-row { display:grid; grid-template-columns:minmax(96px,1fr) auto; gap:12px; align-items:center; padding:13px 12px; border:1px solid rgba(123,86,6,.18); border-radius:15px; background:#fff9e8; }
.rating-row > strong { min-width:0; font-size:14px; line-height:1.45; overflow-wrap:anywhere; }
.rating-scale { display:grid; grid-template-columns:auto repeat(5,25px) auto; align-items:center; gap:5px; color:#a07b24; font-size:11px; white-space:nowrap; }
.rating-scale label { position:relative; display:grid; place-items:center; width:25px; height:25px; border:2px solid rgba(123,86,6,.42); border-radius:50%; cursor:pointer; background:#fffdf5; }
.rating-scale input,.choice input { position:absolute; width:1px; height:1px; opacity:0; }
.rating-scale label:has(input:checked),.choice:has(input:checked) { border-color:#9a6c00; background:var(--gold); box-shadow:0 0 0 3px rgba(247,200,79,.24); }
.rating-scale i { font-style:normal; font-size:10px; }
.statement-list { display:grid; gap:12px; }
.statement-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:14px 15px; border:1px solid rgba(123,86,6,.18); border-radius:15px; background:#fff9e8; }
.statement-row legend { padding:0; font-size:14px; font-weight:800; line-height:1.55; }
.choices { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.choice { position:relative; display:inline-flex; min-width:44px; min-height:38px; align-items:center; justify-content:center; padding:7px 10px; border:2px solid rgba(123,86,6,.3); border-radius:999px; color:var(--ink); background:#fffdf5; cursor:pointer; font-size:13px; font-weight:900; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.primary-button { min-height:50px; padding:12px 22px; border:2px solid #8d6100; border-radius:999px; color:#3d2a00; background:var(--gold); cursor:pointer; font:inherit; font-size:15px; font-weight:900; box-shadow:0 8px 0 #c49522; }
.inline-button { display:inline-block; text-decoration:none; }
.primary-button:hover { background:#ffd866; }
.primary-button:active { transform:translateY(4px); box-shadow:0 4px 0 #c49522; }
.status { margin:12px 0 0; padding:12px 15px; border-radius:13px; color:#694b05; background:rgba(247,200,79,.28); font-size:13px; line-height:1.6; }
.status.error { color:#8d2d19; background:rgba(213,75,37,.12); }
.status.success { color:#286338; background:rgba(88,177,101,.16); }
.review-card { margin-top:18px; }
.review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:18px 0; }
.review-item { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:11px 12px; border-radius:12px; background:#fff9e8; }
.review-item span { color:#96772f; font-size:12px; line-height:1.5; }
.review-item strong { color:var(--ink); font-size:13px; text-align:right; }
.summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.summary-card { padding:15px; border:1px solid rgba(123,86,6,.2); border-radius:15px; background:#fff9e8; }
.summary-card b { display:block; margin:8px 0 10px; color:#a06e00; font-size:13px; }
.bar { display:grid; grid-template-columns:repeat(5,1fr); gap:3px; height:8px; margin-bottom:8px; }
.bar span { border-radius:999px; background:#ead9a8; }
.bar span.active { background:var(--gold-deep); }
.responses { display:grid; gap:12px; }
.response-card { padding:17px; border:1px solid rgba(123,86,6,.2); border-radius:16px; background:#fff9e8; }
.response-head { display:flex; justify-content:space-between; gap:12px; padding-bottom:10px; border-bottom:1px solid rgba(123,86,6,.14); }
.response-head time { color:#a07b24; font-size:11px; }
.response-card > p { color:var(--ink-soft); font-size:13px; line-height:1.65; }
.empty { padding:24px 0; color:var(--ink-soft); text-align:center; }
@media(max-width:760px) { .shell{width:min(calc(100% - 20px),620px);padding-top:12px}.hero,.card{padding:20px 16px;border-radius:19px}h1{font-size:clamp(28px,8.8vw,43px);letter-spacing:-.08em;white-space:nowrap}.rating-grid,.summary-grid,.review-grid{grid-template-columns:1fr}.rating-row{grid-template-columns:minmax(110px,1fr) auto}.rating-scale{grid-template-columns:repeat(5,25px);gap:4px}.rating-scale>span{display:none}.statement-row{grid-template-columns:1fr}.choices{justify-content:flex-start} }
@media(max-width:430px) { .rating-row{grid-template-columns:1fr;gap:9px}.rating-scale{grid-template-columns:auto repeat(5,25px) auto;gap:3px;justify-content:space-between}.rating-scale>span{display:block}.response-head{align-items:flex-start;flex-direction:column}.topbar{font-size:12px} }
