:root{--bg: #f5f7f9;--card: #fff;--text: #1d2b36;--muted: #5d6c78;--line: #d5dde3;--primary: #1565c0;--primary-text: #fff;--warn: #b3261e;--ok: #2e7d32;--banner: #e3f2fd}@media (prefers-color-scheme: dark){:root{--bg: #11181d;--card: #1a242b;--text: #e6edf2;--muted: #9db0bd;--line: #33434d;--primary: #64b5f6;--primary-text: #0b1620;--warn: #ff8a80;--ok: #81c784;--banner: #17354d}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif}.app{max-width:920px;margin:0 auto;padding:16px}header.bar{display:flex;justify-content:space-between;align-items:center;padding:8px 0 16px}header.bar strong{font-size:18px}h1{font-size:24px;margin:8px 0 12px}h2{font-size:18px;margin:0 0 8px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:16px}.hint{color:var(--muted);font-size:14px}.warn{color:var(--warn);font-weight:600;min-height:1.6em}.banner{background:var(--banner);border-radius:8px;padding:10px 14px;margin-bottom:12px}button{font:inherit;min-height:44px;padding:8px 18px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text);cursor:pointer}button.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary);font-weight:600}button:disabled{opacity:.45;cursor:not-allowed}input,select{font:inherit;min-height:44px;padding:6px 10px;border-radius:8px;border:1px solid var(--line);background:var(--card);color:var(--text);width:100%}label.field{display:block;margin-bottom:12px}label.field>span{display:block;margin-bottom:4px;font-weight:600}.actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}.bar-progress{height:10px;background:var(--line);border-radius:5px;overflow:hidden;margin:6px 0 12px}.bar-progress>div{height:100%;background:var(--primary)}.topline{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px}.photos{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width: 640px){.photos{grid-template-columns:1fr}}.photo{background:#222;border-radius:8px;min-height:180px;display:flex;align-items:center;justify-content:center;color:#ddd;overflow:hidden}.photo img{width:100%;height:auto;display:block}.score-row{display:flex;gap:8px;margin:4px 0 10px}.score-row button{flex:1;min-width:44px;font-weight:700;font-size:18px}.score-row button.chosen{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.tags{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0}.tags button{min-height:36px;padding:4px 12px;border-radius:18px}.tags button.chosen{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.extra{margin:0 0 12px;padding:8px 12px;border-left:3px solid var(--line)}.sticky{position:sticky;bottom:0;background:var(--bg);padding:8px 0 12px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;z-index:10;padding:12px}.overlay img{max-width:100%;max-height:80vh;cursor:pointer}.sessions{list-style:none;padding:0;margin:0}.sessions li{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line)}.sessions li:last-child{border-bottom:0}.example{display:flex;gap:16px;margin:12px 0}.example div{width:120px;height:80px;border-radius:10px;background:#90a4ae;color:#fff;font-size:30px;font-weight:700;display:flex;align-items:center;justify-content:center}table{width:100%;border-collapse:collapse;margin:8px 0}th,td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line)}code{background:var(--banner);padding:2px 6px;border-radius:6px}nav.tags{margin-bottom:12px}
