.site-header { position: relative; z-index: 20; padding: 12px 20px 0; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1440px,100%); min-height: 64px; margin: auto; padding: 8px 10px 8px 18px; border: 1px solid var(--trypify-glass-border); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: var(--trypify-shadow-sm); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--trypify-text-primary); font-size: 20px; font-weight: 780; letter-spacing: -.045em; text-decoration: none; }.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: linear-gradient(135deg,var(--trypify-primary),var(--trypify-accent)); color: #fff; box-shadow: 0 6px 14px rgba(59,130,246,.26); }.brand-mark svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }.desktop-nav a { padding: 8px 12px; border-radius: var(--trypify-radius-sm); color: var(--trypify-text-secondary); font-weight: 650; text-decoration: none; transition: color .18s ease,background .18s ease; }.desktop-nav a:hover,.desktop-nav a[aria-current="page"] { color: var(--trypify-primary-dark); background: rgba(219,234,254,.72); }.nav-actions { display: flex; align-items: center; gap: 8px; }.logout-form { display: contents; }
.avatar-button,.logout-form button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--trypify-line); border-radius: 50%; background: rgba(255,255,255,.64); color: var(--trypify-text-secondary); cursor: pointer; transition: transform .18s ease,border-color .18s ease,color .18s ease; }.avatar-button:hover,.logout-form button:hover { border-color: rgba(59,130,246,.35); color: var(--trypify-primary-dark); transform: translateY(-1px); }.avatar-button svg,.logout-form svg,.mobile-nav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
main { width: min(1440px,100%); margin: auto; padding: 46px 32px 64px; } h1,h2,h3,p { margin-top: 0; } h1 { font-size: clamp(1.8rem,3vw,2.65rem); line-height: 1.12; letter-spacing: -.045em; } h2 { font-size: 1.15rem; letter-spacing: -.025em; } h3 { font-size: .93rem; }.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--trypify-primary-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.eyebrow::before { width: 16px; height: 2px; border-radius: 99px; background: linear-gradient(90deg,var(--trypify-sky),var(--trypify-accent)); content: ""; }
.button,button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--trypify-radius-md); background: linear-gradient(135deg,var(--trypify-primary),var(--trypify-primary-dark)); box-shadow: 0 8px 16px rgba(37,99,235,.18); color: #fff; cursor: pointer; font-weight: 720; line-height: 1; text-decoration: none; transition: transform .18s ease,box-shadow .18s ease,filter .18s ease; }.button:hover,button:hover { box-shadow: 0 11px 22px rgba(37,99,235,.22); filter: saturate(1.05); transform: translateY(-1px); }.button:active,button:active { transform: translateY(0); }.button.ghost,.ghost { border-color: var(--trypify-line); background: rgba(255,255,255,.56); box-shadow: none; color: var(--trypify-text-secondary); }.button.ghost:hover,.ghost:hover { border-color: rgba(59,130,246,.28); background: rgba(239,246,255,.86); color: var(--trypify-primary-dark); }.nav-create { min-height: 38px; padding: 9px 14px; border-radius: 11px; font-size: 13px; }
.bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 2px 0 26px; }.bar h1 { margin: 5px 0 4px; }.bar p { margin-bottom: 0; color: var(--trypify-text-secondary); }.bar > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }.hero { position: relative; max-width: 860px; margin: clamp(32px,8vh,100px) auto; padding: clamp(32px,6vw,64px); overflow: hidden; border-radius: var(--trypify-radius-hero); }.hero::after { position: absolute; top: -100px; right: -70px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle,rgba(96,165,250,.35),transparent 68%); content: ""; pointer-events: none; }.hero h1 { position: relative; max-width: 650px; margin: 10px 0; font-size: clamp(2.25rem,5vw,4rem); }.hero p { position: relative; max-width: 560px; color: var(--trypify-text-secondary); font-size: 1.05rem; }.hero.compact { max-width: none; margin: 10px 0 30px; padding: 34px; }
.card,.day-card,.empty { border-radius: var(--trypify-radius-xl); }.card { padding: clamp(18px,3vw,26px); margin-bottom: 18px; }.card h2 { margin-bottom: 14px; }.empty { padding: 68px 24px; text-align: center; color: var(--trypify-text-secondary); }.empty::before { display: block; width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 18px; background: linear-gradient(135deg,rgba(96,165,250,.24),rgba(139,92,246,.18)); content: ""; }.auth { max-width: 480px; margin: clamp(28px,8vh,96px) auto; }.auth.card { padding: clamp(26px,5vw,40px); }.auth h1 { margin-bottom: 22px; }
form { display: grid; gap: 14px; } form.inline,.inline { display: inline; } label { display: grid; gap: 7px; color: var(--trypify-text-secondary); font-size: 13px; font-weight: 720; } input,select,textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(148,163,184,.35); border-radius: var(--trypify-radius-md); background: rgba(255,255,255,.8); color: var(--trypify-text-primary); outline: 0; transition: border-color .18s ease,box-shadow .18s ease,background .18s ease; } textarea { min-height: 96px; resize: vertical; } input:hover,select:hover,textarea:hover { border-color: rgba(96,165,250,.55); } input:focus,select:focus,textarea:focus { border-color: var(--trypify-primary-light); background: #fff; box-shadow: 0 0 0 4px rgba(96,165,250,.13); } input[type="checkbox"],input[type="radio"] { width: 17px; min-height: 17px; accent-color: var(--trypify-primary); } input[type="file"] { padding: 8px; }.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.check { display: inline-flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; margin: 2px 12px 2px 0; font-weight: 620; }
.alert,.success,.notice { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 15px; padding: 12px 14px; border: 1px solid; border-radius: var(--trypify-radius-md); font-size: 14px; }.alert { border-color: #fecaca; background: rgba(254,242,242,.8); color: #b42318; }.success,.notice { border-color: #bbf7d0; background: rgba(240,253,244,.75); color: #167047; }
.grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(255px,1fr)); gap: 20px; }.trip-card { position: relative; display: flex; flex-direction: column; min-height: 278px; overflow: hidden; border: 1px solid var(--trypify-glass-border); border-radius: var(--trypify-radius-xl); background: rgba(255,255,255,.66); box-shadow: var(--trypify-shadow-sm); color: var(--trypify-text-primary); text-decoration: none; transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }.trip-card:hover { border-color: rgba(96,165,250,.55); box-shadow: var(--trypify-shadow-md); transform: translateY(-3px); }.trip-card > :not(.trip-cover) { margin-right: 20px; margin-left: 20px; }.trip-card > span:not(.trip-cover) { margin-top: 17px; color: var(--trypify-primary-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.trip-card h2 { margin-top: 5px; margin-bottom: 5px; font-size: 21px; }.trip-card p { margin-top: auto; margin-bottom: 7px; color: var(--trypify-text-secondary); }.trip-card small { margin-bottom: 18px; color: var(--trypify-text-muted); }.trip-cover { display: block; width: 100%; height: 135px; margin: 0; object-fit: cover; }.trip-cover-fallback { display: block; height: 135px; background: linear-gradient(135deg,#dbeafe 0%,#e0e7ff 50%,#f5dfff 100%); }.trip-cover-fallback::after { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 72% 28%,rgba(255,255,255,.75) 0 5%,transparent 5.5%),radial-gradient(circle at 37% 60%,rgba(255,255,255,.67) 0 11%,transparent 11.5%); color: rgba(37,99,235,.5); content: "✦"; font-size: 35px; }.participant-badges { display: flex; margin: -3px 20px 17px; }.participant-badges i { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: -6px; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.trip-tools { display: flex; gap: 7px; margin: 0 0 18px; padding: 0; overflow-x: auto; scrollbar-width: none; }.trip-tools::-webkit-scrollbar { display:none; }.trip-tools a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--trypify-glass-border); border-radius: 999px; background: rgba(255,255,255,.58); color: var(--trypify-text-secondary); font-size: 13px; font-weight: 650; text-decoration: none; transition: .18s ease; }.trip-tools a:hover { border-color: rgba(96,165,250,.4); background: rgba(239,246,255,.9); color: var(--trypify-primary-dark); }.view-toggle { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--trypify-glass-border); border-radius: 13px; background: rgba(255,255,255,.55); }.view-toggle button { min-height: 34px; padding: 8px 11px; border-radius: 9px; box-shadow: none; font-size: 13px; }.view-toggle button:not(.is-active) { background: transparent; color: var(--trypify-text-secondary); }.itinerary { overflow: clip; }.table-view { overflow-x: auto; padding: 1px; }.timeline-view { display: none; }.timeline-view.is-active { display: block; }
.confirm-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(15,23,42,.28); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }.confirm-modal { width: min(410px,100%); padding: 26px; border: 1px solid var(--trypify-glass-border); border-radius: var(--trypify-radius-hero); background: rgba(255,255,255,.84); box-shadow: var(--trypify-shadow-md); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }.confirm-modal p { margin-bottom: 22px; color: var(--trypify-text-primary); font-size: 16px; font-weight: 650; }.confirm-actions { display: flex; justify-content: flex-end; gap: 9px; }
.trips-hero { max-width: none; margin: 4px 0 20px; background: linear-gradient(130deg,rgba(255,255,255,.78),rgba(239,246,255,.7),rgba(248,245,255,.78)); }.trips-hero h1 { max-width: 700px; }.trips-hero p { margin-bottom: 24px; }.destination-search { position: relative; display: flex; grid-template-columns: 1fr auto; align-items: center; max-width: 620px; min-height: 58px; padding: 5px 5px 5px 18px; border: 1px solid rgba(255,255,255,.82); border-radius: 17px; background: rgba(255,255,255,.82); box-shadow: 0 10px 28px rgba(15,23,42,.07); }.destination-search svg { flex: 0 0 auto; width: 20px; height: 20px; margin-right: 10px; fill: none; stroke: var(--trypify-text-muted); stroke-linecap: round; stroke-width: 1.7; }.destination-search input { min-width: 0; min-height: 43px; padding: 8px 4px; border: 0; background: transparent; box-shadow: none; font-weight: 600; }.destination-search input:focus { box-shadow: none; }.destination-search button { min-height: 43px; }.hero-create { position: absolute; top: 34px; right: 36px; }.trip-filter { margin: 0 0 25px; }.trip-filter summary { width: fit-content; padding: 8px 2px; color: var(--trypify-text-secondary); cursor: pointer; font-size: 13px; font-weight: 720; list-style: none; }.trip-filter summary::-webkit-details-marker { display: none; }.trip-filter summary::after { margin-left: 7px; color: var(--trypify-primary); content: "+"; }.trip-filter[open] summary::after { content: "−"; }.trip-filter .card { margin: 7px 0 0; }.filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 35px 0 14px; }.section-heading h2 { margin: 3px 0 0; font-size: 24px; }.text-action { color: var(--trypify-primary-dark); font-size: 13px; font-weight: 750; text-decoration: none; }
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--trypify-glass-border); border-radius: var(--trypify-radius-lg); background: rgba(255,255,255,.62); } th { color: var(--trypify-text-secondary); font-size: 11px; letter-spacing: .07em; text-align: left; text-transform: uppercase; } td,th { padding: 12px; border-right: 1px solid var(--trypify-line); border-bottom: 1px solid var(--trypify-line); vertical-align: top; } tr:last-child td { border-bottom: 0; } td:last-child,th:last-child { border-right: 0; } th { background: rgba(241,245,249,.7); } td form { margin-bottom: 8px; }.ledger-grid { display: grid; grid-template-columns: minmax(280px,360px) minmax(0,1fr); gap: 20px; margin-bottom: 20px; }.total { display: block; margin-bottom: 15px; color: var(--trypify-primary-dark); font-size: clamp(2.25rem,4vw,3.25rem); font-weight: 780; letter-spacing: -.055em; }.map-placeholder { padding: 20px; border-radius: var(--trypify-radius-xl); }.map-placeholder #tmap { overflow: hidden; border-radius: var(--trypify-radius-lg); background: linear-gradient(135deg,#e0f2fe,#eef2ff); }.suggestions { display: flex; flex-wrap: wrap; gap: 7px; }.suggestions button { min-height: 32px; padding: 6px 9px; font-size: 12px; } pre { overflow: auto; padding: 16px; border-radius: var(--trypify-radius-md); background: #17233b; color: #dce8f7; }.settings-avatar { width: 76px; height: 76px; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; object-fit: cover; box-shadow: var(--trypify-shadow-sm); }.trip-edit-cover { display: block; width: min(100%,340px); height: 180px; border: 1px solid var(--trypify-line); border-radius: var(--trypify-radius-lg); object-fit: cover; }.member-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 9px 0; }.signup-public-item { padding: 18px 0; border-top: 1px solid var(--trypify-line); }.toast-region { position: fixed; z-index: 80; top: 20px; right: 20px; display: grid; gap: 9px; width: min(360px,calc(100vw - 32px)); pointer-events: none; }.toast { padding: 13px 15px; border: 1px solid var(--trypify-glass-border); border-radius: 14px; background: rgba(15,23,42,.88); box-shadow: var(--trypify-shadow-md); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: toast-in .2s ease-out; } @keyframes toast-in { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }.mobile-nav { display: none; }
@media (max-width:860px) { main { padding:32px 24px 96px; }.site-header { padding:10px 16px 0; }.desktop-nav { display:none; }.site-nav { min-height:58px; }.logout-form { display:none; }.bar { align-items:flex-start; flex-direction:column; }.bar > div:last-child { justify-content:flex-start; }.ledger-grid { grid-template-columns:1fr; } }
@media (max-width:640px) { body { font-size:14px; }.site-header { padding:8px 12px 0; }.site-nav { min-height:56px; padding:7px 9px 7px 14px; border-radius:16px; }.brand { font-size:19px; }.brand-mark { width:29px; height:29px; }.nav-create { display:none; }.avatar-button { width:37px; height:37px; }.site-header + main { padding-top:27px; } main { padding:28px 16px calc(105px + env(safe-area-inset-bottom)); }.mobile-nav { position:fixed; z-index:60; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); left:12px; display:grid; grid-template-columns:repeat(4,1fr); padding:6px; border:1px solid var(--trypify-glass-border); border-radius:20px; background:rgba(255,255,255,.8); box-shadow:0 14px 38px rgba(15,23,42,.13); -webkit-backdrop-filter:blur(20px) saturate(145%); backdrop-filter:blur(20px) saturate(145%); }.mobile-nav a { display:grid; place-items:center; gap:2px; min-height:51px; border-radius:14px; color:var(--trypify-text-muted); font-size:10px; font-weight:700; text-decoration:none; }.mobile-nav a:hover,.mobile-nav a:focus { background:rgba(219,234,254,.72); color:var(--trypify-primary-dark); }.mobile-nav svg { width:19px; height:19px; }.bar { gap:13px; margin-bottom:20px; }.bar h1 { font-size:1.9rem; }.bar > div:last-child { width:100%; }.bar > div:last-child .button { flex:1 1 auto; }.two { grid-template-columns:1fr; }.grid { grid-auto-flow:column; grid-auto-columns:minmax(260px,82vw); grid-template-columns:none; overflow-x:auto; padding:3px 2px 12px; scrollbar-width:none; }.grid::-webkit-scrollbar { display:none; }.trip-card { min-height:276px; }.card { padding:18px; }.hero { margin:26px auto; padding:30px 24px; }.hero.compact { padding:26px 22px; }.hero h1 { font-size:2.25rem; }.table-view { display:none; }.timeline-view { display:block; }.view-toggle { width:100%; margin-bottom:12px; }.view-toggle button { flex:1; }.toast-region { top:auto; right:16px; bottom:calc(94px + env(safe-area-inset-bottom)); left:16px; width:auto; }.map-placeholder { padding:14px; } table { min-width:620px; }.trips-hero { margin-top:0; }.trips-hero p { max-width:280px; }.hero-create { position:static; width:100%; margin-top:12px; }.destination-search { grid-template-columns:1fr auto; min-height:54px; padding-left:14px; }.destination-search button { min-width:43px; padding:9px 11px; font-size:0; }.destination-search button::after { content:"→"; font-size:18px; }.section-heading { margin-top:28px; }.trip-filter .card { padding:16px; } }
