:root{color:#1e2523;background:#f7f6f1;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--surface: #ffffff;--surface-strong: #f1f5f4;--line: #d7dfdc;--text-muted: #64726e;--teal: #187c72;--teal-soft: #d8efeb;--coral: #d95d4f;--amber: #b57911;--green: #2f7a44;--ink: #1e2523;--shadow: 0 12px 34px rgba(30, 37, 35, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;overflow-x:hidden}button,input,select,textarea{font:inherit}button{min-height:40px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer}button:hover,button:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid rgba(24,124,114,.26);outline-offset:2px}input,select,textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:10px 12px}textarea{min-height:88px;resize:vertical}.app-shell{width:min(1120px,100%);min-height:100vh;margin:0 auto;padding:18px 16px 88px}.app-header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.app-header h1,.section-heading h2,.content-panel h3,.form-panel h3{margin:0;letter-spacing:0}.app-header h1{font-size:clamp(24px,4vw,36px);line-height:1.15}.eyebrow{margin:0 0 6px;color:var(--teal);font-size:13px;font-weight:700}.secondary-nav,.button-row,.quick-actions,.form-grid,.inline-input{display:flex;gap:8px}.secondary-nav{flex-wrap:wrap;justify-content:flex-end}.header-actions{display:grid;gap:8px;justify-items:end}.secondary-nav__button,.bottom-nav__button,.button-like{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.secondary-nav__button{padding:0 10px}.secondary-nav__button.is-active,.bottom-nav__button.is-active{border-color:var(--teal);background:var(--teal-soft);color:#0f5b52;font-weight:700}.app-main{min-height:calc(100vh - 180px)}.page-stack{display:grid;gap:14px}.section-heading{display:grid;gap:4px}.section-heading h2{font-size:24px}.section-heading p,.muted,.empty-state p,.item-list span,.rich-list span,.summary-card small{color:var(--text-muted)}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.summary-card,.content-panel,.form-panel,.empty-state,.loading-panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.summary-card{display:grid;gap:8px;min-height:104px;padding:14px}.summary-card span{color:var(--text-muted);font-size:13px}.summary-card strong{font-size:22px;line-height:1.1;overflow-wrap:anywhere}.summary-card--good strong{color:var(--green)}.summary-card--warn strong{color:var(--amber)}.summary-card--danger strong{color:var(--coral)}.content-panel,.form-panel,.empty-state,.loading-panel{padding:16px}.form-panel,.stage-notes,.inline-form{display:grid;gap:12px}.form-panel label,.attachment-fields,.file-input{display:grid;gap:6px}.form-panel label span,.attachment-fields legend,.file-input span{color:var(--text-muted);font-size:13px;font-weight:700}.form-grid{align-items:start}.form-grid>*{flex:1 1 0;min-width:0}.primary-button{border-color:var(--teal);background:var(--teal);color:#fff;font-weight:700}.secondary-button,.text-button{border-color:var(--teal);color:var(--teal);font-weight:700}.text-button{min-height:34px;padding:0 10px;background:transparent}.panel-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin-bottom:12px}.panel-heading>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.item-list,.rich-list,.task-list,.attachment-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.item-list li,.rich-list li,.task-list li{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong)}.item-list li{display:grid;align-items:start;justify-content:stretch}.rich-list li>div:first-child,.task-list li>div{display:grid;gap:3px;min-width:0}.rich-list strong,.item-list strong,.task-list strong{overflow-wrap:anywhere}.list-actions,.amount-stack{display:grid;gap:6px;justify-items:end;min-width:120px}.status-chip{display:inline-flex;width:fit-content;gap:5px;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;background:#eef1f0;color:#4b5552}.status-chip--good{background:#dff2e4;color:var(--green)}.status-chip--warn{background:#fff2cc;color:var(--amber)}.status-chip--danger{background:#ffe0dc;color:var(--coral)}.stage-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px}.stage-tab{display:grid;justify-items:start;gap:2px;min-height:58px;padding:8px 10px}.stage-tab small{color:var(--text-muted)}.stage-tab--active{border-color:var(--amber);background:#fff2cc}.stage-tab--active small{color:var(--amber)}.stage-tab--completed{border-color:var(--green);background:#dff2e4}.stage-tab--completed small{color:var(--green)}.stage-tab--skipped{background:#eef1f0;color:var(--text-muted)}.stage-tab.is-active{border-color:var(--teal);background:var(--teal-soft)}.task-toggle{width:40px;flex:0 0 40px;border-radius:50%;font-weight:800}.task-toggle--todo{border-color:#cfd8d5;background:#fff;color:var(--text-muted)}.task-toggle--doing{border-color:var(--amber);background:#fff2cc;color:var(--amber)}.task-toggle--done{border-color:var(--green);background:#dff2e4;color:var(--green)}.task-toggle--skipped{border-color:#cfd8d5;background:#eef1f0;color:var(--text-muted)}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.quick-actions button{min-height:48px;padding:0 10px}.attachment-fields{min-width:0;margin:0;border:1px dashed var(--line);border-radius:8px;padding:12px}.inline-input{align-items:center}.inline-input input{min-width:0}.file-input{border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fff}.file-input input,.button-like input{width:1px;height:1px;overflow:hidden;position:absolute;opacity:0}.attachment-list li{padding:8px 10px;border-radius:8px;background:#fff;color:var(--text-muted);overflow-wrap:anywhere}.attachment-note{margin:0;font-size:13px}.inline-form{grid-template-columns:minmax(0,1fr) auto;align-items:center}.button-like{min-height:40px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:var(--surface);cursor:pointer}button svg,.button-like svg,.status-chip svg{flex:0 0 auto}.sync-account{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.sync-account strong{overflow-wrap:anywhere}.sync-error{color:var(--coral)}.notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;border-radius:8px;padding:10px 12px}.notice--error{background:#ffe0dc;color:#8b261d}.notice--success{background:#dff2e4;color:#1d5d32}.icon-button{width:32px;min-height:32px;padding:0}.loading-panel{display:grid;min-height:240px;place-items:center;color:var(--text-muted)}.bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:10;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(1120px,100%);margin:0 auto;border-top:1px solid var(--line);background:#f7f6f1f0;padding:8px 12px 12px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-nav__button{min-width:0;min-height:54px;flex-direction:column;gap:3px;font-size:12px}@media(max-width:760px){.app-shell{padding:14px 12px 86px}.app-header{display:grid}.secondary-nav{justify-content:start}.header-actions{justify-items:start}.summary-grid,.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.inline-input,.panel-heading,.rich-list li{display:grid}.list-actions,.amount-stack{justify-items:start;min-width:0}}@media(max-width:420px){.summary-grid,.quick-actions{grid-template-columns:1fr}.secondary-nav__button span{display:none}.inline-form{grid-template-columns:1fr}}
