/* FieldKit v1.27.3 — iPhone Notes-style app theme. Single application stylesheet. */
:root{
  color-scheme:light;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",system-ui,sans-serif;
  --bg:#f2f2f7;--card:#fff;--ink:#1c1c1e;--sec:#6c6c70;--ter:#aeaeb2;--sep:#d8d8dd;--fill:#e9e9ee;
  --yellow:#ffc600;--yellow-soft:#fff3c2;--tint:#8a5d00;--red:#d70015;--red-soft:#ffe9eb;
  --content-width:680px;--sheet-width:560px;--radius:14px;--control-height:44px;--tabbar:calc(58px + env(safe-area-inset-bottom));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:70px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-size:17px;line-height:1.35;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;letter-spacing:inherit}
button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;color:inherit}
a{color:var(--tint)}
:focus-visible{outline:3px solid #0a64d6;outline-offset:2px;border-radius:8px}
button:disabled{opacity:.45}
svg{width:22px;height:22px;stroke-width:1.8;flex-shrink:0}
button svg,span svg{display:block}
.hidden{display:none!important}
h2,h3,p{margin:0}
p{margin:8px 0}
.shell{max-width:var(--content-width);margin:0 auto;padding:0 16px}

/* Top bar */
.mast{position:sticky;top:0;z-index:30;background:rgba(242,242,247,.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);padding:calc(6px + env(safe-area-inset-top)) 0 6px}
.nav{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
.logo{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600}
.brand-symbol{width:24px;height:24px;border-radius:6px;overflow:hidden;display:block}
.brand-symbol img{width:100%;height:100%;display:block}
.logo>div{display:flex;align-items:center;gap:6px}
.brand-sub{font-size:11px;font-weight:500;color:var(--sec)}
.privacy{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--sec)}
.privacy:before{content:"";width:7px;height:7px;border-radius:50%;background:#34c759}

/* Tab bar (iOS) */
.tabs{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;justify-content:space-around;background:rgba(249,249,249,.94);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-top:.5px solid #c8c8cc;padding:4px max(8px,calc((100vw - 680px)/2)) env(safe-area-inset-bottom)}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border:0;background:none;color:#7c7c80;font-size:10.5px;font-weight:500}
.tab svg{width:25px;height:25px}
.tab.active{color:var(--tint)}

/* Page */
.section{padding:10px 0 8px}
.titleline{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:4px 0 12px}
.titleline h2{font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-.025em}
.titleline .subtitle{margin-top:4px;font-size:15px;color:var(--sec)}
.title-actions{display:flex;align-items:center;gap:8px}
.layout-switch{display:none}
.compose{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--yellow);color:var(--ink);box-shadow:0 2px 6px rgba(160,120,0,.25)}
.compose svg{width:24px;height:24px;stroke-width:2.2}
.subtitle,.hint,.muted,.smallprint{font-size:13px;color:var(--sec);line-height:1.45}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.pill,.chip{display:inline-flex;align-items:center;padding:3px 8px;border-radius:20px;background:var(--yellow-soft);color:var(--tint);font-size:12px;font-weight:600}

/* Search + filters */
.search-tools{display:flex;gap:8px;position:relative;z-index:15;margin-bottom:10px}
.searchbox{position:relative;flex:1;min-width:0}
.searchbox svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#7c7c80;stroke-width:2.2}
.searchbox input{width:100%;height:40px;min-height:40px;border:0;border-radius:11px;background:var(--fill);padding:0 12px 0 34px;font-size:17px;color:var(--ink)}
.searchbox input::placeholder{color:#7c7c80}
.filter-options{position:relative}
.filter-options summary{display:grid;place-items:center;width:44px;height:40px;border-radius:11px;background:var(--fill);color:var(--tint);list-style:none;cursor:pointer}
.filter-options summary::-webkit-details-marker{display:none}
.filter-options[open]>summary{background:var(--yellow-soft)}
.filter-popover{position:absolute;right:0;top:48px;width:min(300px,calc(100vw - 32px));padding:16px;border-radius:var(--radius);background:var(--card);box-shadow:0 12px 40px rgba(0,0,0,.16)}
.filter-popover label{margin-top:0}
.filter-popover select{margin-bottom:14px}
.filter-popover .btn{width:100%}
.filter-summary{font-size:13px;color:var(--tint);background:var(--yellow-soft);border-radius:10px;padding:8px 12px;margin:0 0 12px}

/* Kit chips */
.kit-rail{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;margin:0 -16px 12px;padding:2px 16px 4px;scroll-padding:0 16px}
.kit-rail::-webkit-scrollbar{display:none}
.kit-shortcut{display:flex;align-items:center;gap:6px;flex-shrink:0;min-height:36px;padding:0 13px 0 9px;border:0;border-radius:18px;background:var(--card);color:var(--ink);font-size:14px;font-weight:500;white-space:nowrap;box-shadow:0 .5px 0 rgba(0,0,0,.08)}
.kit-shortcut.selected{background:var(--ink);color:#fff}
.rail-icon{display:grid;place-items:center;width:20px;height:20px}
.rail-icon svg{width:18px;height:18px}
.kit-shortcut.selected .rail-icon{color:var(--yellow)!important}
.zone-waist{color:#b07d00}.zone-dry10{color:#1d7fc4}.zone-black{color:#3c8a4f}.zone-dry85{color:#8a55c9}.zone-evac{color:#d23a2f}.zone-shared{color:#5a6b85}

/* Segmented control */
.inventory-switch{display:flex;padding:2px;background:#e3e3e8;border-radius:10px;margin-bottom:6px}
.switch{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;border:0;border-radius:8px;background:none;color:var(--ink);font-size:14px;font-weight:500}
.switch.active{background:var(--card);font-weight:600;box-shadow:0 2px 6px rgba(0,0,0,.1)}
.switch span{color:var(--sec);font-weight:400;font-variant-numeric:tabular-nums}

/* Checklist sections */
.packing-section{margin-top:20px}
.list-heading{display:flex;align-items:baseline;justify-content:space-between;margin:0 4px 8px}
.list-heading h3{display:flex;align-items:baseline;gap:8px;font-size:20px;font-weight:700;letter-spacing:-.02em}
.list-heading h3 span{font-size:15px;font-weight:400;color:var(--sec);font-variant-numeric:tabular-nums}
.list-heading small{display:none}
.empty-section .list-heading h3{color:var(--sec)}
.inventory-group{background:var(--card);border-radius:var(--radius);overflow:hidden}
.drop-empty{min-height:52px;display:flex;align-items:center;justify-content:center;border:1.5px dashed #c7c7cc;border-radius:var(--radius);color:var(--sec);font-size:14px}
.packing-section:has(>.drop-empty){display:none}
.packing-dragging .packing-section:has(>.drop-empty){display:block}
.empty-state,.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:40px 24px;color:var(--sec);font-size:15px}
.empty-state svg,.empty svg{width:40px;height:40px;color:var(--ter);margin-bottom:6px;stroke-width:1.4}
.empty-state strong,.empty strong{color:var(--ink);font-size:17px;font-weight:600}
.archive-banner{font-size:14px;color:var(--sec);margin:8px 4px 4px}

/* Rows */
.swipe-row{position:relative;overflow:hidden;isolation:isolate}
.swipe-row+.swipe-row:before{content:"";position:absolute;top:0;left:52px;right:0;border-top:.5px solid var(--sep);z-index:2;pointer-events:none}
.item{display:flex;align-items:center;gap:6px;min-height:56px;padding:4px 6px 4px 4px}
.swipe-surface{position:relative;background:var(--card);touch-action:pan-y;user-select:none;-webkit-user-select:none}
.main{flex:1;min-width:0}
.item-open{display:flex;flex-direction:column;justify-content:center;width:100%;min-height:48px;padding:4px 2px;border:0;background:none;text-align:left;border-radius:8px}
.main b{display:block;font-size:17px;font-weight:400;line-height:1.25;overflow-wrap:anywhere}
.main small{display:block;margin-top:2px;font-size:13px;color:var(--sec);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-status{display:none}
.print-qty{display:none}

/* Check circle */
.move-handle{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:48px;padding:0;border:0;background:none;border-radius:50%;touch-action:pan-y pinch-zoom;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.dot{position:relative;display:block;width:24px;height:24px;border-radius:50%;border:1.6px solid #b4b4b9;background:var(--card);transition:background .15s,border-color .15s,transform .15s}
.move-handle:active .dot{transform:scale(.9)}
.move-handle[data-status=packed] .dot{background:var(--yellow);border-color:var(--yellow)}
.move-handle[data-status=packed] .dot:after{content:"";position:absolute;left:7.5px;top:3.5px;width:5px;height:10px;border:solid #fff;border-width:0 2.4px 2.4px 0;transform:rotate(45deg)}
.move-handle[data-status=empty] .dot{border-style:dashed;background:none}
.is-empty .main b{color:#8e8e93}
.is-empty .main small{color:#a1a1a6}

/* Photo thumbnail (only when a real photo is attached) */
.row-photo{width:38px;height:38px;flex:none;border-radius:8px;object-fit:cover;background:var(--fill)}
.is-empty .row-photo{opacity:.5}
.photo{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:9px;background:var(--fill);color:var(--sec);object-fit:cover}
.photo svg{width:20px;height:20px}

/* Quantity stepper */
.row-stepper{display:flex;align-items:center;flex-shrink:0}
.row-stepper button{display:grid;place-items:center;width:38px;min-width:38px;height:44px;padding:0;border:0;border-radius:10px;background:none;color:var(--tint);font-size:24px;font-weight:300;line-height:1}
.row-stepper .count{width:30px;min-width:30px;font-size:17px;font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
.row-stepper button:active{background:var(--yellow-soft)}
.is-empty .row-stepper .count,.is-empty .row-stepper .minus{color:#8e8e93}
.is-empty .row-stepper .plus{color:var(--tint);font-weight:500}
.row-actions{display:flex;gap:6px;padding-right:4px}
.row-actions button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:var(--yellow-soft);color:var(--tint)}
.row-actions .delete-forever{background:var(--red-soft);color:var(--red)}
.row-actions svg{width:20px;height:20px}
.swipe-row.is-moving{opacity:.35}
.packing-dragging,.packing-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}
.drop-over{outline:3px solid var(--yellow)!important;outline-offset:2px;background:var(--yellow-soft)!important}

/* Help disclosure */
.interaction-help{margin:24px 4px 0;font-size:13px;color:var(--sec)}
.interaction-help summary{display:flex;align-items:center;min-height:44px;color:var(--tint);font-size:15px;cursor:pointer}
.interaction-help p{font-size:13px;line-height:1.5}
.swipe-hint{display:flex;flex-direction:column;gap:4px;margin:4px 0}
.workflow-note{font-size:13px}

/* Kits overview */
#bags{display:flex;flex-direction:column}
#bags.hidden{display:none!important}
.overview{background:var(--card);border-radius:var(--radius);padding:16px;margin-bottom:16px}
.overview-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
.overview-head b{font-size:17px;font-weight:600}
.overview-head span{font-size:15px;color:var(--sec);font-variant-numeric:tabular-nums}
.stack{display:flex;height:10px;border-radius:5px;overflow:hidden;background:#ececf0}
.stack i{display:block;height:100%}
.s-packed{background:var(--yellow)}.s-todo{background:#c7c7cc}.s-empty{background:#ececf0}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:13px;color:var(--sec)}
.legend span{display:flex;align-items:center;gap:6px}
.legend i{width:10px;height:10px;border-radius:3px;display:block}
.legend .s-empty{box-shadow:inset 0 0 0 1px #c7c7cc}
.kit-list{display:flex;flex-direction:column;gap:10px}
.bag{display:flex;align-items:center;gap:14px;width:100%;min-height:84px;padding:12px 14px 12px 12px;border:0;border-radius:var(--radius);background:var(--card);text-align:left;color:var(--ink);transition:transform .12s ease}
.bag:active{transform:scale(.985)}
.bag-text{flex:1;min-width:0}
.bag-text b{display:block;font-size:18px;font-weight:600;letter-spacing:-.015em;overflow-wrap:anywhere}
.bag-text small{display:block;margin-top:2px;font-size:14px;color:var(--sec)}
.bag-pct{font-size:15px;color:var(--sec);font-variant-numeric:tabular-nums}
.bag-pct.done{color:var(--tint);font-weight:600}
.chev{font-size:24px;color:#b4b4b9;line-height:1;margin-left:-4px}

/* Progress ring */
.ring{--s:56px;--w:5px;position:relative;display:grid;place-items:center;flex:none;width:var(--s);height:var(--s);border-radius:50%;background:conic-gradient(var(--yellow) var(--p),#ececf0 0)}
.ring-core{display:grid;place-items:center;width:calc(var(--s) - var(--w)*2);height:calc(var(--s) - var(--w)*2);border-radius:50%;background:var(--card)}
.ring-core svg{width:24px;height:24px}
.ring.done .ring-core{background:var(--yellow-soft)}
.ring.big{--s:84px;--w:7px}
.ring.big .ring-core{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.ring.big .ring-core b{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums}
.ring.big .ring-core small{font-size:12px;color:var(--sec);margin-top:3px}

/* Panels, notices */
.panel{background:var(--card);border-radius:var(--radius);padding:16px;margin:16px 0}
.panel h3{font-size:20px;font-weight:700;letter-spacing:-.02em}
.panel>p{font-size:15px;color:var(--sec)}
.trip-panel .controls{margin:12px 0 4px}
.trip-panel .item{padding:8px 0;gap:12px;min-height:52px;border-top:.5px solid var(--sep)}
.trip-panel .item:first-child{border-top:0}
.trip-panel .main small{white-space:normal}
.trip-panel .empty{padding:16px 0 4px;align-items:flex-start;font-size:15px}
.chip.day{margin-left:auto}
.notice{margin:4px 4px 0;font-size:14px;color:var(--sec)}
.notice summary{display:flex;align-items:center;min-height:44px;color:var(--tint);font-size:15px;cursor:pointer}
.notice p{line-height:1.55}
.notice strong{color:var(--ink)}
.controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.welcome{display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:12px 14px;border-radius:var(--radius);background:var(--card)}
.welcome strong{font-size:15px}
.welcome p{margin:2px 0 0;font-size:13px;color:var(--sec)}
.app-heading-link{display:none}
.onboard-dismiss{margin-left:auto;min-height:44px;padding:0 4px;border:0;background:none;color:var(--tint);font-size:15px;font-weight:500;white-space:nowrap}
.recovery-note{margin:12px 0;padding:14px 16px;border-radius:var(--radius);background:#fff4e5;color:#7a4300;font-size:15px;border:1px solid #f3c27a}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:0 18px;border:0;border-radius:12px;background:var(--yellow);color:var(--ink);font-size:16px;font-weight:600;text-decoration:none}
.btn.secondary{background:var(--fill);color:var(--ink)}
.btn.outline{background:var(--fill);color:var(--tint)}
.btn.danger{background:var(--red-soft);color:var(--red)}
.btn.small{min-height:44px;padding:0 14px;font-size:15px}
.btn.wide{width:100%}
.inline{display:flex;gap:8px;flex-wrap:wrap}
.divider{height:.5px;background:var(--sep);margin:20px 0}

/* More */
.more-tools .inventory-overview{display:flex;margin:10px 0 4px;border-radius:12px;background:var(--bg);overflow:hidden}
.overview-card{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;min-height:56px;border:0;background:none;text-align:left;color:var(--sec);font-size:13px}
.overview-card+.overview-card{border-left:.5px solid var(--sep)}
.overview-card b{font-size:20px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.overview-card span{font-size:13px}
button.overview-card span{color:var(--tint)}
.weight-line{font-size:13px;color:var(--sec);margin:10px 0}
.launch-tools{display:flex;gap:8px;flex-wrap:wrap}
.panel .inline>.btn,.panel .launch-tools>.btn,.panel .inline>.filebtn{flex:1 1 150px}
.text-backup,.extra-help{margin:14px 0}
.text-backup summary,.extra-help summary{display:flex;align-items:center;min-height:44px;font-size:15px;color:var(--tint);cursor:pointer}
.extra-help h3{font-size:17px;margin-top:14px}
.extra-help p{font-size:14px;color:var(--sec);line-height:1.5}
.text-backup textarea{font-family:ui-monospace,Menlo,monospace;font-size:13px;min-height:140px;margin-top:8px}
.filebtn{cursor:pointer}

/* Forms */
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px}
.full{grid-column:1/-1}
label{display:block;margin:0 0 6px 2px;font-size:13px;font-weight:500;color:var(--sec)}
input,select,textarea{width:100%;min-width:0;border:0;border-radius:11px;background:var(--fill);color:var(--ink);padding:11px 12px;font-size:17px}
input:not([type=checkbox]):not([type=file]),select{min-height:46px}
select{appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7c7c80 50%),linear-gradient(135deg,#7c7c80 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:32px}
input[type=file]{padding:10px;font-size:15px}
input::placeholder,textarea::placeholder{color:#7c7c80}
textarea{resize:vertical;min-height:96px}
.hint{margin:6px 2px 0;font-size:13px}
.thumb{display:block;max-width:150px;max-height:150px;margin-top:10px;border-radius:12px;object-fit:cover}

/* Footer */
.footer{margin-top:28px;padding:16px 4px calc(var(--tabbar) + 24px);font-size:12px;color:var(--sec)}
.footer nav{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:6px}
.footer a{color:var(--tint);text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
.float-add{display:none!important}

/* Kit screen (full-screen push) */
.detail{display:none;position:fixed;inset:0;z-index:50;background:var(--bg)}
.detail.show{display:block}
.sheet{position:absolute;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;max-width:var(--content-width);margin:0 auto;padding:env(safe-area-inset-top) 16px calc(40px + env(safe-area-inset-bottom))}
.sheet-nav{position:sticky;top:0;z-index:5;margin:0 -16px;padding:4px 8px;background:rgba(242,242,247,.9);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.back-link{display:inline-flex;align-items:center;gap:2px;min-height:44px;padding:0 8px;border:0;background:none;color:var(--tint);font-size:17px}
.back-link span{font-size:30px;line-height:1;margin-top:-3px}
.sheethead h2{font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-.025em;overflow-wrap:anywhere;margin-top:2px}
.sheethead .eyebrow{color:var(--sec)}
.kit-progress{display:flex;align-items:center;gap:16px;margin:16px 0;padding:16px;border-radius:var(--radius);background:var(--card)}
.kit-progress>div>b{display:block;font-size:19px;font-weight:600}
.kit-progress>div>span{display:block;font-size:15px;color:var(--sec);margin-top:2px}
.sheet-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.sheet-actions .btn{flex:1 1 calc(50% - 8px);min-width:0;font-size:15px;padding:0 10px}
.kit-info{margin:14px 4px 0}
.kit-info summary{display:flex;align-items:center;min-height:44px;color:var(--tint);font-size:15px;cursor:pointer}
.kit-settings{display:flex;align-items:flex-end;gap:8px;margin:8px 0 14px}
.kit-settings label{flex:1;margin:0}
.kit-settings input{margin-top:6px}
#detail .weight-line{margin:6px 4px}

/* Bottom sheets */
.quick-layer,.qty-layer,.move-layer{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center}
.qty-layer{z-index:90}
.quick-scrim,.qty-shade,.move-scrim{position:absolute;inset:0;background:rgba(0,0,0,.32)}
.quick-sheet,.qty-sheet,.move-sheet{position:relative;width:100%;max-width:var(--sheet-width);max-height:92dvh;overflow:auto;padding:8px 16px calc(20px + env(safe-area-inset-bottom));background:var(--bg);border-radius:14px 14px 0 0;box-shadow:0 -8px 40px rgba(0,0,0,.18)}
.quick-sheet:before,.qty-sheet:before,.move-sheet:before{content:"";display:block;width:36px;height:5px;border-radius:3px;background:#c7c7cc;margin:0 auto 10px}
.quick-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.quick-head h2{font-size:22px;font-weight:700;letter-spacing:-.02em}
.quick-head .eyebrow{display:none}
.x{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--fill);color:var(--sec);font-size:24px;line-height:1}
.quick-sheet label{margin-top:14px}
.quick-sheet input,.quick-sheet select,.qty-sheet input{background-color:var(--card)}
.quick-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:10px}
.stepper{display:flex;align-items:center;height:46px;background:var(--card);border-radius:11px;overflow:hidden}
.stepper button{min-width:44px;height:100%;border:0;background:none;color:var(--tint);font-size:24px;font-weight:300}
.stepper input{border:0;background:none;text-align:center;min-width:0;padding:0;font-variant-numeric:tabular-nums}
.quick-actions{display:grid;gap:8px;margin-top:20px}
.quick-secondary{display:flex;gap:8px;margin-top:10px}
.quick-secondary>*{flex:1;padding:0 8px}
#quickFeedback{text-align:center;margin-top:12px}
.qty-sheet>p,.move-sheet>p{font-size:15px;color:var(--sec);margin:-6px 0 12px}
.qty-presets{display:flex;gap:8px;margin:12px 0}
.qty-presets button{flex:1;min-height:44px;border:0;border-radius:11px;background:var(--yellow-soft);color:var(--tint);font-weight:600}
.qty-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
.move-choice{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;margin-top:8px;padding:10px 14px;border:0;border-radius:12px;background:var(--card);text-align:left}
.move-choice>span:first-child{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--fill);color:var(--tint);font-size:17px;font-weight:600}
.move-choice b,.move-choice small{display:block}
.move-choice b{font-size:17px;font-weight:600}
.move-choice small{font-size:13px;color:var(--sec);margin-top:2px}
.move-choice[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--yellow)}

/* Toast + drag dock */
.toast{position:fixed;z-index:130;left:50%;bottom:calc(var(--tabbar) + 12px);display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100vw - 24px);padding:10px 16px;border-radius:14px;background:rgba(30,30,32,.94);color:#fff;font-size:15px;box-shadow:0 8px 30px rgba(0,0,0,.25);transform:translate(-50%,140px);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .2s}
.toast.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.toast-undo{min-height:40px;padding:0 4px;border:0;background:none;color:var(--yellow);font-size:15px;font-weight:600}
.move-dock{position:fixed;z-index:85;left:50%;bottom:calc(var(--tabbar) + 10px);transform:translateX(-50%);width:min(560px,calc(100vw - 24px));padding:10px;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 10px 40px rgba(0,0,0,.2)}
.move-dock p{margin:0 0 8px;text-align:center;font-size:13px;color:var(--sec)}
.move-dock-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.move-dock-lanes>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:72px;border:1.5px dashed #c7c7cc;border-radius:12px;color:var(--tint);font-size:20px;font-weight:600}
.move-dock-lanes span{font-size:13px;color:var(--ink)}
.move-ghost{position:fixed;z-index:90;pointer-events:none;max-width:70vw;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:10px 14px;border-radius:12px;background:var(--yellow);color:var(--ink);font-size:15px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.2)}

@media(min-width:700px){
  .quick-layer,.qty-layer,.move-layer{align-items:center}
  .quick-sheet,.qty-sheet,.move-sheet{border-radius:16px;padding-bottom:24px}
}
@media(max-width:var(--sheet-width)){.formgrid{grid-template-columns:1fr}.full{grid-column:auto}}
@media(max-width:360px){.row-stepper button{width:34px;min-width:34px}.bag-pct{display:none}.titleline h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{
  .mast,.tabs,.search-tools,.kit-rail,.inventory-switch,.title-actions,.interaction-help,.footer,.welcome,.move-handle,.row-stepper,.row-actions,.toast,.quick-layer,.qty-layer,.move-layer,.move-dock,.kit-info,.notice,.filter-summary,.row-photo,.detail,.swipe-background,.drop-empty{display:none!important}
  body{background:#fff;color:#000}.shell{max-width:none;padding:0}.section{padding:0}
  .inventory-group{border-radius:0}.item{min-height:0;padding:6px 0;break-inside:avoid}.swipe-row+.swipe-row:before{left:0}
  .print-qty{display:block;font-size:12px}.main small{color:#000}
}

/* Scan & pack */
.compose.cam{background:var(--card);color:var(--tint);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.scan-hero{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;margin-bottom:12px;padding:12px 14px;border:0;border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left}
.scan-hero-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:var(--yellow-soft);color:var(--tint)}
.scan-hero-icon svg{width:26px;height:26px}
.scan-hero-text{flex:1}.scan-hero-text b{display:block;font-size:18px;font-weight:600}.scan-hero-text small{display:block;font-size:13px;color:var(--sec);margin-top:2px}
.scan-hero .chev{color:#8e8e93}
.link-btn{min-height:44px;padding:0 4px;border:0;background:none;color:var(--tint);font-size:15px;font-weight:500}
.scan-layer{position:fixed;inset:0;z-index:60;background:var(--bg)}
.scan-sheet{position:absolute;inset:0;overflow:auto;-webkit-overflow-scrolling:touch;max-width:var(--content-width);margin:0 auto;padding:env(safe-area-inset-top) 16px calc(150px + env(safe-area-inset-bottom))}
.scan-nav{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;margin:0 -16px;padding:4px 16px 4px 8px;background:rgba(242,242,247,.9);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}
.scan-engine{font-size:12px;font-weight:600;color:var(--tint);background:var(--yellow-soft);border-radius:20px;padding:3px 9px}
.scan-engine:empty{display:none}
#scanTitle{font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-.025em;margin:2px 0 12px}
.scan-kit{margin-bottom:14px}.scan-kit select{background-color:var(--card)}
.scan-start{display:flex;flex-direction:column;gap:10px;align-items:stretch;text-align:center;padding:20px 16px;border-radius:var(--radius);background:var(--card)}
.scan-start h3{font-size:20px;font-weight:700;margin-top:6px}.scan-start>p{margin:0 0 6px;color:var(--sec);font-size:15px}
.scan-illustration{display:flex;justify-content:center;gap:6px;font-size:34px;padding:6px 0}
.scan-illustration span{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--bg)}
.scan-illustration span:last-child{background:var(--yellow-soft)}
.scan-working{display:flex;flex-direction:column;align-items:center;gap:14px;padding:60px 20px;color:var(--sec);text-align:center}
.spinner{width:40px;height:40px;border-radius:50%;border:4px solid #e5e5ea;border-top-color:var(--yellow);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.scan-note{margin:0 0 10px;padding:10px 12px;border-radius:12px;background:#fff4e5;color:#7a4300;font-size:14px}
.scan-photo{position:relative;border-radius:var(--radius);overflow:hidden;background:#000;cursor:crosshair}
.scan-photo img{display:block;width:100%;max-height:46vh;object-fit:contain}
.scan-boxes{position:absolute;inset:0;pointer-events:none}
.scan-box{position:absolute;border:2.5px solid var(--yellow);border-radius:8px;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.scan-box i{position:absolute;left:-2px;top:-2px;min-width:22px;height:22px;padding:0 5px;border-radius:7px 0 7px 0;background:var(--yellow);color:var(--ink);font:700 13px/22px -apple-system,system-ui,sans-serif;text-align:center;font-style:normal}
.scan-box.in-bag{border-color:#34c759;opacity:.55}.scan-box.in-bag i{background:#34c759;color:#fff}
.scan-photo-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:2px 2px 6px}
.scan-floor-head{display:flex;align-items:baseline;justify-content:space-between;margin:8px 4px 8px}
.scan-floor-head h3{font-size:20px;font-weight:700}.scan-floor-head h3 span{font-size:15px;font-weight:400;color:var(--sec)}
.scan-floor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:90px;border-radius:var(--radius)}
.scan-floor-empty{grid-column:1/-1;padding:28px 16px;text-align:center;color:var(--sec);background:var(--card);border-radius:var(--radius);font-size:15px}
.piece{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:var(--radius);background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.06);animation:pop .25s ease}
@keyframes pop{from{transform:scale(.92);opacity:0}to{transform:none;opacity:1}}
.piece-pic{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;border:0;border-radius:10px;overflow:hidden;background:var(--bg);touch-action:none;cursor:grab;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.piece-pic img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.piece-big-emoji{display:grid;place-items:center;height:100%;font-size:56px}
.piece-num{position:absolute;left:6px;top:6px;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:var(--yellow);color:var(--ink);font-size:13px;font-weight:700;line-height:24px}
.piece-emoji{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.94);font-size:20px;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.piece-count{position:absolute;right:6px;top:6px;padding:2px 7px;border-radius:10px;background:rgba(0,0,0,.72);color:#fff;font-size:13px;font-weight:600}
.piece-name.unnamed{color:var(--sec);font-style:italic;box-shadow:inset 0 0 0 1.5px var(--yellow)}
.scan-open .toast{bottom:calc(112px + env(safe-area-inset-bottom))}
.piece-name{min-height:40px!important;padding:8px 10px;font-size:16px;font-weight:500;background:var(--bg)}
.piece-row{display:flex;align-items:center}
.piece-row button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:none;color:var(--tint);font-size:22px}
.piece-row button svg{width:19px;height:19px}
.piece-qty{min-width:22px;text-align:center;font-variant-numeric:tabular-nums}
.piece-row .piece-del{margin-left:auto;color:var(--red)}
.scan-bag{position:fixed;left:50%;bottom:0;z-index:70;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:min(680px,100%);padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:.5px solid var(--sep);box-shadow:0 -8px 30px rgba(0,0,0,.08);transition:background .2s}
.bag-art{flex:none;width:76px;height:76px;color:var(--ink)}
.bag-fill{fill:var(--yellow);transition:y .35s ease,height .35s ease}
.bag-info{flex:1;min-width:0}
.bag-info b{display:block;font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bag-info>span{display:block;font-size:14px;color:var(--sec)}
.bag-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-top:6px}
.bag-chips::-webkit-scrollbar{display:none}
.bag-chip{flex:none;min-height:32px;padding:0 10px;border:0;border-radius:16px;background:var(--yellow-soft);color:var(--ink);font-size:13px;white-space:nowrap}
.scan-bag #scanSave{flex:none;padding:0 16px}
.scan-bag.drop-hot{background:var(--yellow-soft);box-shadow:0 -8px 30px rgba(255,198,0,.35)}
.scan-bag.drop-hot .bag-art{transform:scale(1.08)}
.scan-bag.gulp .bag-art{animation:gulp .35s ease}
@keyframes gulp{40%{transform:scale(1.15) rotate(-4deg)}100%{transform:none}}
.scan-bag.full .bag-info>span{color:var(--tint);font-weight:600}
.scan-ghost{position:fixed;left:0;top:0;z-index:200;width:72px;height:72px;border-radius:14px;overflow:hidden;pointer-events:none;box-shadow:0 10px 30px rgba(0,0,0,.3);background:#fff}
.scan-ghost img{width:100%;height:100%;object-fit:cover}.scan-ghost span{display:grid;place-items:center;height:100%;font-size:40px}
.scan-layer.dragging .piece-pic{cursor:grabbing}
.smart-scan .key-form{margin-top:10px}
.scan-key-form{text-align:left;padding:12px;border-radius:12px;background:var(--bg)}.scan-key-form input{background-color:var(--card)}.scan-key-form .inline{margin-top:10px}.smart-scan .inline{margin-top:10px}
@media(min-width:560px){.scan-floor{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.scan-layer,.scan-hero,.compose.cam{display:none!important}}

/* Select mode (multiple items) */
.text-btn{min-height:44px;padding:0 8px;border:0;background:none;color:var(--tint);font-size:17px;font-weight:500}
.sheet-nav{display:flex;align-items:center;justify-content:space-between}
.select-dot{display:grid;place-items:center;flex:0 0 44px;width:44px;height:48px;padding:0;border:0;background:none}
.select-dot .dot{border-color:#b4b4b9}
.select-dot[aria-pressed=true] .dot{background:var(--ink);border-color:var(--ink)}
.select-dot[aria-pressed=true] .dot:after{content:"";position:absolute;left:7.5px;top:3.5px;width:5px;height:10px;border:solid #fff;border-width:0 2.4px 2.4px 0;transform:rotate(45deg)}
.is-selected .swipe-surface{background:#ececf2}
.select-mode .row-stepper,.select-mode .row-actions,.select-mode .row-photo,.select-mode .compose,.select-mode .scan-hero{display:none}
.select-mode .footer{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
.select-mode .sheet{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
.select-mode .toast{bottom:calc(118px + env(safe-area-inset-bottom))}
.bulk-bar{position:fixed;left:0;right:0;bottom:0;z-index:57;padding:4px max(12px,calc((100vw - 680px)/2)) calc(8px + env(safe-area-inset-bottom));background:rgba(249,249,249,.97);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:.5px solid #c8c8cc;box-shadow:0 -6px 24px rgba(0,0,0,.06)}
.bulk-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bulk-top span{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.bulk-actions{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:4px 0 2px}
.bulk-actions::-webkit-scrollbar{display:none}
.bulk-btn{flex:none;min-height:42px;padding:0 14px;border:0;border-radius:21px;background:var(--card);color:var(--ink);font-size:15px;font-weight:500;box-shadow:0 .5px 1px rgba(0,0,0,.12)}
.bulk-btn:disabled,.bulk-move:disabled{opacity:.4}
.bulk-btn.danger{color:var(--red)}
.bulk-actions .bulk-move{flex:none;width:auto;min-height:42px!important;padding:0 32px 0 14px;border-radius:21px;background-color:var(--card);font-size:15px;box-shadow:0 .5px 1px rgba(0,0,0,.12)}
.scan-all{display:flex;gap:4px}
@media print{.bulk-bar,.text-btn{display:none!important}}

/* Trip recommendations */
.plan-hero{background:var(--card);color:var(--ink)}
.plan-hero .scan-hero-text small{color:var(--sec)}
.planner-sheet{padding-bottom:calc(40px + env(safe-area-inset-bottom))}
#plannerTitle{font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-.025em;margin:2px 0 16px;overflow-wrap:anywhere}
#plannerPrompt{min-height:110px;background:var(--card);margin:8px 0 12px}
.planner-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.planner-fields label:first-child{grid-column:1/-1}
.planner-fields input,.planner-fields select{margin-top:6px;background-color:var(--card)}
.planner-pack{background:var(--card);border-radius:16px;padding:12px 14px;margin:12px 0}
.planner-pack summary{font-size:18px;font-weight:600;min-height:44px;display:flex;align-items:center;cursor:pointer;overflow-wrap:anywhere}
.planner-include{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--tint)}
.planner-pack input[type=checkbox]{appearance:auto;width:22px;min-width:22px;height:22px;min-height:22px;padding:0;margin:0;accent-color:#8a6900}
.planner-pack input[data-plan-name]{margin:6px 0 10px;background:var(--bg)}
.planner-item{display:flex;gap:12px;align-items:center;border-top:.5px solid var(--sep);padding:6px 0}
.planner-item label{flex:1;display:flex;gap:10px;align-items:center;min-height:44px;margin:0;font-size:15px;font-weight:400;min-width:0}
.planner-item span{overflow-wrap:anywhere}
.planner-item input[type=number]{width:68px;flex:none;background:var(--bg);text-align:center;font-size:16px;min-height:44px;padding:8px}
#plannerMessage{margin-top:12px;color:var(--red)}
@media print{.planner-sheet,.plan-hero{display:none!important}}


/* Trip checklists: compact Notes rows, amber partial packing, useful photos. */
#plannerLayer .planner-sheet{max-width:var(--content-width);background:var(--bg)}
#plannerLayer label{font-size:15px}#plannerLayer input:not([type=checkbox]),#plannerLayer textarea,#plannerLayer select{font-size:16px;width:100%;min-height:var(--control-height)}
#plannerLayer button{min-height:var(--control-height)}#plannerLayer summary{min-height:var(--control-height);display:flex;align-items:center;cursor:pointer;color:var(--tint)}
#plannerLayer input[type=checkbox]{appearance:auto;width:22px;min-width:22px;flex:0 0 22px;height:22px;padding:0;margin:2px 0;accent-color:var(--tint)}
#plannerLayer .planner-include{color:var(--ink)}.planner-fields{margin:18px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.planner-fields label{min-width:0}.planner-fields label:first-child,.planner-fields label:last-child{grid-column:1/-1}
.trip-progress{display:flex;align-items:center;gap:16px;margin:16px 0;padding:16px;border-radius:var(--radius);background:var(--card)}
.trip-progress>div{min-width:0}.trip-progress p{font-size:14px;color:var(--sec);margin:4px 0;overflow-wrap:anywhere}.trip-progress small{font-size:13px;color:var(--sec)}
.trip-weights{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.weight-pill{background:var(--card);border-radius:12px;padding:10px 12px;font-size:12px;color:var(--sec)}.weight-pill b{display:block;font-size:14px;color:var(--ink);margin-top:3px}
.trip-item{display:flex;align-items:flex-start;gap:6px;min-height:64px;padding:8px 6px 8px 4px;background:var(--card)}
.trip-item-main{flex:1;min-width:0}.trip-item-main .item-open{padding:4px 2px;min-height:44px}.trip-item-main b{font-size:17px;font-weight:400;line-height:1.25;overflow-wrap:anywhere}.trip-item-main small{display:block;font-size:13px;line-height:1.3;color:var(--sec);margin-top:2px;overflow-wrap:anywhere}
.trip-item-main details{font-size:13px}.trip-item-main details p{margin:0 0 8px;color:var(--sec)}#plannerLayer .trip-item-main summary{min-height:28px;font-size:12px}
.trip-check{flex:0 0 44px;width:44px;height:48px;display:grid;place-items:center;padding:0;border:0;background:none;color:var(--tint);border-radius:50%}
.trip-item.complete .trip-check .dot{background:var(--yellow);border-color:var(--yellow)}.trip-item.complete .trip-check .dot:after{content:"";position:absolute;left:7.5px;top:3.5px;width:5px;height:10px;border:solid #fff;border-width:0 2.4px 2.4px 0;transform:rotate(45deg)}
.trip-item.partial .trip-check .dot{background:var(--yellow-soft);border-color:var(--tint)}.trip-item.partial .trip-check .dot:after{content:"";position:absolute;top:10px;left:5px;right:5px;height:2px;background:var(--tint)}
.trip-item-actions{display:flex;align-items:center;flex-shrink:0;align-self:flex-start;margin-top:2px}.trip-item-actions span{min-width:36px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}.trip-item-actions button{width:30px;min-width:30px;padding:0;border:0;background:none;color:var(--tint);font-size:23px;border-radius:8px}
.trip-item>.entity-grip{width:24px!important;min-width:24px;flex:0 0 24px;align-self:flex-start}.trip-item>.row-photo{margin-top:6px}.trip-alert{color:var(--tint)!important}
.missing-title{font-size:20px;letter-spacing:-.02em;margin-top:28px!important}.missing-row{display:flex;text-align:left;align-items:center;gap:12px;border:0;width:100%;padding:12px;color:inherit;background:var(--card)}.missing-row>span:nth-child(2){flex:1;min-width:0}.missing-row>span:first-child{color:var(--tint);font-size:26px}.missing-row small{display:block;color:var(--sec);margin-top:4px;font-size:13px;line-height:1.35}.missing-row b{font-size:16px;font-weight:400;overflow-wrap:anywhere}
.plan-ai{border-radius:var(--radius);background:var(--card);margin:20px 0;padding:4px 14px 14px}.plan-ai:not([open]){padding-bottom:4px}.plan-ai>summary{font-weight:500}.plan-ai .planner-include{align-items:flex-start;line-height:1.5;font-size:13px!important}
.plan-subpanel{margin:20px 0;border:1px solid var(--sep);border-radius:var(--radius);padding:16px;background:var(--card);scroll-margin:64px}.plan-subpanel label{display:block;margin-bottom:12px}.plan-subpanel .planner-include{display:flex}.plan-subpanel h3{margin-top:0;font-size:20px}.plan-subpanel p{overflow-wrap:anywhere}.snap-match{padding:12px 0;border-bottom:1px solid var(--sep)}.planner-sheet .hint{line-height:1.5}
@media(max-width:380px){.trip-item{gap:2px}.trip-item>.row-photo{display:none}.trip-item-actions button{width:28px;min-width:28px}.trip-item-actions span{min-width:32px}}

/* First visit: three small, visual Notes-style pages. */
.intro-layer{position:fixed;inset:0;z-index:250;display:grid;place-items:center;background:rgba(28,28,30,.35);padding:16px;overflow:auto;overscroll-behavior:contain}
.intro-sheet{width:min(100%,440px);max-height:calc(100dvh - 32px);overflow-y:auto;background:var(--bg);border-radius:28px;padding:18px 24px 20px;box-shadow:0 24px 80px #0003}
.intro-top{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:17px}.intro-top span span{color:var(--tint)}.intro-top button,.intro-back{border:0;background:none;color:var(--tint);min-height:44px;min-width:44px;font-size:15px}.intro-visual{padding:14px 0 20px;min-height:286px;display:flex;align-items:center}.intro-note{width:100%;background:white;border-radius:18px;padding:16px;box-shadow:0 6px 18px #1c1c1e0a;border:1px solid #e7e7eb}.intro-note-head{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.intro-note-head>span{font-size:20px;font-weight:700}.intro-note small{font-size:12px;color:var(--sec);display:block}.intro-demo-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #ededf1;font-size:14px}.intro-demo-row>span:nth-child(2){flex:1;min-width:0}.intro-demo-row b{font-size:14px}.intro-demo-row small{margin-top:3px}.intro-icon{font-size:25px}.intro-count{white-space:nowrap;color:var(--tint);font-size:17px!important}.intro-count b{padding:0 4px;font-size:16px}.intro-empty-label{font-size:10px;letter-spacing:1px;color:var(--sec);margin:12px 0 4px}.intro-demo-empty{opacity:.5}.intro-copy{min-height:150px}.intro-step{font-size:11px;letter-spacing:1.5px;color:var(--tint);font-weight:700}.intro-copy h2{font-size:29px;letter-spacing:-1px;line-height:1.12;margin:8px 0 12px}.intro-copy p{font-size:15px;color:var(--sec);line-height:1.5;max-width:36ch}.intro-dots{display:flex;gap:7px;justify-content:center;margin:14px 0 18px}.intro-dots i{display:block;width:6px;height:6px;border-radius:10px;background:#d1d1d6}.intro-dots i.active{width:22px;background:var(--tint)}.intro-actions{display:flex;gap:12px}.intro-back:disabled{visibility:hidden}.intro-next{flex:1;min-height:48px;font-size:16px}.intro-footnote{text-align:center;color:var(--sec);font-size:11px;margin:16px 0 0}.intro-demo-tags{display:flex;gap:6px;margin:12px 0}.intro-demo-tags span{font-size:11px;background:#f2f2f7;padding:5px 8px;border-radius:20px}.intro-check{font-size:25px;color:var(--tint);width:28px;flex-shrink:0}.intro-demo-missing{background:var(--yellow-soft);border-radius:10px;padding:10px 12px;margin-top:8px;font-size:12px}.intro-demo-missing b{display:block;margin-top:4px;font-size:13px}.intro-demo-ai{font-size:11px;color:var(--sec);margin-top:10px}.intro-packing-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}.intro-packing-head>div:last-child>b{font-size:19px}.intro-packing-head small{margin-top:5px}.intro-demo-bag{font-size:45px;background:linear-gradient(0deg,#f6df95 75%,#f2f2f7 75%);border-radius:15px;padding:8px 16px;text-align:center}.intro-demo-bag small{font-size:11px;color:#785800;font-weight:700}.intro-demo-done{color:#527047}.intro-demo-partial{color:#996900}.intro-demo-bottom{display:flex;justify-content:space-between;gap:6px;font-size:11px;background:#f2f2f7;padding:12px 8px;border-radius:10px;margin-top:12px}.intro-example-label{text-align:center;margin-top:9px}.intro-replay{display:flex;align-items:center;gap:12px;width:100%;padding:10px 0 18px;border:0;border-bottom:1px solid var(--sep);background:none;text-align:left;margin-bottom:20px;min-height:64px}.intro-replay>span:first-child{font-size:26px}.intro-replay>span:nth-child(2){flex:1}.intro-replay b,.intro-replay small{display:block}.intro-replay b{font-size:17px}.intro-replay small{font-size:13px;color:var(--sec);margin-top:4px}
@media(max-width:480px){.intro-layer{padding:0;background:var(--bg)}.intro-sheet{width:100%;max-height:100dvh;height:100dvh;border-radius:0;box-shadow:none;padding:calc(10px + env(safe-area-inset-top)) 24px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column}.intro-visual{flex:1;min-height:260px;padding:14px 0 24px}.intro-copy{min-height:146px}.intro-note{max-width:350px;margin:0 auto}.intro-dots{margin-top:8px}.intro-footnote{margin-top:14px}}
@media(max-height:680px){.intro-sheet{display:block}.intro-visual{min-height:0;padding:8px 0 14px}.intro-note{padding:12px}.intro-demo-row{padding:9px 0}.intro-copy{min-height:0}.intro-copy h2{font-size:26px}.intro-copy p{font-size:14px}.intro-dots{margin:10px 0}.intro-footnote{margin-top:10px}}
@media print{.intro-layer,.intro-replay{display:none!important}}

/* Touch surfaces keep fields native; grips own dragging. */
.entity-card{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--yellow-soft);isolation:isolate;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.entity-surface{position:relative;display:flex;align-items:center;background:var(--card);min-width:0;will-change:transform}.entity-surface>.bag{flex:1;width:auto;min-width:0;border-radius:0;padding-right:6px;gap:10px}.entity-swipe-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:16px;font-size:14px;font-weight:600;color:var(--tint);pointer-events:none}.entity-grip,.entity-more{flex:0 0 36px;min-width:36px;min-height:44px;border:0;background:none;color:var(--sec);font-size:23px;line-height:1;cursor:grab;padding:6px 2px}.entity-grip{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.entity-more{cursor:pointer;font-size:24px;margin-right:4px}.entity-card .bag-pct{display:none}.entity-card .chev{display:none}.entity-card .bag-text b{font-size:17px}.entity-card .bag-text small{font-size:12px}.kit-emoji{font-size:24px;line-height:1}.swipe-surface>.entity-grip{flex-basis:26px;min-width:26px;font-size:20px;margin-left:0}.swipe-surface{gap:7px}.swipe-surface .row-stepper{flex-shrink:0}.entity-layer{position:fixed;inset:0;z-index:270;display:flex;align-items:flex-end;justify-content:center}.entity-shade{position:absolute;inset:0;background:#1c1c1e66}.entity-sheet{position:relative;max-height:85dvh;overflow:auto;overscroll-behavior:contain;width:min(100%,var(--sheet-width));padding:18px 20px calc(24px + env(safe-area-inset-bottom));background:var(--bg);border-radius:14px 14px 0 0;box-shadow:0 -8px 40px #0003}.entity-sheet h2{font-size:23px;overflow-wrap:anywhere}.entity-action{display:block;text-align:left;width:100%;min-height:48px;border:0;border-bottom:1px solid var(--sep);background:none;color:var(--ink);padding:12px 6px;font-size:16px}.entity-sheet label{display:block;font-size:14px;font-weight:500;margin:14px 0 6px}.entity-sheet input,.entity-sheet textarea,.entity-sheet select{font-size:16px;min-height:46px;margin-top:6px}.entity-sheet textarea{min-height:85px;resize:vertical}.entity-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.entity-sheet .entity-checkbox{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.entity-checkbox input{width:22px;min-width:22px;min-height:22px;height:22px;margin:0;padding:0;appearance:auto}.entity-form-actions{display:flex;gap:10px;margin-top:20px}.entity-ghost{position:fixed;z-index:310;pointer-events:none;max-width:220px;border:1px solid #d7b94f;border-radius:12px;background:var(--yellow-soft);padding:12px 18px;box-shadow:0 10px 35px #0003;font-size:15px;font-weight:600}.entity-dragging{opacity:.35}.entity-drop-over{outline:3px solid var(--tint)!important;outline-offset:-3px}.entity-drop-dock{position:fixed;z-index:300;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);background:#fffdf7;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--sep);box-shadow:0 -4px 24px #0002}.entity-drop-dock small{color:var(--sec);font-size:12px}.entity-drop-dock>div{display:flex;gap:8px;overflow:auto;margin-top:8px}.entity-drop-dock [data-drop-zone]{display:flex;align-items:center;min-height:50px;flex-shrink:0;max-width:150px;background:var(--yellow-soft);padding:8px 12px;border-radius:10px;font-size:13px}.entity-drag-active{cursor:grabbing}.kits-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.kits-tools small{color:var(--sec);font-size:11px}.planner-custom-tools{display:flex;justify-content:space-between;gap:8px}.trip-item[data-entity-kind]{touch-action:pan-y;-webkit-touch-callout:none}.trip-item .entity-grip{min-height:36px;width:100%;display:block}.weight-pill[data-assign-person]{min-height:50px;flex-shrink:0;border:1px dashed #c5b484}.trip-weights{max-height:180px;overflow:auto}.entity-surface .missing-row{flex:1;width:auto;min-width:0;padding-left:10px}.entity-surface .missing-row>b{white-space:nowrap}.entity-card[data-entity-kind=missing]{margin:6px 0}.hidden-entities{margin:16px 0}.hidden-entities summary{min-height:44px}.select-mode .entity-grip{display:none}#itemCustomFields{font-size:16px}.entity-sheet input[type=color]{padding:5px}
@media(max-width:420px){.entity-grip,.entity-more{flex-basis:32px;min-width:32px}.entity-card .bag{padding-left:10px}.entity-card .ring{--s:46px;--w:4px;width:46px;height:46px;flex-basis:46px}.entity-card .trip-mini{font-size:26px;padding:4px 5px}.entity-sheet{padding-left:16px;padding-right:16px}.swipe-surface>.entity-grip{flex-basis:24px;min-width:24px}}
@media print{.entity-grip,.entity-more,.entity-layer,.entity-ghost,.entity-drop-dock,.kits-tools,.planner-custom-tools{display:none!important}.entity-surface{transform:none!important}}
.custom-fields>summary{display:flex;align-items:center;min-height:44px;font-size:15px;color:var(--tint)}.preset-tools{display:flex;justify-content:space-between;gap:10px}.entity-layer .hint{line-height:1.5}.entity-drag-active .weight-pill[data-assign-person]{background:var(--yellow-soft)}

/* Consistent swipe-to-reveal. Swiping alone never changes stock or packing. */
[data-entity-kind]{position:relative;isolation:isolate;touch-action:pan-y pinch-zoom}
.entity-surface,.swipe-surface{transition:transform .18s ease-out;touch-action:pan-y pinch-zoom;position:relative;z-index:1}
.swipe-tracking>.entity-surface,.swipe-tracking>.swipe-surface{transition:none}
.swipe-actions{position:absolute;top:0;bottom:0;z-index:0;display:flex;align-items:stretch;pointer-events:none}
.swipe-actions-leading{left:0}.swipe-actions-trailing{right:0}
.swipe-action{width:80px;min-width:80px;min-height:48px;padding:8px 4px;border:0;border-radius:0;font-size:14px;font-weight:600;line-height:1.2;white-space:normal;color:#fff}
.swipe-green{background:#28663b}.swipe-blue{background:#285c95}.swipe-amber{background:#835b00}.swipe-red{background:#ad2332}.swipe-gray{background:#5a5a61}
.swipe-open>.swipe-actions[aria-hidden=false]{pointer-events:auto;z-index:2}
.swipe-open>.swipe-actions-leading[aria-hidden=false]{width:fit-content}.swipe-open>.swipe-actions-trailing[aria-hidden=false]{width:fit-content}
.trip-swipe-row{background:var(--card);border-radius:0;border-bottom:1px solid var(--sep)}.trip-swipe-row .trip-item{flex:1;width:100%;min-width:0;border-bottom:0}.trip-swipe-row .entity-surface{align-items:stretch}
@media(prefers-reduced-motion:reduce){.entity-surface,.swipe-surface{transition:none}}
@media print{.swipe-actions{display:none!important}.entity-surface,.swipe-surface{transform:none!important}}

.entity-surface,.swipe-surface{will-change:auto}.swipe-tracking>.entity-surface,.swipe-tracking>.swipe-surface{will-change:transform}

/* A real insertion gap previews the exact before/after placement. */
.entity-insert-before{margin-top:32px!important;overflow:visible!important}
.entity-insert-after{margin-bottom:32px!important;overflow:visible!important}
.entity-insert-before::before,.entity-insert-after::after{content:attr(data-drop-label);position:absolute;left:8px;right:8px;height:26px;display:flex;align-items:center;justify-content:center;border:2px dashed var(--tint);border-radius:9px;background:var(--yellow-soft);color:var(--tint);font-size:11px;font-weight:600;pointer-events:none;box-sizing:border-box;z-index:5}
.entity-insert-before::before{top:-29px}.entity-insert-after::after{bottom:-29px}
.entity-ghost{white-space:pre-line;line-height:1.4}.entity-drop-over{background:var(--yellow-soft)!important;box-shadow:0 0 0 4px #e9b90033}

/* Shared app surfaces: inventory, kits, trips, scanning and editors. */
.kit-section{margin-top:22px}.kit-section .kit-list{margin-top:0}.kit-section .entity-card{margin-bottom:8px}.kits-tools small{font-size:12px}
.scan-nav,.sheet-nav{min-height:52px;gap:8px}.scan-engine{background:none;padding:0;font-weight:400;font-size:12px;color:var(--sec);white-space:nowrap}
.sheethead .eyebrow{font-size:12px;letter-spacing:.02em}.planner-custom-tools{margin:4px 0 12px}.planner-custom-tools .link-btn{font-size:15px}
#plannerActiveActions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}#plannerActiveActions>.inline{flex:1}#plannerActiveActions .btn{flex:1 1 auto;font-size:15px;min-height:44px}#plannerFinish{background:transparent;color:var(--sec);font-weight:400}
.quick-sheet,.qty-sheet,.move-sheet,.entity-sheet{width:min(100%,var(--sheet-width));padding:8px 16px calc(20px + env(safe-area-inset-bottom))}.entity-sheet:before{content:"";display:block;width:36px;height:5px;border-radius:3px;background:#c7c7cc;margin:0 auto 10px}.quick-head h2,.entity-sheet h2{font-size:23px;line-height:1.2}.quick-head{min-height:48px}
.filebtn{position:relative}.file-input{position:absolute;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0;overflow:hidden}.filebtn:focus-within{outline:3px solid #0a64d6;outline-offset:2px}
#add .custom-fields{border-top:1px solid var(--sep);padding-top:8px}.custom-fields summary{min-height:44px;display:flex;align-items:center;color:var(--tint);cursor:pointer}
#share>.panel{padding:16px}.more-tools h3,.smart-scan h3{font-size:20px}.smart-scan>p{font-size:14px;color:var(--sec);line-height:1.5}
.scan-start{padding:20px 16px}.scan-start h3{font-size:20px}.scan-illustration{font-size:26px}.scan-illustration span{width:44px;height:44px;border-radius:12px}.scan-hero-text{min-width:0}.scan-hero-text b{font-size:17px}.scan-hero-text small{line-height:1.35}
/* Photo thumbnails stay visual, while names and quantities use the same list rhythm. */
.scan-floor{display:flex;flex-direction:column;gap:0;background:var(--card);overflow:hidden}.piece{display:grid;grid-template-columns:68px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:0;padding:12px;box-shadow:none;border-radius:0;animation:none}.piece+.piece{border-top:.5px solid var(--sep)}.piece-pic{grid-column:1;grid-row:1/3;width:68px;height:68px;aspect-ratio:1;border-radius:10px;align-self:center}.piece-big-emoji{font-size:32px}.piece-emoji{display:none}.piece-num{left:3px;top:3px;min-width:20px;height:20px;line-height:20px;font-size:11px}.piece-count{display:none}.piece-name{grid-column:2;grid-row:1;min-width:0;font-size:17px;font-weight:400;background:transparent;padding:4px 2px}.piece-row{grid-column:2;grid-row:2;justify-content:flex-end}.piece-row button{width:36px;height:44px}.piece-row .piece-del{margin-left:auto}.piece-name.unnamed{box-shadow:none;font-style:normal;background:var(--yellow-soft)}
.entity-drag-active{overflow-anchor:none}.entity-drop-dock{background:var(--card)}
@media(min-width:700px){.entity-layer{align-items:center}.entity-sheet{border-radius:16px;padding-bottom:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.piece,.spinner,.scan-bag,.bag-fill,.dot{animation:none!important;transition:none!important}}

.plan-editor-close{float:right;min-height:36px!important;margin:-8px -4px 0 8px}.plan-subpanel>h3{min-height:36px;display:flex;align-items:center}

.scan-engine{max-width:65%;overflow:hidden;text-overflow:ellipsis}.trip-weights .weight-pill{overflow-wrap:anywhere;max-width:100%}
@media(max-width:380px){.titleline{flex-wrap:wrap}.title-actions{margin-left:auto}.scan-bag{gap:8px;padding-left:12px;padding-right:12px}.bag-art{width:52px;height:52px}}

.privacy.save-error{color:var(--red)}.privacy.save-error:before{background:var(--red)}

/* Trip-first workspace: the next physical action is the main screen. */
.next-trip{padding:20px;background:var(--card);border-radius:18px;margin:4px 0 14px}.next-trip h3{font-size:26px;line-height:1.16;letter-spacing:-.025em;margin:8px 0 18px;overflow-wrap:anywhere}.next-trip .eyebrow{font-size:11px;letter-spacing:.05em}.next-trip-progress{display:flex;align-items:center;gap:16px;margin-bottom:20px}.next-trip-progress>div{min-width:0}.next-trip-progress p{font-size:14px;color:var(--sec);margin:0 0 10px;overflow-wrap:anywhere}.journey-counts{display:flex;flex-wrap:wrap;gap:6px}.journey-counts span{font-size:12px;color:var(--tint);background:var(--yellow-soft);padding:4px 8px;border-radius:8px;font-variant-numeric:tabular-nums}.journey-empty{text-align:center;padding:28px 16px 20px}.journey-symbol{display:grid;place-items:center;width:68px;height:68px;background:var(--yellow-soft);color:var(--tint);border-radius:20px;margin:0 auto 16px}.journey-symbol svg{width:36px;height:36px}.journey-empty h3{font-size:24px;letter-spacing:-.02em}.journey-empty p{font-size:15px;color:var(--sec);max-width:260px;margin:8px auto}.home-help{text-align:center;margin-top:20px}
#tripPlanGroup>summary,.storage-kits>summary,.empty-refills>summary,.quick-storage>summary,.trip-more>summary{display:flex;align-items:center;min-height:48px;gap:8px;font-size:16px;color:var(--tint);cursor:pointer;list-style:none}#tripPlanGroup>summary:after,.storage-kits>summary:after,.empty-refills>summary:after,.quick-storage>summary:after,.trip-more>summary:after{content:'›';margin-left:auto;transform:rotate(0);font-size:23px;color:var(--ter)}#tripPlanGroup[open]>summary:after,.storage-kits[open]>summary:after,.empty-refills[open]>summary:after,.quick-storage[open]>summary:after,.trip-more[open]>summary:after{transform:rotate(90deg)}#tripPlanGroup>summary span,.empty-refills>summary span{font-size:14px;color:var(--sec)}.storage-kits,.empty-refills{margin:20px 0}.storage-kits{border-top:.5px solid var(--sep);padding-top:6px}.storage-kits .kit-section{margin-top:14px}.quick-storage{margin-top:8px}.quick-storage label{font-size:14px}.quick-sheet .stepper{max-width:200px}.trip-description{padding:14px;border-radius:var(--radius);background:var(--card)}.trip-description>label{margin-top:0}#plannerPrompt{min-height:84px;margin-bottom:0}.trip-description .link-btn{font-size:14px;padding:0}.trip-more{margin-bottom:12px}.trip-more .planner-fields{margin-top:8px}
.journey-link-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;border:0;border-radius:var(--radius);background:var(--card);padding:12px 14px;text-align:left;color:var(--ink);margin:8px 0}.journey-link-row>span:nth-child(2){flex:1;min-width:0}.journey-link-row b,.return-row b,.refill-row b{display:block;font-size:16px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}.journey-link-row small,.return-row small,.refill-row small{display:block;font-size:13px;color:var(--sec);margin-top:4px;line-height:1.3;overflow-wrap:anywhere}.journey-link-row>span:first-child{color:var(--tint)}.journey-link-row>span:last-child{color:var(--ter)}.inventory-group .journey-link-row{margin:0;border-radius:0}.inventory-group .journey-link-row+.journey-link-row{border-top:.5px solid var(--sep)}
.return-row{display:flex;align-items:center;gap:8px;min-height:66px;padding:6px}.return-row>span:nth-child(2){flex:1;min-width:0}.return-row+.return-row,.refill-row+.refill-row{border-top:.5px solid var(--sep)}.return-qty{padding:0 10px;font-size:14px;font-variant-numeric:tabular-nums;color:var(--sec)}.refill-row{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:68px}.refill-row>span{flex:1;min-width:0}.refill-row .btn{flex:none;white-space:nowrap}.refill-footnote{margin:16px 4px 0}.missing-plus{font-size:25px}.tab-badge{display:inline-block;min-width:15px;background:var(--yellow-soft);color:var(--tint);font-size:10px;border-radius:8px;padding:0 4px;margin-left:2px}
#plannerPackingHead{margin-top:20px}#plannerPackingHead>.list-heading{margin-bottom:10px}.trip-view-switch{margin-bottom:2px}.planner-sheet .packing-section{margin-top:18px}.planner-sheet .packing-section h3{font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}.planner-sheet .packing-section h3 span{font-size:13px;flex-shrink:0}.departure-section .list-heading h3{color:var(--tint)}#plannerReturn{margin-top:20px}#plannerReturn .list-heading h3{font-size:20px}.trip-progress small:empty{display:none}
@media(max-width:380px){.next-trip{padding:16px}.next-trip h3{font-size:24px}.next-trip-progress{gap:12px}.next-trip .ring.big{--s:72px;--w:6px}.journey-counts{gap:4px}.journey-counts span{padding:3px 6px;font-size:11px}}
@media print{#bags,#refill,.storage-kits,.home-help,.trip-view-switch{display:none!important}}

@media print{.section{display:none!important}#inventory{display:block!important}}


/* Trip packing uses the same circles and selection language as My gear. */
#plannerPackingHead>.list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.trip-pack-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 4px}.trip-pack-tools .text-btn{font-size:14px}.trip-pack-tools .hint{margin:0}
.trip-bulk-bar{position:sticky;top:52px;z-index:4;padding:8px 12px 12px;margin:8px -4px;background:var(--card);border:1px solid var(--sep);border-radius:var(--radius);box-shadow:0 4px 12px #00000008}.trip-bulk-bar>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.trip-bulk-bar>div+div{justify-content:flex-start;flex-wrap:wrap}.trip-bulk-bar [role=status]{font-size:14px;color:var(--sec)}.trip-bulk-bar .btn{flex:1;white-space:normal;min-height:44px}
.trip-selecting .planner-sheet .trip-item-actions,.trip-selecting .planner-sheet .entity-grip,.trip-selecting .planner-sheet .trip-item-main details{display:none}.trip-selecting .planner-sheet .select-dot .dot{border-radius:7px}.trip-selecting .planner-sheet .trip-item{cursor:pointer}.journey-next{margin:16px 0 0}.journey-next .journey-link-row{border:1px solid var(--sep);margin:0}.journey-next [data-trip-next]{scroll-margin-top:72px}.packing-done{display:flex;align-items:center;gap:12px;background:var(--yellow-soft);padding:16px;border-radius:var(--radius)}.packing-done svg{width:28px;flex:none;color:var(--tint)}.packing-done b{font-size:16px;font-weight:500}.packing-done small{display:block;color:var(--sec);font-size:13px;margin-top:4px}#plannerMissingSection{scroll-margin-top:64px}

#plannerActiveActions>.inline{flex:1 1 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#plannerActiveActions .btn{padding:0 12px}#plannerFinish{flex-basis:100%}

/* v1.27.3: one departure, one checklist. Ownership tools stay under More. */
.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs>.tab.hidden{display:none!important}
#floatAdd{display:none!important}#bags>.titleline{margin-bottom:18px}#bags .subtitle{font-size:14px}
.departure-start h3,.departure-setup h3{font-size:25px;letter-spacing:-.025em}.departure-start>p{color:var(--sec);font-size:15px;margin-top:6px}
.departure-templates,.departure-repeat{background:var(--card);border-radius:var(--radius);overflow:hidden;margin:18px 0}.departure-templates>button,.departure-repeat{display:flex;align-items:center;gap:14px;min-height:74px;width:100%;padding:16px;border:0;text-align:left;color:var(--ink)}.departure-templates>button{background:transparent}.departure-templates>button+button{border-top:.5px solid var(--sep)}.departure-templates>button>span:first-child,.departure-repeat>span:first-child{font-size:28px;width:36px;text-align:center}.departure-templates b{font-size:17px;font-weight:500;flex:1}.departure-templates>button>span:last-child,.departure-repeat>span:last-child{color:var(--ter);font-size:23px}.departure-repeat{border:1px solid var(--sep);margin-bottom:0}.departure-repeat>span:nth-child(2){flex:1;min-width:0}.departure-repeat b{display:block;font-size:16px;font-weight:600}.departure-repeat small{display:block;font-size:13px;color:var(--sec);margin-top:4px;overflow-wrap:anywhere}
.departure-setup,.departure-rename{background:var(--card);padding:18px;border-radius:var(--radius)}.departure-setup>label,.departure-rename>label{display:block;margin:20px 0 7px;font-size:14px;font-weight:600}.departure-setup .hint{margin:14px 0 0}.departure-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0 22px}.departure-fields label{font-size:14px;font-weight:600}.departure-fields input{display:block;margin-top:7px;width:100%;font-size:17px;min-height:46px}.departure-rename{margin:16px 0}.departure-rename .inline{margin-top:12px}
.departure-trip-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.departure-trip-top>div{min-width:0}.departure-trip h3{font-size:28px;font-weight:700;line-height:1.16;letter-spacing:-.03em;overflow-wrap:anywhere}.departure-trip-top p{font-size:14px;color:var(--sec);margin-top:8px}.departure-trip-top .text-btn{min-width:44px;flex:none;font-size:19px;letter-spacing:1px}.departure-progress{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px;margin:22px 0 10px;color:var(--sec)}.departure-progress>b{font-size:13px;font-weight:500;color:var(--tint);text-align:right}.departure-meter{height:4px;background:var(--sep);border-radius:4px;overflow:hidden;margin-bottom:24px}.departure-meter i{display:block;height:100%;background:var(--yellow);border-radius:4px;transition:width .15s}
.departure-options{padding:8px 14px;background:var(--card);border:1px solid var(--sep);border-radius:var(--radius);margin-bottom:20px}.departure-options>button{display:block;text-align:left;width:100%;min-height:48px;border:0;border-bottom:.5px solid var(--sep);background:none;font-size:15px;color:var(--tint)}.departure-options>button:last-child{border-bottom:0}
.departure-section{margin:24px 0}.departure-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 4px 9px}.departure-heading h4{margin:0;font-size:15px;font-weight:600}.departure-heading>span{font-size:13px;color:var(--sec)}.departure-day .departure-heading h4,.departure-needs .departure-heading h4{color:var(--tint)}.departure-list{background:var(--card);border-radius:var(--radius);overflow:hidden}.departure-row{display:flex;align-items:center;min-height:66px;padding:4px 12px 4px 5px;gap:5px}.departure-row+.departure-row{border-top:.5px solid var(--sep)}.departure-check{min-width:44px;width:44px;min-height:48px;border:0;background:none;display:grid;place-items:center;flex:none}.departure-check>span{border:1.7px solid #9a9a9f;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:var(--tint);font-size:17px}.departure-item{min-width:0;flex:1;background:none;border:0;text-align:left;padding:12px 0;min-height:48px}.departure-item b{display:block;font-size:17px;line-height:1.3;font-weight:400;overflow-wrap:anywhere}.departure-item small{display:block;margin-top:4px;font-size:12px;color:var(--sec);line-height:1.35;overflow-wrap:anywhere}.departure-quantity{font-size:13px;color:var(--sec);font-variant-numeric:tabular-nums;white-space:nowrap;padding-left:6px}.is-packed .departure-check>span{background:var(--yellow);border-color:var(--yellow)}.is-packed .departure-item b{color:var(--sec)}.suggestion-add{color:var(--tint);font-size:25px}
.departure-packed{margin:24px 0}.departure-packed>summary,#departureOtherTrips>summary{display:flex;align-items:center;gap:8px;min-height:48px;font-size:15px;font-weight:500;cursor:pointer;color:var(--sec);list-style:none}.departure-packed>summary:after,#departureOtherTrips>summary:after{content:'›';margin-left:auto;font-size:22px;color:var(--ter)}.departure-packed[open]>summary:after,#departureOtherTrips[open]>summary:after{transform:rotate(90deg)}.departure-packed>summary span{font-size:13px;font-weight:400}.departure-add{display:flex;align-items:center;background:var(--card);border:1px solid var(--sep);border-radius:var(--radius);overflow:hidden;margin-top:20px}.departure-add input{border:0;background:none;border-radius:0;min-width:0;flex:1;box-shadow:none;padding:16px;font-size:17px;min-height:56px}.departure-add button{min-width:52px;min-height:56px;border:0;background:none;font-size:25px;color:var(--tint)}.departure-footnote{font-size:12px;color:var(--sec);margin:10px 3px 0}.departure-new{margin-top:22px;width:100%;text-align:left}#departureOtherTrips{border-top:.5px solid var(--sep);margin-top:12px}#departureOtherTrips .kit-section{margin-top:0}
.departure-ready{display:flex;align-items:center;gap:12px;background:var(--yellow-soft);border-radius:var(--radius);padding:16px;margin:12px 0}.departure-ready svg{width:28px;height:28px;color:var(--tint)}.departure-ready b{font-size:16px;font-weight:500}.departure-ready small{display:block;font-size:13px;color:var(--sec);margin-top:4px}
.departure-utilities{margin-bottom:16px}.departure-utilities button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;width:100%;background:none;border:0;border-bottom:.5px solid var(--sep);text-align:left;font-size:17px}.departure-utilities span{color:var(--ter);font-size:23px}.departure-legacy-summary>summary{min-height:44px;display:flex;align-items:center;font-size:15px;color:var(--sec);cursor:pointer}.smart-scan>summary{font-size:16px;min-height:44px;cursor:pointer}.smart-scan[open]>h3{display:none}.smart-scan[open]>p{margin-top:12px}
#departureEditor form>label:not(.departure-checkbox){display:block;margin:16px 0 7px;font-size:14px;font-weight:600}#departureEditor form>.btn{margin-top:22px}.departure-checkbox{display:flex;align-items:center;gap:12px;min-height:48px;font-size:16px;margin:8px 0}.departure-checkbox input{width:22px;height:22px;min-height:22px;min-width:22px;appearance:auto;accent-color:var(--yellow);margin:0}.departure-remove{margin-top:12px;width:100%;color:var(--red)}
@media(min-width:700px){.departure-trip{padding:24px;background:#ffffff44;border-radius:20px;border:1px solid #e1e1e6}.departure-start{padding-top:12px}.departure-setup{max-width:480px;margin:0 auto}.departure-row{min-height:62px}}
@media(prefers-reduced-motion:reduce){.departure-meter i{transition:none}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.departure-suggestions>.hint{margin:0 4px 12px}

#bags.departure-active>.titleline h2{font-size:15px;font-weight:500;letter-spacing:0;color:var(--sec)}#bags.departure-active>.titleline .subtitle{display:none}#bags.departure-active>.titleline{margin-bottom:12px;min-height:44px}#bags.departure-active .compose{width:40px;height:40px}
