:root{--shared-blue:#0071e3;--shared-orange:#b74a00;--shared-red:#ad263c}body{background:#f5f5f7;color:#1d1d1f;margin:0;font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}.shared-shell{max-width:1220px;margin:auto;padding:0 32px}.shared-header{position:relative;padding:28px 0 16px;border-bottom:1px solid #ddd}.shared-brand{display:flex;gap:12px;flex-wrap:wrap;text-decoration:none;color:inherit;font-size:25px;line-height:1.4;align-items:baseline}.shared-brand span{font-size:19px}.shared-brand strong{font-weight:650}#identity{display:flex;justify-content:flex-end;gap:14px;align-items:center;margin:16px 0}#navigation,#management{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:14px 0 0}button,a{touch-action:manipulation}.pill{border:1px solid #d6d6db;background:white;border-radius:999px;padding:8px 20px;color:#333;font:inherit;cursor:pointer}.pill.active{background:var(--shared-blue);border-color:var(--shared-blue);color:white}.management-label{background:var(--shared-red);color:#fff;padding:7px 16px;border-radius:999px}.manage{background:#fff1f2;border-color:#efc9ce;color:#8c2332}.manage.active{background:var(--shared-red);border-color:var(--shared-red);color:white}.filter.active{background:#fff0dc;color:var(--shared-orange);border-color:#e7b87a}main{padding:26px 0;min-height:45vh}h1{font-size:36px;letter-spacing:-1px;margin:0 0 14px}h2{font-size:24px;margin:0}h3{font-size:19px;margin:0 0 8px}.shared-card,.shared-panel{background:#fff;border:1px solid #e5e5ea;border-radius:20px;padding:22px;margin:0 0 18px}.shared-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shared-grid .shared-card{margin:0}.shared-meta,.muted{color:#626267;font-size:14px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}.actions .button{min-height:38px}.section-head{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:26px 0 14px;flex-wrap:wrap}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.filters input{flex:1;min-width:160px}.filters input,.filters select,.shared-form input,.shared-form select,.shared-form textarea{font:inherit;padding:10px;border-radius:10px;border:1px solid #c8c8ce;background:white;max-width:100%;box-sizing:border-box}.shared-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.shared-form label{display:flex;flex-direction:column;gap:6px}.shared-form .wide{grid-column:1/-1}.shared-form textarea{min-height:100px}.shared-form label.check{display:flex;flex-direction:row;align-items:center}.shared-form .check input{width:auto}.shared-footer{padding:24px 0 34px;border-top:1px solid #ddd;color:#6e6e73;font-size:13px}.shared-footer a{color:inherit}.candidate-note{color:#8b5100}.shared-table{border-collapse:collapse;width:100%;font-size:14px}.shared-table th,.shared-table td{text-align:left;padding:13px;border-bottom:1px solid #e5e5ea;vertical-align:top}.shared-table th{white-space:nowrap}.shared-table .name{display:block;margin-bottom:7px}.table-scroll{overflow-x:auto}.state{font-size:13px;background:#f0f2f5;border-radius:7px;padding:3px 8px;display:inline-block}.state.published{background:#e8f5ec;color:#146b36}.state.pending{background:#fff0d9;color:#975400}.state.offline,.state.rejected,.state.quarantined{background:#ffecec;color:#9f2635}.hero{padding:32px;background:#eaf2fc;border-radius:22px}.hero p{margin-bottom:0}.carousel{position:relative;border-radius:18px;overflow:hidden;background:#e9e9ef;margin-top:20px;height:280px}.carousel img{width:100%;height:100%;object-fit:contain}.carousel-caption{position:absolute;bottom:0;left:0;right:0;padding:10px 18px;color:#fff;background:#0009}.carousel a{display:block;height:100%}dialog{max-width:760px;width:calc(100% - 80px);max-height:85vh;overflow:auto;border:0;border-radius:20px;padding:26px;box-shadow:0 20px 90px #0004}dialog::backdrop{background:#0006}#dialog-close{margin-top:20px}.error{color:#b42336}.pager{display:flex;justify-content:center;align-items:center;gap:16px;padding:22px}.shared-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shared-gallery img{width:100%;height:145px;object-fit:contain;background:#f3f3f5}#feedback{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:85vw;padding:12px 22px;border-radius:12px;background:#222;color:white;z-index:200;display:none}.empty{padding:25px;color:#6e6e73;text-align:center}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:760px){.shared-shell{padding:0 16px}.shared-grid,.shared-gallery{grid-template-columns:1fr}.shared-form{grid-template-columns:1fr}.shared-brand{font-size:22px;gap:3px}.shared-brand span{font-size:17px}h1{font-size:29px}.hero{padding:24px}.carousel{height:210px}.pill{padding:7px 14px}dialog{width:calc(100% - 32px);padding:18px}.shared-form .wide{grid-column:1}.section-head{margin-top:20px}}

.safe-preview{width:100%;height:58vh;border:1px solid #ddd;border-radius:10px;background:#fff}@media(max-width:760px){#identity{flex-wrap:wrap;justify-content:flex-start;gap:9px}#identity>span{flex-basis:100%;font-size:14px}.filters select{max-width:100%}}

[hidden]{display:none!important}
.news-carousel{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr);gap:18px;margin-top:24px;align-items:stretch}
.news-titles{height:292px;max-height:292px;overflow:auto;background:#fff;border:1px solid #dce5ef;border-radius:16px;padding:8px;scrollbar-width:thin}
.news-title{display:flex;gap:12px;width:100%;border:0;border-radius:11px;text-align:left;background:transparent;color:#515157;height:55px;padding:6px 10px;font:inherit;line-height:1.3;cursor:pointer}
.news-title-text{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.news-title.active{background:#eaf2fc;color:#0066cc;font-weight:650}
.news-number{font-size:13px;opacity:.65;padding-top:2px;flex:0 0 22px}
.news-visual{min-width:0;display:flex;flex-direction:column;justify-content:center}
.news-image{height:292px;border-radius:16px;overflow:hidden;background:#e1e9f2}
.news-image>a,.news-static{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.news-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.news-image-error{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:24px;margin:0;color:#626267;font-size:14px;text-align:center}
.news-photo-controls{display:flex;justify-content:center;align-items:center;gap:10px;min-height:34px;padding-top:6px}
.news-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;min-width:0}
.news-dot{display:inline-flex;align-items:center;justify-content:center;width:24px;height:28px;border:0;padding:0;background:transparent;cursor:pointer}
.news-dot::after{content:"";width:7px;height:7px;border-radius:50%;background:#a7b8cd}
.news-dot.active::after{background:#0071e3;width:9px;height:9px}
.news-title:focus-visible,.news-dot:focus-visible{outline:3px solid #0071e366;outline-offset:1px}
.home-resource-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:24px;align-items:start;margin-top:26px}
.home-resources,.home-ranking{min-width:0}
.home-resource-layout .section-head{margin:0 0 14px;gap:10px}
.home-resource-layout .section-head .button{flex:0 0 auto;white-space:nowrap}
.home-resource-layout .shared-panel{margin:0}
.home-resource-panel{padding:0;overflow:hidden}
.home-resource-table{table-layout:fixed}
.home-resource-table th:last-child,.home-resource-table td:last-child{width:160px;text-align:right;vertical-align:middle}
.home-resource-table .button{white-space:nowrap}
.home-resource-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}
.home-resource-table .shared-meta,.home-resource-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:13px;color:#626267}
.home-resource-summary:empty{display:none}
.home-resource-table tr:last-child td{border-bottom:0}
.home-ranking .shared-panel{padding:16px}
.home-ranking .home-ranking-empty{padding:0}
.home-ranking .shared-table{table-layout:fixed;font-size:13px}
.home-ranking .shared-table th,.home-ranking .shared-table td{padding:10px 6px;overflow-wrap:anywhere}
.home-ranking .shared-table th:first-child{width:44px}
.home-ranking .shared-table th:nth-child(3){width:60px}
.home-ranking .shared-table th:last-child{width:82px;text-align:center}
.home-ranking .shared-table td:nth-child(2),.home-ranking .shared-table td:nth-child(3){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-ranking .shared-table td:last-child{text-align:center}
.home-resource-layout .empty{margin:0;padding:24px 16px;font-size:14px}
@media(max-width:960px){.home-resource-layout{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:480px){.home-resource-table th,.home-resource-table td{padding:12px 10px}.home-resource-table th:last-child,.home-resource-table td:last-child{width:132px}.home-resource-table .button{padding:8px 12px;font-size:13px}}
@media(max-width:760px){.news-carousel{grid-template-columns:minmax(0,1fr);gap:12px}.news-titles{height:auto;max-height:132px}.news-title{padding:8px 10px;font-size:14px}.news-image{height:auto;aspect-ratio:16/9;min-height:170px;max-height:300px}.news-image img{min-height:0}.news-visual{grid-row:1}}
/* Resource filters override inherited full-width selects within their own grid. */
.resource-filters{display:grid;gap:10px}
.mine-status-tabs{gap:8px}
.mine-status-tabs .pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 14px}
.mine-count{font-size:12px;font-variant-numeric:tabular-nums;opacity:.8}
.state.deleted{background:#f0f0f3;color:#626267}
.mine-resource-table{table-layout:fixed}
.mine-resource-table th:nth-child(2){width:90px}
.mine-resource-table th:last-child{width:300px}
.mine-resource-table td{white-space:normal;overflow-wrap:anywhere}
.mine-resource-table .actions{margin-top:0}
@media(max-width:760px){
  .mine-resource-panel{padding:0 16px}
  .mine-resource-table,.mine-resource-table tbody{display:block;width:100%}
  .mine-resource-table thead{display:none}
  .mine-resource-table tr{display:block;padding:16px 0;border-bottom:1px solid #e5e5ea}
  .mine-resource-table tr:last-child{border-bottom:0}
  .mine-resource-table td{display:block;width:auto;border:0;padding:0}
  .mine-resource-table td:nth-child(2){margin:8px 0}
  .mine-resource-table .shared-meta{margin:5px 0}
}
.resource-search-row{display:flex;align-items:center;gap:10px;min-width:0}
.resource-search-row input{width:0;min-width:0;min-height:44px;flex:1 1 0}
.resource-search-row .button{flex:0 0 auto;white-space:nowrap;min-height:44px}
.resource-select-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;min-width:0}
.resource-select-row select{width:100%;min-width:0;min-height:44px;text-overflow:ellipsis}
@media(max-width:1000px){.resource-select-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.resource-select-row{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-select-row select[name=type]{grid-column:1/-1}.resource-search-row{gap:8px}.resource-search-row .button{padding-left:14px;padding-right:14px}}
.audit-filters{display:grid;grid-template-columns:minmax(180px,280px) minmax(160px,200px) minmax(160px,200px) auto;align-items:end;justify-content:start}
.audit-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;color:#626267}
.audit-filters input{width:100%;min-width:0;min-height:44px;color:#1d1d1f}
.audit-date-field{position:relative;display:block;min-width:0}
.audit-date-display{position:absolute;inset:1px 40px 1px 12px;display:flex;align-items:center;pointer-events:none;white-space:nowrap;color:#1d1d1f;font-size:16px;font-variant-numeric:tabular-nums}
.audit-date-display.placeholder{color:#86868b}
.audit-date-field:not(:focus-within) input{color:transparent}
.audit-date-field:not(:focus-within) input::-webkit-datetime-edit{opacity:0}
.audit-date-field:focus-within .audit-date-display{visibility:hidden}
.audit-filters .actions{margin:0;flex-wrap:nowrap;min-height:44px}
.audit-table{min-width:880px;table-layout:fixed}
.audit-table th:nth-child(1){width:162px}
.audit-table th:nth-child(2){width:18%}
.audit-table th:nth-child(3){width:122px}
.audit-table th:nth-child(4){width:27%}
.audit-table td{white-space:normal;overflow-wrap:anywhere;word-break:normal;max-width:none}
.audit-table td:first-child{white-space:nowrap}
.audit-table .audit-summary{min-width:0;white-space:pre-line}
@media(max-width:900px){.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.audit-filters{grid-template-columns:minmax(0,1fr)}.audit-filters .actions{justify-content:flex-start}}
.dialog-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;margin-bottom:4px;background:#fff;box-shadow:0 -26px 0 #fff}
.shared-form>label{min-width:0}
.shared-form input:not([type=checkbox]),.shared-form select,.shared-form textarea{width:100%;min-width:0}
.dialog-heading h2{min-width:0;overflow-wrap:anywhere}
.dialog-close-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:0;border-radius:50%;padding:0;background:#f2f2f7;color:#626267;font:28px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.dialog-close-icon:hover{background:#e5e5ea;color:#1d1d1f}
.dialog-close-icon:focus-visible{outline:3px solid rgba(0,113,227,.35);outline-offset:2px}
.article-actions{flex-wrap:wrap;gap:8px}
.article-actions .button{white-space:nowrap;flex:0 0 auto}
.dialog-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin-top:16px}
.dialog-actions .button{flex:0 0 auto;white-space:nowrap}
#dialog .dialog-actions #dialog-close{margin:0}
.shared-form #form-error:empty{display:none}
/* Navigation and image-management refinement. */
.shared-header{display:grid;grid-template-columns:minmax(270px,1fr) minmax(0,auto);grid-template-areas:"brand identity" "brand navigation" "brand management";column-gap:28px;align-items:center}
.shared-brand{grid-area:brand;align-self:center;justify-self:start;min-width:0;max-width:100%;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:5px}
.shared-brand span{font-size:18px;line-height:1.4;font-weight:500;color:#626267}
#identity{grid-area:identity;margin:0;justify-content:flex-end}
#navigation{grid-area:navigation;justify-content:flex-end;margin:12px 0 0}
#management{grid-area:management;justify-content:flex-end;margin:10px 0 0}
.nav-group{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.nav-group-management{gap:12px;padding-top:2px}
.nav-group,#navigation,#management{min-width:0;max-width:100%}
.management-label,.nav-group-management .pill{white-space:nowrap}
.shared-brand strong{display:block;font-size:24px;line-height:1.35;letter-spacing:-.3px;white-space:nowrap}
.shared-grid>*{min-width:0}
.shared-card h2,.shared-card h3,.shared-card p,.shared-meta,#identity>span{overflow-wrap:anywhere}
.article-card{display:flex;flex-direction:column;align-items:flex-start}
.article-summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.article-summary:empty{display:none}
.article-summary:not(.compact){-webkit-line-clamp:unset}
.article-summary.expanded{display:block}
.summary-toggle{padding:0;border:0;background:transparent;color:var(--shared-blue);font:inherit;font-size:13px;line-height:1.6;cursor:pointer;min-height:32px}
.summary-toggle:hover{text-decoration:underline;text-underline-offset:3px}
.summary-toggle:focus-visible{outline:3px solid rgba(0,113,227,.35);outline-offset:2px;border-radius:4px}
.article-card>.shared-meta{margin-top:auto;padding-top:8px}
.section-head h1{margin-bottom:0}
.section-head>.actions{margin-top:0}
.pager{flex-wrap:wrap;gap:10px 16px}
@media(min-width:761px) and (max-width:1100px){
  .shared-header{grid-template-columns:minmax(0,1fr) minmax(0,280px);grid-template-areas:"brand identity" "navigation navigation" "management management";column-gap:20px}
  #identity{flex-wrap:wrap;gap:8px 12px}
  #identity>span{flex-basis:100%;text-align:right;font-size:14px}
  .shared-grid,.shared-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.shared-footer{display:flex;flex-direction:column;gap:12px;padding:22px 0 28px;font-size:12px;line-height:1.8}
.shared-footer p{margin:0}
.footer-legal{font-size:13px;color:#6e6e73}
.footer-details,.footer-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 20px}
.footer-details{justify-content:space-between;gap:8px 24px}
.footer-meta>span,.footer-meta>a{white-space:nowrap}
.shared-footer a{text-decoration:none}
.shared-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.footer-account{color:#6e6e73}
.pill:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(0,113,227,.35);outline-offset:2px}
button:disabled,.button:disabled{cursor:not-allowed;opacity:.55}
.image-card{display:flex;flex-direction:column;overflow:hidden;padding:0}
.image-card>img{height:175px;object-fit:cover;background:#f3f3f5}
.image-card-body{padding:18px 20px 20px}
.image-card-body h3{overflow-wrap:anywhere}
.image-card-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}
.image-card-actions .button{min-height:42px}
.image-card-actions .button{max-width:100%;white-space:normal}
.image-card-actions [data-image-action="enable"],.image-card-actions [data-image-action="disable"]{font-weight:700;min-width:112px}
.image-card-actions [data-image-action="enable"]{box-shadow:0 4px 12px rgba(0,113,227,.18)}
.image-card-actions [data-image-action="disable"]{color:#9a4b00;border-color:#e7b87a;background:#fff0dc;box-shadow:0 4px 12px rgba(183,74,0,.14)}
.image-card-actions [data-image-action="disable"]:hover{color:#7d3b00;border-color:#d69542;background:#ffe4b8}
.image-card-actions [data-image-action="delete"]{margin-left:auto}
@media(max-width:760px){
  .shared-header{display:block}
  .shared-brand{gap:3px}
  .shared-brand span{font-size:16px}
  .shared-brand strong{font-size:22px}
  #identity,#navigation,#management{margin-top:14px;justify-content:flex-start}
  .nav-group,.nav-group-management{justify-content:flex-start}
  .shared-footer{gap:10px;padding:18px 0 24px}
  .footer-legal{font-size:12px}
  .footer-details{gap:8px}
  .footer-meta{gap:4px 16px}
  .footer-account{flex-basis:100%}
  .image-card-actions [data-image-action="delete"]{margin-left:0}
}
