/* EnterpriseCMS v4 — mature enterprise console content system. */
:root{--e-primary:#16457f;--e-primary-hover:#0e376d;--e-primary-soft:#edf4fb;--e-bg:#f5f7fa;--e-surface:#fff;--e-soft:#f8fafc;--e-text:#1d2939;--e-text-2:#475467;--e-muted:#98a2b3;--e-line:#e4e7ec;--e-line-2:#d0d5dd;--e-success:#16805f;--e-warning:#b36b16;--e-danger:#c2414b;--e-info:#2870a9;--e-shadow:0 1px 2px rgba(16,24,40,.03),0 8px 24px rgba(16,24,40,.045);--cms-bg:var(--e-bg);--cms-surface:#fff;--cms-surface-muted:var(--e-soft);--cms-ink:var(--e-text);--cms-text:var(--e-text-2);--cms-muted:var(--e-muted);--cms-line:var(--e-line);--cms-line-soft:var(--e-line)}
*{box-sizing:border-box}html{color-scheme:light!important}html,body{background:var(--e-bg)!important;background-image:none!important;color:var(--e-text)!important;font-family:"Source Han Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif!important}body{font-size:14px!important;line-height:1.55!important}.page-container{width:100%!important;max-width:1640px!important;margin:0 auto!important;padding:24px!important}.fade-in{animation:e-fade .12s ease both}
.page-header{min-height:82px!important;margin:0 0 18px!important;padding:10px 0 0!important;align-items:flex-end!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.page-header:before,.page-header:after{display:none!important}.page-title{gap:0!important}.page-icon{display:none!important}.page-header h1,.page-header .page-title h1{margin:0!important;color:var(--e-text)!important;font-size:24px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:0!important}.page-header p,.page-header .page-title p{margin:6px 0 0!important;color:var(--e-text-2)!important;font-size:13px!important;line-height:1.55!important}.page-actions,.header-actions{gap:8px!important}
.content-card,.form-section,.filter-bar,.stat-card,.task-card,.health-card,.health-overview,.notification-list,.site-page-overview,.channel-toolbar,.channel-sidebar,.content-overview-head,.content-topbar,.content-context-bar,.content-list-wrapper,.yt-shop-card,.yt-refund-stat,.yt-review-stat,.yt-ship-stat,.template-local-card,.template-remote-card,.auth-hero-card,.help-nav,.help-panel{border:1px solid var(--e-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:var(--e-shadow)!important}.content-card,.form-section{margin-bottom:12px!important;overflow:hidden!important}.content-card-header,.form-section-header,.card-header{min-height:54px!important;padding:14px 17px!important;border-bottom:1px solid var(--e-line)!important;background:#fff!important;color:var(--e-text)!important;font-size:14px!important;font-weight:700!important}.form-section-body,.card-body{padding:18px!important;background:#fff!important}
.btn,button.btn,a.btn{min-height:36px!important;padding:0 14px!important;border:1px solid var(--e-line-2)!important;border-radius:6px!important;background:#fff!important;color:var(--e-text-2)!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;line-height:1!important;box-shadow:none!important;transform:none!important;overflow:visible!important;white-space:nowrap!important;word-break:keep-all!important;transition:border-color .12s ease,background-color .12s ease,color .12s ease!important}.btn:before,.btn:after,button.btn:before,button.btn:after,a.btn:before,a.btn:after{display:none!important}.btn:hover{border-color:#b8c0cc!important;background:var(--e-soft)!important;color:var(--e-text)!important;transform:none!important}.btn:active:not(:disabled){background:#eef2f6!important}.btn:focus-visible{outline:3px solid rgba(22,69,127,.14)!important;outline-offset:1px!important}.btn-primary,.btn.btn-primary{border-color:var(--e-primary)!important;background:var(--e-primary)!important;color:#fff!important}.btn-primary:hover{border-color:var(--e-primary-hover)!important;background:var(--e-primary-hover)!important;color:#fff!important}.btn-success{border-color:var(--e-success)!important;background:var(--e-success)!important;color:#fff!important}.btn-danger{border-color:#ebc6c9!important;background:#fff!important;color:var(--e-danger)!important}.btn-danger:hover{border-color:var(--e-danger)!important;background:#fff4f4!important;color:#a5323d!important}.btn-warning{border-color:#efd6ad!important;background:#fff!important;color:var(--e-warning)!important}.btn-sm,.data-table .btn,.btn-group .btn{min-height:30px!important;padding:0 10px!important;font-size:11px!important}.btn:disabled,.btn.disabled{cursor:not-allowed!important;opacity:.45!important}.btn .cms-button-svg,.btn>.fa,.btn>i:first-child{width:14px!important;height:14px!important;min-height:0!important;margin:0 6px 0 0!important;padding:0!important;flex:0 0 14px!important;border:0!important;opacity:.85!important}.btn-group{display:inline-flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}.btn-group .btn+.btn,.page-actions .btn+.btn,.header-actions .btn+.btn,.form-actions .btn+.btn{margin-left:0!important}
.filter-bar{margin:0 0 12px!important;padding:15px 16px!important;background:#fff!important}.filter-bar form{gap:10px!important}.form-group{margin-bottom:17px!important}.form-group label,.form-label{margin-bottom:7px!important;color:var(--e-text-2)!important;font-size:12px!important;font-weight:650!important;letter-spacing:0!important}.form-control,.filter-bar input,.filter-bar select,input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],input[type=datetime-local],input[type=search],select,textarea{min-height:38px!important;padding:8px 10px!important;border:1px solid var(--e-line-2)!important;border-radius:6px!important;background:#fff!important;color:var(--e-text)!important;font-size:13px!important;box-shadow:none!important;transition:border-color .12s ease,box-shadow .12s ease!important}.form-control:hover,.filter-bar input:hover,.filter-bar select:hover,input:hover,select:hover,textarea:hover{border-color:#aeb7c4!important}.form-control:focus,.filter-bar input:focus,.filter-bar select:focus,input:focus,select:focus,textarea:focus{border-color:var(--e-primary)!important;box-shadow:0 0 0 3px rgba(22,69,127,.09)!important;outline:0!important}.form-control::placeholder,input::placeholder,textarea::placeholder{color:var(--e-muted)!important}textarea.form-control,textarea{min-height:100px!important}.form-text,.help-text,.form-hint{color:var(--e-muted)!important;font-size:10px!important;line-height:1.65!important}.required{color:var(--e-danger)!important}
.data-table,.content-table,.tag-table{width:100%!important;border-collapse:collapse!important;background:#fff!important;color:var(--e-text-2)!important}.data-table thead th,.content-table thead th,.tag-table thead th{height:42px!important;padding:9px 12px!important;border-top:0!important;border-bottom:1px solid var(--e-line)!important;background:var(--e-soft)!important;color:#667085!important;font-size:11px!important;font-weight:650!important;letter-spacing:0!important;white-space:nowrap!important}.data-table tbody td,.content-table tbody td,.tag-table tbody td{height:50px!important;padding:9px 12px!important;border-bottom:1px solid var(--e-line)!important;background:#fff!important;color:var(--e-text-2)!important;font-size:13px!important}.data-table tbody tr:last-child td{border-bottom:0!important}.data-table tbody tr:hover td,.content-table tbody tr:hover td,.tag-table tbody tr:hover td{background:#fafcff!important}.data-table tbody tr:hover td:first-child{box-shadow:none!important}.data-table a:not(.btn){color:var(--e-primary)!important;font-weight:600!important}.data-table td strong,.content-table td strong{color:var(--e-text)!important}.id-cell,code{color:#7b8492!important;font-variant-numeric:tabular-nums!important}.table-footer{border-top:1px solid var(--e-line)!important;border-bottom:0!important;background:#fff!important}
.badge,.status-badge,[class*=status-tag]{padding:4px 8px!important;border-radius:5px!important;font-size:10px!important;font-weight:600!important}.badge-primary,.badge-info{background:var(--e-primary-soft)!important;color:var(--e-primary)!important}.badge-success{background:#eaf6f1!important;color:var(--e-success)!important}.badge-warning{background:#fff4e5!important;color:var(--e-warning)!important}.badge-danger{background:#fff0f1!important;color:var(--e-danger)!important}.badge-gray,.badge-secondary{background:#f2f4f7!important;color:var(--e-text-2)!important}.pagination{gap:4px!important;padding:14px!important}.pagination a,.pagination span,.content-pagination a,.content-pagination span{min-width:30px!important;height:30px!important;margin:0!important;padding:0 8px!important;border:1px solid var(--e-line)!important;border-radius:5px!important;background:#fff!important;color:var(--e-text-2)!important}.pagination a:hover,.pagination a.active,.pagination .active,.content-pagination .active{border-color:var(--e-primary)!important;background:var(--e-primary)!important;color:#fff!important}.tab-btn,.site-tab,.template-tab-btn,.template-filter-chip{border:1px solid var(--e-line)!important;border-radius:6px!important;background:#fff!important;color:var(--e-text-2)!important}.tab-btn.active,.site-tab.active,.template-tab-btn.active,.template-filter-chip.active{border-color:var(--e-primary)!important;background:var(--e-primary)!important;color:#fff!important;box-shadow:none!important}
.stats-grid{gap:12px!important;border:0!important}.stat-card{min-height:124px!important;margin:0!important;padding:17px!important;border:1px solid var(--e-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:var(--e-shadow)!important}.stat-card:last-child{border-right:1px solid var(--e-line)!important}.stat-card:hover{border-color:#d6dbe2!important;background:#fff!important;transform:none!important}.stat-icon{border-radius:7px!important;background:var(--e-primary-soft)!important;color:var(--e-primary)!important}.stat-value{color:var(--e-text)!important;font-size:28px!important;font-variant-numeric:tabular-nums!important}.stat-label{color:var(--e-text-2)!important}.modal,.yt-ship-modal,.channel-move-modal,.cms-ui-dialog-layer{background:rgba(16,24,40,.45)!important;backdrop-filter:blur(3px)!important}.modal-content,.yt-ship-modal-card,.channel-move-card,.cms-ui-dialog{border:1px solid var(--e-line)!important;border-radius:12px!important;background:#fff!important;color:var(--e-text)!important;box-shadow:0 24px 64px rgba(16,24,40,.22)!important}.modal-header,.modal-footer{border-color:var(--e-line)!important;background:#fff!important}.modal-footer{background:var(--e-soft)!important}.modal-title,.modal-content h2,.modal-content h3{color:var(--e-text)!important}.modal-body{background:#fff!important;color:var(--e-text-2)!important}.cms-ui-toast{border:1px solid var(--e-line)!important;border-left:4px solid var(--e-primary)!important;border-radius:8px!important;background:#fff!important;color:var(--e-text-2)!important;box-shadow:0 12px 36px rgba(16,24,40,.14)!important}.cms-ui-toast strong{color:var(--e-text)!important}
.empty-state,.cms-ui-empty{color:var(--e-muted)!important}.empty-state h3,.cms-ui-empty h3{color:var(--e-text)!important}.upload-preview,#slidePreview,#litpicPreview,#imagePreviewBox,#logoPreview{border:1px dashed var(--e-line-2)!important;border-radius:7px!important;background:var(--e-soft)!important}.upload-preview:hover{border-color:var(--e-primary)!important;background:#f7fbff!important}.cms-ueditor-wrap,.product-ueditor-wrap{position:relative!important;padding-top:0!important;border:1px solid var(--e-line-2)!important;border-radius:7px!important;background:#fff!important;overflow:hidden!important}.cms-ueditor-wrap:before,.product-ueditor-wrap:before{display:none!important}.cms-ueditor-wrap .edui-editor,.product-ueditor-wrap .edui-editor{border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.cms-ueditor-wrap .edui-editor-toolbarbox,.product-ueditor-wrap .edui-editor-toolbarbox{border-bottom:1px solid var(--e-line)!important;box-shadow:none!important}.cms-ueditor-wrap .edui-editor-toolbarboxouter,.product-ueditor-wrap .edui-editor-toolbarboxouter{background:var(--e-soft)!important}.cms-ueditor-wrap .edui-editor-iframeholder,.product-ueditor-wrap .edui-editor-iframeholder{background:#fff!important}.cms-ueditor-wrap .edui-editor-bottomContainer,.product-ueditor-wrap .edui-editor-bottomContainer{border-top:1px solid var(--e-line)!important;background:var(--e-soft)!important}
/* Existing dashboard adapted to v4 without changing real data or links. */
body .dashboard-fk-page{width:100%!important;max-width:1640px!important;padding:24px!important;background:var(--e-bg)!important}.dashboard-fk-page .fk-dashboard-head{min-height:92px!important;margin:0 0 18px!important;padding:10px 0 0!important;align-items:flex-end!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--e-text)!important;box-shadow:none!important}.dashboard-fk-page .fk-dashboard-eyebrow{position:static!important;color:var(--e-muted)!important;font-size:10px!important;font-weight:650!important;letter-spacing:.05em!important}.dashboard-fk-page .fk-dashboard-head h1{max-width:none!important;margin:4px 0 0!important;color:var(--e-text)!important;font-size:26px!important;font-weight:750!important;line-height:1.25!important;letter-spacing:0!important}.dashboard-fk-page .fk-dashboard-head p{margin:6px 0 0!important;color:var(--e-text-2)!important;font-size:12px!important}.dashboard-fk-page .fk-dashboard-actions{align-self:flex-end!important;gap:8px!important}.dashboard-fk-page .fk-flat-btn{min-height:36px!important;padding:0 13px!important;border:1px solid var(--e-line-2)!important;border-radius:6px!important;background:#fff!important;color:var(--e-text-2)!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important}.dashboard-fk-page .fk-flat-btn+.fk-flat-btn{border-left:1px solid var(--e-line-2)!important}.dashboard-fk-page .fk-flat-btn:before{display:none!important}.dashboard-fk-page .fk-flat-btn:hover{border-color:#b8c0cc!important;background:var(--e-soft)!important;color:var(--e-text)!important}.dashboard-fk-page .fk-flat-btn-primary,.dashboard-fk-page .fk-flat-btn-primary:hover{border-color:var(--e-primary)!important;background:var(--e-primary)!important;color:#fff!important}
.dashboard-fk-page .fk-metric-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}.dashboard-fk-page .fk-metric-card{position:relative!important;min-height:126px!important;padding:17px!important;border:1px solid var(--e-line)!important;border-radius:8px!important;background:#fff!important;color:var(--e-text)!important;box-shadow:var(--e-shadow)!important}.dashboard-fk-page .fk-metric-card:first-child{background:#fff!important;color:var(--e-text)!important}.dashboard-fk-page .fk-metric-card:last-child{border-right:1px solid var(--e-line)!important}.dashboard-fk-page .fk-metric-card:hover,.dashboard-fk-page .fk-metric-card:first-child:hover{transform:none!important;border-color:#d6dbe2!important;background:#fff!important}.dashboard-fk-page .fk-metric-card span{color:var(--e-text-2)!important;font-size:13px!important}.dashboard-fk-page .fk-metric-card strong{margin-top:12px!important;color:var(--e-text)!important;font-size:28px!important;line-height:1!important;font-variant-numeric:tabular-nums!important}.dashboard-fk-page .fk-metric-card small,.dashboard-fk-page .fk-metric-card:first-child small{margin-top:10px!important;color:var(--e-muted)!important;font-size:10px!important}
.dashboard-fk-page .fk-workbench{display:grid!important;grid-template-columns:minmax(0,2.15fr) minmax(290px,.72fr)!important;gap:12px!important}.dashboard-fk-page .fk-main-col,.dashboard-fk-page .fk-side-col{gap:12px!important}.dashboard-fk-page .fk-main-col{border-right:0!important}.dashboard-fk-page .fk-side-col{position:static!important;background:transparent!important}.dashboard-fk-page .fk-panel,.dashboard-fk-page .fk-side-card,.dashboard-fk-page .fk-site-card,.dashboard-fk-page .fk-scene-card,.dashboard-fk-page .fk-template-card,.dashboard-fk-page .fk-help-card{margin:0!important;border:1px solid var(--e-line)!important;border-radius:8px!important;background:#fff!important;color:var(--e-text)!important;box-shadow:var(--e-shadow)!important}.dashboard-fk-page .fk-side-col .fk-panel{border-color:var(--e-line)!important;color:var(--e-text)!important}.dashboard-fk-page .fk-panel:before,.dashboard-fk-page .fk-scene-card:before,.dashboard-fk-page .fk-scene-card:after{display:none!important}.dashboard-fk-page .fk-panel:hover,.dashboard-fk-page .fk-scene-card:hover,.dashboard-fk-page .fk-entry-item:hover,.dashboard-fk-page .fk-template-card:hover,.dashboard-fk-page .fk-help-card:hover{transform:none!important;box-shadow:var(--e-shadow)!important}.dashboard-fk-page .fk-hero-panel{padding:0!important}.dashboard-fk-page .fk-section-heading,.dashboard-fk-page .fk-panel-head,.dashboard-fk-page .fk-side-head{min-height:56px!important;padding:13px 16px!important;border:0!important;border-bottom:1px solid var(--e-line)!important;border-radius:0!important;background:#fff!important}.dashboard-fk-page .fk-side-col .fk-side-head{border-color:var(--e-line)!important}.dashboard-fk-page .fk-section-heading strong,.dashboard-fk-page .fk-panel-head strong,.dashboard-fk-page .fk-side-head strong{color:var(--e-text)!important;font-size:14px!important;font-weight:700!important}.dashboard-fk-page .fk-section-heading span,.dashboard-fk-page .fk-panel-head span,.dashboard-fk-page .fk-side-head span{margin-top:4px!important;color:var(--e-muted)!important;font-size:10px!important;letter-spacing:0!important}.dashboard-fk-page .fk-side-col .fk-side-head span{color:var(--e-muted)!important}
.dashboard-fk-page .fk-hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:12px!important}.dashboard-fk-page .fk-scene-card,.dashboard-fk-page .fk-site-card{min-height:156px!important;padding:17px!important;border:1px solid var(--e-line)!important;border-radius:7px!important;background:#fff!important;color:var(--e-text)!important;box-shadow:none!important}.dashboard-fk-page .fk-scene-icon{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;border:0!important;border-radius:7px!important;background:var(--e-primary-soft)!important;color:var(--e-primary)!important}.dashboard-fk-page .fk-scene-copy strong{color:var(--e-text)!important;font-size:14px!important}.dashboard-fk-page .fk-scene-copy span{color:var(--e-text-2)!important;font-size:11px!important;line-height:1.65!important}.dashboard-fk-page .fk-scene-copy em,.dashboard-fk-page .fk-site-open,.dashboard-fk-page .fk-panel-link{color:var(--e-primary)!important;font-size:11px!important}.dashboard-fk-page .fk-domain-input{border:1px solid var(--e-line-2)!important;border-radius:6px!important}.dashboard-fk-page .fk-domain-form button{border:1px solid var(--e-line-2)!important;border-radius:6px!important}.dashboard-fk-page .fk-upgrade-pill{border:1px solid #efd6ad!important;border-radius:6px!important;background:#fff8eb!important;color:#8b5b16!important}
.dashboard-fk-page .fk-entry-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;margin:0!important;border-top:1px solid var(--e-line)!important}.dashboard-fk-page .fk-entry-item{min-height:78px!important;gap:8px!important;padding:12px!important;border:0!important;border-right:1px solid var(--e-line)!important;border-radius:0!important;background:#fff!important;color:var(--e-text)!important}.dashboard-fk-page .fk-entry-item:nth-child(5n){border-right:0!important}.dashboard-fk-page .fk-entry-item:hover{background:var(--e-soft)!important;color:var(--e-text)!important}.dashboard-fk-page .fk-entry-icon{width:31px!important;height:31px!important;border:1px solid var(--e-line)!important;border-radius:7px!important;background:var(--e-soft)!important;color:var(--e-primary)!important}.dashboard-fk-page .fk-pro-tag{border-radius:4px!important;background:#fff4e5!important;color:var(--e-warning)!important;font-size:8px!important}
.dashboard-fk-page .fk-template-body{min-height:0!important}.dashboard-fk-page .fk-template-grid{gap:10px!important;padding:12px!important}.dashboard-fk-page .fk-template-card{border-radius:7px!important;box-shadow:none!important}.dashboard-fk-page .fk-template-shot{height:170px!important;min-height:170px!important;background:#f1f4f8!important}.dashboard-fk-page .fk-template-card strong{padding:12px!important;color:var(--e-text)!important;font-size:12px!important;text-align:left!important}.dashboard-fk-page .fk-template-badge{top:8px!important;right:8px!important;border-radius:5px!important;background:var(--e-primary)!important;font-size:9px!important}.dashboard-fk-page .fk-template-empty{border:0!important;border-radius:0!important;background:#fff!important}.dashboard-fk-page .fk-seo-list,.dashboard-fk-page .fk-runtime-list{gap:0!important;padding:0!important}.dashboard-fk-page .fk-seo-row,.dashboard-fk-page .fk-runtime-row,.dashboard-fk-page .fk-todo-row{min-height:52px!important;margin:0!important;padding:0 16px!important;border:0!important;border-bottom:1px solid var(--e-line)!important;border-radius:0!important;background:#fff!important;color:var(--e-text-2)!important}.dashboard-fk-page .fk-side-col .fk-runtime-row,.dashboard-fk-page .fk-side-col .fk-todo-row{border-color:var(--e-line)!important;color:var(--e-text)!important}.dashboard-fk-page .fk-seo-row:hover,.dashboard-fk-page .fk-todo-row:hover,.dashboard-fk-page .fk-runtime-row:hover{background:var(--e-soft)!important}.dashboard-fk-page .fk-todo-row strong{color:var(--e-text)!important;font-size:18px!important;font-variant-numeric:tabular-nums!important}.dashboard-fk-page .fk-todo-row small{color:var(--e-muted)!important}.dashboard-fk-page .fk-help-search{margin:12px!important;border:1px solid var(--e-line-2)!important;border-radius:6px!important;background:#fff!important}.dashboard-fk-page .fk-help-search input{background:#fff!important;color:var(--e-text)!important}.dashboard-fk-page .fk-help-cards{grid-template-columns:1fr!important;gap:0!important;padding:0!important}.dashboard-fk-page .fk-help-card{min-height:48px!important;padding:0 16px!important;flex-direction:row!important;align-items:center!important;border:0!important;border-top:1px solid var(--e-line)!important;border-radius:0!important;background:#fff!important;color:var(--e-text)!important}.dashboard-fk-page .fk-runtime-row span{color:var(--e-muted)!important}.dashboard-fk-page .fk-runtime-row strong{color:var(--e-text-2)!important;font-size:11px!important}
.dashboard-fk-page .fk-template-art.is-thumbnail-fallback{display:none!important}.dashboard-fk-page .fk-template-shot-image{z-index:2!important}.dashboard-fk-page .fk-template-browser{position:relative!important;z-index:3!important}
.alert{border-radius:8px!important;box-shadow:none!important}.cms-readonly-notice{border-radius:8px!important;background:var(--e-primary-soft)!important;color:var(--e-primary)!important}.form-actions{position:sticky!important;z-index:4!important;bottom:0!important;border:1px solid var(--e-line)!important;border-radius:8px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 -5px 18px rgba(16,24,40,.05)!important;backdrop-filter:blur(8px)!important}
@keyframes e-fade{from{opacity:0}to{opacity:1}}@media(max-width:1200px){.page-container,body .dashboard-fk-page{padding:16px!important}.dashboard-fk-page .fk-workbench{grid-template-columns:1fr!important}.dashboard-fk-page .fk-side-col{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-fk-page .fk-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-fk-page .fk-entry-item:nth-child(5n){border-right:1px solid var(--e-line)!important}.dashboard-fk-page .fk-entry-item:nth-child(3n){border-right:0!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.data-table{min-width:760px!important}}@media(max-width:768px){.page-container,body .dashboard-fk-page{padding:12px!important}.page-header,.dashboard-fk-page .fk-dashboard-head{min-height:0!important;padding-top:8px!important;flex-direction:column!important;align-items:flex-start!important}.page-header h1,.page-header .page-title h1,.dashboard-fk-page .fk-dashboard-head h1{font-size:21px!important}.page-actions,.header-actions,.dashboard-fk-page .fk-dashboard-actions{width:100%!important;margin-top:14px!important}.page-actions .btn,.header-actions .btn,.dashboard-fk-page .fk-flat-btn{flex:1 1 auto!important}.stats-grid,.dashboard-fk-page .fk-metric-grid,.dashboard-fk-page .fk-side-col{grid-template-columns:1fr!important}.dashboard-fk-page .fk-hero-grid{grid-template-columns:1fr!important}.dashboard-fk-page .fk-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-fk-page .fk-entry-item:nth-child(3n){border-right:1px solid var(--e-line)!important}.dashboard-fk-page .fk-entry-item:nth-child(2n){border-right:0!important}.filter-bar input,.filter-bar select,.filter-bar .btn{width:100%!important}.form-section-body,.card-body{padding:14px!important}.form-actions{position:static!important}.modal-content,.yt-ship-modal-card{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v4.1 professional buttons, cards, background and motion */
:root{--e-card-shadow:0 1px 2px rgba(16,24,40,.035),0 8px 22px rgba(16,24,40,.045);--e-card-shadow-hover:0 2px 4px rgba(16,24,40,.04),0 12px 30px rgba(16,24,40,.075);--e-motion:cubic-bezier(.2,.75,.25,1)}
html,body{background:linear-gradient(180deg,#f7f9fc 0,#f5f7fa 220px,#f3f6f9 100%)!important;background-attachment:fixed!important}.page-container,.dashboard-fk-page{animation:e-page-enter .16s ease both}.page-header h1,.dashboard-fk-page .fk-dashboard-head h1{text-wrap:pretty!important}.content-card,.form-section,.filter-bar,.stat-card,.task-card,.health-card,.health-overview,.notification-list,.site-page-overview,.channel-toolbar,.channel-sidebar,.content-overview-head,.content-topbar,.content-context-bar,.content-list-wrapper,.yt-shop-card,.yt-refund-stat,.yt-review-stat,.yt-ship-stat,.template-local-card,.template-remote-card,.auth-hero-card,.help-nav,.help-panel{border-color:#e1e6ed!important;box-shadow:var(--e-card-shadow)!important;transition:border-color .18s var(--e-motion),box-shadow .18s var(--e-motion),transform .18s var(--e-motion)!important}.content-card:hover,.form-section:hover,.stat-card:hover,.health-card:hover,.yt-shop-card:hover,.template-local-card:hover,.template-remote-card:hover{border-color:#d3dbe5!important;box-shadow:var(--e-card-shadow-hover)!important;transform:translateY(-1px)!important}.content-card-header,.form-section-header,.card-header{background:linear-gradient(180deg,#fff 0%,#fdfefe 100%)!important}.filter-bar{background:linear-gradient(180deg,#fff,#fbfcfe)!important}
.btn,button.btn,a.btn{box-shadow:0 1px 2px rgba(16,24,40,.04)!important;transition:border-color .15s var(--e-motion),background-color .15s var(--e-motion),color .15s var(--e-motion),box-shadow .15s var(--e-motion),transform .15s var(--e-motion)!important}.btn:hover{box-shadow:0 4px 10px rgba(16,24,40,.075)!important;transform:translateY(-1px)!important}.btn:active:not(:disabled){box-shadow:0 1px 2px rgba(16,24,40,.04)!important;transform:translateY(0)!important}.btn-primary,.btn.btn-primary{background:linear-gradient(180deg,#1c518f 0%,#16457f 100%)!important;box-shadow:0 3px 9px rgba(22,69,127,.18)!important}.btn-primary:hover{background:linear-gradient(180deg,#16457f 0%,#0e376d 100%)!important;box-shadow:0 5px 13px rgba(22,69,127,.24)!important}.btn-secondary,.btn-default,.btn-ghost{background:linear-gradient(180deg,#fff 0%,#fafbfd 100%)!important}.btn-success{background:linear-gradient(180deg,#1c8d6a,#16805f)!important}.btn-danger:hover{box-shadow:0 3px 9px rgba(194,65,75,.1)!important}.btn:disabled,.btn.disabled{box-shadow:none!important;transform:none!important}.btn.is-loading,.btn[aria-busy=true]{box-shadow:none!important;transform:none!important}.btn-group .btn{box-shadow:none!important}
.data-table tbody tr,.content-table tbody tr,.tag-table tbody tr{transition:background-color .14s ease!important}.data-table tbody tr:hover td,.content-table tbody tr:hover td,.tag-table tbody tr:hover td{background:#f7faff!important}.data-table tbody tr:hover td:first-child{box-shadow:inset 3px 0 #8eb4dc!important}.form-control,.filter-bar input,.filter-bar select,input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],input[type=datetime-local],input[type=search],select,textarea{background:linear-gradient(180deg,#fff,#fefefe)!important}.form-control:focus,.filter-bar input:focus,.filter-bar select:focus,input:focus,select:focus,textarea:focus{background:#fff!important}.modal-content,.yt-ship-modal-card,.channel-move-card,.cms-ui-dialog{animation:e-dialog-enter .18s var(--e-motion) both}.cms-ui-toast{animation:e-toast-enter .2s var(--e-motion) both}.upload-preview,#slidePreview,#litpicPreview,#imagePreviewBox,#logoPreview{transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease!important}.upload-preview:hover{box-shadow:0 0 0 3px rgba(22,69,127,.07)!important}
.dashboard-fk-page .fk-metric-card,.dashboard-fk-page .fk-panel,.dashboard-fk-page .fk-side-card,.dashboard-fk-page .fk-site-card,.dashboard-fk-page .fk-scene-card,.dashboard-fk-page .fk-template-card,.dashboard-fk-page .fk-help-card{box-shadow:var(--e-card-shadow)!important;transition:border-color .18s var(--e-motion),box-shadow .18s var(--e-motion),transform .18s var(--e-motion)!important}.dashboard-fk-page .fk-metric-card:hover,.dashboard-fk-page .fk-panel:hover,.dashboard-fk-page .fk-scene-card:hover,.dashboard-fk-page .fk-template-card:hover,.dashboard-fk-page .fk-help-card:hover{border-color:#d3dbe5!important;box-shadow:var(--e-card-shadow-hover)!important;transform:translateY(-1px)!important}.dashboard-fk-page .fk-flat-btn{background:linear-gradient(180deg,#fff,#fafbfd)!important;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease!important}.dashboard-fk-page .fk-flat-btn:hover{box-shadow:0 4px 10px rgba(16,24,40,.07)!important;transform:translateY(-1px)!important}.dashboard-fk-page .fk-flat-btn:active{box-shadow:none!important;transform:none!important}.dashboard-fk-page .fk-flat-btn-primary,.dashboard-fk-page .fk-flat-btn-primary:hover{background:linear-gradient(180deg,#1c518f,#16457f)!important;box-shadow:0 3px 9px rgba(22,69,127,.18)!important}.dashboard-fk-page .fk-entry-item{transition:background-color .15s ease,transform .15s ease!important}.dashboard-fk-page .fk-entry-item:hover{transform:translateY(-1px)!important}
@keyframes e-page-enter{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@keyframes e-dialog-enter{from{opacity:0;transform:translateY(7px) scale(.993)}to{opacity:1;transform:none}}@keyframes e-toast-enter{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.page-container,.dashboard-fk-page,.modal-content,.yt-ship-modal-card,.channel-move-card,.cms-ui-dialog,.cms-ui-toast{animation:none!important}.content-card,.form-section,.stat-card,.health-card,.yt-shop-card,.template-local-card,.template-remote-card,.btn,.dashboard-fk-page .fk-metric-card,.dashboard-fk-page .fk-panel,.dashboard-fk-page .fk-scene-card,.dashboard-fk-page .fk-entry-item{transition:none!important;transform:none!important}}

/* v4.2 precision layer: restrained enterprise surfaces and consistent controls. */
:root{--e-panel-radius:10px;--e-control-radius:7px;--e-panel-line:#dfe5ec;--e-panel-shadow:0 1px 2px rgba(16,24,40,.025),0 8px 22px rgba(16,24,40,.04);--e-panel-shadow-hover:0 2px 5px rgba(16,24,40,.035),0 12px 28px rgba(16,24,40,.055)}
::selection{background:rgba(22,69,127,.16);color:var(--e-text)}
body{font-feature-settings:"kern" 1,"tnum" 1;text-rendering:optimizeLegibility}
.page-container,body .dashboard-fk-page{padding:26px 28px!important}
.page-header{min-height:78px!important;margin-bottom:16px!important;padding:8px 2px 0!important}.page-header h1,.page-header .page-title h1{font-size:25px!important;font-weight:760!important;letter-spacing:-.025em!important}.page-header p,.page-header .page-title p{max-width:760px!important;margin-top:5px!important;color:#667085!important}.page-actions,.header-actions{align-items:center!important}
.content-card,.form-section,.filter-bar,.stat-card,.task-card,.health-card,.health-overview,.notification-list,.site-page-overview,.channel-toolbar,.channel-sidebar,.content-overview-head,.content-topbar,.content-context-bar,.content-list-wrapper,.yt-shop-card,.yt-refund-stat,.yt-review-stat,.yt-ship-stat,.template-local-card,.template-remote-card,.auth-hero-card,.help-nav,.help-panel{border-color:var(--e-panel-line)!important;border-radius:var(--e-panel-radius)!important;box-shadow:var(--e-panel-shadow)!important}
.content-card:hover,.form-section:hover{border-color:var(--e-panel-line)!important;box-shadow:var(--e-panel-shadow)!important;transform:none!important}.stat-card:hover,.health-card:hover,.yt-shop-card:hover,.template-local-card:hover,.template-remote-card:hover{box-shadow:var(--e-panel-shadow-hover)!important}
.content-card-header,.form-section-header,.card-header{min-height:56px!important;padding:15px 18px!important;background:#fff!important;font-size:14px!important;letter-spacing:-.01em!important}.content-card-header small,.form-section-header small,.card-header small{color:var(--e-muted)!important;font-weight:500!important}.form-section-body,.card-body{padding:20px!important}
.filter-bar{padding:16px 18px!important;background:#fff!important}.filter-bar form{align-items:flex-end!important;gap:12px!important}
.form-group{margin-bottom:18px!important}.form-group label,.form-label{margin-bottom:7px!important;color:#344054!important;font-size:13px!important;font-weight:650!important}.form-control,.filter-bar input,.filter-bar select,input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],input[type=datetime-local],input[type=search],select,textarea{min-height:40px!important;padding:9px 11px!important;border-color:#cfd6df!important;border-radius:var(--e-control-radius)!important;font-size:13px!important}.form-control:hover,.filter-bar input:hover,.filter-bar select:hover,input:hover,select:hover,textarea:hover{border-color:#98a6b7!important}.form-control:focus,.filter-bar input:focus,.filter-bar select:focus,input:focus,select:focus,textarea:focus{border-color:#28609e!important;box-shadow:0 0 0 3px rgba(22,69,127,.1)!important}.form-text,.help-text,.form-hint{margin-top:6px!important;font-size:11px!important}input[type=checkbox],input[type=radio]{accent-color:var(--e-primary)}
.btn,button.btn,a.btn{min-height:38px!important;padding:0 15px!important;border-radius:var(--e-control-radius)!important;font-size:13px!important;font-weight:650!important}.btn-sm,.data-table .btn,.btn-group .btn{min-height:31px!important;padding:0 10px!important;font-size:12px!important}.btn-primary,.btn.btn-primary{border-color:#123f77!important;background:linear-gradient(180deg,#1d528f 0%,#16457f 100%)!important;box-shadow:0 2px 5px rgba(22,69,127,.19)!important}.btn-primary:hover{box-shadow:0 4px 10px rgba(22,69,127,.21)!important}.btn:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(22,69,127,.14)!important}
.data-table,.content-table,.tag-table{font-variant-numeric:tabular-nums!important}.data-table thead th,.content-table thead th,.tag-table thead th{height:44px!important;padding:10px 14px!important;background:#f7f9fc!important;color:#5d6879!important;font-size:12px!important;font-weight:700!important}.data-table tbody td,.content-table tbody td,.tag-table tbody td{height:53px!important;padding:10px 14px!important;color:#475467!important}.data-table tbody tr:hover td,.content-table tbody tr:hover td,.tag-table tbody tr:hover td{background:#f8fbff!important}.data-table tbody tr:hover td:first-child{box-shadow:inset 2px 0 #6f9dcc!important}.data-table a:not(.btn){text-underline-offset:3px!important}.table-responsive{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}
.badge,.status-badge,[class*=status-tag]{min-height:22px!important;padding:4px 8px!important;border-radius:6px!important;font-size:11px!important;line-height:1.2!important}.pagination{gap:5px!important;padding:15px 16px!important}.pagination a,.pagination span,.content-pagination a,.content-pagination span{min-width:32px!important;height:32px!important;border-radius:6px!important;font-size:12px!important;transition:border-color .14s ease,background-color .14s ease,color .14s ease,box-shadow .14s ease!important}.pagination a:hover{box-shadow:0 2px 6px rgba(16,24,40,.07)!important}
.tab-btn,.site-tab,.template-tab-btn,.template-filter-chip{min-height:34px!important;padding:0 12px!important;border-radius:6px!important;font-size:12px!important;font-weight:650!important}.empty-state,.cms-ui-empty{padding:46px 24px!important}.empty-state h3,.cms-ui-empty h3{margin-bottom:7px!important;font-size:16px!important}.empty-state p,.cms-ui-empty p{max-width:520px!important;margin-right:auto!important;margin-left:auto!important;color:var(--e-muted)!important}
.modal-content,.yt-ship-modal-card,.channel-move-card,.cms-ui-dialog{border-color:#d9e0e8!important;border-radius:12px!important;box-shadow:0 28px 72px rgba(16,24,40,.2)!important}.modal-header{min-height:58px!important;padding:16px 20px!important}.modal-body{padding:20px!important}.modal-footer{padding:14px 20px!important}.cms-ui-toast{border-left-width:3px!important;border-radius:9px!important}
.form-actions{gap:8px!important;border-color:var(--e-panel-line)!important}.alert,.notice,.message{border-radius:8px!important}.cms-ueditor-wrap,.product-ueditor-wrap{border-color:#cfd6df!important;border-radius:8px!important;box-shadow:0 1px 2px rgba(16,24,40,.025)!important}
@media(max-width:1200px){.page-container,body .dashboard-fk-page{padding:18px!important}}@media(max-width:768px){.page-container,body .dashboard-fk-page{padding:12px!important}.page-header h1,.page-header .page-title h1{font-size:22px!important}.filter-bar{padding:14px!important}.content-card-header,.form-section-header,.card-header{padding:14px 15px!important}.form-section-body,.card-body{padding:15px!important}}

/* v4.3 semantic action buttons: color follows function, never business state. */
.btn[data-cms-button-tone]{transition:border-color .15s var(--e-motion),background-color .15s var(--e-motion),color .15s var(--e-motion),box-shadow .15s var(--e-motion),transform .15s var(--e-motion)!important}
.btn[data-cms-button-tone=create]{border-color:#16457f!important;background:linear-gradient(180deg,#1d528f,#16457f)!important;color:#fff!important;box-shadow:0 2px 6px rgba(22,69,127,.2)!important}
.btn[data-cms-button-tone=save]{border-color:#147256!important;background:linear-gradient(180deg,#1c8665,#147256)!important;color:#fff!important;box-shadow:0 2px 6px rgba(20,114,86,.18)!important}
.btn[data-cms-button-tone=edit]{border-color:#abd4da!important;background:#eff9fa!important;color:#176674!important;box-shadow:0 1px 2px rgba(23,102,116,.06)!important}
.btn[data-cms-button-tone=view]{border-color:#ccd5df!important;background:#f5f7fa!important;color:#475467!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}
.btn[data-cms-button-tone=review]{border-color:#ead2a6!important;background:#fff8e8!important;color:#925b16!important;box-shadow:0 1px 2px rgba(146,91,22,.05)!important}
.btn[data-cms-button-tone=danger]{border-color:#efc2c7!important;background:#fff2f3!important;color:#b42332!important;box-shadow:0 1px 2px rgba(180,35,50,.05)!important}
.btn[data-cms-button-tone=transfer]{border-color:#d2c5e5!important;background:#f7f3fc!important;color:#684198!important;box-shadow:0 1px 2px rgba(104,65,152,.05)!important}
.btn[data-cms-button-tone=search]{border-color:#b9cfe8!important;background:#f0f6fc!important;color:#245b94!important;box-shadow:0 1px 2px rgba(36,91,148,.05)!important}
.btn[data-cms-button-tone=neutral]{border-color:#d0d7e0!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;color:#475467!important}
.btn[data-cms-button-tone=create]:hover{border-color:#0e376d!important;background:linear-gradient(180deg,#17477f,#0e376d)!important;box-shadow:0 5px 12px rgba(22,69,127,.23)!important}
.btn[data-cms-button-tone=save]:hover{border-color:#0f6048!important;background:linear-gradient(180deg,#177657,#0f6048)!important;box-shadow:0 5px 12px rgba(20,114,86,.2)!important}
.btn[data-cms-button-tone=edit]:hover{border-color:#7fb9c1!important;background:#e6f5f7!important;color:#105763!important}
.btn[data-cms-button-tone=view]:hover{border-color:#aeb9c6!important;background:#edf1f5!important;color:#344054!important}
.btn[data-cms-button-tone=review]:hover{border-color:#d9b875!important;background:#fff2d6!important;color:#784711!important}
.btn[data-cms-button-tone=danger]:hover{border-color:#df959d!important;background:#ffe8ea!important;color:#982230!important;box-shadow:0 4px 10px rgba(180,35,50,.12)!important}
.btn[data-cms-button-tone=transfer]:hover{border-color:#b8a4d3!important;background:#efe8f8!important;color:#583480!important}
.btn[data-cms-button-tone=search]:hover{border-color:#91b4d9!important;background:#e7f1fb!important;color:#194c82!important}
.btn[data-cms-button-tone=neutral]:hover{border-color:#aeb8c5!important;background:#f3f5f8!important;color:#344054!important}
.btn[data-cms-button-tone]:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(22,69,127,.13)!important}.btn[data-cms-button-tone=danger]:focus-visible{box-shadow:0 0 0 3px rgba(180,35,50,.12)!important}.btn[data-cms-button-tone=save]:focus-visible{box-shadow:0 0 0 3px rgba(20,114,86,.13)!important}
.data-table .btn[data-cms-button-tone],.content-table .btn[data-cms-button-tone],.tag-table .btn[data-cms-button-tone]{font-weight:650!important}

/* v4.4 unified content SVG icon system. */
.page-title{display:flex!important;align-items:center!important;gap:12px!important}.page-icon,.cms-auto-page-icon{display:grid!important;width:38px!important;height:38px!important;flex:0 0 38px!important;place-items:center!important;border:1px solid #d9e4f0!important;border-radius:9px!important;background:#eef4fb!important;color:var(--e-primary)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important}.page-icon .cms-page-svg{display:block!important;width:19px!important;height:19px!important}.btn .cms-button-svg{display:block!important;width:14px!important;height:14px!important;flex:0 0 14px!important;margin-right:6px!important}.btn-sm .cms-button-svg,.data-table .btn .cms-button-svg{width:13px!important;height:13px!important;flex-basis:13px!important}.cms-inline-svg{display:inline-block;width:15px;height:15px;vertical-align:-2px}.is-spinning{animation:cms-svg-spin .8s linear infinite}@keyframes cms-svg-spin{to{transform:rotate(360deg)}}@media(max-width:768px){.page-icon,.cms-auto-page-icon{width:34px!important;height:34px!important;flex-basis:34px!important}.page-icon .cms-page-svg{width:17px!important;height:17px!important}}

/* v4.5 keep every list action column on one complete row. */
.data-table tbody td:last-child,.content-table tbody td:last-child,.tag-table tbody td:last-child{white-space:nowrap!important}.data-table tbody td:last-child .btn-group,.content-table tbody td:last-child .btn-group,.tag-table tbody td:last-child .btn-group,.data-table tbody td:last-child .action-cell,.content-table tbody td:last-child .action-cell,.tag-table tbody td:last-child .action-cell,.data-table .channel-row-actions,.content-table .channel-row-actions{display:inline-flex!important;width:max-content!important;max-width:none!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;flex-flow:row nowrap!important;white-space:nowrap!important}.data-table tbody td:last-child .btn,.content-table tbody td:last-child .btn,.tag-table tbody td:last-child .btn,.data-table tbody td:last-child .action-cell button,.content-table tbody td:last-child .action-cell button{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important}.data-table tbody td:last-child>.btn+.btn,.content-table tbody td:last-child>.btn+.btn,.tag-table tbody td:last-child>.btn+.btn{margin-left:6px!important}.data-table tbody td:last-child>form,.content-table tbody td:last-child>form,.tag-table tbody td:last-child>form{display:inline-flex!important;width:auto!important;margin:0 3px!important;vertical-align:middle!important}.content-card:has(.data-table),.content-list-wrapper:has(.content-table),.tag-section:has(.tag-table){overflow-x:auto!important;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.content-card:has(.data-table)>.data-table,.content-list-wrapper:has(.content-table)>.content-table,.tag-section:has(.tag-table)>.tag-table{min-width:max-content!important;width:100%!important}
