:root{font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Garamond,serif;line-height:1.5;font-weight:400;color:#1f1b16;background-color:#f6f1e7;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--ink: #1f1b16;--muted: #6b5f54;--paper: #f6f1e7;--sun: #f9b44b;--leaf: #2f6b4f;--berry: #b33b24;--stone: #e7ded0;--shadow: rgba(31, 27, 22, .08)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 15% 20%,rgba(249,180,75,.25),transparent 50%),radial-gradient(circle at 90% 10%,rgba(47,107,79,.18),transparent 55%),linear-gradient(180deg,#f9f5ee,#f3eadc,#efe4d3);color:var(--ink)}#app{max-width:1100px;margin:0 auto;padding:40px 20px 64px}.page{display:grid;gap:28px}.top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:20px}.brand{display:flex;align-items:center;gap:16px}.brand-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#2f6b4f,#1f4d37);color:#f6f1e7;font-weight:700;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 12px 30px #1f1b161f}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.2em;font-size:.72rem;color:var(--muted)}h1{margin:0;font-size:clamp(2rem,4vw,3.2rem)}.meta{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:var(--muted)}.meta-label{padding:6px 12px;border-radius:999px;background:#efe4d3;font-weight:600}.panel{background:#ffffffa6;border-radius:24px;padding:24px;box-shadow:0 16px 40px var(--shadow);border:1px solid rgba(31,27,22,.06)}.view-switch{display:inline-flex;gap:12px;flex-wrap:wrap}.view-button.is-active{background:#2f6b4f1f;color:#1f4d37;border-color:#2f6b4f59}.actions{display:flex;justify-content:flex-end;margin-bottom:16px;gap:12px;flex-wrap:wrap}.btn{border:none;border-radius:999px;padding:10px 18px;font-size:.95rem;font-weight:600;cursor:pointer;font-family:inherit;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.btn.primary{background:linear-gradient(135deg,#2f6b4f,#1f4d37);color:#f6f1e7;box-shadow:0 10px 20px #1f1b1626}.btn.primary:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.btn.ghost{background:transparent;color:var(--muted);border:1px solid rgba(31,27,22,.2)}.btn:hover:not(:disabled){transform:translateY(-1px)}.status{display:inline-flex;align-items:center;gap:10px;font-size:.95rem;color:var(--muted)}.status.loading:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 6px #f9b44b33;animation:pulse 1.6s infinite ease-in-out}.status.error{color:var(--berry)}.status.idle{color:var(--leaf)}.list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:14px}.item{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-radius:16px;background:#fffaf2;border:1px solid rgba(31,27,22,.06);animation:rise .35s ease;gap:16px}.item-name{font-size:1.05rem;font-weight:600}.badges{display:flex;gap:8px;align-items:center;font-family:Courier Prime,Courier New,monospace;font-size:.8rem}.badge{padding:6px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.06em;font-weight:600}.state-ok{background:#2f6b4f1f;color:var(--leaf)}.state-low{background:#f9b44b33;color:#9a5c06}.state-crit{background:#b33b2426;color:var(--berry)}.nature-ess{background:#1f1b1614;color:#2f2b26}.nature-opt{background:#1f1b160d;color:#574f47}.item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.courses-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.household-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.household-meta{display:inline-flex;align-items:center;gap:8px}.household-section{margin-top:24px}.household-section h3{margin:0 0 12px;font-size:1.1rem}.household-list .item-actions{align-items:flex-end}.hint{margin:6px 0 0;color:var(--muted)}.toggle{display:inline-flex;align-items:center;gap:10px;padding:6px 12px;border-radius:999px;background:#1f1b160d;border:1px solid rgba(31,27,22,.12);font-weight:600;cursor:pointer}.toggle-label{letter-spacing:.08em;text-transform:uppercase}.toggle input{appearance:none;width:42px;height:22px;border-radius:999px;background:#1f1b1633;position:relative;outline:none;transition:background .2s ease}.toggle input:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s ease;box-shadow:0 2px 6px #1f1b1633}.toggle input:checked{background:#2f6b4f80}.toggle input:checked:after{transform:translate(20px)}.btn.mini{padding:6px 10px;font-size:.8rem;border-radius:10px}.state-panel{display:grid;gap:8px;justify-items:end}.state-choices{display:flex;gap:6px}.state-status{min-height:18px;font-size:.8rem;color:var(--muted)}.state-status.loading{color:var(--leaf)}.state-status.error{color:var(--berry)}.nature-panel{display:grid;gap:8px;justify-items:end}.nature-choices{display:flex;gap:6px}.nature-status{min-height:18px;font-size:.8rem;color:var(--muted)}.nature-status.loading{color:var(--leaf)}.nature-status.error{color:var(--berry)}.empty,.error{margin-top:20px;padding:22px;border-radius:18px;background:#fffaf2;border:1px dashed rgba(31,27,22,.18)}.empty h2,.error h2{margin:0 0 8px}.form-panel{background:#ffffffe6}.form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.form{display:grid;gap:16px}.field{display:grid;gap:8px;font-size:.95rem;color:var(--muted)}.field input,.field select{padding:12px 14px;border-radius:12px;border:1px solid rgba(31,27,22,.15);background:#fff;font-size:1rem;font-family:inherit;color:var(--ink)}.form-status{min-height:20px;font-size:.9rem;color:var(--muted)}.form-status.loading{color:var(--leaf)}.form-status.error{color:var(--berry)}.form-actions{display:flex;gap:12px;justify-content:flex-end}.hidden{display:none}@keyframes pulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.2);opacity:1}}@keyframes rise{0%{transform:translateY(6px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:720px){.top,.courses-header{flex-direction:column;align-items:flex-start}.item{flex-direction:column;align-items:flex-start;gap:12px}.item-actions{align-items:flex-start;width:100%}.badges{flex-wrap:wrap}}
