.auth-layout{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f5f6f8,#e3e6ed);padding:1.5rem;font-family:Inter,system-ui,-apple-system,sans-serif}.auth-card{width:min(420px,100%);background:#fff;border-radius:16px;padding:2rem;box-shadow:0 10px 35px #00000014;border:1px solid #e5e7eb}.auth-card h1{margin:0 0 .25rem;font-size:1.75rem;font-weight:800;color:#0f2c59}.subtitle{margin:0 0 1.5rem;color:#4b5563;font-size:.95rem}.form{display:flex;flex-direction:column;gap:1rem}label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:#0f2c59}.password-field{display:flex;align-items:center;gap:.5rem}input{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:.75rem .9rem;font-size:1rem;transition:border-color .15s ease,box-shadow .15s ease}input:focus{outline:none;border-color:#0f2c59;box-shadow:0 0 0 3px #0f2c5926}.password-field .toggle{white-space:nowrap;background:#e8eef9;color:#0f2c59;border-radius:10px;border:1px solid #c7d5ef;padding:.65rem .8rem;font-weight:700;cursor:pointer;transition:all .15s ease}.password-field .toggle:hover{background:#d5e3fb}.error{color:#b91c1c;font-weight:500}button{background:#0f2c59;color:#fff;border:none;border-radius:10px;padding:.9rem;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s ease,transform .1s ease}button:hover{background:#0c2347}button:active{transform:translateY(1px)}button:disabled{opacity:.65;cursor:not-allowed}.pill{display:inline-flex;align-items:center;padding:.25rem .5rem;border-radius:999px;background:#e5e7eb;color:#0f172a;font-weight:700;font-size:.8rem}.pill-blue{background:#e0ecff;color:#0f2c59}.pill-red{background:#fee2e2;color:#b91c1c}.row-actions{display:flex;gap:.4rem}.row-actions .ghost{border:1px solid #d1d5db;background:#fff;color:#0f172a;border-radius:8px;padding:.35rem .7rem;cursor:pointer;font-weight:700}.row-actions .ghost:hover{background:#f8fafc}.row-actions .danger{border-color:#fca5a5;color:#b91c1c}.ghost{border:1px solid #d1d5db;background:#fff;color:#0f172a;border-radius:8px;padding:.45rem .75rem;cursor:pointer;font-weight:700}.ghost.danger,.danger.ghost{border-color:#fca5a5;color:#b91c1c}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:grid;align-items:flex-start;justify-items:center;padding:1.5rem;overflow-y:auto;z-index:50}.modal{width:min(880px,100%);background:linear-gradient(180deg,#fff,#f9fbff);border-radius:14px;padding:1.25rem 1.4rem 1rem;box-shadow:0 18px 60px #00000029;border:1px solid #e5e7eb;max-height:calc(100vh - 3rem);overflow:auto}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;align-items:start}.article-form{margin-top:.4rem}.modal h3{margin:0 0 .35rem;color:#0f2c59}.form-grid label,.field-panel{display:flex;flex-direction:column;gap:.4rem;font-weight:600;color:#0f2c59;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:.85rem 1rem;box-shadow:0 12px 28px #0f2c590f}.form-grid label.full,.field-panel.full{grid-column:1 / -1}.form-grid input,.form-grid textarea,.form-grid select{border:1px solid #d1d5db;border-radius:10px;padding:.65rem .8rem;font-size:1rem;background:#f8fafc;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{outline:none;border-color:#0f2c59;box-shadow:0 0 0 3px #0f2c591f;background:#fff}.content-input{min-height:180px;resize:vertical;line-height:1.5}.image-field .image-preview{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem;color:#4b5563}.image-preview .preview-frame{border:1px dashed #d1d5db;border-radius:10px;padding:.5rem;background:#f8fafc;width:fit-content;max-width:100%}.image-preview img{max-width:240px;max-height:160px;object-fit:cover;border-radius:8px;display:block}.upload-card{background:#0f2c59;color:#e8eef9;border-color:#0c2347}.upload-card input{background:#fff}.checkboxes{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.alert{background:#fef2f2;color:#b91c1c;border:1px solid #fecdd3;border-radius:10px;padding:.75rem .9rem;font-weight:600}.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0;border-radius:10px;padding:.75rem .9rem;font-weight:600}.actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.5rem}.sticky-actions{grid-column:1 / -1;position:sticky;bottom:0;background:linear-gradient(180deg,#fff6,#fff 70%);padding-top:.75rem}.actions button{border:none;border-radius:10px;padding:.7rem 1rem;cursor:pointer;font-weight:700}.actions button[type=submit]{background:#0f2c59;color:#fff}.actions .ghost{background:#e5e7eb;color:#0f172a}.tag-form{display:flex;flex-direction:column;gap:.6rem;max-width:420px}.tag-form label{display:flex;flex-direction:column;gap:.25rem;font-weight:600;color:#0f2c59}.tag-form input{border:1px solid #d1d5db;border-radius:10px;padding:.65rem .8rem;font-size:1rem}.btn-primary{background:#0f2c59;color:#fff;border:none;border-radius:8px;padding:.65rem .9rem;font-weight:700;cursor:pointer}.filters{display:flex;gap:.5rem;margin:.8rem 0;flex-wrap:wrap}.filters input,.filters select{border:1px solid #d1d5db;border-radius:10px;padding:.55rem .8rem;font-size:1rem}.tag-panel{gap:.25rem}.tag-panel-header{display:flex;align-items:baseline;gap:.5rem;color:#0f2c59}.tag-options{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.35rem;max-height:190px;overflow-y:auto;padding:.5rem;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.tag-option{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:.35rem .75rem;font-size:.9rem;box-shadow:0 6px 15px #0f2c590d}.tag-delete{border:none;background:transparent;margin-left:.35rem;color:#9ca3af;cursor:pointer;font-weight:700}.two-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.list-table{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.list-row{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e5e7eb}.list-row:last-child{border-bottom:none}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;margin-top:.8rem}.pagination button:disabled{opacity:.4;cursor:not-allowed}.meta{color:#4b5563;font-size:.95rem}.views-card{margin-bottom:1rem}.views-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.views-subtitle{margin:.25rem 0 0;color:#4b5563}.views-controls{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.views-controls input,.views-controls select{border:1px solid #d1d5db;border-radius:8px;padding:.45rem .6rem;font-weight:600;color:#0f172a;background:#fff}.views-metrics{margin-top:1rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem}.views-metric{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:.75rem .9rem}.views-metric span{color:#64748b;font-size:.85rem;font-weight:600}.views-metric strong{display:block;margin-top:.2rem;font-size:1.2rem;color:#0f2c59}.views-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,2fr);gap:1rem}.views-chart h3,.views-table h3{margin-top:0}.views-bars{display:grid;gap:.6rem}.views-bar-row{display:flex;align-items:center;gap:.75rem}.views-bar-title{flex:0 0 160px;font-size:.9rem;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.views-bar{flex:1;height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden}.views-bar span{display:block;height:100%;background:#0f2c59;border-radius:999px}.views-bar-value{flex:0 0 72px;text-align:right;font-size:.9rem;font-weight:600;color:#0f172a;font-variant-numeric:tabular-nums}.views-table{overflow:auto}.views-title{font-weight:600;color:#0f172a}.views-meta{font-size:.8rem;color:#64748b}.views-number{font-variant-numeric:tabular-nums}.views-link{font-weight:700;color:#0f2c59}@media(max-width:960px){.views-grid{grid-template-columns:1fr}}.ads-page{display:flex;flex-direction:column;gap:1.5rem}.ads-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:1.5rem;padding:1.4rem;background:radial-gradient(circle at top right,rgba(250,204,21,.18),transparent 34%),linear-gradient(135deg,#0f2c59,#173d75 65%,#1f4b8f);color:#f8fafc;border:none;box-shadow:0 18px 42px #0f2c5938}.ads-kicker{margin:0 0 .35rem;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:#ffffffb8}.ads-hero h1,.ads-form-header h2,.ads-library-header h2{margin:0;color:inherit}.ads-hero-copy{margin:.85rem 0 0;max-width:58ch;color:#f8fafce0}.ads-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.ads-stat-card{background:#ffffff1a;border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:1rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;flex-direction:column;gap:.2rem}.ads-stat-card strong{font-size:1.9rem;line-height:1}.ads-stat-card span{color:#f8fafcd6;font-weight:600}.ads-form-card{padding:1.35rem}.ads-form-header,.ads-library-header,.ads-group-header,.ads-section-heading,.ads-preview-header,.ads-item-top{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.ads-form-header p,.ads-library-header span,.ads-group-header p,.ads-section-heading p,.ads-item-top p,.ads-preview-note p{margin:0;color:#64748b}.ads-form-section{margin-top:1rem;display:flex;flex-direction:column;gap:.9rem}.ads-position-badge{display:inline-flex;align-items:center;padding:.45rem .75rem;border-radius:999px;background:#e0ecff;color:#0f2c59;font-size:.82rem;font-weight:800;white-space:nowrap}.ads-position-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.9rem}.ads-position-card{border:1px solid #dbe5f3;background:linear-gradient(180deg,#fff,#f7fbff);border-radius:16px;padding:1rem;display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.ads-position-card:hover{transform:translateY(-2px);border-color:#95b7e6;box-shadow:0 16px 28px #0f2c5914}.ads-position-card.is-selected{border-color:#0f2c59;box-shadow:0 0 0 3px #0f2c591f;background:linear-gradient(180deg,#f7fbff,#edf4ff)}.ads-position-title{font-weight:800;color:#0f2c59}.ads-position-specs{color:#b45309;font-weight:700;font-size:.88rem}.ads-position-text{color:#475569;font-size:.95rem}.ads-editor-grid{margin-top:1rem;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.9fr);gap:1.15rem;align-items:start}.ads-preview-panel{position:sticky;top:1.25rem}.ads-preview-card{border:1px solid #dbe5f3;border-radius:18px;padding:1rem;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 20px 32px #0f2c5914;display:flex;flex-direction:column;gap:1rem}.ads-preview-stage{min-height:240px;border-radius:18px;border:1px dashed #bfd2ec;background:linear-gradient(135deg,#0f2c5908,#0f2c5903),#f8fbff;padding:1rem;display:flex;align-items:center;justify-content:center;overflow:hidden}.ads-stage-home_top{min-height:180px}.ads-stage-home_sidebar{min-height:320px}.ads-stage-article_inline{min-height:250px}.ads-stage-article_footer{min-height:170px}.ads-preview-stage img{width:100%;max-height:100%;object-fit:contain;border-radius:12px}.ads-preview-empty,.ads-item-html{width:100%;min-height:120px;border-radius:14px;border:1px dashed #cbd5e1;background:#ffffffc2;padding:1rem;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:.35rem;color:#64748b}.ads-preview-empty strong,.ads-item-html strong{color:#0f2c59}.ads-preview-code{width:100%;display:flex;flex-direction:column;gap:.5rem}.ads-preview-code span{font-weight:700;color:#0f2c59}.ads-preview-code pre{margin:0;max-height:200px;overflow:auto;white-space:pre-wrap;word-break:break-word;border-radius:12px;background:#0f172a;color:#e2e8f0;padding:.9rem;font-size:.82rem}.ads-preview-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}.ads-preview-meta div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:.85rem;display:flex;flex-direction:column;gap:.22rem}.ads-preview-meta span{color:#64748b;font-size:.82rem}.ads-preview-meta strong{color:#0f172a;word-break:break-word}.ads-preview-note{border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;padding:.9rem 1rem}.ads-preview-note strong{display:block;margin-bottom:.25rem;color:#0f2c59}.ads-toggle-card{justify-content:center}.ads-library{padding:1.35rem;display:flex;flex-direction:column;gap:1.25rem}.ads-library-header span{font-weight:700;color:#475569}.ads-empty-state,.ads-group-empty{border:1px dashed #cbd5e1;border-radius:16px;padding:1rem;display:flex;flex-direction:column;gap:.3rem;color:#64748b;background:#f8fafc}.ads-empty-state strong{color:#0f2c59}.ads-group{display:flex;flex-direction:column;gap:.9rem}.ads-group-header h3{margin:0 0 .25rem;color:#0f2c59}.ads-group-count{display:inline-flex;align-items:center;padding:.45rem .8rem;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:700}.ads-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem}.ads-item-card{border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);padding:1rem;box-shadow:0 14px 28px #0f2c590d;display:flex;flex-direction:column;gap:.9rem}.ads-item-card.is-editing{border-color:#0f2c59;box-shadow:0 0 0 3px #0f2c591f}.ads-item-title-row{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.ads-item-title-row h4{margin:0;color:#0f172a}.ads-item-weight{display:inline-flex;align-items:center;padding:.35rem .65rem;border-radius:999px;background:#fff7ed;color:#b45309;font-weight:800;white-space:nowrap}.ads-item-preview{border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;padding:.75rem;min-height:180px;display:flex;align-items:center;justify-content:center}.ads-item-preview img{width:100%;max-height:180px;object-fit:contain;border-radius:12px}.ads-item-meta{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ads-item-meta div{display:flex;flex-direction:column;gap:.15rem}.ads-item-meta dt{color:#64748b;font-size:.8rem;font-weight:700}.ads-item-meta dd{margin:0;color:#0f172a;font-size:.92rem;word-break:break-word}.ads-item-actions{margin-top:auto}.ads-pill-gold{background:#fff7ed;color:#b45309}@media(max-width:1080px){.ads-hero,.ads-editor-grid{grid-template-columns:1fr}.ads-preview-panel{position:static}}@media(max-width:720px){.ads-hero,.ads-form-card,.ads-library{padding:1rem}.ads-stat-grid,.ads-item-meta{grid-template-columns:1fr}.ads-form-header,.ads-library-header,.ads-group-header,.ads-section-heading,.ads-preview-header,.ads-item-top{flex-direction:column}.ads-position-badge,.ads-group-count,.ads-item-weight{white-space:normal}}*{box-sizing:border-box}:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#0f172a}body{margin:0;background:#f5f6f8;color:#0f172a}a{color:inherit;text-decoration:none}.layout{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{background:#0f2c59;color:#e5e7eb;padding:1.5rem 1rem;display:flex;flex-direction:column;gap:1.25rem}.sidebar .brand{font-weight:800;font-size:1.3rem;display:flex;gap:.4rem;align-items:center}.sidebar nav a{display:block;padding:.65rem .9rem;border-radius:10px;color:#e5e7eb;font-weight:600}.sidebar nav a:hover,.sidebar nav a.active{background:#0c2347}.content{padding:1.5rem}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1rem;box-shadow:0 6px 25px #0000000d}
