.page {
    flex: 1;
    width: 100%;
    height: calc(100% - 50px);
    opacity: 1;
    visibility: visible;
    /* transition: opacity 90ms ease-in-out; */
    gap: 0;
    background-color: #fffe;
    color: black;
    justify-content: space-between;
    position: absolute;
    top:0;
    left:0;
}

.system-bar {
    height: 24px;
    color: white;
    background-color: black;
    font-size: 11px;
    padding: 3px 6px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: flex-end;
    text-align: right;
    /*align-self: center;*/
    /*justify-self: center;*/
}

.system-bar .time {
    align-self: center;
    justify-self: center;
}

.page .header {
    gap: 0;
    background-color: #fffe;
    position: relative;
    padding: 0;
    z-index: 200;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.125); /* bottom only */
    min-height: 5rem;
}

#page-timeline.page .header{
    min-height: 2.75rem;
}

#page-collect.page .header,
#page-explore.page .header{
    min-height: 8rem;
}

.page .header > .title {
    z-index: 300;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.125);
    min-height: 4rem;
}

.card .title .icon,
.page .header .action-item .icon,
.page .header .title .action-item.menu .icon,
.page .footer .action-item .icon,
.page .footer .title .action-item.menu .icon
{
    max-width: 2rem;
    max-height: 2rem;
    width: 2rem;
    height: 2rem;
}

.page .header .title {
    padding: 6px;
    margin: 0;
}

.page>.content-panel .title {
    padding: 1px 3px;
}

.page .header .title .row,
.page .header .title .col {
    gap: 0;
}

.page .header .title .action-item.menu {
    /*margin-right: 40px;*/
}

.header .title .tooltip {
    align-self: flex-start;
}

.page > .content-panel > .choice-set {
    /*box-shadow: 1px 1px 3px #000000CC;*/
    z-index: 200;
    padding: 6px 6px 3px;
}

.page .header > label .icon-frame,
.page .header > label .icon {
    height: 16px;
    width: 16px;
}

.page .header > label {
    background-color: #fffb;
    flex-direction: row;
    justify-items: center;
    justify-content: center;
    padding: 3px;
}

.smart-ideas {
    margin: 3px;
}

.page.connect .add.message.action-item {
    /*width: 30px;*/
    /*height: 30px;*/
    /*border: none;*/

    /*position: absolute;*/
    /*right: 2px;*/
    /*top: 2px;*/
    /*z-index: 200;*/
}

.page.connect .add.message.action-item:hover {
    background-color: #0002;
}

.page.connect .add.message.action-item .icon {
    /*box-shadow: 0 0 1px black;*/
}

/*.page > .action-item {*/
/*    position: absolute;*/
/*    right: 8px;*/
/*    bottom: 8px;*/
/*    width: 48px;*/
/*    height: 48px;*/
/*    border: none;*/
/*    z-index: 300;*/
/*}*/

/*.page > .action-item .icon-frame {*/
/*    box-shadow: 0 0 1rem #0008;*/
/*    background-color: #0008;*/
/*}*/

.page .header > .action-item .icon {
    max-width: 24px;
    max-height: 24px;
    width: 24px;
    height: 24px;
}

/*.page > .action-item .icon {*/
/*    max-width: 48px;*/
/*    max-height: 48px;*/
/*    width: 48px;*/
/*    height: 48px;*/
/*}*/

.page .header .action-item .text {
    display: none;
}
.page .header .title .text {
    flex: 1;
}
.page .header .person.action-item .text {
    display: initial;
}
/*.tab-set {*/
/*    display: block;*/
/*    width: 100%;*/
/*    justify-content: space-evenly;*/
/*}*/

/*.tab-item {*/
/*    display: inline-flex;*/
/*    border-bottom: 2px solid #33669900;*/
/*}*/

/*.tab-item.selected {*/
/*    border-bottom: 2px solid #336699ff;*/
/*}*/

/*.tab-content {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    max-width: 100vw;*/
/*    max-height: 100vh;*/
/*    transition: all 300ms ease-in-out;*/
/*}*/

/*.tab-content.hidden {*/
/*    max-width: 0;*/
/*    max-height: 0;*/
/*    transition: all 300ms ease-in-out;*/
/*}*/

.results {
    width: 100%;
    min-height: 11em;
}

.results-option{
    border-bottom: 1px solid silver;
    line-height: 3em;
    width: 100%;
}

.results-option.selected {
    background-color: black;
    color: white;
}

/* input[type="text"] {
    width: clamp(100px, 100%, 200px);
} */
.taste-match input[type="text"] {
    width: clamp(100px, 100%, 100%);
}
.taste-match input[type="text"].searchText{
    width: 75%;
    display: inline-block;
}
.explore_edit.page input[type="text"] {
    width: clamp(100px, 100%, 95dvh);
}

input[name=amount]{
    text-align: right;
}
input[type="text"].vita-search {
    margin: 0;
    background-image: url(/static/images/icons/icon-search-black.svg);
    background-repeat: no-repeat;
    width: 100%;
    flex: 1;
    border-radius: 2em;
    padding: 0.75em 0.75em 0.75em 2.75em;
    border: none;
    box-shadow: 1px 1px 2px 0 #0008;
    background-position: 0.75em 0.75em;
}

#clearButton {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: #ff4c4c;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1;
}

/* .page.connect input[type="text"].vita-search{
    display: none;
} */
.page > .content-panel > .label {
    padding: 0;
    font-size: 14px;
}
/* ══════════ New-Explore-TopNav (2026-07-04) ══════════ */
/* Row B: Feed⇄TimeVibes left, Groups right */
.feed-rowB{display:flex !important;flex-direction:row !important;align-items:center;justify-content:space-between;gap:6px;padding:7px 10px;border-bottom:1px solid #eee;width:100%}
.feed-seg{display:flex !important;flex-direction:row !important;background:#eceae6;border-radius:20px;padding:3px;flex:0 0 auto}
.feed-seg button{border:0;background:transparent;padding:6px 14px;border-radius:17px;font-size:0.85rem;font-weight:600;color:#6d6d6d;cursor:pointer}
.feed-seg button.on{background:#e99821;color:#fff;box-shadow:0 1px 4px rgba(233,152,33,.4)}
.feed-rowB-right{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;flex:0 0 auto}

/* collapse handle + collapsed state (explore only) */
/* Greg 7/16: the handle hugs the BOTTOM of the Search/Feed title row —
   the receipt chips moved down to the breadcrumb area, so the strip
   pulls up into the title row's lower padding (transparent, no rule). */
/* Greg 7/16 'can't get it opened again' + 'TimeVibes click stuck': the
   pulled-up strip overlaps the title row, and z-index games there are a
   whack-a-mole — at 301 the FULL-WIDTH invisible strip beat the
   switcher dropdown (whose z-index:1200 is trapped inside the title's
   stacking context at 300) and ate Search▾/TimeVibes clicks. Right fix:
   the strip catches NO pointer events — only the ▴ arrow itself is
   clickable, with padding for a finger-sized target. Clicks on the span
   bubble to the div's onclick. */
.explore-collapse-handle{display:flex !important;flex-direction:row !important;justify-content:center;align-items:center;height:20px;margin-top:-14px;cursor:pointer;background:transparent;border-bottom:none;width:100%;position:relative;z-index:301;pointer-events:none}
.explore-collapse-handle span{font-size:19px;color:#e99821;line-height:1;font-weight:700;pointer-events:auto;padding:4px 30px;cursor:pointer}
.explore-collapse-handle:hover span{color:#c77f12}
#page-explore .header.filters-collapsed .explore-collapsible-content,
#page-explore .header.filters-collapsed #explore-filters,
#page-explore .header.filters-collapsed #filter-summary-container{display:none !important}

/* centered action row: 🔍 / distance / 🗺 (+🏟 after TTD apply) */
/* Round 10 (Greg 7/16): the controls row speaks TimeVibes' rail language —
   every control is a .rail-chip at the vh-v2 geometry (38px). 🔍/👥/'by'/
   miles-hint labels hide at phone width so six chips fit one line. */
.explore-action-row{display:flex !important;flex-direction:row !important;align-items:center;justify-content:flex-start;gap:7px;padding:8px 6px;min-height:52px;width:100%;overflow-x:auto}
.explore-action-row .rail-chip{height:38px;border-radius:8px}
.explore-action-row .rail-chip.icononly{width:38px;padding:0;justify-content:center;flex:0 0 auto}
.explore-action-row .chip-label,.explore-action-row .chip-mi{display:none}
@media (min-width:700px){.explore-action-row .chip-label,.explore-action-row .chip-mi{display:inline}}
.feed-circlebtn{width:40px;height:40px;border-radius:50%;background:#111;color:#fff;border:0;display:grid;place-items:center;font-size:16px;cursor:pointer;flex:0 0 auto}
.feed-circlebtn.lite{background:#f9f9f9;color:#333;border:1px solid #ddd}
.explore-action-row .action-item{flex:0 0 auto}
/* Round 10: rail-chip carries the shape; this rule keeps only the
   reveal behavior + the orange 'active' tint. :not(.show) must beat
   .rail-chip's display:inline-flex or Venues shows before TTD applies. */
.venues-filter-btn:not(.show){display:none !important}
.venues-filter-btn{align-items:center;gap:5px;cursor:pointer;animation:venuesIn .18s ease} /* Greg 7/18: idle = grey rail-chip like its siblings (orange retired with the old art) */
.venues-filter-btn.show{display:inline-flex !important;flex-direction:row !important}
@keyframes venuesIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.venues-filter-btn{animation:none}}

/* expanding search row */
.explore-searchrow{display:none;align-items:center;gap:8px;margin:0 10px 8px;border:1px solid #ddd;border-radius:22px;background:#f9f9f9;padding:8px 13px}
.explore-searchrow.open{display:flex !important;flex-direction:row !important;align-items:center}
/* flex:1+min-width:0, NOT width:100%: Safari lays a width:100% flex child
   over its siblings, so the input covered the ✕ and a tap meant to close
   just focused the input (Greg 7/20: "clicking the x only made it widen"). */
.explore-searchrow .explore-search-input{border:0;background:none;outline:none;font-size:0.9rem;flex:1 1 auto;min-width:0;width:auto}
.explore-searchrow .x{border:0;background:none;font-size:14px;cursor:pointer;color:#888;flex:0 0 auto;padding:6px 10px;margin:-6px -8px -6px 0}

/* location row inside category filter dialogs */
.dialog-location-row{display:flex !important;flex-direction:row !important;align-items:center;gap:10px;border:1px solid #e99821;background:#fdf3e3;border-radius:12px;padding:9px 12px;margin:0 0 10px;flex-wrap:wrap}
.dialog-location-row .loc{font-size:0.9rem}
.dialog-location-row .loc-change{border:0;background:#111;color:#fff;border-radius:16px;padding:5px 12px;font-size:0.8rem;cursor:pointer}
.dialog-location-row .loc-hint{font-size:0.72rem;color:#9a6410;margin-left:auto}

/* Plans page rows */
#page-plan .plan-row{display:flex !important;flex-direction:row !important;gap:12px;align-items:center;background:#fff;border:1px solid #e4e1dc;border-radius:14px;padding:10px 12px;margin:8px 10px;cursor:pointer}
#page-plan .plan-img{width:56px;height:56px;border-radius:10px;background:#eceae6;overflow:hidden;flex:0 0 auto}
#page-plan .plan-img img{width:100%;height:100%;object-fit:cover}
#page-plan .plan-info{display:flex;flex-direction:column;gap:2px;min-width:0}
#page-plan .plan-info b{font-size:0.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#page-plan .plan-when{font-size:0.8rem;color:#555}
#page-plan .plan-loc{font-size:0.75rem;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Plans chips — card build 2/5 (Greg r5b trips + r6 experiences).
   Trip chips run full width; experience chips sit inset at 92%. */
/* box-sizing:border-box everywhere — without it the .plan chips' fixed
   width ADDED its padding and rendered WIDER than trips (Greg 7/21 b) */
/* NO overflow:hidden here: .card-list is a flex column, and a non-visible
   overflow zeroes the item's automatic min-height — flex-shrink then
   crushed every chip to ~25px (7/21 regression). flex:0 0 auto instead. */
/* flex COLUMN (not block): the template's whitespace text nodes rendered as
   line boxes that grew with the vw-scaled root font — huge phantom gaps on
   desktop (Greg 7/21 'sizing is off'). Flex containers ignore them. */
.pchip{display:flex !important;flex-direction:column !important;justify-content:flex-start;flex:0 0 auto;align-self:stretch;background:#20303f;color:#fff;border-radius:14px;padding:10px 16px;margin:8px 10px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.22);box-sizing:border-box}
.pchip.plan{width:calc(100% - 20px - 4%);margin-left:calc(10px + 4%);padding:9px 14px;border-radius:13px}
/* r14: place/destinations sit under the title, indented to its first letter */
.pchip-subrow{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;flex-wrap:wrap;margin:3px 0 14px 44px}
.pchip.plan .pchip-subrow{margin-left:40px}
/* main.css's universal *{font-size:clamp(..3vw..)} matches bare spans/b
   DIRECTLY (no inheritance), inflating them on wide screens — force chip
   descendants back to their container's size */
.pchip span:not([class]), .pchip b:not([class]){font-size:inherit}
.pchip-row{display:flex !important;flex-direction:row !important;align-items:center;gap:10px;flex-wrap:wrap}
/* head row never wraps: title flexes (and may wrap ITS text), $$ + open
   arrow stay pinned top-right (Greg r14) */
.pchip-row.pchip-head{flex-wrap:nowrap}
.pchip-head .pchip-title{flex:1 1 auto;min-width:0}
.pchip-row + .pchip-row{margin-top:6px}
.pchip-disc{width:34px;height:34px;border-radius:50%;background:#e99821;display:inline-flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 auto}
.pchip-disc.sm{width:30px;height:30px;font-size:15px}
.pchip-title{font-size:15.5px}
.pchip-when{font-weight:800;font-size:12.5px;opacity:.92;white-space:nowrap}
.pchip-right{margin-left:auto;display:inline-flex;align-items:center;gap:9px;flex:0 0 auto}
.pchip-pill{background:rgba(255,255,255,.12);border-radius:12px;padding:2px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.pchip-open{background:rgba(255,255,255,.15);border-radius:50%;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.pchip-box{border:1px solid rgba(255,255,255,.35);border-radius:11px;padding:8px 11px;margin-top:9px}
.pchip-crewrow{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;justify-content:flex-start;flex-wrap:wrap}
.pchip-av{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;border:2px solid #20303f;flex:0 0 auto}
.pchip-addav{width:24px;height:24px;border-radius:50%;border:1.5px dashed rgba(255,255,255,.5);display:inline-flex;align-items:center;justify-content:center;font-size:13px;margin-left:2px;flex:0 0 auto}
.pchip-sub{font-size:11.5px;opacity:.85}
.pchip-stats{display:flex !important;flex-direction:row !important;align-items:center;gap:13px;flex-wrap:wrap;margin-top:7px;padding-top:6px;border-top:1px solid rgba(255,255,255,.18);font-size:11.5px}
.pchip-amber{color:#ffb84d;font-weight:800;font-size:11.5px}
.pchip-del{margin-left:auto;border:1.5px solid rgba(255,122,100,.65);color:#ffb3a3;border-radius:11px;padding:1px 10px;font-size:11px;font-weight:800;cursor:pointer;flex:0 0 auto;white-space:nowrap}
.pchip-dest{background:#e99821;color:#1d1a14;border-radius:11px;padding:1px 9px;font-size:11.5px;font-weight:800;white-space:nowrap}
.pchip-arrow{opacity:.7;font-weight:800;font-size:12px;margin:0 2px}
.pchip-destrow{margin-top:9px}
.pchip-status{background:#6d675c;border-radius:16px;padding:3px 12px;font-size:11.5px;font-weight:800;outline:2px solid rgba(255,255,255,.55);outline-offset:-2px;white-space:nowrap;flex:0 0 auto}
.pchip-status.going{background:#336633}
.pchip-edline{font-size:11.5px;opacity:.8}
.pchip-edline b{color:#fff}
.pchip-dirwrap .action-item{display:inline-flex}
.groups-filter-btn{display:flex !important;flex-direction:row !important;align-items:center;gap:5px;padding:6px 12px;border:1px solid #ddd;border-radius:20px;background:#f9f9f9;font-size:0.85rem;cursor:pointer;white-space:nowrap}
.feed-seg button{flex:0 0 auto;width:auto !important}

/* breadcrumb trail: 2 sizes smaller than category chips (~13px → 10.5px) */
#page-explore #filter-summary-container, #page-explore #filter-summary-container *{font-size:10.5px !important;line-height:1.35}
#page-explore #filter-summary-container{padding:2px 10px}

/* rowB becomes 3-slot grid so TimeVibes can center the location pin */
.feed-rowB{display:grid !important;grid-template-columns:1fr auto 1fr;align-items:center}
.feed-rowB .feed-seg{justify-self:start}
.feed-rowB .feed-rowB-center{justify-self:center;display:flex !important;flex-direction:row !important}
.feed-rowB .feed-rowB-right{justify-self:end}
/* vibe row: 3-slot grid, map centered */
.vibe-header-row{display:grid !important;grid-template-columns:1fr auto 1fr;align-items:center}
.vibe-header-row .vibe-selector-period{justify-self:start}
.vibe-header-row .vibe-map-center{justify-self:center;display:flex !important;flex-direction:row !important}
.vibe-header-row .vibe-right{justify-self:end;display:flex !important;flex-direction:row !important}

/* Normalize circle buttons to the 40px search-circle guide (Greg 2026-07-04):
   Feed map + TimeVibes pin & map all match the magnifier button. */
#page-explore .explore-action-row .action-item,
#page-timeline .feed-rowB-center .action-item,
#page-timeline .vibe-map-center .action-item,#page-timeline .vibe-right .action-item{padding:0 !important;margin:0 !important}
#page-explore .explore-action-row .action-item .icon-frame,
#page-timeline .feed-rowB-center .action-item .icon-frame,
#page-timeline .vibe-map-center .action-item .icon-frame,#page-timeline .vibe-right .action-item .icon-frame{width:40px !important;height:40px !important;border-radius:50% !important}
#page-explore .explore-action-row .action-item .icon,
#page-timeline .feed-rowB-center .action-item .icon,
#page-timeline .vibe-map-center .action-item .icon,#page-timeline .vibe-right .action-item .icon{width:19px !important;height:19px !important}

/* Trips v1 — Plans page (2026-07-04) */
.plans-fab{position:fixed;right:18px;bottom:76px;width:56px;height:56px;border-radius:50%;background:#e99821;color:#fff;font-size:32px;font-weight:600;border:none;display:flex !important;align-items:center;justify-content:center;box-shadow:0 5px 14px rgba(0,0,0,.3);cursor:pointer;z-index:25;line-height:1}
.plans-fab:hover{background:#c77f12}
.plans-sechead{font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#8b857a;margin:14px 14px 4px}
.plan-trip-badge{font-size:9px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#3a6ea5;margin-top:3px;display:block}
.plan-chooser{padding:6px 4px}
.plan-opt{display:flex !important;flex-direction:row !important;gap:12px;align-items:center;border:1.5px solid #e8e5e0;border-radius:14px;padding:13px 12px;margin-bottom:10px;cursor:pointer;background:#fff}
.plan-opt:hover{border-color:#e99821;background:#fffaf2}
.plan-opt-ic{width:44px;height:44px;border-radius:12px;display:flex !important;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.plan-opt-ic.a{background:#fdeeda}.plan-opt-ic.b{background:#e8f2e8}.plan-opt-ic.c{background:#e3ecf6}
.plan-opt b{font-size:14px;display:block}
.plan-opt span{font-size:11.5px;color:#7d7768;line-height:1.4;display:block;margin-top:2px}
.trip-setup{padding:8px 6px}
.trip-setup label{display:block;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#8b857a;margin-bottom:10px}
.trip-setup label em{font-style:normal;font-weight:600;font-size:8.5px;color:#b3ac9e;text-transform:none;margin-left:4px}
.trip-setup input{display:block;width:100%;border:1px solid #ddd8cf;border-radius:10px;padding:10px 12px;font-size:14px;margin-top:4px;background:#fff}
.trip-setup-dates{display:flex !important;flex-direction:row !important;gap:10px}
.trip-setup-dates label{flex:1}
.trip-setup-hint{font-size:10.5px;color:#8b857a;text-align:center;line-height:1.5;margin:4px 0 10px}
.trip-setup-cta{display:block;width:100%;background:#e99821;color:#fff;border:none;border-radius:12px;padding:13px;font-size:15px;font-weight:700;cursor:pointer}
.trip-setup-cta:hover{background:#c77f12}
.trip-summary{padding:4px 6px}
.trip-sum-line{font-size:13px;margin-bottom:6px}
.trip-sum-item{font-size:12px;padding:6px 0;border-bottom:1px solid #f0ede7}

/* Trips v1 — trip page (2026-07-05). App-wide column-flex gotcha: every row here forces row. */
#page-trip .trip-shell{padding-bottom:30px}
.triphead2{background:#fff;border-bottom:1px solid #e8e5e0;padding:12px 14px 10px}
.ttitle{font-size:17px;font-weight:800}
.tedit{color:#c9c3b8;font-size:12px;cursor:pointer;margin-left:4px}
.tedit:hover{color:#e99821}
.tedit-link{color:#e99821;font-weight:700;font-size:12px;cursor:pointer}
.tdates{font-size:12px;color:#7d7768;margin-top:2px;cursor:pointer}
.tdests{margin-top:7px;display:flex !important;flex-direction:row !important;flex-wrap:wrap;gap:5px}
.tdest{display:inline-flex !important;flex-direction:row !important;align-items:center;background:#111;color:#fff;border-radius:14px;padding:4px 10px;font-size:11px}
.tdest.add{background:transparent;border:1.5px dashed #c9c3b8;color:#8b857a;cursor:pointer}
.tdest.add:hover{border-color:#e99821;color:#e99821}
.tmembers{display:flex !important;flex-direction:row !important;align-items:center;margin-top:9px}
.tav{width:30px;height:30px;border-radius:50%;border:2px solid #fff;display:inline-flex !important;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;margin-right:-6px}
.tav.c0{background:#3a6ea5}.tav.c1{background:#7d5ba6}.tav.c2{background:#2e8b57}.tav.c3{background:#b5651d}
.tav.addm{background:#fff;border:1.5px dashed #c9c3b8;color:#8b857a;margin-left:10px;cursor:pointer}
.tdesc{font-size:11px;color:#7d7768;margin-left:16px}
.ttabs{display:flex !important;flex-direction:row !important;background:#fff;border-bottom:1px solid #e8e5e0;position:sticky;top:0;z-index:5}
.ttabs div{flex:1;text-align:center;padding:10px 0;font-size:13px;font-weight:700;color:#8b857a;border-bottom:2.5px solid transparent;cursor:pointer}
.ttabs .on{color:#e99821;border-bottom-color:#e99821}
.ttabs small{font-size:10px;color:#b3ac9e}
.tpane2{display:none}.tpane2.on{display:block}
.tbudgetbar{display:flex !important;flex-direction:row !important;justify-content:flex-end;margin:10px 14px -2px}
.tbudgetpill{background:#14120f;color:#fff;border:none;border-radius:14px;padding:6px 13px;font-size:12px;font-weight:800;cursor:pointer}
.tbudgetpill small{font-weight:600;opacity:.65;font-size:9px;margin-left:3px}
.tdayhead{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;margin:14px 12px 6px}
.tdaynum{background:#111;color:#fff;font-size:10px;font-weight:800;border-radius:6px;padding:3px 8px;letter-spacing:.5px}
.tdayinfo{font-size:12px;font-weight:700}
.tdayinfo small{color:#8b857a}
.tdayadd{margin-left:auto;border:1.5px dashed #c9c3b8;color:#8b857a;background:transparent;border-radius:14px;padding:3px 10px;font-size:11px;font-weight:700;cursor:pointer}
.tdayadd:hover{border-color:#e99821;color:#e99821}
.tdaycards{min-height:20px;border-radius:12px}
.tdaycards.dropover,.tnight.dropover{outline:2px dashed #e99821;outline-offset:-3px;background:#fdeeda}
.tempty-day{font-size:11px;color:#b3ac9e;text-align:center;padding:8px}
.titcard{display:flex !important;flex-direction:row !important;gap:9px;align-items:center;background:#fff;border:1px solid #e8e5e0;border-radius:11px;padding:9px 10px;margin:6px 12px;position:relative}
.titcard.dragging{opacity:.35}
.tgrab{color:#c9c3b8;font-size:15px;cursor:grab;flex-shrink:0;padding:2px;user-select:none}
.tgrab:hover{color:#e99821}
.tem{width:38px;height:38px;border-radius:8px;display:flex !important;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.tem.k-lodging{background:#e3ecf6}.tem.k-note{background:#f3f0ea}.tem.k-activity{background:#e8f2e8}
.tmid{flex:1;min-width:0}
.tmid b{font-size:13px;display:block}
.tmid > span{font-size:10.5px;color:#7d7768;display:block;margin-top:1px}
.trow2{display:flex !important;flex-direction:row !important;gap:5px;align-items:center;margin-top:6px;flex-wrap:wrap}
.tvote{font-size:10.5px;font-weight:700;border:1px solid #e8e5e0;border-radius:12px;padding:2.5px 8px;cursor:pointer;color:#8b857a;background:#fff}
.tvote.up.on{background:#e8f2e8;border-color:#9cc79c;color:#2e7d32}
.tvote.dn.on{background:#fdecea;border-color:#e2a49e;color:#c62828}
.tmini{font-size:10px;font-weight:700;border:1px solid #e8e5e0;background:#fff;color:#5d584e;border-radius:12px;padding:3px 8px;cursor:pointer;white-space:nowrap}
.tmini.ttime{color:#b57713;border-color:#f0d4a8;background:#fffaf2}
.tcost{margin-left:auto;flex-shrink:0;align-self:center;font-size:11.5px;padding:6px 10px;border-radius:11px;border:1px solid #bcd9bc;background:#eef7ee;color:#1f6b24;font-weight:800;cursor:pointer}
.tcost.blank{background:#fff;border-style:dashed;color:#5a9e60}
.tsched{flex-shrink:0;background:#e99821;color:#fff;border:none;border-radius:10px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer;margin-left:6px}
.tnight{margin:10px 12px;border:2px solid #3a6ea5;background:#eaf1f9;border-radius:13px;padding:8px 8px 6px;position:relative}
.tnight.empty{background:#f0f5fa;border-style:dashed}
.tnight .titcard{margin:2px 2px 4px;border-color:#c4d5e8}
.tnightlabel{display:inline-flex !important;flex-direction:row !important;align-items:center;gap:7px;font-size:10.5px;font-weight:800;color:#fff;background:#3a6ea5;border-radius:8px;padding:4px 10px;margin:-16px 0 8px 6px;box-shadow:0 2px 5px rgba(0,0,0,.15)}
.tnightlabel small{font-weight:600;opacity:.85}
.tnightempty{display:flex !important;flex-direction:row !important;align-items:center;justify-content:space-between;padding:6px 8px 8px}
.tnightempty span{font-size:12px;color:#5b7a9c;font-weight:600}
.tbook{background:#3a6ea5;color:#fff;border:none;border-radius:10px;padding:7px 22px;font-size:13px;font-weight:800;cursor:pointer}
.ttotalrow{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;margin:4px 12px 10px;padding:7px 12px;border-radius:10px;background:#f0ede7;border:1px solid #ddd8cf}
.ttotalrow span{font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:#6f6a61}
.ttotalrow span small{text-transform:none;color:#a39c8d}
.ttotalrow > b{margin-left:auto;font-size:14px;color:#14120f}
.ttotalrow.trip{background:#14120f;border-color:#14120f}
.ttotalrow.trip span{color:#cfc8ba}
.ttotalrow.trip > b{color:#fff;font-size:16px}
.ttotalrow.trip em{font-style:normal;font-size:10px;font-weight:800;border-radius:9px;padding:3px 8px;background:#1f6b24;color:#dff3df}
.ttotalrow.trip em.over{background:#a12c22;color:#fbe3e0}
.tdaybudget{border:1.5px dashed #b9b2a4;background:#fff;border-radius:11px;padding:3px 9px;font-size:9.5px;font-weight:700;color:#6f6a61;cursor:pointer}
.tdaybudget b{color:#14120f;font-size:10.5px}
.tideacat{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;margin:14px 12px 4px}
.tideacat b{font-size:12.5px}
.tideacat span{font-size:10px;color:#8b857a}
.tideacat a{margin-left:auto;font-size:11px;color:#e99821;font-weight:700;cursor:pointer}
.tnote-center{font-size:10.5px;color:#8b857a;text-align:center;line-height:1.5;margin:14px;padding-bottom:8px}
.tmaplist{padding:6px 0}
.tmaprow{display:flex !important;flex-direction:row !important;align-items:center;gap:9px;background:#fff;border:1px solid #e8e5e0;border-radius:11px;padding:10px 12px;margin:6px 12px;cursor:pointer}
.tmaprow b{font-size:13px;flex:1}
.tmaprow small{font-size:10px;color:#8b857a}
.tmaprow em{font-style:normal;font-size:11px;color:#e99821;font-weight:700}
.tmovegrid{display:flex !important;flex-direction:row !important;flex-wrap:wrap;gap:8px;padding:8px 4px;justify-content:center}
.tmovebtn{display:flex;flex-direction:column;align-items:center;gap:2px;border:1.5px solid #e8e5e0;background:#fff;border-radius:12px;padding:10px 16px;font-size:13px;font-weight:800;cursor:pointer;min-width:100px}
.tmovebtn small{font-size:9.5px;color:#8b857a;font-weight:600}
.tmovebtn:hover{border-color:#e99821}
.tmovebtn.cur{border-color:#e99821;background:#fffaf2}
.tmovebtn.toidea{border-style:dashed}
.ttoast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);max-width:86%;background:rgba(17,17,17,.93);color:#fff;font-size:11.5px;font-weight:600;border-radius:12px;padding:9px 16px;opacity:0;pointer-events:none;transition:opacity .25s;z-index:60;text-align:center}
.ttoast.show{opacity:1}
/* 2026-07-05 Greg fixes: pencils inline with what they edit (global column-flex made them wrap) */
.ttitle{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;flex-wrap:nowrap}
.tdates{display:flex !important;flex-direction:row !important;align-items:center;gap:6px}
.tedit{display:inline-flex !important;flex-direction:row !important}
/* Trip RSVP status chips (mirrors card-invite vocabulary) */
.trsvp{display:inline-flex !important;flex-direction:row !important;align-items:center;gap:4px;font-size:10.5px;font-weight:700;border:1.5px dashed #c9c3b8;border-radius:12px;padding:2.5px 8px;cursor:pointer;color:#8b857a;background:#fff}
.trsvp em{font-style:normal;background:#2e7d32;color:#fff;border-radius:8px;padding:0 5px;font-size:9px}
.trsvp.going{border:1.5px solid #9cc79c;background:#e8f2e8;color:#2e7d32}
.trsvp.ifany,.trsvp.ifall{border:1.5px solid #d8c48e;background:#fdf6e3;color:#8a6d1a}
.trsvp.considering{border:1.5px solid #b9cfe0;background:#eef4f9;color:#3a6ea5}
.trsvp.declined{border:1.5px solid #e2a49e;background:#fdecea;color:#c62828}
.trsvpgrid{display:flex !important;flex-direction:column !important;gap:8px;padding:8px 6px}
.trsvpopt{border:1.5px solid #e8e5e0;background:#fff;border-radius:12px;padding:11px 14px;font-size:13.5px;font-weight:700;cursor:pointer;text-align:left}
.trsvpopt:hover{border-color:#e99821}
.trsvpopt.cur{border-color:#e99821;background:#fffaf2}
.trsvpopt.going.cur{border-color:#2e7d32;background:#e8f2e8}
.trsvpopt.clear{border-style:dashed;color:#8b857a;font-weight:600}
/* scheduled-card confirmation: green+✓ when anyone Going, yellow+? until then */
.titcard.confirmed{border:1.5px solid #9cc79c}
.titcard.unconfirmed{border:1.5px solid #e0b93d}
.tconf{position:absolute;top:-7px;right:-6px;width:18px;height:18px;border-radius:50%;display:flex !important;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);z-index:2}
.tconf.confirmed{background:#2e7d32}
.tconf.unconfirmed{background:#e0b93d;color:#5d4a05}
.tnight .titcard.confirmed{border-color:#9cc79c}
.tnight .titcard.unconfirmed{border-color:#e0b93d}
/* Group blending (roadmap #1, 2026-07-05) */
#tv-groupbar{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;background:#fdf6e9;border-bottom:1px solid #f0d4a8;padding:6px 12px;font-size:11.5px;color:#6f5518}
#tv-groupbar b{font-weight:800}
#tv-groupbar .tvg-x{margin-left:auto;cursor:pointer;color:#b3a06a;font-weight:800;padding:2px 6px}
#tv-groupbar .tvg-x:hover{color:#a3541a}
.tv-groupmatch{position:absolute;top:6px;right:6px;z-index:3;font-size:9.5px;font-weight:800;border-radius:10px;padding:2px 7px;background:#eee9df;color:#6f6a61;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.tv-groupmatch.all{background:#1f6b24;color:#dff3df}
.tblendbar{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;margin:12px 12px 2px}
.tblend{display:inline-flex !important;flex-direction:row !important;align-items:center;gap:5px;font-size:11px;font-weight:800;border:1.5px solid #c9c3b8;border-radius:14px;padding:4px 11px;cursor:pointer;color:#8b857a;background:#fff}
.tblend.on{border-color:#9cc79c;background:#e8f2e8;color:#2e7d32}
.tblendbar small{font-size:10px;color:#8b857a}
/* Pay Settle v1 (2026-07-05) */
.tmoney{margin:12px 12px 4px;background:#fff;border:1px solid #ddd8cf;border-radius:13px;padding:10px 12px 8px}
.tmoneyhead{display:flex !important;flex-direction:row !important;align-items:center;justify-content:space-between;margin-bottom:6px}
.tmoneyhead b{font-size:13px}
.tbalrow{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;padding:7px 4px;border-bottom:1px solid #f0ede7;font-size:12px}
.tbalrow em{font-style:normal;font-weight:800;margin-left:auto}
.tbalrow.mine{background:#fffaf2;border-radius:8px;padding-left:8px}
.tbalrow.allclear{color:#2e7d32;font-weight:700;border:none}
.tbalrow.none{color:#8b857a;border:none;font-size:11px}
.tsettle{background:#2e7d32;color:#fff;border:none;border-radius:10px;padding:4px 12px;font-size:10.5px;font-weight:800;cursor:pointer}
.tsettle:hover{background:#1f6b24}
.texplist{margin-top:6px}
.texprow{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;font-size:11px;padding:5px 4px;color:#5d584e}
.texprow span{font-weight:700;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.texprow small{color:#8b857a}
.texprow i{font-style:normal;font-size:9.5px;color:#2e7d32;font-weight:700}
.texprow u{text-decoration:none;color:#c9c3b8;cursor:pointer;font-weight:800}
.texprow u:hover{color:#c62828}
.tmini.tpay{color:#8a6d1a;border-color:#e0b93d;background:#fdf6dd}
.texpense{padding:6px 4px}
.texl{display:block;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#8b857a;margin-bottom:9px}
.texl small{text-transform:none;letter-spacing:0;font-weight:600}
.texl input{display:block;width:100%;border:1px solid #ddd8cf;border-radius:10px;padding:9px 11px;font-size:14px;margin-top:4px;background:#fff}
.texsplit{display:flex !important;flex-direction:row !important;align-items:center;justify-content:space-between;gap:8px;padding:5px 2px;font-size:13px}
.texsplit label{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;font-weight:600}
.texsplit .texs-share{width:76px;border:1px solid #ddd8cf;border-radius:9px;padding:6px 8px;font-size:13px;text-align:right}
.texsplit.nm{border-top:1px dashed #e8e5e0;margin-top:4px;padding-top:8px}
.texsplit.nm input[type=text]{border:1px solid #ddd8cf;border-radius:8px;padding:5px 8px;font-size:12px}
.tcost.paid{background:#1f6b24;border-color:#1f6b24;color:#fff}
.texnote{font-size:10.5px;color:#8b857a;line-height:1.45;margin:-2px 0 9px}
.texnote b{color:#5d584e}
/* Pay Settle pass 3 (Greg review): card-copy font sizes, receipts */
.tmoneyhead b{font-size:12px}
.tbalrow{font-size:10.5px;cursor:pointer}
.tbalrow em{font-size:11.5px}
.tsettle{font-size:9.5px;padding:3px 10px}
.tsettle.sm{padding:2px 8px;font-size:9px}
.treceipts{display:none}
.treceipts.open{display:block}
.trecrow{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;font-size:10.5px;
    background:#fdf6dd;border:1px solid #f0e2ae;border-radius:8px;padding:5px 9px;margin:3px 0 3px 14px;color:#6b5a14}
.trecrow span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.trecrow em{font-style:normal;font-weight:800}
.trecrow.offset{background:#f0f4f8;border-color:#d4dfe9;color:#44586b}
.texprow{font-size:10.5px}
.texprow i{font-size:9px}
.texmode{display:inline-flex !important;flex-direction:row !important;border:1px solid #ddd8cf;border-radius:9px;overflow:hidden;margin:0 6px;vertical-align:middle}
.texmode i{font-style:normal;padding:2px 9px;font-size:11px;font-weight:800;cursor:pointer;color:#8b857a;background:#fff}
.texmode i.on{background:#e99821;color:#fff}
.texsplithead{display:flex !important;flex-direction:row !important;align-items:center;flex-wrap:wrap;gap:2px}
.texdefault{font-size:10.5px;color:#2d5885;background:#e9f0f8;border-radius:8px;padding:6px 9px;margin:0 0 8px}
.texdefaultset{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#5d584e;margin-top:8px}
.texdefaultset small{font-weight:600;color:#8b857a}
.tcadence{font-size:9.5px;font-weight:800;color:#5d584e;border:1px dashed #c9c3b8;border-radius:10px;padding:3px 8px;cursor:pointer;margin-left:auto;margin-right:8px}
.tcadence:hover{border-color:#e99821;color:#b57713}
/* Pay Settle dialog pass 5 (Greg screenshot review): font clamps + breathing room */
.texpense p.texnote{font-size:10.5px !important;line-height:1.5 !important;margin:0 0 9px}
.texpense p.texnote b{font-size:11px !important;font-weight:800}
.texpense .texnote:nth-of-type(2){margin-bottom:18px}
.texpense .texsplithead{font-size:10px !important}
.texpense .texsplithead small{font-size:10px !important;font-weight:600}
.texequal{border:1px solid #ddd8cf;background:#fff;border-radius:10px;padding:3px 10px;font-size:10.5px !important;font-weight:800;color:#5d584e;cursor:pointer;margin-left:6px}
.texequal:hover{border-color:#e99821;color:#b57713}
.texpense .texsplit label{font-size:12.5px !important;font-weight:600}
.texpense .texdefaultset{font-size:10.5px !important;margin:12px 0 0}
.texpense .texdefaultset small{font-size:9.5px !important}
.texpense .trip-setup-cta{margin-top:18px !important}
.texpense .tnote-center{font-size:10px !important}
.texpense .texl{font-size:9.5px !important}
.texpense .texdefault{font-size:10px !important}
.texequal.on{background:#e99821;border-color:#e99821;color:#fff}
.texequal.on:hover{background:#c77f12;color:#fff}
.tmini.tpay.done{color:#fff;border-color:#2e7d32;background:#2e7d32}
/* Navigation-Buttons (2026-07-06): nav badge slots */
.main-nav-tab .icon-frame{position:relative}
.nav-badge{display:none;position:absolute;top:-5px;right:-9px;min-width:16px;height:16px;border-radius:9px;
  background:#d93a2b;color:#fff;font-size:9.5px;font-weight:800;line-height:16px;text-align:center;
  padding:0 4px;box-shadow:0 1px 3px rgba(0,0,0,.3);pointer-events:none}
.nav-badge.show{display:block}

/* ── Nav 2.0 (2026-07-06) ─────────────────────────────────────────── */
/* Active state = Greg's pick: SOFT ORANGE HALO — light-orange circle,
   black line icon, orange caption. One rule for every tab; overrides
   the legacy per-tab colors (red explore / green plan / etc. in
   main-nav.css) via !important. Fill icons kept on disk for future. */
.main-nav-tab .icon-frame .nav2-fill{display:none !important}
.main-nav-tab .icon-frame .nav2-line{display:block !important}
.main-nav.normal-tabs .main-nav-tab .icon-frame{width:40px;height:40px;min-width:40px;min-height:40px;
  padding:0 !important;display:flex !important;align-items:center;justify-content:center;
  border-radius:50% !important;background:transparent !important;transition:background .15s}
.main-nav.normal-tabs .main-nav-tab.selected .icon-frame{background:#f8dcb4 !important}
.main-nav-tab.selected .nav-caption{color:#e99821;font-weight:800}
.main-nav.normal-tabs{align-items:flex-end}
.nav-plus{width:56px;height:56px;border-radius:50%;background:#e99821;border:none;display:flex !important;
  align-items:center;justify-content:center;color:#fff;font-size:30px;font-weight:600;line-height:1;
  margin:0 4px;transform:translateY(-18px);cursor:pointer;flex-shrink:0;
  box-shadow:0 5px 14px rgba(0,0,0,.28),0 0 0 5px #fff;transition:transform .15s}
.nav-plus:hover{background:#c77f12;transform:translateY(-18px) scale(1.06)}
.plus-sheet-opt{display:flex !important;flex-direction:row !important;gap:12px;align-items:center;
  border:1.5px solid #e8e5e0;border-radius:14px;padding:13px 12px;margin-bottom:10px;cursor:pointer;background:#fff}
.plus-sheet-opt:hover{border-color:#e99821;background:#fffaf2}
.plus-sheet-opt .ic{width:44px;height:44px;border-radius:12px;display:flex !important;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.plus-sheet-opt b{font-size:14px;display:block}
.plus-sheet-opt span{font-size:11.5px;color:#7d7768;line-height:1.4;display:block;margin-top:2px}
.splitbill-trip{display:flex !important;flex-direction:row !important;align-items:center;gap:10px;
  border:1.5px solid #e8e5e0;border-radius:12px;padding:11px;margin-bottom:8px;cursor:pointer;background:#fff}
.splitbill-trip:hover{border-color:#e99821}
.splitbill-trip b{font-size:13px;flex:1}
.splitbill-trip small{font-size:10px;color:#8b857a}
.plans-balcard{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;margin:12px 12px 2px;
  background:#14120f;color:#fff;border-radius:13px;padding:11px 14px;font-size:12.5px;cursor:pointer}
.plans-balcard b{color:#7fd18a}
.plans-balcard em{font-style:normal;margin-left:auto;font-size:11px;font-weight:800;color:#e99821}
.gbal-row{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;padding:9px 6px;
  border-bottom:1px solid #f0ede7;font-size:13px;cursor:pointer}
.gbal-row em{font-style:normal;font-weight:800;margin-left:auto;color:#1f6b24}
.gbal-row em.neg{color:#a12c22}
.gbal-receipts{display:none}
.gbal-receipts.open{display:block}
.gbal-rec{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;font-size:11px;
  background:#fdf6dd;border:1px solid #f0e2ae;border-radius:8px;padding:6px 9px;margin:3px 0 3px 14px;color:#6b5a14}
.gbal-rec span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.gbal-rec small{color:#a3925c;font-weight:600}
.gbal-rec em{font-style:normal;font-weight:800}
.gbal-rec.offset{background:#f0f4f8;border-color:#d4dfe9;color:#44586b}
.plan-opt.smart{border:1.5px solid #3a6ea5;background:#eef4fa}
.plan-opt.smart:hover{border-color:#2d5885;background:#e3eef9}
.plus-base-link{font-size:11.5px;color:#e99821;font-weight:700;cursor:pointer}
.plus-base-link:hover{color:#c77f12}
/* Ask Cato row (pinned to every ＋ sheet) */
.plus-cato{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;
  background:#f6f4ef;border:1.5px solid #e0dcd2;border-radius:14px;padding:7px 10px;margin:12px 2px 6px}
.plus-cato span{font-size:16px}
.plus-cato input{flex:1;border:none;outline:none;background:transparent;font-size:13px;color:#23201b}
.plus-cato button{width:32px;height:32px;border-radius:50%;background:#e99821;border:none;color:#fff;
  font-size:13px;cursor:pointer;flex-shrink:0}
.plus-cato button:hover{background:#c77f12}
.addnew-exp{text-align:center;padding:14px 8px}
.addnew-exp p{font-size:12px;color:#8b857a;margin-bottom:10px}
.addnew-exp button{background:#e99821;color:#fff;border:none;border-radius:12px;padding:11px 22px;font-size:14px;font-weight:800;cursor:pointer}
.addnew-exp button:hover{background:#c77f12}
.card-search-results .dist-badge{display:inline-block;background:rgba(20,18,15,.78);color:#fff;font-size:10px;
  font-weight:700;border-radius:9px;padding:2px 8px;margin:2px 0 0 8px;position:relative;z-index:3}
.plan-opt.soon{border-style:dashed;opacity:.82;background:#fbfaf7}
.plan-opt.soon:hover{border-color:#c9a3d6;background:#faf6fc}
.soon-tag{font-style:normal;font-size:8px;font-weight:800;letter-spacing:.08em;background:#7d5ba6;color:#fff;border-radius:7px;padding:2px 6px;margin-left:6px;vertical-align:2px}
/* Planning-for-trip chip (owns the Groups slot while shopping) */
.shop-chip{display:inline-flex !important;flex-direction:row !important;align-items:center;gap:5px;
  background:#eaf1f9;border:1.5px solid #3a6ea5;color:#2d5885;border-radius:20px;padding:6px 12px;
  font-size:0.85rem;font-weight:700;cursor:pointer;white-space:nowrap;max-width:52vw;overflow:hidden;text-overflow:ellipsis}
.shop-chip:hover{background:#dce9f6}
.shop-chip-x{width:26px;height:26px;border-radius:50%;border:1.5px solid #b9cfe0;background:#fff;color:#3a6ea5;
  font-size:11px;font-weight:800;cursor:pointer;margin-left:5px;flex-shrink:0}
.shop-chip-x:hover{border-color:#a12c22;color:#a12c22}
/* Round 10: 3-class specificity so co-planning GREEN survives the
   .rail-chip.coplanning orange rule that now also matches this chip. */
.rail-chip.groups-filter-btn.coplanning,.groups-filter-btn.coplanning{background:#e8f2e8;border-color:#9cc79c;color:#2e7d32;font-weight:800}
.apk-cats{display:flex !important;flex-direction:row !important;flex-wrap:wrap;gap:6px;margin:2px 0 12px}
.apk-cat{border:1.5px solid #ddd8cf;border-radius:14px;padding:5px 11px;font-size:11.5px;font-weight:700;color:#6f6a61;cursor:pointer;background:#fff}
.apk-cat.on{background:#e99821;border-color:#e99821;color:#fff}
.apk-found{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#2d5885;margin:2px 0 4px}
.apk-match{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;background:#eef4fa;
  border:1px solid #b9cfe0;border-radius:10px;padding:7px 10px;margin-bottom:5px;cursor:pointer}
.apk-match:hover{background:#e3eef9}
.apk-match b{font-size:12px;flex-shrink:0}
.apk-match span{font-size:10.5px;color:#5b7a9c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.apk-saveas{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;margin:0 0 12px;
  font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#8b857a}
.apk-class{border:1.5px solid #ddd8cf;border-radius:14px;padding:5px 11px;font-size:11.5px;font-weight:700;
  color:#6f6a61;cursor:pointer;background:#fff;text-transform:none;letter-spacing:0}
.apk-class.on{background:#14120f;border-color:#14120f;color:#fff}
.vibe-map-center{gap:10px}

/* 2026-07-07 Groups branch: Connect 3-tab layout (Greg's model) */
#page-connect .tab-set.CONNECT3 > .tab-row:first-of-type{position:sticky;top:0;background:#fff;z-index:5;border-bottom:1px solid #e8e5e0}
#page-connect .tab-set.CONNECT3 .tab{font-weight:800;font-size:0.8rem}
.cp-sechead{display:flex;align-items:center;justify-content:space-between;font-size:0.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8b857a;margin:13px 14px 5px}
.cp-row{display:flex !important;flex-direction:row !important;align-items:center;gap:10px;background:#fff;border:1px solid #e8e5e0;border-radius:12px;padding:9px 11px;margin:6px 12px;cursor:pointer}
.cp-row:hover{background:#faf7f2}
.cp-av{width:36px;height:36px;border-radius:50%;display:flex !important;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#fff;flex-shrink:0}
.cp-mid{flex:1;min-width:0;display:flex !important;flex-direction:column !important}
.cp-mid b{font-size:0.85rem}
.cp-mid span{font-size:0.68rem;color:#7d7768}
.cp-go{font-size:1rem}
.cp-empty{padding:10px 14px;font-size:0.78rem;color:#8b857a}
.cp-soon{opacity:.65;cursor:default}
.cp-soontag{font-size:0.6rem;font-weight:800;background:#f3f0ea;border:1px solid #ddd8cf;border-radius:8px;padding:2px 7px;color:#8b857a}
.gc-new{border:1.5px dashed #c9c3b8;background:transparent;border-radius:12px;padding:4px 10px;font-size:0.72rem;font-weight:800;color:#8b857a;cursor:pointer;text-transform:none;letter-spacing:0}
.gc-new:hover{border-color:#e99821;color:#b57713}
.gc-badge{font-size:0.6rem;font-weight:800;background:#e8f2e8;border:1px solid #9cc79c;color:#2e7d32;border-radius:8px;padding:2px 7px}
.picker-sec{font-size:0.65rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8b857a;margin:10px 4px 4px;text-align:left}
.picker-hint{font-size:0.75rem;color:#8b857a;padding:4px 6px 8px}
.picker-new b{color:#b57713}
.gc-wrap{display:flex !important;flex-direction:column !important;margin:6px 0}
.gc-rowmeta{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;padding:3px 12px 0}
.gc-badge.chatborn{background:#f3f0ea;border-color:#ddd8cf;color:#8b857a}
.gc-save{border:none;background:transparent;font-size:0.68rem;font-weight:700;color:#2a6bd4;cursor:pointer;padding:2px 0}
.picker-tabs{display:flex !important;flex-direction:row !important;gap:0;margin:4px 0 8px;border-bottom:1.5px solid #eee6d8}
.picker-tab{flex:1;text-align:center;padding:7px 4px;font-size:0.72rem;font-weight:800;color:#8b857a;cursor:pointer;border-bottom:2.5px solid transparent;margin-bottom:-1.5px}
.picker-tab.on{color:#e99821;border-bottom-color:#e99821}
.picker-pane.hidden{display:none !important}
.picker-pane{max-height:46vh;overflow-y:auto;-webkit-overflow-scrolling:touch}
.dialog .groups-list{max-height:34vh;overflow-y:auto}
.dialog .groups-chatcrews{max-height:26vh;overflow-y:auto}
.groups-crews-head{font-size:0.65rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8b857a;margin:10px 2px 4px;text-align:left}

/* TimeVibe-a-Trip */
#trip-vibebar{display:flex !important;flex-direction:row !important;align-items:center;flex-wrap:wrap;gap:6px;padding:6px 12px;background:#eef4fa;border-bottom:1px solid #cfe0ef;font-size:0.78rem}
.tv-destchips{display:flex !important;flex-direction:row !important;gap:5px;margin-left:auto}
.tv-destchip{border:1.5px solid #b9cfe0;border-radius:12px;padding:3px 9px;font-size:0.7rem;font-weight:700;color:#2d5885;cursor:pointer;background:#fff}
.tv-destchip.on{background:#2d5885;border-color:#2d5885;color:#fff}
.tv-destone{margin-left:auto;font-size:0.72rem;font-weight:700;color:#2d5885}
.dialog .groups-trips{max-height:22vh;overflow-y:auto}
.tva-what{font-size:0.85rem;margin:2px 0 8px}
.tva-days{display:flex !important;flex-direction:row !important;flex-wrap:wrap;gap:6px;margin:6px 0 10px}
.shop-chip .chipx{margin-left:7px;font-weight:800;color:#a12c22;padding:2px 4px}
.action-menu .add-to-trip .caption{white-space:nowrap}

/* card ⊕ beside Save To My Guide: bigger + orange (Greg 2026-07-07) */
.cardplus-holder .action-item.add{margin:0}
.cardplus-holder .action-item.add .icon-frame,
.cardplus-holder .cato-tooltip .icon-frame{width:46px;height:46px;background:#e99821 !important;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.cardplus-holder .action-item.add .icon,
.cardplus-holder .cato-tooltip .icon{filter:brightness(0) invert(1);width:24px;height:24px}
.classification-select{text-overflow:ellipsis}
/* corrected ⊕ styling: the trigger IS .cato-tooltip (one element),
   main.css pins it to 28px — override where it sits beside the select */
.classification-row .tooltip{flex-shrink:0}
.classification-row .cato-tooltip{width:34px !important;height:34px !important;background:#e99821 !important;border-radius:50% !important;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.classification-row .cato-tooltip .icon-frame{width:100%;height:100%;display:flex !important;align-items:center;justify-content:center;background:transparent !important}
.classification-row .cato-tooltip img.icon{width:19px !important;height:19px !important;filter:brightness(0) invert(1)}
/* let "Save To My Guide" read in full on narrow preview cards:
   left-align (centering + the arrow ate ~20px) and slim padding */
.classification-row .classification-select{text-align:left;text-align-last:left;padding:3px 2px 3px 6px;font-size:0.72rem}
/* portaled card-＋ menu: opaque bubbles, no stray tooltip bars */
.action-menu.plus-portal .tooltiptext{display:none !important}
.action-menu.plus-portal .action-item{background:#ececec !important;opacity:1 !important;border-radius:22px;padding:9px 16px;display:flex !important;flex-direction:row !important;align-items:center;gap:8px;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.action-menu.plus-portal .action-item .text,.action-menu.plus-portal .action-item .caption{color:#222 !important;font-weight:700;opacity:1}
.action-menu.plus-portal .action-item img.icon{opacity:1;filter:none}
.action-menu.plus-portal .add-to-trip{background:#fdeeda !important;border:1.5px solid #f0c98a}
.action-menu.plus-portal .add-to-trip .caption{color:#8a5406 !important}
.action-menu.plus-portal .tooltip{background:transparent;width:auto;height:auto;padding:0}
/* final fit pass: slightly smaller ⊕ + tighter type so the full
   "Save To My Guide" reads even on the narrowest preview cards */
.classification-row .cato-tooltip{width:30px !important;height:30px !important}
.classification-row .cato-tooltip img.icon{width:17px !important;height:17px !important}
.classification-row .classification-select{font-size:0.66rem}

/* Connect-Trinity (2026-07-08) */
#page-connect .chiprow{display:flex !important;flex-direction:row !important;gap:6px;padding:9px 12px 2px;flex-wrap:wrap}
#page-connect .fchip{border:1.5px solid #ddd8cf;border-radius:13px;padding:4px 11px;font-size:0.72rem;font-weight:700;color:#6f6a61;background:#fff;cursor:pointer}
#page-connect .fchip.on{background:#e99821;border-color:#e99821;color:#fff}
#page-connect .fchip.catochip{background:#14120f;border-color:#14120f;color:#fff}
#page-connect .fchip.catochip.on{box-shadow:0 0 0 2px #e99821}
.newbtn-chat{display:block;margin:10px 12px;border:1.5px dashed #c9c3b8;background:transparent;border-radius:12px;width:calc(100% - 24px);padding:10px;font-size:0.78rem;font-weight:800;color:#8b857a;cursor:pointer}
.ledger-net{font-size:1rem;font-weight:800;margin:2px 14px 8px}
.ledger-net .pos{color:#2e7d32}.ledger-net .neg{color:#a12c22}
.ledger-amt{font-size:0.68rem;font-weight:800;border-radius:10px;padding:3px 8px;flex-shrink:0}
.ledger-amt.pos{color:#2e7d32;background:#e8f2e8;border:1px solid #9cc79c}
.ledger-amt.neg{color:#a12c22;background:#fdecea;border:1px solid #e8b3ae}
.paybadge-live{background:#a12c22;color:#fff;font-size:0.6rem;font-weight:800;border-radius:50%;padding:1px 6px;margin-left:5px}
#page-connect .nav-list-item.filter-hide{display:none !important}
/* connect: page-level search row retired — 🔍 lives in the chip row */
#page-connect .header .search.fill, #page-connect .preSearchContent .search{display:none !important}
.csearch{display:flex !important;flex-direction:row !important;align-items:center;width:30px;height:30px;border:1.5px solid #ddd8cf;border-radius:15px;background:#fff;cursor:pointer;overflow:hidden;transition:width .25s ease;padding:0 6px;flex-shrink:0}
.csearch input{border:none;outline:none;width:0;padding:0;font-size:0.75rem;transition:width .25s ease;background:transparent}
.csearch.open{width:150px}
.csearch.open input{width:110px;padding-left:5px}
.cnew{margin-left:auto;width:30px;height:30px;border-radius:50%;background:#e99821;color:#fff;font-size:1.05rem;font-weight:800;display:flex !important;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;box-shadow:0 1px 4px rgba(0,0,0,.25)}
/* Greg round 3 (2026-07-08): alignment + typography normalization */
#page-connect .chiprow{justify-content:center}
#page-connect .chiprow .csearch{margin-right:auto}
#page-connect .chiprow .cnew{margin-left:auto}
#page-connect .ledger-net{text-align:center}
#page-connect .ledghead-center, #page-connect .cp-sechead{flex-direction:row !important;width:100%}
#page-connect .cp-pane, #page-connect .chats-pane, #page-connect .ledger-pane{width:100%}
#page-connect .tab-content{align-items:stretch}
/* copy sizes: chat rows inherited huge legacy type — pull toward the mockup scale */
#page-connect .chats-pane .nav-list-item{font-size:1.05rem !important;padding:12px 10px !important}
#page-connect .chats-pane .nav-list-item strong{font-size:1.05rem}
#page-connect .cp-sechead{font-size:0.68rem}
/* Greg round 4: chip text true-center, chat-name size, breathing room */
#page-connect .fchip{display:inline-flex !important;align-items:center;justify-content:center;line-height:1;padding:7px 12px}
#page-connect .chiprow{padding-bottom:12px}
#page-connect .chats-pane .card-list{margin-top:6px}
#page-connect .chats-pane .nav-list-item span,
#page-connect .chats-pane .nav-list-item strong{font-size:0.95rem !important}
#page-connect .chats-pane .nav-list-item{font-size:0.95rem !important}
#page-connect .cp-sec.hidden{display:none !important}
#page-connect .ledghead-c{justify-content:center;text-align:center}
.trip-chip-inline{font-size:0.58rem;font-weight:800;background:#eaf1f9;color:#2d5885;border:1px solid #b9cfe0;border-radius:8px;padding:1px 6px;margin-left:6px;vertical-align:middle}
.money-chip-inline{font-size:0.6rem;font-weight:800;border-radius:9px;padding:2px 7px;margin-left:5px;vertical-align:middle}
.money-chip-inline.pos{color:#2e7d32;background:#e8f2e8;border:1px solid #9cc79c}
.money-chip-inline.neg{color:#a12c22;background:#fdecea;border:1px solid #e8b3ae}
.invite-strip{display:inline-flex;align-items:center;gap:5px;font-size:0.62rem;font-weight:800;color:#8a5406;background:#fdeeda;border:1.5px solid #f0c98a;border-radius:10px;padding:2px 7px;margin-left:6px}
.invite-strip button{border:none;border-radius:9px;padding:3px 9px;font-size:0.62rem;font-weight:800;cursor:pointer}
.inv-join{background:#2e7d32;color:#fff}
.inv-decline{background:#eee;color:#666}
.title-nav-notification-bell{position:relative}
.bell-badge{position:absolute;top:-4px;right:-6px;background:#e33e2b;color:#fff;font-size:0.62rem;font-weight:800;border-radius:10px;min-width:17px;height:17px;display:flex;align-items:center;justify-content:center;padding:0 4px;box-shadow:0 1px 3px rgba(0,0,0,.35);pointer-events:none}
.push-nudge{display:flex;flex-direction:row !important;align-items:center;gap:8px;background:#fdf6ec;border:1.5px solid #f0dfc0;border-radius:12px;padding:9px 12px;margin:8px 12px 0;font-size:0.75rem;font-weight:600;color:#6b5a3e}
.pn-enable{margin-left:auto;background:#e99821;color:#fff;border:none;border-radius:12px;padding:5px 13px;font-size:0.72rem;font-weight:800;cursor:pointer}
.pn-x{color:#b3a58a;cursor:pointer;font-weight:800;padding:2px 4px}

/* trip-creation cleanup round (2026-07-09) */
.ntd-row{display:flex !important;flex-direction:row !important;align-items:center;gap:7px;background:#eef4fa;border:1px solid #b9cfe0;border-radius:10px;padding:7px 10px;margin:4px 0;cursor:pointer;font-size:0.78rem}
.ntd-row span{color:#5b7a9c;font-size:0.68rem}
.ntd-x{color:#fff;opacity:.8;cursor:pointer;margin-left:4px}
.ntd-more{font-size:0.72rem;font-weight:700;color:#2a6bd4;cursor:pointer;padding:5px 4px;align-self:center}
.plans-newtrip{display:flex !important;flex-direction:row !important;align-items:center;gap:9px;background:#fff;border:1.5px dashed #e0b96a;border-radius:14px;padding:10px 14px;margin:8px 12px;cursor:pointer}
.plans-newtrip b{font-size:0.9rem}
.plans-newtrip span{font-size:0.68rem;color:#8b857a;flex:1}
.plans-newtrip em{font-style:normal;width:30px;height:30px;border-radius:50%;background:#e99821;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
/* r13b: 3 stacked CTAs — title + subtitle stack inside each banner.
   r15 (Greg): content CENTER-aligned, ＋ stays pinned right. */
.plans-newtrip{position:relative;justify-content:center;text-align:center;padding-right:52px}
.plans-newtrip .pcta-txt{display:flex;flex-direction:column;flex:0 1 auto;min-width:0;gap:1px;align-items:center}
.plans-newtrip .pcta-txt span{flex:none}
.plans-newtrip em{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
/* r15b (Greg): CTAs + tabs share one centered column. The #plans-balances
   slot must stretch (card-list is align-items:flex-start) or margin:auto
   has nothing to center within. */
#plans-balances{align-self:stretch;width:100%}
.plans-newtrip{max-width:520px;margin-left:auto;margin-right:auto}
/* r16: ONE tile row of CTAs (variant A) — 3 doors, ~86px total */
.plans-cta-row{display:flex !important;flex-direction:row !important;gap:8px;max-width:520px;margin:10px auto 4px;padding:0 12px}
.plans-cta-tile{flex:1 1 0;min-width:0;background:#fff;border:1.5px dashed #e0b96a;border-radius:12px;padding:9px 6px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px}
.plans-cta-tile .t-emoji{font-size:21px;line-height:1}
.plans-cta-tile b{font-size:11.5px;color:#22201c;line-height:1.25}
.plans-cta-tile span{font-size:9px;color:#8b857a;line-height:1.2}
/* r17 (Greg 7/22 hierarchy flip): kind-tabs +2 sizes and OWN the section;
   underline stays snug under the label (border on the text box only);
   extra air between the CTAs and the tab rail. */
.plans-tabs{display:flex !important;flex-direction:row !important;justify-content:space-between;align-items:center;align-self:center;width:calc(100% - 28px);max-width:520px;margin:24px auto 8px;gap:10px}
.plans-tabs span{font-size:15.5px;font-weight:800;color:#111;cursor:pointer;padding-bottom:3px;border-bottom:2.5px solid transparent;white-space:nowrap;flex:0 0 auto}
.plans-tabs span.on{color:#e99821;border-bottom-color:#e99821}
/* r17: TIME chips demoted below the kind-tabs — slim in-list row, My
   Guide outfit kept; the header's own chip row is retired on Plans */
#page-plan .header .choice-set{display:none !important}
.plans-timechips{display:flex !important;flex-direction:row !important;gap:6px;align-self:center;width:calc(100% - 28px);max-width:520px;margin:0 auto 8px}
.plans-timechips .ptc{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:22px;border:1.5px solid #cfc9bc;border-radius:7px;background:#fff;font-size:10.5px;font-weight:600;color:#666;cursor:pointer;white-space:nowrap}
.plans-timechips .ptc.selected{border-color:#e99821;background:#fdf6ec;color:#23201b;font-weight:700}
/* r15b: time chips wear My Guide's button outfit (rail-chip recipe:
   white, 2px #cfc9bc border, 8px radius, 30px, emoji art; active =
   orange border on cream) — emojis ride ::before so _planFilter's
   textContent parsing never sees them */
#page-plan .choice-set .choice{display:inline-flex !important;align-items:center;justify-content:center;gap:5px;height:30px;padding:0 14px;border:2px solid #cfc9bc;border-radius:8px;background:#fff;font-size:0.85rem;font-weight:600;color:#23201b;white-space:nowrap;flex:0 1 auto;width:auto;box-shadow:none}
#page-plan .choice-set .choice.selected{border-color:#e99821;background:#fdf6ec;color:#23201b}
#page-plan .choice-set{justify-content:center;gap:8px}
#page-plan .choice-set .choice:nth-of-type(1)::before{content:'🗂'}
#page-plan .choice-set .choice:nth-of-type(2)::before{content:'⏳'}
#page-plan .choice-set .choice:nth-of-type(3)::before{content:'📅'}
#page-plan .choice-set .choice:nth-of-type(4)::before{content:'🔭'}
/* Plan an Experience sheet (r13b launchpad) */
.exp-optional{font-size:0.82rem;margin:0 0 8px;color:#22201c}
.exp-filter{margin-top:10px}
.exp-filter-lab{font-size:0.8rem;color:#8b857a;font-weight:700}
.exp-filter-lab em{font-style:normal;font-weight:400;font-size:0.7rem;color:#bdb7ab}
.exp-cats{display:flex !important;flex-wrap:wrap !important;gap:6px;margin-top:6px}
.exp-cats .choice{border:1px solid #ddd;border-radius:16px;padding:3px 11px;font-size:0.78rem;font-weight:700;color:#666;cursor:pointer}
.exp-cats .choice.selected{background:#e99821;border-color:#e99821;color:#1d1a14;font-weight:800}
.exp-fork-lab{font-size:0.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8b857a;margin:14px 0 8px;border-top:1px solid #eee8dc;padding-top:11px}
.exp-fork{display:flex !important;flex-direction:row !important;gap:8px}
.exp-fork button{flex:1;border:0;border-radius:13px;padding:11px 10px;font-weight:800;font-size:0.85rem;cursor:pointer}
.exp-fork .exp-go{background:#e99821;color:#1d1a14}
.exp-fork .exp-chat{background:#20303f;color:#fff}
.exp-fork .exp-chat span{display:block;font-size:0.6rem;font-weight:400;color:#b9c4d1;margin-top:2px}
.exp-savewrap{text-align:center;margin-top:10px}
.exp-savewrap .exp-save{background:none;border:1.5px solid #c9c2b4;border-radius:16px;padding:5px 16px;font-size:0.78rem;font-weight:800;color:#6d675c;cursor:pointer}
.exp-savewrap span{display:block;font-size:0.65rem;color:#bdb7ab;margin-top:4px}
/* the ＋ leaves the nav bar: universal floating element above it (Greg) */
.main-nav .nav-plus{position:fixed;left:50%;transform:translateX(-50%);bottom:78px;z-index:1150;width:58px;height:58px;border-radius:50%;box-shadow:0 5px 16px rgba(0,0,0,.35)}
/* step-1 breathing room (Greg) + step-2 bits */
.trip-setup > label{display:flex;flex-direction:column;gap:6px;margin-bottom:20px}
.trip-setup .trip-setup-dates{margin-bottom:20px;gap:14px}
.trip-setup .trip-setup-hint{margin:6px 0 18px}
#nt-dest-chips{margin:4px 0 16px}
.ti-addemail{font-size:0.72rem;font-weight:700;color:#2a6bd4;cursor:pointer;margin:-12px 0 16px;padding:2px 0}
.ti-skip{cursor:pointer;text-decoration:underline;color:#8b857a}
/* trip screen polish (Greg 2026-07-09) */
.tback{position:absolute;top:10px;left:10px;width:34px;height:34px;border-radius:50%;border:1.5px solid #ddd8cf;background:#fff;font-size:1.05rem;font-weight:800;color:#444;cursor:pointer;z-index:5}
#page-trip .trip-shell{position:relative}
/* vertical alignment: money button owns a fixed slot at the row's far
   right, flush with the cost pill column above it */
.titcard .trow2{display:flex !important;flex-direction:row !important;align-items:center;flex-wrap:wrap;gap:6px}
.titcard{position:relative}
.titcard .trow2{padding-right:104px}
.titcard .trow2 .tpay{position:absolute;right:10px;bottom:10px;margin-left:0;min-width:92px;text-align:center;justify-content:center}
.titcard .tmid, .titcard .trow2{position:static !important}
/* right rail: cost pill + money button stacked, never overlapping */
.titcard .trow2{padding-right:0}
.titcard .trcol{display:flex !important;flex-direction:column !important;align-items:flex-end;justify-content:center;gap:6px;margin-left:auto;flex-shrink:0;min-width:104px}
.titcard .trcol .tpay{position:static !important;min-width:92px;text-align:center}
/* back button must not sit on the trip title (any trip tab) */
#page-trip .ttitle{padding-left:46px}
.thread-invite-card{display:flex;flex-direction:column !important;gap:5px;background:#fdf6ec;border:2px solid #e99821;border-radius:14px;padding:12px 14px;margin:10px 12px;font-size:0.85rem}
.thread-invite-card span{font-size:0.72rem;color:#8b6a3e}
.tic-btns{display:flex;flex-direction:row !important;gap:8px;margin-top:4px}
.tic-btns button{border:none;border-radius:12px;padding:7px 18px;font-size:0.78rem;font-weight:800;cursor:pointer}
.tvg-invite{margin-left:10px;font-size:0.7rem;font-weight:800;color:#2a6bd4;cursor:pointer;background:#eef4fa;border:1px solid #b9cfe0;border-radius:11px;padding:3px 9px}
.chat-sub{font-size:0.68rem;color:#8b857a;font-weight:600;margin-top:2px}
/* last chat must clear the floating ＋ and bottom nav (Greg 7/09) */
#page-connect .chats-pane .card-list{padding-bottom:8px}
#page-connect .chats-pane{padding-bottom:150px}
#page-connect .cp-pane, #page-connect .ledger-pane{padding-bottom:150px}
#page-connect .chats-pane .newbtn-chat{margin:10px 12px 14px;width:calc(100% - 24px)}
/* Matches All! strip (Greg attribution round 1, 2026-07-10) */
.tv-matchall-strip{display:flex;flex-direction:row !important;align-items:center;justify-content:flex-start;margin:0 0 4px;width:100%;background:#f6f1fc;border:1px solid #d8c6ef;border-radius:12px;padding:4px 10px;box-sizing:border-box}
.tv-ma-label{font-size:0.74rem;font-weight:800;color:#6b3fa0;white-space:nowrap}
.hash-tag.tv-ma-purple{background:#8a5cc9 !important;border-color:#6b3fa0 !important;color:#fff !important}
/* ribbon shows in ALL period states — the default preview cards ARE the spec (Greg 7/10) */
/* Uniform preview-card heights in TimeVibes periods (Greg 2026-07-10):
   fixed height, tags anchored to the bottom edge, overflow clipped.
   Expanded ("See More") mode keeps natural sizing. */
#page-timeline .card.timeline:not(.expanded) .suggestion-wrapper .card.explore{height:280px;overflow:hidden;box-sizing:border-box}
/* ghost ribbon keeps card TOPS aligned when neighbors wear a real one */
.tv-matchall-strip.ghost{visibility:hidden}
/* Labeled location chip (Greg 2026-07-10) */
.loc-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:2px solid #e99821;border-radius:8px;height:26px;padding:0 12px;font-size:0.85rem;font-weight:600;color:#000;cursor:pointer;max-width:190px;line-height:1;box-sizing:border-box}
.loc-chip.pinned{background:#fdf6ec;border-color:#e99821}
.loc-chip-icon{font-size:0.8rem;line-height:1}
.loc-chip-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loc-chip-caret{color:#b57713;font-size:0.7rem}
.geo-picker-current{font-size:0.9rem;margin:2px 0 8px;color:#3a352c}
.geo-picker-useme{width:100%;background:#e99821;color:#fff;border:none;border-radius:12px;padding:11px;font-size:0.92rem;font-weight:800;cursor:pointer;margin-bottom:6px}
.geo-picker-useme:disabled{background:#e8e3d8;color:#9a9384;cursor:default}
.geo-picker-or{text-align:center;font-size:0.72rem;color:#8a8375;margin:6px 0}
/* ══ Mix D top nav (Greg 2026-07-10) ══ */
#page-timeline .title-nav .title-middle{justify-content:center !important}
.day-nav.mixd{display:flex;flex-direction:row !important;gap:5px}
/* TV-round-1 fine-tune (Greg 2026-07-10): seg buttons wear the Co-Planners
   chip shape. Round 5 (Greg): a THIN OUTER BORDER groups Feed+TimeVibes
   into ONE control — inner idle button drops its own border (no border
   soup); ENGAGED still = orange border (the app-wide rule). */
.feed-seg.compact{display:inline-flex;flex-direction:row !important;align-items:center;background:#fff;border:1px solid #cfc9bc;border-radius:10px;padding:2px;gap:3px;flex:0 0 auto}
.feed-seg.compact button{border:2px solid transparent;background:#fff;border-radius:8px;height:28px;padding:0 12px;font-size:0.82rem;font-weight:600;color:#6d6d6d;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap}
.feed-seg.compact button.on{border-color:#e99821;background:#fdf6ec;color:#23201b}
.feed-seg.compact .word{margin-right:6px}
.feed-seg.compact button.withalarm{padding:0 8px 0 12px}
.pillalarm{width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.35);display:inline-flex;align-items:center;justify-content:center;font-size:0.6rem;cursor:pointer;flex:0 0 auto}
.pillalarm.armed{background:#fff;box-shadow:0 0 0 1.5px rgba(255,255,255,.65)}
.pillcaret{font-size:0.5rem;color:#000;opacity:.75;margin-left:2px;cursor:pointer}
.pilltime{font-size:0.58rem;font-weight:800;color:#000;margin-left:4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.vibe-header-row.mixd{display:flex;flex-direction:row !important;align-items:center;gap:7px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
.vibe-header-row.mixd::-webkit-scrollbar{display:none}
.vibe-header-row.mixd .loc-chip{flex:0 0 auto}
.rail-icons{display:flex;flex-direction:row !important;gap:4px;margin-left:auto;flex:0 0 auto;align-items:center}
/* Vibe Alarm dialog */
.va-body{display:flex;flex-direction:column;gap:6px;padding:4px 2px}
.va-hint{font-size:0.72rem;color:#6d675c}
.va-time{font-size:1.6rem;font-weight:300;border:1px solid #e6e2d9;border-radius:12px;padding:8px 12px;text-align:center;width:100%}
.va-lab{font-size:0.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8a8375;margin-top:8px}
.va-vibe{border:2px solid #e99821;border-radius:10px;padding:7px 10px;font-size:0.85rem;font-weight:600;background:#fff}
.va-days{display:flex;flex-direction:row !important;gap:6px}
.va-day{width:32px;height:32px;border-radius:50%;border:2px solid #e6e2d9;display:inline-flex;align-items:center;justify-content:center;font-size:0.68rem;font-weight:800;cursor:pointer;background:#fff}
.va-day.on{background:#e99821;border-color:#e99821;color:#fff}
.va-note{font-size:0.64rem;color:#8a8375;margin-top:6px}
/* TV-round-1 #4 + fine-tune (Greg 2026-07-10): Co-Planners chip keeps its
   shape (rectangle, 8px radius, 30px) but ORANGE BORDER = ENGAGED ONLY —
   idle chips wear grey. */
.rail-chip{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border:2px solid #cfc9bc;border-radius:8px;background:#fff;font-size:0.85rem;font-weight:600;color:#23201b;cursor:pointer;white-space:nowrap;flex:0 0 auto}
.rail-chip.active,.rail-chip.coplanning{border-color:#e99821;background:#fdf6ec}
.vibe-header-row.mixd{flex-wrap:nowrap !important}
.vibe-header-row.mixd .vibe-selector-period{max-width:132px !important;flex:0 0 auto}
.rail-icons .action-item{width:28px;height:28px;min-width:28px;padding:0 !important}
.rail-icons .action-item .icon{width:16px;height:16px}
.vibe-header-row.mixd{display:flex !important}
/* Mix D round 2 (Greg live review) */
/* TV-round-1 #2 + fine-tune (Greg 2026-07-10): Dev chip flows INLINE right
   after the seg (absolute perch overlapped the ⏰ alarm pill) — small,
   faded, first thing deleted when the feature era ends. */
.dev-wrap{position:relative;display:inline-block;margin-left:6px;vertical-align:middle;align-self:center;flex:0 0 auto}
.dev-chip{display:inline-block;background:#fde5c0;color:#8a5406;font-size:0.6rem;font-weight:800;border-radius:7px;padding:2px 8px;cursor:pointer;letter-spacing:.04em;vertical-align:middle;opacity:.75}
.dev-wrap .user-info-display{display:none}
.dev-wrap.open .user-info-display{display:block;position:absolute;top:110%;right:0;left:auto;z-index:1200;background:#fff;border:1px solid #e6e2d9;border-radius:10px;padding:8px 12px;box-shadow:0 8px 24px rgba(20,16,8,.16);min-width:240px;text-align:left}
/* TV-round-1 #1: the seg sits in the title row beside the location chip */
.header .title .feed-seg.compact{margin-left:8px;flex:0 0 auto;vertical-align:middle}
.feed-seg.compact button{font-size:0.82rem !important;font-weight:700 !important}
.feed-seg.compact .word{margin-right:9px}
.feed-seg.compact button.withalarm{padding:3px 8px 3px 12px}
.day-nav.mixd{gap:9px;padding:2px 8px !important}
.day-nav.mixd .dn-date{margin-right:4px}
.rail-icons{gap:6px}
.rail-icons .action-item{width:26px;height:26px;min-width:26px;margin:0 !important;flex:0 0 auto}
.rail-icons .action-item .icon{width:15px;height:15px}
.vibe-header-row.mixd .loc-chip{max-width:120px}
/* Mix D round 3: top-row location chip + responsive rows */
#page-timeline .title, #page-explore .title{display:flex;align-items:center;gap:6px}
#page-timeline .title > .row:first-of-type, #page-explore .title > .row:first-of-type{flex:1;min-width:0}
.loc-chip.top{position:static;margin-left:8px;flex:0 0 auto;max-width:230px;height:30px;font-size:0.88rem}
@media (max-width:560px){.loc-chip.top{max-width:145px;font-size:0.8rem}}
.vibe-header-row.mixd{gap:12px;padding:5px 12px !important}
.vibe-header-row.mixd .vibe-selector-period{max-width:180px !important}
.day-nav.mixd .dn-date{font-size:0.8rem}
@media (min-width:700px){.vibe-header-row.mixd{gap:18px}.feed-seg.compact button{font-size:0.9rem !important}}
/* Greg: true screen-centered title; chip must never touch it */
@media (min-width:561px){
  #page-timeline .title, #page-explore .title{position:relative}
  #page-timeline .title-middle, #page-explore .title-middle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);justify-content:center !important;width:auto}
}
@media (max-width:560px){
  #page-timeline .title-middle, #page-explore .title-middle{justify-content:center !important;padding-left:6px}
}
/* rail icons: hard separation — framework margins/positions defeated */
.rail-icons{display:flex !important;flex-direction:row !important;gap:10px !important;align-items:center}
.rail-icons .action-item{position:static !important;transform:none !important;margin:0 !important;width:28px !important;height:28px !important;min-width:28px !important;border-radius:50%;background:#eceae3;display:flex !important;align-items:center;justify-content:center}
.rail-icons .action-item .icon{width:15px !important;height:15px !important;margin:0 !important}
.rail-icons .action-item .text{display:none}
/* trip chip + stop sheet + My Guide top chip + mobile title removal */
.loc-chip.trip{background:#fdf6ec;border-color:#e99821}
#page-myguide .title{display:flex;align-items:center;gap:6px}
#page-myguide .title > .row:first-of-type{flex:1;min-width:0}
.stop-list{display:flex;flex-direction:column;gap:4px;padding:4px 0}
.stop-row{padding:10px 12px;border:1px solid #e6e2d9;border-radius:12px;font-size:0.92rem;font-weight:600;cursor:pointer;background:#fff}
.stop-row.on{border-color:#e99821;background:#fdf6ec}
.stop-note{font-size:0.68rem;color:#8a8375;margin-top:8px}
/* Greg 2026-07-10: section titles are redundant on mobile — the lit
   bottom-nav tab + the mode pill already say it. Context titles
   (trip name, chat name) live elsewhere and stay. Dev chip stays. */
@media (max-width:700px){
  #page-connect .title-middle .icon-frame, #page-connect .title-middle > .text,
  #page-myguide .title-middle .icon-frame, #page-myguide .title-middle > .text,
  #page-plan .title-middle .icon-frame, #page-plan .title-middle > .text{display:none !important}
}
/* TV fine-tune round 3 (Greg 2026-07-10): on Feed/TimeVibes the redundant
   page title hides at EVERY width (was mobile-only — on desktop it came
   back, overlapped the bell, and its hit-area sat over the seg = "toggle
   broken"). pointer-events:none so the empty shell can't eat taps. */
#page-timeline .title-middle .icon-frame, #page-timeline .title-middle > .text,
#page-explore .title-middle .icon-frame, #page-explore .title-middle > .text{display:none !important}
#page-timeline .header .title-middle, #page-explore .header .title-middle{pointer-events:none}
/* TV fine-tune round 4 (Greg 2026-07-10, "toggle still broken"): the title's
   two inner rows are flex boxes whose EMPTY space can overlap the seg and
   swallow taps (layout differs per engine — invisible in headless tests).
   Rows go hit-transparent; their real children (bell, menu, dev) opt back
   in; the seg itself gets a stacking boost. */
#page-timeline .header .title .row, #page-explore .header .title .row{pointer-events:none}
#page-timeline .header .title .row > *, #page-explore .header .title .row > *{pointer-events:auto}
.header .feed-seg.compact{position:relative;z-index:60}
#tex-desc-results{display:flex;flex-direction:column;gap:3px;margin:2px 0 4px}
.texd-row{padding:7px 10px;border:1px solid #e6e2d9;border-radius:9px;font-size:0.82rem;cursor:pointer;background:#fff}
/* Day-Ledger (EchoPay 2021) */
#day-ledger{margin-top:14px;padding:0 12px 10px}
.dl-head{font-size:0.9rem;font-weight:800;margin-bottom:8px;display:flex;flex-direction:row !important;align-items:center;gap:8px;flex-wrap:wrap}
.dl-total{font-size:0.7rem;font-weight:800;border-radius:10px;padding:3px 10px}
.dl-total.pos{background:#e2f2e8;color:#1a6b3c}.dl-total.neg{background:#fdeaea;color:#a02c2c}
.dl-day{border:2px solid #e6e2d9;border-radius:14px;margin-bottom:8px;background:#fff;overflow:hidden}
.dl-day.settled{border-color:#9fd4b4}.dl-day.owing{border-color:#e6a4a4}.dl-day.owed{border-color:#e9c98a}
.dl-daybar{display:flex;flex-direction:row !important;align-items:center;gap:8px;padding:10px 12px;cursor:pointer;font-size:0.82rem}
.dl-n{color:#8a8375;font-size:0.7rem}
.dl-chip{margin-left:auto;font-size:0.7rem;font-weight:800;border-radius:10px;padding:2px 9px;background:#f4f1ea;white-space:nowrap}
.dl-day.settled .dl-chip{background:#e2f2e8;color:#1a6b3c}
.dl-day.owing .dl-chip{background:#fdeaea;color:#a02c2c}
.dl-day.owed .dl-chip{background:#fdf6ec;color:#8a5406}
.dl-body{display:none;border-top:1px solid #f0ece3;padding:6px 12px 10px}
.dl-day.open .dl-body{display:block}
.dl-row{display:flex;flex-direction:row !important;gap:8px;align-items:baseline;padding:5px 0;font-size:0.78rem;border-bottom:1px dashed #f0ece3}
.dl-row.done{opacity:.55}
.dl-desc{font-weight:700;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-with{color:#8a8375;font-size:0.68rem;white-space:nowrap}
.dl-amt{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.dl-ending{margin-top:8px;font-size:0.74rem;display:flex;flex-direction:row !important;gap:6px;align-items:baseline}
.dl-ending span{color:#8a8375;font-size:0.64rem}

.dl-car{font-size:0.7rem;color:#b57713;transition:transform .18s;display:inline-block;transform:rotate(-90deg)}
.dl-day.open .dl-car{transform:rotate(180deg)}
/* Vibe Alarm wake engine */
#bedside-overlay{position:fixed;inset:0;background:#0c1020;z-index:3000;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#e8eaf2;cursor:pointer}
.bs-halo{position:absolute;top:50%;left:50%;width:70vmin;height:70vmin;transform:translate(-50%,-50%);border-radius:50%;opacity:.14;animation:bsbreathe 6s ease-in-out infinite}
@keyframes bsbreathe{0%,100%{transform:translate(-50%,-50%) scale(.92);opacity:.10}50%{transform:translate(-50%,-50%) scale(1.06);opacity:.2}}
.bs-clock{font-size:22vmin;font-weight:100;letter-spacing:-.02em;font-variant-numeric:tabular-nums;position:relative;line-height:1}
.bs-date{font-size:2.4vmin;opacity:.55;margin-top:6px;position:relative}
.bs-pill{margin-top:26px;display:inline-flex;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:7px 15px;font-size:2vmin;position:relative;background:rgba(255,255,255,.05)}
.bs-dot{width:9px;height:9px;border-radius:50%}
.bs-exit{position:absolute;bottom:20px;font-size:1.8vmin;opacity:.35}
#wake-reveal{position:fixed;inset:0;z-index:3001;background:linear-gradient(180deg,#0c1020,#141a30);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;transition:background 2.6s ease,opacity 1.2s ease;padding:30px}
#wake-reveal.lit{background:linear-gradient(160deg,#f7b733 -20%,#fdf1dc 45%,#fff 100%);color:#23201b}
#wake-reveal.fade{opacity:0}
.wr-sun{height:5px;border-radius:3px;background:linear-gradient(90deg,#f7b733,#ef8354);width:8%;transition:width 3.4s ease;margin-bottom:26px}
#wake-reveal.lit .wr-sun{width:82%}
.wr-greet{font-size:1.5rem;font-weight:800;line-height:1.35;max-width:480px;text-wrap:balance}
.wr-cato{display:inline-block;background:#e99821;color:#fff;font-size:0.62rem;font-weight:800;border-radius:8px;padding:2px 9px;letter-spacing:.08em;margin-bottom:8px}
.wr-hint{margin-top:22px;font-size:0.72rem;opacity:.5}
.va-vrow{display:flex;flex-direction:row !important;gap:8px;align-items:center}
.va-vrow .va-vibe{flex:1}
.va-hear{border:none;background:#e99821;color:#fff;border-radius:10px;padding:8px 14px;font-size:0.78rem;font-weight:800;cursor:pointer;white-space:nowrap}
.va-vibes{display:flex;flex-direction:row !important;flex-wrap:wrap;gap:7px}
.va-vibechip{display:inline-flex;align-items:center;gap:7px;border:2px solid #e6e2d9;border-radius:12px;padding:6px 8px 6px 12px;font-size:0.82rem;font-weight:700;cursor:pointer;background:#fff}
.va-vibechip.on{border-color:#e99821;background:#fdf6ec}
.va-mini{width:22px;height:22px;border-radius:50%;background:#e99821;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:0.55rem;cursor:pointer}
.va-vibechip{flex-direction:row !important;gap:8px !important}
.va-mini{flex:0 0 auto}
#wake-reveal.fade{pointer-events:none !important}
#bedside-overlay.fade{pointer-events:none !important}
/* mobile scroll-anchoring pinned users to the trip's bottom as images
   loaded (Greg's phone: "can't scroll up") */
#page-trip, #page-trip .content-panel, .trip-shell{overflow-anchor:none}

/* ═══ MyGuide round 1 — the map (Greg 2026-07-10) ═══ */
.mg-controls{display:flex !important;flex-direction:row !important;align-items:center;gap:6px;padding:6px 8px;border-bottom:1px solid #eee;width:100%;overflow-x:auto;flex:0 0 auto;box-sizing:border-box}
.mg-controls .feed-seg.compact{flex:0 0 auto}
.mg-rail{display:flex !important;flex-direction:row !important;gap:6px;padding:6px 8px;overflow-x:auto;background:#fff;border-bottom:1px solid #eee;flex:0 0 auto;width:100%;box-sizing:border-box}
.mg-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;flex:0 0 auto}
.mg-pin-wrap{background:none;border:none}
.mg-pin{width:30px;height:30px;border-radius:50% 50% 50% 4px;display:flex;align-items:center;justify-content:center;font-size:14px;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.mg-popup{min-width:190px}
.mg-popup-img{width:100%;height:84px;border-radius:8px;background-size:cover;background-position:center;margin-bottom:6px}
.mg-popup-loc{font-size:0.75rem;color:#666}

/* MyGuide map popup round 2 (Greg): wrap long titles inside the box,
   green matched tags first (same rule as cards), buttons row */
.mg-popup{max-width:240px}
.mg-popup-title{white-space:normal !important;word-break:break-word;font-weight:700;font-size:0.95rem;line-height:1.25;margin:2px 0}
.mg-popup-tags{height:auto;flex-wrap:wrap;overflow:visible;mask-image:none;-webkit-mask-image:none}
#page-myguide .hash-tag.match{background-color:#2d8f4e}
.mg-popup-btns{display:flex !important;flex-direction:row !important;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.mg-popup-btns .mg-open{height:28px;font-size:0.8rem;border-color:#e99821;background:#fdf6ec}

/* ---- Discover round 1 (2026-07-11): switcher dropdown + context chips ---- */
.feed-seg.compact.switcher{position:relative;overflow:visible}
.feed-seg.compact.switcher .mode-menu{position:absolute;top:calc(100% + 5px);left:0;background:#fff;border:1.5px solid #cfc9bc;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.18);min-width:158px;z-index:1200;padding:4px}
.mode-menu .mode-item{padding:9px 12px;font-size:0.88rem;font-weight:600;border-radius:7px;color:#23201b;border:1.5px solid transparent;cursor:pointer}
.mode-menu .mode-item.on{border-color:#e99821;background:#fdf6ec}
.mode-menu .mode-item.soon{color:#8a8374;font-weight:400;cursor:default}
.mode-menu .mm-soon{display:inline-block;width:auto;font-size:0.62rem;line-height:1.4;border:1px solid #cfc9bc;border-radius:8px;padding:1px 6px;margin-left:6px;color:#8a8374;background:#fff;vertical-align:1px}
.feed-seg.compact button.alarmonly{padding:0 8px}
/* context chip row — slimmer than its neighbor rows (Greg r4) */
.ctx-chiprow{display:flex;gap:6px;align-items:center;padding:0 10px;height:33px !important;min-height:0 !important;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none}
.ctx-chiprow::-webkit-scrollbar{display:none}
.ctx-chiprow .ctx-label{font-size:0.78rem;font-weight:700;color:#23201b;flex:0 0 auto}
.ctx-chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:7px;font-size:0.75rem;background:#fdf6ec;border:1.5px solid #e99821;font-weight:600;color:#23201b;cursor:pointer;flex:0 0 auto}
.ctx-chip .x{color:#e99821;font-weight:700;font-size:0.7rem;margin-left:1px}

/* ---- Discover r2 (2026-07-11): bare switcher per Greg's slide + date-row alarm ---- */
.feed-seg.compact.switcher.bare{border:none;background:transparent;padding:0;gap:0}
.feed-seg.compact.switcher.bare .mode-switch{border:2px solid #e99821;background:#fff;border-radius:10px;height:34px;padding:0 13px;font-size:0.95rem !important;font-weight:700 !important;color:#23201b}
.feed-seg.compact.switcher.bare .mode-switch .word{margin-right:5px}
.feed-seg.compact.switcher.bare .mode-switch .pillcaret{color:#e99821}
.dn-alarm{display:inline-flex;align-items:center;gap:3px;border:1px solid #cfc9bc;border-radius:8px;padding:1px 7px;margin-left:7px;cursor:pointer;font-size:0.75rem;background:#fff;vertical-align:middle}
.dn-alarm.armed{border-color:#e99821;background:#fdf6ec}
.dn-alarm-time{font-size:0.68rem;font-weight:700;color:#b06f10}
.dn-alarm-caret{font-size:0.6rem;color:#8a8374}
/* [hidden] loses to app display rules on .title children — enforce it (the TRUE stuck-open cause) */
.mode-menu[hidden]{display:none !important}
/* r2b: app-wide rules inflate spans in this row — hard-constrain the chip */
.day-nav .dn-alarm{display:inline-flex !important;width:auto !important;max-width:max-content !important;flex:0 0 auto !important;align-self:center;box-sizing:border-box}
/* r2c: balanced spacers -> date centers on the ROW, not leftover space */
.day-nav .dn-side{flex:1 1 0 !important;min-width:0;display:flex;align-items:center}
.day-nav .dn-right{justify-content:flex-end;gap:6px}
/* r3: Packages pseudo-pill matches its black siblings but reads slightly muted */
#explore-filters .choice.pk-soon{opacity:1} /* Greg 7/18: same color as sibling categories */
/* r5c: chip row = ONE left-aligned line (was wrapping label/chip stacked+centered) */
.ctx-chiprow{width:100%;flex-wrap:nowrap;justify-content:flex-start;text-align:left}
/* r6: chip row sticky at top of the card panel — unburiable */
#page-explore .content-panel > .ctx-chiprow{position:sticky;top:0;z-index:200;background:#fff;border-bottom:1px solid #eee;margin:0;box-shadow:0 2px 6px rgba(0,0,0,.06)}
/* ---- Discover r8: date-box location line + compact schedule in date row ---- */
.day-nav .dn-loc{font-size:0.72rem;font-weight:600;color:#b06f10;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.day-nav .dn-left{justify-content:flex-end}
.day-nav .dn-left .action-item{transform:scale(.82);transform-origin:right center;flex:0 0 auto}
/* ---- Discover r9: ONE bordered date box, proportions per Greg's mock ---- */
.day-nav.dn-v2 .dn-datebox{display:flex;align-items:center;gap:10px;border:1.5px solid #cfc9bc;border-radius:12px;padding:3px 12px;flex:0 1 auto;min-width:0;background:#fff}
.day-nav.dn-v2 .dn-sched .action-item{transform:scale(.62);transform-origin:center;flex:0 0 auto;margin:-6px}
.day-nav.dn-v2 .dn-alarm{font-size:1.05rem;padding:4px 9px;border-radius:10px}
.day-nav.dn-v2 .dn-alarm .dn-alarm-time{font-size:.8rem}
.day-nav.dn-v2 .dn-alarm .dn-alarm-caret{font-size:.75rem}
/* vibe row: Map left · vibe centered · Co-Planners right, no divider */
.vibe-header-row.vh-v2{display:flex;justify-content:space-between;align-items:center;border-bottom:none}
.vibe-header-row.vh-v2 .rail-icons{flex:1 1 0;display:flex;justify-content:flex-start}
.vibe-header-row.vh-v2 .vibe-selector-period{flex:0 1 auto;margin:0 8px}
.vibe-header-row.vh-v2 > .rail-chip{flex:0 0 auto}
.vibe-header-row.vh-v2 .vh-pad{flex:1 1 0;display:flex;justify-content:flex-end;gap:6px}
/* ---- r9b (Greg): datebox strictly HORIZONTAL, 3 tabs uniform ---- */
.day-nav.dn-v2 .dn-datebox{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;align-items:center !important;gap:9px}
.day-nav.dn-v2 .dn-datebox .dn-date{flex:0 1 auto !important;width:auto !important;display:block !important}
.day-nav.dn-v2 .dn-sched{display:inline-flex;align-items:center;flex:0 0 auto;gap:1px}
.day-nav.dn-v2 .dn-sched .action-item{transform:none !important;width:30px !important;height:30px !important;min-width:0 !important;min-height:0 !important;padding:2px !important;margin:0 !important;display:inline-flex !important;align-items:center;justify-content:center}
.day-nav.dn-v2 .dn-sched .action-item .icon{width:16px !important;height:16px !important}
.dn-sched-caret{font-size:.7rem;color:#8a8374;cursor:pointer;padding:4px 2px}
.day-nav.dn-v2 .dn-alarm{flex:0 0 auto}
/* the three tabs: equal thirds, identical shape+height (General keeps
   engaged-orange, others idle grey — same geometry) */
.vibe-header-row.vh-v2{gap:10px}
.vibe-header-row.vh-v2 .rail-icons,.vibe-header-row.vh-v2 .vh-pad{flex:1 1 0;min-width:0}
.vibe-header-row.vh-v2 .rail-icons .map-chip,.vibe-header-row.vh-v2 .vh-pad .rail-chip{width:100% !important;justify-content:center !important;height:38px !important;border:2px solid #cfc9bc !important;border-radius:8px !important;font-size:.85rem !important;background:#fff}
.vibe-header-row.vh-v2 .vibe-selector-period{flex:1 1 0 !important;max-width:none !important;height:38px !important;box-sizing:border-box}
/* r9b2: slim the select's internal padding so the three tabs settle equal */
.vibe-header-row.vh-v2 .vibe-selector-period{padding:4px 16px 4px 6px !important;min-width:0 !important}
/* r10: header-scheduler pick button */
.gp-sched-pick{border:2px solid #e99821;background:#fdf6ec;border-radius:8px;height:34px;padding:0 14px;font-weight:600;cursor:pointer;color:#23201b;font-size:.85rem}
/* F1: tags toggle lives in the section header, never on a pill */
.todo-tags-head{display:flex;align-items:center;gap:8px}
.todo-tags-toggle.in-head{position:static !important;margin:0;width:24px;height:24px;flex:0 0 auto}

/* ── Round 7: Search top-row consolidation (m20) ── */
.explore-foryou{ color:#7a7263; font-size:.7rem; padding:2px 10px 0; }
.explore-foryou:empty{ display:none; }
.explore-action-row{ flex-wrap:nowrap !important; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.explore-action-row::-webkit-scrollbar{ display:none; }
/* Round 10: shape comes from .rail-chip now (this rule sat AFTER
   .rail-chip in the cascade and was silently re-pilling the button). */
.explore-sort-btn{ white-space:nowrap; flex:0 0 auto; }
/* receipt chips: smaller print than every control row around them (r7) */
#ctx-chiprow{ font-size:.66rem !important; }
#ctx-chiprow .ctx-chip{ font-size:.66rem !important; padding:1px 8px !important; border-width:1px !important; height:20px !important; }

/* Round 7b: plain (non-destination) receipt chips — grey, same small print */
#ctx-chiprow .ctx-chip.plain{ background:#fff !important; border-color:#cfc9bc !important; }
#ctx-chiprow .ctx-chip.plain .x{ color:#8a8272; }
#ctx-chiprow .ctx-chip.more{ cursor:default; color:#8a8272; }


/* 7f: receipt row rides directly under the title — compact status line */
.ctx-chiprow.topline{ position:static !important; height:26px !important; padding:0 12px 2px; z-index:auto; }

/* ── Search-map row diet (Greg 7/18): while the map owns the screen the
   catalog categories row hides (✕ Map restores it; coach toast teaches
   the exit once per login) and the ⏱ ETD chip rides the breadcrumb
   line, right-aligned — the caption/receipt get right padding so text
   WRAPS instead of overlapping the chip. ───────────────────────────── */
body.explore-map-open #explore-filters { display: none; }
.etd-crumb-chip { display: none; }
body.explore-map-open .etd-crumb-chip {
    display: inline-flex; align-items: center; gap: 4px;
    position: absolute; right: 10px; bottom: 4px; z-index: 210;
    font: 800 12px/1 -apple-system, 'Segoe UI', sans-serif;
    color: #b57713; background: #f3f1ea; border: 1px solid #e6e2d9;
    border-radius: 9px; padding: 0 9px; height: 24px; cursor: pointer;
}
/* Greg 7/18 polish: slimmer chip + the breadcrumb row gets AIR from the
   Sort-by controls row above it */
body.explore-map-open .explore-foryou,
body.explore-map-open #ctx-chiprow { padding-right: 150px; margin-top: 14px; padding-bottom: 4px; }

/* TimeVibes (and any non-Search host): the ⏱ chip floats on the map
   itself, below the category rail — the Search breadcrumb line doesn't
   exist there (Greg 7/18 "missing element"). #map scope outranks the
   base display:none. */
#map .etd-crumb-chip {
    display: inline-flex; align-items: center; gap: 4px;
    position: absolute; right: 8px; top: 46px; z-index: 1060;
    font: 800 12px/1 -apple-system, 'Segoe UI', sans-serif;
    color: #b57713; background: #f3f1ea; border: 1px solid #e6e2d9;
    border-radius: 9px; height: 24px; padding: 0 9px; cursor: pointer;
    box-shadow: 0 2px 8px rgba(20,16,8,.18);
}

/* ── $ Settle nav (Greg 7/18): the $ IS the icon; badge holds a dollar
   amount, so it widens beyond the round count pip. ─────────────────── */
.main-nav .nav-dollar {
    font: 800 21px/1 -apple-system, 'Segoe UI', sans-serif;
    color: inherit; display: inline-flex; align-items: center;
    justify-content: center; height: 24px; width: 24px;
}
#nav-badge-settle.show { min-width: 16px; width: auto; padding: 0 4px; border-radius: 8px; }

/* Greg 7/18 round 2: ALL Search controls-row buttons share one copy
   size AND weight — clamped on the chip and every child so no Safari
   quirk or per-chip span rule can differ (Greg's device showed
   Co-Planners/Sort-by larger than siblings). */
.explore-action-row .rail-chip,
.explore-action-row .rail-chip * {
    font-size: .85rem !important;
    font-weight: 600 !important;
    font-family: -apple-system, 'Segoe UI', sans-serif !important;
    letter-spacing: normal !important;
}

/* T4 ROOT CAUSE (Greg's 'trip opens at the bottom', diagnosed 7/21-22):
   the global .page > .content-panel{justify-content:flex-end} (a chat-
   style bottom-anchor) pinned the 2200px trip-shell to the panel BOTTOM —
   the top 1400px overflowed UPWARD, and start-direction flex overflow is
   UNSCROLLABLE, so the top of every trip was unreachable and a gray void
   filled the first screen. Trip page opts out. */
#page-trip > .content-panel{justify-content:flex-start !important}
#page-trip .trip-shell{flex:0 0 auto}

/* ⏰ Multi-alarm wave 1 (7/22, mock r4): list rows + editor extras.
   Rows are flex COLUMN containers (global div rule forces column —
   declare explicitly where row is needed, the S-pin lesson). */
.va2-next{background:#fdf6ec;border:1px solid #e8c98a;border-radius:11px;padding:7px 11px;font-size:.8rem;color:#8a5406;margin-bottom:10px}
.va2-next.off{color:#8a8375;background:#f3f0e8;border-color:#ddd6c8}
.va2-row{background:#fff;border:1px solid #ddd6c8;border-radius:13px;padding:9px 12px;margin-bottom:8px;display:flex;flex-direction:column}
.va2-row.dim{opacity:.5}
.va2-top{display:flex;flex-direction:row !important;align-items:center;justify-content:space-between}
.va2-time{font-size:1.55rem;font-weight:300}
.va2-time b{font-size:.8rem;font-weight:700;color:#8a8375}
.va2-tog{width:40px;height:22px;border-radius:12px;background:#cfc9bc;position:relative;flex:0 0 auto;cursor:pointer;transition:background .15s}
.va2-tog.on{background:#39b06c}
.va2-tog::after{content:'';position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.va2-tog.on::after{left:20px}
.va2-pills{display:flex;flex-direction:row !important;flex-wrap:wrap;gap:5px;margin-top:3px}
.va2-pill{background:#f3f0e8;border-radius:9px;padding:1px 8px;font-size:.68rem;color:#6d675c}
.va2-pill.date{color:#8a5406;background:#fdf6ec}
.va2-pill.vibe{color:#2a4a74}
.va2-pill.skip{color:#b06d10;background:#fdf1e0}
.va2-acts{display:flex;flex-direction:row !important;gap:14px;margin-top:6px;font-size:.7rem;color:#8a8375}
.va2-acts span{cursor:pointer}
.va2-skiplink{color:#b06d10;font-weight:700}
.va2-addrow{text-align:center;margin-top:4px}
.va2-add{display:inline-block;background:#e99821;color:#fff;border-radius:12px;padding:7px 16px;font-weight:800;font-size:.85rem;cursor:pointer}
.va2-naps{display:flex;flex-direction:row !important;gap:7px}
.va2-nap{flex:1;background:#fff;border:1px solid #cfc9bc;border-radius:10px;text-align:center;padding:5px 0;font-size:.75rem;color:#2a4a74;font-weight:700;cursor:pointer}
.va2-seg{display:flex;flex-direction:row !important;background:#f3f0e8;border-radius:11px;padding:3px;gap:3px}
.va2-seg span{flex:1;text-align:center;border-radius:9px;padding:5px 0;font-size:.8rem;color:#8a8375;cursor:pointer}
.va2-seg .on{background:#e99821;color:#fff;font-weight:800}
.va2-cal{background:#fff;border:1px solid #ddd6c8;border-radius:12px;padding:8px 10px;margin-top:7px;font-size:.78rem}
.va2-cal-h{display:flex;flex-direction:row !important;justify-content:space-between;color:#6d675c;font-weight:700;margin-bottom:5px}
.va2-cal-h span{cursor:pointer;padding:0 6px}
.va2-cal-g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.va2-cal-g span{padding:4px 0;border-radius:8px;cursor:pointer}
.va2-cal-g .hd{color:#8a8375;font-size:.6rem;cursor:default}
.va2-cal-g .pick{background:#e99821;color:#fff;font-weight:800}
.va2-cal-g .today{outline:1px solid #8a8375}
.va2-cal-g .past{color:#cfc9bc;cursor:default}
.va2-label{width:100%;box-sizing:border-box;border:2px solid #cfc9bc;border-radius:10px;height:32px;padding:0 10px;font-size:.85rem;background:#fff}
.wr-snoozerow{margin-top:14px;text-align:center}
.wr-snooze{display:inline-block;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.45);color:#fff;border-radius:14px;padding:7px 18px;font-weight:800;font-size:.9rem;cursor:pointer}
/* Greg 7/22: inactive Repeat options looked like disabled labels — make
   every option read as a real button; add the Daily preset */
.va2-seg span{background:#fff;border:1px solid #cfc9bc;color:#5a5548;font-weight:700}
.va2-seg .on{background:#e99821;border-color:#e99821;color:#fff;font-weight:800}
/* alarm dialogs: content-driven width made the Weekly editor collapse
   to ~200px (calendar-less) — pin the FRAME, body fills it */
.dialog:has(.va-body){width:min(374px,94vw) !important;max-width:94vw !important;box-sizing:border-box}
.dialog .va-body{width:100%;box-sizing:border-box}
.va-days{display:flex;flex-direction:row !important;justify-content:space-between}
.va-day{flex:0 0 auto}
/* Greg 7/22: primary action = orange, secondary = grey (app-action rule
   #e99821). Scoped to alarm dialogs so other surfaces are untouched. */
.dialog:has(.va-body) .action-item.save{background:#e99821 !important;color:#fff !important}
.dialog:has(.va-body) .action-item.save h4{color:#fff !important}

/* Greg 7/22 (Safari desktop): the editor got tall enough (time + nap +
   calendar + 12 vibe chips + label) that the whole dialog scrolled,
   hiding the TIME input off the top and letting the action row overlap
   the label. Make the content-panel a fixed-height flex column: title
   pinned top, va-body scrolls in the middle, action row pinned bottom. */
.dialog:has(.va-body){overflow:visible !important;max-height:none !important}
.dialog:has(.va-body) > .content-panel{display:flex !important;flex-direction:column !important;max-height:90vh;overflow:hidden;box-sizing:border-box}
.dialog:has(.va-body) > .content-panel > .title{flex:0 0 auto}
.dialog:has(.va-body) > .content-panel > .va-body{flex:1 1 auto;overflow-y:auto;min-height:0;-webkit-overflow-scrolling:touch}
.dialog:has(.va-body) > .content-panel > .spread{flex:0 0 auto;background:#fff;padding-top:8px;margin-top:2px;border-top:1px solid #eee}
/* the time is the point of the screen — make it unmissable */
.va-body .va-time{width:100%;box-sizing:border-box;height:46px;font-size:1.35rem;text-align:center;font-weight:700;border:2px solid #e99821;border-radius:11px;margin-bottom:2px}

/* Self-setting alarm suggestion card (wave 2 "screen G", 7/22) */
.va-suggest{background:#1d1a2e;color:#f2efe8;border:1px solid #4a3d15;border-radius:14px;padding:12px 14px;box-shadow:0 4px 16px rgba(0,0,0,.4);z-index:100000}
.va-suggest.in-bedside{position:fixed;left:50%;bottom:9vh;transform:translateX(-50%);width:min(340px,88vw)}
.va-suggest.floating{position:fixed;left:50%;top:14px;transform:translateX(-50%);width:min(360px,92vw)}
.va-suggest .vs-eyebrow{color:#ffd97a;font-size:.72rem;font-weight:800;letter-spacing:.04em}
.va-suggest .vs-plan{font-size:.86rem;margin-top:3px}
.va-suggest .vs-math{font-size:.74rem;color:#b9c3cf;margin-top:5px;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.va-suggest .vs-buf{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#2a3052;color:#9fd8ff;font-weight:900;cursor:pointer}
.va-suggest .vs-arm{background:#e99821;color:#fff;text-align:center;font-weight:800;border-radius:11px;padding:9px 0;margin-top:10px;cursor:pointer}
.va-suggest .vs-dismiss{text-align:center;font-size:.72rem;color:#8b8fa8;margin-top:7px;cursor:pointer}
.va2-mic{display:inline-block;background:#252c4e;color:#9fd8ff;border-radius:12px;padding:7px 14px;font-weight:800;font-size:.85rem;cursor:pointer;margin-left:8px}
#bedside-overlay .bs-charge{font-size:.72rem;max-width:300px;text-align:center;margin:10px auto 4px;line-height:1.45}

/* Trail Split doors (Phase A, 7/22) — three doors on the wake reveal.
   The doors only ever appear AFTER the reveal has gone .lit (light
   sunrise gradient), so they must carry dark ink — white-glass styling
   here is invisible (Greg 7/22 field find). Primary door = canonical
   app-action orange with white copy, same as every action button. */
#wake-reveal .wr-doors{display:flex;flex-direction:row !important;gap:10px;justify-content:center;margin-top:26px;opacity:0;transition:opacity .8s ease;padding:0 14px}
#wake-reveal .wr-doors.lit{opacity:1}
#wake-reveal .wr-door{flex:1 1 0;max-width:120px;background:#fff;border:1px solid #eadfca;border-radius:16px;padding:13px 6px;text-align:center;cursor:pointer;color:#23201b;box-shadow:0 3px 14px rgba(138,84,6,.10)}
#wake-reveal .wr-door.primary{background:#e99821;border-color:#e99821;color:#fff;box-shadow:0 5px 18px rgba(233,152,33,.45)}
/* the global font clamp starves emoji of a color-emoji face → tofu boxes */
#wake-reveal .wr-door-ico{font-size:1.5rem;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
#wake-reveal .wr-door-t{font-weight:800;font-size:.82rem;margin-top:3px}
#wake-reveal .wr-door-s{font-size:.62rem;margin-top:2px;color:#8a8375}
#wake-reveal .wr-door.primary .wr-door-s{color:rgba(255,255,255,.92)}
/* snooze pill + hint were also white-for-dark; restyle once .lit lands */
#wake-reveal.lit .wr-snooze{background:#fff;border-color:#d9cfba;color:#5a5548;box-shadow:0 2px 8px rgba(138,84,6,.08)}
#wake-reveal.lit .wr-hint{opacity:1;color:#8a8375}
/* music wake (alarm iter-2, 7/23): selected wake-music chip */
.va2-nap.va-mus-on{background:#e99821;color:#fff;border-color:#e99821}
#va-song-hits .apk-match{cursor:pointer}
/* find-it dialog (Greg 7/23): long result lists were pushing the dialog
   past the viewport, clipping the title + ✕. Same flex-fit recipe as
   the alarm editor: frame ≤88vh, title pinned, body scrolls. */
.dialog:has(#apk-title){overflow:visible !important;max-height:none !important}
.dialog:has(#apk-title) > .content-panel{display:flex !important;flex-direction:column !important;max-height:88vh;overflow:hidden;box-sizing:border-box}
.dialog:has(#apk-title) > .content-panel > .title{flex:0 0 auto}
.dialog:has(#apk-title) .trip-setup{flex:1 1 auto;overflow-y:auto;min-height:0;-webkit-overflow-scrolling:touch}
.apk-cat-hint{font-size:.68rem;color:#8a8375;margin:8px 0 2px}
/* Plans chip r2 (Greg 7/24): ★/dist/directions row rides where the date
   lived; date+Delete move INTO the box above the line; I'm-Going below */
.pchip-stats.nobox{border-top:none;padding-top:0;margin-top:8px}
.pchip-whenbox{display:flex !important;flex-direction:row !important;align-items:center;gap:8px;flex-wrap:wrap}
.pchip-whenbox .pchip-del{margin-left:auto}
.pchip-box .pchip-crewrow{border-top:1px solid rgba(255,255,255,.18);margin-top:8px;padding-top:8px}
/* 7/24 (Greg screenshot): the floating ＋ FAB parked on the last chip's
   crew row — give the plans list tail room to scroll clear of it */
#plans-tab-body{padding-bottom:96px}
