:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f7f4ef;--ink:#20302e;--muted:#68736f;--line:#d8d3c9;--panel:#fffdf8;--green:#174d44;--green-2:#2f7661;--terracotta:#b75d3f;--gold:#c49b4b;--teal:#246f7b;--plum:#75526d;--blue:#315f8d;--danger:#a43c37;--shadow:0 18px 45px #20302e1c;--radius:8px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:linear-gradient(90deg, #174d440f 0 1px, transparent 1px 100%), linear-gradient(180deg, #fbfaf6, var(--paper));min-width:320px;color:var(--ink);background-size:44px 44px,auto;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button,select{cursor:pointer}a{color:inherit}.app-frame{grid-template-columns:280px minmax(0,1fr);width:100%;min-width:0;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf8e0;flex-direction:column;gap:22px;min-width:0;height:100vh;padding:22px 18px;display:flex;position:sticky;top:0}.brand{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;text-decoration:none;display:grid}.brand img{object-fit:contain;width:58px;height:58px}.brand strong{font-family:Georgia,Times New Roman,serif;font-size:1.28rem;line-height:1.05;display:block}.brand small,.mini-label,.eyebrow,.record-kicker{color:var(--muted);font-size:.78rem}.brand small{margin-top:4px;display:block}.nav-list,.property-stack{gap:8px;display:grid}.nav-list{padding-right:4px;overflow:auto}.nav-button,.property-button,.button,.segmented-button,.icon-button{border-radius:var(--radius);color:var(--ink);background:0 0;border:1px solid #0000}.nav-button{text-align:left;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 10px;display:grid}.nav-button:hover,.nav-button.active,.property-button:hover,.property-button.active{background:#174d4414;border-color:#174d4433}.nav-icon,.metric-icon,.control-icon,.button-icon,.status-dot{flex:none;place-items:center;display:inline-grid}.nav-icon,.metric-icon,.control-icon{width:28px;height:28px;color:var(--green);background:#174d441c;border-radius:50%}.nav-count{min-width:28px;color:var(--terracotta);text-align:center;background:#b45d3f1f;border-radius:999px;padding:3px 7px;font-size:.74rem;font-weight:700}.sidebar-footer{border-top:1px solid var(--line);margin-top:auto;padding-top:18px}.mini-label,.eyebrow{text-transform:uppercase;margin:0 0 8px}.property-button{text-align:left;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:7px 10px;display:flex}.property-button small{color:var(--muted)}.workspace{min-width:0;max-width:100%}.topbar{z-index:10;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f7f4efdb;border-bottom:1px solid #d8d3c9e0;justify-content:space-between;align-items:center;gap:18px;min-width:0;padding:18px 28px;display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:1.55rem;line-height:1.15}.topbar-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.search-shell,.select-shell{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);align-items:center;gap:8px;min-height:40px;padding:0 10px;display:flex}.search-shell{width:min(390px,38vw)}.search-shell input,.select-shell select{min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.search-shell input{width:100%}.content{grid-template-columns:minmax(0,1fr);gap:22px;min-width:0;padding:24px 28px 42px;display:grid}.hero-panel{border-radius:var(--radius);min-height:330px;box-shadow:var(--shadow);background:#243632;border:1px solid #20302e24;display:grid;position:relative;overflow:hidden}.hero-panel:before{content:"";background:linear-gradient(90deg, #10221fe0, #10221f7a 42%, #10221f14), var(--hero-image);background-position:50%;background-size:cover;position:absolute;inset:0}.hero-content{color:#fffdf8;align-self:end;gap:16px;max-width:980px;padding:30px;display:grid;position:relative}.hero-content h2{max-width:690px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:2.55rem;font-weight:500;line-height:1.02}.hero-content p{color:#fffdf8d6;max-width:760px;margin:0;font-size:1rem;line-height:1.55}.hero-actions,.toolbar,.chip-row,.inline-actions,.system-actions,.record-meta,.calendar-meta,.tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.button{justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 13px;font-weight:700;text-decoration:none;display:inline-flex}.button.primary{border-color:var(--green);background:var(--green);color:#fffdf8}.button.secondary{color:#fffdf8;background:#fffdf81f;border-color:#fffdf873}.button.neutral{border-color:var(--line);background:var(--panel);color:var(--ink)}.button.warning{color:#7f321e;background:#b75d3f1a;border-color:#b75d3f4d}.layout-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;display:grid}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-6{grid-column:span 6}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.span-12{grid-column:1/-1}.panel,.metric,.record,.vendor-card,.guide-card,.control-card,.calendar-event,.wine-card,.gallery-card,.access-card,.empty-state{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}.panel{padding:18px}.panel-head,.section-head,.metric,.record,.vendor-card,.guide-card,.control-card,.calendar-event,.wine-card,.access-card{gap:10px;display:grid}.panel-head,.section-head{margin-bottom:14px}.panel-head.with-action,.section-head.with-action{grid-template-columns:minmax(0,1fr) auto;align-items:center}.panel h2,.section-head h2,.dialog h2{margin:0;font-size:1.18rem;line-height:1.2}.panel p,.record p,.vendor-card p,.guide-card p,.control-card p,.calendar-event p,.wine-card p,.access-card p,.empty-state p{color:var(--muted);overflow-wrap:anywhere;margin:0;line-height:1.45}.metric{min-height:138px;padding:16px}.metric strong{font-size:1.75rem;line-height:1}.metric small{color:var(--muted);line-height:1.35}.metric-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.weather-value-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.unit-toggle{border:1px solid var(--line);border-radius:var(--radius);background:#68736f14;grid-template-columns:repeat(2,34px);display:inline-grid;overflow:hidden}.unit-toggle button{min-height:30px;color:var(--muted);background:0 0;border:0;font-size:.78rem;font-weight:900}.unit-toggle button.active{background:var(--green);color:#fffdf8}.metric.trend-good{border-color:#2f766157}.metric.trend-watch{border-color:#b75d3f57}.metric.trend-blue{border-color:#246f7b57}.metric.trend-gold{border-color:#c49b4b6b}.record-list,.vendor-grid,.guide-grid,.control-grid,.calendar-list,.wine-grid,.gallery-grid,.access-grid,.compact-list{gap:10px;display:grid}.vendor-grid,.guide-grid,.control-grid,.wine-grid,.gallery-grid,.access-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.record,.vendor-card,.guide-card,.control-card,.calendar-event,.wine-card,.access-card{padding:14px}.record{grid-template-columns:minmax(0,1fr) auto;align-items:start}.record h3,.vendor-card h3,.guide-card h3,.control-card h3,.calendar-event h3,.wine-card h3,.access-card h3{margin:0;font-size:1rem;line-height:1.25}.record-value{white-space:nowrap;font-size:1.06rem;font-weight:800}.chip,.tag,.status-pill{border-radius:999px;align-items:center;min-height:24px;padding:5px 8px;font-size:.76rem;font-weight:800;line-height:1;display:inline-flex}.chip{color:var(--green);background:#174d4414;border:1px solid #174d442e}.tag{color:var(--teal);background:#246f7b1a}.tag.terracotta{color:#8e3f27;background:#b75d3f1f}.tag.gold{color:#7d5b18;background:#c49b4b29}.tag.plum{color:var(--plum);background:#75526d1f}.status-pill.good{color:var(--green-2);background:#2f76611f}.status-pill.watch{color:var(--terracotta);background:#b75d3f1f}.status-pill.neutral{color:var(--muted);background:#68736f1f}.status-dot{background:var(--green-2);border-radius:50%;width:10px;height:10px}.status-dot.watch{background:var(--terracotta)}.status-dot.idle{background:var(--gold)}.calendar-event{grid-template-columns:64px minmax(0,1fr);align-items:start}.date-tile{border-radius:var(--radius);width:58px;height:58px;color:var(--terracotta);background:#b75d3f1a;place-items:center;font-weight:900;display:grid}.date-tile span{color:var(--muted);font-size:.72rem;font-weight:800;display:block}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.month-day,.month-label{border-radius:var(--radius);min-height:72px;padding:8px}.month-label{min-height:auto;color:var(--muted);text-transform:uppercase;font-size:.74rem;font-weight:900}.month-day{border:1px solid var(--line);background:var(--panel);overflow:hidden}.month-day strong{margin-bottom:6px;font-size:.86rem;display:block}.month-dot{color:var(--green);text-overflow:ellipsis;white-space:nowrap;background:#174d4417;border-radius:999px;margin-top:4px;padding:4px 6px;font-size:.68rem;font-weight:800;display:block;overflow:hidden}.progress-bars{gap:12px;display:grid}.bar-row{grid-template-columns:124px minmax(0,1fr) 72px;align-items:center;gap:10px;font-size:.88rem;display:grid}.bar-track{background:#68736f24;border-radius:999px;height:10px;overflow:hidden}.bar-fill{border-radius:inherit;background:var(--green-2);height:100%}.bar-fill.terracotta{background:var(--terracotta)}.bar-fill.teal{background:var(--teal)}.bar-fill.gold{background:var(--gold)}.table-shell{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);overflow:auto}table{border-collapse:collapse;width:100%;min-width:720px}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:11px 12px}th{color:var(--muted);text-transform:uppercase;font-size:.76rem}tr:last-child td{border-bottom:0}.control-card{min-height:175px}.control-card .system-actions{margin-top:auto}.toggle{background:#68736f2e;border:1px solid #68736f38;border-radius:999px;flex:none;align-items:center;width:48px;height:28px;padding:3px;display:inline-flex;position:relative}.toggle:after{content:"";background:var(--panel);border-radius:50%;width:20px;height:20px;transition:transform .16s;box-shadow:0 1px 5px #20302e40}.toggle.on{background:var(--green-2)}.toggle.on:after{transform:translate(20px)}.guide-card a,.vendor-card a,.access-card a{color:var(--green);text-underline-offset:3px;font-weight:800;text-decoration-thickness:2px}.image-card,.gallery-card figure{border-radius:var(--radius);margin:0;overflow:hidden}.image-card img,.gallery-card img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.gallery-card{padding:0;overflow:hidden}.gallery-card figcaption{gap:6px;padding:13px;display:grid}.gallery-card h3{margin:0}.task-item{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;display:grid}.task-item input{width:18px;height:18px;accent-color:var(--green)}.task-item.done strong,.task-item.done p{text-decoration:line-through}.empty-state{text-align:center;padding:20px}.restricted{border-radius:var(--radius);text-align:center;background:#fffdf8a8;border:1px dashed #68736f73;place-items:center;min-height:180px;padding:22px;display:grid}.inline-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.inline-form input{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);min-width:0;min-height:40px;padding:0 10px}.dialog{border-radius:var(--radius);width:min(720px,100vw - 28px);color:var(--ink);background:0 0;border:0;padding:0}.dialog::backdrop{background:#20302e73}.dialog-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);padding:18px}.dialog-head{justify-content:space-between;align-items:start;gap:16px;margin-bottom:16px;display:flex}.icon-button{border-color:var(--line);background:var(--panel);place-items:center;width:36px;height:36px;font-size:1.25rem;display:inline-grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-grid label{color:var(--muted);gap:6px;font-size:.84rem;font-weight:800;display:grid}.form-grid input,.form-grid select{border:1px solid var(--line);border-radius:var(--radius);min-width:0;min-height:42px;color:var(--ink);background:#fff;padding:0 10px}.dialog-actions{justify-content:flex-end;gap:10px;margin:16px 0 0;padding:0;display:flex}.dialog-actions .secondary{border-color:var(--line);background:var(--panel);color:var(--ink)}.dialog-actions .primary{color:#fffdf8}@media (max-width:1120px){.app-frame{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;position:static}.nav-list{max-width:100%;padding-bottom:5px;display:flex;overflow-x:auto}.nav-button{flex:0 0 158px}.sidebar-footer{margin-top:0}.property-stack{grid-template-columns:repeat(3,minmax(0,1fr))}.span-3,.span-4,.span-5,.span-6,.span-7,.span-8{grid-column:span 6}}@media (max-width:760px){.app-frame,.sidebar,.workspace,.topbar,.content{max-width:100vw;overflow-x:hidden}.sidebar,.topbar,.content{padding-left:16px;padding-right:16px}.topbar{flex-direction:column;align-items:stretch}.topbar-actions,.search-shell,.select-shell{width:100%;min-width:0}.topbar-actions{flex-direction:column;align-items:stretch}.property-stack,.layout-grid,.form-grid{grid-template-columns:1fr}.span-3,.span-4,.span-5,.span-6,.span-7,.span-8,.span-12{grid-column:1/-1}.hero-content{width:100%;min-width:0;max-width:100%;padding:22px}.content>*{width:calc(100vw - 32px);max-width:calc(100vw - 32px)}.hero-panel{width:100%;max-width:100%}.hero-content h2{overflow-wrap:break-word;max-width:300px;font-size:1.72rem}.hero-content p{overflow-wrap:break-word;max-width:300px;font-size:.92rem}.hero-actions{grid-template-columns:1fr;align-items:stretch;max-width:300px;display:grid}.hero-actions .button{width:100%;min-width:0}.record,.panel-head.with-action,.section-head.with-action{grid-template-columns:1fr}.panel,.metric,.record,.vendor-card,.guide-card,.control-card,.calendar-event,.wine-card,.gallery-card,.access-card{min-width:0;max-width:100%}.calendar-event{grid-template-columns:1fr}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.month-label{display:none}.bar-row{grid-template-columns:88px minmax(0,1fr)}.bar-row strong{grid-column:1/-1}}
