:root{font-family:"Segoe UI",Arial,sans-serif;color:#22252a;background:#f6f7f9;--sanh-action:#bc4209;--sanh-border:#e5e7eb}
body{padding-bottom:28px}header{background:#fff;color:#22252a;border-bottom:1px solid #e5e7eb;padding:12px 24px;min-height:76px;gap:12px}header strong{font-size:20px;letter-spacing:-.4px}header small{display:none}.brand-header{gap:10px}.brand-header img{width:34px;height:40px}.header-actions{align-items:center;gap:8px}.header-actions button{margin:0;background:white;color:#41464f;border:1px solid #e5e7eb;padding:10px 13px;font-size:13px;min-height:40px}button{background:#bc4209;border-radius:8px;font-size:14px;padding:11px 15px;min-height:42px}button:hover{background:#963608}a,.badge{color:#a63b0b}small{color:#737984}main{max-width:1200px;padding:24px;margin:0 auto}section,article{border-color:#e5e7eb;background:#fff;box-shadow:none;border-radius:12px}article{background:#fff}h1{font-size:24px}h2{font-size:22px;letter-spacing:-.4px;margin-top:0}h3{font-size:17px}p{color:#59616d}input,select,textarea{border-color:#dce0e5;border-radius:8px;padding:12px;color:#22252a;background:#fff}label{font-size:14px;font-weight:500}pre{font-size:14px;color:#343b45}.intro{padding:0!important;margin:0 0 18px!important;background:transparent!important;border:0!important}.intro h1,.intro>p:last-child{display:none}.intro #status{font-size:12px;color:#7a818b;margin:0}.login-card{margin:24px auto;padding:30px;max-width:430px}.login-card h1{font-size:24px}.login-card>p{font-size:14px}.login-card>p:nth-of-type(2){display:none}.login-brand{width:54px;height:62px}.login-card button{background:#bc4209}.login-card details{font-size:13px}.login-card label{text-align:left}footer{font-size:12px;color:#8a9099;border-top:1px solid #e5e7eb;padding-top:16px;margin-top:24px;gap:12px}footer button{background:#fff;color:#59616d;border:1px solid #e5e7eb}.market-table th{background:#f7f8fa;color:#5e6570;font-size:12px}.market-table td,.market-table th{border-color:#eceef1}.market-table-scroll,.shopee-hub details,#market details{border-color:#e5e7eb}.shopee-hub{border-color:#e5e7eb}#quick-teach{position:static;box-shadow:none;font-weight:500}#notifications article{border-left:3px solid #e9a16d}.update-dialog{background:white;color:#22252a;border-color:#e5e7eb}#menu-backdrop,#workspace-menu{display:none}body:not(.authenticated) #workspace-menu{display:none!important}
/* One navigation rail, with secondary tools collapsed. */
body.authenticated main{margin-left:232px;max-width:1250px}#workspace>nav{position:fixed;inset:76px auto 0 0;width:216px;overflow-y:auto;display:block;padding:24px 12px;background:#fff;border-right:1px solid #e5e7eb;margin:0;z-index:30}#workspace>nav button{display:block;width:100%;text-align:left;margin:3px 0;background:transparent;color:#545b66;font-size:14px;font-weight:400;padding:11px 12px;min-height:42px;border:0}#workspace>nav button:hover{background:#f5f6f8;color:#22252a}#workspace>nav button.nav-active{background:#fff3e9;color:#a63b0b;font-weight:600}.nav-group{margin-bottom:20px}.nav-group>p{font-size:10px;letter-spacing:1.2px;color:#9a9fa7;margin:0 12px 12px}.nav-group>summary{font-size:13px;font-weight:600;cursor:pointer;padding:12px;color:#737984;list-style-position:inside}.nav-group[open]>summary{margin-bottom:4px}
@media(max-width:760px){header{padding:10px 16px;position:sticky;top:0;z-index:40;flex-wrap:wrap;min-height:68px}.brand-header{width:100%}.header-actions{width:100%;display:flex;gap:6px}.header-actions button{padding:9px 11px;font-size:12px;flex:0 1 auto}.header-actions #workspace-menu{margin-right:auto}#workspace-menu{display:block}body.authenticated main{margin:0 auto}main{padding:18px 14px}#workspace>nav{display:none;inset:112px auto 0 0;width:260px;padding:20px 14px;z-index:50;grid-template-rows:none;grid-auto-flow:unset}body.menu-open #workspace>nav{display:block}body.menu-open #menu-backdrop{display:block;position:fixed;inset:112px 0 0;margin:0;width:100%;height:calc(100% - 112px);background:#14182166;z-index:45;border:0;border-radius:0}section{padding:20px 16px}.intro{margin-bottom:14px!important}.intro #status{font-size:11px}h2{font-size:22px}p{font-size:14px;line-height:1.65}.login-card{padding:24px;margin:10px auto}#notifications pre,#facebook-scan pre{font-size:14px}footer{gap:10px}#workspace>nav button{min-height:46px}.update-dialog{padding:20px}body:not(.authenticated) .header-actions{width:auto}body:not(.authenticated) .brand-header{width:auto}}

button{background:#fff;color:#41464f;border:1px solid #dfe3e8}button:hover{background:#f5f6f8;color:#22252a}form button:not([type=button]),#notifications article button:last-child{background:#bc4209;color:white;border-color:#bc4209}form button:not([type=button]):hover,#notifications article button:last-child:hover{background:#963608}.login-card button{color:white}.login-card details button{color:white}#notification-bell{font-size:12px}.header-actions #notification-bell:hover{color:#22252a}#notifications label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;font-weight:400}#notifications label input{margin:0;order:-1;width:18px;height:18px}#notifications>p{font-size:13px}#notifications pre{color:#59616d}
@media(max-width:760px){#notification-bell{position:absolute;right:16px;top:15px;padding:6px 9px;min-height:32px;font-size:11px;border:0;background:#f5f6f8}.brand-header{padding-right:100px}.header-actions{flex-wrap:nowrap}.header-actions button{flex:0 1 auto}.header-actions #workspace-menu{margin-right:auto}.intro #status{font-size:12px}#notifications h2{font-size:21px}#notifications article{margin-top:14px}#workspace>nav{top:108px}body.menu-open #menu-backdrop{top:108px;height:calc(100% - 108px)}}
.price-update-tabs,.price-actions,.price-target-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.price-update-tabs{margin-bottom:16px}.social-product-row{display:grid;grid-template-columns:auto minmax(220px,1fr) minmax(130px,180px) minmax(150px,220px);gap:8px;align-items:center;padding:9px;border-bottom:1px solid var(--sanh-border)}#social-product-choices{max-height:320px;overflow:auto;border:1px solid var(--sanh-border);border-radius:8px}.price-event-card{margin:14px 0}.price-rise{color:#b42318}.price-target{border-top:1px solid var(--sanh-border);padding:14px 0}.price-target-head strong{flex:1}.price-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}.price-compare>div{min-width:0}.price-compare pre{white-space:pre-wrap;overflow-wrap:anywhere;min-height:90px;padding:12px;background:#f7f8fa;border:1px solid var(--sanh-border);border-radius:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.market-table td{white-space:pre-wrap;vertical-align:top}
@media(max-width:760px){.price-compare,.form-grid{grid-template-columns:1fr}.social-product-row{grid-template-columns:auto 1fr}.social-product-row input[type=number],.social-product-row input[data-price-text]{grid-column:2}.price-update-tabs button{flex:1 1 140px}.price-target-head a{width:100%;margin-left:28px}}
.download-card{max-width:700px}.download-card article{margin:16px 0;padding:20px}.download-button{display:inline-block;background:#bc4209;color:#fff;text-decoration:none;padding:12px 16px;border-radius:8px;margin:6px 8px 6px 0;font-weight:600}.download-button:hover{background:#963608;color:#fff}.download-button.secondary{background:#fff;color:#a63b0b;border:1px solid #dfe3e8}
/* Four publish-ready news ratios remain readable on phones and desktop. */
.news-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:12px 0}.news-image-grid .post-image{width:100%;height:auto;max-height:340px;object-fit:contain;margin:0;background:#f5f5f5}.news-image-grid+details{margin-top:12px}
