@font-face{font-family:Inter;src:url('/fonts/400.woff2')}@font-face{font-family:Inter;src:url('/fonts/500.woff2');font-weight:500}@font-face{font-family:Inter;src:url('/fonts/600.woff2');font-weight:600}@font-face{font-family:Inter;src:url('/fonts/700.woff2');font-weight:700}
:root{--ink:#172e2a;--secondary:#4c635d;--line:#d6dfd9;--forest:#163f36;--paper:#f5f7f3;color:var(--ink);font:400 16px/1.5 Inter,sans-serif;background:var(--paper)}
*{box-sizing:border-box}body{margin:0}a{color:var(--forest);text-underline-offset:3px}button,input,textarea{font:inherit}button{cursor:pointer}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}header{border-bottom:1px solid var(--line);background:#fcfdfb}.headinner{max-width:1232px;margin:auto;min-height:78px;padding:0 clamp(20px,4vw,56px);display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:11px;font-size:26px;letter-spacing:-1.6px;font-weight:700;text-decoration:none;color:var(--ink)}.brand-logo{width:39px;height:39px;border-radius:9px;flex:none}nav{display:flex;align-items:center;gap:20px;font-size:.9rem;font-weight:600}nav a{text-decoration:none}.navbtn{border:0;background:none;color:var(--secondary);font-size:inherit;padding:8px 0}.navbtn svg{width:15px;margin-left:4px}
main{max-width:1232px;margin:auto;padding:clamp(28px,5vw,68px) clamp(20px,4vw,56px) 48px}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);border:1px solid var(--line);overflow:hidden;border-radius:22px;box-shadow:0 16px 55px -38px #24443266;background:#fff}
.art{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 26% 22%,#476e5e 0%,#234d42 64%,#163d35 100%);color:#edf4e8;display:flex;flex-direction:column;justify-content:space-between;padding:30px 32px;min-height:480px}.art:before{content:"";z-index:-1;position:absolute;inset:-4%;background-image:url('/art/map.svg');background-size:auto 150%;background-position:center;filter:brightness(1.8);opacity:.6}.art:after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(#f6f3de44 .7px,transparent .9px) 0 0/12px 12px;opacity:.5}.art-top,.art-foot{display:flex;align-items:center;gap:9px;position:relative}.art-top{font-size:.86rem;font-weight:500;letter-spacing:.02em}.art-foot{justify-content:space-between;border-top:1px solid #e4eede56;padding-top:17px}.art-foot span{font-size:clamp(20px,2vw,31px);font-weight:500;letter-spacing:-.06em}.art-foot svg{width:30px;height:30px;stroke-width:1.2}.product{position:absolute;inset:13% 12% 20%;display:grid;place-items:center}.product img{max-height:83%;max-width:63%;height:316px;object-fit:contain;transform:rotate(-13deg);filter:drop-shadow(2px 3px 0 #805820) drop-shadow(13px 22px 15px #091c177c)}
.panel{padding:clamp(28px,4vw,62px);align-self:center;min-width:0}.panel h1,.desk h1,.thread h1{letter-spacing:-.063em;font-size:clamp(33px,3.6vw,53px);line-height:1.05;margin:0 0 32px;font-weight:600}h2{font-size:1.35rem;letter-spacing:-.04em;line-height:1.2;margin:32px 0 16px}.panel form,.thread form,.actions{display:grid;gap:17px}label,legend{display:block;font-size:.9rem;font-weight:600}input:not([type=radio]),textarea{display:block;width:100%;border:1px solid #bbc9c2;border-radius:9px;margin-top:6px;padding:11px 13px;color:var(--ink);background:#fff;font-weight:400;min-height:45px;font-size:1rem}input::placeholder,textarea::placeholder{color:#677970}textarea{resize:vertical}fieldset{margin:0;padding:0;border:0}legend{padding:0;margin-bottom:7px}.choices{display:flex;border:1px solid var(--line);background:#f3f6f2;border-radius:10px;padding:3px;gap:3px}.choices label{position:relative;flex:1}.choices input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.choices span{display:block;text-align:center;padding:8px;border-radius:7px;font-weight:500;color:var(--secondary)}.choices input:checked+span{background:white;color:var(--forest);box-shadow:0 1px 5px #1e352324}.choices input:focus-visible+span,:focus-visible{outline:3px solid #b06c30;outline-offset:2px}.primary,.secondary{display:grid;place-items:center;min-height:47px;border:0;border-radius:10px;font-weight:600;text-decoration:none;padding:10px 16px;font-size:.98rem}.primary{background:var(--forest);color:white}.primary:hover{background:#235648}.secondary{border:1px solid var(--line);background:white}.primary:active,.secondary:active{transform:translateY(1px)}.switch,.sub,.privacy,.back{font-size:.9rem;color:var(--secondary)}.switch{margin:20px 0 0}.switch a,.back{font-weight:600}.privacy,.place{display:flex;align-items:center;gap:7px}.privacy{margin-top:24px}.privacy svg{width:15px;height:15px}.error{padding:10px 12px;border-left:3px solid #a04633;background:#fff3ee;color:#802e24;border-radius:4px;font-size:.95rem}.sub{margin:-16px 0 20px}.back{display:inline-block;margin-top:24px}
.desk,.thread{max-width:920px;margin:auto}.thread{max-width:700px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,48px)}.threadhead .privacy{margin:0 0 12px}.threadhead h1{margin-bottom:14px}.place{font-weight:500}.items{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:16px}.item,.list a{display:flex;align-items:center;gap:15px;background:white;border:1px solid var(--line);border-radius:13px;text-decoration:none;color:var(--ink);padding:16px}.item:hover,.list a:hover{border-color:#839c8b}.tile{display:grid;place-items:center;width:78px;height:94px;border-radius:8px;background:#e1e9df url('/art/map.svg') center/cover;flex-shrink:0}.tile img{height:70px;transform:rotate(-9deg);filter:drop-shadow(2px 3px 2px #29372144)}strong,small{display:block;overflow-wrap:anywhere}small,time{font-size:.82rem;color:var(--secondary);font-weight:400}.list{display:grid;gap:8px}.list a time{margin-left:auto;text-align:right}.list .glyph{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;background:#eaf0e7;border-radius:10px}.empty{background:#fafcf9;border:1px dashed #bdcbbf;border-radius:12px;padding:24px;display:flex;gap:12px;align-items:center;color:var(--secondary)}.empty p{margin:0}.messages{list-style:none;padding:14px 0;display:grid;gap:14px;border-block:1px solid var(--line);margin:25px 0}.messages li{max-width:85%;padding:11px 15px;border-radius:12px;min-width:125px;overflow-wrap:anywhere}.messages .mine{background:#e4eee4;justify-self:end}.messages .theirs{background:#f2f4ef;justify-self:start}.messages li div{display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:.8rem;font-weight:600}.messages p{margin:4px 0;white-space:pre-wrap}.thread form button{justify-self:end;min-width:116px}[hidden]{display:none!important}
@media(max-width:710px){.headinner{min-height:64px}.brand{font-size:23px}.brand-logo{width:33px;height:33px}.split{grid-template-columns:1fr;border-radius:15px}.art{min-height:128px;padding:18px 22px}.art-foot{border:0;padding:0}.art-foot span{font-size:23px}.art-foot svg{display:none}.product{inset:3% 4% 3% auto;width:30%}.product img{max-height:100%;height:115px;max-width:100%}.panel{padding:25px 22px}.panel h1{margin-bottom:22px}.thread,.desk{width:100%}main{padding-top:20px}.list a{gap:8px}.navbtn svg{display:none}}
.item-links,.pickup-links,.map-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.item-links{justify-content:space-between;margin-top:24px}.item-links,.pickup-links,.map-actions{font-size:.88rem}.danger,.remove{color:#8c352a}.primary.remove{color:white;background:#913f34}.inline{display:inline}.map-actions button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--forest);padding:8px 12px;font-weight:600}.pickup-picker #pin-help{display:block;margin-top:4px}.map-canvas{height:250px;isolation:isolate;border-radius:10px;overflow:hidden;background:#e8eee8;margin:10px 0}.map-actions{gap:6px}.map-actions button{padding:6px 9px}.pin-status:not(:empty){display:block;margin-top:7px}.pickup-links{margin-top:-5px}.thread h1,.panel h1,.place{overflow-wrap:anywhere}.place svg{flex-shrink:0}.pickup-dot{border:3px solid white;border-radius:50%;background:#ac432e;box-shadow:0 1px 5px #321a1688}.map-canvas .leaflet-control-attribution{font-size:10px}.map-canvas:focus-visible,.map-actions button:focus-visible{outline:3px solid #b06c30;outline-offset:2px}

.returned{color:var(--forest);font-weight:600}

.private-photo{display:block;max-width:100%;max-height:22rem;object-fit:contain;margin:1rem auto;border-radius:10px}.private-description{white-space:pre-wrap;overflow-wrap:anywhere}

/* The colours of the printed Swiss tag carry through to the recovery screens. */
:root {
  --paper: #f6f4ee;
  --ink: #202c26;
  --forest: #214534;
  --secondary: #59645c;
  --line: #d8dbd0;
  --copper: #aa4930;
}
header { background: #fcfbf7; }

nav > a { padding: 8px 15px; border: 1px solid var(--line); border-radius: 24px; }
main { max-width: 1240px; }
.split {
  border-radius: 20px; background: #fffefa;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  box-shadow: 0 18px 48px -36px #333b29a6;
}
.art {
  margin: 10px; padding: 30px; border-radius: 13px;
  color: #f8efe0;
  background: radial-gradient(ellipse at 48% 38%, #607860, #394f42 65%, #233d33);
}
.art:before { inset: -10%; opacity: .75; background-size: auto 110%; transform: rotate(-18deg); }
.art:after {
  inset: 0; opacity: .32;
  background: repeating-linear-gradient(0deg, transparent 0 63px,#e1e6c73d 63px 64px),
    repeating-linear-gradient(90deg,transparent 0 63px,#e1e6c73d 63px 64px);
}
.art-world { background: radial-gradient(ellipse at 50% 40%,#977d62,#5d4938); }
.art-alpine { background: radial-gradient(ellipse at 50% 40%,#648388,#2d494f); }
.art-top { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.art-foot span {
  font: 400 clamp(28px, 3.4vw, 48px)/1.05 Georgia, serif;
  letter-spacing: -.055em;
}
.product { inset: 15% 4% 21%; }
.product img {
  height: 84%; max-height: 370px; max-width: 70%;
  transform: rotate(10deg); filter: drop-shadow(-2px 3px 0 #654f36) drop-shadow(-10px 20px 15px #12291f80);
}
.panel { width: 100%; max-width: 580px; justify-self: center; padding: clamp(28px,4.5vw,70px); }
.panel h1,.desk h1,.thread h1 {
  font: 400 clamp(38px,4.2vw,62px)/1.04 Georgia, serif;
  letter-spacing: -.056em; text-wrap: balance;
}
.panel form > a { justify-self: end; font-size: .86rem; }
.primary { min-height: 48px; box-shadow: 0 2px 4px #1b31251c; }
.panel input:not([type=radio]),.panel textarea,.thread textarea { background: #fffefa; }
input:focus-visible,textarea:focus-visible { outline-color: #54725e; }
.switch { padding-top: 20px; border-top: 1px solid var(--line); }
.apple-button { display: grid; place-items: center; background: #000; border-radius: 9px; }
.apple-button img { width: min(240px,100%); height: 44px; object-fit: contain; }
.divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--secondary); font-size: .8rem; }
.divider:before,.divider:after { content: ''; flex: 1; height: 1px; background: var(--line); }
[data-apple-status]:not(:empty) { margin-top: 8px; color: #903d28; }
.desk { max-width: none; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(270px,1fr); align-items: start; gap: clamp(24px,4vw,56px); }
.section-title { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:0 0 18px; }
.section-title h1,.section-title h2 { margin: 0; }
.section-title .total { padding: 2px 11px; border: 1px solid var(--line); border-radius: 24px; font-variant-numeric: tabular-nums; }
.items { grid-template-columns: repeat(auto-fit,minmax(min(205px,100%),1fr)); }
.item:has(.tile) { display:grid; gap:14px; padding:10px 10px 18px; background:#fffefa; }
.item:has(.tile) > div:last-child { padding:0 7px; }
.tile { width:100%; height:150px; background-color:#e7eadd; overflow:hidden; }
.tile.swiss { background-color:#efe1cb; }
.tile.world { background-color:#ede4d4; }
.tile img { width:auto; max-width:80%; height:115px; object-fit:contain; }
.inbox { border-top:3px solid var(--forest); padding-top:18px; }
.inbox .section-title svg { color:var(--secondary); }
.empty { background:#fbfaf6; border-style:solid; }
.thread { background:#fffefa; box-shadow:0 10px 40px -35px #213a29; }
.pickup-summary { padding:15px 17px; border-left:3px solid #a64e33; border-radius:0 9px 9px 0; background:#f4f1e8; }
.pickup-summary .place { margin:0 0 10px; }
.messages .mine { background:#dfeadd; border-bottom-right-radius:3px; }
.messages .theirs { background:#f0eee7; border-bottom-left-radius:3px; }
@media(max-width:710px) {
  main { padding: 14px clamp(12px,4vw,22px) 34px; }
  .headinner { min-height: 60px; }
  .split, .desk { grid-template-columns: 1fr; }
  .art { margin: 7px; padding: 16px 18px; min-height: 115px; }
  .art-foot span { font-size: 26px; }
  .art-foot { max-width: 65%; }
  .art-top { font-size:.68rem; }
  .product { inset: 5% 4% 5% auto; width: 29%; }
  .product img { max-height: 100%; max-width: 100%; height: 100%; }
  .panel { padding: 21px clamp(16px,5vw,30px) 27px; }
  .panel h1,.thread h1 { font-size: clamp(33px,8.3vw,44px); }
  .desk { gap: 28px; }
  .thread { padding: 21px 16px; }
}

.desk { display: block; max-width: 920px; }
nav a[aria-current="page"] { background: #e7ece4; border-color: #a6b9a9; }
nav a.avatar { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border-radius: 50%; background: var(--forest); color: white; }
nav a.avatar:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.name-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.account-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px; }
@media (max-width: 520px) {
  .headinner nav { gap: 5px; }
  nav > a { padding: 10px 9px; font-size: 14px; }
  .headinner .brand { gap: 6px; font-size: 18px; }
}
@media (max-width: 380px) {
  .headinner:has(.avatar) .brand span { display: none; }
}

.add-tag { display:inline-flex; align-items:center; min-height:44px; margin-top:10px; font-weight:600; text-decoration:none; }
.bottom-tabs { position:fixed; z-index:5; bottom:max(12px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); display:flex; gap:4px; padding:5px; border:1px solid var(--line); border-radius:32px; background:#fcfbf7f5; box-shadow:0 3px 16px #273b281c; }
.bottom-tabs a { white-space:nowrap; min-width:106px; text-align:center; padding:12px 18px; border-color:transparent; }
body.app-tabs main { padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
nav a:has(.unread-badge) { position:relative; }
.unread-badge { display:inline-block; border-radius:20px; padding:2px 6px; background:#a92d28; color:white; font:600 12px/1.3 system-ui; }
.unread-badge[hidden] { display:none; }
nav .unread-badge { position:absolute; top:-4px; right:-3px; }
.discussion.unread { background:#eaf0e8; box-shadow:inset 3px 0 var(--forest); }
.swipe-row { display:flex; align-items:stretch; gap:4px; }
.swipe-row .discussion { flex:1; min-width:0; }
.list .delete-chat { background:#922f29; color:white; justify-content:center; font-weight:600; padding:12px; }
@media(pointer:coarse), (max-width:710px) {
  .swipe-row { overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; }
  .swipe-row .discussion { flex:0 0 100%; scroll-snap-align:start; }
  .swipe-row .delete-chat { flex:0 0 84px; scroll-snap-align:end; }
  .swipe-row::-webkit-scrollbar { display:none; }
}
.alert-prompt { max-width:min(360px,90vw); border:1px solid var(--line); border-radius:20px; padding:24px; color:var(--ink); background:#fcfbf7; }
.alert-prompt::backdrop {background:#1b302a66}
.alert-prompt h2 {margin-top:0}
.alert-prompt button {display:block;width:100%;margin-top:8px}
[data-scanner] video { width:100%; max-height:55vh; border-radius:14px; background:#253429; }

body.app-tabs .headinner .brand span { display:inline; }

.thread-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.thread-back,.retrieve-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--forest);text-decoration:none}
.thread-back{width:44px;margin-left:-10px;border-radius:50%}
.retrieve-link{padding:0 12px;font-size:.9rem;font-weight:600}
.thread-back:hover,.retrieve-link:hover{background:var(--paper);border-radius:12px}
.thread-report{margin-top:12px;text-align:right;color:var(--secondary);font-size:.82rem}
.thread-report a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-underline-offset:3px}

.reply-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.reply-actions{justify-content:space-between;width:100%}
.reply-actions .thread-report{margin:0;text-align:left}
.pickup-reminder{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:14px;border-radius:10px;background:#edf3ea;color:var(--forest);font-weight:600}

.retrieve-link{border:1px solid var(--line);border-radius:12px}

.inbox-entry{position:relative;min-width:0}
.inbox-entry:has(.retrieval-feedback){overflow:hidden;border-radius:14px;background:#e5f1e8}
.inbox-entry.is-returned .glyph{color:#206841;background:#e5f1e8}
.retrieval-feedback{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;color:#206841;font-weight:600}
.retrieval-feedback span{display:inline-flex;align-items:center;gap:8px;opacity:0}
.retrieval-feedback svg{width:26px;height:26px;stroke-width:2.3}
.inbox-entry:has(.retrieval-feedback) .swipe-row{position:relative}
.retrieval-dialog{width:min(420px,calc(100% - 32px));box-sizing:border-box;padding:clamp(22px,5vw,32px);margin:auto;border:1px solid var(--line);border-radius:20px;background:#fffdf8;color:var(--ink);box-shadow:0 16px 60px #142c2229}
.retrieval-dialog::backdrop{background:rgb(22 34 28 / .45);backdrop-filter:blur(3px)}
.retrieval-dialog h2{font-family:inherit;font-size:clamp(22px,4vw,28px);line-height:1.2;letter-spacing:-.035em;margin:0 0 24px;overflow-wrap:anywhere;outline:none}
.retrieval-dialog form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:10px}
.retrieval-dialog button{padding-inline:8px;min-height:48px;line-height:1.2}
.retrieval-dialog .secondary{color:var(--forest)}
.retrieval-dialog [role="alert"]:empty{display:none}
.retrieval-dialog [role="alert"]{margin:14px 0 0;font-size:.9rem}
body:has(.retrieval-dialog[open]){overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.owner-inbox-card{display:flex;align-items:stretch;flex:1;min-width:0;border:1px solid var(--line);background:white;border-radius:13px;overflow:hidden}
.owner-inbox-card:has(.unread){background:#eaf0e8}
.list .owner-inbox-card .discussion{flex:1;min-width:0;overflow-wrap:anywhere;background:transparent;border:0}
.row-meta{display:grid;align-content:center;justify-items:end;flex:none;padding:8px 14px 2px 0}
.row-meta time{font-size:.8rem;color:var(--secondary)}
.list .row-retrieve{min-height:32px;padding:0 3px;color:var(--forest);font-size:.84rem;font-weight:600;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px}
@media(pointer:coarse), (max-width:710px){.swipe-row .owner-inbox-card{flex:0 0 100%;scroll-snap-align:start}}

.archive-link { display:inline-flex; align-items:center; min-height:44px; color:var(--secondary); font-size:.88rem; text-underline-offset:3px; }
.archive-link:hover,.archive-link:focus-visible { color:var(--forest); text-decoration:underline; }

/* Keep place selection in the form so the map and pickup details stay in view. */
.pickup-picker { min-width:0; }
.pickup-picker > label { margin:0; }
.place-search { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px; }
.pickup-picker .place-search input { width:100%;min-width:0;margin:0;font-size:16px; }
.place-search { margin-top:6px; }
.place-search button,.map-tools button { font:inherit;font-weight:600;color:var(--forest);cursor:pointer; }
.place-search button { min-height:44px;padding:0 15px;border:1px solid #bdcbbb;border-radius:10px;background:#edf2e9; }
.place-results { margin-top:6px;border:1px solid var(--line);border-radius:12px;background:#fffefa;overflow:hidden; }
.place-results button { display:grid;gap:2px;width:100%;min-height:46px;padding:10px 13px;border:0;border-radius:0;background:transparent;text-align:left;color:var(--ink);cursor:pointer; }
.place-results button+button { border-top:1px solid var(--line); }
.place-results button:hover,.place-results button:focus-visible { background:#eef3eb; }
.place-results strong,.place-results small { overflow-wrap:anywhere; }
.place-results small,.map-tools small,.search-status { color:var(--secondary); }
.search-status:empty,.pin-status:empty { display:none; }
.map-tools { display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap; }
.map-tools button { display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:0 6px;background:none;border:0;font-size:.84rem; }
.map-tools svg,.conversation .retrieve-link svg { width:17px;height:17px;flex:none; }
.conversation .retrieve-link { gap:7px;border-radius:24px;background:#eef3eb;border-color:#c6d4c6; }
.conversation .retrieve-link:hover { background:#e2ecdf; }
.conversation h1,.conversation .place,.conversation .messages p { overflow-wrap:anywhere; }

.finder-alerts{margin:1rem 0;padding:.85rem 1rem;background:#eff3eb;border-radius:.75rem;color:#234432}
.finder-alerts summary{cursor:pointer;font-weight:600;padding:.25rem 0}
.finder-alerts p{margin:0}
.finder-alerts p:empty{display:none}
.finder-alerts details form{margin-top:.75rem}
.finder-alerts .text-action{background:none;border:0;padding:.5rem 0;color:inherit;text-decoration:underline;cursor:pointer}

.service-links{display:flex;justify-content:center;gap:1.25rem;margin:1.25rem auto;padding:0 1rem calc(1.5rem + env(safe-area-inset-bottom));font-size:.82rem}
.service-links a,.thread-report a{color:var(--muted,#526257);padding:.45rem .15rem}
.thread-report{display:flex;align-items:center;gap:.85rem}
.help-page h2{margin:1.5rem 0 .45rem;font-size:1.15rem}
.help-page p{line-height:1.6}
.app-tabs .service-links{padding-bottom:6rem}

/* Signed-in mobile app */
.items-app {
  --wine:#690c25; --ink:#252124; --paper:#f7f5ef; --muted:#766e70;
  --tabs-height:calc(65px + env(safe-area-inset-bottom));
  background:var(--paper); color:var(--ink); isolation:isolate; min-height:100dvh;
}
.items-app header { background:var(--paper); border:0; }
.items-app .headinner { max-width:760px; padding:10px 6.2%; min-height:72px; }
.items-app .headinner .brand { gap:10px; font-size:clamp(20px,5.8vw,26px); color:var(--ink); letter-spacing:-.065em; }
.items-app .brand-logo { width:39px; height:39px; border-radius:10px; }
.initials-badge { display:grid; place-items:center; border-radius:50%; width:42px; height:42px; background:#efe0e5; color:var(--wine); font-weight:700; }
.items-app:has([data-tab-path="/"]:not([hidden]) .items-welcome, main > .app-collection .items-welcome) .initials-badge { visibility:hidden; }
.items-app:has([data-tab-path="/"]:not([hidden]) .app-collection, main > .app-collection) .service-links { display:none; }
.items-app main:has(.app-collection) { max-width:760px; padding-inline:6.2%; padding-top:12px; }
.items-app .app-navigation {
  inset:auto 0 0; transform:none; z-index:5; display:grid; grid-template-columns:repeat(3,1fr);
  gap:0; padding:4px max(4px,env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));
  background:#fdfbf8; border:0; border-top:1px solid #eae5df; border-radius:0; box-shadow:none;
}
.items-app .app-navigation a {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-width:0; min-height:56px;
  padding:2px 3px; font-size:12px; color:#746d6c; font-weight:500; border:0; border-radius:0; background:transparent;
}
.items-app .app-navigation a[aria-current] { color:var(--wine); font-weight:700; }
.tab-symbol { width:48px; height:29px; display:grid; place-items:center; position:relative; border-radius:22px; }
.tab-symbol svg { width:24px; height:24px; stroke-width:1.7; }
.app-navigation a[aria-current] .tab-symbol { background:#f0e1e5; }
.items-app:has(.items-welcome) .app-navigation a[href="/"] .tab-symbol { background:transparent; }
.app-navigation .unread-badge { right:-2px; top:-2px; font-size:10px; }
.app-collection { position:relative; isolation:isolate; }
:is(.app-collection,.mailbox:has(.mailbox-empty))::before,:is(.app-collection,.mailbox:has(.mailbox-empty))::after {
  content:""; position:fixed; pointer-events:none; z-index:-1; inset:auto 0 var(--tabs-height);
  height:clamp(75px,15dvh,160px); background:#f0e9e3;
  clip-path:polygon(0 59%,8% 46%,16% 65%,23% 52%,33% 75%,54% 39%,65% 56%,73% 29%,80% 49%,90% 5%,100% 34%,100% 100%,0 100%);
}
:is(.app-collection,.mailbox:has(.mailbox-empty))::after {
  height:clamp(52px,8.5dvh,100px); background:#ebe2dc;
  clip-path:polygon(0 69%,11% 36%,20% 72%,30% 41%,42% 92%,55% 41%,67% 68%,78% 17%,89% 60%,100% 28%,100% 100%,0 100%);
}
.app-collection:has(.items-welcome)::after { display:none; }
.app-collection h1,.profile-page h1 { font:700 clamp(30px,8.1vw,42px)/1.08 Inter,system-ui,sans-serif; letter-spacing:-.065em; margin:0; }
.items-intro,.items-welcome p { color:var(--muted); font-size:clamp(14px,3.9vw,17px); }
.items-intro { margin:6px 0 21px; }
.app-collection .items-primary {
  display:flex; justify-content:center; align-items:center; gap:12px; width:100%; min-height:47px; margin:0;
  border-radius:12px; background:var(--wine); color:white; font-weight:650; font-size:16px; text-decoration:none;
}
.items-primary svg { width:21px; height:21px; stroke-width:2.2; }
.items-primary:active { background:#550a1e; }
.items-welcome { min-height:clamp(300px,calc(100dvh - 240px - env(safe-area-inset-bottom)),690px); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:15px 4.5%; }
.first-tag { position:relative; display:grid; place-items:center; width:clamp(104px,min(34vw,20dvh),155px); aspect-ratio:1; border-radius:50%; color:var(--wine); background:#efe1e6; }
.first-tag > svg { width:80%; height:80%; stroke-width:2.4; }
.first-tag > span { display:grid; place-items:center; position:absolute; right:2%; bottom:6%; width:25%; aspect-ratio:1; border:2px solid var(--paper); background:var(--wine); color:white; border-radius:50%; }
.first-tag > span svg { width:68%; height:68%; }
.items-welcome h2 { margin:clamp(12px,2.7dvh,24px) 0 6px; font-size:clamp(20px,5.7vw,29px); font-weight:700; letter-spacing:-.055em; }
.items-welcome p { margin:4px 0 clamp(14px,3dvh,26px); line-height:1.45; }
.object-list { display:grid; gap:12px; margin:18px 0 0; }
.object-row { display:flex; align-items:center; text-decoration:none; gap:14px; color:inherit; background:white; border:1px solid #e3dcd7; border-radius:18px; padding:15px 14px; }
.object-row:active { background:#fbf8f6; }
.object-row > svg { flex:none; margin-left:auto; width:16px; height:20px; color:#a79c98; }
.object-info { display:grid; justify-items:start; min-width:0; gap:4px; }
.object-info strong { line-height:1.18; font-size:clamp(16px,4.4vw,20px); letter-spacing:-.035em; }
.object-info small { color:#746d6c; font-size:14px; }
.registered { align-items:center; display:inline-flex; gap:6px; color:#456a53; background:#e8eee8; border-radius:20px; padding:3px 9px; font-size:12px; font-weight:600; margin-top:5px; }
.registered::before { content:""; width:6px; height:6px; background:#547760; border-radius:50%; }
.items-count { text-align:center; font-size:13px; color:#786f6d; margin:13px 0 0; }
.object-thumb { --tile:#efe7d7; --line-art:#594c41; --tint:#d0bda6; width:clamp(65px,20vw,86px); aspect-ratio:0.93; flex:none; display:grid; place-items:center; overflow:hidden; background:var(--tile); border-radius:13px; }
.object-thumb[data-type=keys] { --tile:#f4ebcf; --line-art:#755d32; --tint:#e1cea0; }
.object-thumb[data-type=luggage] { --tile:#dfe8ed; --line-art:#42576c; --tint:#bdcfda; }
.object-thumb[data-type=wallet] { --tile:#eee1dc; --line-art:#674a42; --tint:#dabcb0; }
.object-thumb[data-type=electronics] { --tile:#e5e6ef; --line-art:#514e6b; --tint:#c7c7dc; }
.object-thumb[data-type=other] { --tile:#e4eae1; --line-art:#53634d; --tint:#c6d1c0; }
.object-thumb .object-icon { width:84%; height:84%; stroke:var(--line-art); stroke-width:1.8; }
.object-icon rect,.object-thumb[data-type=other] .object-icon { fill:var(--tint); }
.object-thumb img,.object-thumb [data-category] { grid-area:1 / 1; width:100%; height:100%; object-fit:cover; }
.object-thumb [data-category] { display:grid; place-items:center; }
.object-thumb:has(img:not([hidden])) [data-category] { visibility:hidden; }

.appearance-fields { display:grid; gap:10px; }
.appearance-fields select { display:block; width:100%; margin-top:6px; min-height:45px; padding:8px 10px; font:inherit; font-size:16px; font-weight:400; color:inherit; border:1px solid #cfc8c4; background:white; border-radius:9px; }
.appearance-preview { display:flex; gap:14px; align-items:center; }
.appearance-preview .object-thumb { width:64px; height:64px; }
.camera-control,.clear-photo { color:#690c25; display:inline-flex; gap:8px; align-items:center; font-size:14px; min-height:44px; }
.camera-control { position:relative; overflow:hidden; cursor:pointer; }
.camera-control input[type=file] { cursor:pointer; position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; }
.camera-control:focus-within { outline:2px solid currentColor; outline-offset:2px; border-radius:4px; }
.clear-photo { display:flex; border:0; padding:0; background:transparent; text-decoration:underline; }
[data-photo-status]:empty { display:none; }
.items-app .profile-page h1 { margin-bottom:6px; }
.profile-email { color:#746d6c; margin:0 0 24px; overflow-wrap:anywhere; }
.items-app .profile-page .primary,.items-app .panel:has(.appearance-fields) .primary { background:var(--wine); }
@media(min-width:750px) { .items-app .headinner,.items-app main:has(.app-collection) { padding-inline:36px; } }

/* Saved item */
.items-app:has(.item-detail,.item-removal) > header,
.items-app:has(.item-detail,.item-removal) > .service-links { display:none; }
.items-app main:has(.item-detail,.item-removal) { max-width:600px; padding:12px clamp(19px,6.2vw,34px) calc(var(--tabs-height) + 22px); }
.item-toolbar,.detail-heading,.item-facts > div,.item-edit-form > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.item-toolbar a,.detail-edit,.edit-cancel { color:var(--wine); text-decoration:none; font-weight:600; display:inline-flex; align-items:center; min-height:44px; gap:7px; }
.item-toolbar > a svg { width:24px; height:24px; }
.item-menu { position:relative; }
.item-menu summary { display:grid; place-items:center; min-width:44px; height:44px; border:1px solid #dfd7d1; border-radius:50%; cursor:pointer; }
.item-menu summary::-webkit-details-marker { display:none; }
.item-menu a { position:absolute; top:calc(100% + 5px); right:0; z-index:1; white-space:nowrap; padding:9px 16px; border:1px solid #e3dbd5; border-radius:12px; background:white; box-shadow:0 5px 20px #32292316; }
.item-hero { display:grid; justify-items:center; text-align:center; margin:10px 0 18px; }
.item-photo-launch { color:#776f6d; background:none; border:0; padding:0; font:500 12px/1.4 Inter,sans-serif; display:grid; justify-items:center; gap:12px; }
.item-portrait { display:block; position:relative; }
.item-portrait .object-thumb { position:relative; width:clamp(109px,32vw,150px); aspect-ratio:1; border-radius:22%; }
.item-portrait img { position:absolute; inset:0; }
.camera-badge { position:absolute; right:-9px; bottom:-11px; background:var(--wine); color:white; display:grid; place-items:center; width:41px; height:41px; border:3px solid var(--paper); border-radius:50%; }
.camera-badge svg { width:23px; height:23px; }
.item-hero h1 { margin:10px 0 6px; max-width:100%; overflow-wrap:anywhere; font-size:clamp(27px,7.2vw,36px); line-height:1.12; letter-spacing:-.06em; }
.item-hero .registered { margin-top:2px; padding:4px 11px; }
.detail-heading { min-height:44px; }
.detail-heading h2 { margin:0; font-size:clamp(18px,4.6vw,22px); line-height:1.2; letter-spacing:-.045em; }
.detail-heading small { color:#776f6d; font-size:13px; }
.detail-edit,.edit-cancel { font-size:14px; }
.item-facts,.item-edit-form,.item-thread,.item-no-messages { background:white; border:1px solid #e1d9d2; border-radius:15px; }
.item-facts { margin:0; padding:0 15px; }
.item-facts > div { padding:13px 0; font-size:14px; min-height:48px; }
.item-facts > div + div { border-top:1px solid #e6e0dc; }
.item-facts dt { color:#766e6d; flex:none; }
.item-facts dd { margin:0; text-align:right; font-weight:600; overflow-wrap:anywhere; }
.item-edit-form { display:grid; gap:12px; padding:16px; }
.item-edit-form select { width:100%; margin-top:6px; font:inherit; font-size:16px; padding:8px; border:1px solid #cfc8c4; border-radius:8px; background:white; color:inherit; min-height:44px; }
.item-edit-form .primary,.removal-card .primary { background:var(--wine); color:white; }
.item-history { margin-top:16px; }
.item-thread { color:inherit; text-decoration:none; display:flex; align-items:center; gap:12px; padding:12px 14px; margin:0 0 7px; min-height:74px; }
.item-thread-text { flex:1; display:grid; gap:2px; min-width:0; }
.item-thread-text strong { font-size:14px; }
.item-thread-text time,.item-thread-text .item-state { color:#776e6d; font-size:12px; }
.item-excerpt { color:#756d6c; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.item-thread > svg,.photo-choice > svg { color:#a19691; width:15px; height:18px; flex:none; }
.thread-symbol,.choice-icon,.removal-symbol { display:grid; place-items:center; flex:none; width:44px; height:44px; background:#efe0e5; color:var(--wine); border-radius:12px; }
.returned-thread .thread-symbol { background:#e5ece4; color:#50745a; }
.returned-thread .item-state { color:#4d7156; }
.new-thread .item-state { color:var(--wine); }
.new-thread .item-state::before { content:''; display:inline-block; background:var(--wine); width:6px; height:6px; border-radius:50%; margin-right:5px; vertical-align:2px; }
.item-no-messages { padding:16px; color:#736b68; display:flex; align-items:center; gap:10px; font-size:14px; }
.more-threads summary { cursor:pointer; padding:10px 0; min-height:44px; color:var(--wine); font-size:14px; }
.item-photo-sheet { width:min(100%,540px); max-width:100%; max-height:90dvh; margin:auto auto 0; padding:12px 20px calc(13px + env(safe-area-inset-bottom)); border:0; border-radius:23px 23px 0 0; color:var(--ink); background:var(--paper); }
.item-photo-sheet::backdrop { background:#241b204d; }
body:has(.item-photo-sheet[open]) { overflow:hidden; }
.sheet-grip { width:39px; height:4px; margin:2px auto 16px; border-radius:8px; background:#c8beba; }
.item-photo-sheet h2 { font-size:24px; margin:0; outline:none; }
.item-photo-sheet p { color:#766e6d; font-size:14px; margin:6px 0; }
.photo-choice { border:0; border-radius:0; background:none; color:inherit; width:100%; text-align:left; display:flex; align-items:center; gap:12px; padding:13px 0; min-height:72px; cursor:pointer; }
.photo-choice ~ .photo-choice { border-top:1px solid #ded6d1; }
.photo-choice b { font-size:16px; font-weight:600; }
.photo-choice small { color:#766e6d; font-size:13px; font-weight:400; }
.photo-choice > svg { margin-left:auto; }
.photo-progress:empty { display:none; }
.sheet-cancel,.photo-reset { border:0; width:100%; padding:12px; min-height:44px; border-radius:13px; }
.sheet-cancel { background:#eee8e3; color:var(--ink); font-weight:600; }
.photo-reset { color:var(--wine); background:transparent; }
.items-app main:has(.item-removal) { display:grid; align-items:center; min-height:100dvh; }
.removal-card { text-align:center; padding:24px 18px 10px; background:#1a191a; color:white; border:1px solid #343034; border-radius:20px; }
.removal-symbol { margin:auto; width:52px; height:52px; border-radius:50%; color:#a13d48; }
.removal-card h1 { font-size:26px; letter-spacing:-.045em; margin:14px 0 8px; }
.removal-card p { margin:0 0 18px; color:#cec6c8; font-size:14px; }
.removal-card strong { display:inline; color:inherit; }
.removal-card .primary { width:100%; }
.removal-card a { color:white; display:grid; place-items:center; margin-top:6px; min-height:44px; text-decoration:none; }
@media (prefers-reduced-motion:no-preference) {
  .item-photo-sheet[open] { animation:item-sheet-in 180ms ease-out; }
  @keyframes item-sheet-in { from { transform:translateY(24px); opacity:0; } to { transform:translateY(0); opacity:1; } }
}

/* App conversation folders */
.items-app:has(.mailbox) .service-links { display:none; }
.items-app main:has(.mailbox) { max-width:760px; padding-inline:6.2%; padding-top:12px; }
.mailbox { position:relative; isolation:isolate; }
.mailbox-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mailbox-heading h1 { font-size:clamp(30px,8.1vw,42px); line-height:1.08; letter-spacing:-.065em; margin:0; }
.mailbox-heading .archive-link { gap:8px; color:var(--wine); font-size:14px; font-weight:600; text-decoration:none; padding:0 4px; }
.mailbox-heading .archive-link svg { width:20px; height:20px; stroke-width:1.9; }
.mailbox-intro { color:var(--muted); margin:2px 0 20px; font-size:clamp(14px,3.9vw,17px); }
.mailbox-empty { display:flex; flex-direction:column; align-items:center; text-align:center; justify-content:center; min-height:clamp(315px,calc(100dvh - 300px - env(safe-area-inset-bottom)),700px); padding:15px 0 28px; }
.mailbox-illustration { display:grid; place-items:center; width:clamp(98px,30vw,140px); aspect-ratio:1; color:var(--wine); background:#efe1e6; border-radius:50%; }
.mailbox-illustration svg { width:72%; height:72%; stroke-width:2.15; }
.mailbox-empty h2 { font-size:clamp(22px,6vw,30px); letter-spacing:-.055em; margin:14px 0 5px; }
.mailbox-empty p { font-size:clamp(14px,3.9vw,17px); line-height:1.5; color:var(--muted); max-width:28ch; text-wrap:balance; margin:6px auto 22px; }
.mailbox-empty small { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:12px; }
.mailbox-empty small svg { width:15px; height:17px; }
.mailbox:has(.mailbox-empty) :is(.mail-tools,.mail-total) { display:none; }
.mail-search { display:flex; align-items:center; gap:10px; padding:0 12px; border:1px solid #e2dad4; border-radius:12px; background:#fff; color:#796f71; }
.mail-search:focus-within { outline:2px solid var(--wine); }
.mail-search input[type=search] { min-width:0; min-height:44px; margin:0; padding:8px 0; border:0; background:transparent; outline:none; font-size:16px; }
.mail-search input::placeholder { color:#776e70; opacity:1; }
.mail-search svg { flex:none; }
.mail-tools h2 { font-size:12px; color:#736b6b; font-weight:650; letter-spacing:.015em; text-transform:uppercase; margin:19px 0 10px; }
.mail-entry + .mail-entry { margin-top:10px; }
.mail-entry .swipe-row { overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; border-radius:15px; }
.mail-card,.mail-entry .delete-chat { scroll-snap-align:start; }
.mail-card { flex:0 0 100%; min-width:0; border:1px solid #e2dad3; border-radius:15px; background:#fff; }
.mail-card.has-unread { background:#f1e6e9; border-color:#e5d5da; }
.mail-card .discussion {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:start; gap:5px 10px; padding:15px 13px;
  grid-template-areas:"thumb title time" "thumb preview preview" ". state count"; color:var(--ink); text-decoration:none;
}
.mail-thumb { grid-area:thumb; position:relative; align-self:start; width:clamp(45px,14vw,62px); aspect-ratio:1; border-radius:12px; }
.mail-thumb img { position:absolute; inset:0; }
.mail-thumb[data-type=keys] { --tile:#ede1e6; --line-art:var(--wine); }
.mail-title { grid-area:title; letter-spacing:-.025em; font-size:clamp(15px,4.2vw,18px); line-height:1.25; }
.mail-card time { grid-area:time; font-size:11px; line-height:1.4; margin-top:2px; color:#72696a; }
.has-unread time { color:var(--wine); }
.mail-preview { grid-area:preview; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; color:#736b6a; font-size:14px; }
.has-unread .mail-preview { color:#51494b; }
.mail-status { grid-area:state; display:inline-flex; align-items:center; gap:5px; justify-self:start; align-self:center; margin-top:4px; font-size:12px; color:#766e6d; }
.mail-status::before { content:''; background:#ad926b; width:6px; height:6px; border-radius:50%; }
.has-unread .mail-status { color:var(--wine); font-weight:600; }
.has-unread .mail-status::before,.is-returned .mail-status::before { display:none; }
.is-returned .mail-status { color:#4f7359; }
.mail-status svg { width:14px; height:14px; }
.mail-unread-count { grid-area:count; justify-self:end; align-self:center; margin-top:4px; min-width:20px; padding:0 5px; text-align:center; border-radius:12px; font:600 12px/20px Inter,sans-serif; background:var(--wine); color:white; }
.mail-card .row-retrieve { display:inline-flex; align-items:center; min-height:44px; margin:-6px 13px 0 calc(clamp(45px,14vw,62px) + 23px); color:var(--wine); font-size:13px; }
.mail-entry .delete-chat { display:grid; place-items:center; flex:0 0 82px; font-size:14px; font-weight:600; background:#912f43; color:white; border-radius:13px; text-decoration:none; }
.mail-total,.mail-no-match { margin:24px auto 0; color:#776e6e; font-size:13px; text-align:center; }
.app-navigation .tab-symbol .mailbox-dot { min-width:0; width:11px; height:11px; background:var(--wine); padding:0; border:2px solid #fdfbf8; top:0; right:3px; }
@media(min-width:750px) { .items-app main:has(.mailbox) { padding-inline:36px; } }

.mailbox:has(.mail-no-match:not([hidden])) .mail-total { display:none; }

/* Profile and account settings */
body:has(.settings) { --wine:#690d26; --ink:#272325; --secondary:#776e6d; --paper:#f8f5ef; color:var(--ink); background:var(--paper); }
body:has(.settings) > .service-links,.items-app:has(.profile-home) header .initials-badge,
body:has(.sub-settings) > header,body:has(.sub-settings) > nav.app-navigation { display:none; }
body main:has(.settings) { max-width:660px; padding:18px clamp(20px,6.3vw,38px) 30px; }
body.app-tabs main:has(.profile-home) { padding-bottom:calc(84px + env(safe-area-inset-bottom)); }
.items-app:has(.profile-home) .headinner { max-width:660px; padding-inline:clamp(20px,6.3vw,38px); }
body main:has(.sub-settings) { padding-top:10px; padding-bottom:max(28px,env(safe-area-inset-bottom)); }
.settings h1,.settings h2,.settings h3 { font-family:inherit; color:var(--ink); }
.settings h1 { margin:0; font-size:clamp(30px,8vw,38px); font-weight:700; line-height:1.12; letter-spacing:-.058em; }
.profile-identity { text-align:center; margin:clamp(16px,3.4dvh,28px) 0 clamp(18px,3dvh,28px); }
.profile-identity > span { display:grid; place-items:center; margin:auto; width:clamp(65px,10dvh,80px); aspect-ratio:1; border-radius:50%; color:var(--wine); background:#efe0e5; font-size:26px; font-weight:700; }
.profile-identity h2 { margin:9px 0 2px; font-weight:700; font-size:clamp(22px,5.9vw,28px); letter-spacing:-.05em; overflow-wrap:anywhere; }
.profile-identity p,.settings-intro,.settings-foot,.settings-notice,.settings-address { color:var(--secondary); }
.profile-identity p { margin:0; font-size:14px; }
.settings h3 { margin:21px 0 9px; font-size:17px; letter-spacing:-.035em; }
.settings-group { border:1px solid #e3dbd4; background:#fff; border-radius:16px; padding:0 14px; overflow:hidden; }
.settings-row { position:relative; display:flex; width:100%; align-items:center; gap:13px; min-height:45px; color:inherit; text-decoration:none; padding:9px 0; line-height:1.3; font-size:15px; font-weight:500; }
.settings-row + .settings-row::before { content:''; position:absolute; inset:0 0 auto 32px; border-top:1px solid #e9e2dc; }
.settings-row > svg { flex:none; color:var(--wine); }
.settings-row span { flex:1; min-width:0; }
.settings-row > svg:last-child { width:16px; color:#a69b97; }
.profile-home h3:nth-of-type(2) + .settings-group svg:first-child { color:#7c7270; }
.profile-signout,.settings-primary { width:100%; display:flex; align-items:center; justify-content:center; gap:12px; border-radius:12px; min-height:46px; font-weight:600; }
.profile-signout { border:1px solid #d9bec7; background:transparent; color:var(--wine); margin-top:20px; }
.settings-back { color:var(--wine); font-weight:600; display:inline-flex; gap:8px; align-items:center; min-height:44px; text-decoration:none; margin-bottom:13px; }
.settings-back svg { width:24px; height:24px; }
.sub-settings h1 { font-size:clamp(27px,7.1vw,38px); }
.settings-intro { margin:9px 0 23px; font-size:15px; line-height:1.45; }
.personal-form,.settings-form { display:grid; gap:clamp(16px,3.1dvh,26px); }
.personal-form .name-fields { gap:13px; }
.settings input:not([type=checkbox]),.settings-email,.settings-phone { font:inherit; font-size:16px; padding:12px 14px; border:1px solid #ddd5cf; border-radius:12px; min-height:49px; background:white; margin-top:7px; color:var(--ink); }
.settings label { font-weight:600; font-size:14px; }
.settings-email,.settings-phone { display:flex; align-items:center; gap:12px; }
.settings-email { background:#efeae4; color:#716968; font-weight:500; font-size:15px; }
.settings-email svg,.settings-notice svg { flex:none; }
.settings-email > svg:last-child { margin-left:auto; }
.settings-phone { gap:0; padding:0; overflow:hidden; }
.country-select { position:relative; flex:none; padding:6px 10px; border-right:1px solid #ddd5cf; }
.country-select select { opacity:0; position:absolute; inset:0; width:100%; height:100%; }
.country-select:focus-within { outline:2px solid var(--wine); outline-offset:-3px; }
.phone-value { position:relative; min-width:0; flex:1; }
.settings .phone-value input { margin:0; border:0; border-radius:0; box-shadow:none; width:100%; }
.phone-value [data-masked-phone] { display:none; pointer-events:none; position:absolute; inset:0; padding:0 14px; align-items:center; background:white; }
.phone-value.is-masked:not(:focus-within) [data-masked-phone] { display:flex; }
.settings-privacy { background:#f0e1e6; border-radius:13px; padding:13px 15px; display:flex; align-items:flex-start; gap:12px; color:var(--wine); font-size:14px; }
.settings-privacy svg { flex:none; width:24px; height:24px; }
.settings-privacy p { margin:4px 0 0; color:#78535e; line-height:1.45; }
.settings-primary { background:var(--wine); border:0; color:white; min-height:49px; }
.settings-foot { font-size:12px; margin:-8px 0 0; text-align:center; }
.settings-notice { display:flex; align-items:flex-start; gap:9px; font-size:14px; line-height:1.45; }
.settings-notice svg { color:var(--wine); width:18px; }
.notify-row { position:relative; display:flex; align-items:center; gap:12px; min-height:79px; padding:13px 0; }
.notify-row + .notify-row { border-top:1px solid #e9e2dc; }
.notify-icon { display:grid; place-items:center; background:#f0e1e6; color:var(--wine); width:42px; height:42px; border-radius:12px; flex:none; }
.notify-row > span:nth-child(2) { flex:1; min-width:0; }
.notify-row strong { font-size:15px; font-weight:600; }
.notify-row small { color:var(--secondary); font-size:13px; margin-top:3px; }
.settings .notify-row input[type=checkbox] { appearance:none; display:block; flex:none; width:43px; height:27px; min-height:0; margin:0; padding:3px; border-radius:99px; border:0; background:#d9d3cf; cursor:pointer; }
.notify-row input::after { content:''; display:block; width:21px; height:21px; border-radius:50%; background:white; box-shadow:0 1px 3px #22151b22; }
.settings .notify-row input:checked { background:var(--wine); }
.notify-row input:checked::after { transform:translateX(16px); }
.notify-row input:disabled { cursor:default; }
@media (prefers-reduced-motion:no-preference) { .notify-row input::after { transition:transform .16s ease-out; } }
.settings h3.settings-kicker { margin-top:26px; font-weight:550; letter-spacing:.035em; font-size:12px; text-transform:uppercase; color:var(--secondary); }
.sub-settings .settings-row { min-height:58px; }
.sub-settings .settings-row + .settings-row::before { left:0; }
.settings-danger .settings-row,.settings-danger .settings-row svg { color:#a93648; }
.settings-status,[data-settings-feedback]:not(:empty) { color:var(--wine); font-size:14px; }

.personal-form input:not([type=checkbox]) { font-weight:400; }

/* Support, privacy and account deletion share the profile navigation and type scale. */
.service-page { --rose:#f0e1e6; --rule:#e3dad3; --danger:#9d3943; }
.service-page .settings-back { display:flex; width:max-content; margin-bottom:12px; }
.service-page h2 { font-size:clamp(18px,4.8vw,24px); margin:22px 0 10px; letter-spacing:-.045em; }
.service-page .settings-intro { margin-bottom:18px; }
.service-page .settings-primary,.sheet-cancel,.delete-outline { text-decoration:none; }
.service-symbol,.received-icon { display:grid; place-items:center; width:54px; height:54px; margin-bottom:12px; background:var(--rose); color:var(--wine); border-radius:17px; }
.service-symbol svg { width:34px; height:34px; }
.contact-card { display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:14px; background:var(--rose); color:var(--wine); }
.contact-card > svg { width:23px; height:23px; flex:none; }
.contact-card a { flex:1; min-width:0; overflow-wrap:anywhere; color:inherit; font-weight:650; text-decoration:none; }
.contact-card small { display:block; font-size:12px; color:#78515f; }
.contact-card button { padding:8px; background:transparent; color:inherit; border:0; min-width:44px; min-height:44px; }
.copy-status:not(:empty) { display:block; font-size:13px; margin-top:4px; color:var(--wine); }
.support-form { display:grid; gap:11px; }
.support-form label { display:grid; gap:5px; font-size:14px; font-weight:600; }
.support-form :is(input,select,textarea) { width:100%; min-width:0; border:1px solid var(--rule); color:var(--ink); background:white; border-radius:12px; line-height:1.35; font-family:inherit; font-size:16px; font-weight:400; padding:12px 14px; min-height:46px; }
.support-form textarea { resize:vertical; min-height:82px; }
.support-form small { display:flex; align-items:center; gap:6px; color:var(--secondary); font-size:12px; }
.support-form small svg { flex:none; width:16px; }
.service-page .settings-foot { margin:14px 0 0; text-align:center; font-size:13px; }
.service-page .settings-foot a { color:inherit; }
.privacy-summary { border-radius:15px; background:var(--rose); padding:14px; }
.privacy-summary strong,.privacy-summary li,.privacy-contact a { display:flex; gap:9px; align-items:center; color:var(--wine); }
.privacy-summary ul,.delete-risks { list-style:none; margin:5px 0 0; padding:0; }
.privacy-summary li { font-size:14px; color:#694953; margin-top:3px; }
.privacy-summary li svg { width:16px; color:var(--wine); }
.privacy-sections { display:grid; gap:8px; }
.privacy-sections details { background:#fff; border:1px solid var(--rule); border-radius:13px; }
.privacy-sections summary { display:flex; align-items:center; min-height:47px; gap:12px; padding:10px 14px; font-size:14px; font-weight:650; cursor:pointer; list-style:none; }
.privacy-sections summary::-webkit-details-marker { display:none; }
.privacy-sections summary span { font-size:12px; color:var(--wine); }
.privacy-sections summary svg { margin-left:auto; flex:none; width:15px; transform:rotate(90deg); color:var(--secondary); }
.privacy-sections details[open] summary svg { transform:rotate(-90deg); }
.privacy-sections details > div { padding:3px 14px 14px; border-top:1px solid var(--rule); font-size:14px; }
.privacy-contact { margin-top:24px; border-top:1px solid var(--rule); }
.privacy-contact p { margin:0; color:var(--secondary); }
.privacy-contact a { min-height:44px; width:max-content; font-weight:600; text-decoration:none; }
.delete-intro,.support-received,.delete-sheet { text-align:center; }
.delete-intro { margin:10px 0 clamp(26px,5vh,44px); }
.delete-symbol { width:72px; height:72px; border-radius:50%; margin:0 auto 10px; color:var(--danger); }
.delete-intro p,.delete-sheet p,.support-received p { color:var(--secondary); }
.delete-risks li { display:flex; gap:15px; align-items:center; }
.delete-risks svg { color:var(--danger); flex:none; width:23px; height:23px; }
.delete-risks li span { flex:1; padding:12px 0; }
.delete-risks li+li span { border-top:1px solid var(--rule); }
.tag-note { display:flex; gap:12px; margin:17px 0 clamp(22px,4.3vh,40px); border-radius:14px; background:#eee9e2; padding:15px; }
.tag-note svg { flex:none; color:#816950; }
.tag-note p { color:var(--secondary); font-size:14px; margin:3px 0 0; }
.delete-actions,.delete-sheet form { display:grid; gap:12px; margin:0; }
.delete-outline,.sheet-cancel { display:grid; place-items:center; min-height:48px; border-radius:12px; font-weight:600; }
.delete-outline { color:var(--danger); border:1px solid currentColor; }
.delete-sheet { --wine:#690d26; --danger:#9d3943; --rose:#f0e1e6; color:#272325; background:#f8f5ef; border:0; width:min(100%,570px); padding:16px 22px max(20px,env(safe-area-inset-bottom)); border-radius:22px 22px 0 0; }
dialog.delete-sheet { max-width:100%; max-height:90dvh; margin:auto auto 0; position:fixed; inset:auto 0 0; }
.delete-sheet::backdrop { background:#24182060; }
.delete-sheet::before { content:""; display:block; width:36px; height:4px; border-radius:4px; background:#c8beba; margin:0 auto 13px; }
.delete-sheet h2 { margin:12px 0; font-size:24px; }
.delete-sheet .delete-symbol { width:56px; height:56px; }
.delete-final { background:var(--danger); }
.sheet-cancel { margin-top:10px; color:inherit; background:#eee8e4; }
.delete-sheet.standalone { margin:25px auto; }
.support-received { padding:clamp(55px,15dvh,145px) 0 30px; }
.received-icon { position:relative; width:105px; height:105px; margin:0 auto 24px; border-radius:50%; }
.received-icon > svg { width:65px; height:65px; stroke-width:1.4; }
.received-icon b { position:absolute; bottom:8px; right:4px; display:grid; place-items:center; background:#53765d; color:white; border-radius:50%; width:34px; height:34px; border:3px solid var(--paper); }
.support-received em { display:block; color:var(--secondary); margin-top:16px; font-size:14px; }
