:root{--bg:#0B1220;--panel:#172235;--secondary:#263449;--cyan:#00C8FF;--orange:#FF9500;--text:#F1F5F9;--muted:#94A3B8;--danger:#ff8b8b;--safe-bottom:env(safe-area-inset-bottom,0px);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}button{border:0;color:inherit}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.7rem,4vw,2.4rem);font-weight:600;line-height:1.2;letter-spacing:-.04em}h2{font-size:1.2rem;font-weight:600;letter-spacing:-.02em}h3{font-size:1rem;font-weight:600}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-shell{max-width:1600px;margin:auto;min-height:100dvh}.sidebar{width:248px;position:fixed;top:0;bottom:0;padding:36px 22px 24px;display:flex;flex-direction:column;border-right:1px solid var(--secondary);background:var(--bg)}.brand{display:flex;align-items:center;gap:12px;font-weight:600;letter-spacing:-.02em}.brand small{display:block;color:var(--muted);font-size:.75rem;font-weight:400;letter-spacing:0;margin-top:3px}.brand-mark{background:var(--panel);color:var(--cyan);border-radius:13px;width:44px;height:48px;display:grid;place-items:center}.brand-mark .icon{width:26px;height:26px}.desktop-nav{display:grid;gap:7px;margin-top:50px}.desktop-nav a,.sidebar-bottom a{display:flex;align-items:center;gap:14px;padding:13px 15px;border-radius:12px;color:var(--muted);font-size:.94rem}.desktop-nav a[aria-current=page]{background:var(--panel);color:var(--text)}.desktop-nav a[aria-current=page] .icon{color:var(--cyan)}.sidebar-bottom{margin-top:auto}.sidebar-bottom p{color:var(--muted);font-size:.8rem;margin:26px 15px 0;line-height:1.8}.workspace{margin-left:248px}.topbar{height:96px;display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:0 48px}.sync-status{font-size:.75rem;color:var(--muted)}.sync-status.offline{color:var(--orange)}.avatar{width:42px;height:42px;border-radius:50%;background:var(--secondary);font-weight:600;color:var(--text)}.mobile-brand{display:none}.mobile-nav{display:none}#view{max-width:1120px;padding:16px 48px 80px;margin:auto}.eyebrow{font-size:.8rem;color:var(--muted);margin-bottom:10px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.page-head p{color:var(--muted);font-size:.94rem;margin-top:10px}.page-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:11px;padding:10px 16px;background:var(--secondary);font-size:.9rem;font-weight:500;max-width:100%;text-align:center}.button.primary{background:var(--cyan);color:var(--bg)}.button.subtle{background:var(--panel);color:var(--text)}.button.ghost{background:transparent;color:var(--muted)}.button.danger{background:#462b37;color:#ffb1b1}.button.small{font-size:.8rem;min-height:36px;padding:7px 11px}.button .icon{width:18px;height:18px}.icon-button{width:44px;height:44px;border-radius:10px;background:var(--panel);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.row{display:flex;align-items:center;gap:12px}.wrap{flex-wrap:wrap}.spread{justify-content:space-between}.muted{color:var(--muted)}.small{font-size:.8rem}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}.section-head .count{color:var(--muted);font-size:.8rem;margin-left:10px;font-weight:400}.next-card{border:1px solid var(--secondary);border-radius:20px;padding:26px;background:var(--panel);display:flex;align-items:center;justify-content:space-between;gap:24px}.next-card .time{font-size:2.5rem;line-height:1.2;font-weight:500;letter-spacing:-.05em;color:var(--cyan)}.next-card .next-caption{color:var(--muted);font-size:.8rem;margin-bottom:8px}.next-card h2{margin-bottom:7px;overflow-wrap:anywhere}.next-card .next-info{min-width:0;flex:1}.today-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,1fr);gap:30px}.mini-lists{display:grid;gap:10px}.mini-list{display:flex;align-items:center;gap:13px;padding:16px;border-radius:14px;background:var(--panel)}.type-icon{width:42px;height:42px;background:var(--secondary);display:grid;place-items:center;border-radius:12px;color:var(--cyan);flex-shrink:0}.mini-list h3{font-weight:500}.mini-list p{font-size:.8rem;color:var(--muted);margin-top:4px}.task-stack{display:grid;gap:10px}.item-card{display:flex;align-items:flex-start;gap:14px;background:var(--panel);border-radius:15px;padding:17px 18px;min-width:0}.item-card.is-child{margin-left:28px;background:var(--bg);border:1px solid var(--secondary)}.item-card.is-done .item-title{text-decoration:line-through;color:var(--muted)}.check-button{width:28px;height:28px;flex-shrink:0;background:transparent;border:1.5px solid var(--muted);border-radius:9px;padding:0;display:grid;place-items:center;margin-top:1px}.check-button[aria-pressed=true]{background:var(--cyan);border-color:var(--cyan);color:var(--bg)}.check-button .icon{width:18px;height:18px}.check-button.round{border-radius:50%}.item-content{flex:1;min-width:0}.item-title{display:block;background:transparent;padding:0;color:var(--text);font-size:1rem;font-weight:500;text-align:left;overflow-wrap:anywhere}.item-note{font-size:.85rem;color:var(--muted);margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.item-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.75rem;color:var(--muted);margin-top:9px}.item-meta .icon{width:14px;height:14px}.item-meta .overdue{color:var(--orange)}.item-meta .high{color:var(--orange)}.item-card>.icon-button{width:30px;height:32px;background:transparent;color:var(--muted)}.item-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.item-links .button{color:var(--cyan);font-size:.8rem;min-height:34px;padding:6px 10px}.item-price{font-weight:500;font-size:.9rem;margin-right:5px}.item-image{width:100%;max-width:240px;height:130px;object-fit:cover;border-radius:10px;margin-bottom:12px;background:var(--secondary)}.reserve-button{margin-top:12px;font-size:.8rem;padding:7px 10px;min-height:36px;background:var(--secondary);border-radius:8px}.reserve-button.booked{color:var(--orange)}.quantity{display:inline-flex;align-items:center;gap:12px;margin-top:12px}.quantity button{width:32px;height:32px;background:var(--secondary);border-radius:8px}.quantity span{font-size:.85rem;min-width:36px;text-align:center}.list-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.list-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;border-radius:18px;background:var(--panel);padding:22px;color:var(--text);min-height:200px;border:1px solid transparent;transition:border-color .15s}.list-card:hover{border-color:var(--secondary)}.list-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.list-card h2{font-size:1.12rem;overflow-wrap:anywhere}.list-card .description{color:var(--muted);font-size:.8rem;margin:7px 0 19px}.list-card-bottom{margin-top:auto}.progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:4px;border:0;border-radius:10px;overflow:hidden;background:var(--secondary)}.progress::-webkit-progress-bar{background:var(--secondary)}.progress::-webkit-progress-value{background:var(--cyan);border-radius:10px}.progress::-moz-progress-bar{background:var(--cyan)}.progress-label{display:flex;justify-content:space-between;gap:8px;font-size:.75rem;color:var(--muted);margin-bottom:8px}.badge{display:inline-flex;align-items:center;gap:5px;color:var(--muted);background:var(--secondary);border-radius:6px;padding:3px 7px;font-size:.7rem;white-space:nowrap}.badge .icon{width:12px;height:12px}.filters{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px;flex-wrap:wrap}.segmented{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.segmented button{padding:9px 13px;border-radius:9px;background:transparent;color:var(--muted);min-height:40px;font-size:.85rem}.segmented button[aria-pressed=true]{background:var(--secondary);color:var(--text)}.search{display:flex;align-items:center;gap:9px;background:var(--panel);border:1px solid var(--secondary);padding:9px 12px;border-radius:10px;max-width:100%;min-width:180px}.search .icon{width:18px;height:18px;color:var(--muted)}.search input{padding:0!important;border:0!important;background:transparent!important;min-width:0;width:180px;outline-offset:7px}.compact-select{width:auto;min-height:40px;font-size:.85rem;background:var(--panel);padding:8px 32px 8px 12px;border:1px solid var(--secondary);border-radius:9px;color:var(--text)}.back-link{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:.8rem;margin-bottom:18px}.back-link .icon{width:15px;height:15px}.members-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:.85rem;margin:-14px 0 24px}.members-strip .icon{width:16px;height:16px}.subtle-link{color:var(--cyan);background:transparent;padding:0;font:inherit}.empty{padding:48px 24px;text-align:center;border:1px dashed var(--secondary);border-radius:18px}.empty .empty-icon{color:var(--cyan);margin:0 auto 18px;width:48px;height:48px;background:var(--panel);border-radius:15px;display:grid;place-items:center}.empty h2{margin-bottom:9px}.empty p{color:var(--muted);font-size:.9rem;max-width:360px;margin:0 auto 20px}.empty .button{margin-top:4px}.loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:200px;color:var(--muted)}.loader{width:20px;height:20px;border:2px solid var(--secondary);border-top-color:var(--cyan);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{color:var(--muted);font-size:.85rem;padding:14px 17px;border-radius:12px;background:var(--panel);margin-bottom:20px}.notice.warning{border-left:3px solid var(--orange)}.friend-row,.invite-row,.member-row{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--secondary)}.friend-row:last-child,.invite-row:last-child,.member-row:last-child{border-bottom:0}.friend-info{flex:1;min-width:0}.friend-info h3{font-weight:500}.friend-info p{font-size:.8rem;color:var(--muted);margin-top:4px}.initials{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--secondary);color:var(--text);flex-shrink:0}.friend-grid{max-width:720px}.invites-section{margin-top:36px}.invite-row .friend-info h3{font-size:.9rem}.settings-panel{max-width:640px}.setting-group{background:var(--panel);border-radius:16px;padding:22px;margin-bottom:18px}.setting-group h2{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.form-grid .form-field{margin-bottom:0}.form-field label{font-size:.85rem;color:var(--muted)}input:not([type=checkbox]),textarea,select{width:100%;background:var(--bg);border:1px solid var(--secondary);border-radius:10px;padding:11px 12px;color:var(--text);min-width:0}textarea{resize:vertical;min-height:88px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2394A3B8' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}.form-hint{font-size:.75rem;color:var(--muted);margin-top:4px}.form-check{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:.9rem}.form-check input{width:18px;height:18px;margin:4px 0 0;accent-color:var(--cyan);flex-shrink:0}.form-check span small{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.form-error{color:#ffb1b1;font-size:.85rem;margin:12px 0;white-space:pre-wrap}.form-details{margin-top:18px}.form-details summary{cursor:pointer;color:var(--muted);font-size:.85rem;margin-bottom:16px}.form-details[open] summary{color:var(--text)}.dialog-section{margin-top:22px;padding-top:20px;border-top:1px solid var(--secondary)}dialog{width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid var(--secondary);border-radius:20px;background:var(--panel);color:var(--text);overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:rgba(3,8,18,.75);backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.modal-head .icon-button{background:var(--secondary);width:36px;height:36px}.modal-head h2{font-size:1.25rem}.modal-menu{display:grid;gap:8px}.modal-menu .button{justify-content:flex-start;background:var(--secondary)}.modal-description{color:var(--muted);font-size:.9rem;margin-bottom:20px}.toast{position:fixed;bottom:24px;left:calc(50% + 124px);transform:translateX(-50%);z-index:20;display:flex;align-items:center;gap:20px;max-width:calc(100% - 32px);width:max-content;padding:14px 19px;background:var(--text);color:var(--bg);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.2);font-size:.9rem}.toast button{background:transparent;color:#005a70;font-weight:600;white-space:nowrap;padding:5px}.demo-banner{background:#253548;color:#d0edfa;font-size:.75rem;text-align:center;padding:7px 12px}.invite-link{overflow-wrap:anywhere;color:var(--cyan);font-size:.85rem;display:block;padding:14px;background:var(--bg);border-radius:10px;margin:16px 0}.calendar{background:var(--panel);border-radius:18px;padding:20px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.calendar-head h2{text-transform:capitalize}.calendar-head .button{min-width:38px;min-height:38px;padding:7px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{font-size:.75rem;color:var(--muted);text-align:center;padding:7px 0}.calendar-day{position:relative;min-height:64px;background:transparent;border-radius:10px;color:var(--text);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:.85rem}.calendar-day.today{border:1px solid var(--cyan)}.calendar-day.selected{background:var(--cyan);color:var(--bg)}.calendar-day.empty{border:0;padding:0;min-height:0}.calendar-dot{display:block;width:4px;height:4px;background:currentColor;border-radius:50%}.plans-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.4fr);gap:28px}.plans-agenda{min-width:0}.plans-agenda .section-head{margin-top:0}.done-section{margin-top:22px}.done-section>summary{cursor:pointer;color:var(--muted);font-size:.85rem;margin-bottom:14px}.activity-feed{font-size:.8rem;color:var(--muted)}.activity-feed p{padding:8px 0}.full-width{width:100%}.error-page{max-width:540px;margin:40px auto}.word-break{overflow-wrap:anywhere}.last-synced{margin-top:26px;font-size:.75rem;color:var(--muted)}
@media(min-width:1600px){.sidebar{margin-left:0}.app-shell{position:relative}.sidebar{left:calc((100vw - 1600px)/2)}}
@media(max-width:1100px){.sidebar{width:210px;padding:28px 16px}.workspace{margin-left:210px}.topbar{padding:0 28px}.today-layout{grid-template-columns:1fr}.today-aside{display:none}#view{padding:12px 28px 70px}.toast{left:calc(50% + 105px)}.plans-layout{grid-template-columns:1fr}.calendar{max-width:520px}.next-card{padding:22px}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:78px;padding:10px 20px}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:.9rem;font-weight:500;margin-right:auto}.mobile-brand .icon{color:var(--cyan)}.sync-status{font-size:.68rem;max-width:110px;text-align:right}.avatar{width:35px;height:35px;font-size:.85rem}#view{padding:16px 20px calc(110px + var(--safe-bottom))}.page-head{margin-bottom:26px;gap:12px;align-items:flex-start}.page-head p{font-size:.85rem;margin-top:8px}.page-head h1{font-size:1.8rem}.page-actions{gap:7px}.page-actions>.button{font-size:.8rem;padding:10px 12px}.page-actions>.button .button-label{display:none}.page-actions>.button.primary{min-width:44px;padding:11px}.page-head.with-subtitle{align-items:flex-start}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:rgba(11,18,32,.97);border-top:1px solid var(--secondary);padding:10px 8px calc(10px + var(--safe-bottom));z-index:5;backdrop-filter:blur(12px)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:.65rem;color:var(--muted);padding:3px}.mobile-nav a .icon{width:22px;height:22px}.mobile-nav a[aria-current=page]{color:var(--cyan)}.next-card{gap:16px;padding:20px}.next-card .time{font-size:2rem}.next-card h2{font-size:1rem}.next-card .icon-button{display:none}.next-card .next-caption{font-size:.7rem}.today-layout{gap:0}.item-card{padding:16px 14px;gap:12px}.item-card.is-child{margin-left:17px}.list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.list-card{padding:17px 14px;min-height:190px}.list-card h2{font-size:.97rem}.list-card-head{margin-bottom:24px}.list-card-head .badge{font-size:.6rem;padding:3px 5px}.list-card-head .type-icon{width:35px;height:35px;border-radius:10px}.list-card-head .type-icon .icon{width:20px;height:20px}.list-card .description{font-size:.7rem}.filters{gap:12px;margin-bottom:18px}.segmented{gap:1px}.segmented button{padding:8px 10px;font-size:.8rem}.search{width:100%;order:3}.search input{width:100%}.compact-select{font-size:.8rem}.toast{left:50%;bottom:calc(88px + var(--safe-bottom));max-width:calc(100% - 32px);padding:12px 16px;font-size:.85rem;gap:12px}.toast span{min-width:0}.members-strip{font-size:.75rem;margin-top:-12px}.calendar{padding:14px}.calendar-day{min-height:46px}.friend-row{gap:11px}.friend-row .button{font-size:.75rem;padding:8px 10px}.setting-group{padding:18px}.form-grid{gap:12px}dialog{padding:20px;max-height:calc(100dvh - 28px);border-radius:18px}.modal-head{margin-bottom:18px}.demo-banner{font-size:.65rem}.empty{padding:35px 18px}.plans-layout{gap:26px}.plans-agenda .section-head{margin-bottom:18px}}
@media(max-width:360px){#view{padding-left:14px;padding-right:14px}.topbar{padding-left:14px;padding-right:14px}.list-grid{gap:9px}.list-card{padding:14px 12px}.list-card-head .badge .icon{display:none}.page-head h1{font-size:1.6rem}.form-grid{grid-template-columns:1fr}.item-card{gap:10px}.item-title{font-size:.94rem}.next-card .time{font-size:1.7rem}}
@media(pointer:coarse){.check-button{width:36px;height:36px;margin:-3px 0 0}.check-button:before{content:"";position:absolute;width:44px;height:44px}.item-card>.icon-button{min-width:36px;min-height:36px}.quantity button{width:40px;height:40px}.item-links .button,.reserve-button{min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
