.trip-library-shell{min-height:calc(100vh - var(--header-height,56px));background:var(--bg,#f8fafc);display:flex}.trip-library__sidebar{background:var(--surface,#fff);border-right:1px solid var(--border,#94a3b859);width:240px;min-width:240px;top:var(--header-height,56px);height:calc(100vh - var(--header-height,56px));flex-direction:column;padding:1rem 0;display:flex;position:sticky;overflow-y:auto}.trip-library__sidebar-header{border-bottom:1px solid var(--border,#94a3b833);margin-bottom:.5rem;padding:.5rem 1rem 1rem}.trip-library__sidebar-header h1{color:var(--text-strong,var(--text));margin:0;font-size:1.25rem;font-weight:700}.trip-library__sidebar-actions{flex-direction:column;gap:.5rem;padding:.75rem;display:flex}.sidebar-action{cursor:pointer;border:none;border-radius:24px;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;display:flex}.sidebar-action__icon{text-align:center;width:24px;font-size:1.1rem}.sidebar-action--primary{background:var(--brand,#2563eb);color:var(--brand-text,#fff);box-shadow:0 2px 8px #2563eb40}.sidebar-action--primary:hover{background:var(--brand-strong,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb59}.sidebar-action--secondary{background:var(--surface-secondary,#f1f5f9);color:var(--text,#0f172a);border:1px solid var(--border,#94a3b859)}.sidebar-action--secondary:hover{background:var(--surface-tertiary,#e2e8f0);border-color:var(--brand-soft,#2563eb4d)}.trip-library__sidebar-nav{flex-direction:column;padding:.5rem;display:flex}.sidebar-nav-item{cursor:pointer;text-align:left;width:100%;color:var(--text,#0f172a);background:0 0;border:none;border-radius:8px;align-items:center;gap:.75rem;padding:.65rem 1rem;font-size:.9rem;transition:all .15s;display:flex}.sidebar-nav-item:hover{background:var(--surface-secondary,#94a3b81a)}.sidebar-nav-item--active{background:var(--brand-soft,#2563eb1a);color:var(--brand,#2563eb);font-weight:600}.sidebar-nav-item--active:hover{background:var(--brand-soft,#2563eb26)}.sidebar-nav-item__icon{text-align:center;width:24px;font-size:1.1rem}.sidebar-nav-item__label{flex:1}.sidebar-nav-item__count{background:var(--surface-secondary,#94a3b826);color:var(--muted,#64748b);border-radius:10px;padding:.15rem .5rem;font-size:.8rem;font-weight:500}.trip-library__sidebar-section{border-top:1px solid var(--border,#94a3b833);margin-top:.5rem;padding:1rem .75rem}.sidebar-section__title{text-transform:uppercase;letter-spacing:.05em;color:var(--muted,#64748b);margin:0 0 .5rem .5rem;font-size:.75rem;font-weight:600}.sidebar-sort-options{gap:.35rem;display:flex}.sidebar-sort-option{border:1px solid var(--border,#94a3b859);background:var(--surface,#fff);color:var(--text,#0f172a);cursor:pointer;text-align:center;border-radius:6px;flex:1;padding:.5rem .75rem;font-size:.8rem;font-weight:500;transition:all .15s}.sidebar-sort-option:hover{background:var(--surface-secondary,#f1f5f9)}.sidebar-sort-option--active{background:var(--brand,#2563eb);color:var(--brand-text,#fff);border-color:var(--brand,#2563eb)}.trip-library__sidebar-footer{border-top:1px solid var(--border,#94a3b833);margin-top:auto;padding:1rem .75rem}.sidebar-refresh-btn{border:1px solid var(--border,#94a3b859);background:var(--surface,#fff);width:100%;color:var(--muted,#64748b);cursor:pointer;border-radius:8px;padding:.6rem 1rem;font-size:.85rem;font-weight:500;transition:all .15s}.sidebar-refresh-btn:hover:not(:disabled){background:var(--surface-secondary,#f1f5f9);color:var(--text,#0f172a)}.sidebar-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.trip-library__topbar{background:var(--surface,#fff);border-bottom:1px solid var(--border,#94a3b833);top:var(--header-height,56px);z-index:10;align-items:center;gap:1rem;padding:.75rem 1.25rem;display:flex;position:sticky}.trip-library__topbar .trip-library__search{flex:1;max-width:600px}.trip-library__topbar .trip-library__count{color:var(--muted,#64748b);white-space:nowrap;margin:0;font-size:.85rem}.trip-hero{border:1px solid var(--border,#94a3b859);background:var(--surface,#fff);max-width:1400px;box-shadow:var(--card-shadow-rest,0 25px 65px #0f172a1f);border-radius:28px;margin:0 auto clamp(1.5rem,3vw,2.5rem);padding:clamp(1.5rem,3vw,2.75rem)}.trip-hero__grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:center;gap:clamp(1rem,2vw,2.25rem);display:grid}@media (max-width:900px){.trip-hero__grid{grid-template-columns:1fr}.trip-hero__actions{justify-content:flex-start}}@media (max-width:768px){.trip-library__list{gap:.75rem;display:grid}.trip-list-item{border-radius:10px;padding:.75rem .85rem}.trip-list-item__media{display:none}.trip-list-item__headline{gap:.35rem}.trip-list-item__title{font-size:1.05rem}.trip-list-item__summary{-webkit-line-clamp:2}.trip-list-item--compact{padding:.65rem .75rem}.trip-list-item__status{gap:.35rem}.trip-list-item__meta{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.5rem}.trip-list-item__actions{gap:.3rem}.trip-list-item__action{font-size:.9rem}}@media (max-width:540px){.trip-library__list{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));gap:.65rem}.trip-list-item{border:1px solid var(--border,#94a3b859);background:var(--surface);overflow:visible;box-shadow:0 12px 24px #0f172a1f}.trip-list-item__title{font-size:1.05rem}.trip-list-item__summary{color:var(--muted,#475569)}.trip-list-item__status{flex-wrap:wrap}.trip-list-item__actions{z-index:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid;position:relative}.trip-list-item__action{justify-content:center;width:100%;min-height:44px}.trip-hero{border-radius:18px;padding:.9rem}.trip-hero__actions{gap:.25rem}.trip-hero__button{min-height:34px;padding:.45rem .75rem;font-size:.85rem}}.trip-hero__copy h1{letter-spacing:-.02em;color:var(--text,#0f172a);margin:.35rem 0 .75rem;font-size:clamp(1.85rem,3vw,2.35rem)}.trip-hero__subtitle{color:var(--muted,#64748b);margin:0;font-size:1rem;line-height:1.6}.trip-hero__status{text-transform:uppercase;letter-spacing:.08em;border-radius:999px;align-items:center;gap:.35rem;padding:.45rem .85rem;font-size:.85rem;font-weight:600;display:inline-flex}.trip-hero__status--ok{color:var(--brand,#2563eb);background:#2563eb2e;background:color-mix(in srgb,var(--brand)18%,transparent)}.trip-hero__status--warn{color:var(--warning,#ea580c);background:#ea580c1f}.trip-hero__status--syncing{color:var(--brand,#2563eb);background:#2563eb14}.trip-hero__status--guest{color:var(--muted,#475569);background:#94a3b82e}.trip-hero__metrics{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.85rem;margin-top:1.25rem;display:grid}.trip-hero__metrics-item{border:1px solid var(--border,#94a3b866);background:var(--surface-secondary,#f8fafce6);border-radius:16px;padding:.85rem 1rem;box-shadow:inset 0 1px #fff6}.trip-hero__metrics-item dt{text-transform:uppercase;letter-spacing:.08em;color:var(--muted,#64748b);margin:0;font-size:.75rem}.trip-hero__metrics-item dd{color:var(--text-strong,var(--text));margin:.25rem 0 0;font-size:1.15rem;font-weight:700}.trip-hero__actions{flex-wrap:wrap;justify-content:flex-start;gap:.35rem;display:flex}.trip-hero__button{border:1px solid #0000;border-radius:12px;min-height:38px;padding:.5rem .9rem;font-size:.9rem;font-weight:600}.trip-hero__button--primary{background:linear-gradient(135deg,var(--brand,#2563eb),var(--brand-strong,#7c3aed));color:var(--brand-text,#fff)}.trip-hero__button--ghost{border-color:var(--border,#94a3b899);color:var(--text,#0f172a);background:0 0}.trip-access-gate{justify-content:center;align-items:center;min-height:60vh;padding:clamp(2rem,5vw,4rem) 1rem;display:flex}.trip-access-gate__card{border:1px solid var(--border,#94a3b859);background:var(--surface,#fff);width:min(720px,100%);box-shadow:var(--card-shadow-hover,0 30px 80px #0f172a2e);border-radius:32px;gap:1.25rem;padding:clamp(2rem,4vw,3rem);display:grid}.trip-access-gate__badge{background:#e9f0fd;background:color-mix(in srgb,var(--brand,#2563eb)12%,var(--surface,#fff));border-radius:20px;place-items:center;width:64px;height:64px;font-size:2rem;display:grid}.trip-access-gate__eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#64748b);margin:0;font-size:.78rem}.trip-access-gate__copy h1{letter-spacing:-.02em;margin:.25rem 0;font-size:clamp(1.75rem,3vw,2.2rem)}.trip-access-gate__copy .muted{font-size:1rem;line-height:1.6}.trip-access-gate__hint{color:var(--muted,#64748b);margin:0;font-size:.95rem}.trip-access-gate__actions{flex-wrap:wrap;gap:.75rem;display:flex}.trip-access-gate__actions .btn{flex:140px;justify-content:center}@media (max-width:640px){.trip-access-gate__actions{flex-direction:column}.trip-access-gate__actions .btn{width:100%}}.trip-library{text-align:left;background:var(--bg,#f8fafc);box-sizing:border-box;flex:1;gap:clamp(.75rem,1.2vw,1rem);width:100%;max-width:100%;padding:clamp(.55rem,1.2vw,.8rem);display:grid;overflow-x:clip}.trip-library-shell .trip-library{max-width:none;margin:0}.shell-content .trip-library{margin-top:0}body[data-theme=sunrise] .trip-library,body[data-theme=tropical] .trip-library{color:var(--text-strong,#0f172a)}.trip-library__header--compact{gap:1rem}.trip-library__header--welcome{gap:.5rem;margin-bottom:0;padding-bottom:.5rem}.trip-library__header--welcome h1{font-size:clamp(1.5rem,4vw,2rem)}.trip-library--explore{--explore-hero-bg:linear-gradient(135deg,#fff7ed 0%,#ecfeff 45%,#fef9c3 100%);--explore-hero-border:#0e74902e;--explore-hero-shadow:0 24px 50px #0f172a2e;--explore-hero-card:#ffffffd1;--explore-hero-card-border:#94a3b859;--explore-accent:#0f766e;--explore-accent-soft:#0e749024;background:radial-gradient(circle at 12% 12%,#0e74902e,transparent 55%),radial-gradient(circle at 85% 0%,#eab3082e,transparent 50%),var(--bg,#f8fafc)}.trip-library__header--explore{padding-bottom:0}.explore-hero{border:1px solid var(--explore-hero-border);background:var(--explore-hero-bg);box-shadow:var(--explore-hero-shadow);border-radius:28px;gap:clamp(1.5rem,3vw,2.5rem);padding:clamp(1.5rem,3vw,2.5rem);animation:.5s both explore-rise;display:grid;position:relative;overflow:hidden}.explore-hero:before,.explore-hero:after{content:"";filter:blur(2px);opacity:.7;pointer-events:none;background:radial-gradient(circle,#0e749033,#0000 70%);border-radius:999px;width:280px;height:280px;animation:12s ease-in-out infinite explore-drift;position:absolute;inset:auto}.explore-hero:before{top:-120px;right:-60px}.explore-hero:after{animation-delay:-3s;bottom:-140px;left:-80px}.explore-hero__content{z-index:1;gap:.75rem;max-width:560px;display:grid;position:relative}.explore-hero__eyebrow{letter-spacing:.24em;text-transform:uppercase;color:var(--explore-accent);font-size:.72rem;font-weight:700}.explore-hero h1{letter-spacing:-.03em;color:var(--text-strong,#0f172a);margin:0;font-size:clamp(1.8rem,3vw,2.7rem)}.explore-hero__actions{flex-wrap:wrap;gap:.75rem;margin-top:.25rem;display:flex}.explore-hero__stats{z-index:1;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.9rem;display:grid;position:relative}.explore-stat-card{background:var(--explore-hero-card);border:1px solid var(--explore-hero-card-border);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:18px;gap:.35rem;padding:1rem 1.1rem;display:grid;box-shadow:0 12px 20px #0f172a14}.explore-stat-card__label{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-size:.72rem}.explore-stat-card__value{color:var(--text-strong,#0f172a);font-size:clamp(1.45rem,2.5vw,2rem);font-weight:800}.explore-stat-card__meta{color:var(--muted);font-size:.85rem}.explore-hero__tiles{z-index:1;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;display:grid;position:relative}.explore-hero__tile{background:#ffffffc7;border:1px solid #94a3b84d;border-radius:16px;grid-template-columns:auto 1fr;align-items:start;gap:.85rem;padding:.85rem 1rem;display:grid;box-shadow:0 10px 18px #0f172a14}.explore-hero__tile h3{color:var(--text-strong,#0f172a);margin:0 0 .2rem;font-size:1rem;font-weight:700}.explore-hero__tile-icon{font-size:1.4rem;line-height:1}.explore-spotlight{gap:1.2rem;display:grid}.explore-spotlight__header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.explore-spotlight__header h2{letter-spacing:-.02em;margin:0;font-size:clamp(1.2rem,2.4vw,1.6rem)}.explore-spotlight__hint{color:var(--explore-accent);background:#0f766e1f;border-radius:999px;padding:.3rem .7rem;font-size:.85rem;font-weight:600}.explore-spotlight__grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;display:grid}.explore-spotlight__card{color:#f8fafc;min-height:220px;animation:.6s both explore-rise;animation-delay:var(--card-delay,0s);background-position:50%;background-size:cover;border-radius:22px;padding:1.2rem;text-decoration:none;position:relative;overflow:hidden;box-shadow:0 22px 40px #0f172a33}.explore-spotlight__card:hover{transform:translateY(-2px);box-shadow:0 26px 50px #0f172a3d}.explore-spotlight__card--generated{background-image:linear-gradient(135deg,#0ea5a4,#f59e0b)}.explore-spotlight__overlay{background:linear-gradient(#0f172a1a,#0f172ab3);position:absolute;inset:0}.explore-spotlight__initial{opacity:.8;font-size:2rem;font-weight:800;position:absolute;top:1rem;right:1rem}.explore-spotlight__content{z-index:1;gap:.45rem;display:grid;position:relative}.explore-spotlight__city{text-transform:uppercase;letter-spacing:.16em;color:#ffffffc7;font-size:.75rem;font-weight:700}.explore-spotlight__content h3{letter-spacing:-.02em;margin:0;font-size:1.25rem}.explore-spotlight__content p{color:#f8fafcd9;margin:0}.explore-spotlight__meta{color:#f8fafcb3;flex-wrap:wrap;gap:.6rem;font-size:.78rem;display:flex}.explore-spotlight__cta{color:#fef3c7;font-size:.85rem;font-weight:700}.trip-list-item__explore{background:var(--explore-accent-soft);border:1px solid #0e74902e;border-radius:14px;align-items:center;gap:1rem;padding:.6rem .75rem;display:flex}.trip-list-item__explore-stat{flex-direction:column;gap:.1rem;min-width:64px;display:flex}.trip-list-item__explore-value{color:var(--text-strong,#0f172a);font-size:1.1rem;font-weight:800}.trip-list-item__explore-label{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-size:.75rem}.trip-list-item__explore-progress{flex:1;gap:.35rem;display:grid}.trip-list-item__explore-bar{background:#0f172a1f;border-radius:999px;width:100%;height:6px;overflow:hidden}.trip-list-item__explore-bar span{border-radius:inherit;background:linear-gradient(90deg,#0ea5a4,#f59e0b);height:100%;display:block}.trip-list-item__explore-progress-label{color:var(--muted);font-size:.8rem}@keyframes explore-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes explore-drift{0%,to{transform:translate(0,0)}50%{transform:translate(8px,-12px)}}@media (min-width:1024px){.explore-hero{grid-template-rows:auto auto;grid-template-columns:1fr auto;gap:1rem 2rem;padding:1.25rem 1.5rem;display:grid}.explore-hero__content{grid-area:1/1;gap:.5rem}.explore-hero h1{font-size:1.5rem}.explore-hero__eyebrow{font-size:.65rem}.explore-hero__content>p{margin:0;font-size:.85rem}.explore-hero__actions{margin-top:.5rem}.explore-hero__stats{grid-area:1/2;align-self:center;gap:.75rem;display:flex}.explore-stat-card{min-width:100px;padding:.6rem .9rem}.explore-stat-card__label{font-size:.6rem}.explore-stat-card__value{font-size:1.3rem}.explore-stat-card__meta{font-size:.65rem}.explore-hero__tiles{grid-area:2/1/auto/-1;gap:1rem;display:flex}.explore-hero__tile{flex:1;padding:.6rem .85rem}.explore-hero__tile h3{font-size:.85rem}.explore-hero__tile p{font-size:.75rem}.explore-hero__tile-icon{font-size:1.1rem}.explore-hero--has-lists .explore-hero__tiles,.explore-hero--has-lists .explore-hero__content>p.muted{display:none}.explore-hero--has-lists{grid-template-rows:auto;padding:1rem 1.5rem}.explore-hero--has-lists .explore-hero__content{gap:.35rem}.explore-spotlight{display:none}}@media (max-width:900px){.explore-hero{border-radius:22px}.explore-hero__stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}@media (max-width:640px){.explore-hero{padding:1.25rem}.explore-hero__actions{flex-direction:column}.explore-spotlight__header,.trip-list-item__explore{flex-direction:column;align-items:flex-start}.trip-list-item__explore-progress{width:100%}}@media (prefers-reduced-motion:reduce){.explore-hero,.explore-spotlight__card,.explore-hero:before,.explore-hero:after{animation:none}}body[data-theme=dark] .trip-library--explore,body[data-theme=midnight] .trip-library--explore{--explore-hero-bg:linear-gradient(135deg,#0f172a 0%,#0f3d46 50%,#2d2616 100%);--explore-hero-card:#0f172ad9;--explore-hero-card-border:#94a3b82e;--explore-hero-border:#94a3b833;background:radial-gradient(circle at 12% 12%,#0e749040,#0000 55%),radial-gradient(circle at 85% 0,#eab3082e,#0000 50%),#0b1120}body[data-theme=dark] .explore-stat-card,body[data-theme=midnight] .explore-stat-card{background:#0f172abf}body[data-theme=dark] .explore-hero__tile,body[data-theme=midnight] .explore-hero__tile{background:#0f172ab3}.trip-library__quick{flex-wrap:wrap;gap:.75rem;margin-top:.5rem;display:flex}.trip-library__quick--auth{align-items:center;width:100%}.trip-library__quick--auth .trip-toolbar-btn{flex:180px}.trip-library__more{position:relative}.trip-library__more>summary{list-style:none}.trip-library__more>summary::-webkit-details-marker{display:none}.trip-library__more-menu{border:1px solid var(--border);background:#f0f2f6f5;background:color-mix(in srgb,var(--surface)92%,#0f172a1f);z-index:40;border-radius:14px;min-width:220px;padding:.35rem;position:absolute;top:calc(100% + .5rem);right:0;box-shadow:0 20px 40px #0f172a38}.trip-library__more-item{width:100%;color:var(--text);cursor:pointer;min-height:var(--touch-target-size,44px);background:0 0;border:none;border-radius:12px;justify-content:flex-start;align-items:center;gap:.5rem;padding:.7rem .85rem;font-weight:700;transition:background .15s,transform .12s;display:flex}.trip-library__more-item:hover,.trip-library__more-item:focus-visible{background:#2563eb29;background:color-mix(in srgb,var(--brand,#2563eb)16%,transparent);outline:none}.trip-library__more-item:active{transform:scale(.99)}.trip-library__more-item:disabled{opacity:.6;cursor:not-allowed;transform:none}.trip-library__toolbar--compact{gap:.85rem;margin-top:.75rem;display:grid}.trip-library__filters--compact{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;margin-top:.5rem;display:grid}.trip-library__toolbar--compact .trip-library__search{max-width:100%}.trip-library__filters--compact .chip-group{justify-content:flex-start}.trip-library__filters--compact .trip-library__sort{justify-content:flex-end}.chip--cta{color:#f8fafc;letter-spacing:-.01em;text-shadow:0 1px 1px #0003;background:linear-gradient(135deg,#0f172a,#1e3a8a);border:1px solid #0b1224;padding:.5rem .85rem;font-weight:800;box-shadow:0 10px 22px #0f172a38,0 2px 8px #0f172a33}.chip--sm{padding:.35rem .65rem;font-size:.9rem}.trip-library .chip{min-height:var(--touch-target-size,44px);text-overflow:ellipsis;white-space:nowrap;color:#0f172a;background:#e2e8f0;border:1px solid #cbd5e1;gap:.3rem;min-width:0;max-width:100%;padding:.4rem .85rem;line-height:1.2;overflow:hidden}.trip-library .chip--cta{justify-content:center;padding:.55rem .95rem}.trip-library .chip--sm{padding:.32rem .65rem;font-size:.88rem}.trip-toolbar-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-strong,#0f172a);min-height:var(--touch-target-size,44px);border-radius:12px;justify-content:center;align-items:center;gap:.4rem;padding:.55rem 1rem;font-weight:700;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s;display:inline-flex;box-shadow:0 6px 16px #0f172a24}.trip-toolbar-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px #0f172a29}.trip-toolbar-btn:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.trip-toolbar-btn--primary{background:linear-gradient(135deg,var(--brand),var(--brand-strong,var(--brand)));color:var(--brand-text,#111827);border-color:#1e4cb9c2;border-color:color-mix(in srgb,var(--brand)70%,#0f172a33)}.trip-toolbar-btn--secondary{color:#312e81;background:linear-gradient(135deg,#f8fafc,#eef2ff);border-color:#cbd5e1}.trip-toolbar-btn--tertiary{background:var(--surface);color:var(--text);border-color:var(--border)}.trip-library__searchControl{min-height:48px}.trip-library-fab{right:1rem;bottom:calc(var(--mobile-bottom-nav-height,0px) + env(safe-area-inset-bottom,0px) + 1rem);z-index:45;background:var(--brand,#2563eb);width:56px;height:56px;color:var(--brand-text,#fff);border:1px solid #1e4cb9c2;border:1px solid color-mix(in srgb,var(--brand,#2563eb)70%,#0f172a33);border-radius:999px;justify-content:center;align-items:center;font-size:1.8rem;font-weight:900;text-decoration:none;transition:transform .15s,box-shadow .15s;display:inline-flex;position:fixed;box-shadow:0 18px 30px #0f172a2e}.trip-library-fab:hover{transform:translateY(-2px);box-shadow:0 22px 34px #0f172a33}.trip-library-fab:active{transform:scale(.98)}.library-chat-fab{right:1rem;bottom:calc(var(--mobile-bottom-nav-height,0px) + env(safe-area-inset-bottom,0px) + 4.5rem);z-index:45;color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:999px;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.9rem;font-weight:600;transition:transform .15s,box-shadow .15s;display:inline-flex;position:fixed;box-shadow:0 8px 24px #6366f159}.library-chat-fab:hover{transform:translateY(-2px);box-shadow:0 12px 28px #6366f166}.library-chat-fab:active{transform:scale(.98)}.library-chat-fab__icon{font-size:1.1rem}.library-chat-fab__label{display:none}@media (min-width:640px){.library-chat-fab{bottom:1.5rem}.library-chat-fab__label{display:inline}}.trip-library__header{text-align:left;flex-direction:column;align-items:flex-start;gap:1rem;padding-bottom:.5rem;display:flex}.trip-library__controls{border:1px solid var(--border,#94a3b840);background:var(--surface,#fff);border-radius:16px;gap:.75rem;margin-bottom:1rem;padding:.9rem;display:grid;box-shadow:0 14px 32px #0f172a14}.trip-library__controls .trip-library__toolbar--compact{gap:.75rem;margin-top:0;display:grid}.trip-library__controls .trip-library__filters--compact{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;margin-top:0;display:grid}.trip-library__controls .trip-library__filters--compact .trip-library__sort{justify-content:flex-end}.trip-library__stats{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.trip-library__stat{border:1px solid var(--border,#94a3b840);background:var(--surface-secondary,var(--surface,#fff));color:var(--text,#0f172a);border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .65rem;font-size:.85rem;font-weight:600;display:inline-flex}.trip-library__stat strong{font-weight:800}.trip-library__summary{color:var(--muted,#64748b);margin:0;font-size:.9rem}.trip-library__mobile-actions{display:none}@media (max-width:720px){.trip-library__controls{box-shadow:none;gap:.4rem;padding:.5rem}.trip-library__toolbar--compact{gap:.4rem}.trip-library__search{gap:.25rem}.trip-search-input{padding:.5rem 2rem .5rem .75rem;font-size:.9rem}.trip-library__filters--compact{gap:.35rem;margin-top:.25rem}.trip-library__controls .trip-library__filters--compact{grid-template-columns:1fr;gap:.35rem}.trip-library__controls .trip-library__filters--compact .trip-library__sort{justify-content:flex-start}.trip-library .chip{min-height:32px;padding:.2rem .5rem;font-size:.78rem}.trip-library .chip--sm{min-height:28px;padding:.18rem .45rem;font-size:.76rem}.chip-group{gap:.3rem}.trip-library__sortLabel{font-size:.78rem}.trip-library__stats{-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;flex-wrap:nowrap;gap:.35rem;overflow-x:auto}.trip-library__stats::-webkit-scrollbar{display:none}.trip-library__stat{white-space:nowrap;flex-shrink:0;padding:.2rem .45rem;font-size:.72rem}.trip-library__summary{display:none}.trip-library__header--compact{gap:.5rem;margin-bottom:.25rem}.trip-library__header h1{margin-bottom:0;font-size:1.15rem}.trip-library__header .muted{font-size:.8rem;line-height:1.3}.trip-library__mobile-actions{-webkit-overflow-scrolling:touch;gap:.5rem;width:100%;padding-bottom:.15rem;display:flex;overflow-x:auto}.trip-library__mobile-actions::-webkit-scrollbar{display:none}.trip-library__mobile-actions .trip-toolbar-btn{white-space:nowrap;flex-shrink:0;min-height:36px;padding:.4rem .75rem;font-size:.85rem}.trip-library__header--welcome{text-align:center;padding:1rem 0 .5rem}.trip-library__header--welcome h1{font-size:1.35rem}.empty-state{gap:1rem;margin:.5rem;padding:2rem 1rem}.empty-state__visual{width:80px;height:80px}.empty-state__icon{font-size:2.75rem}.empty-state__title{font-size:1.25rem}.empty-state__message{font-size:.9rem}.empty-state__steps{margin-top:.5rem;padding:.75rem 1rem}.empty-state__steps-label{margin-bottom:.5rem;font-size:.72rem}.empty-state__step{gap:.4rem;font-size:.82rem}.empty-state__step-icon{border-radius:6px;width:24px;height:24px;font-size:.95rem}.empty-state__btn{min-height:44px;padding:.65rem 1.25rem;font-size:.9rem}}.trip-library__search{flex:360px;gap:.5rem;width:100%;max-width:min(680px,100%);display:grid}.trip-library__toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;width:100%;max-width:none;display:flex}.trip-library__searchControl{color:var(--text-strong,#0f172a);background:var(--surface);border:1.5px solid var(--border-strong,#cbd5e1);border-radius:12px;align-items:center;display:flex;position:relative;box-shadow:0 4px 12px #0f172a14}.trip-library__filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1rem;width:100%;display:flex}.trip-library__filters .chip-group{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.trip-library__filters .chip{color:#0f172a;background:#e2e8f0;border:1px solid #cbd5e1}.trip-library__filters .chip:hover{background:#cbd5e1;border-color:#94a3b8}.trip-library__filters .chip[aria-pressed=true]{background:var(--brand,#2563eb);border-color:var(--brand,#2563eb);box-shadow:0 12px 28px #0f172a1f;color:var(--brand-text,#111827)!important}.trip-library__count{color:var(--muted);margin:0;font-weight:600}.trip-library__hint{text-align:center;margin:.5rem 0 1.5rem}.trip-library__sort{align-items:center;gap:.4rem}.trip-library__sortLabel{color:var(--text);opacity:.92;font-weight:700}.trip-library__searchControl:before{content:none}.trip-search-input{width:100%;color:var(--text);background:0 0;border:none;border-radius:10px;padding:.75rem 2.4rem .75rem .95rem;font-size:1rem;line-height:1.4;transition:background .2s}.trip-search-input::placeholder{color:var(--muted)}.trip-search-input:focus{background:0 0;outline:none}.trip-library__searchControl:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #2563eb2e}.trip-hero{background:radial-gradient(circle at 20% 20%,#0ea5e914,#0000 35%),radial-gradient(circle at 85% 10%,#f973161a,#0000 30%),linear-gradient(135deg,#f8fafc 0%,#fff7ed 45%,#f1f5f9 100%);border:1px solid #0f172a14;border-radius:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start;gap:1rem;margin:.75rem auto 1rem;padding:1rem;display:grid;box-shadow:0 10px 24px #0f172a14}.trip-hero--single{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:.75rem;padding:.85rem .95rem}.trip-hero__text{gap:.5rem;display:grid}.trip-hero__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0;font-weight:700}.trip-hero__title{color:var(--text);margin:0;font-size:clamp(1.25rem,1.8vw,1.55rem)}.trip-hero__body{color:var(--muted);max-width:60ch;margin:0}.trip-hero--single .trip-hero__body{display:none}.trip-hero--single .trip-hero__title{font-size:clamp(1.2rem,1.7vw,1.4rem)}.trip-hero__stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.45rem;margin-top:.35rem;display:grid}.trip-hero--single .trip-hero__stats{grid-template-columns:repeat(2,minmax(120px,1fr));gap:.4rem;margin-top:.25rem}.trip-hero--single .trip-hero__stat{padding:.5rem .65rem}.trip-hero__stat{background:#ffffffb3;border:1px solid #0f172a0f;border-radius:12px;padding:.6rem .75rem}.trip-hero__searchPanel{align-content:start;gap:.5rem;max-width:480px;display:grid}.trip-hero__toolbar{background:#ffffffe6;border:1px solid #94a3b840;box-shadow:0 8px 18px #0f172a14}.trip-hero__subtitle{color:var(--muted);margin:0}@media (max-width:640px){.trip-hero{box-shadow:none;padding:1rem}.trip-hero__toolbar{box-shadow:none}}@media (max-width:960px){.trip-library__filters--compact{grid-template-columns:1fr}.trip-library__filters--compact .trip-library__sort{justify-content:flex-start}.trip-hero--single{grid-template-columns:1fr}}[data-theme=dark] .trip-search-input,[data-theme=midnight] .trip-search-input{color:var(--text);background:0 0}[data-theme=dark] .trip-library__searchControl,[data-theme=midnight] .trip-library__searchControl{background:var(--surface);border-color:var(--border-strong,var(--border))}.trip-library__searchClear{background:var(--brand-soft,#3b82f61f);color:var(--brand-strong,var(--brand));cursor:pointer;border:none;border-radius:999px;padding:.35rem .75rem;font-size:.8rem;font-weight:600;transition:background .2s,color .2s;position:absolute;inset-block-start:50%;inset-inline-end:.65rem;transform:translateY(-50%)}.trip-library__searchClear:hover,.trip-library__searchClear:focus-visible{background:var(--brand-soft-strong,#3b82f633);color:var(--brand-text,var(--text))}.trip-library__searchClear:focus-visible{outline-offset:2px;outline:2px solid #3b82f673}.trip-library__searchMeta{color:var(--muted);margin:0;font-size:.85rem}.trip-library__actions{flex:auto;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.trip-library__actions .action-chip{justify-content:center;align-items:center;min-width:104px;height:38px;display:inline-flex}.trip-library .action-chip{border-radius:11px;gap:.35rem;min-height:40px;padding:.65rem .95rem}.trip-library .action-chip--sm{padding:.5rem .85rem;font-size:.92rem}.page-header__meta{flex-direction:column;gap:.25rem;display:flex}.trip-library__header h1{letter-spacing:-.02em;color:var(--text-strong,var(--text));margin:0;font-size:clamp(1.25rem,2vw,1.75rem);font-weight:800;line-height:1.2}.trip-library__header .muted{color:var(--muted);margin:0;font-size:clamp(.9rem,1.4vw,1rem);line-height:1.5}.page-header__actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.page-header__actions>*{flex:0 auto;justify-content:center;min-height:44px}.ai-trip-generator-modal{background:var(--panel,#fff);width:min(640px,100vw - 2rem);color:var(--text);border:1px solid var(--border,#94a3b873);box-shadow:var(--card-shadow-hover,0 25px 45px #0f172a40);border-radius:1.5rem}.ai-trip-generator-modal .modal__header{border-bottom:1px solid var(--border,#94a3b859);justify-content:space-between;align-items:center;gap:1rem;padding:clamp(1.25rem,3vw,1.75rem) clamp(1.25rem,3vw,2rem);display:flex}.ai-trip-generator-modal .modal__header h2{letter-spacing:-.01em;color:var(--text-strong,var(--text));margin:0;font-size:clamp(1.25rem,3vw,1.6rem)}.ai-trip-generator-modal .modal__body.ai-generator{gap:var(--space-5,1.25rem);background:var(--panel,#fff);max-height:min(70vh,640px);padding:clamp(1.25rem,3vw,2rem);display:grid;overflow-y:auto}.ai-generator__row{gap:var(--space-4,1rem);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.ai-generator__budget{gap:var(--space-3,.75rem);align-items:center;display:flex}.ai-generator__budget input{flex:auto;min-width:0}.ai-generator__currency{min-width:100px;max-width:140px}.ai-generator__radioGroup{gap:var(--space-3,.75rem);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));display:grid}.ai-generator__chips{flex-wrap:wrap;gap:.5rem;display:flex}.ai-generator__error{align-items:center;gap:.65rem;display:flex}.ai-generator__progress{padding:var(--space-3,.75rem)var(--space-4,1rem);border:1px solid var(--border,#94a3b873);background:#f3f6fcf0;background:color-mix(in srgb,var(--surface,#f8fafc)80%,var(--brand-soft,#2563eb26)20%);box-shadow:var(--card-shadow-rest,0 12px 24px #0f172a14);border-radius:1rem;align-items:center;gap:.85rem;display:flex}.ai-generator__progress .progress-main{color:var(--text-strong,var(--text));margin:0;font-weight:600}.ai-generator__progress .progress-sub{color:var(--muted);margin:0;font-size:.9rem}.ai-generator__footer{justify-content:flex-end;gap:var(--space-3,.75rem);padding-top:var(--space-4,1rem);border-top:1px solid var(--border,#94a3b859);display:flex}.ai-generator__footer button{min-width:140px}@media (max-width:640px){.ai-trip-generator-modal{border-radius:1.25rem;width:100%}.ai-generator__footer{flex-direction:column-reverse}.ai-generator__footer button{width:100%}.trip-library{padding:1rem;padding-bottom:calc(5.5rem + env(safe-area-inset-bottom,0px));gap:1.5rem}.trip-library__header{gap:.75rem}.trip-library__search{max-width:100%}.trip-library__searchControl:before{inset-inline-start:.85rem}.trip-search-input{padding:.65rem 2.75rem .65rem 2.25rem;font-size:.95rem}.trip-library__searchClear{inset-inline-end:.5rem}.trip-library__list{gap:1rem}.page-header__actions>*{flex:100%}.trip-list-item{gap:1rem;padding:1.125rem}.trip-list-item__header{grid-template-columns:1fr}.trip-list-item__badge{justify-self:flex-start}.trip-list-item__meta{grid-template-columns:1fr;gap:.75rem;padding:.875rem}.trip-list-item__actions:not(.trip-list-item__actions--mobile){grid-template-columns:1fr;gap:.5rem;display:grid}.trip-list-item__actions:not(.trip-list-item__actions--mobile) .trip-list-item__action{flex:auto;width:100%}.trip-list-item__actions--mobile .trip-list-item__more>summary{width:52px;padding:.5rem 0}}.trip-library__list{grid-template-columns:1fr;gap:1rem;margin:0;padding:0;list-style:none;display:grid}@media (min-width:960px){.trip-library__list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start}.trip-library__searchControl{min-height:40px}.trip-library .chip{min-height:36px;padding:.32rem .75rem;font-size:.86rem}.trip-library__more-item,.trip-toolbar-btn{min-height:38px}.trip-library .action-chip{min-height:36px;padding:.45rem .75rem;font-size:.88rem}}@media (min-width:1280px){.trip-library__list{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}}.trip-list-item{background:var(--surface);border:1px solid var(--border);will-change:transform;border-radius:10px;gap:.6rem;min-height:auto;padding:.65rem .75rem;transition:transform .2s cubic-bezier(.4,0,.2,1),box-shadow .2s cubic-bezier(.4,0,.2,1),border-color .2s cubic-bezier(.4,0,.2,1);display:grid;position:relative;overflow:visible;box-shadow:0 2px 6px #0000000f}.trip-list-item__media{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:8px;width:100%;padding-top:38%;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff1a}@media (min-width:960px){.trip-list-item__media{padding-top:30%}}.trip-list-item__media--generated{background-size:100% 100%;box-shadow:inset 0 1px #ffffff26,inset 0 -1px #0000001a,0 8px 20px #0f172a26}.trip-list-item__media--generated:after{content:"";opacity:0;background:linear-gradient(120deg,#0000 30%,#ffffff14 50%,#0000 70%);transition:opacity .3s;position:absolute;inset:0}.trip-list-item:hover .trip-list-item__media--generated:after{opacity:1}.trip-list-item__media>.trip-list-item__badge{z-index:2;position:absolute;top:.65rem;left:.65rem}.trip-list-item__media-initials{letter-spacing:-.02em;color:#fffffff0;text-shadow:0 10px 20px #0f172a52,0 4px 8px #0f172a40;pointer-events:none;justify-content:center;align-items:center;font-size:clamp(1.6rem,4vw,2.65rem);font-weight:800;display:flex;position:absolute;inset:0}.trip-list-item__body{gap:.5rem;display:grid}.trip-list-item--synced:before{content:"";background:linear-gradient(90deg,var(--brand),var(--brand-light));opacity:.8;height:3px;position:absolute;top:0;left:0;right:0}.trip-list-item:hover{border-color:var(--brand-soft);transform:translateY(-2px);box-shadow:0 4px 12px #00000014,0 2px 4px #0000001f}.trip-list-item:focus-within{outline:2px solid var(--brand);outline-offset:2px;border-color:var(--brand)}.trip-list-item__header{grid-template-columns:1fr auto;align-items:start;gap:.5rem;display:grid}.trip-list-item__headline{gap:.25rem;min-width:0;display:grid}.trip-list-item__title{letter-spacing:-.01em;color:var(--text);margin:0;font-size:clamp(.95rem,1.8vw,1.1rem);font-weight:600;line-height:1.25}.trip-list-item__title-link{color:inherit;overflow-wrap:anywhere;word-break:break-word;text-decoration:none;transition:color .2s;display:inline;position:relative}.trip-list-item__title-link:after{content:"";background:var(--brand);transform-origin:100%;height:2px;transition:transform .3s cubic-bezier(.4,0,.2,1);position:absolute;bottom:-2px;left:0;right:0;transform:scaleX(0)}.trip-list-item__title-link:hover:after{transform-origin:0;transform:scaleX(1)}.trip-list-item__title-link:hover{color:var(--brand)}.trip-list-item__title-link:focus-visible{outline:2px solid var(--brand);outline-offset:4px;color:var(--brand);border-radius:4px}.trip-list-item__summary{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.8rem;line-height:1.45;display:-webkit-box;overflow:hidden}.trip-list-item__flags{flex-wrap:wrap;gap:6px;margin-left:auto;display:flex}.trip-flag{color:#1d4ed8;background:#3b82f61f;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:.8rem;display:inline-flex}.trip-flag--flight{color:#0f766e;background:#10b98124}.trip-flag--warn{color:#92400e;background:#eab30829}.trip-list-item--compact .trip-list-item__media,.trip-list-item--compact .trip-list-item__summary{display:none}.trip-list-item--compact .trip-list-item__meta{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.35rem}.trip-list-item__status{flex-wrap:wrap;gap:.35rem;display:flex}.status-pill{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;color:var(--muted-strong,var(--text));background:var(--surface-secondary,#94a3b81a);border:none;border-radius:6px;align-items:center;gap:.3rem;padding:.3rem .6rem;font-size:.75rem;font-weight:600;line-height:1.2;display:inline-flex;overflow:hidden}.status-pill--synced{color:#2563eb;background:linear-gradient(135deg,#2563eb26,#4f46e51f)}.status-pill--local{color:var(--muted);background:#94a3b81f}.status-pill--shared{color:#059669;background:#10b9811f}.status-pill--private{color:var(--muted);background:#94a3b81a}.status-pill--muted{color:var(--muted);background:#64748b14}.status-pill--subtle{opacity:.75;font-size:.7rem}.trip-list-item__badge{text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;text-overflow:ellipsis;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:none;border-radius:8px;align-items:center;gap:.35rem;min-width:0;max-width:100%;padding:.35rem .7rem;font-size:.7rem;font-weight:700;line-height:1.2;transition:all .2s;display:inline-flex;overflow:hidden}.trip-list-item__badge--synced{color:#1e40af;background:#ffffffeb;box-shadow:0 2px 8px #0000001f}.trip-list-item__badge--synced:before{content:"✓";font-size:.7rem;font-weight:800}.trip-list-item__badge--local{color:#475569;background:#ffffffd9;box-shadow:0 2px 8px #0000001a}.trip-list-item__badge--local:before{content:"○";font-size:.65rem}.trip-list-item__avatars{align-items:center;gap:.35rem;display:flex}.trip-avatar{background:var(--surface-secondary);border:1px solid var(--border);width:36px;height:36px;color:var(--text);border-radius:50%;justify-content:center;align-items:center;font-size:.85rem;font-weight:600;display:inline-flex}.trip-list-item__meta{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.65rem;margin:0;padding:.6rem .7rem;display:grid}.trip-list-item__meta>div{flex-direction:column;gap:.375rem;min-width:0;display:flex}.trip-list-item__meta dt{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0;font-size:.75rem;font-weight:600}.trip-list-item__meta dd{color:var(--text);overflow-wrap:anywhere;word-break:break-word;margin:0;font-size:.938rem;font-weight:500;line-height:1.4}.trip-list-item__actions{flex-wrap:wrap;gap:.4rem;padding-top:.1rem;display:flex}.trip-list-item__action{text-align:center;border:1px solid var(--border,#d1d5db);background:var(--surface-secondary,#f1f5f9);color:#0f172a;box-sizing:border-box;border-radius:10px;flex:calc(50% - .2rem);justify-content:center;align-items:center;min-height:44px;padding:.5rem .75rem;font-weight:700;line-height:1.2;text-decoration:none;transition:all .18s cubic-bezier(.4,0,.2,1);display:inline-flex}.trip-list-item__action,.trip-list-item__actions .btn,.trip-list-item__actions a,.trip-list-item__actions button{background:#f1f5f9;border-color:#d1d5db;color:#0f172a!important}.trip-list-item__action:hover,.trip-list-item__actions .btn:hover,.trip-list-item__actions a:hover,.trip-list-item__actions button:hover{background:#e2e8f0;border-color:#2563eb}.trip-list-item__action--primary,.trip-list-item__actions .btn--primary{box-shadow:0 4px 12px #2563eb40;color:#fff!important;background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;border-color:#2563eb!important}.trip-list-item__action--primary:hover,.trip-list-item__actions .btn--primary:hover{box-shadow:0 6px 16px #2563eb59;background:linear-gradient(135deg,#1d4ed8,#1e40af)!important}.trip-list-item__action:last-child:nth-child(odd){flex:100%}.trip-list-item__action--primary{background:linear-gradient(135deg,var(--brand),var(--brand-strong,var(--brand)));border-color:#1e4cb9c2;border-color:color-mix(in srgb,var(--brand)70%,#0f172a33);color:var(--brand-text,#111827);box-shadow:0 10px 20px #2563eb40;box-shadow:0 10px 20px color-mix(in srgb,var(--brand)25%,transparent)}.trip-list-item__action--ghost{background:var(--surface)}.trip-list-item__action--danger{color:#ef4444!important;background:#ef44441a!important;border-color:#ef444459!important}.trip-list-item__action:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.trip-list-item__details{border-top:1px solid #94a3b836;border-top:1px solid color-mix(in srgb,var(--border)60%,transparent);padding-top:.5rem}.trip-list-item__details>summary{list-style:none}.trip-list-item__details>summary::-webkit-details-marker{display:none}.trip-list-item__details-summary{cursor:pointer;color:var(--muted);justify-content:space-between;align-items:center;gap:.75rem;padding:.35rem 0;font-weight:600;display:flex}.trip-list-item__details-primary{color:var(--text);text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:.9rem;font-weight:700;overflow:hidden}.trip-list-item__details-secondary{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:45%;font-size:.85rem;overflow:hidden}.trip-list-item__details-body{gap:.75rem;padding-top:.6rem;display:grid}.trip-list-item__actions--mobile{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:.5rem;display:grid}.trip-list-item__more{position:relative}.trip-list-item__more>summary{list-style:none}.trip-list-item__more>summary::-webkit-details-marker{display:none}.trip-list-item__more-menu{background:var(--panel,var(--surface));border:1px solid var(--border);z-index:6;border-radius:14px;gap:.25rem;min-width:190px;padding:.35rem;display:grid;position:absolute;bottom:calc(100% + .5rem);right:0;box-shadow:0 14px 28px #0f172a2e}.trip-list-item__more-item{min-height:44px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;padding:.55rem .75rem;font-weight:700}.trip-list-item__more-item:hover{background:var(--surface-secondary,#94a3b81f);border-color:#94a3b83e;border-color:color-mix(in srgb,var(--border)70%,transparent)}.trip-list-item__more-item--danger{color:var(--danger,#dc2626)}.trip-list-item__more-item--danger:hover{background:#dc26261f;background:color-mix(in srgb,var(--danger,#dc2626)12%,transparent);border-color:#dc26264d;border-color:color-mix(in srgb,var(--danger,#dc2626)30%,transparent)}.empty-state{text-align:center;background:var(--surface,#fff);border:1px solid var(--border,#94a3b833);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;max-width:600px;margin:1rem auto;padding:clamp(2.5rem,6vw,4rem) 1.5rem;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 24px #0000000f}.empty-state__visual{justify-content:center;align-items:center;width:100px;height:100px;display:flex;position:relative}.empty-state__icon{z-index:1;font-size:3.5rem;animation:3s ease-in-out infinite float;position:relative}.empty-state__rings{border:2px dashed var(--brand-soft,#f973164d);border-radius:50%;animation:2s ease-in-out infinite pulse-ring;position:absolute;inset:0}.empty-state__rings:before{content:"";border:1px dashed var(--border,#94a3b833);border-radius:50%;animation:2s ease-in-out .5s infinite pulse-ring;position:absolute;inset:-12px}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes pulse-ring{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}}.empty-state__content{flex-direction:column;gap:.5rem;display:flex}.empty-state__title{color:var(--text,#0f172a);margin:0;font-size:clamp(1.35rem,4vw,1.75rem);font-weight:700}.empty-state__message{max-width:400px;color:var(--muted,#64748b);margin:0;font-size:1rem;line-height:1.5}.empty-state__steps{background:var(--surface-secondary,#f8fafc);border:1px solid var(--border,#94a3b826);border-radius:14px;width:100%;max-width:420px;margin-top:.75rem;padding:1rem 1.25rem}.empty-state__steps-label{text-transform:uppercase;letter-spacing:.05em;color:var(--muted,#64748b);margin:0 0 .75rem;font-size:.8rem;font-weight:600}.empty-state__steps-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.empty-state__step{color:var(--text,#0f172a);align-items:center;gap:.5rem;font-size:.9rem;display:flex}.empty-state__step-icon{background:var(--brand-soft,#f973161a);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:1.1rem;display:flex}.empty-state__step-label{font-weight:500}.empty-state__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:.5rem;display:flex}.empty-state__btn{cursor:pointer;border:none;border-radius:10px;padding:.75rem 1.5rem;font-size:.95rem;font-weight:600;transition:all .2s}.empty-state__btn--primary{background:var(--brand,#f97316);color:var(--brand-text,#111827);min-height:48px;box-shadow:0 4px 12px #00000026}.empty-state__btn--primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0003}.empty-state__btn--secondary{background:var(--surface,#fff);color:var(--text,#0f172a);border:1px solid var(--border,#94a3b84d)}.empty-state__btn--secondary:hover{background:var(--surface-secondary,#f8fafc);border-color:var(--brand-soft,#f973164d)}.empty-state__glow{background:radial-gradient(circle,var(--brand-soft,#f9731614)0%,transparent 70%);pointer-events:none;z-index:0;width:300px;height:300px;position:absolute;top:-50%;left:50%;transform:translate(-50%)}@media (max-width:480px){.empty-state__steps-list{grid-template-columns:1fr}.empty-state__actions{flex-direction:column;width:100%}.empty-state__btn{width:100%}}@media (max-width:430px){.trip-library{padding:.85rem .85rem calc(6rem + env(safe-area-inset-bottom,0px));gap:1.25rem}.trip-list-item__title{font-size:1.1rem}.trip-list-item__summary{font-size:.95rem;line-height:1.5}.trip-list-item__actions--mobile{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.trip-list-item__action{font-size:.95rem}}.trip-library__skeletons{grid-template-columns:1fr;gap:1.25rem;display:grid}.skeleton{background:linear-gradient(90deg,var(--surface-secondary)0%,var(--surface-tertiary)50%,var(--surface-secondary)100%);background-size:200% 100%;border-radius:12px;animation:1.5s ease-in-out infinite shimmer}.skeleton--card{height:280px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.trip-library__alert{background:var(--error-bg);border:1px solid var(--error-border);color:var(--error-text);border-radius:8px;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.trip-library__alert-icon{flex-shrink:0;font-size:1.5rem}.trip-library__alert-copy{flex:1;margin:0;font-size:.938rem;line-height:1.5}@media (min-width:640px){.trip-library{padding:clamp(1.25rem,2.5vw,2rem) clamp(1rem,2.5vw,1.5rem)}.trip-library__header{flex-flow:wrap;justify-content:space-between;align-items:flex-start;gap:1rem}.trip-library__toolbar{flex-wrap:nowrap;justify-content:space-between;gap:.75rem}.page-header__actions{flex-wrap:nowrap;justify-content:flex-end}.page-header__actions>*{flex:none;min-width:100px}.trip-library__list{grid-template-columns:repeat(2,1fr);gap:1rem}.trip-list-item{padding:.85rem}.trip-list-item__actions{gap:.5rem}.trip-list-item__action{flex:0 auto;min-width:90px}.trip-list-item__action:last-child:nth-child(odd){flex:0 auto}}.trip-library__mobile-bar{display:none}@media (min-width:960px){.trip-library{gap:1rem;padding:.9rem 1.1rem}.trip-library__header{gap:.75rem;padding-bottom:.25rem}.trip-library__header h1{font-size:clamp(1.25rem,1.6vw,1.6rem)}.trip-library__header .muted{font-size:.95rem}.trip-library__toolbar{gap:.75rem;max-width:none}.trip-library__searchControl{border-radius:10px;min-height:40px}.trip-library__searchControl:before{width:16px;height:16px;inset-inline-start:.85rem}.trip-search-input{padding:.55rem 2.4rem .55rem .95rem;font-size:.95rem}.trip-library__searchClear{padding:.25rem .6rem;font-size:.78rem}.trip-library .chip,.page-header__actions>*{min-height:36px}.trip-toolbar-btn{min-height:36px;padding:.45rem .85rem}.trip-library__list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.9rem}.trip-library__list--single{grid-template-columns:minmax(0,380px);justify-content:start;width:100%;max-width:440px}.trip-library__list--count-2{grid-template-columns:repeat(2,minmax(260px,420px));justify-content:start}.trip-library__list--count-3{grid-template-columns:repeat(3,minmax(240px,360px));justify-content:start}.trip-list-item{gap:.55rem;padding:.75rem}.trip-list-item__header{align-items:center}.trip-list-item__summary{-webkit-line-clamp:2;font-size:.78rem}.trip-list-item__title{font-size:1rem}.trip-library__list--single .trip-list-item__title{font-size:.95rem}.trip-library__list--single .trip-list-item__media{height:clamp(130px,18vw,190px);padding-top:0}.trip-library__list--count-2 .trip-list-item__title{font-size:.98rem}.trip-library__list--count-3 .trip-list-item__title{font-size:.97rem}.trip-avatar{width:32px;height:32px;font-size:.78rem}.trip-list-item__meta{gap:.5rem;padding:.55rem .6rem}.trip-list-item__meta dt{font-size:.7rem}.trip-list-item__meta dd{font-size:.9rem}.trip-list-item__actions{gap:.35rem}.trip-list-item__action{min-height:36px;font-size:.9rem}}@media (min-width:1200px){.trip-library{padding:.9rem 1.1rem}.trip-library__list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.trip-library__list--single{grid-template-columns:minmax(0,400px);justify-content:start;max-width:460px}.trip-library__list--count-2{grid-template-columns:repeat(2,minmax(260px,420px));justify-content:start}.trip-library__list--count-3{grid-template-columns:repeat(3,minmax(240px,360px));justify-content:start}}@media (min-width:1400px){.trip-library__list{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.trip-library__list--single{grid-template-columns:minmax(0,420px);justify-content:start;max-width:480px}.trip-library__list--count-2{grid-template-columns:repeat(2,minmax(280px,440px));justify-content:start}.trip-library__list--count-3{grid-template-columns:repeat(3,minmax(260px,380px));justify-content:start}}@media (prefers-reduced-motion:reduce){.trip-list-item,.trip-list-item__title-link,.trip-list-item__action,.empty-state__icon{transition:none;animation:none}.trip-list-item:hover{transform:none}.skeleton{animation:none}}@media (prefers-color-scheme:dark){.trip-list-item{box-shadow:0 1px 3px #0000004d,0 1px 2px #0006}.trip-list-item:hover{box-shadow:0 4px 12px #0006,0 2px 4px #00000080}}body[data-theme=dark] .trip-library-shell,body[data-theme=midnight] .trip-library-shell{background:var(--bg)}body[data-theme=dark] .trip-list-item,body[data-theme=midnight] .trip-list-item{background:var(--surface)!important;border-color:var(--border)!important;box-shadow:0 2px 8px #0000004d!important}body[data-theme=dark] article.trip-list-item,body[data-theme=midnight] article.trip-list-item{background:#262626!important;border-color:#525252!important}body[data-theme=midnight] article.trip-list-item{background:#293548!important;border-color:#475569!important}body[data-theme=dark] .trip-list-item:hover,body[data-theme=midnight] .trip-list-item:hover{background:var(--surface-muted);border-color:var(--brand-hover-border);box-shadow:0 4px 16px #0006}body[data-theme=dark] .trip-list-item__title,body[data-theme=midnight] .trip-list-item__title,body[data-theme=dark] .trip-list-item__title-link,body[data-theme=midnight] .trip-list-item__title-link,body[data-theme=dark] .trip-list-item__title-link:visited,body[data-theme=midnight] .trip-list-item__title-link:visited,body[data-theme=dark] .trip-list-item__title a,body[data-theme=midnight] .trip-list-item__title a,body[data-theme=dark] .trip-list-item__title a:visited,body[data-theme=midnight] .trip-list-item__title a:visited{color:var(--text-strong,#fff)!important}body[data-theme=dark] .trip-list-item__title-link:hover,body[data-theme=midnight] .trip-list-item__title-link:hover{color:var(--brand,#60a5fa)!important}body[data-theme=dark] .trip-list-item__summary,body[data-theme=midnight] .trip-list-item__summary{color:var(--muted-strong,#cbd5e1)!important}body[data-theme=dark] .trip-list-item__date,body[data-theme=midnight] .trip-list-item__date{color:var(--text)}body[data-theme=dark] .trip-list-item__action,body[data-theme=midnight] .trip-list-item__action,body[data-theme=dark] .trip-list-item .btn,body[data-theme=midnight] .trip-list-item .btn,body[data-theme=dark] .trip-list-item .action-chip,body[data-theme=midnight] .trip-list-item .action-chip,body[data-theme=dark] .trip-list-item button,body[data-theme=midnight] .trip-list-item button,body[data-theme=dark] article .btn,body[data-theme=midnight] article .btn,body[data-theme=dark] article button,body[data-theme=midnight] article button,body[data-theme=dark] .trip-list-item__actions .btn,body[data-theme=midnight] .trip-list-item__actions .btn,body[data-theme=dark] .trip-list-item__actions .action-chip,body[data-theme=midnight] .trip-list-item__actions .action-chip,body[data-theme=dark] .trip-list-item__actions button,body[data-theme=midnight] .trip-list-item__actions button,body[data-theme=dark] .trip-list-item__actions a,body[data-theme=midnight] .trip-list-item__actions a{color:#e5e5e5!important;background:#2d2d2d!important;border-color:#525252!important}body[data-theme=dark] .trip-list-item__action--primary,body[data-theme=midnight] .trip-list-item__action--primary,body[data-theme=dark] .trip-list-item .btn--primary,body[data-theme=midnight] .trip-list-item .btn--primary{color:#fff!important;background:#3b82f6!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-list-item__action:hover,body[data-theme=midnight] .trip-list-item__action:hover,body[data-theme=dark] .trip-list-item .btn:hover,body[data-theme=midnight] .trip-list-item .btn:hover{background:#3d3d3d!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-list-item__action--primary,body[data-theme=midnight] .trip-list-item__action--primary{color:#fff!important;background:#3b82f6!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-list-item__action--primary:hover,body[data-theme=midnight] .trip-list-item__action--primary:hover{background:#2563eb!important;border-color:#2563eb!important}body[data-theme=dark] .trip-list-item__badge,body[data-theme=midnight] .trip-list-item__badge{background:var(--surface,#2d2d2d);border-color:var(--border,#525252);color:var(--text,#e5e5e5)}body[data-theme=midnight] .trip-list-item__badge{background:var(--surface,#293548);border-color:var(--border,#475569);color:var(--text,#f8fafc)}body[data-theme=dark] .status-pill,body[data-theme=midnight] .status-pill{background:var(--surface,#2d2d2d);color:var(--text,#e5e5e5)}body[data-theme=midnight] .status-pill{background:var(--surface,#293548);color:var(--text,#f8fafc)}body[data-theme=dark] .sidebar-action--secondary,body[data-theme=midnight] .sidebar-action--secondary{background:var(--surface-secondary);border-color:var(--border);color:var(--text)}body[data-theme=dark] .sidebar-nav-item,body[data-theme=midnight] .sidebar-nav-item{color:var(--text)}body[data-theme=dark] .sidebar-nav-item:hover,body[data-theme=midnight] .sidebar-nav-item:hover{background:var(--surface-secondary)}body[data-theme=dark] .sidebar-sort-option,body[data-theme=midnight] .sidebar-sort-option{background:var(--surface);border-color:var(--border);color:var(--text)}body[data-theme=dark] .sidebar-sort-option:hover,body[data-theme=midnight] .sidebar-sort-option:hover{background:var(--surface-secondary)}body[data-theme=dark] .trip-library__header,body[data-theme=midnight] .trip-library__header{background:0 0}body[data-theme=dark] .trip-library__filters,body[data-theme=midnight] .trip-library__filters{background:var(--surface);border-color:var(--border)}body[data-theme=dark] .filter-chip,body[data-theme=midnight] .filter-chip{color:#e5e5e5!important;background:#2d2d2d!important;border-color:#525252!important}body[data-theme=dark] .filter-chip.active,body[data-theme=midnight] .filter-chip.active{color:#93c5fd!important;background:#3b82f633!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-library .chip,body[data-theme=midnight] .trip-library .chip,body[data-theme=dark] .chip-group .chip,body[data-theme=midnight] .chip-group .chip,body[data-theme=dark] [class*=chip],body[data-theme=midnight] [class*=chip]{color:#e5e5e5!important;background:#2d2d2d!important;border-color:#525252!important}body[data-theme=dark] .trip-library .chip:hover,body[data-theme=midnight] .trip-library .chip:hover,body[data-theme=dark] .chip-group .chip:hover,body[data-theme=midnight] .chip-group .chip:hover{background:#3d3d3d!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-library .chip[aria-pressed=true],body[data-theme=midnight] .trip-library .chip[aria-pressed=true],body[data-theme=dark] .trip-library .chip.active,body[data-theme=midnight] .trip-library .chip.active,body[data-theme=dark] .chip-group .chip[aria-pressed=true],body[data-theme=midnight] .chip-group .chip[aria-pressed=true],body[data-theme=dark] .chip-group .chip.active,body[data-theme=midnight] .chip-group .chip.active,body[data-theme=dark] [class*=chip][aria-pressed=true],body[data-theme=midnight] [class*=chip][aria-pressed=true],body[data-theme=dark] [class*=chip].active,body[data-theme=midnight] [class*=chip].active,body[data-theme=dark] .chip[aria-pressed=true],body[data-theme=midnight] .chip[aria-pressed=true],body[data-theme=dark] .chip.active,body[data-theme=midnight] .chip.active{color:#fff!important;background:#3b82f6!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-library__filters .chip,body[data-theme=midnight] .trip-library__filters .chip,body[data-theme=dark] .trip-library__filters button,body[data-theme=midnight] .trip-library__filters button{color:#e5e5e5!important;background:#2d2d2d!important;border-color:#525252!important}body[data-theme=dark] .trip-library__filters .chip[aria-pressed=true],body[data-theme=midnight] .trip-library__filters .chip[aria-pressed=true],body[data-theme=dark] .trip-library__filters button[aria-pressed=true],body[data-theme=midnight] .trip-library__filters button[aria-pressed=true],body[data-theme=dark] .trip-library .chip--active,body[data-theme=midnight] .trip-library .chip--active{color:#fff!important;background:#3b82f6!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-library__search input,body[data-theme=midnight] .trip-library__search input{background:var(--surface);border-color:var(--border);color:var(--text)}body[data-theme=dark] .trip-library__search input::placeholder,body[data-theme=midnight] .trip-library__search input::placeholder{color:var(--muted)}body[data-theme=dark] .trip-list-item__body,body[data-theme=midnight] .trip-list-item__body,body[data-theme=dark] .trip-list-item__details,body[data-theme=midnight] .trip-list-item__details{background:0 0}body[data-theme=dark] .trip-list-item__details-summary,body[data-theme=midnight] .trip-list-item__details-summary{color:var(--text)}body[data-theme=dark] .trip-list-item__details-body,body[data-theme=midnight] .trip-list-item__details-body,body[data-theme=dark] .trip-list-item__meta,body[data-theme=midnight] .trip-list-item__meta{background:var(--surface-secondary);border-color:var(--border)}body[data-theme=dark] .trip-list-item__meta dt,body[data-theme=midnight] .trip-list-item__meta dt{color:var(--muted)}body[data-theme=dark] .trip-list-item__meta dd,body[data-theme=midnight] .trip-list-item__meta dd{color:var(--text)}body[data-theme=dark] .trip-list-item__action--ghost,body[data-theme=midnight] .trip-list-item__action--ghost{color:#e5e5e5!important;background:0 0!important;border-color:#525252!important}body[data-theme=dark] .trip-list-item__action--ghost:hover,body[data-theme=midnight] .trip-list-item__action--ghost:hover{background:#2d2d2d!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-list-item__action--edit,body[data-theme=midnight] .trip-list-item__action--edit{color:#93c5fd!important;border-color:#3b82f6!important}body[data-theme=dark] .trip-avatar,body[data-theme=midnight] .trip-avatar{background:var(--surface-secondary);border-color:var(--border);color:var(--text)}body[data-theme=dark] .swipeable-list-item__actions,body[data-theme=midnight] .swipeable-list-item__actions{background:var(--panel)}body[data-theme=dark] .trip-library__empty,body[data-theme=midnight] .trip-library__empty{background:var(--surface);border-color:var(--border)}body[data-theme=dark] .trip-library-fab,body[data-theme=midnight] .trip-library-fab{background:var(--brand);color:var(--brand-text);box-shadow:0 4px 16px #0006}body[data-theme=dark] .trip-library__main,body[data-theme=midnight] .trip-library__main{background:var(--bg)}body[data-theme=dark] .trip-library__content,body[data-theme=midnight] .trip-library__content{background:0 0}body[data-theme=dark] .trip-toolbar-btn--secondary,body[data-theme=midnight] .trip-toolbar-btn--secondary{background:var(--surface,#2d2d2d)!important;color:var(--text,#e5e5e5)!important;border-color:var(--border,#525252)!important}body[data-theme=dark] .trip-toolbar-btn--secondary:hover,body[data-theme=midnight] .trip-toolbar-btn--secondary:hover{background:var(--surface-secondary,#3d3d3d)!important;border-color:var(--brand,#3b82f6)!important}body[data-theme=dark] .trip-library .chip,body[data-theme=midnight] .trip-library .chip{background:var(--surface,#2d2d2d)!important;color:var(--text,#e5e5e5)!important;border-color:var(--border,#525252)!important}body[data-theme=dark] .trip-library .chip:hover,body[data-theme=midnight] .trip-library .chip:hover{background:var(--surface-secondary,#3d3d3d)!important;border-color:var(--brand,#3b82f6)!important}body[data-theme=dark] .trip-library .chip[aria-pressed=true],body[data-theme=midnight] .trip-library .chip[aria-pressed=true]{background:var(--brand,#3b82f6)!important;color:var(--brand-text,#fff)!important;border-color:var(--brand,#3b82f6)!important}body[data-theme=dark] .chip--cta,body[data-theme=midnight] .chip--cta{color:var(--text,#f8fafc)!important;background:linear-gradient(135deg,#1e293b,#334155)!important;border-color:#475569!important}body[data-theme=dark] .trip-library__sidebar,body[data-theme=midnight] .trip-library__sidebar{background:var(--panel,#1e1e1e)!important;border-color:var(--border,#404040)!important}body[data-theme=midnight] .trip-library__sidebar{background:var(--panel,#1e293b)!important;border-color:var(--border,#475569)!important}body[data-theme=dark] .sidebar-action--secondary,body[data-theme=midnight] .sidebar-action--secondary{background:var(--surface,#2d2d2d)!important;color:var(--text,#e5e5e5)!important;border-color:var(--border,#525252)!important}body[data-theme=midnight] .sidebar-action--secondary{background:var(--surface,#293548)!important;border-color:var(--border,#475569)!important}body[data-theme=dark] .trip-hero,body[data-theme=midnight] .trip-hero{background:var(--panel,#1e1e1e)!important}body[data-theme=midnight] .trip-hero{background:var(--panel,#1e293b)!important}body[data-theme=dark] .trip-hero__toolbar,body[data-theme=midnight] .trip-hero__toolbar{box-shadow:0 10px 24px #00000073;border-color:var(--border,#334155)!important;background:#0f172ae0!important}body[data-theme=dark] .trip-hero__stat,body[data-theme=midnight] .trip-hero__stat{border-color:var(--border,#334155)!important;background:#0f172aa6!important}body[data-theme=dark] .trip-hero__stat-value,body[data-theme=midnight] .trip-hero__stat-value{color:var(--text,#f8fafc)!important}body[data-theme=dark] .trip-hero__stat-label,body[data-theme=midnight] .trip-hero__stat-label{color:var(--muted,#cbd5f5)!important}body[data-theme=dark] .trip-library__card,body[data-theme=midnight] .trip-library__card{background:var(--surface,#262626)!important}body[data-theme=midnight] .trip-library__card{background:var(--surface,#293548)!important}body[data-theme=dark] .sidebar-sort-option,body[data-theme=midnight] .sidebar-sort-option{background:var(--surface,#2d2d2d)!important;color:var(--text,#e5e5e5)!important;border-color:var(--border,#525252)!important}body[data-theme=midnight] .sidebar-sort-option{background:var(--surface,#293548)!important;border-color:var(--border,#475569)!important}body[data-theme=dark] .sidebar-sort-option--active,body[data-theme=midnight] .sidebar-sort-option--active{background:var(--brand,#3b82f6)!important;color:var(--brand-text,#fff)!important}body[data-theme=dark] .trip-library__mobileHeader,body[data-theme=midnight] .trip-library__mobileHeader{background:var(--panel,#1e1e1e)!important;border-color:var(--border,#404040)!important}body[data-theme=midnight] .trip-library__mobileHeader{background:var(--panel,#1e293b)!important;border-color:var(--border,#475569)!important}body[data-theme=dark] .trip-stat__icon,body[data-theme=midnight] .trip-stat__icon{background:var(--surface-secondary,#2d2d2d)!important}body[data-theme=midnight] .trip-stat__icon{background:#2e405a!important;background:color-mix(in srgb,var(--brand,#60a5fa)15%,var(--surface,#293548))!important}body[data-theme=dark] .ai-trip-generator-modal,body[data-theme=midnight] .ai-trip-generator-modal{background:var(--panel,#1e1e1e)!important}body[data-theme=midnight] .ai-trip-generator-modal{background:var(--panel,#1e293b)!important}body[data-theme=dark] .ai-trip-generator-form,body[data-theme=midnight] .ai-trip-generator-form{background:var(--panel,#1e1e1e)!important}body[data-theme=midnight] .ai-trip-generator-form{background:var(--panel,#1e293b)!important}body[data-theme=dark] .sidebar-refresh-btn,body[data-theme=midnight] .sidebar-refresh-btn{background:var(--surface,#2d2d2d)!important;color:var(--muted,#a3a3a3)!important;border-color:var(--border,#525252)!important}body[data-theme=midnight] .sidebar-refresh-btn{background:var(--surface,#293548)!important;color:var(--muted,#cbd5e1)!important;border-color:var(--border,#475569)!important}body[data-theme=dark] .sidebar-refresh-btn:hover:not(:disabled),body[data-theme=midnight] .sidebar-refresh-btn:hover:not(:disabled){background:var(--surface-secondary,#3d3d3d)!important;color:var(--text,#e5e5e5)!important}body[data-theme=dark] .empty-state__btn--secondary,body[data-theme=midnight] .empty-state__btn--secondary{background:var(--surface,#2d2d2d)!important;color:var(--text,#e5e5e5)!important;border-color:var(--border,#525252)!important}body[data-theme=midnight] .empty-state__btn--secondary{background:var(--surface,#293548)!important;border-color:var(--border,#475569)!important}body[data-theme=dark] .trip-section__summary,body[data-theme=midnight] .trip-section__summary{background:var(--surface-secondary,#262626)!important;border-color:var(--border,#404040)!important}body[data-theme=midnight] .trip-section__summary{background:var(--surface-secondary,#1e293b)!important;border-color:var(--border,#475569)!important}.trip-library__list--single{grid-template-columns:minmax(0,320px);max-width:360px}.trip-library__list--single .trip-list-item__media{min-height:120px;padding-top:28%}@media (min-width:1200px){.trip-library__list--single{grid-template-columns:minmax(0,360px);max-width:400px}}@media (max-width:768px){.trip-library{gap:.9rem;width:100%;max-width:100%;padding:.6rem .5rem;overflow-x:hidden}.trip-library__header:not(.trip-library__header--explore){background:var(--surface,#fff);border:1px solid var(--border,#94a3b833);border-radius:18px;max-width:100%;padding:.85rem .9rem;overflow:hidden;box-shadow:0 12px 26px #0f172a14}.trip-library__header .page-header__meta{max-width:100%;overflow:hidden}.trip-library__header .page-header__meta .muted{text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.trip-library__header--explore{padding:0}.trip-library__controls{top:calc(var(--header-stack-offset,44px) + .35rem);z-index:30;background:#f7f8fbf5;background:color-mix(in srgb,var(--surface,#fff)94%,#0f172a0f);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:16px;padding:.8rem .75rem;position:sticky}.trip-library__toolbar--compact{flex-direction:column;gap:.65rem;display:flex}.trip-library__searchControl{border-radius:14px;min-height:46px;box-shadow:0 8px 16px #0f172a14}.trip-search-input{padding:.6rem 2.2rem .6rem .85rem;font-size:1rem}.trip-library__filters--compact{flex-direction:column;gap:.5rem;display:flex}.trip-library__filters--compact .chip-group{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:.5rem;padding-bottom:.25rem;display:flex;overflow-x:auto}.trip-library__filters--compact .chip-group .chip{scroll-snap-align:start;flex:none}.trip-library__filters--compact .trip-library__sort{-webkit-overflow-scrolling:touch;justify-content:flex-start;overflow-x:auto}.trip-library__mobile-actions{scrollbar-width:none;-ms-overflow-style:none;margin:0 -.25rem;padding:.35rem .25rem}.trip-library__mobile-actions::-webkit-scrollbar{display:none}.trip-library__mobile-actions .trip-toolbar-btn{border-radius:999px;min-height:40px}.trip-library__list{gap:.85rem}.trip-list-item{border-radius:16px;gap:.75rem;padding:.75rem .8rem;box-shadow:0 14px 30px #0f172a1a}.trip-list-item__media{border-radius:14px;padding-top:56%}.trip-list-item__header{grid-template-columns:1fr;gap:.35rem}.trip-list-item__summary{font-size:.88rem}.trip-list-item__status{flex-wrap:wrap;gap:.35rem}.trip-list-item__details{border:1px solid #94a3b830;border:1px solid color-mix(in srgb,var(--border)55%,transparent);background:#f4f6f9e6;background:color-mix(in srgb,var(--surface)85%,#94a3b814);border-radius:12px;padding:.5rem .6rem}.trip-list-item__details-summary:after{content:"▾";color:var(--muted);margin-left:auto;font-size:.9rem;transition:transform .2s}.trip-list-item__details[open] .trip-list-item__details-summary:after{transform:rotate(180deg)}.trip-list-item__actions--mobile{grid-template-columns:repeat(2,minmax(0,1fr))}.trip-list-item__actions--mobile .trip-list-item__action--primary{grid-column:1/-1}.trip-library-fab{right:1rem}.library-chat-fab{left:1rem;right:auto}}@media (max-width:480px){.trip-library__controls{top:calc(var(--header-stack-offset,44px) + .2rem)}.trip-list-item__actions--mobile{grid-template-columns:1fr}.trip-list-item__media{padding-top:62%}}@media (prefers-contrast:high){.trip-list-item,.trip-list-item__badge{border-width:2px}.trip-list-item__title-link:focus-visible{outline-width:3px}}@media print{.trip-library__header{page-break-after:avoid}.trip-list-item{page-break-inside:avoid;box-shadow:none;border:1px solid #000}.trip-list-item__actions{display:none}}.trip-library{--trip-ink:#1c2430;--trip-muted:#5b6673;--trip-accent:#f97316;--trip-accent-strong:#ea580c;--trip-accent-warm:#f97316;--trip-surface:#fff;--trip-surface-soft:#fde6d4;--trip-border:#0f172a1f;--trip-border-strong:#0f172a33;--brand:var(--trip-accent);--brand-strong:var(--trip-accent-strong);--brand-light:#fdba74;--brand-soft:#f973162e;--brand-text:#fff;--surface:var(--trip-surface);--surface-secondary:#f7fafc;--border:var(--trip-border);--border-strong:var(--trip-border-strong);--text:var(--trip-ink);--text-strong:var(--trip-ink);--muted:var(--trip-muted);background:radial-gradient(circle at 12% 8%,#f9731629,#0000 42%),radial-gradient(circle at 86% 12%,#3b82f624,#0000 46%),linear-gradient(#fff7ef 0%,#f6f7fb 100%);font-family:Space Grotesk,Segoe UI,sans-serif;position:relative}.trip-library--explore{--trip-accent:#0ea5a4;--trip-accent-strong:#0f766e;--brand:var(--trip-accent);--brand-strong:var(--trip-accent-strong);--brand-light:#5eead4;--brand-soft:#0ea5a424;background:radial-gradient(circle at 12% 12%,#0e74902e,#0000 55%),radial-gradient(circle at 85% 0,#eab3082e,#0000 50%),linear-gradient(#fffdf8 0%,#f4f8fb 100%)}.trip-library>*{z-index:1;position:relative}.trip-library__header{gap:clamp(1rem,2vw,1.5rem)}.trip-hero{background:linear-gradient(135deg,#fee9d8 0%,#fff4ea 55%,#fce7f3 100%);border:1px solid #0f172a0f;border-radius:24px;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);align-items:start;gap:clamp(1rem,2.4vw,2rem);padding:clamp(1.25rem,2.6vw,2.1rem);display:grid;position:relative;overflow:hidden;box-shadow:0 18px 40px #0f172a1f}.trip-hero:before,.trip-hero:after{content:"";filter:blur(2px);opacity:.8;pointer-events:none;background:radial-gradient(circle,#f9731633,#0000 70%);border-radius:999px;width:220px;height:220px;position:absolute}.trip-hero:before{top:-80px;right:-60px}.trip-hero:after{background:radial-gradient(circle,#3b82f62e,#0000 70%);bottom:-100px;left:-60px}.trip-hero__text{gap:.6rem;max-width:32rem;display:grid}.trip-hero__eyebrow{color:#c2410c;letter-spacing:.24em}.trip-hero__title{color:var(--trip-ink);font-family:Fraunces,Times New Roman,serif;font-size:clamp(1.7rem,3vw,2.5rem)}.trip-hero__body{color:var(--trip-muted)}.trip-hero__pill-row{flex-wrap:wrap;gap:.5rem;margin-top:.35rem;display:flex}.trip-hero__pill{color:#1f2937;background:#fffc;border:1px solid #0f172a1f;border-radius:999px;align-items:center;padding:.3rem .7rem;font-size:.82rem;font-weight:600;display:inline-flex}.trip-hero__pill--ghost{color:#6b7280;background:#ffffff8c}.trip-hero__side{justify-items:stretch;gap:.75rem;display:grid}.trip-hero__side .trip-library__quick,.trip-hero__side .trip-library__mobile-actions{justify-content:flex-end}.trip-hero__stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.65rem;display:grid}.trip-hero__stat{background:#ffffffe6;border:1px solid #0f172a14;border-radius:16px;padding:.65rem .8rem;box-shadow:0 10px 20px #0f172a14}.trip-hero__stat--wide{grid-column:span 2}.trip-hero__stat-value{color:var(--trip-ink);font-size:1.15rem;font-weight:800;display:block}.trip-hero__stat-value--text{font-size:.95rem;font-weight:700}.trip-hero__stat-label{color:var(--trip-muted);font-size:.78rem}.trip-hero--single{grid-template-columns:1fr;padding:clamp(1rem,2.4vw,1.6rem)}.trip-hero--single .trip-hero__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.trip-library__quick,.trip-library__mobile-actions{margin:0}.trip-library__controls{top:calc(var(--header-height,56px) + .6rem);z-index:12;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #0f172a1f;border-radius:18px;position:sticky;box-shadow:0 18px 40px #0f172a1f}.trip-library__searchControl{border:1px solid var(--trip-border);box-shadow:none;background:#fff;border-radius:999px}.trip-search-input{padding:.7rem 2.75rem .7rem 1.1rem;font-size:1rem}.trip-library__searchClear{color:var(--trip-accent-strong);background:#0ea5a41f}.trip-library .chip{color:var(--trip-ink);background:#fff;border:1px solid #0f172a1f;border-radius:999px;box-shadow:0 8px 18px #0f172a14}.trip-library .chip[aria-pressed=true],.trip-library .chip--active{background:var(--trip-accent);border-color:var(--trip-accent);box-shadow:0 14px 26px #f9731640;color:#fff!important}.trip-library .chip--ghost{color:var(--trip-muted);background:0 0;border-style:dashed}.trip-library__list{gap:1.25rem}.trip-library__list>*{animation:.45s both trip-card-rise}.trip-library__list>:first-child{animation-delay:20ms}.trip-library__list>:nth-child(2){animation-delay:50ms}.trip-library__list>:nth-child(3){animation-delay:80ms}.trip-library__list>:nth-child(4){animation-delay:.11s}.trip-library__list>:nth-child(5){animation-delay:.14s}.trip-list-item{background:#fff;border:1px solid #0f172a1f;border-radius:22px;height:100%;padding:1rem;box-shadow:0 20px 36px #0f172a1f}.trip-list-item__media{aspect-ratio:16/10;border-radius:18px;min-height:140px;padding-top:0}.trip-list-item__body{flex-direction:column;gap:.75rem;height:100%;display:flex}.trip-list-item__summary{color:var(--trip-muted)}.trip-list-item__actions{margin-top:auto}.trip-list-item__action--primary{background:linear-gradient(135deg,var(--trip-accent),#fb923c);color:#fff;border-color:#0000}.trip-list-item__action--primary:hover{background:linear-gradient(135deg,#fb923c,var(--trip-accent-strong))}.trip-toolbar-btn{border:1px solid #0f172a1f;border-radius:999px;box-shadow:0 12px 24px #0f172a1f}.trip-toolbar-btn--primary{background:linear-gradient(135deg,var(--trip-accent),#fb923c);color:#fff;border-color:#0000}.trip-toolbar-btn--secondary{color:var(--trip-ink);background:#fff}.trip-toolbar-btn--tertiary{color:var(--trip-muted);background:#ffffffb3;border-style:dashed}.trip-library-fab{background:linear-gradient(135deg,var(--trip-accent),#fb923c);color:#fff;border-color:#0000}.library-chat-fab{background:linear-gradient(135deg,#3b82f6,#f97316);box-shadow:0 12px 26px #3b82f652}@keyframes trip-card-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.trip-library__list>*{animation:none}}@media (max-width:860px){.trip-library__controls{-webkit-backdrop-filter:none;backdrop-filter:none;position:static}.trip-hero{box-shadow:none;grid-template-columns:1fr}.trip-library__list{gap:1rem}.trip-list-item{border-radius:18px}}@media (max-width:640px){.trip-hero{padding:1.05rem}.trip-hero__title{font-size:clamp(1.45rem,6vw,2rem)}.trip-hero__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.trip-hero__stat--wide{grid-column:span 2}.trip-library__controls{padding:.75rem}.trip-library__filters--compact .chip-group{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.trip-library__filters--compact .chip-group::-webkit-scrollbar{display:none}}@media (max-width:768px){.trip-card,.trip-list-item,.trip-detail__card,[class*=Card]{box-shadow:0 2px 8px #0f172a14!important}}
.search-page{--search-ink:var(--text,#1b1b1f);--search-muted:var(--muted,#5b6572);--search-accent:var(--brand,#f97316);--search-accent-strong:var(--brand-strong,#e1581a);--search-accent-soft:var(--brand-soft,#ffeddc);--search-ocean:var(--accent-teal,#0ea5a4);--search-surface:var(--panel,#ffffffeb);--search-surface-strong:var(--panel,#fff);--search-border:var(--border,#0f172a1f);--search-shadow:0 18px 48px #0000001f;--search-shadow-soft:0 10px 24px #00000014;--search-radius:20px;--search-font-sans:"Space Grotesk","Segoe UI",sans-serif;--search-font-serif:"Fraunces","Times New Roman",serif;max-width:1200px;min-height:100vh;color:var(--search-ink);font-family:var(--search-font-sans);background:var(--bg,#fffaf5);isolation:isolate;margin:0 auto;padding:2rem 2rem 3rem;position:relative;overflow:hidden}.search-page:before,.search-page:after{display:none}.search-page>*{z-index:1;position:relative}.search-page h1,.search-page h2,.search-page h3{font-family:var(--search-font-serif);letter-spacing:-.02em}.search-page--landing{background:var(--bg,#fff7ef);justify-content:center;align-items:center;min-height:calc(100vh - 64px);display:flex}.search-intro{align-items:center;gap:1.5rem;margin-bottom:1.5rem;display:grid}.search-intro__copy{max-width:560px}.search-intro__badge{background:var(--brand-softest,#0ea5a41f);color:var(--accent-teal,#0f766e);letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--brand-outline-strong,#0ea5a452);border-radius:999px;align-items:center;gap:.5rem;padding:.35rem .75rem;font-size:.7rem;font-weight:600;display:inline-flex}.search-intro__title{color:var(--search-ink);margin:.75rem 0 .5rem;font-size:clamp(2rem,3vw,3.1rem)}.search-intro__subtitle{color:var(--search-muted);margin:0;font-size:1.05rem;line-height:1.6}.search-intro__meta{grid-template-columns:repeat(2,1fr);gap:.75rem;display:grid}.search-intro__meta-item{background:var(--search-surface);border:1px solid var(--search-border);box-shadow:var(--search-shadow-soft);border-radius:16px;flex-direction:column;gap:.35rem;padding:.75rem .9rem;display:flex}.search-intro__meta-label{text-transform:uppercase;letter-spacing:.08em;color:var(--search-muted);font-size:.7rem}.search-intro__meta-value{color:var(--search-ink);font-size:1rem;font-weight:600}.search-header{background:var(--search-surface);z-index:100;border:1px solid var(--search-border);box-shadow:var(--search-shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:999px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding:.5rem;display:grid;position:sticky;top:72px}.search-header__input-wrapper{background:var(--surface-muted,#ffffffd9);border:1px solid #0000;border-radius:999px;flex:1;align-items:center;padding:0 .25rem;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.search-header__input-wrapper:focus-within{border-color:#f9731699;box-shadow:0 0 0 3px #f9731633}.search-header__icon{color:var(--search-muted);pointer-events:none;position:absolute;left:1rem}.search-header__input{border-radius:999px;width:100%;height:48px;padding:0 1rem 0 2.75rem;font-size:1rem;font-weight:500;color:var(--search-ink)!important;background:0 0!important;border:none!important}.search-header__input:focus{outline:none}.search-header__input::placeholder{color:var(--muted,#94a3b8)!important}.search-header__filters-btn{border:1px solid var(--search-border);background:var(--surface-muted,#0f172a0a);height:48px;color:var(--search-ink);cursor:pointer;border-radius:999px;align-items:center;gap:.5rem;padding:0 1rem;font-size:.9rem;font-weight:600;transition:border-color .2s,background-color .2s,color .2s;display:flex}.search-header__filters-btn:hover{border-color:var(--brand-hover-border,#f9731666);background:var(--search-accent-soft);color:var(--brand-strong,#9a3f11)}.search-header__filters-label{display:none}.search-header__filters-badge{background:var(--search-ocean);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.7rem;font-weight:700;display:flex}.search-header__search-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f97316,#ea580c);border:none;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 8px 20px #f9731659}.search-header__search-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 24px #f9731666}.search-header__search-btn:disabled{opacity:.7;cursor:not-allowed}.search-header__spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}.search-active-filters{background:var(--search-surface);border:1px solid var(--search-border);box-shadow:var(--search-shadow-soft);border-radius:16px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem 1rem;display:flex}.search-active-filters__chips{flex-wrap:wrap;flex:1;gap:.5rem;display:flex}.search-active-filters__clear{background:var(--surface-muted,#0f172a0a);color:var(--search-muted);cursor:pointer;border:none;border-radius:999px;padding:.35rem .65rem;font-size:.875rem;transition:color .2s,background-color .2s}.search-active-filters__clear:hover{color:var(--search-ink);background:var(--surface,#0f172a14)}.filter-chip{background:var(--search-accent-soft);border:1px solid #f9731640;border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .6rem .4rem .85rem;font-size:.85rem;display:inline-flex}.filter-chip__label{color:var(--brand-strong,#9a3f11);text-transform:uppercase;letter-spacing:.08em;font-size:.7rem}.filter-chip__value{color:var(--search-ink);font-weight:600}.filter-chip__remove{background:var(--surface-muted,#ffffffb3);width:18px;height:18px;color:var(--brand-strong,#b45309);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:color .15s,background-color .15s;display:flex}.filter-chip__remove:hover{color:var(--brand,#7c2d12);background:var(--panel,#fffffff2)}.search-results-header{background:var(--search-surface);border:1px solid var(--search-border);box-shadow:var(--search-shadow-soft);border-radius:16px;justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0 .75rem;padding:.85rem 1rem;display:flex}.search-results-header__count{color:var(--search-ink);font-size:.95rem;font-weight:600}.search-results-header__actions{align-items:center;gap:.5rem;display:flex}.search-results-header__sort{cursor:pointer;appearance:none;border-radius:999px;height:36px;padding:0 2rem 0 .85rem;font-size:.85rem;border:1px solid var(--search-border)!important;background:var(--panel,#fff)url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .75rem center no-repeat!important;color:var(--search-ink)!important}.search-results-header__sort:focus{border-color:#f9731699;outline:none;box-shadow:0 0 0 3px #f9731633}.search-results-header__share{border:1px solid var(--search-border);background:var(--panel,#fff);width:36px;height:36px;color:var(--search-muted);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;transition:border-color .15s,color .15s,background-color .15s;display:flex}.search-results-header__share:hover{border-color:var(--brand-hover-border,#0ea5a473);color:var(--accent-teal,#0f766e);background:var(--brand-softest,#0ea5a414)}.search-results{background:var(--search-surface);border:1px solid var(--search-border);min-height:400px;box-shadow:var(--search-shadow-soft);border-radius:24px;padding:1.5rem}.search-results-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;display:grid}.search-skeletons{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;min-height:340px;display:grid}.search-skeleton{background:var(--panel,#fff);border:1px solid var(--search-border);box-shadow:var(--search-shadow-soft);border-radius:16px;overflow:hidden}.search-skeleton__image{background:var(--surface-muted,#f3f4f6);height:160px}.search-skeleton__content{padding:1rem}.search-skeleton__title{border-radius:4px;width:70%;height:20px;margin-bottom:.75rem}.search-skeleton__line{border-radius:4px;width:100%;height:14px;margin-bottom:.5rem}.shimmer{background:linear-gradient(90deg,var(--surface-muted,#f3f4f6)0%,var(--border,#e5e7eb)50%,var(--surface-muted,#f3f4f6)100%);background-size:200% 100%;animation:1.5s ease-in-out infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}.search-empty,.search-error{text-align:center;min-height:340px;color:var(--search-muted);background:var(--panel,#fff);border:1px dashed var(--border,#0f172a33);border-radius:20px;flex-direction:column;justify-content:center;align-items:center;padding:3rem 2rem;display:flex}.search-empty svg,.search-error svg{opacity:.6;margin-bottom:1.25rem}.search-empty h3,.search-error h3{color:var(--search-ink);margin:0 0 .5rem;font-size:1.4rem}.search-empty p,.search-error p{max-width:420px;margin:0 0 1.5rem}.search-error__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.btn{cursor:pointer;border:none;border-radius:22px;justify-content:center;align-items:center;gap:.5rem;height:44px;padding:0 1.25rem;font-size:.9375rem;font-weight:600;text-decoration:none;transition:transform .15s,box-shadow .15s;display:inline-flex}.btn--primary{color:#fff;background:linear-gradient(135deg,#f97316,#fb923c)}.btn--primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #f973164d}.btn--secondary{background:var(--panel,#fff);color:var(--text,#374151);border:1px solid var(--border,#e5e7eb)}.btn--secondary:hover{background:var(--surface-muted,#f9fafb);border-color:var(--border-strong,#d1d5db)}.btn--ghost{color:var(--muted,#6b7280);background:0 0}.btn--ghost:hover{background:var(--surface-muted,#f3f4f6);color:var(--text,#374151)}.search-page .btn{font-family:var(--search-font-sans);border-radius:999px}.search-page .btn--primary{color:#fff;background:linear-gradient(135deg,#f97316,#ea580c);box-shadow:0 10px 20px #f9731640}.search-page .btn--primary:hover{transform:translateY(-1px);box-shadow:0 14px 24px #f973164d}.search-page .btn--secondary{background:var(--panel,#fff);color:var(--search-ink);border:1px solid var(--search-border)}.search-page .btn--secondary:hover{background:var(--surface-muted,#ffffffe6);border-color:var(--border-strong,#0f172a33)}.search-page .btn--ghost{color:var(--search-muted);background:0 0}.search-page .btn--ghost:hover{color:var(--search-ink);background:#0f172a0f}.search-landing{text-align:center;padding:2rem}.search-landing__content{max-width:520px}.search-landing h1{letter-spacing:-.02em;margin:0 0 1rem;font-size:2.5rem;font-weight:700;color:var(--text-strong,#0f172a)!important}.search-landing__subtitle{margin:0 0 2rem;font-size:1.125rem;line-height:1.6;color:var(--muted,#64748b)!important}.search-landing__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}@media (min-width:900px){.search-intro{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}}@media (min-width:768px){.search-page{padding:2.5rem 2.5rem 3.5rem}.search-header__filters-label{display:inline}.search-skeletons,.search-results-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}}@media (min-width:1024px){.search-skeletons,.search-results-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:767px){.search-page{padding:1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom,0px) + var(--mobile-bottom-nav-height,64px))}.search-intro{text-align:left}.search-intro__meta{grid-template-columns:repeat(2,minmax(0,1fr))}.search-header{border-radius:18px;padding:.4rem;top:56px}.search-header__search-btn{display:none}.search-results-header{flex-direction:column;align-items:flex-start}.search-results-header__actions{justify-content:space-between;width:100%}.search-results-header__sort{flex:1}.search-skeletons,.search-results-grid{grid-template-columns:1fr}.search-results{padding:1.15rem}.search-landing h1{font-size:1.9rem}}@media (prefers-reduced-motion:reduce){.search-header__search-btn,.search-page .btn--primary{transition:none}}
