/* Use the shared sidebar icon spacing, without an extra margin. */
.nav[data-tab="douyin"]{--ui-icon:url("/static/material-symbols/smart_display.svg")}
.dy-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.dy-status>div{background:white;border:1px solid #dfe5e2;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:10px}.dy-status b{font-size:24px;color:#234a3b}.dy-status span,.dy-status small{color:#718078}.dy-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:22px 0 14px}.dy-toolbar h3{margin-right:auto}.dy-toolbar label{display:flex;gap:8px;align-items:center}.dy-toolbar input{min-width:240px}.dy-analysis{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f6;padding:20px;border-radius:12px;max-height:60vh;overflow:auto}#douyinPage table small{display:block;margin-top:7px;color:#77877e}#douyinPage td{vertical-align:top}#douyinTargets{padding:14px;border:1px solid #dce5e0;border-radius:12px;margin:12px 0;display:flex;flex-wrap:wrap;gap:16px}#douyinTargets label{display:flex;gap:5px;align-items:center}@media(max-width:800px){.dy-status{grid-template-columns:1fr}.dy-toolbar{align-items:stretch}.dy-toolbar label{flex-direction:column;align-items:start}}
#douyinPage{padding-bottom:28px}#douyinPage button{appearance:none;border:1px solid #dce4df;border-radius:8px;background:#fff;color:#28473b;padding:9px 13px;font:inherit;font-size:13px;line-height:1.4;cursor:pointer;white-space:nowrap;margin:2px 3px 2px 0;transition:background .15s,border-color .15s}#douyinPage button:hover{background:#edf5ef;border-color:#a9c3b4}#douyinPage button:disabled{opacity:.45;cursor:default}#douyinPage #dyAdd,#douyinPage #dyQuery{background:#234d3c;border-color:#234d3c;color:#fff}#douyinPage .dy-toolbar label{white-space:nowrap;width:auto}#douyinPage input:not([type=checkbox]),#douyinPage select{font:inherit;font-size:13px;background:#fff;color:#294237;border:1px solid #dce4df;border-radius:8px;padding:10px 12px;height:41px;width:auto;max-width:100%}#douyinPage input[type=checkbox]{min-width:0;width:15px;height:15px;accent-color:#234d3c}#douyinPage .table-wrap{background:#fff;border:1px solid #e0e7e3;border-radius:12px;overflow:auto}#douyinPage table{width:100%;border-collapse:collapse;min-width:820px}#douyinPage th{background:#f5f8f6;color:#738178;font-size:12px;text-align:left;padding:15px 18px;white-space:nowrap}#douyinPage td{padding:18px;border-top:1px solid #edf1ee;line-height:1.6}#douyinPage td:first-child{min-width:210px}#douyinPage td:nth-child(2){min-width:120px;overflow-wrap:normal}#douyinPage td:last-child{min-width:210px}#douyinPage .hint{line-height:1.8;color:#78867e;font-size:12px}#douyinPage h3{font-size:17px;color:#283b32}.dy-source-log{margin:20px 0}.dy-source-log summary{cursor:pointer;color:#61766b;font-size:13px;padding:12px 0}

.dy-processes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.dy-processes section{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid #dbe5df;border-radius:12px;background:#fff}.dy-processes b{font-size:20px}.dy-processes small{color:#718078}.dy-processes button{align-self:flex-start}@media(max-width:850px){.dy-processes{grid-template-columns:1fr}}

#douyinPage [hidden]{display:none!important}
.dy-view-tabs{display:flex;gap:6px;border-bottom:1px solid #dce4df;margin:0 0 20px;padding-bottom:0}
#douyinPage .dy-view-tabs button{font-size:16px;font-weight:650;padding:12px 26px;border:0;border-bottom:3px solid transparent;border-radius:8px 8px 0 0;background:transparent;margin:0}
#douyinPage .dy-view-tabs button.active{color:#234d3c;border-bottom-color:#234d3c;background:#eaf2ed}
.dy-status-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 12px}
#douyinPage .dy-status-tabs button{display:flex;align-items:center;gap:8px;border-radius:20px;padding:8px 14px;margin:0}
#douyinPage .dy-status-tabs button.active{background:#234d3c;border-color:#234d3c;color:#fff}
.dy-status-tabs button span{font-size:11px;font-variant-numeric:tabular-nums;background:#eaf0ec;color:#53725f;padding:1px 6px;border-radius:10px}
.dy-status-tabs button.active span{background:#ffffff25;color:#fff}
#douyinPage .dy-controls{margin:14px 0 20px}
#douyinPage .dy-article-filters{margin-top:14px}
#douyinPage #dyCreatorFilter{min-width:180px}
#douyinPage button:focus-visible,#douyinPage select:focus-visible{outline:2px solid #73a48a;outline-offset:3px}
