:root{color:#182421;background:#f6faf7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #182421;--muted: #66736f;--line: #dfe8e2;--panel: #ffffff;--teal: #117c70;--teal-dark: #0b5f56;--coral: #df6a4f;--sun: #f3b43f;--green: #2f8d5b;--blue: #3577a8;--shadow: 0 18px 50px rgba(25, 42, 36, .12)}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{min-height:100vh;padding:24px}.topbar{display:flex;align-items:center;justify-content:space-between;width:min(1120px,100%);margin:0 auto 34px}.brand-button{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0;border:0;color:var(--ink);background:transparent;font-weight:800}.brand-mark{display:inline-grid;width:42px;height:42px;place-items:center;border-radius:8px;color:#fff;background:var(--teal)}.connection{display:inline-flex;min-height:30px;align-items:center;border:1px solid var(--line);border-radius:999px;padding:4px 11px;color:var(--muted);background:#ffffffb8;font-size:.82rem;font-weight:700}.connection.live{color:var(--teal-dark);border-color:#117c7047}.connection.local{color:#8a5f16;border-color:#f3b43f73}.create-layout,.event-layout{width:min(1120px,100%);margin:0 auto}.app-footer{width:min(1120px,100%);margin:34px auto 0;padding:18px 0 4px;color:var(--muted);font-size:.9rem;font-weight:700;text-align:center}.app-footer p{margin:0}.create-layout{display:grid;grid-template-columns:minmax(0,.86fr) minmax(360px,1fr);gap:28px;align-items:start}.intro-panel{min-height:460px;display:flex;flex-direction:column;justify-content:center;padding:22px 0}.eyebrow{margin:0 0 12px;color:var(--coral);font-size:.78rem;font-weight:850;letter-spacing:0;text-transform:uppercase}h1,h2,p{overflow-wrap:anywhere}h1{max-width:680px;margin:0;color:var(--ink);font-size:clamp(2.3rem,5vw,4.9rem);line-height:.96;letter-spacing:0}.intro-copy{max-width:520px;margin:22px 0 0;color:var(--muted);font-size:1.08rem;line-height:1.65}.create-card,.side-panel{border:1px solid var(--line);border-radius:8px;padding:22px;background:#ffffffeb;box-shadow:var(--shadow)}.field-label{display:block;margin-bottom:8px;color:#3f4f4b;font-size:.88rem;font-weight:800}.text-input,.inline-input,.plain-input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;outline:none}.text-input:focus,.inline-input:focus,.plain-input:focus{border-color:#117c70a6;box-shadow:0 0 0 3px #117c701c}.text-input{min-height:46px;padding:0 13px}.title-input{min-height:58px;margin-bottom:22px;font-size:1.35rem;font-weight:800}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-heading h2{margin:0;font-size:1rem}.section-heading span{display:inline-grid;min-width:32px;height:32px;place-items:center;border-radius:999px;color:var(--teal-dark);background:#dff1eb;font-weight:850}.item-editor-list{display:grid;gap:9px}.editable-item{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center}.inline-input{min-height:42px;padding:0 12px;font-weight:720}.icon-button{display:inline-grid;width:42px;height:42px;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff}.icon-button:hover{border-color:#117c706b}.icon-button.subtle{color:#9b5144}.icon-button.add{color:#fff;border-color:var(--teal);background:var(--teal)}.add-row{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:9px;margin-top:14px}.primary-button,.secondary-button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:9px;border-radius:8px;padding:0 17px;border:1px solid transparent;font-weight:850;white-space:nowrap}.primary-button{width:100%;margin-top:18px;color:#fff;background:var(--teal)}.primary-button:hover{background:var(--teal-dark)}.primary-button:disabled{opacity:.58}.primary-button.compact{width:auto;margin:0}.secondary-button{color:var(--ink);background:#fff;border-color:var(--line)}.secondary-button:hover{border-color:#117c7073}.error-message,.notice{margin:14px 0 0;color:#9b3d2e;font-size:.92rem;font-weight:700}.notice{color:var(--teal-dark)}.event-header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.event-header h1{font-size:clamp(2rem,4vw,4rem)}.share-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.view-tabs{display:inline-grid;grid-template-columns:repeat(2,minmax(126px,1fr));gap:8px;margin-bottom:18px;padding:5px;border:1px solid var(--line);border-radius:8px;background:#ffffffb8}.view-tabs button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:7px;color:var(--muted);background:transparent;font-weight:850}.view-tabs button.active{color:#fff;background:var(--teal)}.view-tabs span{display:inline-grid;min-width:24px;height:24px;place-items:center;border-radius:999px;color:var(--teal-dark);background:#dff1eb;font-size:.76rem}.view-tabs button.active span{background:#fff}.event-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}.side-panel{position:sticky;top:20px}.name-input-wrap{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:9px;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#fff}.plain-input{min-height:42px;border:0;padding:0}.plain-input:focus{box-shadow:none}.participant-presets{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}.participant-presets button{min-height:40px;border:1px solid var(--line);border-radius:8px;padding:0 12px;color:var(--ink);background:#fff;font-size:.9rem;font-weight:780;text-align:left}.participant-presets button:hover{border-color:#117c706b}.participant-presets button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.carpool-form-panel{display:grid;gap:9px;margin-top:20px}.carpool-form-panel .field-label{margin-top:5px}.driver-preset-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:4px}.driver-preset-row button{min-height:32px;border:1px solid var(--line);border-radius:999px;padding:0 10px;color:var(--ink);background:#fff;font-size:.78rem;font-weight:800}.driver-preset-row button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}.summary-cell{min-height:76px;border:1px solid var(--line);border-radius:8px;padding:11px;background:#fbfdfc}.summary-cell span{display:block;color:var(--muted);font-size:.78rem;font-weight:750}.summary-cell strong{display:block;margin-top:8px;color:var(--ink);font-size:1.5rem;line-height:1}.filter-panel{margin-top:20px}.owner-filter-list{display:grid;gap:8px}.owner-filter-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:0 11px;color:var(--ink);background:#fff;font-size:.88rem;font-weight:780;text-align:left}.owner-filter-list button:hover{border-color:#117c706b}.owner-filter-list button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.owner-filter-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.owner-filter-list strong{display:inline-grid;min-width:26px;height:26px;place-items:center;border-radius:999px;color:var(--teal-dark);background:#dff1eb;font-size:.78rem}.owner-filter-list button.active strong{color:var(--teal-dark);background:#fff}.add-item-panel{margin-top:20px}.items-list{display:grid;gap:12px}.carpool-list{display:grid;gap:14px}.carpool-card{display:grid;gap:14px;border:1px solid var(--line);border-radius:8px;padding:17px;background:#fff;box-shadow:0 10px 28px #192a2412}.carpool-card-header,.carpool-title-row,.carpool-meta,.carpool-actions{display:flex;align-items:center;gap:12px}.carpool-card-header{justify-content:space-between}.carpool-title-row{align-items:flex-start}.carpool-title-row h2{margin:0 0 4px;font-size:1.3rem;line-height:1.15}.carpool-title-row p{margin:0;color:var(--muted);font-size:.95rem}.carpool-icon{display:inline-grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border-radius:8px;color:var(--teal-dark);background:#dff1eb}.seat-meter{height:9px;overflow:hidden;border-radius:999px;background:#edf2ef}.seat-meter span{display:block;height:100%;border-radius:inherit;background:var(--teal)}.carpool-meta{flex-wrap:wrap;color:var(--muted);font-size:.9rem;font-weight:750}.rider-section{display:grid;gap:8px}.rider-chip-list{display:flex;flex-wrap:wrap;gap:8px}.rider-chip{display:inline-flex;min-height:32px;align-items:center;gap:6px;border:1px solid rgba(17,124,112,.22);border-radius:999px;padding:0 10px;color:var(--teal-dark);background:#eef8f5;font-size:.85rem;font-weight:850}.empty-riders{color:var(--muted);font-size:.9rem;font-weight:720}.carpool-actions{justify-content:flex-start}.carpool-actions .primary-button,.carpool-actions .secondary-button{margin-top:0}.carpool-people{display:flex;flex-wrap:wrap;gap:7px}.carpool-people button{min-height:34px;border:1px solid var(--line);border-radius:999px;padding:0 10px;color:var(--ink);background:#fff;font-size:.82rem;font-weight:800}.carpool-people button:hover{border-color:#117c706b}.carpool-people button.active{color:#fff;border-color:var(--teal);background:var(--teal)}.carpool-people button:disabled{opacity:.48}.empty-filter-state{display:grid;min-height:118px;place-items:center;border:1px dashed var(--line);border-radius:8px;color:var(--muted);background:#ffffffa6;text-align:center}.empty-filter-state p{margin:0;font-weight:750}.item-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:118px;border:1px solid var(--line);border-radius:8px;padding:17px;background:#fff;box-shadow:0 10px 28px #192a2412}.item-main{min-width:0}.item-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.item-card-actions{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto}.item-tool-button{display:inline-grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent}.item-tool-button:hover{border-color:#117c7047;background:#eef8f5}.item-tool-button.save{color:var(--teal-dark)}.item-tool-button.danger{color:#9b5144}.item-tool-button.danger:hover{border-color:#f1c8bf;background:#fff3f0}.item-tool-button:disabled{opacity:.58}.item-main h2{margin:9px 0 4px;font-size:1.28rem;line-height:1.15;letter-spacing:0}.item-title-input{width:100%;min-height:39px;margin:8px 0 3px;border:1px solid var(--line);border-radius:8px;padding:0 10px;color:var(--ink);background:#fff;font-size:1.12rem;font-weight:850;outline:none}.item-title-input:focus{border-color:#117c70a6;box-shadow:0 0 0 3px #117c701c}.item-main p{margin:0;color:var(--muted);font-size:.95rem}.status-chip{display:inline-flex;min-height:28px;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:850}.status-pending{color:#8a5f16;background:#fff0c7}.status-assigned{color:var(--blue);background:#e1eff8}.status-bought{color:#9b5144;background:#fde5de}.status-brought{color:var(--green);background:#ddf2e6}.item-controls{display:grid;justify-items:end;gap:10px}.status-segment{display:grid;grid-template-columns:repeat(4,minmax(58px,1fr));width:272px;min-height:42px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#f7faf9}.status-segment button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:42px;border:0;border-right:1px solid var(--line);color:var(--muted);background:transparent;font-size:.74rem;font-weight:850}.status-segment button:last-child{border-right:0}.status-segment button.active{color:#fff;background:var(--teal)}.action-button{width:154px}.center-state{display:grid;min-height:54vh;place-items:center;align-content:center;gap:14px;text-align:center}.center-state h1{font-size:clamp(2rem,5vw,3.4rem)}.center-state p{max-width:520px;margin:0;color:var(--muted)}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 860px){.app-shell{padding:16px}.topbar{margin-bottom:20px}.create-layout,.event-grid{grid-template-columns:1fr}.intro-panel{min-height:auto;padding:10px 0 0}.create-card,.side-panel{padding:16px}.side-panel{position:static}.event-header{align-items:stretch;flex-direction:column}.share-actions{justify-content:stretch}.view-tabs{width:100%}.share-actions .secondary-button,.share-actions .primary-button{flex:1 1 148px}.item-card{grid-template-columns:1fr}.item-controls{justify-items:stretch}.status-segment,.action-button{width:100%}}@media (max-width: 520px){.brand-button span:last-child{display:none}h1{font-size:2.45rem}.status-segment{grid-template-columns:repeat(4,minmax(44px,1fr))}.status-segment button span{display:none}.summary-grid{grid-template-columns:1fr 1fr}}
