:root{--brand: #a63a2b;--brand-deep: #7e2a1e;--violet: #b08a44;--ink: #1d1a16;--muted: #6b6258;--line: #e5dac9;--bg: #f7f2e8;--soft: #fbf7ee;--success: #2f6b58;--danger: #a63a2b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:var(--ink);background:#efe7d8;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#app{min-height:100%}body{margin:0;background:#efe7d8}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none;padding:0}a{color:inherit;text-decoration:none}ul,ol{margin:0;padding:0;list-style:none}.app-shell{position:relative;width:100%;max-width:480px;min-height:100vh;margin:0 auto;background:var(--bg);overflow-x:hidden;box-shadow:0 0 70px #3d2c1824}.page{min-height:100vh;padding:20px 20px calc(96px + env(safe-area-inset-bottom))}.page.no-tab{padding-bottom:calc(28px + env(safe-area-inset-bottom))}.page-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.page-top-left{display:flex;align-items:center;gap:12px;min-width:0}.back-btn{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 auto;border-radius:12px;background:#fffdf8;color:#6b6258;box-shadow:0 4px 12px #3d2c180f}.back-btn svg{width:18px;height:18px}.eyebrow{margin:0 0 4px;font-size:10px;font-weight:700;letter-spacing:.16em;color:#8a6420;text-transform:uppercase}.page-title{margin:0;color:var(--ink);font-family:Songti SC,STSong,"Noto Serif SC",serif;font-size:26px;font-weight:700;letter-spacing:.01em;line-height:1.2}.page-subtitle{margin:6px 0 0;font-size:12.5px;line-height:1.65;color:var(--muted)}.card{background:#fffdf8;border:1px solid rgba(229,218,201,.86);border-radius:18px;padding:18px;box-shadow:0 8px 24px #3d2c180d}.muted{color:var(--muted)}.mono{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.btn{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 18px;border-radius:14px;font-size:14px;font-weight:700;transition:opacity .2s ease,transform .1s ease}.btn:active{transform:scale(.99)}.btn-primary{color:#fbf7ee;background:linear-gradient(135deg,#b14635,#8e2d20);box-shadow:0 8px 20px #7e2a1e3d}.btn-primary:disabled{opacity:.5;box-shadow:none}.btn-ghost{color:var(--brand);background:#f3e7d7}.btn-block{width:100%}.tag{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:#f3e7d7;color:#8a6420;font-size:10px;font-weight:700}.tag-soft{background:#f1ece2;color:#7b6a58}.empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:54px 20px;color:#8a7b68;font-size:13px;text-align:center}.empty-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:18px;background:#f1e7d8;color:#a68a63}.empty-icon svg{width:26px;height:26px}.field{margin-bottom:18px}.field:last-child{margin-bottom:0}.field-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:13px;font-weight:600;color:var(--ink)}.field-required{color:var(--brand)}.field-help{margin-top:7px;font-size:11.5px;line-height:1.5;color:var(--muted)}.input,.textarea,.select{width:100%;padding:13px 14px;border:1px solid #dfd0bc;border-radius:12px;outline:none;background:#fffdf8;color:var(--ink);font-size:16px;transition:border-color .2s ease,background .2s ease}.input:focus,.textarea:focus,.select:focus{border-color:var(--violet);background:#fffdf8;box-shadow:0 0 0 3px #b08a441a}.textarea{min-height:96px;resize:vertical;line-height:1.65}.choice-row{display:flex;flex-wrap:wrap;gap:8px}.choice{padding:9px 14px;border:1px solid #e5d6c2;border-radius:10px;background:#fffdf8;color:#6b6258;font-size:13px;transition:all .15s ease}.choice.active{border-color:#a63a2b66;background:#f7e9dc;color:var(--brand);font-weight:600}.switch{position:relative;width:46px;height:26px;border-radius:999px;background:#dfd3c2;transition:background .2s ease}.switch:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fffdf8;box-shadow:0 1px 4px #3d2c1833;transition:transform .2s ease}.switch.on{background:var(--success)}.switch.on:after{transform:translate(20px)}.tabbar{position:fixed;bottom:0;left:50%;z-index:50;display:flex;width:100%;max-width:480px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fbf7eef0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transform:translate(-50%)}.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 0;color:#9b8b78;font-size:10.5px;font-weight:600}.tab svg{width:22px;height:22px}.tab.active{color:var(--brand)}.toast-stack{position:fixed;top:22px;left:50%;z-index:999;display:flex;flex-direction:column;gap:8px;width:calc(100% - 40px);max-width:440px;transform:translate(-50%);pointer-events:none}.toast{padding:12px 16px;border-radius:12px;background:#1d1a16eb;color:#fbf7ee;font-size:13px;text-align:center;box-shadow:0 10px 24px #3d2c182e;animation:toast-in .22s ease}.toast.success{background:#2f6b58f5}.toast.error{background:#a63a2bf5}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.fade-enter-active,.fade-leave-active{transition:opacity .18s ease}.fade-enter-from,.fade-leave-to{opacity:0}
