/* Scoped to the small news administration panel. */
.news-admin{--news-ink:#17324d;--news-blue:#087fc5;--news-line:#e1eaf3;--news-soft:#f5f8fc;padding:0!important;overflow:hidden;border:1px solid var(--news-line);border-radius:22px!important;background:#fff!important;color:var(--news-ink);box-shadow:0 12px 40px #17324d08}
.news-admin *{box-sizing:border-box}.news-admin [hidden]{display:none!important}.news-admin-heading{display:flex;gap:18px;align-items:center;padding:28px 30px;background:linear-gradient(115deg,#f0f8ff,#fff);border-bottom:1px solid var(--news-line)}.news-heading-icon{display:grid;place-items:center;flex:0 0 58px;height:58px;border-radius:18px;background:#dff1ff;color:var(--news-blue)}.news-heading-icon .icon{width:27px;height:27px}.news-admin .news-eyebrow{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#66849e}.news-admin-heading h2{font-size:26px!important;line-height:1.25;margin:6px 0!important;letter-spacing:-.5px}.news-admin-heading p{font-size:13px;line-height:1.6;color:#657a8e;margin:0}
.news-admin form{margin:0}.news-switch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:24px 30px}.news-switch-card{padding:15px 16px;background:var(--news-soft);border:1px solid var(--news-line);border-radius:13px}.news-admin .plan-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0!important;padding:0!important;margin:0!important;width:100%;font-size:12px;font-weight:700;color:var(--news-ink)}.news-admin .plan-switch>span:first-child{flex:1;min-width:0}.news-admin .plan-switch input{position:absolute;opacity:0;width:1px;height:1px}.news-admin .plan-switch-track{position:relative!important;display:block!important;flex:0 0 57px;width:57px!important;height:29px!important;border-radius:20px!important;background:#c6d2df!important;color:#52677e;font-size:9px!important;line-height:29px!important;box-shadow:none!important;transition:background .18s}.news-admin .plan-switch-track:before,.news-admin .plan-switch-track:after{content:none!important}.news-admin .plan-switch-track b,.news-admin .plan-switch-track i{position:absolute;top:0;font-style:normal;font-weight:800;font-size:9px;line-height:29px}.news-admin .plan-switch-track b{left:9px;display:none}.news-admin .plan-switch-track i{right:8px;display:block}.news-admin .plan-switch-track i:before{content:'';position:absolute;left:-28px;top:4px;width:21px;height:21px;border-radius:50%;background:white;box-shadow:0 2px 5px #17324d1a}.news-admin .plan-switch input:checked+.plan-switch-track{background:#1389cb!important;color:#fff}.news-admin .plan-switch input:checked+.plan-switch-track b{display:block}.news-admin .plan-switch input:checked+.plan-switch-track i{color:transparent}.news-admin .plan-switch input:checked+.plan-switch-track i:before{left:0}.news-admin .plan-switch input:focus-visible+.plan-switch-track{outline:3px solid #76c5ed;outline-offset:3px}.news-switch-card p{font-size:11px;line-height:1.5;color:#75879a;margin:9px 0 0}.news-switch-card:has(input:checked){border-color:#a9d7f1;background:#f0f9ff}
.news-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;padding:0 30px 24px;align-items:start}.news-settings-main{display:grid;gap:18px;min-width:0}.news-section{padding:22px;border:1px solid var(--news-line);border-radius:15px;background:#fff;min-width:0}.news-section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.news-section-heading>span{flex:0 0 30px;height:30px;display:grid;place-items:center;background:#eef6fc;border-radius:9px;color:var(--news-blue);font-weight:800;font-size:11px}.news-admin h3{font-size:15px;line-height:1.4;margin:0;font-weight:800}.news-section-heading p{font-size:11px;color:#7a8c9c;line-height:1.6;margin:4px 0 0}.news-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.news-field{display:grid;gap:7px;min-width:0}.news-field>span{font-size:12px;font-weight:700}.news-field>small{font-size:10px;line-height:1.6;color:#8391a1}.news-admin input[type=number],.news-admin input[type=text],.news-admin input[type=search],.news-admin textarea{height:43px;width:100%;min-width:0;border:1px solid #dce6ef!important;border-radius:9px!important;padding:10px 12px!important;color:var(--news-ink);font:inherit;font-size:13px;background:#fff;box-shadow:none!important}.news-admin input:focus,.news-admin textarea:focus{outline:2px solid #b6e0f7;outline-offset:1px;border-color:#61b3df!important}.news-number-wrap{position:relative}.news-number-wrap input{padding-right:76px!important}.news-number-wrap small{position:absolute;right:24px;top:15px;font-size:10px;color:#8c9dab;pointer-events:none}.news-quick-counts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px dashed var(--news-line)}.news-quick-counts>span{font-size:11px;color:#788a9b;margin-right:3px}.news-quick-counts button{border:1px solid var(--news-line);border-radius:7px;background:#f7fafc;color:#60788d;padding:6px 11px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.news-quick-counts button:hover,.news-quick-counts button.active{color:#087cbf;border-color:#97ceec;background:#eaf6fd}
.news-category-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.news-category-search{display:flex;align-items:center;position:relative;flex:1;min-width:140px}.news-category-search>.icon{position:absolute;left:12px;z-index:1;color:#89a0b5;width:15px;height:15px}.news-admin .news-category-search input{padding-left:36px!important;height:38px}.news-text-button{border:0;background:none;padding:7px 0;color:#0d83c3;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.news-category-summary{font-size:11px;color:#7a8b9b;margin:13px 0}.news-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:0;padding:0;margin:0;max-height:330px;overflow:auto;scrollbar-width:thin}.news-category-option{position:relative;display:flex;align-items:center;gap:7px;border:1px solid var(--news-line);border-radius:8px;padding:10px;min-height:39px;color:#657b8f;cursor:pointer}.news-category-option input{width:14px;height:14px;flex:0 0 14px;margin:0;accent-color:var(--news-blue)}.news-category-option>span{font-size:10px;line-height:1.4;flex:1;min-width:0;overflow-wrap:anywhere}.news-category-option>i{font-size:10px;font-style:normal;color:#0c82c4;display:none}.news-category-option:has(input:checked){background:#eff8ff;border-color:#91ccec;color:#175c87}.news-category-option:has(input:checked)>i{display:block}.news-category-empty{font-size:12px;color:#718399}.news-admin textarea{height:auto;min-height:96px;resize:vertical;line-height:1.6}.news-link-field{margin-top:15px}.news-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.news-preview{position:sticky;top:20px;border-radius:15px;background:#f5f8fc;padding:21px;border:1px solid var(--news-line);min-width:0}.news-preview h3{margin:7px 0 18px}.news-preview-window{border:1px solid #dce7f0;border-radius:12px;background:white;overflow:hidden;min-height:230px;position:relative}.news-preview-window-bar{display:flex;gap:4px;align-items:center;padding:11px 12px;background:#eaf0f6;border-bottom:1px solid #e1eaf3}.news-preview-window-bar i{width:5px;height:5px;border-radius:50%;background:#aebdcb}.news-preview-window-bar span{font-size:8px;color:#7e94a7;flex:1;text-align:center}.news-preview-lines{padding:20px 15px;display:grid;gap:9px}.news-preview-lines span{height:8px;width:74%;background:#f0f4f8;border-radius:3px}.news-preview-lines span:nth-child(2){width:90%}.news-preview-lines span:nth-child(3){width:58%}.news-preview-toast{display:flex;gap:9px;align-items:center;margin:12px;border-radius:10px;border:1px solid #cee1ef;padding:12px 21px 12px 10px;background:white;box-shadow:0 7px 18px #1b42671a;position:relative}.news-preview-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;background:#eaf6fd;border-radius:9px;color:#1284c5}.news-preview-icon .icon{width:16px;height:16px}.news-preview-toast>div{min-width:0}.news-preview-toast small{font-size:8px;color:#0a8cc7;font-weight:700;display:block;margin-bottom:5px}.news-preview-toast strong{font-size:10px;line-height:1.5;display:block;color:#29475f;overflow-wrap:anywhere;max-height:105px;overflow:auto}.news-preview-close{position:absolute;right:7px;top:5px;font-size:12px;color:#9caebe}.news-preview>p{font-size:10px;line-height:1.7;color:#7e91a4;margin:15px 0}.news-preview-summary{font-size:11px;line-height:1.8;color:#397094;border-top:1px solid #dce6f0;padding-top:13px}.news-preview-note{display:flex;align-items:flex-start;gap:7px;padding-top:13px;margin-top:13px;border-top:1px solid #dce6f0}.news-preview-note .icon{width:14px;height:14px;flex:0 0 14px;color:#7197b4}.news-preview-note p{font-size:10px;line-height:1.7;color:#7f92a3;margin:0}.news-save-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 30px;background:#f7fafc;border-top:1px solid var(--news-line)}.news-save-bar p{font-size:11px;color:#7b8fa3;margin:0}.news-save-bar .button{border-radius:10px;min-height:43px;padding:11px 18px;font-size:12px;display:flex;align-items:center;gap:8px;white-space:nowrap}.news-save-bar .icon{width:15px;height:15px}.news-admin .ac-message{margin:14px 30px;color:#b32828}
@media(min-width:1600px){.news-switch-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.news-settings-layout{grid-template-columns:minmax(0,1fr) 330px}.news-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.news-settings-layout{grid-template-columns:minmax(0,1fr)}.news-preview{position:static;display:none}.news-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.news-admin-heading{padding:20px 17px;gap:12px}.news-heading-icon{flex-basis:43px;height:43px;border-radius:13px}.news-admin-heading h2{font-size:20px!important}.news-admin-heading p{font-size:11px}.news-switch-grid{padding:17px;gap:8px}.news-switch-card{padding:11px}.news-admin .plan-switch{font-size:10px;gap:6px}.news-switch-card p{font-size:9px}.news-settings-layout{padding:0 17px 17px;gap:14px}.news-section{padding:16px}.news-fields-grid{gap:14px}.news-field>span{font-size:10px}.news-number-wrap small{display:none}.news-number-wrap input{padding-right:15px!important}.news-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-save-bar{padding:15px 17px;align-items:stretch;flex-direction:column}.news-save-bar .button{justify-content:center}.news-category-toolbar{gap:8px}.news-category-search{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.news-admin *{transition:none!important}}
