:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#160f17;color:#f7eff8}*{box-sizing:border-box}body{margin:0}header{padding:22px 32px;border-bottom:1px solid #443046;display:flex;justify-content:space-between;font-weight:700}main{max-width:1200px;margin:32px auto;padding:0 24px}a{color:#d5b5fb;text-decoration:none;overflow-wrap:anywhere}a:hover{text-decoration:underline}h1{font-size:30px;margin:12px 0}h2{font-size:20px;line-height:1.4}p{line-height:1.6}.meta,.hint{color:#bdaac1;font-size:14px}.toolbar,.project-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.project-actions{justify-content:flex-start}button,.project-actions a{background:#66408a;color:#fff;border:1px solid #8c60ad;border-radius:8px;padding:10px 16px;font:inherit;cursor:pointer}button:hover{background:#7b4d9f}button:disabled{opacity:.45;cursor:default}.danger{background:#652c3b;border-color:#a34c61}input,select,textarea{background:#241b29;color:inherit;border:1px solid #664d6b;border-radius:7px;padding:11px;font:inherit;max-width:100%}textarea{resize:vertical}label{display:block;font-weight:600;margin:18px 0 8px}form:not(#filters){padding:22px;background:#241924;border:1px solid #49314c;border-radius:12px;margin:22px 0}form:not(#filters) input,form:not(#filters) textarea,form:not(#filters) select{width:100%;display:block;margin-bottom:16px}#filters{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}#content-search{flex:1;min-width:220px}#project-tabs{display:flex;gap:8px;border-bottom:1px solid #49314c;margin:24px 0}#project-tabs button{border:0;border-radius:8px 8px 0 0;background:transparent;color:#c5adcc}#project-tabs button[aria-selected=true]{background:#604078;color:white}#contents{display:grid;gap:20px}#contents>section,#content-panel,#panel-stats{background:#231823;border:1px solid #49314c;border-radius:12px;padding:24px}#contents>section{background:#2c1c2b}#content-panel{margin-top:0}.caption{white-space:pre-wrap;overflow-wrap:anywhere}#contents .source{display:inline-block;margin-right:18px}#channel-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:28px 0}.channel-card{padding:18px;border:1px solid #634254;border-top:4px solid #ad853e;border-radius:10px;background:#2e231d}.channel-card[data-status=ok]{background:#17322b;border-color:#418a6b}.channel-card[data-status=running]{background:#192c42;border-color:#5190d3}.channel-card[data-status=error]{background:#351b27;border-color:#b65169}.channel-card[data-status=warning]{background:#38271c;border-color:#c18447}.channel-card[data-status=paused],.channel-card[data-status=pending]{background:#342c1d;border-color:#b59042}.channel-status{display:inline-block;padding:4px 10px;border-radius:20px;font-size:13px;font-weight:700;background:#75582e;color:#ffe1a2}.channel-card[data-status=ok] .channel-status{background:#24513f;color:#a7e9c8}.channel-card[data-status=running] .channel-status{background:#264e78;color:#b4d9ff}.channel-card[data-status=error] .channel-status{background:#642c3d;color:#ffabbc}.content-author{display:flex;align-items:center;gap:12px;margin-bottom:18px}.channel-avatar{position:relative;flex:0 0 44px;width:44px;height:44px;border-radius:50%;overflow:hidden;background:#68437d;display:grid;place-items:center;font-size:15px;font-weight:700}.channel-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.channel-identity{min-width:0}.channel-identity>a{font-weight:700}.channel-identity .meta{margin:3px 0 0}.content-thumbnail{display:block;max-width:640px;margin:16px 0;border-radius:9px;overflow:hidden;background:#130f15}.content-thumbnail img{display:block;width:100%;max-height:360px;object-fit:contain}nav[aria-label="Halaman konten"]{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px}.table-wrap{overflow-x:auto;border:1px solid #49314c;border-radius:10px;margin:24px 0}table{border-collapse:collapse;width:100%;text-align:left;background:#241924}th,td{padding:15px;border-bottom:1px solid #49314c;vertical-align:top}td a,td button{margin:0 10px 8px 0}th{color:#ddc9e6}.stats-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.stat-card{background:#312036;border-radius:10px;padding:18px}.stat-card strong{font-size:30px}.stats-track{height:6px;background:#49314c;border-radius:8px;margin-top:8px;min-width:90px}.stats-bar{height:100%;background:#bd87e6;border-radius:8px}[hidden]{display:none!important}@media(max-width:600px){header{padding:16px}main{padding:0 14px;margin:20px auto}#content-panel,#panel-stats,#contents>section{padding:16px}.project-actions button{padding:8px 10px;font-size:14px}#channel-list{grid-template-columns:1fr}th,td{padding:10px}#filters>*{width:100%}}

#cluster-stats-panel{margin:28px 0;padding:20px;border:1px solid #49314c;border-radius:12px}.cluster-chart-layout{display:flex;align-items:center;gap:32px;flex-wrap:wrap}.keyword-pie{width:280px;max-width:100%}.keyword-pie svg{display:block;width:100%}.keyword-legend{list-style:none;padding:0;flex:1;min-width:180px}.keyword-legend li{display:flex;align-items:center;gap:10px;margin:12px 0;overflow-wrap:anywhere}.cluster-swatch{width:14px;height:14px;border-radius:3px;flex-shrink:0}

.keyword-pie-panel{padding:12px 0 24px;border-bottom:1px solid #49314c}.keyword-pie-panel:last-child{border-bottom:0}

/* narrasignal project workspace */
.detail-page{color-scheme:light;background:radial-gradient(ellipse at 90% 0%,#f0eaff66,transparent 50%),#f8f9ff;color:#252343;font-size:14px;min-height:100vh}.detail-page .app-header{height:70px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#ffffffc9;border-bottom:1px solid #dedff0;gap:28px}.brand{display:flex;align-items:center;gap:12px;color:#111122!important;font-size:23px;font-weight:750;letter-spacing:-1px}.brand-mark{width:27px;height:27px;position:relative;display:inline-block}.brand-mark:before,.brand-mark:after{content:'';position:absolute;width:10px;height:25px;transform:skew(-25deg);border-radius:4px;background:linear-gradient(#a960ff,#7723ef);left:3px;top:1px}.brand-mark:after{left:16px;opacity:.8}.app-header nav{display:flex;gap:12px;flex:1;justify-content:center}.app-header nav a{padding:11px 20px;border-radius:12px;color:#24223d}.app-header nav a.active{background:#ede2ff;color:#6819df;font-weight:650}.workspace-badge{font-size:12px;color:#716b89;background:#f0eafa;border-radius:24px;padding:9px 14px}.detail-page main{max-width:1440px;margin:30px auto;padding:0 32px}.detail-page a{color:#6e16e7}.detail-page h1{font-size:36px;letter-spacing:-1.2px;margin:14px 0 8px}.detail-page h2{font-size:25px;letter-spacing:-.8px;margin:0 0 10px}.detail-page h3{font-size:22px;letter-spacing:-.6px;margin:0}.detail-page .meta,.detail-page .hint{color:#625e79;line-height:1.5}.detail-page button,.detail-page .project-actions a{background:#f7f2ff;color:#6414dc;border:1px solid #cdb3fb;border-radius:8px;padding:10px 14px;font-size:13px}.detail-page button:hover{background:#ece0ff}.detail-page button.danger{background:#fff8f8;color:#db304c;border-color:#f7a7b4}.detail-page .toolbar{margin-top:16px}.detail-page .project-actions{gap:10px}.detail-page input,.detail-page select,.detail-page textarea{background:#fff;border-color:#d8d7e8;color:#262340;border-radius:8px}.detail-page form:not(#filters){background:#fff;border-color:#deddf0;box-shadow:0 3px 14px #533e8b04}.detail-page #date-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin:16px 0}.detail-page #date-filter label{margin:0;font-size:12px}.detail-page #date-filter select,.detail-page #date-filter input{width:auto;margin:0;display:inline-block;padding:8px 12px;font-size:12px}.detail-page #date-filter #custom-dates{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.detail-page #date-filter-status{margin:0;font-size:12px}.detail-page #project-summary{margin:0 0 9px}.detail-page #data-dates{font-size:13px;margin:0 0 8px}.detail-page #page-status:empty{display:none}.detail-page #project-tabs{margin:24px 0 20px;border-color:#dad9ed;gap:20px}.detail-page #project-tabs button{border-radius:12px 12px 0 0;padding:13px 26px;color:#4d4763;background:transparent;border-bottom:3px solid transparent}.detail-page #project-tabs button[aria-selected=true]{color:#7014ed;background:#eee5ff;border-bottom-color:#8424ff;font-weight:650}.detail-page #panel-stats{padding:0;background:none;border:0}.stats-hero{position:relative;overflow:hidden;display:flex;align-items:center;gap:30px;border:1px solid #ddd8f2;background:linear-gradient(120deg,#fff,#fdfbff);padding:28px 32px;border-radius:18px;box-shadow:0 4px 15px #4c3d8606}.stats-intro{flex:1;min-width:200px;z-index:1}.stats-intro p{max-width:320px;margin:0}.hero-wave{position:absolute;right:0;bottom:0;width:45%;height:100%;pointer-events:none}.detail-page .stats-summary{display:flex;gap:0;z-index:1;flex:1.3}.detail-page .stat-card{background:transparent;flex:1;padding:0 30px;border-left:1px solid #d3cce5;border-radius:0}.detail-page .stat-card:first-child{border-left:0}.detail-page .stat-card p{color:#26213d;margin:0 0 9px;font-size:14px}.detail-page .stat-card p:before{content:'◇';color:#9b35ff;font-size:25px;margin-right:12px;vertical-align:middle}.detail-page .stat-card strong{font-size:42px;letter-spacing:-1.5px;line-height:1}.detail-page #stats-status{font-size:11px;text-align:right;margin:8px 4px}.detail-page #cluster-stats-panel,.performance-panel{background:#ffffffbf;border:1px solid #dedff0;border-radius:18px;padding:24px;box-shadow:0 5px 20px #4e3e8105;margin:20px 0}.section-icon{color:#9637ff;margin-right:8px;font-size:29px;vertical-align:middle}.detail-page #cluster-stats-panel>p.meta{margin:0 0 22px 35px;font-size:12px;max-width:980px}.detail-page #cluster-stats-status:empty{display:none}#cluster-keyword-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.detail-page .keyword-pie-panel{border:1px solid #ddddec;border-radius:16px;background:linear-gradient(125deg,#fff,#fafaff);padding:22px 18px;min-width:0}.detail-page .keyword-pie-panel:last-child{border:1px solid #ddddec}.cluster-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}.cluster-total{border-radius:12px;padding:6px 12px;font-size:11px;color:#5f20cb;background:#f1e8ff}.detail-page .cluster-chart-layout{gap:18px;flex-wrap:nowrap;align-items:center;margin-bottom:20px}.detail-page .keyword-pie{width:42%;flex-shrink:0;max-width:235px;min-width:120px}.detail-page .keyword-pie svg{display:block;width:100%}.donut-total{font-weight:750;font-size:27px;fill:#292344;letter-spacing:-1px}.donut-label{font-size:15px;fill:#5c536e}.legend-box{min-width:0;flex:1}.detail-page .keyword-legend{min-width:0;margin:0;list-style:none;padding:0;font-size:12px}.detail-page .keyword-legend li{gap:8px;margin:9px 0;align-items:center}.legend-name{flex:1;min-width:0;overflow-wrap:anywhere}.legend-value{white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;color:#3d354f}.detail-page .cluster-swatch{border-radius:4px;width:12px;height:14px}.detail-page .show-keywords{border:0;background:transparent;padding:8px 0;color:#7015e9;font-weight:600;font-size:12px}.keyword-table-wrap{overflow-x:auto}.detail-page table{background:transparent;color:#24213b;font-size:13px}.detail-page th,.detail-page td{padding:11px 14px;border-bottom:1px solid #e5e4f0;color:#29243f}.detail-page th{font-weight:600}.detail-page .keyword-table{font-size:12px;table-layout:fixed}.detail-page .keyword-table th,.detail-page .keyword-table td{padding:8px 5px}.keyword-name .cluster-swatch{display:inline-block;vertical-align:middle;margin-right:8px}.keyword-name span:last-child{overflow-wrap:anywhere}.keyword-table td{font-variant-numeric:tabular-nums}.keyword-share>span:first-child{display:inline-block;min-width:40px}.detail-page .stats-track{background:#e3e3ed;border-radius:8px;height:7px;min-width:0}.detail-page .stats-bar{display:block;background:linear-gradient(90deg,#8b2ef1,#b967ff);height:100%;border-radius:8px}.keyword-share .stats-track{display:inline-block;width:calc(100% - 46px);margin:0 0 1px 4px}.detail-page .table-wrap{border-color:#ddddeb;border-radius:14px;margin:20px 0 0}.performance-panel .table-wrap{margin-top:18px}.performance-panel td:last-child{min-width:210px}.performance-panel .stats-track{display:inline-block;width:65%;margin:0 0 1px 15px}.platform-icon{display:inline-grid;place-items:center;margin-right:12px;width:27px;height:27px;border-radius:7px;color:#fff;font-size:20px;vertical-align:middle}.platform-icon.instagram{background:linear-gradient(35deg,#ffce59,#f33787,#8c36f4)}.platform-icon.tiktok{background:#171327;text-shadow:2px 0 #fd3a72,-2px 0 #1ed5dc}.platform-icon.youtube{background:#ff123c}.platform-icon.website{color:#8e28fb;font-size:28px}.detail-page #contents>section,.detail-page #content-panel{background:#fff;border-color:#dedff0}.detail-page .channel-card{color:#332d40;background:#fffaf0;border-color:#ebd28e}.detail-page .channel-card[data-status=ok]{background:#f0faf5;border-color:#85c6a3}.detail-page .channel-card[data-status=running]{background:#f0f6ff;border-color:#88b4e8}.detail-page .channel-card[data-status=error]{background:#fff1f3;border-color:#e4a0ac}.detail-page .channel-card[data-status=paused],.detail-page .channel-card[data-status=pending]{background:#fffbef;border-color:#dfc780}.detail-page .channel-card[data-status=warning]{background:#fff6ec;border-color:#e8ba8f}.detail-page .channel-status{color:#8a641e;background:#f5e7b9}.detail-page .channel-card[data-status=ok] .channel-status{color:#286444;background:#ccebd9}.detail-page .channel-card[data-status=running] .channel-status{color:#285f98;background:#d7e8ff}.detail-page .channel-card[data-status=error] .channel-status{color:#a1354c;background:#fad5df}.detail-page .channel-avatar{background:#eee2ff;color:#7139aa}.detail-page fieldset{border:1px solid #ded9ed;border-radius:12px;padding:18px;margin:16px 0}.detail-page legend{padding:0 8px;color:#6d25c9}.empty-chart{text-align:center;color:#7f7790;font-size:12px;padding:30px 5px}@media(min-width:1500px){.detail-page main{max-width:1440px}}@media(max-width:1100px){#cluster-keyword-charts{grid-template-columns:1fr}.detail-page .keyword-pie{width:210px}.detail-page .keyword-legend{font-size:14px}.legend-value{font-size:13px}.detail-page .cluster-chart-layout{gap:30px}.stats-hero{padding:24px}.detail-page .stat-card{padding:0 18px}}@media(max-width:650px){.detail-page .app-header{padding:0 18px;gap:12px;height:62px}.brand{font-size:19px}.workspace-badge{display:none}.app-header nav{justify-content:flex-end;gap:4px}.app-header nav a{padding:8px;font-size:11px}.detail-page main{padding:0 16px;margin:22px auto}.detail-page h1{font-size:29px}.detail-page h2{font-size:22px}.stats-hero{flex-direction:column;align-items:stretch;padding:22px;gap:22px}.stats-intro p{max-width:none}.detail-page .stats-summary{width:100%}.detail-page .stat-card{padding:0 18px}.detail-page .stat-card:first-child{padding-left:0}.detail-page .stat-card strong{font-size:35px}.detail-page #cluster-stats-panel,.performance-panel{padding:18px 12px}.detail-page #cluster-stats-panel>p.meta{margin-left:0}.detail-page .keyword-pie-panel{padding:18px 12px}.detail-page .keyword-pie{width:43%;min-width:110px}.detail-page .cluster-chart-layout{gap:12px}.detail-page .keyword-legend{font-size:11px}.legend-value{font-size:10px}.detail-page .keyword-table{font-size:10px}.keyword-share>span:first-child{min-width:34px}.keyword-share .stats-track{width:calc(100% - 39px)}.cluster-heading{gap:8px}.cluster-total{font-size:10px}.detail-page #date-filter{gap:9px}.detail-page .project-actions{margin:8px 0}.detail-page .project-actions button{font-size:12px}.performance-panel .table-wrap{overflow-x:auto}.performance-panel table{min-width:600px}}
.detail-page>main>.table-wrap{background:#fff;box-shadow:0 5px 20px #4e3e8105}.detail-page>main>.table-wrap th{background:#faf9ff;color:#544b6d}.detail-page>main>.table-wrap tbody tr:hover{background:#faf7ff}.detail-page>main>.table-wrap td{vertical-align:middle}.detail-page>main>.toolbar{margin-bottom:22px}.detail-page>main>.toolbar>a{border:1px solid #d9c9f1;border-radius:9px;padding:10px 15px;background:#fff}.detail-page>main>form h2{margin-top:0}.detail-page p{color:inherit}.detail-page .meta,.detail-page .hint{color:#625e79}.legacy-page .app-header{width:100%;margin:0;letter-spacing:normal}.legacy-page main{width:auto;max-width:1100px;padding-top:0;padding-bottom:50px}.legacy-page h1 span{color:#8a30ef}.legacy-page .controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.legacy-page .controls input{flex:1;min-width:180px}.legacy-page .controls button{flex:0 0 auto}.legacy-page section{background:#fff;border:1px solid #dedff0;border-radius:16px;padding:24px;margin:24px 0}.legacy-page #caption,.legacy-page .caption{white-space:pre-wrap;overflow-wrap:anywhere}.legacy-page #caption{max-height:400px;overflow:auto}.legacy-page main>a{display:inline-block;padding:10px 15px;border:1px solid #d8c3f6;border-radius:8px;background:#f7f2ff;margin:0 8px 8px 0}.legacy-page main>nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.legacy-page #status:empty{display:none}.detail-page :focus-visible{outline:3px solid #c29aff;outline-offset:3px}.detail-page .caption{color:#423a54}.detail-page td .source{margin:0}.detail-page .table-wrap td:first-child a{font-weight:600}.detail-page .table-wrap td button{white-space:nowrap}@media(max-width:650px){.legacy-page main{width:auto;padding:0 16px 32px}.legacy-page .controls{align-items:stretch}.legacy-page .controls input{width:100%;flex-basis:100%}.detail-page .table-wrap{max-width:100%}}

#panel-stats[aria-busy=true] #stats-summary,#panel-stats[aria-busy=true] #cluster-keyword-charts,#panel-stats[aria-busy=true] #stats-rows{opacity:.4;transition:opacity .15s}#stats-status{min-height:16px}

.detail-page .cluster-chart-layout{justify-content:center}.detail-page .keyword-pie{width:220px;max-width:65%;min-width:120px}.keyword-pie-panel>.show-keywords{display:block;margin:12px auto 0}

#match-index-status:empty{display:none}#match-index-status:not(:empty){padding:10px 14px;border:1px solid #d8c4f5;border-radius:8px;background:#f5efff;color:#6632a4}

.detail-page #collection-filters:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0 16px;padding:16px 20px;border:1px solid #dedff0;border-radius:14px;background:#fff}
.detail-page #collection-filters label{margin:0;font-weight:600}
.detail-page #collection-status{width:auto;min-width:170px;margin:0}
.detail-page #collection-filter-count{margin:0}
.detail-page #channel-list .channel-card[hidden]{display:none}

.detail-page #industry-input-tabs:not([hidden]){display:flex;gap:8px;border-bottom:1px solid #dedff0;margin:20px 0 0;padding-bottom:8px}.detail-page #industry-input-tabs [aria-selected="true"]{background:#eee3ff;color:#681ae7;border-color:#b894ff}.detail-page .url-import-row{padding:12px 0;border-top:1px solid #e4e0ef}.detail-page .url-import-row>a{display:block;overflow-wrap:anywhere;margin-top:5px}.detail-page #url-import-history{margin-top:20px}

.sentiment-badge{display:inline-block;padding:4px 10px;margin:10px 0;border-radius:16px;font-size:12px;font-weight:600}.sentiment-negative{background:#ffe1e6;color:#a51c3c}.sentiment-positive{background:#dff7e9;color:#16643b}

.detail-page .settings-card{padding:24px;border:1px solid #dedff0;border-radius:16px;background:#fff;max-width:850px}.settings-card textarea{width:100%;box-sizing:border-box;resize:vertical}.settings-card #settings-status{white-space:pre-line}.settings-card label{display:block;margin:16px 0 8px;font-weight:600}

.cluster-sentiments{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 8px}.cluster-sentiment{flex:1;min-width:150px;padding:12px 14px;border-radius:12px}.cluster-sentiment span,.cluster-sentiment strong{display:block}.cluster-sentiment strong{margin-top:6px;font-size:17px}

.keyword-table-wrap{overflow-x:auto}.keyword-sentiment{white-space:nowrap}.keyword-sentiment-positive{color:#16643b}.keyword-sentiment-negative{color:#a51c3c}

/* Give all six keyword columns space, including both sentiment columns. */
.detail-page .keyword-table{min-width:600px;font-size:12px;table-layout:fixed}
.keyword-table th:first-child{width:5%}
.keyword-table th:nth-child(2){width:25%}
.keyword-table th:nth-child(3){width:11%}
.keyword-table th:nth-child(4){width:25%}
.keyword-table th:nth-child(5),.keyword-table th:nth-child(6){width:17%}
.detail-page .keyword-table th,.detail-page .keyword-table td{box-sizing:border-box;padding:10px 6px;vertical-align:middle}
.keyword-table th:nth-child(5),.keyword-table th:nth-child(6),.keyword-table .keyword-sentiment{text-align:center}
.keyword-table th:nth-child(5){color:#16643b}.keyword-table th:nth-child(6){color:#a51c3c}
.keyword-sentiment-badge{display:inline-flex;flex-direction:column;align-items:center;gap:3px;min-width:64px;max-width:100%;padding:6px 8px;border-radius:10px;box-sizing:border-box;line-height:1.3}
.keyword-sentiment-positive .keyword-sentiment-badge{background:#e6f6ec;color:#16643b}
.keyword-sentiment-negative .keyword-sentiment-badge{background:#ffedf0;color:#a51c3c}
.keyword-sentiment-badge strong{font-size:13px;font-weight:600}.keyword-sentiment-badge small{font-size:11px}
.keyword-table-wrap{max-width:100%;scrollbar-width:thin;overscroll-behavior-x:contain}
.keyword-table .keyword-share>span:first-child{min-width:40px}.keyword-table .keyword-share .stats-track{width:calc(100% - 46px)}

/* One full-width keyword cluster per row on all screen sizes. */
.detail-page #cluster-keyword-charts{grid-template-columns:minmax(0,1fr)}
.detail-page #cluster-keyword-charts>.keyword-pie-panel{min-width:0;width:100%;box-sizing:border-box}

/* Consistent saved-content list across admin, client and channel profiles. */
.detail-page #contents{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.detail-page #contents>.content-card{padding:22px 24px;border:1px solid #e2dded;border-radius:16px;background:#fff;box-shadow:0 4px 18px #34204d04;min-width:0}
.content-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.content-card-header .content-author{margin:0;min-width:0}.content-card-header .channel-identity>a{font-size:14px;overflow-wrap:anywhere}.content-card-header .channel-identity .meta{font-size:12px}
.content-card-badges{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;flex-shrink:0}.content-card-badges .sentiment-badge{margin:0}.content-card-badges .meta{font-size:11px}
.content-card-body{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}.has-thumbnail .content-card-body{grid-template-columns:220px minmax(0,1fr)}
.content-card-copy{min-width:0}.detail-page .content-card-copy h2{font-size:19px;line-height:1.45;margin:0 0 12px;font-weight:650;overflow-wrap:anywhere}
.detail-page #contents .content-thumbnail{display:block;max-width:none;width:100%;margin:0;border:1px solid #eee8f5;border-radius:12px;background:#f7f5fa;overflow:hidden;box-sizing:border-box}
.content-card .content-thumbnail img{width:100%;height:auto;max-height:260px;aspect-ratio:16/10;object-fit:contain}
.content-card-text{font-size:14px;line-height:1.8;color:#514b61;overflow-wrap:anywhere}.content-card-text .caption{margin:0 0 12px}.content-card-text .caption:last-child{margin-bottom:0}
.content-card-text.is-collapsed{max-height:12.6em;overflow:hidden;mask-image:linear-gradient(#000 75%,transparent)}
.detail-page .content-card .content-read-more{padding:5px 0;margin-top:8px;border:0;background:transparent;color:#7836cd;font-size:13px;font-weight:600;box-shadow:none}
.content-card-tags{display:grid;gap:8px;margin-top:16px}.content-tag-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.content-tag-label{font-size:11px;color:#777086;margin-right:3px;min-width:76px}.content-tag{padding:3px 9px;background:#f3edfc;color:#713ab0;border-radius:6px;font-size:11px;line-height:1.6;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
.content-card-notes{margin-top:12px}.content-card-notes .meta{margin:6px 0;color:#97526a;font-size:12px}
.content-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #f0ecf5;margin-top:18px;padding-top:14px}.content-card-sources,.content-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.detail-page #contents .content-card-sources .source{margin:0;font-size:12px;text-decoration:none;padding:7px 10px;border:1px solid #e8dff4;border-radius:7px;background:#fbf9fe}.content-card-actions button{font-size:12px;padding:7px 10px}
.detail-page #filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.detail-page #filters input[type=search]{flex:1 1 230px;min-width:160px}.detail-page #filters label{font-size:12px;margin:0}.detail-page #filters select{max-width:240px}.detail-page #filters button{flex-shrink:0}
@media(max-width:700px){.detail-page #contents>.content-card{padding:16px}.has-thumbnail .content-card-body{grid-template-columns:minmax(0,1fr)}.content-card-header{gap:10px;flex-wrap:wrap}.content-card-badges{justify-content:flex-start}.content-card .content-thumbnail img{max-height:240px;aspect-ratio:16/9}.content-card-body{gap:16px}.content-card-footer{align-items:flex-start;flex-direction:column}.content-card-copy h2{font-size:17px}.content-card-actions{width:100%}.detail-page #filters select{max-width:100%}}

.user-menu{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0;font-size:12px}.user-menu a{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu button{font-size:11px;padding:6px 9px}.detail-page .app-header nav{overflow-x:auto;white-space:nowrap;min-width:0}.login-main{max-width:460px!important;padding-top:40px!important}.login-main>.brand{margin-bottom:24px;display:flex}.login-page .settings-card{margin-top:24px}.login-page input,.settings-card #user-form input:not([type=checkbox]),#password-form input{width:100%;box-sizing:border-box}.login-page label,#user-form label,#password-form label{display:block;margin:14px 0 7px}.login-page button,#password-form button{margin-top:20px}.checkbox-row{display:flex!important;align-items:center;gap:8px;font-size:13px}.checkbox-row input[type=checkbox]{width:16px;min-width:16px;margin:0}.project-access-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;padding:14px;border:1px solid #e5dff0;border-radius:10px;max-height:340px;overflow:auto}#user-form fieldset{border:0;padding:0}.detail-page #editor.settings-card{margin-top:24px}#audit{margin-top:16px;max-height:400px;overflow:auto}@media(max-width:700px){.project-access-list{grid-template-columns:minmax(0,1fr)}.user-menu{gap:6px}.user-menu a{max-width:70px}.detail-page .app-header{height:auto;min-height:62px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.detail-page .app-header nav{order:3;flex-basis:100%}}
