@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');
:root{--navy:#12364d;--ink:#132f46;--teal:#008b87;--mint:#e1f5f1;--muted:#788899;--border:#e4ebef;--bg:#f3f6f8}*{box-sizing:border-box}body{margin:0;font-family:'Noto Sans TC',system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-color:var(--teal)}button,a.button{cursor:pointer}button{border:0;background:transparent;color:inherit}a{color:var(--teal);text-decoration:none}button{transition:background .16s,transform .16s}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #38b9b0;outline-offset:3px}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:linear-gradient(155deg,#12374e,#0c2d44);padding:27px 15px;color:#edf7fc;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:13px;padding:0 13px;color:white;font-weight:700;font-size:21px}.brand-icon{display:grid;place-items:center;width:43px;height:45px;border-radius:11px;background:linear-gradient(135deg,#09a9a2,#007d80);color:white;font-size:28px;font-weight:700;box-shadow:0 6px 18px #001f2f18}.brand small{display:block;letter-spacing:1.1px;font-size:9px;font-weight:400;color:#bed0db;margin-top:7px}.nav-label{font-size:10px;color:#789dad;letter-spacing:2px;margin:48px 17px 14px}.sidebar nav{display:grid;gap:10px}.sidebar button{display:flex;width:100%;align-items:center;gap:18px;text-align:left;padding:15px 20px;border-radius:8px;color:#dcebf3;font-size:15px;letter-spacing:1px}.sidebar button span{width:21px;text-align:center;font-size:23px;line-height:1}.sidebar button.active{background:#fff;color:#008581;box-shadow:0 4px 10px #0000000b;font-weight:600}.sidebar button:hover:not(.active){background:#ffffff0a}.sidebar-bottom{margin-top:auto}.note{margin:30px 16px;color:#c9dee6;font-size:12px;line-height:1.8}.note i{display:inline-block;width:6px;height:6px;background:#39b7a6;border-radius:100%;margin-right:7px}.note small{display:block;color:#7d9eae;font-size:10px;margin:7px 0}.version{font-size:10px;color:#7d9eae;margin:18px 22px}.shell{margin-left:238px}header{height:74px;border-bottom:1px solid #dfe7ed;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:#f8fafbcc}.search{display:flex;align-items:center;background:#eaf0f3;border-radius:8px;width:min(510px,55%);padding:10px 17px;gap:12px}.search span{font-size:25px;line-height:1}.search input{border:0;background:none;width:100%;outline:0;padding:0;color:var(--ink);font-size:13px}.header-right{display:flex;align-items:center;gap:13px}.header-right>button{font-size:26px}.divider{height:24px;border-left:1px solid #c8d4dc;margin:0 8px}.avatar{background:#d5e9e7;color:var(--teal);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:18px}.profile{font-weight:600;font-size:12px}.profile small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.mobile-menu{display:none}main{max-width:1660px;margin:auto;padding:29px 32px 40px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--muted);font-weight:500}h1{font-size:31px;letter-spacing:2px;margin:6px 0 4px;font-weight:800}h2{font-size:18px;letter-spacing:.3px;margin:0}h3{font-size:15px;margin:8px 0}p{line-height:1.8}.heading p{margin:0;color:#768899;font-size:15px}.primary,.outline,.button{border-radius:7px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:500;white-space:nowrap}.primary{background:var(--teal);color:#fff;border:1px solid var(--teal)}.outline{border:1px solid #bad9d8;background:#fff;color:#008883}.toolbar{display:flex;justify-content:space-between;margin:0 0 19px;align-items:center;gap:14px}.segmented{display:flex;padding:3px;background:#e7edf1;border-radius:8px;gap:3px}.segmented button{padding:7px 17px;border-radius:6px;font-size:12px;color:#6d7f8d}.segmented .selected{background:#fff;color:var(--teal);box-shadow:0 2px 5px #152f420a}.date-control{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}select{border:1px solid var(--border);background:#fff;border-radius:6px;padding:8px 11px;color:var(--ink);max-width:100%}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.metric{background:white;border:1px solid var(--border);border-radius:11px;padding:21px 19px;display:flex;gap:16px;align-items:center}.metric-icon{background:#e6f7f5;color:var(--teal);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:23px;flex-shrink:0}.metric h3{font-size:12px;font-weight:500;margin:0 0 6px}.metric strong{font-size:29px;letter-spacing:.4px;font-weight:700;line-height:1.2}.metric small{display:block;color:var(--muted);font-size:10px;margin-top:8px}.card{background:white;border:1px solid var(--border);border-radius:11px;padding:21px 22px;min-width:0;margin-bottom:18px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(285px,1fr);gap:0 18px}.card-heading{display:flex;align-items:center;gap:12px;margin-bottom:21px}.card-heading .text-button{margin-left:auto}.text-button{font-size:11px;color:#5b7895;white-space:nowrap;padding:5px}.pill{display:inline-flex;font-size:10px;border-radius:20px;padding:4px 9px;background:var(--mint);color:#078c80;white-space:nowrap}.pill.wait{background:#f1f3f6;color:#7b8894}.pill.warn{background:#fff2dc;color:#b97b29}.pill.fail{background:#ffeded;color:#b95353}.card-heading>.pill{margin-left:auto}.muted{color:var(--muted);font-size:11px}.workflow{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0 30px}.step{text-align:center;position:relative}.step:after{content:'';position:absolute;top:25px;left:calc(50% + 29px);width:calc(100% - 58px);height:1px;background:#dce6e9}.step:last-child:after{display:none}.step-icon{width:52px;height:52px;border:1px solid #cce9e5;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;font-size:22px;color:var(--teal);background:#eff9f7}.step strong{display:block;font-size:12px;font-weight:500}.step small{display:block;font-size:10px;color:#8a98a5;margin-top:7px}.batch-bottom{border-top:1px solid #eef2f5;padding-top:22px;display:flex;align-items:center;gap:15px;justify-content:space-between}.batch-bottom strong{font-size:12px}.batch-bottom p{font-size:11px;margin:5px 0;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions .primary,.actions .outline{font-size:11px;padding:8px 12px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-grid.full{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product{border:1px solid var(--border);border-radius:8px;overflow:hidden;background:white;cursor:pointer;transition:transform .16s,box-shadow .16s}.product:hover{transform:translateY(-3px);box-shadow:0 8px 22px #10364d0d}.product-image{height:156px;position:relative;background:#f1f0eb;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;background:#f3f3ef}.product-tag{position:absolute;top:9px;left:9px;font-size:9px;background:#fffdf4ed;border:1px solid #efe7c7;padding:4px 8px;border-radius:4px;color:#866b31}.product-info{padding:12px}.product h3{font-size:12px;line-height:1.7;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:41px}.product-desc{font-size:10px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-bottom:9px}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px}.product-bottom strong{font-size:11px;color:var(--teal)}.product-bottom button{font-size:10px;color:var(--teal);border:1px solid #c7dfdd;border-radius:5px;padding:5px 8px}.featured .card-heading .muted{font-size:10px}.service-row{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid #edf2f5}.service-row:last-child{border-bottom:0}.service-icon{background:#e8f7f5;color:#178e88;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:18px;flex-shrink:0}.service-row strong{font-size:12px;font-weight:500}.service-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.service-row .pill{margin-left:auto}.schedule-row{display:flex;gap:13px;align-items:center;border-bottom:1px solid #edf1f4;padding:13px 0}.schedule-row:last-child{border:0}.schedule-time{min-width:47px;font-weight:600;font-size:14px;color:#244357}.schedule-time small{display:block;font-size:9px;font-weight:400;color:var(--muted);margin-top:4px}.schedule-detail{min-width:0;flex:1}.schedule-detail strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-weight:500}.schedule-detail small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.empty{text-align:center;padding:38px 15px;color:#8796a4;line-height:1.9;font-size:12px}.empty-icon{font-size:26px;margin-bottom:6px;color:#a8c7c6}.section-note{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:20px 0}.studio-top{display:flex;align-items:center;gap:15px}.studio-top>div{flex:1}.studio-top p{color:var(--muted);font-size:12px}.asset-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #edf2f4}.asset-row img{width:48px;height:48px;object-fit:contain;border-radius:5px;background:#f5f7f7}.asset-row .identity{flex:1;min-width:0}.identity strong{font-size:12px;display:block}.identity small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.asset-row button{font-size:11px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-grid>.card{margin:0}.settings-grid p{font-size:12px;color:var(--muted)}form label,.card>label{display:block;font-size:12px;margin:15px 0 7px;color:#587086}input,textarea{width:100%;background:#f9fbfc;border:1px solid #dce6ec;border-radius:6px;padding:10px 12px;color:var(--ink);margin-top:6px;font-size:12px}textarea{resize:vertical;min-height:80px;line-height:1.8}form select{display:block;margin-top:7px;width:100%}form .primary{margin-top:14px}form .check{display:flex;gap:9px;align-items:center}form .check input{width:auto;margin:0}details{margin-top:17px;font-size:12px}summary{cursor:pointer;color:var(--teal)}#logout{margin-top:22px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-card{padding:20px;border:1px solid var(--border);border-radius:9px;background:white;margin-bottom:18px}.account-card h3{margin:0 0 10px}.account-card p{font-size:11px;color:var(--muted)}.account-setting{border-top:1px solid var(--border);padding:17px 0}.account-setting strong{font-size:13px}.account-setting p{margin:6px 0 12px}.notice{background:#fff7e9;color:#896639;border:1px solid #f1e0bc;border-radius:7px;padding:11px 15px;font-size:12px;line-height:1.7;margin-bottom:17px}footer{padding:0 32px 24px;font-size:9px;letter-spacing:1px;color:#8fa0ad;display:flex;justify-content:space-between}dialog{border:1px solid var(--border);border-radius:16px;max-width:650px;width:calc(100% - 32px);padding:32px;color:var(--ink);box-shadow:0 25px 100px #082a4429}dialog::backdrop{background:#08283869;backdrop-filter:blur(4px)}dialog#login{max-width:415px;padding:36px}#login .brand-icon{margin-bottom:22px}#login p{color:var(--muted);font-size:12px}#login .primary{width:100%;padding:13px}#login h2{font-size:22px}.dialog-close{position:absolute;right:15px;top:10px;font-size:26px;color:var(--muted)}#detail-body>img{max-width:100%;margin:15px 0}#detail-body p{font-size:13px;white-space:pre-wrap}.detail-links{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#173c4f;color:white;border-radius:8px;padding:13px 22px;z-index:100;box-shadow:0 6px 28px #0003;max-width:90vw;font-size:13px}
@media(min-width:1600px){.product-image{height:205px}.workflow{padding:36px 0 44px}.metric{padding:25px}}@media(max-width:1200px){.sidebar{width:210px}.shell{margin-left:210px}main{padding:25px 23px}.metrics{gap:10px}.metric{padding:16px 12px;gap:9px}.metric-icon{width:40px;height:40px;font-size:20px}.metric strong{font-size:25px}.overview-grid{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr)}.product-grid{gap:9px}.product-image{height:130px}.batch-bottom{display:block}.batch-bottom .actions{margin-top:14px}.product-grid.full{grid-template-columns:repeat(3,1fr)}}@media(max-width:980px){.overview-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.product-image{height:180px}.settings-grid{grid-template-columns:1fr}.studio-top{flex-wrap:wrap}.studio-top>div{flex-basis:100%}.product-grid.full{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{transform:translateX(-100%);width:220px}.sidebar.open{transform:translateX(0)}.shell{margin:0}.mobile-menu{display:block;font-size:22px}header{padding:0 16px;height:65px;gap:14px}.search{width:auto;flex:1}.header-right .profile,.header-right .divider{display:none}.header-right{gap:6px}.header-right>button{font-size:21px}.avatar{width:30px;height:30px}main{padding:23px 16px}.heading{gap:10px}h1{font-size:26px}.heading p{font-size:12px}.heading .primary{padding:10px;font-size:11px}.toolbar{flex-wrap:wrap}.date-control{width:100%;justify-content:space-between}.metrics{gap:10px}.metric{padding:15px 10px}.metric strong{font-size:24px}.metric small{font-size:9px}.metric h3{font-size:11px}.metric-icon{width:36px;height:36px;font-size:18px}.card{padding:18px 15px}.card-heading{gap:7px}h2{font-size:16px}.card-heading .muted{display:none}.workflow{padding:20px 0}.step-icon{width:40px;height:40px;font-size:18px}.step:after{top:20px;left:calc(50% + 24px);width:calc(100% - 48px)}.step strong{font-size:11px}.step small{font-size:9px}.product-grid{grid-template-columns:repeat(2,1fr)}.featured .product:last-child{display:none}.product-image{height:150px}.account-grid{grid-template-columns:1fr}.asset-row{gap:10px}.asset-row .pill{display:none}.asset-row img{width:38px;height:38px}.asset-row .identity strong{font-size:11px}.section-note span:last-child{display:none}footer{padding:0 16px 20px;font-size:8px;gap:10px}.card-heading .pill{font-size:8px}dialog{padding:26px 20px}.schedule-row .outline{font-size:9px;padding:6px}}

.revenue-empty{height:245px;position:relative;margin:16px 0 8px}.chart-grid{position:absolute;inset:10px 0;background:repeating-linear-gradient(to top,transparent 0,transparent 48px,#edf2f5 49px,#edf2f5 50px);border-left:1px solid #e4ebef;border-bottom:1px solid #e4ebef}.revenue-message{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;text-align:center;color:var(--muted)}.revenue-message .metric-icon{margin-bottom:12px}.revenue-message strong{font-size:16px;color:var(--ink)}.revenue-message p{font-size:12px;margin:9px 0}.revenue-message small{font-size:10px;background:#fff;padding:5px}.revenue-foot{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;padding-top:8px}.revenue-ranges button{font-size:11px;padding:6px 9px}#view-overview>.workflow-card{margin-top:20px}#view-results>.card p{line-height:1.9;font-size:13px}

.social-overview{display:grid;gap:16px;padding:18px 0;min-height:245px}.social-stat{display:grid;grid-template-columns:100px 90px 1fr;align-items:center;gap:16px;border-bottom:1px solid #e7edf1;padding:10px}.social-stat b{font-size:28px;color:#008a87}.social-stat small{color:#698092;line-height:1.6}.insight-accounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.insight-accounts p{overflow-wrap:anywhere}.table-scroll{overflow-x:auto}.table-scroll table{width:100%;border-collapse:collapse;font-size:13px}.table-scroll th,.table-scroll td{text-align:left;padding:14px 10px;border-bottom:1px solid #e6edf1;min-width:70px}.table-scroll td:nth-child(2){min-width:210px;max-width:320px}.post-link{color:#008a87;line-height:1.6}.table-scroll td:last-child{min-width:160px}@media(max-width:900px){.insight-accounts{grid-template-columns:1fr}.social-stat{grid-template-columns:90px 60px 1fr}}

/* Consistent vector navigation and touch-friendly responsive layout. */
.nav-icon{width:23px;height:23px;flex:none;display:block}.sidebar .nav-icon{width:22px;height:22px}.sidebar .brand{padding-right:0;font-size:20px;white-space:nowrap}.brand-icon{flex-shrink:0}.sidebar button{letter-spacing:.3px}.sidebar .menu-close,.menu-backdrop{display:none}.metric>div:last-child{min-width:0}.card,.account-card,.account-setting{overflow-wrap:anywhere}.search{min-width:0}.search input{min-width:0}.actions button{min-height:40px}.table-scroll{max-width:100%;overscroll-behavior-x:contain}.social-stat small{overflow-wrap:anywhere}.card-heading{flex-wrap:wrap}.revenue-ranges{margin-left:auto}.account-setting .muted{word-break:break-all}dialog{max-height:calc(100dvh - 32px);overflow:auto}input,textarea{max-width:100%}
@media(max-width:1100px) and (min-width:701px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 body.menu-open{overflow:hidden}.sidebar{width:min(290px,85vw);height:100dvh;transition:transform .2s ease;overflow-y:auto;padding-top:64px;z-index:50}.sidebar .menu-close{display:flex;position:absolute;right:12px;top:12px;width:44px;height:44px;padding:10px;justify-content:center}.menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#08283880;backdrop-filter:blur(3px);z-index:40}.sidebar .nav-label{margin-top:32px}.sidebar nav button{min-height:52px}.sidebar-bottom{padding-bottom:env(safe-area-inset-bottom)}
 header{position:sticky;top:0;z-index:20;background:#f8fafbf5;padding:0 12px;gap:8px}.mobile-menu{width:44px;height:44px;padding:10px;flex:none}.header-right>button{width:40px;height:44px;display:grid;place-items:center}.search{padding:10px;gap:7px}.search .nav-icon{width:18px;height:18px}.search input{font-size:16px}.header-right .avatar{display:none}
 main{padding:20px 14px 28px}.heading{align-items:flex-start}.heading h1{font-size:26px}.heading .primary{min-height:44px;margin-top:5px}.heading .eyebrow{font-size:10px;letter-spacing:.5px}.toolbar .segmented{width:100%}.toolbar .segmented button{flex:1;min-height:40px;padding:8px}.date-control select{flex:1;min-width:0;font-size:14px;min-height:44px}.date-control>span{flex-shrink:0}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{align-items:flex-start;gap:8px;padding:14px 10px;min-width:0}.metric-icon{width:30px;height:30px}.metric strong{font-size:26px}.metric h3{font-size:11px;line-height:1.6}.metric small{font-size:10px;line-height:1.6}
 .card{padding:18px 14px}.card-heading{gap:10px;margin-bottom:15px}.revenue-ranges{margin:0;width:100%}.revenue-ranges button{flex:1;min-height:40px}.social-overview{min-height:0;gap:8px;padding:0}.social-stat{grid-template-columns:1fr auto;gap:6px;padding:14px 0}.social-stat small{grid-column:1/-1;font-size:11px}.social-stat b{font-size:26px}.revenue-foot{align-items:center;gap:8px;font-size:10px}
 .product-grid,.product-grid.full{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:145px}.product-info{padding:10px}.product-bottom{flex-wrap:wrap}.product-bottom button{min-height:38px}.workflow{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.step:after{display:none}.step strong{font-size:12px}.step small{font-size:11px}.batch-bottom .actions{display:grid;grid-template-columns:1fr}.batch-bottom .button,.batch-bottom button{min-height:44px}
 .settings-grid,.account-grid,.insight-accounts{grid-template-columns:minmax(0,1fr)}.settings-grid input,.settings-grid textarea,dialog input,dialog textarea,dialog select{font-size:16px;min-height:44px}.account-setting .actions{display:grid;grid-template-columns:1fr;width:100%}.actions .outline,.actions .primary{min-height:44px}.schedule-row{flex-wrap:wrap}.schedule-detail{min-width:0}.schedule-row .outline{min-height:40px}.asset-row{flex-wrap:wrap}.asset-row .identity{min-width:0;flex:1}.asset-row .identity strong{overflow-wrap:anywhere}.studio-top{gap:12px}#toast{bottom:calc(16px + env(safe-area-inset-bottom));width:calc(100% - 28px);max-width:460px;padding:13px 16px}.table-scroll th,.table-scroll td{padding:12px 9px}footer{flex-wrap:wrap;line-height:1.8}
}
@media(prefers-reduced-motion:reduce){.sidebar,button,.product{transition:none}}

.product-text .product-info{padding:20px}.product-text h3{min-height:0;margin:12px 0}.affiliate-block{display:flex;flex-direction:column;gap:9px;margin:14px 0;padding:12px;background:#f1f8f8;border-radius:10px;min-width:0}.affiliate-url{color:#007c80;overflow-wrap:anywhere;font-weight:600}.affiliate-block button{align-self:flex-start}.affiliate-block small{line-height:1.6}.asset-row .identity{min-width:0;flex:1}@media(max-width:600px){.product-grid{grid-template-columns:1fr!important}.product-text .product-info{padding:15px}.asset-row{flex-wrap:wrap}}
