:root{--green:#d2234a;--deep:#96202e;--ink:#35202a;--muted:#8a737a;--line:#f0dde3;--cream:#fdf7f9;--lime:#fde3d8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.65 'DM Sans','Noto Sans TC',system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button{cursor:pointer}header{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1400px;margin:auto;padding:0 52px}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:23px;line-height:1.1;white-space:nowrap}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:5px}.brand-icon{background:var(--green);color:var(--lime);width:42px;height:42px;border-radius:50% 50% 14% 50%;display:grid;place-items:center;font-size:31px;font-weight:400}nav{display:flex;gap:28px;font-size:14px}nav a{padding:29px 0;white-space:nowrap}nav a.selected{border-bottom:2px solid var(--green)}.header-actions{display:flex;align-items:center;gap:18px}.header-actions form{margin:0}.lang{border:0;background:none;font-size:13px}.signin{font-size:13px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--green);color:white;border:1px solid transparent;border-radius:8px;padding:13px 23px;font-weight:600;font-size:14px;line-height:1.4}.button:hover{background:#b72755}.button.compact{padding:12px 17px}.button.cream{background:var(--lime);color:var(--deep)}.button.secondary{color:var(--green);border-color:var(--line);background:white}.button.danger{background:#8c4239}.dev-banner{font-size:11px;background:#fff2d7;color:#745b2b;text-align:center;padding:5px 18px}.hero{margin:24px auto 0;max-width:1296px;min-height:375px;border-radius:18px;background:var(--green);color:white;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;padding:46px 64px;position:relative}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:600;display:flex;align-items:center;gap:8px}.eyebrow>span{width:6px;height:6px;background:var(--lime);border-radius:50%}.hero .eyebrow{color:#f0d3d9}.hero h1{font-size:44px;line-height:1.3;letter-spacing:-1.4px;margin:22px 0 14px;font-weight:700}.hero-copy>p{font-size:14px;max-width:430px;color:#ecd5da;line-height:1.9}.hero-links{display:flex;align-items:center;gap:26px;margin:26px 0 24px}.hero-secondary{font-size:13px;color:#f3dde1}.hero-note{font-size:11px;color:#e6c6cd;display:flex;align-items:center;gap:9px}.hero-note span{background:#a8344f;border-radius:50%;height:17px;width:17px;display:grid;place-items:center;color:#fde3d8}.hero-note i{font-style:normal;color:#c98a98}.hero-art{position:relative;display:flex;align-items:center;justify-content:center}.hero-art svg{width:100%;max-width:510px;position:relative;z-index:1}.orbit{position:absolute;width:310px;height:310px;border:1px solid #b3536a;border-radius:50%;transform:rotate(-25deg);opacity:.5}.orbit-two{width:430px;height:230px}.sticker{position:absolute;z-index:2;background:#fde3d8;color:#96202e;padding:8px 13px;border-radius:6px;font-size:10px;letter-spacing:1px;box-shadow:0 5px 14px #3d0a1a33}.sticker-one{top:3px;right:30px;transform:rotate(7deg)}.sticker-two{bottom:0;left:50px;transform:rotate(-7deg)}.discovery{max-width:1296px;margin:0 auto;padding:32px 0}.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:22px}.tabs{display:flex;gap:30px}.tabs a{padding:0 0 15px;font-size:15px;color:var(--muted)}.tabs .active{border-bottom:3px solid var(--green);color:var(--green);font-weight:700}.muted,.meta{color:var(--muted);font-size:12px}.search-panel{background:white;border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;grid-template-columns:minmax(180px,1fr) 190px 160px auto;gap:12px}.search-panel input,.search-panel select{border:0;background:#f7f1f1;border-radius:7px;padding:11px 12px;min-width:0;width:100%;font-size:13px;color:var(--ink)}.search-input{display:flex;background:#f7f1f1;border-radius:7px;align-items:center;padding-left:12px}.search-input span{font-size:23px}.search-panel .button{padding:10px 20px}.date-filter{grid-column:1/-1;border-top:1px solid #f1e8e9;padding-top:9px;font-size:12px}.date-filter summary{cursor:pointer;color:var(--muted)}.date-filter summary span{float:right;font-size:10px}.date-fields{display:flex;gap:20px}.date-fields p{flex:1}.date-fields label{display:block}.date-fields ul{color:#a33}.section-title{display:flex;justify-content:space-between;align-items:end;margin:36px 0 22px}.eyebrow.green{color:var(--green);font-size:9px;letter-spacing:2px}.section-title h2{font-size:24px;letter-spacing:-.7px;margin:7px 0 0;line-height:1.4}.text-link{font-size:13px;font-weight:600}.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.item-card,.wanted-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .15s,box-shadow .15s}.item-card:hover,.wanted-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #96202e0c}.item-image{height:210px;position:relative;background:#f2e9e9;overflow:hidden}.item-image img{width:100%;height:100%;object-fit:cover}.placeholder-art{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(140deg,#f2e2e3,#f5ecdf);color:#a26b78}.placeholder-art>span{font-size:74px;line-height:1.3}.placeholder-art small{font-size:10px}.image-tag,.free-tag{position:absolute;top:12px;left:12px;background:#fffcf1e8;border-radius:4px;padding:3px 8px;font-size:10px}.free-tag{left:auto;right:12px;background:var(--green);color:white}.card-copy{padding:16px}.card-copy h3,.wanted-card h3{font-size:16px;margin:0 0 5px;line-height:1.5}.meta{margin:6px 0}.price{font-size:18px;font-weight:700;color:var(--green);margin:14px 0}.price small{font-size:11px;color:var(--muted);font-weight:400}.card-bottom{display:flex;align-items:center;gap:7px;border-top:1px solid #f1e8e9;padding-top:12px;margin-top:15px;font-size:11px}.avatar{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:50%;background:#f1dfe2;color:#d2234a;font-weight:700;flex-shrink:0}.avatar.small{width:32px;height:32px}.avatar.tiny{width:23px;height:23px;font-size:10px}.avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.verified{color:#b72755;font-size:11px}.arrow{margin-left:auto;font-size:20px}.wanted-card{padding:23px}.wanted-card>p{font-size:13px;color:var(--muted)}.pill{display:inline-block;background:#f6e7ea;color:var(--green);font-size:11px;padding:4px 9px;border-radius:20px;margin-bottom:13px}.empty-state{grid-column:1/-1;background:#fff;border:1px dashed #dcc6ca;border-radius:14px;padding:36px;text-align:center}.empty-icon{display:inline-grid;place-items:center;width:54px;height:54px;background:#f6e8eb;color:var(--green);font-size:29px;border-radius:50%}.empty-state h3{font-size:17px;margin:14px 0 6px}.empty-state p{color:var(--muted);font-size:13px;margin:0 0 20px}.values-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:26px;gap:45px;margin-top:40px}.values-strip>div{position:relative;padding-left:38px}.values-strip span{position:absolute;left:0;top:4px;font-size:12px;color:#b08a93}.values-strip h3{font-size:14px;margin:0 0 4px;font-weight:600}.values-strip p{font-size:11px;color:var(--muted);margin:0}footer{max-width:1296px;margin:30px auto 0;border-top:1px solid var(--line);padding:28px 0;display:flex;justify-content:space-between;gap:40px;font-size:12px;color:var(--muted)}footer>div{max-width:650px}.footer-brand{font-size:20px;color:var(--green)}footer p{margin:10px 0 5px}footer small{font-size:10px}.session-control{max-width:1296px;margin:auto}.text-button{background:none;border:0;padding:0;color:var(--muted);font-size:12px}.mobile-nav{display:none}.flashes{max-width:1296px;margin:15px auto}.flash{padding:12px 18px;border-radius:8px;background:#f6e8ea}.flash.error{background:#fae5df;color:#8a3c30}.page{max-width:1100px;margin:40px auto 60px}.page.narrow{max-width:640px}.page h1{font-size:30px;line-height:1.4;margin:10px 0 24px}.page h2{font-size:19px}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:20px}.panel p{font-size:14px}.panel .hint,.hint{font-size:12px;color:var(--muted)}.form-stack p{margin:0 0 19px}.form-stack label{display:block;font-size:13px;font-weight:500;margin-bottom:6px}.form-stack input:not([type=checkbox]),.form-stack select,.form-stack textarea,.field{width:100%;border:1px solid #dccdd0;border-radius:7px;padding:11px 12px;background:#fffcfb;color:var(--ink)}.form-stack input[type=checkbox]{width:18px;height:18px}.form-stack .helptext{font-size:11px;color:var(--muted)}.errorlist{list-style:none;padding:8px 12px;background:#fce7e2;color:#8e3a2c;font-size:12px;border-radius:6px}.detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:35px}.detail-image{background:#f2e7e8;border-radius:14px;overflow:hidden;min-height:320px;display:grid;place-items:center;margin-bottom:15px}.detail-image img{width:100%;max-height:520px;object-fit:contain}.detail-image .placeholder-art{width:100%;height:320px}.photo-thumbs{display:flex;gap:10px;flex-wrap:wrap}.photo-thumbs img{width:95px;height:95px;object-fit:cover;border-radius:8px}.owner-box{display:flex;gap:12px;align-items:center;margin:22px 0}.owner-box strong{display:block}.owner-box small{font-size:11px;color:var(--green)}.facts{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;font-size:13px}.facts dt{color:var(--muted)}.facts dd{margin:0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.quote{padding:16px;background:#f7eaec;border-radius:8px;margin:15px 0}.quote strong{display:block}.quote p{margin:5px 0}.notice{padding:13px 16px;background:#fbeef1;border-radius:8px;font-size:12px}.danger-notice{background:#f8e3da;color:#8a3d29}.status{display:inline-block;padding:5px 10px;background:#f4e6e9;color:var(--green);border-radius:5px;font-size:12px}.status.completed{background:#ecd9de}.status.cancelled{background:#edece8;color:#72766d}.status.disputed{background:#f2ddd5;color:#853e29}.order-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.order-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:25px}.confirmation{padding:12px 0;border-top:1px solid var(--line)}.confirmation p{margin:6px 0}.confirmation small{font-size:11px;color:var(--muted)}.timeline{list-style:none;padding:0}.timeline li{border-left:2px solid #ead4d9;padding:5px 0 17px 17px;font-size:13px}.timeline small{display:block;color:var(--muted);font-size:11px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row h3{margin:0;font-size:15px}.list-row p{margin:4px 0;font-size:12px;color:var(--muted)}.messages-list{max-height:520px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:10px}.bubble{max-width:85%;padding:13px 17px;background:#f4eced;border-radius:12px;align-self:flex-start}.bubble.mine{background:#f1dde2;align-self:flex-end}.bubble p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.bubble small{font-size:10px;color:var(--muted)}.chat-form{display:flex;gap:10px;margin-top:20px}.chat-form textarea{resize:vertical;min-height:70px}.reviews .stars{color:#a47c30}.rules-text h2{margin-top:28px}.rules-text p{color:#6a4b52}.login-art{font-size:36px;background:#fde3d8;width:68px;height:68px;border-radius:18px;display:grid;place-items:center;margin-bottom:20px}.report-link{color:#8a5b49;font-size:12px}.notification.unread{border-left:3px solid #d2234a;padding-left:13px}
@media(min-width:1500px){.hero,.discovery,footer{max-width:1296px}}@media(max-width:1399px){.hero,.discovery,footer,.flashes,.session-control{margin-left:40px;margin-right:40px}.page{margin-left:60px;margin-right:60px}.page.narrow{margin-left:auto;margin-right:auto}.hero{padding:42px 48px}header{padding:0 40px}.header-actions{gap:12px}nav{gap:20px}}@media(max-width:1000px){header{padding:0 25px;gap:20px}.signin{display:none}nav{gap:16px}.header-actions .compact{font-size:12px;padding:11px}.hero,.discovery,footer,.flashes{margin-left:25px;margin-right:25px}.hero{padding:35px}.hero h1{font-size:34px}.hero-note{font-size:9px}.card-grid{grid-template-columns:repeat(3,1fr)}.search-panel{grid-template-columns:1fr 170px 120px}.search-panel .button{grid-column:1/-1}.hero-art .sticker{font-size:8px}.page{margin-left:30px;margin-right:30px}.order-layout{grid-template-columns:1fr 1fr}}
@media(max-width:700px){body{font-size:14px;padding-bottom:75px}header{height:72px;padding:0 20px}.brand{font-size:21px}.brand-icon{width:35px;height:35px;font-size:27px}.brand small{font-size:7px}header nav{display:none}.header-actions{gap:14px}.header-actions .compact{display:none}.signin{display:block;font-size:11px}.dev-banner{font-size:9px;padding:5px 15px}.hero{margin:16px 16px 0;padding:30px 25px 14px;border-radius:14px;grid-template-columns:1fr;min-height:0}.hero h1{font-size:33px;letter-spacing:-1px;margin:16px 0 12px}.hero .eyebrow{font-size:9px;letter-spacing:1.2px}.hero-copy>p{font-size:12px;max-width:100%;margin:8px 0}.hero-links{margin:19px 0;gap:24px}.hero-links .button{padding:12px 18px;font-size:12px}.hero-secondary{font-size:12px}.hero-note{font-size:9px;gap:7px}.hero-art{height:220px;margin-top:12px}.hero-art svg{height:220px;width:100%}.orbit-one{width:190px;height:190px}.orbit-two{width:290px;height:140px}.sticker-one{right:5px;top:15px}.sticker-two{bottom:6px;left:10px}.discovery{margin:0;padding:24px 16px}.section-head{margin-bottom:16px}.tabs{gap:28px}.tabs a{font-size:14px;padding-bottom:12px}.hide-mobile{display:none}.search-panel{padding:10px;grid-template-columns:1fr 1fr;gap:9px}.search-input{grid-column:1/-1}.search-panel input,.search-panel select{font-size:12px;padding:10px}.search-panel .button{padding:10px;font-size:12px}.date-filter summary span{float:none;display:block;font-size:8px}.date-fields{display:block}.section-title{margin:28px 0 17px;align-items:center}.section-title h2{font-size:20px;margin-top:5px}.section-title .text-link{font-size:11px}.section-title .eyebrow{font-size:8px;letter-spacing:1.4px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.item-image{height:165px}.card-copy{padding:12px}.card-copy h3{font-size:14px}.meta{font-size:10px}.card-copy .price{font-size:15px;margin:10px 0}.price small{font-size:10px}.card-bottom{font-size:9px;gap:5px;margin-top:10px;padding-top:10px}.image-tag{font-size:8px;padding:3px 6px;top:8px;left:8px}.free-tag{top:33px;left:8px;right:auto;font-size:8px}.placeholder-art>span{font-size:58px}.wanted-card{padding:14px}.wanted-card h3{font-size:14px}.wanted-card .price{font-size:15px}.wanted-card>p{font-size:11px}.empty-state{padding:28px 20px}.empty-state h3{font-size:15px}.empty-state p{font-size:12px}.values-strip{grid-template-columns:1fr;gap:22px;margin-top:30px;padding-top:25px}.values-strip h3{font-size:13px}.values-strip p{font-size:11px}footer{margin:0 20px;display:block;padding:25px 0}footer>div+div{margin-top:22px}footer p{font-size:10px}.session-control{margin:0 20px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid var(--line);justify-content:space-around;padding:9px 5px max(9px,env(safe-area-inset-bottom))}.mobile-nav a{display:flex;flex-direction:column;align-items:center;color:var(--green);font-size:22px;line-height:1.3}.mobile-nav span{font-size:9px;margin-top:3px}.page,.page.narrow{margin:24px 16px 40px;max-width:100%}.page h1{font-size:25px}.panel{padding:20px}.detail-grid,.order-layout{grid-template-columns:1fr;gap:14px}.detail-image{min-height:250px}.detail-image .placeholder-art{height:250px}.facts{font-size:12px;gap:10px 13px}.order-heading{align-items:start}.order-heading h1{font-size:24px}.list-row{gap:10px}.list-row h3{font-size:13px}.list-row p{font-size:10px}.list-row .status{font-size:9px;padding:4px 6px}.chat-form{flex-direction:column}.bubble{max-width:92%}.flashes{margin:12px 16px}.flash{font-size:12px}.form-stack label{font-size:12px}.hint{font-size:11px}}

/* CityU-style palette: orange #e06636 -> crimson #d2234a -> berry #b72755 on soft pink */
.brand-bar{height:4px;background:linear-gradient(90deg,#e06636,#d2234a 55%,#b72755)}
.brand-icon{background:linear-gradient(125deg,#e06636,#d2234a 60%,#b72755);color:#fff;border-radius:10px;font-size:24px}
.hero{background:linear-gradient(162deg,transparent 0 42%,#f6dce4 42% 76%,transparent 76%),linear-gradient(200deg,#fae8ed 0 28%,transparent 28%),#fdf4f6;color:var(--ink);border:1px solid #f3dbe2}
.hero::after{content:'';position:absolute;right:-90px;bottom:-140px;width:320px;height:320px;background:linear-gradient(135deg,#e06636,#d2234a 55%,#b72755);opacity:.14;transform:rotate(28deg)}
.hero .eyebrow{color:#b72755}.eyebrow>span{background:linear-gradient(90deg,#e06636,#d2234a)}
.hero h1{color:#96202e}.hero-copy>p{color:#6b4a54}.hero-secondary{color:#b72755;font-weight:600}
.hero-note{color:#8a737a}.hero-note span{background:#d2234a;color:#fff}.hero-note i{color:#dcb6c0}
.orbit{border-color:#e7b3c1}.sticker{background:#fff;color:#b72755;box-shadow:0 5px 14px #b7275522}

/* Impact report */
.impact-stats{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:24px 0}.impact-tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.impact-tile small{display:block;color:var(--muted);font-size:12px}.impact-tile strong{display:block;font-size:30px;line-height:1.3;color:var(--deep);margin-top:6px}.impact-tile strong span{font-size:14px;font-weight:600}.impact-tile.main{background:linear-gradient(125deg,#d2234a,#b72755 60%,#96202e);border:0;border-top:4px solid #e06636;color:#fff}.impact-tile.main small{color:#ffe3e8}.impact-tile.main strong{color:#fff;font-size:40px}.table-wrap{overflow-x:auto}.impact-table{width:100%;border-collapse:collapse;font-size:13px}.impact-table th{text-align:left;color:var(--muted);font-weight:500;font-size:12px;padding:8px 10px;border-bottom:1px solid var(--line)}.impact-table td{padding:12px 10px;border-bottom:1px solid #f1e8e9;vertical-align:top}.impact-table td:last-child,.impact-table th:last-child{text-align:right;white-space:nowrap}.impact-table a{color:var(--green);font-size:12px;white-space:nowrap}
@media(max-width:700px){.impact-stats{grid-template-columns:1fr 1fr;gap:10px}.impact-tile{padding:16px}.impact-tile.main{grid-column:1/-1}.impact-tile strong{font-size:24px}.impact-tile.main strong{font-size:32px}.impact-table{font-size:12px}.impact-table th,.impact-table td{padding-left:5px;padding-right:5px}}
/* AI listing draft */
.ai-panel{border-color:#f3dbe2;background:linear-gradient(160deg,#fff 0 55%,#fdf0f3)}.ai-panel h2{margin:6px 0 4px}.ai-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}.ai-row input{flex:1;min-width:0;font-size:13px}.ai-row .button:disabled{opacity:.6;cursor:wait}#ai-status:empty{display:none}/* Language menu */
nav{min-width:0;overflow-x:auto;scrollbar-width:none}nav::-webkit-scrollbar{display:none}.lang-menu{position:relative}.lang-menu summary{list-style:none;cursor:pointer;padding:6px 2px;white-space:nowrap}.lang-menu summary::-webkit-details-marker{display:none}.lang-menu form{position:absolute;right:0;top:calc(100% + 10px);background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px #96202e1a;padding:6px;display:flex;flex-direction:column;min-width:150px;z-index:20}.lang-menu form button{background:none;border:0;text-align:left;padding:9px 12px;border-radius:7px;font-size:13px;white-space:nowrap;color:var(--ink)}.lang-menu form button:hover{background:#f6e8eb}.lang-menu form button[aria-current]{color:var(--green);font-weight:700}
/* Buddy */
.pill-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:13px}.pill-row .pill,.pill-row .status{margin:0}.pill.soft{background:#fdf2ec;color:#a8204f}.list-row h3 .pill,h1 .pill{margin:0 6px 0 0;vertical-align:middle;font-weight:500}.buddy-count{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:14px;font-weight:700;color:var(--green);font-size:16px}.buddy-count small{font-size:11px;color:var(--muted);font-weight:400}.status.buddy-full{background:#f2ddd5;color:#853e29}.status.buddy-closed{background:#edece8;color:#72766d}.status.buddy-ended{background:#ecd9de;color:#8a737a}.search-panel.buddy-search{grid-template-columns:minmax(180px,1fr) 170px 150px 170px auto}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.row-actions .compact,.confirm .compact{padding:8px 12px;font-size:12px}details.confirm summary{list-style:none;cursor:pointer}details.confirm summary::-webkit-details-marker{display:none}details.confirm[open] form{margin-top:8px}.application{padding:14px 0;border-bottom:1px solid var(--line)}.application:last-of-type{border-bottom:0}.application h3{margin:0;font-size:15px}.application p{margin:6px 0}.application small{color:var(--muted);font-size:11px}.application .actions{margin:10px 0 0}.friend-box{border-top:1px solid var(--line);padding-top:14px;margin:14px 0 10px}.friend-box .actions{margin:8px 0}.buddy-heading{margin-top:34px}.buddy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media(max-width:1180px){.brand small{display:none}header{gap:18px}nav{gap:18px}}
@media(max-width:1000px){.search-panel.buddy-search{grid-template-columns:1fr 1fr 1fr}.buddy-search .search-input{grid-column:1/-1}.buddy-grid{grid-template-columns:1fr}}
@media(max-width:700px){.search-panel.buddy-search{grid-template-columns:1fr 1fr}.buddy-search .button{grid-column:1/-1}.mobile-nav a{font-size:20px}.mobile-nav span{font-size:8.5px;white-space:nowrap}.lang-menu form{right:-40px}.row-actions{justify-content:flex-start}.list-row:has(.row-actions){flex-wrap:wrap}}
.list-row .status{white-space:nowrap;flex-shrink:0}
/* Tablets: six nav links fit by showing only the brand mark and a ＋ button (its label stays for screen readers). */
@media(min-width:701px) and (max-width:1060px){.brand-name{display:none}nav{gap:14px;font-size:13px}.header-actions{gap:12px}.header-actions .compact{width:42px;height:42px;padding:0;font-size:20px}.header-actions .compact .publish-label{display:none}}

/* Independent Box Box mark: crisp artwork, harmonized with the original red palette. */
.brand-logo{display:block;width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:0;image-rendering:auto}
.footer-brand .brand-logo{width:36px;height:36px}
.hint,.panel .hint{font-size:13px;line-height:1.75}
@media(max-width:700px){header .brand-logo{width:42px;height:42px}.form-stack .helptext{font-size:12px}}

/* Contact controls and seven-section navigation. */
.conversation-tools{display:flex;align-items:start;gap:16px;flex-wrap:wrap;margin:16px 0 22px}.safety-control summary{cursor:pointer}.safety-confirm{margin-top:10px;max-width:420px}.safety-confirm p{margin:0 0 12px}.safety-control{font-size:13px}
@media(min-width:701px){header nav{gap:18px;font-size:13px}}
@media(min-width:701px) and (max-width:1180px){header .brand-name{display:none}header nav{gap:12px;font-size:12.5px}header .header-actions{gap:12px}header .header-actions .compact{width:42px;height:42px;padding:0;font-size:20px}header .publish-label{display:none}}
@media(max-width:700px){.mobile-nav{justify-content:flex-start;overflow-x:auto;gap:0}.mobile-nav a{flex:1 0 58px;min-width:58px}.mobile-nav span{font-size:8px}.conversation-tools{gap:12px}}

/* Impact is a separate, lower-priority destination after Messages. */
header nav .nav-impact{margin-left:34px;padding-left:24px;border-left:1px solid var(--line);color:var(--muted)}
header nav .nav-impact.selected{color:var(--green)}
@media(min-width:701px) and (max-width:1180px){header nav .nav-impact{margin-left:22px;padding-left:18px}}

/* Optional Buddy refinements keep the existing primary search row. */
.buddy-refinements{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}.buddy-refinements>input,.buddy-refinements>select{flex:1 1 180px;min-width:0;max-width:100%}

/* Buddy group chat reuses existing panels, bubbles and composer. */
.buddy-group-controls{margin:20px 0}.buddy-group-controls .hint{margin:12px 0 0}.group-chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}.group-sidebar,.group-conversation{min-width:0}.group-chat-header{display:block;position:static;padding:0;border-bottom:1px solid var(--line);margin:0 0 15px}.group-chat-header h1{font-size:24px;margin:10px 0}.group-roster{margin:12px 0;font-size:13px}.group-roster summary{cursor:pointer;min-height:36px}.group-current{background:#fae8ef;color:var(--green)}.group-message-list{max-height:55dvh;overflow-y:auto;min-height:160px;padding:16px 2px;display:flex;flex-direction:column;gap:14px}.group-message-list .bubble{align-self:flex-start}.group-message-list .mine{align-self:flex-end}.group-report{display:inline-block;font-size:11px;color:inherit;opacity:.8;min-height:28px;padding-top:8px}.group-composer{margin-top:16px}.group-composer textarea{min-width:0;flex:1;font-size:16px}.group-refresh{margin:12px 0 0}.group-history-note{font-size:12px}@media(max-width:700px){.group-chat-layout{grid-template-columns:1fr}.group-sidebar{display:none}.group-conversation{padding:16px}.group-chat-header h1{font-size:21px}.group-message-list{max-height:none}.group-report{min-height:36px}}
