:root{--green:#185f52;--green-dark:#123e37;--lime:#d5edaa;--text:#243730;--muted:#89928d;--line:#e9ede8;--bg:#f7f8f5;--white:#fff}*{box-sizing:border-box}body{margin:0;font:14px/1.6 "Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #9bc3b3;outline-offset:3px}input,select,textarea{border:1px solid #dfe5df;border-radius:7px;background:#fff;padding:10px 12px;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:#6f9f90;box-shadow:0 0 0 3px #185f5210}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px;cursor:pointer;padding:0}textarea{resize:vertical;min-height:130px}a{color:var(--green);text-decoration:none}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.97)}[hidden]{display:none!important}.app-shell{min-height:100vh;display:flex}.sidebar{width:230px;background:var(--green-dark);color:#e7eee8;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:32px 20px 0}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:24px;font-weight:700;letter-spacing:2px;margin:0 10px 48px}.brand-mark{display:inline-flex;background:var(--lime);color:var(--green-dark);width:41px;height:43px;align-items:center;justify-content:center;border-radius:12px;font-size:30px;line-height:1;font-weight:bold}.brand small{font-size:10px;display:block;letter-spacing:2px;font-weight:400;color:#a9c1b7;margin-top:0}.workspace-label{font-size:10px;letter-spacing:2px;color:#85a89a;display:flex;justify-content:space-between;margin:0 12px 16px}.workspace-label span{font-size:9px;border:1px solid #46645a;border-radius:4px;padding:0 5px;letter-spacing:0}nav{display:grid;gap:8px}.nav-item{color:#abc3b8;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:13px 15px;border-radius:8px;font-size:13px}.nav-item>span:first-child{font-size:20px;line-height:1}.nav-item.active{background:#d5edaa;color:#244638;font-weight:700}.nav-item .nav-count{margin-left:auto;font-size:11px;background:#bedb91;padding:0 6px;border-radius:4px}.side-guide{margin-top:auto;background:#214c40;border:1px solid #365c4b;border-radius:9px;padding:18px 15px;margin-bottom:28px}.guide-icon{font-size:25px;color:#d4e7b9;margin-bottom:13px}.side-guide strong{font-size:12px}.side-guide p{font-size:10px;line-height:2;color:#a0b5a8}.side-guide button{margin-top:8px;border:0;border-top:1px solid #3a604f;padding:13px 0 0;width:100%;background:none;text-align:left;color:#d5edaa;font-size:11px}.side-guide button span{float:right}.side-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid #36574a;margin:0 -20px;padding:21px 23px;font-size:11px}.avatar{border:1px solid #64806b;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#45634c;color:#e4ecd9}.side-bottom small{display:block;font-size:9px;color:#91ad9c}.side-bottom .icon-button{margin-left:auto;color:#a6beaf}main{margin-left:230px;width:calc(100% - 230px)}.topbar{height:74px;border-bottom:1px solid #e5e9e2;background:#fff9;display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:11px}.breadcrumb{color:#8b958d}.breadcrumb span{padding:0 13px;color:#bdc3bb}.breadcrumb strong{font-weight:500;color:#42544b}.topbar-right{display:flex;align-items:center;gap:8px;color:#8d968e;font-size:10px}.live-dot,.color-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#78a88a;flex-shrink:0}.divider{height:12px;width:1px;background:#e1e5dd;margin:0 12px}.page-content{max-width:1680px;margin:auto;padding:35px 40px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#7c9284}.page-heading h1{margin:4px 0 6px;font-size:29px;letter-spacing:1px;line-height:1.5;font-weight:650}.title-dot{color:#93b273}.page-heading p{margin:0;font-size:11px;color:#8a948c}.heading-actions{display:flex;gap:10px}.button,.primary,.danger{border:1px solid #dfe5dc;border-radius:7px;background:white;color:#4b5d50;padding:10px 17px;font-size:11px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 6px #183d3510}.danger{background:#a33b3b;color:white;border-color:#a33b3b}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{background:white;border:1px solid #e7ebe3;border-radius:10px;padding:18px 21px}.stat-top{font-size:11px;color:#7f8c80;display:flex;align-items:center;justify-content:space-between}.stat-symbol{display:grid;place-items:center;border-radius:7px;width:29px;height:29px;background:#eff4e9;color:#7c9b62;font-size:18px}.stat-number{font-size:32px;letter-spacing:-1px;line-height:1.3;font-weight:600;margin:8px 0 17px;font-variant-numeric:tabular-nums}.stat-foot{font-size:9px;color:#9aa197;display:flex;align-items:center;gap:7px;white-space:nowrap}.mini-badge{background:#edf4e8;padding:2px 5px;color:#6d905e;border-radius:3px;font-size:8px}.pink{color:#c47f83;background:#fbefed}.blue{color:#7b97b9;background:#edf2f9}.amber{color:#bc9c5e;background:#f8f3e8}.pink-dot{background:#d59fa1}.blue-dot{background:#9caeca}.amber-dot{background:#cfb67d}.quick-entry{border:1px solid #e1e8dc;background:#eff3e9;border-radius:9px;display:flex;align-items:center;gap:15px;padding:18px 22px;margin-bottom:28px}.quick-icon{display:grid;place-items:center;background:#e1ead7;border-radius:10px;width:40px;height:40px;font-size:24px;color:#688852}.quick-entry strong{font-size:12px;font-weight:600}.quick-entry p{margin:3px 0 0;color:#89967f;font-size:10px}.quick-entry .button{margin-left:auto;background:#fbfcf8;border-color:#dce5d3;padding:9px 15px}.quick-entry .button span{margin-left:25px}.records-panel{background:white;border:1px solid #e4e9df;border-radius:10px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 19px}.panel-heading h2{font-size:15px;margin:0;display:flex;align-items:center;gap:9px}.panel-heading h2 span{font-size:9px;background:#f0f3ed;color:#829277;border-radius:4px;padding:1px 6px}.panel-heading p{font-size:10px;color:#98a08f;margin:4px 0 0}.panel-heading .button{padding:8px 13px;font-size:10px}.toolbar{padding:0 23px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.tabs{display:flex;gap:18px;align-items:center}.tabs button{padding:9px 0;border:0;border-bottom:2px solid transparent;color:#91998f;background:none;font-size:10px;white-space:nowrap}.tabs .selected{color:var(--green);border-color:var(--green);font-weight:600}.tabs span{font-size:8px;padding:1px 5px;background:#eff3ea;border-radius:3px;margin-left:3px}.tabs i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#d89c69;vertical-align:top;margin-top:5px;margin-left:2px}.filters{display:flex;gap:8px}.filters input,.filters select{font-size:9px;padding:8px 9px;background:#fbfcf9;border-color:#e7ebe2;max-width:133px}.search{display:flex;align-items:center;position:relative}.search span{position:absolute;left:10px;font-size:20px;color:#a1aa99}.search input{padding-left:29px;max-width:175px;width:175px}.table-scroll{overflow:auto;min-height:47px}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px}th{font-size:9px;color:#8e9b87;background:#f7f9f4;border-block:1px solid #edf0e9;font-weight:500;padding:12px 14px}th.check-cell{width:40px}td{padding:17px 14px;border-bottom:1px solid #f0f2eb;vertical-align:middle}.check-cell{padding-left:22px;width:38px}th.numeric,td.numeric{text-align:right;font-variant-numeric:tabular-nums}td.numeric{font-size:13px;font-weight:550;color:#425343}.video-cell{max-width:290px;min-width:190px}.video-title{overflow:hidden;text-overflow:ellipsis;max-width:290px;display:block;font-size:11px;font-weight:550;color:#344b3b;margin-bottom:4px}.video-sub{color:#99a290;font-size:9px;max-width:265px;overflow:hidden;text-overflow:ellipsis;display:block}.client-chip{background:#f2f4ec;color:#7a8d66;border-radius:4px;padding:3px 7px;font-size:9px;display:inline-block;max-width:110px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.date-cell{font-size:10px;color:#899580}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;padding:3px 7px;border-radius:4px;background:#eff1ec;color:#88917e}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.success{color:#5c9569;background:#edf6ed}.badge.partial{color:#a68b53;background:#faf4e5}.badge.failed{color:#be806e;background:#fbefea}.badge.collecting,.badge.queued{color:#6990aa;background:#eef4fa}.row-error{font-size:8px;color:#b38f78;display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.row-actions{display:flex;gap:9px}.row-actions button{border:0;background:none;font-size:10px;color:#7b8e71;padding:3px}.row-actions button:hover{color:var(--green)}.empty-state{padding:42px 20px 48px;text-align:center}.empty-art{width:80px;height:78px;margin:0 auto 20px;position:relative;display:flex;align-items:center;justify-content:center}.empty-art span{display:grid;place-items:center;width:53px;height:63px;border:1px solid #cedcc4;background:linear-gradient(140deg,#f2f7ed,#e5eddd);border-radius:8px;transform:rotate(-8deg);font-size:24px;color:#8ba07a;box-shadow:5px 7px 0 #f0f4ea}.empty-art b{position:absolute;right:1px;bottom:0;border:3px solid #fff;border-radius:50%;background:#dce8cb;color:#6c8753;width:28px;height:28px;display:grid;place-items:center;font-size:13px}.empty-art i{width:5px;height:5px;border:1px solid #b3c59f;position:absolute;left:-7px;top:18px;transform:rotate(40deg)}.empty-state h3{font-size:14px;font-weight:600;margin:0 0 8px}.empty-state p{font-size:10px;line-height:1.9;color:#99a28e;margin:0 0 20px}.empty-state small{display:block;font-size:9px;color:#adb4a4;margin-top:12px}.empty-state .primary{font-size:10px;padding:9px 16px}.table-footer{padding:14px 23px;border-top:1px solid #eef1e8;display:flex;align-items:center;justify-content:space-between;color:#a0a995;font-size:9px}.pagination{display:flex;gap:12px;align-items:center}.pagination button{border:1px solid #e8ece1;background:white;border-radius:4px;color:#88947c;width:24px;height:24px}.bottom-note{display:flex;align-items:center;gap:7px;color:#95a28a;font-size:9px;margin:16px 2px}.footer-brand{margin-left:auto;letter-spacing:2px;color:#aeb7a3;font-size:8px}.page-footer{display:flex;justify-content:space-between;border-top:1px solid #e6ebdf;margin-top:44px;padding-top:15px;color:#b1b8a7;font-size:8px}.page-footer span{letter-spacing:1px}.selection-bar{display:flex;align-items:center;gap:16px;background:#f0f6eb;padding:10px 23px;font-size:10px}.selection-bar button{background:none;border:0;font-size:10px;color:var(--green)}.danger-text{color:#b56354!important}.icon-button{border:0;background:none;font-size:24px;line-height:1;padding:4px;color:#87947c}.text-button{border:0;background:none;color:#829173;font-size:10px;padding:12px}.panel{padding:28px;background:white;border:1px solid var(--line);border-radius:10px}.panel h2{font-size:18px;margin:8px 0 13px}.panel h3{font-size:14px;margin:0 0 22px}.panel p{font-size:12px;color:#89947e}.settings-grid,.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .full{grid-column:1/-1}.settings-grid form{margin-top:26px}.settings-grid label{max-width:400px}.connection{display:flex;align-items:center;gap:8px;background:#f5f8f0;padding:15px;margin:22px 0;font-size:12px}.form-help{font-size:11px!important;line-height:1.9}.info-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.info-columns strong{font-size:12px}.info-columns p{font-size:11px;line-height:2}.insight-intro{background:#eaf0e2;padding:28px 32px;border-radius:10px;margin-bottom:20px}.insight-intro h2{font-size:22px;font-weight:550;margin:10px 0}.insight-intro p{font-size:11px;color:#88977b}.insight-grid{margin-bottom:20px}.daily-chart{height:190px;display:flex;align-items:flex-end;gap:18px;padding-top:15px}.chart-col{flex:1;text-align:center;display:flex;height:100%;flex-direction:column;justify-content:flex-end;font-size:10px;color:#94a182}.chart-bar{background:#abc397;border-radius:4px 4px 0 0;min-height:2px;margin:5px 0 10px}.health-row,.rank-row{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.health-row strong{margin-left:auto}.rank-row a{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rank-row span{color:#9aab89}.rank-row strong{color:var(--green)}.muted{color:#99a28e;font-size:12px}.auth-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 20%,#e4edd8,transparent 60%),#f5f7f1}.auth-card{width:min(430px,90vw);background:#fff;border:1px solid #e3e9db;padding:42px;border-radius:16px;box-shadow:0 20px 70px #173b2810}.auth-card>.brand-mark{margin-bottom:28px}.auth-card>.eyebrow{display:block}.auth-card h1{font-size:26px;margin:10px 0}.auth-card p{font-size:12px;color:#8c9980}.auth-card form{margin-top:28px}.auth-card button{width:100%;margin-top:14px;font-size:12px}.auth-card small{display:block;text-align:center;color:#a4af99;font-size:10px;margin-top:30px}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:550;color:#627556;margin-bottom:18px}#auth-error{color:#b76350;min-height:19px;margin-bottom:0}dialog{border:1px solid #e1e7d9;border-radius:14px;padding:30px;max-height:90vh;width:min(620px,94vw);color:var(--text);box-shadow:0 25px 120px #183d342b}dialog::backdrop{background:#142d26a0;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.dialog-heading h2{font-size:20px;margin:5px 0}.dialog-desc{font-size:11px;color:#909d84;margin-bottom:24px}.dialog-heading .icon-button{align-self:flex-start}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.optional{font-size:10px;font-weight:400;color:#a5ad9d}.form-callout{display:flex;align-items:center;gap:10px;background:#f2f6ec;border-radius:6px;padding:10px 13px;color:#809369;margin:7px 0 24px}.form-callout p{font-size:10px;line-height:1.7;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #edf0e6;padding-top:21px}.detail-title{font-size:15px;margin-bottom:7px}.detail-link{display:block;overflow-wrap:anywhere;font-size:11px;margin-bottom:20px}.detail-metrics{display:flex;gap:30px;background:#f5f8ef;padding:18px;border-radius:6px;margin:15px 0}.detail-metrics strong{display:block;font-size:21px}.detail-metrics span{font-size:10px;color:#91a07e}.detail-error{padding:12px;background:#fbf2e8;color:#a18357;font-size:11px;border-radius:5px;margin-bottom:20px}.history{max-height:210px;overflow:auto;margin-bottom:25px}.history table{font-size:10px}.history td{padding:10px}.history th{padding:10px}.detail-time{font-size:10px;color:#98a38c;margin-bottom:15px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#234b3d;color:#fff;font-size:12px;border-radius:8px;padding:13px 23px;box-shadow:0 8px 40px #0c302426;z-index:99;max-width:90vw}#confirm-dialog p{font-size:12px;color:#8b9680}#confirm-dialog{width:420px}button.loading{opacity:.6;pointer-events:none}@media(min-width:1550px){.stat{padding:22px 25px}.stat-number{font-size:37px}.page-content{padding-top:45px}.empty-state{padding-block:65px}.stat-foot{font-size:10px}}@media(max-width:1200px){.sidebar{width:190px;padding-inline:14px}.side-bottom{margin-inline:-14px;padding-inline:16px}.brand{margin-inline:5px}.workspace-label{margin-inline:7px;font-size:9px}main{margin-left:190px;width:calc(100% - 190px)}.page-content{padding-inline:25px}.topbar{padding-inline:25px}.stats-grid{gap:10px}.stat{padding:15px}.stat-foot{font-size:8px;gap:5px}.stat-number{font-size:29px}.toolbar{gap:12px}.filters{flex:1;justify-content:flex-end}.tabs{gap:15px}.search input{width:160px}.info-columns{gap:20px}}@media(max-width:900px){.sidebar{width:76px;padding:25px 12px}.brand{margin:0 auto 45px}.brand>span:last-child,.workspace-label,.side-guide,.nav-count,.side-bottom,.nav-item>span:not(:first-child){display:none}.nav-item{font-size:0;justify-content:center;padding:14px}.nav-item>span:first-child{font-size:23px}.brand-mark{width:39px;height:41px}.nav-item{gap:0}main{margin-left:76px;width:calc(100% - 76px)}.page-content{padding:26px 22px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.stat{padding:18px}.stat-number{margin-bottom:10px}.stat-foot{font-size:9px}.page-heading h1{font-size:26px}.topbar-right{font-size:9px}.settings-grid,.insight-grid{grid-template-columns:1fr}.info-columns{grid-template-columns:1fr;gap:8px}.filters{justify-content:flex-start}.toolbar{padding-inline:18px}.panel-heading{padding:20px 18px}.quick-entry{padding:15px}.quick-entry p{max-width:210px}.heading-actions{gap:7px}.heading-actions button{padding:9px 12px}.page-footer{margin-top:30px}}@media(max-width:580px){.sidebar{width:58px;padding:20px 7px}.brand-mark{width:35px;height:37px;font-size:26px}.nav-item{padding-inline:7px}.nav-item>span:first-child{font-size:22px}main{margin-left:58px;width:calc(100% - 58px)}.topbar{height:57px;padding:0 16px}.topbar-right{display:none}.page-content{padding:23px 15px}.page-heading{align-items:flex-start;gap:15px;flex-direction:column;margin-bottom:22px}.heading-actions{width:100%}.heading-actions button{flex:1}.page-heading .eyebrow{font-size:8px}.page-heading h1{margin-top:7px}.stats-grid{gap:8px;margin-bottom:15px}.stat{padding:13px 12px}.stat-top{font-size:10px}.stat-number{font-size:26px}.stat-symbol{width:24px;height:24px;font-size:16px}.stat-foot{font-size:8px;white-space:normal;line-height:1.6}.quick-entry{gap:10px;flex-wrap:wrap;margin-bottom:18px}.quick-icon{width:32px;height:32px;font-size:20px}.quick-entry>div:nth-child(2){flex:1}.quick-entry p{font-size:9px}.quick-entry .button{width:100%;margin-top:4px}.quick-entry .button span{margin-left:8px}.tabs{gap:13px;width:100%;justify-content:space-between}.tabs button{font-size:9px}.filters{flex-wrap:wrap}.search{width:100%}.search input{width:100%;max-width:none}.filters>input,.filters>select{flex:1;max-width:none}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px}.panel-heading .button{font-size:9px;padding:7px 9px}.panel-heading{padding:18px 13px}.toolbar{padding-inline:13px}.table-footer{padding:12px 13px}.empty-state{padding:37px 12px}.empty-state h3{font-size:13px}.empty-state p{font-size:9px}.footer-brand{display:none}.bottom-note{font-size:8px}.page-footer span{display:none}.selection-bar{flex-wrap:wrap;gap:10px;padding:10px 13px}.panel{padding:22px}.two-fields{grid-template-columns:1fr;gap:0}dialog{padding:23px}.auth-card{padding:30px}.insight-intro{padding:22px}.insight-intro h2{font-size:18px}.daily-chart{gap:10px}}

/* Author identity and publication metadata */
.title-with-project{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.project-control{display:flex;align-items:center;gap:6px}.project-control label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:10px;color:#86927b}.project-control select{font-size:12px;min-width:150px;max-width:230px;color:#315944;background:#fff;padding:8px 10px}.project-add{height:35px;width:33px;border:1px solid #dce5d4;border-radius:6px;background:#edf4e5;color:#4d7241;font-size:18px}.project-context{background:#f0f5e9;color:#58764b;padding:9px 12px;border-radius:6px;font-size:11px;margin-bottom:18px}#project-dialog{width:min(480px,94vw)}.page-heading{gap:18px}@media(max-width:580px){.title-with-project{gap:8px}.project-control select{min-width:130px;max-width:180px}.project-control label{font-size:9px}}
.note-cell{min-width:105px;max-width:180px}.note-button{display:block;margin-inline:auto;max-width:180px;border:0;background:#f3f6ed;color:#92a087;border-radius:5px;padding:6px 9px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-button.has-note{color:#526c48}.note-button:hover{background:#e8f0dd;color:#375c36}.import-note{max-width:180px;overflow:hidden;text-overflow:ellipsis}#note-record{overflow-wrap:anywhere}
#merchant-dialog{width:min(480px,94vw)}#merchant-error{font-size:11px;color:#bd6652;line-height:1.8}.heading-actions{flex-wrap:wrap}.heading-actions button{white-space:nowrap}
/* Keep the record table headings and their contents aligned. */
#records-view .table-scroll th,#records-view .table-scroll td{text-align:center}
#records-view .row-actions{justify-content:center}
#records-view .author-name,#records-view .video-title,#records-view .video-sub,#records-view .row-error{margin-inline:auto}
#records-view .category-select,#records-view .merchant-select{text-align:center;text-align-last:center}
.merchant-select{font-size:10px;padding:6px 8px;min-width:130px;color:#607971;background:#f2f7f4;border-color:#dde9e2}.merchant-chip{font-size:10px;color:#607971;white-space:nowrap}.merchant-help{margin-top:-10px;color:#94a18b}.selection-bar .bulk-category-label select{max-width:150px}
.category-select{font-size:10px;padding:6px 8px;min-width:105px;color:#64804f;background:#f0f5e9;border-color:#e0e9d6}.category-select.matrix{color:#58778c;background:#edf4f8;border-color:#dbe6ed}.category-chip{font-size:10px;padding:4px 8px;border-radius:5px;color:#64804f;background:#f0f5e9;white-space:nowrap}.category-chip.matrix{color:#58778c;background:#edf4f8}.bulk-category-label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:10px}.bulk-category-label select{font-size:10px;padding:5px 8px}.rank-controls{padding:25px 26px 0;margin-bottom:22px}.rank-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.rank-intro h2{margin:8px 0;font-size:21px;font-weight:550}.rank-intro p{font-size:11px;margin:0}.rank-intro label{min-width:155px;margin:0}.rank-tabs{border:0;margin:0;padding-bottom:18px;flex-wrap:wrap;gap:8px}.rank-tabs button{font-size:12px;padding:10px 16px}.rank-live{display:flex;gap:6px;align-items:center;font-size:10px;color:#8c9a80}.rank-position{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#f1f4ec;color:#8a987e;font-weight:650;font-size:12px;font-variant-numeric:tabular-nums}.rank-position.top-rank{background:#e7efda;color:#456534}.ranking-panel td:first-child,.ranking-panel th:first-child{padding-left:24px}.ranking-panel .rank-value{font-size:18px;color:#567847}.rank-empty{text-align:center;padding:45px 20px;color:#93a087;font-size:12px}.ranking-panel .video-title{max-width:360px}.ranking-panel .table-scroll{max-height:650px}.ranking-panel thead th{position:sticky;top:0;z-index:1}.selection-bar{flex-wrap:wrap}.filters{flex-wrap:wrap}@media(max-width:580px){.rank-controls{padding:19px 15px 0}.rank-intro{align-items:flex-start;flex-direction:column;gap:15px}.rank-intro label{width:100%}.rank-intro h2{font-size:18px}.rank-tabs button{font-size:10px;padding:9px 10px}.rank-live{display:none}.ranking-panel td:first-child,.ranking-panel th:first-child{padding-left:15px}}
.author-cell{min-width:85px;max-width:120px}.author-name{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#425343}.author-name.repeated{color:#c54242;font-weight:650}.repeat-count{font-variant-numeric:tabular-nums;color:#879079}.repeat-count.repeated{color:#c54242;font-weight:650}.detail-facts{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;background:#f6f8f2;border:1px solid #e8eddf;border-radius:7px;padding:15px;margin:0 0 22px}.detail-facts span{display:block;font-size:10px;color:#91a07e;margin-bottom:5px}.detail-facts strong{font-size:12px;font-weight:550}.detail-facts .author-name{max-width:200px}@media(max-width:580px){.detail-facts{gap:12px;padding:12px}.detail-facts strong{font-size:11px}}

.availability{display:inline-block;font-size:10px;padding:3px 9px;border-radius:4px;white-space:nowrap}.availability.online{color:#3e7d54;background:#edf6ed}.availability.offline{color:#d02f35;background:#fff0f0;font-weight:700}.availability.unknown{color:#8b927e;background:#f1f3ed}.online-cell{min-width:76px}.detail-facts{grid-template-columns:1fr auto auto 1fr}.detail-facts .availability{font-size:11px}@media(max-width:580px){.detail-facts{grid-template-columns:1fr 1fr}}

/* Periodic publishing reports */
.report-controls{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 23px;margin-bottom:25px}.report-period-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:19px}.report-period-tabs button{padding:8px 20px;border:0;border-radius:6px;background:transparent;color:#8d9982;font-size:12px}.report-period-tabs button.selected{background:#e9f1df;color:#3e684a;font-weight:600}.report-form{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-end}.report-form label{margin:0;gap:6px;font-size:10px;min-width:135px}.report-form input,.report-form select{font-size:11px;height:39px;padding:8px 10px}.report-form input[type=number]{width:120px}.report-form .primary{height:39px}.report-range-nav{display:flex;gap:6px;margin-left:auto}.report-range-nav .button{height:39px;padding:8px 13px}.report-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:16px}.report-heading h2{font-size:21px;margin:5px 0 6px;font-weight:600}.report-heading p{font-size:11px;color:#8b9880;margin:0}.report-live-label{font-size:10px;display:flex;gap:7px;align-items:center;color:#8c9a80;white-space:nowrap}.report-warning{background:#fbf5e8;border:1px solid #eee1c6;border-radius:7px;color:#a08756;padding:11px 15px;font-size:10px;line-height:1.9;margin:0 0 20px}.report-stats .stat-foot{white-space:normal;min-height:16px}.report-chart-panel{padding:22px 24px;margin-bottom:22px}.report-chart-heading{display:flex;justify-content:space-between;align-items:center}.report-chart-heading h3{margin:0;font-size:13px}.report-chart-heading>span{font-size:10px;color:#98a38d}.report-chart-scroll{overflow-x:auto}.report-chart{display:flex;align-items:flex-end;gap:7px;height:190px;padding:16px 5px 0}.report-column{flex:1;min-width:20px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;height:100%}.report-bar-value{font-size:9px;color:#92a382;line-height:20px}.report-bar{width:68%;max-width:44px;background:#a2bd8e;border-radius:4px 4px 0 0;transition:height .15s}.report-bar-label{font-size:9px;line-height:30px;color:#97a388;white-space:nowrap}.report-table{margin-bottom:16px}.report-table td:first-child,.report-table th:first-child{padding-left:24px}.report-table td:last-child,.report-table th:last-child{padding-right:24px}.report-table td.numeric strong{font-weight:550}.report-table td small{display:block;font-size:9px;font-weight:400;color:#ae9470;margin-top:3px}.report-table tfoot{background:#f0f5e9}.report-table tfoot th,.report-table tfoot td{font-weight:600;color:#41623e;padding-block:15px}.report-table-hint{font-size:9px;color:#a0a98f}.report-metric-note{font-size:10px;line-height:1.9;color:#929e86;margin:14px 3px 0}.report-updated{font-size:9px;color:#abb39f;margin:5px 3px}.report-loading{background:#eef3e7;border-radius:7px;padding:13px 16px;font-size:11px;color:#7b9266;margin-bottom:18px}.report-error{padding:15px;border:1px solid #efd8cf;background:#fff3ed;color:#b67d62;border-radius:7px;font-size:12px}@media(max-width:900px){.report-controls{padding:18px}.report-period-tabs{gap:3px;justify-content:space-between}.report-period-tabs button{padding:8px 11px;font-size:11px}.report-range-nav{margin-left:0}.report-heading h2{font-size:18px}.report-table-hint{display:none}}@media(max-width:580px){.report-controls{padding:14px}.report-period-tabs{flex-wrap:wrap;justify-content:flex-start}.report-period-tabs button{padding:8px 10px;font-size:10px}.report-form{gap:12px}.report-form label{flex:1;min-width:120px}.report-form input,.report-form select{width:100%}.report-form input[type=number]{width:100%}.report-form>.primary{flex:1}.report-range-nav{width:100%;justify-content:space-between}.report-range-nav .button:nth-child(2){flex:1}.report-live-label{display:none}.report-heading h2{font-size:17px}.report-chart-panel{padding:19px 15px}.report-table .panel-heading{padding-inline:15px}.report-table td,.report-table th{padding-inline:12px}.report-table td:first-child,.report-table th:first-child{padding-left:15px}.report-table td:last-child,.report-table th:last-child{padding-right:15px}}
.report-table .table-scroll{max-height:450px;overflow:auto}.report-table thead th{position:sticky;top:0;z-index:1}.report-table tfoot th,.report-table tfoot td{position:sticky;bottom:0;background:#f0f5e9;z-index:1}

.badge.imported{color:#527d87;background:#edf5f8}#history-dialog{width:min(1050px,95vw)}.import-template-row{display:flex;gap:17px;align-items:center;background:#f3f6ed;border-radius:8px;padding:15px;margin:0 0 22px}.import-template-row p{font-size:11px;color:#8b987b;margin:0}.import-inputs{display:flex;gap:15px;align-items:flex-end;flex-wrap:wrap}.import-inputs label{flex:1;min-width:230px;margin:0}.import-inputs input[type=file]{font-size:11px;padding:8px;min-height:40px}.import-inputs select{font-size:11px;min-height:40px}.import-inputs .primary{height:40px}.import-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 14px}.import-preview-heading h3{font-size:14px;margin:0}.import-preview-heading span{font-size:10px;color:#8b987b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65%}.import-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 16px}.import-summary-item{border:1px solid #e7ecdf;border-radius:7px;padding:11px 15px;background:#fafbf7}.import-summary-item span{font-size:10px;color:#8c987e;display:block}.import-summary-item strong{font-size:22px;font-weight:600}.import-summary-item.has-error{border-color:#efd3ce;background:#fff5f1;color:#bd6c5b}.import-errors{background:#fff5ee;padding:15px;border-radius:7px;font-size:11px;color:#b57d59;margin-bottom:16px;max-height:200px;overflow:auto}.import-errors ul{padding-left:20px;margin-bottom:0}.import-preview-table{max-height:310px;border:1px solid #e7ecdf;border-radius:7px}.import-preview-table td,.import-preview-table th{padding:10px;font-size:10px}.import-preview-table th{position:sticky;top:0;z-index:1}.import-link{max-width:240px;overflow:hidden;text-overflow:ellipsis}.import-action{padding:3px 6px;border-radius:4px;color:#6f865d;background:#eef5e6}.import-action.skip{color:#90967f;background:#f0f1eb}.import-action.replace{color:#ac894f;background:#fbf1dc}.import-action.error{color:#ba6d5d;background:#ffede7}@media(max-width:580px){.import-template-row{flex-direction:column;align-items:flex-start;gap:12px}.import-inputs label{min-width:100%;width:100%}.import-inputs .primary{width:100%}.import-summary{grid-template-columns:repeat(3,1fr);gap:7px}.import-summary-item{padding:8px 12px}.import-summary-item strong{font-size:19px}.tabs{flex-wrap:wrap;justify-content:flex-start;gap:12px}}

.report-merchant-control{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;font-size:10px;color:#86927b}.report-merchant-control select{min-width:130px;max-width:190px;font-size:12px;color:#315944;padding:8px 10px;background:white}.title-with-project{gap:12px}.page-heading:has(#report-merchant-control:not([hidden])){flex-wrap:wrap}.page-heading:has(#report-merchant-control:not([hidden]))>div:first-child{flex-shrink:0;max-width:100%}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.report-table small{white-space:nowrap}.quality-stat{background:#fbfdf8}.report-table table{min-width:770px}@media(max-width:900px){.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.report-merchant-control{font-size:9px}.report-merchant-control select{min-width:130px;max-width:180px}.report-stats .stat-number{font-size:27px}.report-stats .stat-foot{font-size:9px}}

#records-view th.sortable-heading{padding-inline:9px}.record-sort{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:8px 3px;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;white-space:nowrap;border-radius:4px;cursor:pointer}.record-sort:hover,.record-sort.sort-active{color:#175f50;background:#eaf1e2}.record-sort:focus-visible{outline:2px solid #237c68;outline-offset:2px}.sort-arrow{font-size:12px;color:#acb69e}.sort-active .sort-arrow{color:#175f50;font-weight:700}

#records-view th.filter-heading{padding:10px 9px}.filter-heading label{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0;color:inherit;font:inherit}.filter-heading select{font-size:10px;min-height:30px;max-width:180px;padding:5px 8px;color:#6b7b60;background:white;border-color:#dce5d4;text-align:center;text-align-last:center;cursor:pointer}.filter-heading #category-filter{min-width:105px}.filter-heading #record-merchant-filter{min-width:130px}.filter-heading #record-online-filter{min-width:85px}.filter-heading select.is-filtered{background:#eaf2df;color:#225e43;border-color:#9cba85;font-weight:600}.filter-heading select:focus-visible{outline:2px solid #237c68;outline-offset:2px}

.day5-intro{margin-bottom:20px}.day5-intro h2{font-size:23px;margin:8px 0}.day5-intro p{font-size:11px;line-height:1.9}.day5-rule{color:#8b977d;max-width:1000px}.day5-calendar-panel{margin-bottom:22px}.day5-toolbar,.day5-month-nav,.day5-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.day5-toolbar{justify-content:space-between}.day5-month-nav h2{font-size:18px;min-width:120px;text-align:center}.day5-filters{align-items:flex-end}.day5-filters label{margin:0;font-size:10px;gap:5px}.day5-filters select,.day5-filters input{font-size:11px;min-height:36px}.day5-filters button{min-height:36px}.day5-due{font-size:12px;color:#406a53;background:#eff5e7;padding:12px;border-radius:6px;margin:14px 0 8px}.day5-calendar-scroll{overflow-x:auto;margin-top:20px}.day5-weekdays,.day5-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;min-width:650px}.day5-weekdays{font-size:10px;color:#8b987e;text-align:center;margin-bottom:9px}.day5-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:125px;padding:11px;background:#fbfcf9;border:1px solid #e8eddf;border-radius:7px;text-align:left;color:#819072}.day5-cell strong{font-size:12px;font-weight:500}.day5-cell>span:not(.day5-date),.day5-cell small{font-size:9px;line-height:1.4}.day5-date{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:15px;font-weight:600;color:#425c47;margin-bottom:5px}.day5-date small{color:#6f8f54;font-weight:400}.day5-cell.locked{background:#eef5e5;border-color:#d4e4c1}.day5-cell.locked strong{font-size:21px;color:#416936;font-weight:650}.day5-cell.due{background:#fff8e7;border-color:#e9d19c}.day5-cell.running{background:#edf5f8;border-color:#c5dfe5}.day5-cell.empty{opacity:.6}.day5-cell.missed strong{color:#a19e8d}.day5-cell:hover,.day5-cell.selected{border-color:#397d65;box-shadow:0 0 0 1px #397d65}.day5-legend{display:flex;gap:20px;flex-wrap:wrap;margin-top:15px;font-size:10px;color:#8b987d}.day5-detail-scroll{max-height:400px}.day5-detail-scroll table{min-width:740px}.day5-detail-scroll td:first-child{max-width:300px}.day5-detail-scroll td:last-child{max-width:280px;white-space:normal}.day5-detail-scroll a{display:block;font-size:10px;overflow-wrap:anywhere}.day5-author{display:block;font-size:11px;margin-bottom:4px}#day5-detail-title{font-size:18px}#day5-context,#day5-detail-note{font-size:11px;line-height:1.8}@media(max-width:900px){.day5-toolbar{align-items:flex-start;gap:15px}.day5-calendar-panel{padding:18px}.day5-filters{width:100%}.day5-grid,.day5-weekdays{gap:5px}.day5-cell{padding:9px}}

.day5-monthly{display:grid;grid-template-columns:auto auto;column-gap:12px;row-gap:3px;align-items:center;margin-left:10px;padding:10px 15px;background:#eff5e7;border:1px solid #dce7d0;border-radius:8px;color:#537347}.day5-monthly>span{font-size:11px}.day5-monthly strong{font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums;color:#285a40}.day5-monthly small{grid-column:1/-1;font-size:9px;line-height:1.5;color:#839375}@media(max-width:580px){.day5-monthly{margin-left:0;width:100%}}
/* A quiet, content-first workspace. The app keeps its own identity. */
:root{--green:#0071e3;--green-dark:#1d1d1f;--lime:#e8f2ff;--text:#1d1d1f;--muted:#6e6e73;--line:#e8e8ed;--bg:#f5f5f7;--white:#fff;--apple-blue:#0071e3;--apple-focus:#007aff;--surface-shadow:0 4px 24px #00000004}
html{scroll-padding-top:100px;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.65;letter-spacing:-.15px;background:var(--bg);color:var(--text)}
button,input,select,textarea{font-family:inherit}
button{transition:background .18s,color .18s,box-shadow .18s;touch-action:manipulation}
button:hover{filter:none}
button:disabled{opacity:.45}
button:focus-visible,a:focus-visible{outline:3px solid #007aff88;outline-offset:4px}
input,select,textarea{border:1px solid #d2d2d7;border-radius:10px;background:#fff;color:#1d1d1f;padding:11px 13px;font-size:14px;min-width:0}
input::placeholder,textarea::placeholder{color:#86868b}
input:focus,select:focus,textarea:focus{border-color:#0071e3;box-shadow:0 0 0 3px #007aff20}
input[type=checkbox]{width:18px;height:18px;accent-color:#0071e3}
textarea{line-height:1.7}
a{color:#0066cc}
a:hover{text-decoration:underline}
.button,.primary,.danger{min-height:40px;border-radius:999px;padding:10px 18px;font-size:13px;font-weight:500;line-height:1.5;box-shadow:none;white-space:nowrap}
.button{border-color:#d2d2d7;background:#fff;color:#1d1d1f}
.button:hover{background:#f5f5f7;border-color:#b8b8bd}
.primary{background:#0071e3;border-color:#0071e3;color:#fff}
.primary:hover{background:#0077ed;border-color:#0077ed;box-shadow:0 3px 12px #0071e320}
.danger{background:#d92d39;border-color:#d92d39;color:#fff}
.icon-button{color:#6e6e73;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.icon-button:hover{background:#e8e8ed;color:#1d1d1f}
.text-button{color:#0066cc;font-size:13px}
.muted,.optional{color:#6e6e73}
.app-shell{display:block;min-height:100dvh}
.sidebar{position:sticky;inset:0 0 auto;width:100%;height:68px;padding:0 max(28px,calc((100vw - 1440px)/2));display:flex;flex-direction:row;align-items:center;gap:28px;background:#fafafce6;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid #0000000c;color:#1d1d1f;z-index:40}
.brand{margin:0;gap:9px;color:#1d1d1f;font-size:20px;letter-spacing:-.5px;flex-shrink:0;line-height:1.25}
.brand:hover{text-decoration:none}
.brand-mark{width:36px;height:36px;border-radius:10px;background:transparent;color:#fff;box-shadow:0 2px 5px #0000000a;font-size:20px;overflow:hidden;flex-shrink:0}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.brand-mark svg{width:23px;height:23px}
.brand small{font-size:9px;letter-spacing:.5px;color:#6e6e73;margin-top:3px}
.workspace-label,.side-guide,.avatar,.sidebar .side-bottom>span{display:none}
.sidebar nav{display:flex;flex:1;justify-content:center;gap:4px;min-width:0}
.nav-item{font-size:13px;color:#6e6e73;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border-radius:999px;font-weight:500;white-space:nowrap;min-height:40px}
.nav-item>span:first-child{display:flex;align-items:center;font-size:18px;line-height:1}
.nav-item>span:first-child svg{width:18px;height:18px}
.nav-item:hover{background:#e8e8ed88;color:#1d1d1f}
.nav-item.active{background:#e8f2ff;color:#0066cc;font-weight:600}
.nav-item .nav-count{display:inline-block;margin-left:0;background:#e8e8ed;color:#6e6e73;font-size:10px;border-radius:5px;padding:1px 5px}
.nav-item.active .nav-count{background:#d7e9ff;color:#0066cc}
.sidebar .side-bottom{display:flex;border:0;margin:0;padding:0;width:38px;flex:0 0 38px}
.side-bottom .icon-button{color:#6e6e73;margin:0}
main{margin-left:0;width:100%;min-width:0}
.topbar{max-width:1440px;width:100%;height:58px;margin:auto;padding:0 40px;background:transparent;border:0;color:#6e6e73;font-size:12px}
.breadcrumb{color:#6e6e73;font-size:12px}
.breadcrumb strong{color:#1d1d1f;font-weight:500}
.topbar-right{font-size:11px;color:#6e6e73}
.live-dot{background:#34a853;width:5px;height:5px}
.divider{background:#d2d2d7}
.page-content{max-width:1440px;padding:22px 40px 64px;margin:auto}
.page-heading,.page-heading:has(#report-merchant-control:not([hidden])){gap:24px;align-items:flex-end;flex-wrap:wrap;margin-bottom:32px}
.page-heading>div:first-child,.page-heading:has(#report-merchant-control:not([hidden]))>div:first-child{flex:1 1 550px;max-width:100%;min-width:0}
.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px;color:#86868b;line-height:1.6}
.title-with-project{gap:18px;row-gap:12px;align-items:center}
.page-heading h1{font-size:44px;line-height:1.2;font-weight:650;letter-spacing:-1.8px;margin:7px 0 10px;color:#1d1d1f}
.title-dot{color:#0071e3}
.page-heading p{font-size:15px;line-height:1.7;color:#6e6e73;max-width:750px}
.heading-actions{gap:8px;flex-shrink:0;flex-wrap:wrap;align-items:center}
.project-control{gap:7px}
.project-control label,.report-merchant-control{font-size:12px;gap:8px;color:#6e6e73}
.project-control select,.report-merchant-control select{min-width:145px;max-width:220px;font-size:13px;background:#fff;color:#1d1d1f;padding:9px 12px;border-radius:10px;min-height:38px}
.project-add{height:38px;width:36px;border:1px solid #d2d2d7;border-radius:10px;background:#fff;color:#0066cc;font-size:21px}
.project-add:hover{background:#e8f2ff}
.stats-grid{gap:16px;margin-bottom:28px;grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{padding:25px 25px 23px;background:#fff;border:1px solid #e8e8ed;border-radius:20px;box-shadow:var(--surface-shadow);min-width:0}
.stat-top{color:#6e6e73;font-size:13px;line-height:1.5;gap:8px}
.stat-symbol{width:30px;height:30px;border-radius:9px;background:#f0f5fc;color:#0071e3;font-size:21px}
.stat-symbol.pink{color:#e8506b;background:#fff1f3}.stat-symbol.amber{color:#b86e0a;background:#fff6e6}.stat-symbol.blue{color:#0071e3;background:#edf5ff}
.stat-number{font-size:42px;line-height:1.12;margin:17px 0 16px;font-weight:650;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;color:#1d1d1f}
.stat-foot{font-size:11px;line-height:1.6;color:#6e6e73;white-space:normal;gap:6px;min-height:18px}
.mini-badge{background:#f0f5fc;color:#0066cc;border-radius:5px;font-size:10px;padding:2px 6px}
.panel,.records-panel,.report-controls,.insight-intro{background:#fff;border:1px solid #e8e8ed;border-radius:20px;box-shadow:var(--surface-shadow)}
.records-panel{overflow:hidden}
.panel{padding:28px;margin-bottom:24px;min-width:0}
.panel h2,.panel h3{color:#1d1d1f;letter-spacing:-.4px}
.panel h3{font-size:17px;font-weight:600}
.panel-heading{padding:24px 26px;gap:16px;align-items:center}
.panel-heading h2{font-size:20px;font-weight:600;letter-spacing:-.6px;color:#1d1d1f}
.panel-heading h2 span,#record-count{font-size:11px;color:#6e6e73;background:#f5f5f7;border-radius:6px;padding:3px 6px;vertical-align:middle;letter-spacing:0}
.panel-heading p{font-size:12px;color:#6e6e73;margin-top:5px;line-height:1.6}
.panel-heading .button{font-size:12px;padding:9px 14px}
.toolbar{padding:0 26px 18px;align-items:center;gap:18px;flex-wrap:wrap}
.tabs{gap:7px;min-width:0;flex-wrap:wrap}
.tabs button{color:#6e6e73;font-size:12px;border:0;padding:8px 11px;border-radius:999px;min-height:35px;white-space:nowrap}
.tabs button.selected{color:#0066cc;background:#e8f2ff;border:0;font-weight:600}
.tabs button span{font-size:10px;background:#e8e8ed;border-radius:5px;padding:1px 4px;color:#6e6e73}
.filters{gap:8px;justify-content:flex-end;min-width:0;flex-wrap:wrap}
.search{border:1px solid #d2d2d7;border-radius:10px;background:#fff;min-height:40px;color:#6e6e73;min-width:0}
.search input{font-size:12px;width:185px;padding:9px 10px;background:transparent;min-width:0}
.search span{color:#6e6e73;font-size:18px}
.filters>input,.filters>select{font-size:12px;min-height:40px;padding:8px 10px;border-color:#d2d2d7;max-width:170px;background:#fff;color:#1d1d1f}
.selection-bar{background:#f0f6ff;border-color:#d7e9ff;color:#0066cc;font-size:12px;padding:13px 24px;gap:12px}
.selection-bar button{color:#0066cc;font-size:12px;min-height:34px}
.selection-bar .danger-text{color:#c52b36}
.bulk-category-label{font-size:12px;gap:7px}
.bulk-category-label select{font-size:12px;border-color:#c4d9f4;min-height:34px;border-radius:8px}
.table-scroll{overflow:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
table{font-size:13px;line-height:1.55;border-collapse:collapse;color:#1d1d1f}
th{font-size:11px;font-weight:500;letter-spacing:0;color:#6e6e73;background:#f5f5f7;border-bottom:1px solid #e8e8ed;padding:14px 12px;white-space:nowrap}
td{padding:18px 12px;border-bottom:1px solid #f0f0f3;font-size:13px;color:#424245}
tbody tr:hover{background:#fafafd}
#records-view .table-scroll table{min-width:1490px;width:100%}
#records-view th.filter-heading{padding:12px 8px}
.filter-heading label{font-size:11px;color:#6e6e73;gap:7px;font-weight:500}
.filter-heading select{font-size:12px;min-height:34px;border-radius:8px;border-color:#d2d2d7;color:#424245;background:#fff;padding:6px 9px}
.filter-heading select.is-filtered{background:#e8f2ff;color:#0066cc;border-color:#9cc9f5;font-weight:500}
.filter-heading #category-filter{min-width:110px}.filter-heading #record-merchant-filter{min-width:140px}.filter-heading #record-online-filter{min-width:90px}
.record-sort{font-size:11px;padding:9px 4px;gap:4px;color:#6e6e73;min-height:34px}
.record-sort:hover,.record-sort.sort-active{background:#e8f2ff;color:#0066cc}
.sort-arrow{color:#a1a1a6}.sort-active .sort-arrow{color:#0066cc}
.category-select,.merchant-select{font-size:12px;min-height:36px;border-radius:9px;color:#424245;border-color:#e0e0e5;background:#fafafa;padding:7px 10px}
.category-select.matrix{background:#edf5ff;border-color:#cfe3fa;color:#0066cc}
.merchant-select{min-width:140px}
.author-cell{min-width:100px;max-width:140px}
.author-name{font-size:13px;color:#1d1d1f;max-width:140px;font-weight:500}
.author-name.repeated,.repeat-count.repeated{color:#d32f3b;font-weight:600}
.repeat-count{font-size:14px;color:#6e6e73;font-variant-numeric:tabular-nums}
.video-cell{min-width:230px}
.video-title{font-size:13px;font-weight:500;line-height:1.6;max-width:280px;color:#1d1d1f}
.video-title:hover{color:#0066cc}
.video-sub{font-size:10px;color:#6e6e73;max-width:280px;margin-top:5px}
.date-cell{font-size:12px;color:#6e6e73}
.availability,.badge,.category-chip,.merchant-chip{font-size:11px;line-height:1.45;white-space:nowrap}
.availability{padding:4px 9px;border-radius:7px}
.availability.online,.badge.success{background:#edf7ef;color:#24803d}
.availability.offline,.badge.failed{background:#fff0f1;color:#c92738}
.availability.unknown,.badge.pending{background:#f0f0f3;color:#6e6e73}
.badge.imported,.badge.collecting{background:#edf5ff;color:#0066cc}
.badge.partial,.badge.queued{background:#fff6e4;color:#97610d}
.category-chip{background:#f0f0f3;color:#6e6e73}.category-chip.matrix{background:#edf5ff;color:#0066cc}.merchant-chip{color:#6e6e73}
.row-error{font-size:11px;color:#a66308}
.note-button{font-size:12px;color:#6e6e73;background:#f5f5f7;border-radius:8px;padding:7px 11px;max-width:180px}
.note-button.has-note{color:#424245}
.note-button:hover{background:#e8f2ff;color:#0066cc}
.row-actions{gap:8px}
.row-actions button{color:#0066cc;border-color:#d2d2d7;border-radius:8px;font-size:12px;min-height:34px;padding:6px 10px;background:#fff}
.row-actions button:disabled{color:#6e6e73;background:#f5f5f7}
.table-footer{padding:18px 24px;font-size:12px;color:#6e6e73;border-color:#e8e8ed;gap:12px}
.pagination{gap:12px;color:#6e6e73;font-size:12px}
.pagination button{width:34px;height:34px;border:1px solid #d2d2d7;border-radius:50%;background:#fff;color:#424245}
.bottom-note{font-size:11px;color:#6e6e73;margin-top:18px;line-height:1.7;gap:8px;flex-wrap:wrap}
.footer-brand{letter-spacing:1px;color:#86868b;font-size:10px}
.page-footer{color:#86868b;font-size:10px;margin-top:36px;border-color:#e8e8ed}
.empty-state{padding:64px 24px;color:#6e6e73}
.empty-state h3{font-size:22px;color:#1d1d1f;letter-spacing:-.5px;margin:20px 0 8px}
.empty-state p{font-size:13px;line-height:1.8;color:#6e6e73}
.empty-state small{font-size:11px;color:#86868b}
.empty-art span{background:#e8f2ff;border-color:#d7e9ff;color:#0071e3;box-shadow:7px 7px 0 #f5f5f7}
.empty-art b{background:#0071e3;color:#fff;border-color:#fff}
.rank-controls{padding:28px 28px 0}
.rank-intro{margin-bottom:24px;gap:22px}
.rank-intro h2,.insight-intro h2{font-size:28px;line-height:1.3;letter-spacing:-1px;font-weight:600;margin:10px 0}
.rank-intro p,.insight-intro p{font-size:13px;line-height:1.8;color:#6e6e73}
.rank-intro label{font-size:12px;min-width:165px;color:#6e6e73}
.report-period-tabs{gap:5px;border:0;padding:5px;background:#f5f5f7;border-radius:12px;min-width:0;overflow-x:auto;flex-wrap:nowrap}
.report-period-tabs button{font-size:13px;color:#6e6e73;border-radius:9px;min-height:38px;padding:9px 18px;white-space:nowrap;flex-shrink:0}
.report-period-tabs button.selected{background:#fff;color:#1d1d1f;box-shadow:0 2px 7px #0000000b;font-weight:600}
.rank-tabs{padding-bottom:5px;margin-bottom:22px;width:fit-content;max-width:100%}
.rank-live,.report-live-label{font-size:11px;color:#6e6e73}
.rank-position{width:30px;height:30px;background:#f0f0f3;border-radius:9px;color:#6e6e73;font-size:13px}
.rank-position.top-rank{background:#e8f2ff;color:#0066cc}
.ranking-panel .rank-value{font-size:20px;color:#1d1d1f;font-weight:600}
.rank-empty{font-size:14px;color:#6e6e73;padding:50px 20px}
.report-metric-note{font-size:12px;line-height:1.9;color:#6e6e73;margin:18px 2px}
.insight-intro{padding:32px;margin-bottom:24px}
.insight-grid{gap:24px;margin-bottom:0}
.chart-col>span,.daily-chart span{font-size:11px;color:#6e6e73}
.chart-bar,.report-bar{background:#0071e3;border-radius:5px 5px 0 0}
.health-row{font-size:13px;padding:13px 0;border-color:#f0f0f3;color:#424245}
.health-row strong{font-size:14px;color:#1d1d1f}
.rank-row{padding:15px 0;border-color:#f0f0f3;gap:14px}
.rank-row>span{color:#86868b;font-size:13px}.rank-row a{font-size:14px;color:#424245}.rank-row strong{font-size:15px;color:#1d1d1f}
.report-controls{padding:24px;margin-bottom:28px}
.report-form{gap:16px;align-items:flex-end}
.report-form label{font-size:12px;gap:7px;color:#6e6e73;min-width:145px}
.report-form input,.report-form select{font-size:13px;height:42px;padding:9px 12px;border-radius:10px}
.report-form .primary,.report-range-nav .button{height:42px}
.report-range-nav{gap:7px}
.report-heading{margin-bottom:22px;gap:20px}
.report-heading h2{font-size:28px;font-weight:600;letter-spacing:-1px;margin:7px 0 8px;line-height:1.35}
.report-heading p{font-size:12px;color:#6e6e73;line-height:1.8}
.report-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.report-stats .stat-foot{font-size:11px;min-height:18px;color:#6e6e73}
.quality-stat{background:#fff}
.report-warning{font-size:12px;line-height:1.8;background:#fff8eb;border-color:#f1e2c7;color:#93620e;padding:13px 16px;border-radius:12px}
.report-loading{background:#edf5ff;color:#0066cc;font-size:13px;padding:14px 17px;border-radius:12px}
.report-error{background:#fff0f1;border-color:#f4d5db;color:#b82436;font-size:13px;line-height:1.8;border-radius:12px}
.report-chart-panel{padding:24px 26px;margin-bottom:24px}
.report-chart-heading h3{font-size:17px;color:#1d1d1f}
.report-chart-heading>span,.report-table-hint{font-size:11px;color:#6e6e73}
.report-bar-label{font-size:11px;color:#6e6e73}.report-bar-value{font-size:11px;color:#424245}
.report-table td small{color:#6e6e73;font-size:10px}
.report-table tfoot th,.report-table tfoot td{background:#f5f5f7;color:#1d1d1f}
.report-updated{font-size:11px;color:#86868b}
.day5-intro h2{font-size:30px;letter-spacing:-1px;margin:10px 0 12px;font-weight:600}
.day5-intro p{font-size:13px;line-height:1.85;color:#6e6e73}
.day5-intro .day5-rule{font-size:12px;color:#6e6e73;margin-bottom:0}
.day5-calendar-panel{padding:26px}
.day5-toolbar{gap:18px;align-items:center}
.day5-month-nav{gap:9px;min-width:0}
.day5-month-nav h2{font-size:22px;font-weight:600;letter-spacing:-.7px;min-width:140px}
.day5-month-nav>.button{width:36px;height:38px;min-height:38px;padding:7px;border-radius:10px}
.day5-month-nav #day5-current{width:auto;min-width:55px;font-size:12px}
.day5-filters{gap:10px;align-items:flex-end}
.day5-filters label{font-size:11px;color:#6e6e73;gap:6px;min-width:0}
.day5-filters select,.day5-filters input{font-size:12px;min-height:40px;border-radius:10px;padding:9px 11px;max-width:200px}
.day5-filters button{font-size:12px;min-height:40px}
.day5-monthly{background:#edf5ff;border-color:#d7e9ff;color:#0066cc;border-radius:14px;padding:11px 15px;margin-left:9px;column-gap:13px}
.day5-monthly>span{font-size:12px}.day5-monthly strong{color:#0071e3;font-size:27px;font-weight:600;letter-spacing:-.6px}.day5-monthly small{font-size:10px;color:#5c7794}
#day5-context,#day5-detail-note{font-size:12px;color:#6e6e73;line-height:1.8;margin:15px 0}
.day5-due{font-size:13px;line-height:1.8;background:#edf5ff;color:#305d8e;padding:13px 16px;border-radius:12px}
.day5-weekdays{font-size:12px;color:#6e6e73;margin-bottom:10px}
.day5-grid,.day5-weekdays{gap:8px}
.day5-cell{padding:14px;min-height:145px;gap:6px;background:#fbfbfd;border:1px solid #e8e8ed;border-radius:14px;color:#6e6e73;min-width:0}
.day5-cell strong{font-size:13px;color:#6e6e73}
.day5-cell>span:not(.day5-date),.day5-cell small{font-size:10px;color:#6e6e73}
.day5-date{font-size:17px;color:#1d1d1f;font-weight:600;margin-bottom:6px}
.day5-date small{font-size:10px;color:#0066cc}
.day5-cell.locked{background:#edf5ff;border-color:#d7e9ff}
.day5-cell.locked strong{color:#0066cc;font-size:26px;font-weight:650;letter-spacing:-.7px}
.day5-cell.due{background:#fff8eb;border-color:#eed8a8}.day5-cell.due strong{color:#93620e}
.day5-cell.running{background:#f2efff;border-color:#dcd5f5}.day5-cell.running strong{color:#7451ab}
.day5-cell.empty{opacity:1;background:#fbfbfd}.day5-cell.empty .day5-date{color:#86868b}.day5-cell.missed strong{color:#86868b}
.day5-cell:hover,.day5-cell.selected{border-color:#0071e3;box-shadow:0 0 0 1px #0071e3}
.day5-legend{font-size:11px;color:#6e6e73;gap:18px;margin-top:18px}
.settings-grid{gap:24px}
.settings-grid>.panel p{font-size:13px;color:#6e6e73;line-height:1.85}
.settings-grid h2{font-size:23px;letter-spacing:-.7px;font-weight:600}
.settings-grid label{font-size:13px;color:#424245;gap:8px}
.settings-grid select{font-size:14px;min-height:44px}
.settings-grid .form-help{font-size:12px;color:#6e6e73}
.connection{background:#f5f5f7;border-radius:12px;font-size:13px;color:#424245}
.info-columns p{font-size:13px;line-height:1.85;color:#6e6e73}.info-columns strong{font-size:14px;color:#1d1d1f}
dialog{border:1px solid #ffffff66;border-radius:24px;padding:32px;width:min(680px,calc(100vw - 48px));max-height:calc(100dvh - 64px);overflow-y:auto;color:#1d1d1f;box-shadow:0 30px 100px #00000026}
dialog::backdrop{background:#00000055;backdrop-filter:blur(7px)}
.dialog-heading{gap:18px;margin-bottom:20px}.dialog-heading h2{font-size:27px;line-height:1.3;font-weight:600;letter-spacing:-.8px;margin:6px 0}
.dialog-desc{font-size:14px;line-height:1.8;color:#6e6e73;margin-bottom:24px}
dialog label{font-size:13px;font-weight:500;color:#424245;margin-bottom:20px;gap:8px}
dialog input,dialog select,dialog textarea{font-size:14px;min-height:44px;border-color:#d2d2d7}
.form-help{font-size:12px;color:#6e6e73;line-height:1.8}
.form-callout{background:#edf5ff;color:#416a96;border-radius:12px;padding:12px 14px}.form-callout p{font-size:12px;line-height:1.8}
.project-context{background:#f5f5f7;color:#6e6e73;font-size:13px;border-radius:10px;padding:10px 13px}
.dialog-actions{padding-top:22px;gap:10px;border-color:#e8e8ed}.dialog-actions button{min-height:44px}
.optional{font-size:12px;color:#6e6e73}.merchant-help{color:#6e6e73}
.detail-title{font-size:19px;line-height:1.6;color:#1d1d1f}.detail-link{font-size:12px;color:#0066cc}
.detail-metrics{background:#f5f5f7;border-radius:16px;padding:22px;gap:36px}.detail-metrics span{font-size:12px;color:#6e6e73}.detail-metrics strong{font-size:30px;font-weight:600;letter-spacing:-.7px;color:#1d1d1f}
.detail-time{font-size:12px;line-height:1.85;color:#6e6e73}.detail-error{background:#fff8eb;color:#93620e;font-size:12px;line-height:1.8;border-radius:12px}
.detail-facts{background:#fafafa;border-color:#e8e8ed;border-radius:14px;padding:18px;gap:20px}.detail-facts span{font-size:11px;color:#6e6e73}.detail-facts strong{font-size:13px;color:#424245}
.history th,.history td{font-size:11px;padding:11px}
#history-dialog{width:min(1080px,calc(100vw - 48px))}.import-template-row{background:#f5f5f7;border-radius:14px;padding:17px;gap:18px}.import-template-row p{font-size:12px;line-height:1.8;color:#6e6e73}
.import-inputs{gap:14px}.import-inputs label{min-width:220px}.import-inputs input[type=file]{font-size:13px;padding:10px;min-height:44px}.import-inputs select,.import-inputs .primary{height:44px;font-size:13px}
.import-preview-heading h3{font-size:17px}.import-preview-heading span{font-size:12px;color:#6e6e73}
.import-summary-item{background:#fafafa;border-color:#e8e8ed;border-radius:12px;padding:13px 16px}.import-summary-item span{font-size:11px;color:#6e6e73}.import-summary-item strong{font-size:28px;font-weight:600;letter-spacing:-.6px}
.import-errors{font-size:12px;line-height:1.8;border-radius:12px;background:#fff8eb;color:#93620e}.import-preview-table{border-color:#e8e8ed;border-radius:12px}.import-preview-table th,.import-preview-table td{font-size:12px;padding:11px}
.import-action{background:#edf7ef;color:#24803d;border-radius:6px}.import-action.skip{background:#f0f0f3;color:#6e6e73}.import-action.replace{background:#fff6e4;color:#97610d}
#toast{background:#1d1d1fee;backdrop-filter:blur(12px);color:#fff;font-size:13px;border-radius:14px;box-shadow:0 8px 30px #00000015;padding:13px 20px;line-height:1.7}
body:has(#auth:not([hidden])){padding:0}
.auth-screen{width:100%;min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;background:#f5f5f7;padding:max(28px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
.auth-card{width:min(460px,100%);min-width:0;max-width:100%;flex:0 1 460px;margin:auto;border:1px solid #e8e8ed;border-radius:28px;background:#fff;padding:44px;box-shadow:0 16px 60px #00000005}
.auth-card .brand-mark{width:64px;height:64px;border-radius:16px;margin-bottom:24px}.auth-card .brand-mark svg{width:32px;height:32px}
.auth-card h1{font-size:31px;font-weight:600;letter-spacing:-1px;line-height:1.25;margin:12px 0}.auth-card p{font-size:14px;color:#6e6e73;margin-bottom:30px}
.auth-card form,.auth-card label{width:100%;min-width:0;max-width:100%}.auth-card label{font-size:13px;color:#424245;gap:9px;margin-bottom:0}.auth-card input{display:block;width:100%;max-width:100%;font-size:16px;min-height:50px;border-radius:12px}.auth-card .primary{min-height:50px;font-size:15px;margin-top:24px;white-space:normal}.auth-card small{font-size:12px;color:#86868b;margin-top:26px}.auth-card h1,.auth-card p,.auth-card small{overflow-wrap:anywhere}.auth-card #auth-error{margin:12px 0 0;line-height:1.7}.auth-card #auth-error:empty{display:none}
#auth-error,#merchant-error{color:#c92738;font-size:13px;line-height:1.7}
@media(min-width:1600px){.page-content{max-width:1720px;padding-top:32px}.topbar{max-width:1720px}.sidebar{padding-inline:max(40px,calc((100vw - 1720px)/2))}.page-heading h1{font-size:50px}.stat-number{font-size:48px}.stat{padding:28px}}
@media(max-width:1100px){.sidebar{gap:16px;padding-inline:24px}.nav-item{padding:9px 10px;font-size:12px;gap:5px}.brand small{display:none}.topbar{padding-inline:28px}.page-content{padding:20px 28px 50px}.page-heading{gap:20px}.heading-actions{width:100%;justify-content:flex-start}.stat{padding:22px}.stat-number{font-size:36px}.stat-foot{font-size:10px}.toolbar{gap:15px}.filters{flex:1 1 300px}.day5-toolbar{align-items:flex-start}.day5-filters{width:100%}}
@media(max-width:800px){
  html{scroll-padding-top:76px}body{padding-bottom:calc(86px + env(safe-area-inset-bottom));font-size:15px}
  .app-shell{padding-top:60px}
  .sidebar{position:fixed;inset:0 0 auto;height:60px;padding:0 18px;gap:12px;justify-content:space-between;background:#fafafcf0;border-bottom:1px solid #0000000c}
  .brand{margin:0;font-size:19px;gap:8px;letter-spacing:-.5px}.brand>span:last-child{display:block}.brand small{display:none}.brand-mark{width:29px;height:31px;border-radius:9px}.brand-mark svg{width:21px;height:21px}
  .sidebar nav{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;height:calc(74px + env(safe-area-inset-bottom));padding:5px 9px calc(5px + env(safe-area-inset-bottom));background:#fafafcf5;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-top:1px solid #00000012;justify-content:normal}
  .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;line-height:1.2;padding:5px 0;min-width:0;min-height:58px;border-radius:10px;color:#6e6e73;font-weight:500}
  .nav-item>span:first-child{display:flex;font-size:22px;padding:3px;min-height:27px}.nav-item>span:first-child svg{width:22px;height:22px}
  .nav-item.active{color:#0071e3;background:transparent;font-weight:600}.nav-item.active>span:first-child{background:#e8f2ff;border-radius:8px}.nav-item:hover{background:#f0f0f3}.nav-item .nav-count{display:none!important}
  .sidebar .side-bottom{display:flex;width:38px;padding:0;margin:0}.side-bottom .icon-button{width:38px;height:38px;color:#6e6e73}
  main{margin:0;width:100%}.topbar{height:46px;padding:0 20px;font-size:11px}.topbar-right{display:none}.breadcrumb{font-size:11px}
  .page-content{padding:16px 20px 38px;max-width:100%;min-width:0}
  .page-heading,.page-heading:has(#report-merchant-control:not([hidden])){display:flex;flex-direction:column;align-items:stretch;gap:20px;margin-bottom:26px}
  .page-heading>div:first-child,.page-heading:has(#report-merchant-control:not([hidden]))>div:first-child{flex:0 1 auto;width:100%;max-width:100%;min-width:0}
  .page-heading h1{font-size:36px;margin:6px 0 10px;letter-spacing:-1.5px;line-height:1.2}.page-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.page-heading p{font-size:14px;line-height:1.75;margin-top:9px}
  .title-with-project{gap:12px;row-gap:10px;align-items:center}.title-with-project h1{flex:1 0 100%}
  .project-control{flex:1;min-width:0;gap:8px}.project-control label{flex:1;min-width:0}.project-control select{width:100%;max-width:none;min-width:0}
  .report-merchant-control{flex:1;min-width:0}.report-merchant-control select{width:100%;min-width:0;max-width:none}.project-add{flex-shrink:0}
  .heading-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.heading-actions button{width:100%;padding:10px 8px;font-size:13px;min-height:44px;min-width:0}
  input,select,textarea{font-size:16px}input[type=checkbox]{width:20px;height:20px}
  .stats-grid,.report-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.stat{padding:19px;border-radius:18px}.stat-top{font-size:12px;gap:5px}.stat-symbol{width:25px;height:25px;font-size:19px;border-radius:8px}.stat-number{font-size:36px;margin:13px 0 12px;letter-spacing:-1.1px}.stat-foot,.report-stats .stat-foot{font-size:10px;line-height:1.7;min-height:0}.mini-badge{font-size:9px}
  .panel,.records-panel,.report-controls,.insight-intro{border-radius:18px;min-width:0;max-width:100%}.panel,.insight-intro{padding:22px;margin-bottom:20px}.panel h3{font-size:17px}.panel-heading{padding:20px;gap:12px}.panel-heading h2{font-size:19px}.panel-heading p{font-size:12px;line-height:1.7}.panel-heading .button{font-size:11px;min-height:36px;padding:8px 11px;flex-shrink:0}
  .toolbar{padding:0 16px 16px;display:flex;gap:14px;align-items:stretch}.tabs{gap:5px;width:100%;justify-content:flex-start;flex-wrap:nowrap;overflow:auto;padding-bottom:2px}.tabs button{font-size:11px;min-height:36px;padding:8px 10px;flex-shrink:0}.filters{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:auto}.search{grid-column:1/-1;width:100%;min-height:44px}.search input{font-size:16px;width:100%;max-width:none;min-width:0;padding:10px 8px}.filters>input,.filters>select{width:100%;max-width:none;min-width:0;font-size:14px;min-height:44px}
  .selection-bar{padding:15px 16px;gap:9px;align-items:center}.selection-bar>span{flex-basis:100%;font-weight:600}.selection-bar button{font-size:12px;min-height:40px}.bulk-category-label{font-size:12px;flex:1;min-width:0;flex-direction:column;align-items:stretch;gap:5px}.selection-bar .bulk-category-label select{max-width:100%;width:100%;font-size:16px;min-height:42px}
  #records-view .table-scroll{overflow:visible;max-height:none}
  #records-view .table-scroll table{display:block;width:100%;min-width:0}
  #records-view thead{display:block;background:#fff;border-top:1px solid #e8e8ed}
  #records-view thead>tr{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;padding:15px}
  #records-view thead th{display:none;position:static;border:0;background:transparent;text-align:left;min-width:0}
  #records-view thead th.filter-heading{display:block;grid-column:span 4;padding:0;min-width:0}
  .filter-heading label{display:flex;align-items:stretch;font-size:11px;gap:5px;font-weight:500;text-align:left}
  .filter-heading select,.filter-heading #category-filter,.filter-heading #record-merchant-filter,.filter-heading #record-online-filter{min-width:0;width:100%;max-width:none;font-size:13px;min-height:42px;padding:7px 5px;text-align:left;text-align-last:left;border-radius:9px}
  #records-view thead th.sortable-heading{display:block;grid-column:span 3;padding:0}
  .record-sort{display:flex;width:100%;font-size:11px;min-height:38px;padding:7px 0;gap:3px;border-radius:9px;background:#f5f5f7;justify-content:center}.record-sort.sort-active{background:#e8f2ff}
  #rows{display:grid;gap:12px;padding:12px;background:#f5f5f7;border-top:1px solid #e8e8ed}
  #rows>tr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:10px;row-gap:13px;position:relative;border:1px solid #e8e8ed;border-radius:16px;background:#fff;padding:18px;min-width:0}
  #records-view #rows td{display:block;border:0;padding:0;text-align:left;min-width:0;max-width:none;font-size:13px;background:transparent}
  #rows td::before{content:attr(data-label);display:block;color:#6e6e73;font-size:10px;line-height:1.5;margin-bottom:5px;font-weight:400}
  #rows td:nth-child(1){position:absolute;top:18px;right:18px;width:24px;height:24px}#rows td:nth-child(1)::before,#rows td:nth-child(2)::before,#rows td:nth-child(3)::before{display:none}
  #rows td:nth-child(2){grid-column:1/-1;padding-right:32px!important}#rows .author-name{font-size:16px;font-weight:600;max-width:none;margin:0}
  #rows td:nth-child(3){grid-column:1/-1}#rows .video-cell{min-width:0}#rows .video-title{font-size:14px;font-weight:500;line-height:1.7;max-width:none;margin:0;white-space:normal;display:block;overflow-wrap:anywhere}#rows .video-sub{font-size:11px;max-width:100%;margin:5px 0 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}
  #rows td:nth-child(4),#rows td:nth-child(5){grid-column:span 3}#rows .category-select,#rows .merchant-select{width:100%;min-width:0;font-size:14px;min-height:42px;max-width:100%;text-align:left;text-align-last:left;padding:8px 9px}
  #rows td:nth-child(6),#rows td:nth-child(7),#rows td:nth-child(8){grid-column:span 2;min-width:0}#rows .online-cell{min-width:0}#rows .repeat-count{font-size:16px}#rows .date-cell{font-size:11px;white-space:nowrap;letter-spacing:-.4px}
  #records-view #rows td:nth-child(9),#records-view #rows td:nth-child(10),#records-view #rows td:nth-child(11){grid-column:span 2;background:#f5f5f7;padding:10px 12px;border-radius:11px;font-size:22px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
  #rows td:nth-child(12){grid-column:span 2}#rows td:nth-child(13){grid-column:span 4}#rows .note-button{margin:0;max-width:100%;width:100%;text-align:left;font-size:12px;min-height:34px;padding:7px 9px}#rows .row-error{margin:5px 0;max-width:none;font-size:11px}
  #rows td:nth-child(14){grid-column:1/-1;border-top:1px solid #f0f0f3!important;padding-top:12px!important}#rows td:nth-child(14)::before{display:none}#records-view #rows .row-actions{justify-content:flex-end;gap:8px}.row-actions button{min-height:40px;font-size:13px;padding:8px 16px;border-radius:999px}
  .table-footer{font-size:11px;padding:16px;flex-wrap:wrap}.pagination button{width:38px;height:38px}.pagination{gap:12px;font-size:12px}.bottom-note{font-size:11px;align-items:flex-start}.footer-brand{display:none}.page-footer{font-size:10px;margin-top:24px}.page-footer span{display:none}
  .empty-state{padding:40px 20px}.empty-state h3{font-size:20px}.empty-state p{font-size:13px}.empty-state small{font-size:11px}
  .rank-controls{padding:22px 20px 0}.rank-intro{align-items:flex-start;flex-direction:column;gap:15px}.rank-intro h2,.insight-intro h2{font-size:25px;letter-spacing:-.9px}.rank-intro p,.insight-intro p{font-size:13px}.rank-intro label{width:100%;font-size:12px;min-width:0}.rank-intro select{font-size:16px;min-height:44px}.rank-tabs{width:100%;padding:4px;margin-bottom:20px;gap:3px}.rank-tabs button{font-size:12px;padding:9px 12px;min-height:40px;flex-shrink:0}.rank-live{display:none}.ranking-panel table{min-width:0;width:100%;font-size:12px}.ranking-panel:has(#rank-head th:nth-child(8)) table{min-width:850px}.ranking-panel th,.ranking-panel td{font-size:12px;padding:14px 10px}.ranking-panel th:first-child,.ranking-panel td:first-child{padding-left:15px}.ranking-panel .author-cell{min-width:85px}.ranking-panel .author-name{font-size:13px;max-width:120px}.ranking-panel .rank-value{font-size:18px}.rank-empty{font-size:13px;line-height:1.8;padding:32px 20px}
  .insight-grid,.settings-grid{grid-template-columns:1fr;gap:0}.chart-col>span,.daily-chart span{font-size:10px}.daily-chart{gap:10px}.rank-row a{font-size:13px;line-height:1.7}.rank-row{gap:9px}.rank-row strong{font-size:13px;white-space:nowrap}.info-columns{grid-template-columns:1fr;gap:16px}.settings-grid .panel p{font-size:13px}.settings-grid select{font-size:16px}.connection{font-size:12px;overflow-wrap:anywhere}
  .report-controls{padding:18px}.report-period-tabs{gap:3px;padding:4px;margin-bottom:20px;justify-content:flex-start}.report-period-tabs button{font-size:12px;padding:9px 12px;min-height:40px}.report-form{gap:14px}.report-form label{flex:1 1 120px;min-width:0;font-size:12px}.report-form input,.report-form input[type=number],.report-form select{width:100%;font-size:16px;min-height:44px;height:44px}.report-form>.primary{width:100%;flex-basis:100%;height:44px}.report-range-nav{margin:0;display:flex;width:100%;gap:8px}.report-range-nav .button{min-height:44px}.report-range-nav .button:nth-child(2){flex:1}.report-heading h2{font-size:24px;line-height:1.4;letter-spacing:-.8px}.report-heading p{font-size:12px;line-height:1.8}.report-live-label{display:none}.report-stats .stat-number{font-size:33px}.report-table .panel-heading{padding:20px}.report-table table{min-width:760px}.report-table th:first-child,.report-table td:first-child{position:sticky;left:0;background:#fff;z-index:2;box-shadow:2px 0 4px #00000004}.report-table thead th:first-child,.report-table tfoot th:first-child{background:#f5f5f7;z-index:3}.report-chart-panel{padding:22px 20px}.report-chart-heading h3{font-size:16px}.report-table-hint{display:block;font-size:10px}.report-warning,.report-metric-note{font-size:12px;line-height:1.85}.report-updated{font-size:11px}
  .day5-intro h2{font-size:27px;letter-spacing:-.8px}.day5-intro p{font-size:13px}.day5-intro .day5-rule{font-size:12px;line-height:1.85}.day5-calendar-panel{padding:16px}.day5-toolbar{gap:18px;width:100%;display:block}.day5-month-nav{display:grid;grid-template-columns:34px 1fr 34px 54px;gap:7px;align-items:center;width:100%}.day5-month-nav h2{min-width:0;font-size:19px;letter-spacing:-.8px;white-space:nowrap;margin:0}.day5-month-nav>.button{width:34px;height:40px;min-height:40px}.day5-month-nav #day5-current{min-width:0;width:54px;font-size:12px}.day5-monthly{grid-column:1/-1;width:100%;margin:10px 0 0;padding:16px 18px;border-radius:14px;grid-template-columns:1fr auto;gap:5px 10px}.day5-monthly>span{font-size:13px}.day5-monthly strong{font-size:33px}.day5-monthly small{font-size:11px;line-height:1.6}.day5-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;width:100%}.day5-filters label{width:100%;min-width:0;font-size:12px}.day5-filters select,.day5-filters input{max-width:100%;width:100%;font-size:16px;min-height:44px;padding:9px}.day5-filters button{grid-column:1/-1;width:100%;font-size:14px;min-height:44px}.day5-due{font-size:12px;line-height:1.85;padding:13px}#day5-context,#day5-detail-note{font-size:12px;line-height:1.8}.day5-calendar-panel .form-help{font-size:11px;line-height:1.9}.day5-calendar-scroll{overflow:visible;margin-top:20px;min-width:0}.day5-weekdays,.day5-grid{min-width:0;width:100%;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.day5-weekdays{font-size:10px;margin-bottom:8px}.day5-cell{padding:7px 4px;min-height:102px;gap:5px;border-radius:8px;overflow:hidden;align-items:center;text-align:center}.day5-date{font-size:14px;line-height:1.4;justify-content:center;margin-bottom:3px;flex-wrap:wrap;gap:0}.day5-date small{font-size:8px;line-height:1;flex-basis:100%;margin-top:2px}.day5-cell strong{font-size:10px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;font-weight:500}.day5-cell.locked strong{font-size:14px;line-height:1.6;letter-spacing:-.6px}.day5-cell>span:not(.day5-date){font-size:9px;line-height:1.4;overflow-wrap:anywhere}.day5-cell>small{display:none}.day5-cell.locked>small:last-child{display:block;font-size:8px;line-height:1.4;overflow-wrap:anywhere}.day5-legend{font-size:10px;gap:7px 12px;line-height:1.7}.day5-cell:hover,.day5-cell.selected{box-shadow:inset 0 0 0 1px #0071e3}#day5-detail-title{font-size:20px}.day5-detail-scroll{max-height:none;overflow:visible}.day5-detail-scroll table{display:block;min-width:0;width:100%}.day5-detail-scroll thead{display:none}.day5-detail-scroll tbody{display:grid;gap:12px}.day5-detail-scroll tr{display:block;border:1px solid #e8e8ed;border-radius:14px;padding:14px;min-width:0}.day5-detail-scroll td{display:block;border:0;padding:7px 0;font-size:13px;max-width:none!important;min-width:0;overflow-wrap:anywhere}.day5-detail-scroll td::before{font-size:10px;color:#6e6e73;display:block;margin-bottom:4px}.day5-detail-scroll td:nth-child(2)::before{content:'作品商家'}.day5-detail-scroll td:nth-child(3)::before{content:'第5天是否在线'}.day5-detail-scroll td:nth-child(4)::before{content:'检测时间'}.day5-detail-scroll td:nth-child(5)::before{content:'说明'}.day5-detail-scroll a{font-size:13px;line-height:1.8}.day5-author{font-size:16px;font-weight:600}
  dialog,#history-dialog,#project-dialog,#merchant-dialog,#confirm-dialog{width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 32px);padding:25px 20px;border-radius:24px;margin:auto;overflow-x:hidden;overflow-y:auto}.dialog-heading{margin-bottom:19px;gap:12px}.dialog-heading h2{font-size:25px}.dialog-desc{font-size:14px;line-height:1.8;margin-bottom:24px}dialog label{font-size:13px;margin-bottom:19px}dialog input,dialog select,dialog textarea{font-size:16px;min-height:46px;width:100%;max-width:100%}dialog input[type=checkbox]{width:20px;min-height:20px}.two-fields{grid-template-columns:1fr;gap:0}.dialog-actions{gap:9px;padding-top:20px}.dialog-actions button{flex:1;font-size:13px;min-height:46px;padding:10px}.project-context{font-size:13px}.form-callout{padding:12px}.form-callout p,.form-help{font-size:12px;line-height:1.85}.optional{font-size:12px}.detail-title{font-size:18px;line-height:1.75}.detail-link{font-size:12px}.detail-metrics{gap:0;justify-content:space-between;padding:18px}.detail-metrics span{font-size:12px}.detail-metrics strong{font-size:27px}.detail-time{font-size:12px;line-height:1.85}.detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:16px}.detail-facts strong{font-size:13px}.detail-facts .author-name{max-width:100%}.history{max-height:280px}.history table{min-width:450px}.detail-error{font-size:12px}.import-template-row{flex-direction:column;align-items:stretch;padding:15px;gap:12px}.import-template-row .button{text-align:center;min-height:44px}.import-template-row p{font-size:12px;line-height:1.85}.import-inputs{display:flex;flex-direction:column;align-items:stretch;gap:17px}.import-inputs label{min-width:0;width:100%;margin:0}.import-inputs input[type=file],.import-inputs select{font-size:16px;min-height:46px}.import-inputs .primary{width:100%;height:46px;font-size:14px}.import-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.import-summary-item{padding:11px}.import-summary-item strong{font-size:25px}.import-summary-item span{font-size:11px}.import-preview-heading{gap:10px;align-items:flex-start}.import-preview-heading h3{font-size:17px}.import-preview-heading span{font-size:11px;white-space:normal;overflow-wrap:anywhere}.import-errors{font-size:12px}.import-preview-table table{min-width:1050px}.import-preview-table{max-height:300px}#toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);font-size:12px;width:max-content;padding:12px 16px;border-radius:12px}
  .auth-screen{padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));min-height:100vh;min-height:100dvh}.auth-card{padding:32px 24px;border-radius:25px;width:100%;flex-basis:420px}.auth-card h1{font-size:28px;line-height:1.35}.auth-card p{font-size:14px;line-height:1.75}.auth-card .brand-mark{width:60px;height:60px}.auth-card small{font-size:11px;line-height:1.7}
}
@media(max-width:360px){.page-content{padding-inline:14px}.page-heading h1{font-size:32px}.stat{padding:16px 14px}.stat-number{font-size:31px}.stat-top{font-size:11px}.stat-symbol{width:22px;height:22px;font-size:17px}.stat-foot,.report-stats .stat-foot{font-size:9px}.filter-heading label{font-size:10px}.filter-heading select{font-size:12px}.record-sort{font-size:10px}.day5-calendar-panel{padding:12px}.day5-cell{padding:6px 2px;min-height:96px}.day5-cell.locked strong{font-size:12px;letter-spacing:-.5px}.day5-cell strong{font-size:9px}.day5-cell>span:not(.day5-date){font-size:8px}.day5-weekdays,.day5-grid{gap:3px}.day5-month-nav h2{font-size:18px}.project-control label,.report-merchant-control{font-size:11px;gap:5px}#rows>tr{padding:16px;column-gap:8px}#rows .date-cell{font-size:10px}.nav-item{font-size:9px}.nav-item>span:first-child svg{width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:800px){.sidebar{backdrop-filter:none;-webkit-backdrop-filter:none}.project-control label,.report-merchant-control{white-space:nowrap}.project-control label{flex-direction:row}.stat-foot{display:block}.mini-badge{display:inline-block;margin-right:4px}}

.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.day5-rule-details summary{font-size:12px;color:#0066cc;cursor:pointer;min-height:32px;display:list-item;line-height:2.5}.day5-rule-details[open] summary{margin-bottom:8px}.day5-rule-details .day5-rule{margin-top:0}@media(max-width:800px){.stat-foot,.report-stats .stat-foot{font-size:11px}.day5-cell.locked .day5-value{font-size:0;line-height:1.6}.day5-cell.locked .day5-value::after{content:attr(data-short);font-size:13px;font-weight:650;letter-spacing:-.6px}.day5-cell .day5-count{font-size:0}.day5-cell .day5-count::after{content:attr(data-short);font-size:9px;letter-spacing:-.2px}.day5-cell.locked>small:last-child{display:none}.day5-rule-details summary{font-size:13px;min-height:38px;line-height:2.7}}@media(max-width:360px){.day5-cell.locked .day5-value::after{font-size:12px}.stat-foot,.report-stats .stat-foot{font-size:10px}}
@media(max-width:800px){.day5-cell{padding-inline:2px}#day5-grid .day5-cell>span.day5-count{font-size:0;line-height:1.5}#day5-grid .day5-count::after{white-space:nowrap;font-size:9px}.day5-cell.locked .day5-value,.day5-cell.locked .day5-value::after{white-space:nowrap}.day5-cell.empty strong{display:none}#rows td::before{font-size:11px}}
@media(max-width:800px){.title-with-project:has(#report-merchant-control:not([hidden])) .project-control{flex-basis:100%}.report-controls>.report-period-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;overflow:visible}.report-controls>.report-period-tabs button{padding:9px 2px;font-size:12px;min-width:0;min-height:42px}.rank-tabs{scrollbar-width:none}.rank-tabs::-webkit-scrollbar{display:none}.heading-actions:has(#export[hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar .side-bottom{width:44px;flex-basis:44px}.side-bottom .icon-button{width:44px;height:44px}}@media(max-width:360px){.report-controls{padding:14px}.report-controls>.report-period-tabs button{font-size:11px;padding-inline:1px}.heading-actions:has(#export[hidden]) button{font-size:12px}}
@media(min-width:600px) and (max-width:800px){#rows{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.heading-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.title-with-project:has(#report-merchant-control:not([hidden])) .project-control{flex-basis:0}.day5-cell.locked .day5-value::after{font-size:18px}.day5-cell .day5-count::after{font-size:11px}.day5-cell strong{font-size:12px}.nav-item{font-size:12px}}
@media(min-width:801px) and (max-width:1600px){#records-view .panel-heading p::after{content:" · 左右滑动查看完整字段";color:#86868b}}

.selection-bar{display:block;padding:15px 24px}.selection-controls{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap}.selection-controls #selection-count{font-weight:600;font-size:13px;color:#0066cc;white-space:nowrap}.selection-controls button{border:1px solid #c9ddf5;border-radius:9px;background:#fff;padding:7px 12px;color:#0066cc;min-height:36px;font-size:12px;line-height:1.5}.selection-controls button:hover{background:#e8f2ff}.selection-view-label{display:flex;flex-direction:row;gap:8px;align-items:center;margin:0 0 0 auto;color:#5d7390;font-size:12px;min-width:0}.selection-view-label select{font-size:13px;min-height:36px;padding:7px 10px;min-width:160px;border-color:#c9ddf5;border-radius:9px;color:#305d8e}.selection-scope{margin:9px 0 0;font-size:11px;line-height:1.7;color:#5d7390}.selection-scope.selection-outside{color:#96620f}.selection-actions{display:flex;gap:10px 14px;align-items:center;flex-wrap:wrap;border-top:1px solid #d8e7f8;margin-top:12px;padding-top:10px}.selection-actions button{min-height:36px}.selection-actions .bulk-category-label{margin:0}.selection-actions .bulk-category-label select{font-size:12px}@media(max-width:800px){.selection-bar{padding:15px}.selection-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.selection-controls #selection-count{grid-column:1;grid-row:1;font-size:13px}.selection-view-label{grid-column:2;grid-row:1;margin:0;font-size:11px;gap:4px;justify-content:flex-end}.selection-view-label select{font-size:13px;min-width:0;width:100%;max-width:155px;min-height:42px;padding:7px 5px}.selection-controls #select-page{grid-column:1;grid-row:2}.selection-controls #select-matching{grid-column:2;grid-row:2}.selection-controls button{font-size:12px;white-space:normal;min-height:44px;padding:8px}.selection-scope{font-size:11px}.selection-actions{gap:9px 12px}.selection-actions .bulk-category-label{flex:1 1 110px}.selection-actions .bulk-category-label select{font-size:16px}.selection-actions button{font-size:12px;min-height:40px}}
@media(max-width:800px){.selection-view-label{white-space:nowrap}.selection-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.selection-actions .bulk-category-label{min-width:0;width:100%;font-size:11px}.selection-actions button{align-self:end;min-height:44px;border:1px solid #c9ddf5;border-radius:9px;background:#fff;padding:8px;font-size:12px;white-space:normal}.selection-actions #delete-selected{color:#c52b36;border-color:#f0ccd0}}

/* Collection results and project-scoped live queue. */
.badge.offline{background:#f2f2f5;color:#6e6e73}.collection-queue-summary{padding:15px 24px;background:#f5f9ff;border-top:1px solid #e8edf5;color:#476383;font-size:12px;line-height:1.8}.tabs [data-filter="queue"] span{display:inline-block;margin-left:4px;border-radius:5px;background:#eef0f4;color:#6e6e73;padding:1px 5px;font-size:10px}.tabs [data-filter="queue"].selected span{background:#d4e6fc;color:#0066cc}@media(max-width:800px){.collection-queue-summary{padding:14px 16px;font-size:12px}}
