*{box-sizing:border-box}body{margin:0;background:#f4f6fa;color:#172033;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;background:#121a2b;color:#dbe3f3;display:flex;flex-direction:column;padding:24px 16px;flex-shrink:0}.brand{display:flex;gap:11px;align-items:center;color:#fff;text-decoration:none;font-weight:750;font-size:16px;padding:0 10px 28px}.brand small{display:block;color:#8e9bb4;font-size:9px;letter-spacing:1.5px;margin-top:2px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:#6e77e8;border-radius:12px;font-size:21px}.nav-label,.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#8591a7;margin:15px 10px 9px}.nav-link{display:flex;gap:11px;align-items:center;text-decoration:none;color:#c1cbe0;padding:11px 12px;border-radius:9px;margin:2px 0;font-weight:600}.nav-link span{width:18px;text-align:center}.nav-link.active,.nav-link:hover{background:#27324b;color:#fff}.nav-link.disabled{opacity:.45;cursor:default}.nav-link em{margin-left:auto;font-size:10px;font-style:normal;color:#8e9bb4}.sidebar-footer{margin-top:auto;border-top:1px solid #30394e;padding:20px 5px 0;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e4e7ff;color:#4c52b7;font-weight:800;flex-shrink:0}.profile-name{font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.profile-name small{display:block;color:#91a0b9;font-size:10px}.logout{background:none;color:#aab5cb;border:0;font-size:20px;cursor:pointer}.main-area{flex:1;min-width:0}.topbar{height:94px;background:#fff;border-bottom:1px solid #e6eaf1;padding:19px 34px;display:flex;align-items:center;justify-content:space-between}.topbar .eyebrow{margin:0 0 3px}.topbar h1{font-size:23px;line-height:1.2;margin:0}.topbar-right{font-size:12px;color:#78849a;display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;background:#2dbd84;border-radius:50%}.page-content{padding:30px 34px;max-width:1600px;margin:auto}.section-heading,.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-heading .eyebrow,.welcome-row .eyebrow{margin:0 0 6px;color:#747f98}.section-heading h2,.welcome-row h2{font-size:24px;margin:0 0 5px;letter-spacing:-.4px}.muted{color:#78849a;margin:5px 0}.heading-actions{display:flex;align-items:center;gap:10px}.count-chip{display:inline-flex;padding:8px 12px;border-radius:9px;background:#fff;border:1px solid #e4e8f0;color:#68758e;font-size:12px;font-weight:650}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;padding:10px 14px;text-decoration:none;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap}.button.primary{background:#5d67d9;color:#fff}.button.primary:hover{background:#4e57c7}.button.secondary{background:#fff;color:#344057;border-color:#dfe4ed}.button.danger{background:#fff0f0;border-color:#ffd0d0;color:#bd3434}.small-button{padding:7px 10px;font-size:11px}.full-width{width:100%;margin-top:10px}.search-form{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e8f0;border-radius:11px;padding:10px 12px;margin-bottom:18px}.search-symbol{font-size:21px;color:#8894a8}.search-form input{flex:1;min-width:120px;border:0;outline:0;font:inherit}.search-form select,.search-form button{flex-shrink:0}.search-form select{border:1px solid #e0e5ee;border-radius:8px;padding:9px 10px;background:#fff;color:#44516a;font:inherit;font-size:12px}.clear-link{font-size:12px;color:#5d67d9;text-decoration:none;padding:0 6px}.table-panel,.panel,.stat-card{background:#fff;border:1px solid #e5e9f1;border-radius:12px;box-shadow:0 2px 5px #18284605}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:740px}th{padding:13px 17px;text-align:left;background:#fafbfe;color:#8994a8;text-transform:uppercase;font-size:9px;letter-spacing:1.1px;font-weight:800;border-bottom:1px solid #e8ecf3}td{padding:14px 17px;border-bottom:1px solid #eef1f6;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcff}.right{text-align:right}.listing-cell{display:flex;align-items:center;gap:12px;min-width:280px}.listing-thumb{width:48px;height:48px;border-radius:9px;object-fit:cover;background:#f0f2f7;flex-shrink:0}.listing-thumb.placeholder{display:grid;place-items:center;color:#8b96ad;font-size:22px}.listing-meta strong{display:block;font-size:12px;color:#202b40}.listing-meta small,.table-subline{display:block;font-size:10px;color:#8590a4;margin-top:3px}.id-label{font-size:11px;color:#68758e;font-weight:700}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:750;text-transform:capitalize;white-space:nowrap}.pill i{width:5px;height:5px;border-radius:50%;background:currentColor}.pill.success{background:#e6f8f0;color:#18845a}.pill.warning{background:#fff4df;color:#a36b10}.pill.neutral{background:#edf0f7;color:#69758d}.status-draft{background:#edf0f7;color:#69758d}.status-payment_pending{background:#fff4df;color:#a36b10}.status-under_review{background:#e8edff;color:#4658bd}.status-rejected{background:#fff0f0;color:#bd3434}.status-approved,.status-published{background:#e6f8f0;color:#18845a}.status-suspended{background:#fff0f0;color:#bd3434}.empty-state{text-align:center;padding:52px 20px!important;color:#7b879c}.empty-state strong{display:block;color:#344057;margin:7px 0}.empty-state p{margin:0;font-size:12px}.empty-icon{font-size:27px;color:#9aa5b8}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e8ecf3;padding:14px 17px;color:#8590a4;font-size:11px}.pagination{display:flex;align-items:center;gap:13px}.pagination a{color:#5d67d9;text-decoration:none;font-weight:700}.panel{padding:21px;margin-bottom:17px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.panel-heading .eyebrow{margin:0 0 4px}.panel-heading h2{font-size:16px;margin:0}.flash{border-radius:9px;padding:12px 15px;margin-bottom:18px}.flash.success{background:#e6f8f0;color:#18764f}.flash.error{background:#fff0f0;color:#b82f2f}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.editor-main,.editor-side{min-width:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid label,.editor-side label{display:flex;flex-direction:column;gap:6px;color:#4c5870;font-size:11px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea,.editor-side textarea,.editor-side input:not([type=checkbox]){width:100%;border:1px solid #dfe4ed;border-radius:8px;padding:10px 11px;color:#202b40;background:#fff;font:inherit;font-weight:450;outline-color:#7b83e5}.form-grid textarea,.editor-side textarea{resize:vertical}.span-two{grid-column:span 2}.checkbox-field{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;margin-top:16px;font-size:11px}.checkbox-field input{width:auto}.detail-list{margin:0 0 15px}.detail-list div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #edf0f5}.detail-list dt{font-size:11px;color:#8490a4}.detail-list dd{margin:0;text-align:right;font-size:11px;font-weight:700;overflow-wrap:anywhere}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.media-grid img{width:100%;height:100px;object-fit:cover;border-radius:8px}.review-actions{border-color:#e7e5fb}.reject-form{margin-top:16px;padding-top:14px;border-top:1px solid #edf0f5}.reject-form label{margin-bottom:8px}.draft-payload{max-height:260px;overflow:auto;background:#f6f7fb;border-radius:8px;padding:10px;font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{padding:20px}.stat-card h3{font-size:18px;margin:9px 0}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eff0ff;color:#5d67d9;font-size:18px}.stat-label{font-size:11px;color:#78849a;font-weight:700}.text-link{display:inline-block;color:#5d67d9;font-weight:750;text-decoration:none;margin-top:12px}.welcome-row{align-items:center}.welcome-row h2{font-size:26px}.panel>p:last-child{margin-bottom:0}@media(max-width:1050px){.sidebar{width:210px}.editor-grid{grid-template-columns:minmax(0,1fr) 280px}.page-content{padding:24px}.topbar{padding:18px 24px}}@media(max-width:800px){.sidebar{width:65px;padding:18px 8px}.brand{padding:0 5px 22px}.brand>span:last-child,.nav-label,.nav-link:not(.active)::after,.nav-link em,.sidebar-footer .profile-name,.sidebar-footer form{display:none}.nav-link{justify-content:center;padding:13px 4px;font-size:0}.nav-link span{font-size:17px}.sidebar-footer{justify-content:center}.topbar-right{display:none}.editor-grid{grid-template-columns:1fr}.editor-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editor-side .panel{margin:0}.section-heading{align-items:flex-start;flex-direction:column}.heading-actions{flex-wrap:wrap}.stat-grid{grid-template-columns:1fr}.search-form{flex-wrap:wrap}.search-form input{flex-basis:65%}}@media(max-width:520px){.page-content{padding:18px 12px}.topbar{padding:16px 14px}.topbar h1{font-size:20px}.editor-side{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.table-footer{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:21px}}

/* User management additions */
.user-form-panel{max-width:1050px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:17px;border-top:1px solid #edf0f5}.newsletter-field{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #dfe4ed;border-radius:9px;background:#fbfcff;min-height:56px}.newsletter-field>div{display:flex;flex-direction:column;gap:3px}.newsletter-field strong{font-size:11px;color:#344057}.newsletter-field small{font-size:10px;color:#8590a4}.toggle-control{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px!important;cursor:pointer;white-space:nowrap}.toggle-control input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{position:relative;width:40px;height:23px;border-radius:20px;background:#cbd2df;transition:background .18s;flex-shrink:0}.toggle-track:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #17203330;transition:transform .18s}.toggle-control input:checked+.toggle-track{background:#5d67d9}.toggle-control input:checked+.toggle-track:after{transform:translateX(17px)}.toggle-control input:focus-visible+.toggle-track{outline:3px solid #aeb4f4;outline-offset:2px}.toggle-state{font-size:10px;font-weight:800;color:#68758e;min-width:19px}
