:root{font-family:Inter,"SF Pro Display",-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC",sans-serif;font-synthesis:none;--bg:#0c1017;--surface:#141a24;--raised:#1b2330;--ink:#f0f3f8;--muted:#96a2b5;--faint:#708097;--line:#26303e;--accent:#b4d2f6;--accent-ink:#0b1f37;--accent-soft:#b4d2f610;--violet:#b7a8ed;--outside:#06090e;color-scheme:dark;color:var(--ink);background:var(--outside)}:root[data-theme=light]{--bg:#f4f6fa;--surface:#fff;--raised:#edf1f7;--ink:#111c2d;--muted:#596b82;--faint:#65758a;--line:#dce3ed;--accent:#223d5d;--accent-ink:#fff;--accent-soft:#223d5d0d;--violet:#665294;--outside:#dfe5ee;color-scheme:light}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,input,select,textarea,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{opacity:.5;cursor:not-allowed}.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0;stroke-width:1.5}.skip{position:fixed;top:-100px;z-index:100;background:var(--accent);color:var(--accent-ink);padding:10px}.skip:focus{top:0}.workspace{width:100%;max-width:440px;min-height:100dvh;margin:0 auto;background:var(--bg);border-inline:1px solid var(--line)}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:18px 23px 12px;gap:12px;background:var(--bg)}.brand{display:flex;gap:8px;align-items:center;font-size:24px;font-weight:600;letter-spacing:-1px}.brand img{width:36px;height:36px;flex-shrink:0;object-fit:contain}.brand-dot{color:var(--accent)}.top-actions{display:flex;align-items:center;gap:2px}.language{font-size:11px;font-weight:600;letter-spacing:.5px;min-width:35px;min-height:40px}.icon-button{width:36px;height:40px;display:inline-flex;align-items:center;justify-content:center;position:relative;border-radius:10px;color:var(--muted)}.icon-button:hover,.language:hover{color:var(--accent);background:var(--accent-soft)}.top-actions .icon{width:18px;height:18px}.notification-dot{width:4px;height:4px;border-radius:50%;background:var(--accent);position:absolute;right:9px;top:9px}main{padding:15px 23px 20px;min-width:0}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{font-weight:550;margin:0;letter-spacing:-.5px}h1{font-size:26px;line-height:1.35}h2{font-size:19px;line-height:1.45}h3{font-size:15px}.greeting{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:550;color:var(--faint);display:block;margin-bottom:9px}.greeting p,.page-heading p{font-size:12px;color:var(--muted);margin:9px 0 0}.avatar{height:38px;width:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;font-weight:550;color:var(--violet);background:var(--raised);border:1px solid var(--line)}.avatar.tiny{height:23px;width:23px;font-size:9px}.avatar.sage{color:var(--accent)}.avatar.peach{color:var(--violet)}.hero{position:relative;isolation:isolate;overflow:hidden;padding:24px 22px 21px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(125deg,var(--surface),var(--raised));min-height:295px}.hero-tag{display:flex;align-items:center;gap:7px;font-size:8px;color:var(--accent);letter-spacing:1.4px;position:relative;z-index:1}.hero-tag i{width:5px;height:5px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}.hero h2{font-size:27px;line-height:1.4;letter-spacing:-.7px;margin:23px 0 13px;position:relative;z-index:1}.hero p{font-size:11px;color:var(--muted);line-height:1.9;margin:0 0 24px;position:relative;z-index:1}.primary,.secondary,.light-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;border-radius:12px;padding:11px 17px;font-size:12px;font-weight:600;line-height:1.5;transition:background .15s,transform .15s}.primary,.light-button{background:var(--accent);color:var(--accent-ink)}.primary:hover,.light-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.secondary{background:var(--raised);color:var(--ink);border:1px solid var(--line)}.secondary:hover{border-color:var(--muted)}.primary .icon,.secondary .icon,.light-button .icon{width:16px;height:16px}.hero .primary{position:relative;z-index:1}.hero-how{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;margin-top:18px;padding:0;position:relative;z-index:1}.hero-how .icon{width:12px;height:12px}.hero-orb{position:absolute;z-index:0;width:200px;height:240px;right:-67px;top:37px;transform:rotate(-20deg);opacity:.85;pointer-events:none}.orb-core{position:absolute;left:16px;top:48px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#c8daf1 0,#8da6d2 8%,#4e567e 28%,#252f43 51%,#151d2d 68%);box-shadow:inset -8px -5px 23px #080c16,0 0 55px #9ca8e318}.orb-ring{position:absolute;top:30px;left:-15px;width:206px;height:178px;border:1px solid #a4bdca70;border-radius:50%;transform:rotateX(53deg) rotate(-30deg)}.orb-ring.second{transform:rotateY(65deg) rotate(40deg);border-color:#b9a8e66b}.orb-node{position:absolute;top:93px;left:-4px;width:8px;height:8px;background:#c9dcf4;border-radius:50%;box-shadow:0 0 15px #b4d2f655}:root[data-theme=light] .hero-orb{opacity:.6}.impact-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 29px}.impact-strip>button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:16px}.metric-label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.metric-label .icon{height:14px;width:14px}.impact-strip strong{display:block;font-size:32px;line-height:1.25;letter-spacing:-1px;font-weight:500;margin:13px 0 12px}.impact-strip strong small{font-size:11px;letter-spacing:.5px;color:var(--faint);margin-left:7px;font-weight:400}.metric-foot{font-size:9px;color:var(--accent);display:flex;align-items:center;justify-content:space-between}.metric-foot .icon{height:13px;width:13px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.section-top h2{font-size:18px}.section-sub{display:none}.location-select{display:flex;align-items:center;gap:3px;color:var(--muted)}.location-select .icon{height:12px;width:12px}select{border:0;background:transparent;color:var(--muted);font-size:10px;max-width:100%;padding:5px 0}.filters{display:flex;flex-direction:column;gap:13px;margin-bottom:18px}.filter-tabs{display:flex;gap:8px;align-items:center}.filter{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:30px;padding:8px 16px;font-size:11px;min-height:38px;color:var(--muted)}.filter .icon{width:13px;height:13px}.filter.selected{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.filter-right{display:flex;gap:13px;align-items:center}.search{display:flex;align-items:center;gap:7px;flex:1;min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:10px 12px;color:var(--faint)}.search .icon{height:15px;width:15px}.search input{font-size:11px;border:0;outline:0;background:transparent;color:var(--ink);min-width:0;width:100%}input::placeholder,textarea::placeholder{color:var(--faint)}.listing-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.listing-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}.card-image{position:relative;display:block;width:100%;padding:0;line-height:0;background:var(--raised);overflow:hidden}.art{width:100%;height:auto;display:block}.card-image .art{height:170px;object-fit:cover;filter:saturate(.48) brightness(.85)}:root[data-theme=light] .card-image .art{filter:saturate(.5)}.image-label,.free-label{position:absolute;top:12px;left:12px;padding:6px 9px;line-height:1.2;background:#101824d9;border:1px solid #ffffff22;backdrop-filter:blur(10px);color:#e8eef4;border-radius:7px;font-size:9px;display:flex;align-items:center;gap:4px}.image-label .icon{height:11px;width:11px}.free-label{right:12px;left:auto;color:#b4d2f6}.illustration-label{position:absolute;bottom:10px;right:12px;font-size:8px;line-height:1;color:#263340;background:#ffffff80;padding:3px 4px;border-radius:3px}.card-body{padding:17px}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:9px}.card-meta .icon{width:11px;height:11px;margin-right:4px}.card-meta>span:first-child{color:var(--accent)}.card-body h3{font-size:15px;font-weight:500;line-height:1.65;margin:11px 0 9px}.card-body h3 button{text-align:left;padding:0;font:inherit}.card-location{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px;margin:0}.card-location .icon{height:13px;width:13px}.card-divider{height:1px;background:var(--line);margin:16px 0 12px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.owner{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.reward{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;color:var(--accent);font-size:12px;font-weight:500}.reward>.icon{width:13px;height:13px}.reward small{font-size:8px;font-weight:400;color:var(--faint);width:100%;text-align:right}.join-banner{border:1px solid var(--line);background:var(--accent-soft);border-radius:17px;padding:21px 17px;display:flex;align-items:center;gap:12px;margin-top:24px}.join-icon{color:var(--accent)}.join-banner>div:nth-child(2){flex:1;min-width:0}.join-banner .eyebrow{font-size:7px;letter-spacing:1.5px;margin:0 0 7px}.join-banner h3{font-size:13px}.join-banner p{font-size:10px;color:var(--muted);margin:7px 0 0}.join-banner .icon-button{width:25px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:3px 0 25px}.page-heading h1{font-size:25px}.page-heading>.primary{font-size:12px;min-width:96px;width:auto;min-height:44px;padding:10px 14px;flex-shrink:0;margin-top:22px;white-space:normal;text-align:center}.page-heading>.primary>.icon{width:20px;height:20px}.notice{display:flex;align-items:flex-start;gap:9px;padding:14px;background:var(--accent-soft);border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:11px;line-height:1.85;margin-bottom:20px}.notice .icon{width:16px;height:16px;margin-top:2px;color:var(--accent)}.notice.success{color:var(--accent)}.bounty-list,.activity-list{display:grid;gap:16px}.bounty-card{display:flex;flex-wrap:wrap;gap:12px;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:18px}.bounty-mark{width:39px;height:39px;border-radius:11px;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent)}.bounty-content{flex:1;min-width:65%}.bounty-content h2{font-size:17px;margin:10px 0}.bounty-content p{font-size:11px;line-height:1.9;color:var(--muted);margin:0 0 10px}.bounty-content>small{font-size:9px;display:flex;align-items:center;gap:5px;color:var(--faint)}.bounty-content>small .icon{width:12px;height:12px}.bounty-price{width:100%;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;margin-top:3px}.bounty-price>b{font-size:27px;color:var(--accent);font-weight:500;letter-spacing:-.5px}.bounty-price>b small{font-size:11px}.bounty-price p{display:none}.bounty-price>button{font-size:11px;padding:9px 12px;min-height:38px}.status{display:inline-block;line-height:1.5;padding:4px 7px;background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:6px;font-size:9px}.status.review,.status.next{color:var(--violet)}.status.disputed,.status.blocked,.status.rejected{color:#dca889}.two-col{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;margin-top:24px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:21px;margin-bottom:17px;min-width:0}.panel h3{font-size:16px;margin:0 0 16px}.panel p{font-size:12px;color:var(--muted);line-height:1.9}.soft{background:var(--accent-soft)}.text-link{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:11px;padding:0;line-height:1.8}.text-link .icon{width:13px;height:13px}.steps{padding:0;list-style:none;counter-reset:steps;margin:15px 0 0}.steps li{position:relative;padding:0 0 23px 35px;counter-increment:steps;color:var(--muted);font-size:12px}.steps li:before{content:counter(steps);position:absolute;top:0;left:0;height:23px;width:23px;border:1px solid var(--line);color:var(--accent);border-radius:50%;display:grid;place-items:center;font-size:10px}.steps li:last-child{padding-bottom:0}.steps p{font-size:11px;color:var(--muted);line-height:1.9;margin:6px 0}.activity-card{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border:1px solid var(--line);border-radius:17px;background:var(--surface);padding:17px}.activity-art{width:62px;height:68px;overflow:hidden;border-radius:9px}.activity-art .art{height:100%;object-fit:cover;filter:saturate(.5)}.activity-content{flex:1;min-width:65%}.row{display:flex;align-items:center;justify-content:space-between;gap:9px}.category-tag{font-size:9px;color:var(--faint)}.activity-content h2{font-size:14px;margin:7px 0}.activity-content p{font-size:9px;color:var(--muted);margin:0 0 12px}.activity-content p .icon{height:11px;width:11px}.stepper{display:flex;flex-wrap:wrap;gap:5px;color:var(--faint);font-size:7px}.stepper span{display:inline-flex;gap:3px;align-items:center}.stepper i{font-style:normal;display:grid;place-items:center;background:var(--raised);border-radius:50%;height:12px;width:12px;font-size:7px}.stepper .done{color:var(--accent)}.activity-card>.secondary{width:100%;font-size:11px;min-height:38px}.activity-list+.panel{margin-top:24px}.wallet-hero{position:relative;overflow:hidden;padding:26px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,var(--surface),var(--raised));margin-bottom:16px}.wallet-hero>div>span{font-size:11px;color:var(--muted)}.demo-pill{display:inline-flex;align-items:center;font-size:8px;line-height:1.5;border:1px solid var(--line);border-radius:4px;color:var(--faint);padding:3px 5px;margin-left:9px}.big-balance{font-size:64px;line-height:1.3;letter-spacing:-3px;margin:19px 0 10px;font-weight:500}.big-balance small{font-size:18px;letter-spacing:0;color:var(--accent);margin-left:10px}.wallet-hero p{font-size:10px;line-height:1.9;color:var(--muted);max-width:280px}.wallet-hero .light-button{margin-top:13px}.coin{display:none}.wallet-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:7px}.wallet-stats .panel{padding:13px 10px;border-radius:12px}.wallet-stats .panel>span{font-size:9px;color:var(--muted)}.wallet-stats strong{display:block;font-size:24px;margin:9px 0;font-weight:500;letter-spacing:-1px}.wallet-stats strong small{font-size:8px;color:var(--faint);letter-spacing:0}.wallet-stats p{font-size:8px;line-height:1.7;margin:0;color:var(--faint)}.ledger{padding:19px 16px}.ledger .section-top h2{font-size:16px}.ledger .text-link{font-size:8px}.transaction{display:flex;gap:9px;align-items:center;padding:17px 0;border-top:1px solid var(--line)}.transaction-icon{height:30px;width:30px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft)}.transaction-icon.out{color:var(--violet)}.transaction-icon .icon{width:15px;height:15px}.transaction>div{flex:1;min-width:0}.transaction b{font-size:11px;font-weight:500}.transaction>div small{font-size:8px;color:var(--faint);display:block;margin-top:4px}.transaction>strong{font-size:13px;font-weight:500;white-space:nowrap;margin-left:auto}.transaction>strong small{font-size:8px;color:var(--faint)}.positive{color:var(--accent)}.bounty-row{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;text-align:left;font-size:11px}.bounty-row .icon{width:13px;height:13px}.bounty-row>span:last-child{margin-left:auto;font-size:9px;color:var(--muted)}.roadmap{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}.roadmap-item{padding:20px 17px;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}.roadmap-item:last-child{border:0}.phase-number{width:32px;height:32px;display:grid;place-items:center;color:var(--faint);background:var(--raised);border-radius:50%;font-size:10px;flex-shrink:0}.phase-number.complete{color:var(--accent)}.roadmap-item>div{flex:1;min-width:70%}.roadmap-item h2{font-size:14px}.roadmap-item p{font-size:10px;color:var(--muted);line-height:1.9;margin:7px 0 0}.roadmap-item .status{margin-left:44px}.team-person{display:flex;gap:12px;align-items:center;margin-top:18px}.team-person b{font-size:11px;font-weight:500}.team-person p{font-size:10px;margin:2px 0}.reset{display:block;margin-top:15px}.muted{color:var(--muted);font-size:11px}.empty{text-align:center;padding:40px 18px;border:1px dashed var(--line);border-radius:17px;background:var(--surface)}.empty>.icon{height:28px;width:28px;color:var(--accent)}.empty h3{font-size:16px;margin:13px 0}.empty p{font-size:11px;color:var(--muted)}.empty button{margin-top:14px}footer{margin:0 23px;border-top:1px solid var(--line);padding:22px 0 110px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;color:var(--faint);font-size:10px;gap:10px}footer button{display:flex;align-items:center;gap:6px;padding:0;font-size:9px}footer .icon{width:12px;height:12px}footer small{width:100%;font-size:8px;color:var(--faint)}.mobile-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:440px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--bg);border:1px solid var(--line);border-bottom:0;padding:11px 9px calc(12px + env(safe-area-inset-bottom));z-index:20}.nav-item{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:9px;color:var(--faint);position:relative;padding:4px 0;min-height:45px}.nav-item .icon{height:21px;width:21px}.nav-item.active{color:var(--accent)}.nav-item.active:before{content:'';position:absolute;top:-12px;width:20px;height:2px;background:var(--accent);border-radius:2px}.nav-count{position:absolute;top:0;right:24%;height:13px;min-width:13px;display:grid;place-items:center;font-size:7px;background:var(--raised);color:var(--accent);border-radius:50%}dialog{width:calc(100% - 28px);max-width:410px;max-height:88dvh;overflow-y:auto;border:1px solid var(--line);background:var(--bg);color:var(--ink);padding:0;border-radius:19px;box-shadow:0 30px 100px #0006}dialog::backdrop{background:#0206119c;backdrop-filter:blur(6px)}.modal-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;background:var(--bg);border-bottom:1px solid var(--line)}.modal-top h2{font-size:17px}.modal-body{padding:19px}.modal-body>p{font-size:12px;color:var(--muted);line-height:1.9}.modal-body label{display:block;font-size:11px;color:var(--muted);margin-bottom:17px}.modal-body input:not([type=checkbox]),.modal-body textarea,.modal-body select{display:block;width:100%;min-width:0;margin-top:8px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:12px;border-radius:9px;padding:12px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-body .checkbox{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.8}.checkbox input{accent-color:var(--accent);margin:4px 0 0}.form-hint{font-size:9px!important;color:var(--faint)!important;line-height:1.9!important;margin:13px 0}.full{width:100%;margin:6px 0;white-space:normal}.detail-art{border-radius:12px;overflow:hidden;margin-bottom:18px}.detail-art .art{height:170px;object-fit:cover;filter:saturate(.5)}.detail-description{font-size:12px;line-height:1.9;color:var(--muted);margin:18px 0}.detail-facts{padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:15px}.detail-facts p{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin:10px 0}.detail-facts .icon{width:13px;height:13px}.evidence{padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);margin:17px 0}.evidence b{font-size:11px;color:var(--accent);font-weight:500}.evidence p{font-size:11px;color:var(--muted);line-height:1.8;margin:6px 0}.modal-actions{display:flex;align-items:center;flex-direction:column;gap:8px}.danger{color:#dca889}.bounty-modal-amount{font-size:39px;color:var(--accent);margin-bottom:10px}.bounty-modal-amount small{font-size:15px}.notification-item{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.notification-item:last-child{border:0}.notification-item>.icon{color:var(--accent);width:17px;height:17px;margin-top:2px}.notification-item b{font-size:12px;font-weight:500}.notification-item p{font-size:11px;color:var(--muted);line-height:1.9;margin:7px 0}#toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,15px);width:max-content;max-width:380px;opacity:0;pointer-events:none;z-index:1000;background:var(--accent);color:var(--accent-ink);border-radius:12px;padding:13px 17px;font-size:11px;text-align:center;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:600px){body{padding-top:24px}.workspace{border-radius:28px 28px 0 0;overflow:hidden;box-shadow:0 10px 100px #0002}.topbar{padding-top:22px;height:88px}.mobile-nav{border-radius:19px 19px 0 0}}
@media(max-width:360px){.topbar{padding-inline:16px}.brand{font-size:21px}.brand img{width:31px;height:31px}.top-actions .icon-button{width:30px}main{padding-inline:16px}.greeting h1{font-size:23px}.hero{padding-inline:19px}.hero h2{font-size:25px}.hero-orb{right:-90px}.filter{padding-inline:13px}.location-select select{max-width:144px}.wallet-stats .panel{padding-inline:8px}.wallet-stats .panel>span{font-size:8px}.form-grid{grid-template-columns:1fr}#toast{max-width:90%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* v0.3 Nearby network, reputation and operations */
.environment-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 22px;background:var(--surface);color:var(--muted);font-size:10px;border-bottom:1px solid var(--line)}.environment-bar button{color:var(--accent);white-space:nowrap;font-size:10px}.greeting{padding-block:26px 20px}.greeting h1{font-size:25px}.map-section{margin:0 0 16px}.map-section h2{font-size:20px;margin:7px 0}.map-section .eyebrow{font-size:9px;letter-spacing:1.8px}.map-locate{display:flex;gap:5px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:9px 11px;font-size:11px;color:var(--accent)}.map-status{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin:10px 0}.map-status i{height:5px;width:5px;border-radius:50%;background:var(--accent)}.map-status span{margin-left:auto;white-space:nowrap}.map-viewport{width:100%;aspect-ratio:360/330;background:#192a2f;position:relative;overflow:hidden;border-radius:20px;border:1px solid var(--line);isolation:isolate}.map-tiles{position:absolute;inset:0;background:repeating-linear-gradient(24deg,transparent 0 50px,#72839718 50px 51px),repeating-linear-gradient(114deg,#162230 0 45px,#72839722 45px 46px)}.map-tile{position:absolute;max-width:none!important;object-fit:fill;}:root[data-theme="light"] .map-tile{}.map-radius{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;border:1.5px dashed #4379bc;background:#3e7cc816;pointer-events:none}.you-dot{position:absolute;top:50%;left:50%;width:12px;height:12px;background:#4386d8;border:3px solid white;box-shadow:0 0 0 8px #4386d82c;border-radius:50%;transform:translate(-50%,-50%);z-index:3}.balloon{position:absolute;width:40px;height:46px;border-radius:18px 18px 18px 5px;transform:translate(-50%,-100%) rotate(-45deg);display:flex;align-items:center;justify-content:center;color:white!important;box-shadow:0 5px 14px #0005;z-index:4;border:2px solid #fff9}.balloon .icon{transform:rotate(45deg);width:20px;height:20px}.balloon.food{background:#d28b4f}.balloon.clothes{background:#8274b7}.balloon.help{background:#428bcb}.balloon:hover{z-index:10;filter:brightness(1.2)}.radius-tag{position:absolute;top:16px;left:16px;border:1px solid #ffffff33;background:#101923d9;color:#c3d7ef;border-radius:8px;padding:5px 8px;font-size:10px}.map-attribution{position:absolute;bottom:0;right:0;padding:3px 7px;background:#fffffff0;font-size:9px;color:#162230;z-index:8}.map-attribution a{color:inherit;text-decoration:underline}.map-offline{position:absolute;bottom:25px;left:12px;color:#c4d0df;font-size:10px;line-height:1.6}.map-legend{display:flex;gap:7px;margin-top:12px}.map-legend button{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;padding:9px 4px;border:1px solid var(--line);border-radius:10px;font-size:11px;color:var(--muted)}.map-legend .icon{width:14px;height:14px}.map-legend .selected{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.map-legend .food:not(.selected){color:#dba16f}.map-legend .clothes:not(.selected){color:#a598d3}.map-legend .help:not(.selected){color:#72ade4}.map-note{font-size:10px;line-height:1.8;color:var(--muted);margin:12px 0}.map-empty{font-size:12px;padding:16px;background:var(--surface);border-radius:10px;color:var(--muted)}.nearby-actions{display:grid;grid-template-columns:1.25fr 1fr;gap:9px;margin:20px 0}.nearby-actions button{justify-content:center;padding:12px 8px;font-size:11px}.real-photo{width:100%;height:100%;object-fit:cover;display:block}.card-image{overflow:hidden}.reputation-link{font-size:10px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.8;width:100%;margin:14px 0 0;text-align:left}.reputation-link .icon{width:14px;height:14px}.card-bottom button.owner{font-size:11px}.donation-card{background:linear-gradient(145deg,var(--surface),#30384222);border:1px solid #677f9c44;border-radius:20px;padding:24px;margin:20px 0}.donation-card h2{font-size:21px;line-height:1.5;margin:12px 0}.donation-card p{font-size:12px;line-height:1.9;color:var(--muted)}.donation-card .eyebrow{font-size:9px;letter-spacing:1.6px}.donation-total{font-size:32px;font-weight:550;margin:22px 0}.donation-total small{font-size:11px;font-weight:400;color:var(--muted)}.milestone{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:11px;margin:18px 0}.milestone b{font-weight:500}.milestone progress{grid-column:span 2;width:100%;height:5px;appearance:none;border:0;border-radius:4px;overflow:hidden}.milestone progress::-webkit-progress-bar{background:var(--line)}.milestone progress::-webkit-progress-value{background:var(--accent)}.milestone small{color:var(--muted);font-size:10px;grid-column:span 2}.inheritance-number{font-size:38px;margin:18px 0}.inheritance-number small{font-size:11px;color:var(--muted)}.profile-score{text-align:center}.profile-score>strong{font-size:60px;display:block;color:var(--accent);font-weight:400}.profile-score>strong>small{font-size:16px;color:var(--muted)}.profile-score>span{font-size:12px;color:var(--muted)}.reputation-stats{display:flex;justify-content:space-around;margin:24px 0}.reputation-stats>b{display:flex;flex-direction:column;gap:7px;font-size:20px;font-weight:500}.reputation-stats small{font-size:10px;color:var(--muted);font-weight:400}.profile-tabs{margin:20px 0}.review-card small{display:block;color:var(--muted);font-size:10px;margin-top:8px}.review-good{color:var(--accent)}.review-bad{color:#e87d77}.review-neutral{color:#d8b274}.tier-row{display:flex;gap:15px;margin:16px 0;padding-bottom:16px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}.tier-row>b{min-width:50px;color:var(--accent)}.tier-row small{display:block;color:var(--muted);font-size:10px}.rule-list{padding-left:18px;font-size:12px;line-height:1.9;color:var(--muted)}.rule-list li{margin:12px 0}.admin-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px}.admin-tabs button{border:1px solid var(--line);border-radius:9px;padding:8px 10px;font-size:10px;color:var(--muted)}.admin-tabs .selected{background:var(--accent);color:var(--accent-ink)}.admin-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-metrics .panel{margin:0 0 8px}.admin-metrics span{font-size:11px;color:var(--muted)}.admin-metrics strong{display:block;font-size:32px;margin-top:12px}.break-word,.receipt-code{overflow-wrap:anywhere;word-break:break-word;font-size:11px;line-height:1.7}.receipt-qr{display:block;width:240px;max-width:100%;margin:20px auto;border-radius:10px}.receipt-code{display:block;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;user-select:all}.photo-previews{display:flex;gap:8px;flex-wrap:wrap}.photo-previews img{width:72px;height:72px;object-fit:cover;border-radius:10px}.demo-switch{margin:16px 0;border:1px dashed var(--line);padding:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.demo-switch button{color:var(--accent);font-size:11px}.account-links{display:grid;gap:10px}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);padding:12px 8px 18px}.mobile-nav .nav-item{min-width:0;font-size:9px}.panel{overflow-wrap:anywhere}.panel .transaction{gap:10px;font-size:11px}.panel h2{font-size:19px}.panel p{line-height:1.9}#scanner{width:100%;max-height:260px;object-fit:cover;border-radius:12px}#scanner:not([src]){min-height:0}.modal-actions{display:grid;gap:10px}.form-grid input{min-width:0}.bounty-content small{margin-top:10px}.wallet-hero{display:block}.wallet-hero p{max-width:100%}.notice{line-height:1.8}.row{gap:10px}.row h2{margin:0}.full{width:100%;justify-content:center}
/* v0.4 blue theme, accessible gestures and a prominent voluntary donation block. */
.map-viewport{touch-action:none;cursor:grab;user-select:none;outline-offset:4px}.map-viewport:active{cursor:grabbing}.map-scene{position:absolute;inset:0}.map-tile,[data-theme="light"] .map-tile{}.map-tiles{background-color:#16304d}.map-controls{position:absolute;right:10px;top:10px;z-index:12;display:grid;gap:4px}.map-controls button{width:35px;height:35px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;font-size:22px;display:grid;place-items:center;cursor:pointer}.map-controls .icon{width:17px;height:17px}.map-zoom{position:absolute;top:12px;left:12px;background:var(--surface);padding:4px 7px;border-radius:8px;font-size:10px;pointer-events:none}.map-error{position:absolute;bottom:26px;left:8px;right:8px;background:#111d32ec;color:#d5e6ff;padding:8px;border-radius:8px;font-size:10px;z-index:9;pointer-events:none}.map-error[hidden]{display:none}.donation-card{border:1px solid #e0616f66!important;margin:0 0 20px;background:var(--surface)!important}.donation-alert{color:#ff8d99!important;font-weight:650}.donation-card h2{font-size:22px}.donation-payment{display:grid;grid-template-columns:112px 1fr;gap:15px;align-items:center;margin:18px 0}.donation-payment .receipt-qr{width:112px!important;height:112px;margin:0!important;max-width:100%;border-radius:8px;padding:5px;background:white}.donation-payment p{font-size:11px;line-height:1.8;margin:7px 0}.donation-payment b{font-size:12px}.donation-address{display:block;overflow-wrap:anywhere;word-break:break-all;user-select:all;font-size:12px;line-height:1.7;margin:10px 0}.donation-payment button{font-size:11px;padding:10px}.donation-total{font-size:24px}.donation-total small{font-size:11px}.admin-search{margin-bottom:16px}.account-id{font-size:12px;color:var(--muted)}[data-theme="light"] .donation-alert{color:#b91f3b!important}[data-theme="light"] .map-tile{}
@media(max-width:360px){.donation-payment{grid-template-columns:90px 1fr;gap:10px}.donation-payment .receipt-qr{width:90px!important;height:90px}}

/* Food deadlines, private reminders, recycling disclosure and public contact. */
.food-validity{font-size:11px;line-height:1.7;color:var(--accent);margin:8px 0}.food-validity.expired{color:#f1b77b}.notification-dot{position:absolute;top:5px;right:6px;width:7px;height:7px;background:#ff6e89;border-radius:50%}.top-actions .icon-button{position:relative}.contact-card a{display:block;overflow-wrap:anywhere;color:var(--accent);font-size:13px;line-height:2.2}.contact-card p{font-size:12px;color:var(--muted)}.footer-contact{font-size:11px;color:var(--accent)}.donation-uses{border-left:2px solid var(--accent);padding-left:10px;font-size:12px;line-height:1.8}.pool-summary{display:flex;flex-wrap:wrap;gap:15px;margin:14px 0}.pool-summary span{font-size:11px;flex:1;min-width:85px;color:var(--muted)}.pool-summary b{display:block;font-size:17px;color:var(--text);margin-top:6px}

/* Donation details are closed initially; QR contrast stays black/white. */
.donation-disclosure{--donation-red:#ff6475;color:var(--donation-red);margin-top:14px}.donation-disclosure summary{cursor:pointer;display:flex;align-items:center;gap:9px;font-size:13px;font-weight:650;list-style:none;padding:10px 0;color:var(--donation-red)}.donation-disclosure summary::-webkit-details-marker{display:none}.donation-disclosure summary:focus-visible{outline:2px solid var(--donation-red);outline-offset:4px;border-radius:5px}.donation-arrow{display:inline-block;font-size:25px;line-height:1;transition:transform .15s}.donation-disclosure[open] .donation-arrow{transform:rotate(90deg)}.donation-collapse{display:none}.donation-disclosure[open] .donation-collapse{display:inline}.donation-disclosure[open] .donation-expand{display:none}.donation-content p,.donation-content b,.donation-content small,.donation-content span,.donation-content code,.donation-content button,.donation-content .donation-total{color:var(--donation-red)!important}.donation-content button{border-color:var(--donation-red)}.donation-content progress::-webkit-progress-value{background:var(--donation-red)}.donation-content progress::-moz-progress-bar{background:var(--donation-red)}[data-theme="light"] .donation-disclosure{--donation-red:#c72039}@media(prefers-reduced-motion:reduce){.donation-arrow{transition:none}}

/* Public meeting-point picker; coordinates stay internal. */
.location-picker{margin:12px 0}.picker-viewport{height:auto;aspect-ratio:360/330;min-height:0}.picker-viewport .map-radius,.picker-viewport .you-dot{display:none}.picker-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);color:#2563eb;filter:drop-shadow(0 2px 3px #0008);pointer-events:none;z-index:4}.picker-pin svg{width:42px;height:42px;fill:var(--panel,#fff)}.location-status{font-size:13px}.location-picker>button{margin-top:10px}

/* Desktop operations uses available screen width; mobile stays unchanged. */
@media(min-width:900px){.workspace.admin-workspace{max-width:none;width:100%;min-height:100dvh;border-radius:0;box-shadow:none}.admin-workspace main{padding:28px 36px 100px}.admin-workspace .admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-workspace .admin-tabs{gap:10px}.admin-workspace .admin-tabs button{font-size:13px;padding:11px 17px}.mobile-nav.admin-navigation{max-width:none;width:100%;border-radius:0}.admin-workspace #admin-user-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.admin-workspace .topbar{padding-inline:36px}.admin-workspace .panel{min-width:0}}

/* Economic operations keep figures readable across screen sizes. */
.economy-metrics strong{overflow-wrap:anywhere}.economy-metrics strong small{font-size:12px}.economy-metrics .form-hint{margin-bottom:0}.economy-confirm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.economy-confirm dt,.economy-confirm dd{margin:0;overflow-wrap:anywhere}.economy-confirm dd{text-align:right}.admin-workspace .economy-metrics{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

/* Shared public identity, registration and account presentation. */
.user-identity{display:flex;align-items:center;gap:10px;max-width:100%;min-width:0;text-align:left;padding:8px 0;color:var(--ink);white-space:normal}.person-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;overflow:hidden;background:#163c65;color:#b7d6ff}.person-avatar .icon{width:24px;height:24px}.person-avatar img{width:100%;height:100%;object-fit:cover}.avatar-choice-2{background:#283c67;color:#cfddff}.avatar-choice-3{background:#184f7b;color:#b8e0ff}.avatar-choice-4{background:#366fba;color:#fff}.identity-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.identity-copy>b{font-size:12px;overflow-wrap:anywhere}.identity-role{color:var(--muted);font-size:10px}.identity-stats{display:flex;flex-wrap:wrap;gap:4px 8px;color:var(--muted);font-size:9px;line-height:1.6}.avatar-nav{padding:0;border-radius:50%}.avatar-options{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.avatar-option{display:grid;place-items:center;padding:10px;border:2px solid transparent;border-radius:12px}.avatar-option.selected,.avatar-option:focus-visible{border-color:var(--accent)}.avatar-option .person-avatar{width:48px;height:48px;flex-basis:48px}.card-bottom{flex-wrap:wrap}.card-bottom .user-identity{flex:1;min-width:180px}.activity-content .user-identity{padding-block:5px}.activity-content .person-avatar{width:30px;height:30px;flex-basis:30px}.activity-card{flex-wrap:wrap}.activity-content{min-width:150px}.profile-score>.user-identity{justify-content:center;margin-bottom:18px}.registration-panel label,.inheritance-settings label{display:block;font-size:12px;margin:16px 0}.registration-panel input:not([type=checkbox]),.registration-panel select,.inheritance-settings select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--surface);font:inherit}.registration-panel .checkbox,.inheritance-settings .checkbox{display:flex;gap:8px;line-height:1.8}.registration-panel p,.inheritance-settings p{font-size:12px;line-height:1.8}.inheritance-warning{color:#ff8798!important;border-left:2px solid currentColor;padding-left:10px}[data-theme="light"] .inheritance-warning{color:#b91f3b!important}.footer-contact{cursor:pointer}

/* Dialogs occupy the browser top layer: feedback is moved into the active dialog. */
dialog #toast{position:sticky;top:0;bottom:auto;left:auto;transform:none;width:auto;max-width:none;margin:12px;z-index:10;text-align:left;white-space:normal;overflow-wrap:anywhere}dialog #toast:not(.show){display:none}dialog #toast.show{transform:none;opacity:1}
.inheritance-details>summary{cursor:pointer;font-size:16px;font-weight:600;list-style-position:inside;padding:4px 0}.inheritance-details>summary>span{display:block;margin-top:4px;font-size:11px;font-weight:400;color:var(--muted)}.inheritance-details[open]>summary{border-bottom:1px solid var(--line);padding-bottom:14px}.inheritance-details-body{padding-top:16px}

@media(max-width:480px){.page-heading:has(>.primary){flex-wrap:wrap}.page-heading>.primary{margin-top:0}}

.account-identity-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.account-identity-header>.user-identity{min-width:0}.account-logout{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;flex-shrink:0;white-space:nowrap}.account-logout .icon{width:17px;height:17px}

/* Explanatory account text is not a form control. */
.account-id,.account-id~.form-hint{border:0!important;background:none!important;box-shadow:none!important;padding:0!important}.help-ing{color:#198754;font-weight:700}.help-end{color:#e34855;font-weight:700}.bounty-row small{display:block;color:var(--muted);font-size:12px}

.account-workspace .notice{border:0;background:none;box-shadow:none;padding:0;color:var(--muted)}

/* Four destinations share the full navigation width. */
.mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:10px 12px calc(12px + env(safe-area-inset-bottom))}
.mobile-nav .nav-item{min-height:52px;gap:6px;padding:5px 2px;font-size:11px;line-height:1.3;justify-content:center}
.mobile-nav .nav-item .icon{width:23px;height:23px;flex-shrink:0}
.mobile-nav .nav-item.active:before{top:-10px;width:26px}
.mutual-workspace main>section{margin-block:28px}
.mutual-workspace main>section>h2,.mutual-workspace .section-top h2{font-size:19px;line-height:1.45;margin:0}
.mutual-workspace .section-top{margin-bottom:14px;align-items:center;flex-wrap:wrap;gap:12px}
.mutual-workspace .section-top .primary{font-size:13px;min-height:44px;padding:10px 16px;white-space:nowrap}
.mutual-workspace .bounty-list{display:grid;gap:14px;margin-top:16px}
.mutual-workspace .form-hint{font-size:12px;line-height:1.8;margin:12px 0 18px}
.mutual-workspace .empty{padding:26px 18px;margin:14px 0;border-radius:14px}
.mutual-workspace .empty h3{font-size:14px;font-weight:500;line-height:1.6;margin:0}
.mutual-workspace main>details.panel{margin:18px 0;padding:18px}
.mutual-workspace details>summary{font-size:14px;font-weight:600;line-height:1.6;cursor:pointer}
.mutual-workspace .bounty-row{gap:16px;text-align:left;padding:16px 0;line-height:1.65}
.account-workspace .account-identity-header~p,.account-workspace .panel>p.form-hint{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;outline:0}

p.account-security-note{font-size:14px;line-height:1.65;color:var(--ink);border:0;background:none;box-shadow:none;padding:0}
.map-location-label{font-weight:inherit}
.map-empty[hidden]{display:none}

.share-eligibility{margin:0;color:#ff7887;font-size:14px;font-weight:700}
[data-theme="light"] .share-eligibility{color:#a51229}
.share-eligibility:not(:empty){margin-bottom:8px}
#share-form input::placeholder{color:var(--muted);opacity:1}
#share-form [data-confirm-location]{background:#1764d1;border-color:#1764d1;color:#fff;font-weight:700}
#share-form [data-confirm-location]:not(:disabled):hover{background:#0f53b8;border-color:#0f53b8}
#share-form [data-confirm-location]:disabled{opacity:.55}

#share-form [data-share-category][hidden]{display:none}
#share-form #photo-input{background:#1764d1;border-color:#1764d1;color:#fff}
#share-form #photo-input::file-selector-button{margin-inline-end:10px;padding:6px 10px;border:0;border-radius:6px;background:#fff;color:#103d82;font-weight:700;cursor:pointer}

/* Order handover and private conversation. */
.order-attention{border:2px solid #398dff;background:light-dark(#e8f2ff,#102849);padding:16px;border-radius:16px;margin:0 0 24px;box-shadow:0 4px 20px #2584ff22}.order-attention h2{font-size:18px;margin:0 0 12px}.order-attention-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #398dff55}.order-attention-row>button:first-child{text-align:left;flex:1;min-width:0}.order-attention-row small{display:block;margin-top:6px}.order-attention-row .full{width:auto}.delivery-code{display:block;font-size:48px;letter-spacing:.3em;text-align:center;padding:20px;color:#398dff;font-weight:800}.order-chat-messages{max-height:42vh;overflow-y:auto;overscroll-behavior:contain}.chat-message{padding:12px;border-radius:12px;background:light-dark(#eef3fa,#172333);margin:8px 0;overflow-wrap:anywhere}.chat-message p{white-space:pre-wrap;margin:6px 0}.chat-mine{border-left:3px solid #398dff;margin-left:20px}.chat-message small{opacity:.7}.order-attention button{white-space:normal;overflow-wrap:anywhere}

.location-picker [data-confirm-location],.photo-upload-control,.delivery-action{
 display:block;width:min(86%,24rem);margin-inline:auto;
 background:#1764d1;border-color:#1764d1;color:#fff;font-weight:700;
}
.location-picker [data-confirm-location]:disabled{opacity:.55}
.order-attention-row [data-order-chat]{position:relative}
.chat-unread-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#e34455}
.attachment-gallery,.review-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:8px}
.attachment-gallery button{padding:0;overflow:hidden;border-radius:8px}
.attachment-gallery img{display:block;width:80px;height:80px;object-fit:cover}
.attachment-viewer{max-width:min(95vw,900px);max-height:94vh;padding:12px}
.attachment-viewer img{display:block;max-width:100%;max-height:80vh;object-fit:contain}
.attachment-viewer button{display:block;margin-inline-start:auto;min-width:44px;min-height:44px}

.admin-panel-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px}
.admin-panel-options .checkbox{margin:0}

.legal-document{line-height:1.8;overflow-wrap:anywhere}.legal-document section{margin-block:1.5rem}.legal-document h2{font-size:1.15rem}.legal-document p{white-space:pre-line}footer a{color:var(--text);text-decoration:underline}

.admin-filters{margin-bottom:16px}
.admin-filters .form-row{margin-top:12px}
.admin-record .admin-flag{margin-inline-start:8px}
.admin-party{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;margin:4px 0}
.admin-record>button{margin-top:10px}

/* Warm daylight for the community interface. */
:root[data-theme="light"][data-interface="community"]{
 --bg:#fff4e4;
 --surface:#fffbf4;
 --raised:#f8e6ce;
 --ink:#352318;
 --muted:#654d3f;
 --faint:#755746;
 --line:#e9c9a7;
 --accent:#9d3f10;
 --accent-ink:#fffaf2;
 --accent-soft:#9d3f1014;
 --violet:#744b61;
 --outside:#eddbc3;
}
:root[data-theme="light"][data-interface="community"] .topbar{
 background:linear-gradient(105deg,#ffedd7,var(--bg) 75%);
}
:root[data-theme="light"][data-interface="community"] .nearby-actions .primary{
 background:#f4ae5c;
 color:#43240f;
}
:root[data-theme="light"][data-interface="community"] .mobile-nav{background:var(--surface)}
:root[data-theme="light"][data-interface="community"] .map-viewport{background:#f3dfc5}
:root[data-theme="light"][data-interface="community"] .map-tiles{
 background:repeating-linear-gradient(24deg,transparent 0 50px,#815e3d1c 50px 51px),
            repeating-linear-gradient(114deg,#f3dfc5 0 45px,#fffaf1 45px 46px);
}
:root[data-theme="light"][data-interface="community"] .map-offline{color:#5b4435}
:root[data-theme="light"][data-interface="community"] .map-radius{border-color:#a45c29;background:#d68a3a16}
:root[data-theme="light"][data-interface="community"] .map-legend .food:not(.selected){color:#874614}
:root[data-theme="light"][data-interface="community"] .map-legend .clothes:not(.selected){color:#6f527e}
:root[data-theme="light"][data-interface="community"] .map-legend .help:not(.selected){color:#284e75}
:root[data-theme="light"][data-interface="community"] .order-attention{
 border-color:#c5783b;background:#ffebd2;box-shadow:0 4px 20px #9d3f1014;
}
:root[data-theme="light"][data-interface="community"] .order-attention-row{border-color:var(--line)}

div.account-id{display:flex;align-items:end;flex-wrap:wrap;gap:8px 12px;margin:12px 0}
.account-id label{display:grid;gap:4px;color:var(--muted);font-size:12px}
.account-id input{width:11ch;padding:7px 0;border:0;background:none;color:var(--ink);font:600 16px ui-monospace,monospace}
.account-id button{min-height:36px}

/* Community night palette: midnight canvas, slate surfaces and ice-blue actions. */
:root[data-theme="dark"][data-interface="community"] {
 --outside:#070e1b;
 --bg:#0d182a;
 --surface:#15253b;
 --raised:#20344f;
 --ink:#eef4ff;
 --muted:#b9c9df;
 --faint:#98aec9;
 --line:#344a65;
 --accent:#99c8ff;
 --accent-ink:#0c213b;
 --accent-soft:#99c8ff19;
 --violet:#c1b3f4;
}
:root[data-theme="dark"][data-interface="community"] .topbar {
 background:linear-gradient(110deg,#1a2d49,var(--bg) 80%);
}
:root[data-theme="dark"][data-interface="community"] .panel {
 box-shadow:inset 0 1px #abcfff0c,0 5px 16px #03091230;
}
:root[data-theme="dark"][data-interface="community"] .wallet-hero {
 background:radial-gradient(ellipse at 100% 0%,#38466b,transparent 62%),linear-gradient(120deg,#1d3654,#18263d);
 border-color:#415977;
}
:root[data-theme="dark"][data-interface="community"] .mobile-nav {
 background:#17273d;
 box-shadow:0 -5px 20px #03091255;
}
:root[data-theme="dark"][data-interface="community"] .nearby-actions .primary {
 background:#99c8ff;
 color:var(--accent-ink);
}
:root[data-theme="dark"][data-interface="community"] .order-attention {
 background:#1a304b;
 border-color:#5a80ab;
}
:root[data-theme="dark"][data-interface="community"] :focus-visible {
 outline:2px solid #afdbff;
 outline-offset:2px;
}

#gc-vault-form {
  display: grid;
  justify-items: start;
  gap: .75rem;
}

/* The form and buttons have explicit display rules, so honor the wallet state after hydration. */
#gc-vault-form[hidden], [data-bind-gc-wallet][hidden] { display: none !important; }

.home-install[hidden]{display:none}
.greeting .home-install{margin-top:8px}

.gc-balance-row { display:flex; align-items:center; justify-content:space-between; gap:.5rem; flex-wrap:wrap; }
.gc-balance-row [data-unlink-gc-wallet] { min-height:44px; }
[data-unlink-gc-wallet][hidden], #gc-linked-wallet[hidden], #gc-unlink-form [hidden] { display:none !important; }
#gc-linked-wallet { overflow-wrap:anywhere; }
/* Nearby sharing: actions, shared filters, map, results, account shortcuts. */
.discovery-layout {container: discovery / inline-size; min-width:0;}
.discovery-head {display:grid; gap:16px; margin:0 0 24px;}
.discovery-head .greeting {margin:0; padding:0; align-items:flex-start;}
.discovery-head .greeting h1 {margin:0; font-size:clamp(1.8rem,4.5vw,2.6rem); line-height:1.13; letter-spacing:-.04em;}
.discovery-head .greeting p {font-size:.91rem; line-height:1.55;}
.discovery-head .avatar-nav {min-height:44px; min-width:44px; display:grid; place-items:center; flex:none;}
.discovery-head .nearby-actions {margin:0; grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);}
.discovery-head .nearby-actions button {min-height:46px; font-size:.83rem; line-height:1.35; padding:10px 12px;}
.discovery-filter-row {display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:6px 14px; border-block:1px solid var(--line); padding:10px 0; margin-bottom:20px;}
.discovery-filter-row .map-legend {flex:1 1 245px; margin:0; gap:4px; min-width:0;}
.discovery-filter-row .map-legend button {min-height:44px; padding:6px; border-color:transparent; border-radius:10px; font-size:.78rem; font-weight:600;}
.discovery-filter-row .map-legend button[aria-pressed="true"] {background:var(--accent-soft); border-color:var(--accent); color:var(--accent);}
.discovery-filter-row .nearby-skip {min-height:44px; display:inline-flex; align-items:center; gap:5px; font-weight:600; font-size:.8rem; color:var(--accent); padding:5px 0; margin-left:auto;}
.nearby-skip .icon {width:15px;height:15px;transform:rotate(90deg);}
.discovery-content {display:grid; gap:22px; align-items:start; min-width:0;}
.discovery-content>.map-section {margin:0; min-width:0;}
.discovery-content .map-section .section-top,.discovery-feed>.section-top {margin:0 0 12px;}
.discovery-content .map-section h2,.discovery-feed h2 {font-size:1.24rem;line-height:1.3;margin:0;}
.discovery-content .map-locate {min-height:44px;min-width:44px;padding:8px 12px;font-size:.76rem;}
.discovery-content .map-status {font-size:.75rem;line-height:1.4;margin:4px 0 10px;}
.discovery-content .map-status i {flex:none;}
.discovery-content .map-count {font-variant-numeric:tabular-nums;}
.discovery-content .map-viewport {border-radius:16px;}
.discovery-content .map-controls button {min-width:38px;min-height:38px;}
.discovery-content .map-help {font-size:.75rem;line-height:1.5;color:var(--muted);}
.discovery-content .map-help summary {cursor:pointer; min-height:44px; padding:13px 0;}
.discovery-content .map-help p {margin:0 0 10px;font-size:.76rem;}
/* The dedicated results area already handles a zero-result dataset and filter changes. */
.discovery-content .map-empty {display:none;}
.discovery-feed {min-width:0;}
.discovery-feed .section-top .muted {font-size:.76rem;white-space:nowrap;}
#nearby-feed-heading {scroll-margin-top:80px;}
.discovery-feed .listing-grid {gap:14px;}
.discovery-feed .listing-card .card-body {padding:16px;}
.discovery-feed .listing-card .card-meta {font-size:.77rem;line-height:1.4;}
.discovery-feed .listing-card h3 {font-size:1.04rem;line-height:1.45;margin:7px 0 9px;}
.discovery-feed .listing-card h3 button {font-weight:650;}
.discovery-feed .card-image {aspect-ratio:2.4; min-height:108px;}
.discovery-feed .card-image :is(.art,.real-photo){height:100%;width:100%;object-fit:cover;}
.discovery-feed :is(.card-location,.card-pickup) {display:flex;align-items:center;gap:6px;margin:4px 0;color:var(--muted);font-size:.79rem;line-height:1.5;overflow-wrap:anywhere;}
.discovery-feed :is(.card-location,.card-pickup) .icon {flex:none;width:15px;height:15px;}
.discovery-feed .food-validity {font-size:.75rem;line-height:1.55;}
.discovery-feed .card-bottom {gap:6px 14px;}
.discovery-feed .card-bottom .user-identity {min-width:min(100%,150px);}
.discovery-feed .empty {border:1px dashed var(--line);border-radius:16px;padding:24px 18px;}
.discovery-account {border-top:1px solid var(--line);margin-top:24px;padding-top:16px;}
.discovery-account .impact-strip {margin:0;gap:10px;}
.discovery-account .impact-strip>button {padding:12px 14px;border-radius:12px;}
.discovery-account .impact-strip strong {margin:6px 0 0;font-size:1.22rem;font-weight:650;}
.discovery-account .metric-label {font-size:.75rem;}
.discovery-account .home-install {margin-top:12px;}
@container discovery (min-width:690px) {
 .discovery-head {grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px;}
 .discovery-head .greeting {align-items:center;}
 .discovery-head .avatar-nav {margin-right:auto;}
 .discovery-head .nearby-actions {grid-template-columns:repeat(2,auto);gap:10px;}
 .discovery-head .nearby-actions button {padding-inline:15px;}
 .discovery-filter-row .map-legend {flex:0 1 410px;}
 .discovery-filter-row .nearby-skip {display:none;}
 .discovery-content {grid-template-columns:minmax(265px,.85fr) minmax(0,1.15fr);gap:clamp(20px,3vw,36px);}
 .discovery-content>.map-section {position:sticky;top:16px;}
 .discovery-content .map-section .section-top {min-height:44px;}
 .discovery-feed>.section-top {min-height:44px;}
 .discovery-account {display:flex; flex-wrap:wrap; align-items:center; gap:14px;}
 .discovery-account .impact-strip {flex:1;max-width:500px;}
 .discovery-account .home-install {margin-top:0;}
}
#share-form fieldset.share-group {min-width:0;margin:0 0 22px;padding:14px 0 0;border:0;border-top:1px solid var(--line);}
#share-form .share-group legend {font-size:1rem;font-weight:650;line-height:1.45;color:var(--ink);padding:0 10px 0 0;}
#share-form .share-group .notice {display:block;font-size:.78rem;line-height:1.6;margin:10px 0;}
#share-form .share-submit-actions {display:grid;gap:8px;}
#share-form .share-submit-actions button {margin:0;min-height:44px;}
.share-detail>.row {align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.share-detail .pickup-facts {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:12px; margin:14px 0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface);}
.share-detail .pickup-facts dt {color:var(--muted);font-size:.75rem;line-height:1.45;}
.share-detail .pickup-facts dd {font-size:.88rem;line-height:1.5;font-weight:600;margin:3px 0 0;overflow-wrap:anywhere;}
.share-detail .detail-art {margin:12px 0;}
.share-detail .detail-art .real-photo {max-height:240px;object-fit:contain;}
.share-detail .notice {display:block;line-height:1.6;}
.share-detail .detail-parties {margin:12px 0;display:grid;gap:4px;}
.share-detail .detail-step-actions,.share-detail .detail-manage-actions {margin:12px 0;gap:8px;}
.share-detail .detail-step-actions button,.share-detail .detail-manage-actions button {min-height:44px;margin:0;}
.share-detail .detail-step-actions [data-command] {background:var(--accent);color:var(--accent-ink);border-color:var(--accent);}
.share-detail .detail-manage-actions {border-top:1px solid var(--line);padding-top:12px;}
.share-detail .detail-rules {margin-top:12px;font-size:.8rem;}
.share-detail .detail-rules summary {min-height:44px;cursor:pointer;padding:12px 0;}

/* Mutual aid */
.mutual-workspace main>.mutual-intro{margin:4px 0 24px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.mutual-intro-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 14px}
.mutual-intro h1,.admin-task-heading h1{margin:0;font-size:clamp(26px,4.4vw,36px);line-height:1.18;letter-spacing:-.035em}
.mutual-intro p{max-width:60ch;margin:12px 0 0;font-size:13px;line-height:1.65;color:var(--muted)}
.mutual-intro button{min-height:44px}
.mutual-workspace .mutual-active{border-inline-start:3px solid var(--accent);margin-block:18px}
.mutual-workspace .mutual-active h2,.mutual-nearby h2{margin:0;font-size:19px;letter-spacing:-.015em}
.mutual-workspace .mutual-work-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;text-align:start}
.mutual-work-row span:first-child{min-width:0;overflow-wrap:anywhere}
.mutual-work-row strong,.mutual-work-row small{display:block}
.mutual-work-row small{margin-top:3px;color:var(--muted)}
.mutual-action{color:var(--accent);font-weight:650;max-width:40%;overflow-wrap:anywhere}
.mutual-radius{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:13px;white-space:nowrap}
.mutual-radius .icon{width:15px;height:15px}
.mutual-workspace .bounty-price{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center}
.mutual-workspace .bounty-price b{grid-column:1;grid-row:1;font-weight:650}
.mutual-workspace .bounty-price p{display:block;grid-column:1;grid-row:2;margin:0;color:var(--muted);font-size:12px}
.mutual-workspace .bounty-price button{grid-column:2;grid-row:1/3;min-height:44px}
.mutual-workspace .bounty-content p{font-size:13px}
.mutual-workspace details.panel>summary{padding-block:3px}
.mutual-detail-actions [data-command="accept-bounty"],.mutual-detail-actions [data-command="submit-bounty"],.mutual-detail-actions [data-command="confirm-bounty"]{background:var(--accent);color:var(--accent-ink)}
@media(max-width:350px){.mutual-workspace .bounty-price button{grid-column:1/-1;grid-row:3;margin-top:8px}}

/* The same permission-filtered management groups serve wide and compact layouts. */
.admin-task-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.admin-task-heading p{margin:0;color:var(--muted);font-size:13px}
.admin-task-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}

.admin-task-nav button{width:100%;min-height:40px;padding:8px 12px;text-align:start;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:8px;line-height:1.35;font-size:14px;font-weight:550}
.admin-task-nav button:hover{color:var(--ink);background:var(--raised)}
.admin-task-nav button.selected{background:var(--accent-soft);border-color:var(--line);color:var(--accent)}
.admin-task-group+ .admin-task-group{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.admin-task-group>strong{display:block;margin:0 0 4px 12px;font-size:12px;color:var(--faint);line-height:1.5}
 .admin-task-sections {border:1px solid var(--line);border-radius:14px;background:var(--surface);}
.admin-task-toggle {display:flex;align-items:center;gap:10px;width:100%;text-align:start;min-height:48px;padding:12px 16px;color:var(--muted);}
.admin-task-toggle strong {color:var(--ink);}
.admin-task-toggle::after {content:'';width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-inline-start:auto;}
.admin-task-toggle[aria-expanded="true"]::after {transform:rotate(225deg);}
.admin-task-sections nav {padding:12px 10px;}
@media(max-width:999px) {
 .admin-task-toggle[aria-expanded="false"]+nav {display:none;}
 .admin-task-sections nav {border-top:1px solid var(--line);}
}
.admin-current-panel{min-width:0}
.admin-current-panel>h2{margin:0 0 16px;font-size:22px;color:var(--ink);letter-spacing:-.02em}
.admin-current-panel .admin-review-link,.admin-current-panel .admin-reserve-link{display:inline-flex;align-items:center;gap:10px;margin:0 0 15px;min-height:44px}
.admin-reserve-sheet{max-width:740px}
.admin-reserve-sheet dl{margin:18px 0 0}
.admin-reserve-row,.admin-reserve-summary{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);line-height:1.55;font-size:14px}
.admin-reserve-row dt,.admin-reserve-summary dt{color:var(--muted)}
.admin-reserve-row dd,.admin-reserve-summary dd{margin:0;text-align:end;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.admin-reserve-summary{display:block;border:0}
.admin-reserve-summary dd{text-align:start;font-size:16px;margin-top:3px}
@media(min-width:1000px){
 .admin-task-layout{display:grid;grid-template-columns:minmax(182px,216px) minmax(0,1fr);gap:26px}
 .admin-task-sections{position:sticky;top:16px;max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain}
 .admin-task-toggle{display:none}
 .admin-workspace .admin-current-panel .admin-metrics{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
 .admin-workspace .admin-current-panel .economy-metrics{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}
}
.wallet-overview,.account-overview{min-width:0}
.flow-page-heading{margin:2px 0 18px}
.flow-page-heading h1{margin:0;color:var(--ink);font-size:clamp(26px,4.9vw,36px);font-weight:700;line-height:1.18;letter-spacing:-.045em}
.wallet-overview .donation-card{padding:12px 16px 3px;margin:0 0 14px;border-radius:15px}
.wallet-overview .donation-card>.eyebrow{display:none}
.wallet-overview .donation-card>h2{font-size:16px;line-height:1.4;margin:0 0 4px}
.wallet-overview .donation-card>p{margin:0;font-size:12px;line-height:1.5}
.wallet-overview .donation-disclosure{margin-top:0}
.wallet-overview .donation-disclosure>summary{padding-block:8px;min-height:40px;font-size:12px}
.wallet-overview .wallet-hero{padding:clamp(20px,4vw,32px);margin-bottom:12px}
.wallet-overview .wallet-hero>span{display:flex;align-items:center;gap:6px;font-weight:600}
.wallet-overview .big-balance{font-weight:600;line-height:1.06;font-variant-numeric:tabular-nums;letter-spacing:-.06em;font-size:clamp(40px,9vw,66px);margin:12px 0 10px;overflow-wrap:anywhere}
.wallet-overview .big-balance>small{letter-spacing:0}
.wallet-overview .wallet-hero p{margin:4px 0 12px;font-size:13px;line-height:1.5}
.wallet-overview .wallet-hero .light-button{margin-top:0;min-height:44px}
.wallet-overview .wallet-stats{gap:8px;margin:0 0 17px}
.wallet-overview .wallet-stats .panel{margin:0;text-align:left;padding:12px 10px}
.wallet-overview .wallet-stats .panel>span{font-size:12px;line-height:1.35;display:block}
.wallet-overview .wallet-stats strong{font-size:clamp(17px,4.5vw,26px);letter-spacing:-.04em;overflow-wrap:anywhere;margin:6px 0 0;font-variant-numeric:tabular-nums}
.wallet-overview .wallet-stats strong small{font-size:11px;letter-spacing:0}
.wallet-overview .ledger{margin-block:0 14px}
.wallet-overview .ledger .section-top{align-items:center;gap:8px}
.wallet-overview .ledger h2,.transfer-orders h2{margin:0;line-height:1.3}
.wallet-overview .ledger .transaction{min-height:56px;align-items:center;gap:8px}
.wallet-overview .ledger .transaction>div{min-width:0;overflow-wrap:anywhere}
.wallet-overview .ledger .transaction>strong{margin-left:auto;text-align:right;flex-shrink:0}
.wallet-overview .wallet-older{border-top:1px solid var(--line)}
.wallet-older>summary,.settings-disclosure>summary,.receipt-details>summary,.transfer-orders [data-earlier-transfers]>summary{min-height:44px;cursor:pointer;align-content:center;font-weight:600;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.settings-disclosure>summary::marker,.wallet-older>summary::marker,.receipt-details>summary::marker{color:var(--accent)}
.wallet-overview .settings-disclosure,.wallet-overview .inheritance-details,.account-overview .settings-disclosure,.account-overview #share-history{padding-block:6px}
.wallet-overview .inheritance-details>summary{min-height:44px;align-content:center}
.wallet-overview .inheritance-details>summary>span{margin-top:1px}
.wallet-overview .inheritance-details[open],.wallet-overview .settings-disclosure[open],.account-overview .settings-disclosure[open],.account-overview #share-history[open]{padding-bottom:16px}
.transfer-compose .gc-balance-row{align-items:center}
.transfer-compose .gc-balance-row>p{display:grid;gap:2px;margin:0;color:var(--muted);font-size:13px}
.transfer-compose #gc-vault-balance{font-size:clamp(23px,5vw,34px);font-variant-numeric:tabular-nums;line-height:1.2;letter-spacing:-.035em;color:var(--ink)}
.transfer-compose #gc-linked-wallet{margin:12px 0 0;font-weight:600}
.transfer-network{color:var(--muted);font-size:13px;margin:5px 0}
.transfer-compose #gc-vault-form{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:12px;justify-items:stretch;align-items:end}
.transfer-compose #gc-vault-form>label{display:grid;gap:5px;margin:0;line-height:1.4}
.transfer-compose #gc-vault-form input,.transfer-compose #gc-vault-form select{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:9px;min-height:44px;width:100%;max-width:100%;min-width:0;padding:8px 10px}
.transfer-compose #gc-vault-form button{grid-column:1/-1}
.transfer-compose #gc-vault-feedback:empty,.transfer-compose #gc-vault-availability:empty{margin:0}
.transfer-orders .review-actions{align-items:center;justify-content:space-between;margin:0 0 10px;gap:8px}
.transfer-orders .transfer-order{padding:14px 0;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:none;box-shadow:none}
.receipt-row{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:2px 12px}
.receipt-row>p{margin:0;font-size:12px;color:var(--muted)}
.transfer-orders .transfer-pending{padding-inline:12px;border-inline-start:3px solid var(--accent);background:var(--accent-soft)}
.transfer-orders .transfer-pending .receipt-row>p{color:var(--accent);font-weight:700}
.receipt-details>summary{font-size:13px;color:var(--muted)}
.transfer-order small,.transfer-order code{overflow-wrap:anywhere}
.transfer-order details a,.transfer-order>a{display:inline-flex;align-items:center;min-height:44px;margin-inline-start:6px;text-decoration:underline;text-underline-offset:3px}
.account-overview .account-identity-card{border-top:3px solid var(--accent);margin:0 0 8px}
.account-overview .account-identity-header{margin:0 0 10px}
.account-overview .account-identity-card .account-id{align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)!important;padding-bottom:10px!important}
.account-overview .account-quick-actions{display:flex;flex-wrap:wrap;gap:8px}
.account-overview .account-quick-actions>.secondary{width:auto;flex:1 1 120px}
.account-overview .account-group{margin:22px 0}
.account-overview .account-group>h2{font-size:18px;line-height:1.35;margin:0 0 10px}
.account-overview .account-group>.panel{margin:7px 0}
.account-overview #share-history>summary{min-height:44px;align-content:center;font-weight:600;cursor:pointer}
.account-overview .account-group>.claim-usage h2{margin:0 0 5px;font-size:16px}
.account-overview .account-settings-body{border-top:1px solid var(--line);padding-top:12px}
.account-overview .account-settings-body .panel{background:none;border:0;border-radius:0;padding:0;margin:0 0 14px;box-shadow:none}
.account-overview .device-info{border-top:1px solid var(--line);padding-top:12px}
.account-overview .account-group>.account-links{gap:6px}
.account-overview .account-links .home-install{justify-self:stretch}
@media(min-width:780px){
 .wallet-overview{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(190px,1fr);align-items:start;column-gap:18px}
 .wallet-overview>.flow-page-heading,.wallet-overview>.donation-card,.wallet-overview>.ledger,.wallet-overview>.form-hint{grid-column:1/-1}
 .wallet-overview>.wallet-stats{align-self:stretch;display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
 .wallet-overview>.wallet-stats article{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1}
 .wallet-overview>.wallet-stats strong{margin:0}
 .wallet-overview>.text-link{justify-self:start}
}
@media(max-width:359px){.transfer-compose #gc-vault-form{grid-template-columns:1fr}.wallet-overview .wallet-stats{gap:4px}.wallet-overview .wallet-stats .panel{padding-inline:6px}}
.registration-layout {
  max-width: 46rem;
  margin-inline: auto;
}
.registration-layout #register-form {
  display: grid;
  gap: 1.25rem;
}
.registration-layout fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.registration-layout legend {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
}
.registration-layout .registration-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .25rem .9rem;
}
.registration-layout .registration-fields label,
.registration-layout .invite-optional label { margin-block: .5rem; }
.registration-layout .invite-optional {
  padding: .65rem .85rem;
  border-radius: .75rem;
  border: 1px solid var(--line);
}
.registration-layout summary, .policy-topic summary { cursor: pointer; }
.registration-layout summary { padding: .2rem 0; font-weight: 650; }
.registration-layout .consent-links { display:flex; align-items:baseline; flex-wrap:wrap; gap:.2rem .9rem; }
.registration-layout .consent-links button, .signin-alternatives button { min-height: 44px; }
.registration-layout .checkbox { align-items: flex-start; }
.registration-layout .checkbox input { flex:0 0 auto; margin-block-start:.4rem; }
.registration-layout .checkbox:focus-within { outline:2px solid var(--accent); outline-offset:.15rem; }
.signin-layout #login-form, .signin-alternatives { display: grid; gap:.6rem; }
.signin-alternatives { padding-block-start:.7rem; }
.signin-layout .account-security-note { margin-top:0; }
.public-profile-card { text-align:start; }
.public-profile-header { display:flex; gap:.8rem; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.public-profile-header .user-identity { justify-content:flex-start; }
.public-profile-header p { margin:.2rem 0; }
.public-profile-credit { display:grid; justify-items:end; }
.public-profile-credit strong { font-size:2.25rem; font-variant-numeric:tabular-nums; letter-spacing:-.04em; line-height:1.05; color:var(--accent); }
.public-profile-credit span, .profile-tab-count { font-size:.75rem; }
.profile-tabs { gap:.35rem; flex-wrap:wrap; }
.profile-tabs .filter { min-height:44px; }
.profile-tab-count { font-variant-numeric:tabular-nums; }
.notification-list { display:grid; gap:1rem; }
.notification-list > button { justify-self:end; min-height:44px; }
.notification-group > h3 { font-size:1rem; margin:0 0 .5rem; }
.notification-group > h3 span { color:var(--muted); margin-inline-start:.25rem; font-variant-numeric:tabular-nums; }
.notification-item { margin:0 0 .65rem; }
.notification-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.25rem .75rem; }
.notification-item h3 { margin:.4rem 0; }
.notification-item p { margin:.25rem 0 .5rem; }
.policy-topics { display:grid; gap:.65rem; max-width:54rem; margin:0 auto; }
.policy-topic {
  border:1px solid var(--line); border-radius:1rem;
  background:var(--surface);
  min-width:0;
}
.policy-topic > summary {
  padding:1rem 1.15rem;
  font-size:1rem; font-weight:700;
  color:var(--ink);
}
.policy-topic > summary::marker { color:var(--accent); }
.policy-topic[open] > summary { border-bottom:1px solid var(--line); }
.policy-copy { padding:.15rem 1.15rem .7rem; color:var(--muted); overflow-wrap:anywhere; }
.policy-copy p,.policy-copy li { max-width:70ch; line-height:1.75; }
.policy-topic > summary:focus-visible,.registration-layout summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:.6rem; }

/* Shared page frame. Each route retains one set of global navigation controls. */
.workspace { --frame-max:76rem; --frame-gutter:clamp(1.05rem,3.4vw,3.25rem); border-radius:0; border:0; box-shadow:none; overflow:visible; }
body { padding-top:0; }
.workspace .topbar { height:64px; padding:0 var(--frame-gutter); }
.workspace .brand { min-height:44px; }
.workspace .brand img { width:34px; height:34px; }
.top-actions .icon-button,.top-actions .language { min-height:44px; min-width:44px; }
.environment-bar { padding:5px var(--frame-gutter); font-size:11px; }
.workspace main { padding:20px var(--frame-gutter) 18px; scroll-margin-top:10px; }
.workspace .page-heading h1 { font-size:clamp(1.65rem,4vw,2.35rem); line-height:1.24; }
.workspace .page-heading .eyebrow:empty { display:none; }
.workspace main>section, .workspace main>div { min-width:0; }
.workspace footer { margin-inline:var(--frame-gutter); font-size:12px; }
.workspace footer button,.workspace footer a { min-height:44px; display:inline-flex; align-items:center; font-size:12px; }
.workspace footer small { font-size:11px; }
#main:focus-visible { outline-offset:-2px; }
.workspace :where(.wallet-hero,.impact-strip,.admin-reserve-sheet,.ledger,.transfer-orders) { font-variant-numeric:tabular-nums; }
dialog { max-width:31rem; max-height: min(90dvh,55rem); }
dialog .modal-top button { flex-shrink:0; min-width:44px; min-height:44px; }
dialog :is(button,summary):focus-visible,.workspace :is(button,a,summary,input,textarea,select):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
dialog .modal-body input:not([type=checkbox]),dialog .modal-body select,dialog .modal-body textarea,#gc-vault-form input { font-size:16px; }
.task-reminder { padding:0 15px; margin:0 0 20px; }
.task-reminder>summary { display:flex; min-height:44px; align-items:center; gap:9px; list-style:none; cursor:pointer; color:var(--ink); font-size:13px; }
.task-reminder>summary::-webkit-details-marker { display:none; }
.task-reminder>summary::after { content:''; margin-inline-start:auto; width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translate(-2px,-2px); }
.task-reminder[open]>summary::after { transform:rotate(225deg); }
.task-reminder-title { display:flex; align-items:center; gap:8px; font-weight:650; }
.task-reminder-title .icon { width:17px; height:17px; color:var(--accent); }
.task-reminder-count { min-width:23px; padding:0 5px; border-radius:20px; background:var(--accent-soft); color:var(--accent); font-size:12px; text-align:center; font-variant-numeric:tabular-nums; }
.task-reminder .order-attention-row:last-child { margin-bottom:4px; }
.mutual-workspace main>.task-reminder { margin-block:0 18px; }
@media(max-width:899px) {
 .workspace,.mobile-nav { max-width:100%; }
 .workspace .mobile-nav { border-radius:15px 15px 0 0; padding:5px max(10px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); }
 .mobile-nav .nav-item { min-height:47px; gap:2px; }
 .mobile-nav .nav-item.active:before { top:-5px; }
}
@media(min-width:900px) {
 .workspace { width:100%; max-width:none; min-height:100dvh; }
 .workspace .topbar { height:72px; display:grid; grid-template-columns:minmax(160px,1fr) auto minmax(160px,1fr); align-items:center; gap:1rem; padding-inline:max(var(--frame-gutter),calc((100% - var(--frame-max))/2)); border-bottom:1px solid var(--line); }
 .workspace .topbar .brand { justify-self:start; }
 .workspace .top-actions { justify-self:end; gap:4px; }
 .workspace .topbar .mobile-nav { position:static; width:auto; max-width:none; border:0; box-shadow:none; background:transparent; transform:none; border-radius:0; padding:0; display:flex; align-items:center; gap:4px; z-index:auto; }
 .workspace .mobile-nav .nav-item { flex-direction:row; gap:8px; color:var(--muted); min-height:42px; font-size:14px; line-height:1.2; padding:10px 16px; border-radius:12px; }
 .workspace .mobile-nav .nav-item.active { color:var(--accent); background:var(--accent-soft); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent); }
 .workspace .mobile-nav .nav-item.active::before { display:none; }
 .workspace .mobile-nav .nav-item .icon { width:18px; height:18px; }
 .workspace .environment-bar { padding:6px max(var(--frame-gutter),calc((100% - var(--frame-max))/2)); }
 .workspace main { width:100%; max-width:calc(var(--frame-max) + var(--frame-gutter)*2); margin-inline:auto; padding:28px var(--frame-gutter) 32px; }
 .workspace > footer { width:calc(100% - var(--frame-gutter)*2); max-width:var(--frame-max); margin:0 auto; padding:12px 0 24px; align-items:center; justify-content:flex-start; gap:20px; }
 .workspace footer small { width:auto; margin-inline-start:auto; }
 .workspace:not([data-view="discover"],[data-view="admin"]) { --frame-max:76rem; }
 .workspace:is([data-view="account"],[data-view="wallet"],[data-view="gc-transfer"],[data-view="bounties"]) main { max-width:64rem; }
 .workspace:is([data-view="register"],[data-view="disclaimer"],[data-view="rules"],[data-view="profile"]) main { max-width:54rem; }
 .workspace.admin-workspace { --frame-max:100%; }
 .workspace.admin-workspace main { max-width:none; }
 .workspace.admin-workspace .topbar,.workspace.admin-workspace .environment-bar { padding-inline:var(--frame-gutter); }
 .workspace.admin-workspace footer { padding-inline:var(--frame-gutter); width:100%; }
 .workspace .primary:hover,.workspace .secondary:hover,dialog .secondary:hover { filter:brightness(1.07); }
}
@media(min-width:480px) and (max-width:899px) {
 .workspace:is([data-view="register"],[data-view="disclaimer"],[data-view="rules"],[data-view="profile"]) main { max-width:43rem; margin-inline:auto; }
}

/* Compare nearby items without paging through full-width cover photos. */
@container discovery (min-width:550px) and (max-width:689px) {
 .discovery-content {grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:18px;}
 .discovery-content>.map-section {position:sticky;top:12px;}
 .discovery-filter-row .nearby-skip {display:none;}
 .discovery-feed>.section-top {min-height:44px;}
}
@container discovery (min-width:870px) {
 .discovery-feed .listing-card {display:grid;grid-template-columns:clamp(140px,13vw,190px) minmax(0,1fr);align-items:stretch;}
 .discovery-feed .listing-card .card-image {height:100%;aspect-ratio:auto;min-height:165px;}
 .discovery-feed .listing-card .card-image .art {position:absolute;inset:0;}
 .discovery-feed .listing-card .free-label {top:auto;bottom:12px;left:10px;right:auto;}
 .discovery-feed .listing-card .illustration-label {top:12px;bottom:auto;right:8px;}
 .discovery-feed .listing-card .card-divider {margin:9px 0 6px;}
 .discovery-feed .listing-card .card-body {padding:13px 16px;}
}
#share-form .share-validation-status,
#share-form .share-field-error {
  color: #ffb1b6;
  font-weight: 650;
  line-height: 1.45;
}
#share-form .share-validation-status { margin: 0 0 1rem; }
#share-form .share-validation-status:empty { margin: 0; }
#share-form .share-field-error { margin: .25rem 0 .85rem; font-size: .875rem; }
#share-form [aria-invalid="true"] { outline: 2px solid #ffb1b6; outline-offset: 2px; }
[data-theme="light"] #share-form .share-validation-status,
[data-theme="light"] #share-form .share-field-error { color: #922931; }
[data-theme="light"] #share-form [aria-invalid="true"] { outline-color: #922931; }

/* Administration workspace. Community pages keep their own layout and palette. */
:root[data-interface=admin] {
  --desk-rail-width:224px;
  --desk-canvas:#101a2a; --desk-paper:#192538; --desk-line:#33445d; --desk-text:#edf3ff; --desk-muted:#acbbd1;
  --desk-accent:#99baff; --desk-accent-fill:#243c65; --desk-amber:#ffd08a; --desk-amber-fill:#493a28;
  --desk-rail:#101f39; --desk-rail-on:#263e67; --desk-rail-text:#e3eafd; --desk-rail-muted:#adbed9;
}
:root[data-interface=admin][data-theme=light] {
  --desk-canvas:#f3f6fb; --desk-paper:#fff; --desk-line:#dce4ee; --desk-text:#172b47; --desk-muted:#546782;
  --desk-accent:#245ec1; --desk-accent-fill:#edf3ff; --desk-amber:#9a5509; --desk-amber-fill:#fff2dc;
  --desk-rail:#122642; --desk-rail-on:#315487; --desk-rail-text:#e7eefa; --desk-rail-muted:#a9bdd9;
}
:root[data-interface=admin] body {padding:0;background:var(--desk-canvas)}
.workspace.admin-workspace:has(.desk-topbar) {width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible;min-height:100dvh;background:var(--desk-canvas);color:var(--desk-text);font:400 16px/1.55 Inter,"SF Pro Text","PingFang SC",-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif}
.admin-workspace:has(.desk-topbar) #main {width:100%;max-width:none;margin:0;padding:0}
.desk-topbar {display:grid;grid-template-columns:var(--desk-rail-width) minmax(0,1fr);min-height:70px;border-bottom:1px solid var(--desk-line);background:var(--desk-paper);position:relative;z-index:8}
.desk-brand {display:flex;align-items:center;gap:10px;padding:0 24px;background:var(--desk-rail);color:white;border-bottom:1px solid #ffffff16;margin-bottom:-1px;letter-spacing:-1.4px;font-size:29px;line-height:1}
.desk-brand img {border-radius:8px;object-fit:contain;background:white}.desk-brand span{color:#91bdff}
.desk-toptools,.desk-tools,.desk-product,.desk-env,.desk-site-menu summary,.desk-search-trigger {display:flex;align-items:center}
.desk-toptools {min-width:0;justify-content:space-between;padding:10px clamp(18px,2.8vw,46px);gap:12px}
.desk-product {gap:10px;white-space:nowrap}.desk-product b{font-size:16px}.desk-product>span{font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--desk-muted);border:1px solid var(--desk-line);border-radius:5px;padding:3px 5px}
.desk-tools {gap:5px;color:var(--desk-muted)}.desk-tools button,.desk-tools summary {min-height:40px}
.desk-env {margin-right:12px;gap:6px;color:var(--desk-accent);font-size:13px;font-weight:600;white-space:nowrap}
.desk-env svg,.desk-search-trigger svg,.desk-site-menu summary svg{width:17px;height:17px}
.desk-search-trigger {gap:7px;padding:0 9px;border:1px solid var(--desk-line);border-radius:7px;color:var(--desk-muted);background:var(--desk-canvas);font-size:14px}
.desk-search-trigger kbd{font:12px ui-monospace,monospace;padding:1px 5px;border:1px solid var(--desk-line);border-radius:4px;background:var(--desk-paper);margin-left:12px}
.desk-lang {padding:0 7px;font-weight:650;font-size:14px}.desk-tools>.icon-button{width:36px;color:var(--desk-muted)}
.desk-site-menu{position:relative}.desk-site-menu summary{cursor:pointer;gap:5px;padding:5px 8px;font-size:14px;list-style:none}.desk-site-menu summary::-webkit-details-marker{display:none}.desk-site-menu summary svg:last-child{width:13px}
.desk-site-menu nav{position:absolute;right:0;top:calc(100% + 5px);min-width:164px;display:grid;padding:6px;background:var(--desk-paper);border:1px solid var(--desk-line);border-radius:10px;box-shadow:0 10px 34px #10264724}
.desk-site-menu nav .nav-item{display:flex;flex-direction:row;justify-content:flex-start;gap:10px;color:var(--desk-text);font-size:14px;padding:8px 10px}
.desk-search-trigger:hover,.desk-site-menu summary:hover,.desk-site-menu nav button:hover,.desk-tools button:hover{background:var(--desk-accent-fill);color:var(--desk-accent)}
.desk-layout {display:grid;grid-template-columns:var(--desk-rail-width) minmax(0,1fr);min-height:calc(100dvh - 70px);align-items:stretch}
.desk-rail {min-width:0;background:var(--desk-rail);color:var(--desk-rail-text);padding:17px 14px 14px;display:flex;flex-direction:column;gap:20px}
.desk-nav-toggle{display:none}.desk-side-nav {display:grid;gap:15px}.desk-nav-group p{margin:0 0 4px;padding:0 12px;color:var(--desk-rail-muted);font-size:12px;font-weight:600;letter-spacing:.035em}
.desk-nav-item {display:flex;align-items:center;gap:12px;width:100%;min-height:38px;border:1px solid transparent;text-align:start;border-radius:7px;padding:6px 12px;font-size:14px;line-height:1.4;color:var(--desk-rail-text)}
.desk-nav-item svg{height:17px;width:17px;color:#acbed9}.desk-nav-item:hover{background:#ffffff12;color:white}.desk-nav-item[aria-current=page]{background:var(--desk-rail-on);border-color:#638dc454;color:#fff;font-weight:650}.desk-nav-item[aria-current=page] svg{color:#cee3ff}
.desk-identity {margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff26;padding:15px 6px 3px;font-size:14px}.desk-monogram{display:grid;place-items:center;flex:0 0 34px;height:34px;font-weight:700;color:#f4f8ff;background:#344e72;border:1px solid #57729a;border-radius:50%}
.desk-identity div{min-width:0}.desk-identity b,.desk-identity small{display:block;overflow-wrap:anywhere}.desk-identity small{color:var(--desk-rail-muted);font-size:12px}
.desk-main {width:100%;min-width:0;max-width:1740px;justify-self:center;padding:clamp(22px,2.65vw,44px) clamp(20px,2.85vw,48px) 34px}
.desk-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.desk-location{display:flex;align-items:center;gap:7px;color:var(--desk-muted);font-size:13px;line-height:1.4}.desk-location svg{width:12px;height:12px}
.desk-heading h1{color:var(--desk-text);margin:7px 0 0;font-size:clamp(28px,2.35vw,38px);font-weight:720;letter-spacing:-.04em;line-height:1.16}
.desk-date{display:flex;align-items:center;gap:8px;flex-shrink:0;color:var(--desk-muted);font-size:14px;line-height:1.4}.desk-date svg{width:18px;height:18px}.desk-date small{margin-inline-start:8px;color:var(--desk-muted);font-size:12px}
.desk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.desk-kpi,.desk-card,.desk-context,.desk-main .panel{background:var(--desk-paper);border:1px solid var(--desk-line);box-shadow:0 2px 5px #132f5306;border-radius:12px}
.desk-kpi{position:relative;padding:17px 18px 14px;min-width:0}.desk-kpi-head{display:flex;align-items:center;gap:8px;min-height:30px}
.desk-kpi-icon,.desk-queue-icon{display:inline-grid;place-items:center;background:var(--desk-accent-fill);color:var(--desk-accent);width:30px;height:30px;border-radius:8px;flex-shrink:0}.desk-kpi-icon svg,.desk-queue-icon svg{width:17px;height:17px}
[data-tone=amber] .desk-kpi-icon,[data-tone=amber] .desk-queue-icon,[data-tone=amber] .desk-count{background:var(--desk-amber-fill);color:var(--desk-amber)}
.desk-kpi-label{font-size:14px;line-height:1.35;font-weight:550;color:var(--desk-muted)}.desk-kpi-value{display:block;margin-top:8px;color:var(--desk-text);font-size:clamp(32px,2.7vw,46px);font-weight:660;font-variant-numeric:tabular-nums;letter-spacing:-.055em;line-height:1.15}
.desk-grid{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);gap:18px;align-items:start}
.desk-card{min-width:0;overflow:hidden}.desk-card-head{padding:18px 21px 14px;border-bottom:1px solid var(--desk-line)}.desk-card-head h3{margin:0;font-size:18px;font-weight:680;color:var(--desk-text);line-height:1.5;letter-spacing:-.018em}
.desk-queue-list{padding:2px 19px 6px}.desk-queue-row{width:100%;display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 2px;text-align:start;border-bottom:1px solid var(--desk-line);border-radius:0}.desk-queue-row:last-child{border-bottom:0}.desk-queue-row:hover,.desk-queue-row:focus-visible{background:var(--desk-accent-fill)}
.desk-queue-text{display:grid;gap:3px;min-width:0;flex:1}.desk-queue-text strong{font-size:15px;line-height:1.4;font-weight:650;color:var(--desk-text)}.desk-queue-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--desk-muted)}
.desk-queue-icon{height:34px;width:34px;border-radius:9px}.desk-count{min-width:30px;border-radius:7px;background:var(--desk-accent-fill);padding:2px 7px;color:var(--desk-accent);text-align:center;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.desk-empty{margin:18px 0;color:var(--desk-muted)}
.desk-supply .desk-card-head{padding-bottom:0;background:#233f74;border:0}.desk-supply .desk-card-head h3{color:#f8fbff}
.desk-supply-total{background:radial-gradient(ellipse at 100% -40%,#395f9b 0%,#395f9b 36%,transparent 36.5%),#233f74;display:flex;flex-direction:column;align-items:flex-start;color:white;padding:12px 21px 16px}
.desk-supply-total>span{font-size:13px;color:#d7e3f7;font-weight:500}.desk-supply-total strong{font-size:32px;line-height:1.3;font-weight:620;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.desk-supply-total small{font-size:14px;color:#dce7fa;font-weight:500;letter-spacing:0}
.desk-funds{margin:4px 20px}.desk-funds>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--desk-line);font-size:14px}.desk-funds>div:last-child{border:0}.desk-funds dt{color:var(--desk-muted)}.desk-funds dd{margin:0;color:var(--desk-text);font-weight:650;font-variant-numeric:tabular-nums}.desk-funds dd small{font-weight:500;font-size:12px;color:var(--desk-muted)}
.desk-card-link{display:block;width:100%;text-align:center;color:var(--desk-accent);border-top:1px solid var(--desk-line);padding:10px;font-size:14px;font-weight:600}.desk-card-link:hover{background:var(--desk-accent-fill)}
.desk-context{padding:14px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}.desk-context>div{display:flex;align-items:baseline;gap:12px;justify-content:space-between;padding-inline:0 16px}.desk-context>div+div{border-left:1px solid var(--desk-line);padding-inline:18px 0}.desk-context dt{color:var(--desk-muted);font-size:14px}.desk-context dd{margin:0;font-size:17px;font-weight:650;color:var(--desk-text);font-variant-numeric:tabular-nums}.desk-context small{font-size:12px;color:var(--desk-muted);font-weight:500}
.desk-main .panel{padding:16px 19px}.desk-main select,.desk-main input,.desk-main textarea{font-size:16px;min-width:0}.desk-main button.primary,.desk-main button.secondary{min-height:40px;font-size:14px}
.desk-main .panel h3{font-size:17px}.admin-workspace:has(.desk-topbar)>footer{margin:0;padding:12px 30px;background:var(--desk-paper);border-top:1px solid var(--desk-line);display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px}.admin-workspace:has(.desk-topbar)>footer>*{margin:0;font-size:12px;color:var(--desk-muted)}
.desk-find-results{display:grid;gap:4px;max-height:min(52dvh,420px);overflow:auto;margin-top:12px}.desk-find-result{display:flex;align-items:center;gap:12px;padding:9px 12px;text-align:start;border-radius:6px;color:var(--ink);font-size:15px}.desk-find-result:hover,.desk-find-result:focus-visible{background:var(--desk-accent-fill)}.desk-find-result svg{color:var(--desk-accent);width:18px}.desk-find-label input{font-size:16px}
:root[data-interface=admin] :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid var(--desk-accent);outline-offset:2px}.desk-rail button:focus-visible{outline-color:#cadfff}
@media(min-width:1120px) and (min-height:650px){.desk-rail{position:sticky;top:0;align-self:start;min-height:calc(100dvh - 70px);max-height:100dvh;overflow:auto}}
@media(max-width:1150px){:root[data-interface=admin]{--desk-rail-width:195px}.desk-toptools{padding-inline:18px}.desk-kpi{padding:13px}.desk-kpis{gap:10px}.desk-grid{gap:14px}.desk-env{margin-right:3px}.desk-date small{display:none}}
@media(max-width:980px){.desk-rail{padding-inline:10px}.desk-topbar{grid-template-columns:170px minmax(0,1fr)}.desk-layout{grid-template-columns:170px minmax(0,1fr)}.desk-kpi-label{font-size:13px}.desk-main{padding:20px 17px}.desk-search-trigger kbd,.desk-product>span,.desk-env svg{display:none}.desk-tools{gap:1px}.desk-queue-list{padding-inline:13px}.desk-context{padding-inline:13px}.desk-card-head,.desk-supply-total{padding-inline:16px}}
@media(max-width:825px){.desk-topbar{display:flex;flex-wrap:wrap;gap:0;background:var(--desk-paper)}.desk-brand{min-height:52px;padding:0 12px;color:var(--desk-text);background:var(--desk-paper);font-size:24px;border:0}.desk-brand span{color:var(--desk-accent)}.desk-brand img{width:27px;height:27px}.desk-toptools{flex:1;padding:4px 10px;justify-content:flex-end}.desk-product{display:none}.desk-env{font-size:12px;margin-right:7px}.desk-layout{display:block;min-height:calc(100dvh - 55px)}.desk-rail{display:block;padding:0}.desk-identity{display:none}.desk-nav-toggle{display:flex;align-items:center;gap:8px;width:100%;padding:10px 16px;min-height:44px;color:white;font-size:14px}.desk-nav-toggle svg{width:16px;height:16px}.desk-nav-toggle b{font-weight:500;margin-left:auto}.desk-nav-toggle[aria-expanded=false]+nav{display:none}.desk-side-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 14px 14px}.desk-heading{margin-bottom:16px}.desk-main{padding:20px clamp(14px,3vw,25px) 26px}.desk-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}}
@media(max-width:610px){.desk-topbar{min-height:52px}.desk-tools>.icon-button{width:32px}.desk-tools>button,.desk-tools summary{min-height:40px}.desk-search-trigger{min-width:34px;justify-content:center;border:0;background:transparent;padding:0}.desk-site-menu summary{padding:0 5px}.desk-search-trigger span,.desk-site-menu summary span,.desk-site-menu summary svg:last-child{display:none}.desk-site-menu summary{min-width:28px;justify-content:center}.desk-env{margin-right:2px;font-size:11px}.desk-brand{gap:6px;padding-inline:10px 2px}.desk-toptools{padding-inline:2px 8px}.desk-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.desk-kpi{padding:11px 13px}.desk-kpi-head{min-height:24px}.desk-kpi-icon{width:25px;height:25px}.desk-kpi-value{margin-top:4px;font-size:30px}.desk-grid{grid-template-columns:minmax(0,1fr);gap:12px}.desk-context{grid-template-columns:1fr;margin-top:12px;gap:8px}.desk-context>div,.desk-context>div+div{padding:0;border:0}.desk-context>div+div{border-top:1px solid var(--desk-line);padding-top:8px}.desk-heading{align-items:center}.desk-date{font-size:12px;gap:5px}.desk-date svg{width:14px}.desk-location{font-size:12px}.desk-side-nav{gap:12px}.desk-queue-row{min-height:58px}.desk-nav-item{min-height:42px}.admin-workspace:has(.desk-topbar)>footer{justify-content:center}}
@media(max-width:375px){.desk-env{max-width:48px;white-space:normal;line-height:1.3}.desk-brand img{display:none}.desk-toptools{padding-right:6px}.desk-date{max-width:80px}.desk-heading h1{font-size:25px}}

.finance-workspace {
  container-type: inline-size;
  display: grid;
  gap: 18px;
  min-width: 0;
}
.finance-workspace .panel {
  min-width: 0;
  margin: 0;
}
.finance-balances.panel {
  padding: 0;
  overflow: hidden;
}
.finance-balances > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.finance-workspace h3,
.finance-workspace h4,
.finance-check p,
.finance-metric p {
  margin: 0;
}
.finance-balances header small,
.finance-metric p,
.finance-check p,
.finance-action summary small,
.finance-scope {
  color: var(--muted);
}
.finance-metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1px;
  background: var(--line);
}
.finance-metric {
  min-width: 0;
  padding: 16px 20px;
  background: var(--surface);
}
.finance-metric > span {
  font-weight: 600;
  font-size: .85rem;
}
.finance-metric strong {
  display: block;
  margin: 4px 0 6px;
  font-size: clamp(1.25rem,2vw,1.65rem);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.finance-metric strong small {
  font-size: .67rem;
  font-weight: 600;
  color: var(--muted);
}
.finance-metric p,
.finance-action summary small {
  font-size: .79rem;
  line-height: 1.5;
}
.finance-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap: 12px;
}
.finance-check.panel {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 12px;
  padding: 18px;
}
.finance-check-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-soft);
}
.finance-check h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.finance-check p,
.finance-scope {
  font-size: .86rem;
  line-height: 1.55;
}
.finance-check button {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 8px;
  margin: 0;
  min-height: 40px;
}
.finance-check button .icon {
  width: 16px;
  height: 16px;
}
.finance-actions {
  display: grid;
  gap: 10px;
}
.finance-actions > h3 {
  margin: 0 0 2px;
  font-size: 1.06rem;
}
.finance-action.panel {
  padding: 0;
}
.finance-action > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
  border-radius: inherit;
}
.finance-action > summary::-webkit-details-marker {
  display: none;
}
.finance-action > summary::after {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  margin: 0 4px;
  transform: rotate(45deg);
  color: var(--muted);
}
.finance-action[open] > summary::after {
  transform: rotate(225deg);
}
.finance-action > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}
.finance-action summary strong,
.finance-action summary small {
  display: block;
}
.finance-action summary small {
  margin-top: 4px;
}
.finance-action-content {
  border-top: 1px solid var(--line);
  padding: 14px 18px 18px;
}
.finance-action-content > p:first-child {
  margin-top: 0;
}
.finance-action-content form > h4 {
  margin: 10px 0 2px;
}
.finance-requests {
  margin-bottom: 15px;
}
.finance-requests article {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--raised);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.finance-requests article p {
  margin: 4px 0 0;
}
.finance-requests code {
  user-select: all;
}
.finance-caution {
  padding-inline-start: 10px;
  border-inline-start: 3px solid var(--accent);
}
.finance-scope {
  margin: 0;
}
.finance-reserve {
  max-width: 55rem;
}
@container (max-width: 680px) {
  .finance-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 620px) {
  .finance-check.panel,
  .finance-metric {
    padding: 12px;
  }
  .finance-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .finance-balances > header,
  .finance-action > summary {
    padding: 12px;
  }
  .finance-workspace {
    gap: 13px;
  }
}

/* Task lists and back-office forms. */
.admin-current-panel .desk-result-count,
.admin-current-panel .desk-list-heading{margin:22px 0 12px}
.admin-current-panel .desk-result-count{font-size:.875rem;font-weight:550;color:var(--muted);font-variant-numeric:tabular-nums}
.admin-current-panel .desk-list-heading {font-size:1rem}
.admin-current-panel .desk-empty{padding:22px 18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);background:var(--surface);overflow-wrap:anywhere}
.admin-current-panel .desk-record-head,.admin-current-panel .desk-filter-foot{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px 18px}
.admin-current-panel .desk-record-head>*{min-width:0}
.desk-record-head>h3,.desk-record-head>p{margin:0;overflow-wrap:anywhere}
.desk-record-meta,.desk-review-parties,.desk-audit-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;min-width:0}
.desk-review-parties{margin-block:12px}
.desk-tag{display:inline-flex;line-height:1.3;font-size:.8125rem;font-weight:600;padding:4px 9px;color:var(--muted);background:var(--raised);border:1px solid var(--line);border-radius:999px}
.desk-tag-waiting{color:var(--accent);background:var(--accent-soft)}
.desk-stamp,.desk-ref{font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-current-panel .desk-content,.admin-current-panel .desk-answer p,.admin-current-panel .desk-cost-list{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}
.admin-current-panel .desk-answer{border-inline-start:3px solid var(--line);padding-inline-start:12px;margin:12px 0 4px}
.admin-current-panel .desk-answer strong,.admin-current-panel .desk-audit-meta{font-size:.875rem;color:var(--muted)}
.admin-current-panel .desk-answer p{margin:4px 0}
.admin-current-panel .desk-toolbar{display:flex;gap:12px;align-items:flex-end}
.admin-current-panel .desk-status-choice{margin:0;min-width:min(180px,100%);font-size:.875rem}
.admin-current-panel .desk-status-choice select{width:100%}
.admin-current-panel .desk-filter-foot{align-items:flex-end;margin-top:12px}
.admin-current-panel .desk-filter-clear{min-height:44px;padding:.55rem .8rem;border:1px solid var(--line);border-radius:8px;color:var(--accent);font-weight:600;background:var(--surface)}
.admin-current-panel .desk-search{display:block;margin:0 0 14px}
.admin-current-panel .desk-filter-clear:focus-visible,.desk-audit summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.admin-current-panel .desk-audit summary{color:var(--accent);cursor:pointer;min-height:40px;align-content:center;font-size:.875rem;font-weight:600}
.admin-current-panel .desk-audit pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;padding:12px;margin:0;border-radius:8px;background:var(--raised);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8125rem;line-height:1.55}
.admin-current-panel .desk-audit-meta{overflow-wrap:anywhere}
.admin-current-panel .desk-audit details{border-top:1px solid var(--line)}
.admin-current-panel .desk-entry form{max-width:680px}
.admin-current-panel .desk-budget-total{display:flex;align-items:baseline;gap:12px;margin:10px 0;font-variant-numeric:tabular-nums}
.admin-current-panel .desk-budget-total strong{font-size:1.75rem}
.admin-current-panel .desk-budget-total small,.admin-current-panel .desk-budget-total span{font-size:.875rem;color:var(--muted)}
.admin-current-panel .desk-budget progress{width:min(520px,100%);height:8px;accent-color:var(--accent)}
.admin-current-panel .desk-cost-list{list-style:none;padding:0;margin:0}
.admin-current-panel .desk-cost-list li{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.admin-current-panel .desk-cost-list li:last-child{border:0}
@media(max-width:600px){
 .admin-current-panel .desk-record-head{align-items:flex-start;gap:7px 12px}
 .admin-current-panel .desk-record-meta{gap:5px 10px}
 .admin-current-panel .desk-filter-foot .desk-status-choice{flex:1 1 130px}
}
.admin-current-panel .desk-user-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr));gap:8px 18px;margin:16px 0;padding:12px 0;border-block:1px solid var(--line)}
.admin-current-panel .desk-user-facts dt{color:var(--muted);font-size:.8125rem}
.admin-current-panel .desk-user-facts dd{margin:4px 0 0;font-size:.9375rem;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.admin-current-panel .desk-user-actions,.admin-current-panel .desk-user-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
.admin-current-panel .desk-user-search .admin-search{flex:1 1 220px;margin:0}
.admin-current-panel .desk-user-actions button{margin:0}
