:root{font-family:Space Grotesk,Segoe UI,system-ui,sans-serif;line-height:1.5;font-weight:400;color:var(--ink);background-color:var(--surface-alt);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--surface: #fdfbf7;--surface-alt: #f1ede6;--ink: #1d2622;--muted: #4a5950;--accent: #1f7a6b;--accent-strong: #125548;--accent-soft: #e3f2ee;--warning: #f4b968;--error: #d66a5c;--success: #3a9a6e;--success-soft: #e6f5ed;--success-text: #1e6b45;--shadow: 0 20px 60px rgba(25, 34, 30, .1);--radius: 20px;--border: #d7d9d4;--input-bg: #fefdfb;--mini-list-bg: #f4f1ec;--divider: #ece8e2;--warning-bg: #fff4e1;--warning-text: #7a4a10;--error-bg: #ffe9e6;--error-text: #7a2b22;--cal-color: #1a7a6b;--date-color: #6b7f74}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#f7f2ea,#eef2ee 40%,#e6efe9)}#root{min-height:100vh}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.app{max-width:1200px;margin:0 auto;padding:clamp(24px,5vw,48px) clamp(16px,6vw,6vw) clamp(40px,8vw,80px);display:flex;flex-direction:column;gap:clamp(20px,3vw,28px)}.app-header{display:flex;gap:24px;align-items:stretch;justify-content:space-between;flex-wrap:wrap}.hero{flex:1;min-width:260px}.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:.75rem;color:var(--accent);font-weight:600;margin:0 0 12px}.hero h1{font-family:Fraunces,Times New Roman,serif;font-size:clamp(2.5rem,4vw,3.5rem);margin:0 0 12px}.subtitle{margin:0;color:var(--muted);max-width:520px}.auth-card{background:var(--surface);border-radius:var(--radius);padding:20px 24px;box-shadow:var(--shadow);display:flex;align-items:center;gap:16px;min-width:240px}.meta-value{margin:0;font-weight:600}.auth-card .meta-value:not(.muted){color:var(--accent-strong)}.tabs{display:flex;flex-wrap:wrap;gap:12px}.tab{border:none;background:var(--surface-alt);color:var(--muted);padding:10px 18px;min-height:44px;border-radius:999px;cursor:pointer;transition:transform .2s ease,background .2s ease}.tab:hover:not(.active){background:var(--surface)}.tab.active{background:var(--accent-soft);color:var(--accent-strong);font-weight:600}.panel{background:transparent;animation:rise .5s ease both}.section{display:flex;flex-direction:column;gap:20px}.section-header h2{margin:0;font-family:Fraunces,Times New Roman,serif;font-size:clamp(1.4rem,3vw,1.8rem);color:var(--ink)}.section-header h2:before{content:"";display:inline-block;width:4px;height:.8em;background:var(--accent);border-radius:2px;margin-right:10px;vertical-align:baseline;position:relative;top:.05em}.section-header p{margin:4px 0 0;color:var(--muted)}.card{background:var(--surface);border-radius:var(--radius);padding:clamp(16px,3vw,20px) clamp(16px,3vw,24px);box-shadow:var(--shadow);animation:fadeUp .5s ease both;border-left:3px solid var(--accent-soft)}.form{display:grid;gap:16px}.field{display:grid;gap:6px}.field label{font-size:.9rem;color:var(--muted)}input,select{border:1px solid var(--border);border-radius:12px;padding:10px 12px;min-height:44px;font-size:1rem;background:var(--input-bg);color:var(--ink)}input:focus-visible,select:focus-visible{outline:2px solid var(--accent);border-color:var(--accent)}.inline-group{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));align-items:end}.button{border:none;border-radius:999px;padding:10px 18px;min-height:44px;font-size:.95rem;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.button.primary{background:var(--accent);color:#fff;box-shadow:0 10px 20px #1f7a6b4d}.button.ghost{background:transparent;color:var(--accent-strong);border:1px solid var(--accent)}.button:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.button:disabled{opacity:.5;cursor:not-allowed}.list{display:grid;gap:16px}.list-header{display:flex;align-items:center;justify-content:space-between}.list-header h3,.card>h3{color:var(--accent-strong)}.list-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--divider)}.list-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-row:last-child{border-bottom:none}.list-row>div{min-width:0;overflow:hidden}.list-row span{display:block;font-size:.9rem}.list-row .cal-value{color:var(--cal-color);font-weight:500}.list-row .meta-text{color:var(--date-color)}.row-actions{display:flex;gap:8px}.mini-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.mini-list li{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:12px;background:var(--mini-list-bg);min-width:0}.mini-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-list li span:last-child{color:var(--cal-color);font-weight:500;flex-shrink:0}.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}.detail h4{margin:0 0 6px}.detail-actions{margin-top:16px}.summary-card{margin-top:12px;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,var(--accent-soft) 0%,#daf0e8 100%);border:1px solid rgba(31,122,107,.12);display:flex;justify-content:space-between;align-items:center}.summary-card strong{color:var(--accent-strong);font-size:1.1rem}.alert{padding:12px 16px;border-radius:12px;font-weight:500}.alert.warning{background:var(--warning-bg);color:var(--warning-text)}.alert.error{background:var(--error-bg);color:var(--error-text)}.form-error{color:var(--error);margin:0}.muted{color:var(--muted)}.pill{background:var(--accent-soft);color:var(--accent-strong);padding:4px 10px;border-radius:999px;font-size:.8rem;font-weight:500}.pill.cal-pill{background:linear-gradient(135deg,var(--accent-soft) 0%,#d6ede5 100%);color:var(--accent-strong)}.empty-state{background:var(--surface);padding:40px;border-radius:var(--radius);text-align:center;box-shadow:var(--shadow)}.empty-state h2{margin-top:0;font-family:Fraunces,Times New Roman,serif}.empty-state p{max-width:420px;margin:0 auto 20px}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:720px){.auth-card{width:100%;justify-content:space-between}.list-row{flex-direction:column;align-items:flex-start}.list-row .button.ghost,.row-actions .button.ghost{padding:8px 14px}.tabs{gap:8px}.tab{padding:10px 14px;font-size:.9rem}.empty-state{padding:28px 20px}}@media(max-width:480px){.app-header{gap:16px}.hero{min-width:0}.eyebrow,.hero h1{margin-bottom:8px}.tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px}.tabs::-webkit-scrollbar{display:none}.tab{white-space:nowrap;flex-shrink:0}.row-actions{width:100%;justify-content:flex-end}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
