/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.min-w-0{min-width:0}.grow{flex-grow:1}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.focus\:not-sr-only:focus{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}}@font-face{font-family:Manrope;src:url(./fonts/Manrope.ttf)format("truetype");font-weight:200 800;font-display:optional}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Regular.ttf)format("truetype");font-weight:400;font-display:optional}@font-face{font-family:Poppins;src:url(./fonts/Poppins-Medium.ttf)format("truetype");font-weight:500;font-display:optional}@font-face{font-family:Poppins;src:url(./fonts/Poppins-SemiBold.ttf)format("truetype");font-weight:600 800;font-display:optional}:root{--bg:#fff8f4;--surface:#fffdfb;--ink:#2c201b;--muted:#735e53;--primary:#b93213;--primary-soft:#ffeadc;--border:#ead4c7;--control:#b49888;--danger:#b42318;--radius:16px;--sidebar:224px;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:Manrope,Poppins,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}html{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#c6aa9b var(--bg)}body{margin:0;font-size:14px;line-height:1.55}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.7px;margin-bottom:6px;font-size:26px;font-weight:750;line-height:1.25}h2{letter-spacing:-.35px;margin-bottom:8px;font-size:18px;font-weight:750;line-height:1.4}h3{font-size:17px}p{color:var(--muted)}small{font-size:13px;line-height:1.6}.hidden{display:none!important}.icon-definitions{pointer-events:none;width:0;height:0;position:absolute;overflow:hidden}.admin-icon{vertical-align:middle;flex:none;width:20px;height:20px}.icon-heading{align-items:center;gap:10px;min-width:0;display:flex}.icon-heading>.admin-icon{box-sizing:content-box;background:var(--primary-soft);width:18px;height:18px;color:var(--primary);border-radius:10px;padding:7px}.skip-link:focus{z-index:100;color:var(--primary);border:1px solid var(--primary);background:#fff;border-radius:8px;padding:10px 16px;position:fixed;top:12px;left:12px}.app-shell{grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{scrollbar-width:thin;border-right:1px solid var(--border);z-index:30;background:#fffaf6;flex-direction:column;height:100dvh;padding:22px 16px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{color:var(--ink);letter-spacing:-.3px;align-items:center;gap:10px;font-size:15px;font-weight:800;line-height:1.3;display:flex}.brand:hover{text-decoration:none}.brand small{color:var(--muted);letter-spacing:0;margin-top:3px;font-size:12px;font-weight:500;display:block}.brand-mark{background:#b3121d;border-radius:12px;flex:none;width:38px;height:38px;display:block;overflow:hidden;box-shadow:0 4px 12px #aa2a122e}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.sidebar-brand{justify-content:space-between;align-items:center;gap:6px;display:flex}.menu-close{display:none!important}.sidebar nav{margin-top:26px}.nav-link{min-height:46px;color:var(--muted);border-radius:12px;align-items:center;gap:10px;margin-bottom:5px;padding:10px 12px;font-size:14px;font-weight:650;line-height:1.5;display:flex}.nav-link:hover{background:#ffefe4;text-decoration:none}.nav-link.active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px #f2c9b2}.nav-link.is-pending{color:var(--primary);background:#ffefe4}.page-loader{top:calc(50% + 29px);left:calc(var(--sidebar) + (100vw - var(--sidebar)) / 2);z-index:20;background:var(--surface);width:64px;height:64px;box-shadow:0 12px 32px #8c2a1124,0 0 0 1px var(--border);pointer-events:none;opacity:0;visibility:hidden;border-radius:50%;margin:-32px 0 0 -32px;transition:opacity .16s,transform .16s,visibility 0s linear .16s;position:fixed;transform:scale(.85)}.page-loader:before{content:"";background:conic-gradient(from 90deg,#b9321300 0deg,var(--primary) 250deg,#ff9457 360deg);border-radius:50%;animation:.8s linear infinite page-loader-turn;position:absolute;inset:14px;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 calc(100% - 3.5px))}.page-loader:after{content:"";border-radius:50%;position:absolute;inset:14px;box-shadow:inset 0 0 0 4px #b932130f}.main-shell.is-loading .page-loader{opacity:1;visibility:visible;transition:opacity .16s,transform .16s,visibility;transform:scale(1)}.main-shell.is-loading #main-content{opacity:.4;transition:opacity .16s}@keyframes page-loader-turn{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.page-loader,.main-shell.is-loading .page-loader,.main-shell.is-loading #main-content{transition:none}.page-loader:before{animation:none}}.account-menu{border-top:1px solid var(--border);margin-top:auto;padding-top:12px;position:relative}.admin-identity{width:100%;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:10px;min-width:0;min-height:52px;padding:8px;transition:background .15s,border-color .15s;display:flex}.admin-identity:hover,.admin-identity[aria-expanded=true]{background:#ffefe4}.admin-identity.active{background:var(--primary-soft);border-color:#f2c9b2}.admin-identity>.admin-icon{width:16px;height:16px;color:var(--muted)}.identity-text{flex:1;min-width:0}.identity-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.35;display:block;overflow:hidden}.identity-text small{color:var(--muted);font-size:12px;line-height:1.35;display:block}.avatar{color:#fff;background:linear-gradient(135deg,#c43e19,#a82a12);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:14px;font-weight:750;display:grid}.avatar-large{width:44px;height:44px;font-size:17px}.account-panel{background:var(--surface);border:1px solid var(--border);z-index:5;border-radius:14px;padding:6px;position:absolute;bottom:calc(100% + 6px);left:0;right:0;box-shadow:0 12px 32px #60270c1f}.account-panel[hidden]{display:none}.account-panel-head{border-bottom:1px solid var(--border);min-width:0;margin-bottom:6px;padding:8px 10px 10px}.account-panel-head strong{overflow-wrap:anywhere;font-size:13px;display:block}.account-panel-head span{color:var(--muted);overflow-wrap:anywhere;font-size:12px;display:block}.account-panel form{margin:0}.account-panel-item{width:100%;min-height:42px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;font-size:14px;font-weight:600;display:flex}.account-panel-item .admin-icon{width:18px;height:18px;color:var(--muted)}.account-panel-item:hover{background:#fff0e5;text-decoration:none}.account-panel-item[aria-current=page],.account-panel-item[aria-current=page] .admin-icon{color:var(--primary)}.account-panel form .account-panel-item,.account-panel form .account-panel-item .admin-icon{color:var(--danger)}.account-panel-foot{border-top:1px solid var(--border);color:var(--muted);margin-top:6px;padding:8px 10px 4px;font-size:12px}.main-shell{flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--border);background:#fff8f4e8;flex-shrink:0;align-items:center;gap:12px;height:58px;padding:0 24px;display:flex}.breadcrumb{color:var(--muted);min-width:0;font-size:13px}.breadcrumb span{color:var(--control);margin:0 10px}.page-content{flex:1;width:100%;max-width:1440px;margin:0 auto;padding:24px}.page-content[hidden]{display:none}.page-content:focus{outline:none}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.page-heading p:last-child{margin-bottom:0}.heading-actions{flex:none}.button{white-space:normal;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:7px 14px;font-size:14px;font-weight:650;line-height:1.4;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s;display:inline-flex;position:relative;text-decoration:none!important}.button:after{content:"";position:absolute;inset:-2px 0}.button .admin-icon{width:18px;height:18px}.button:active:not(:disabled){transform:scale(.975)}.button-primary{color:#fff;background-color:#a82a12;background-image:linear-gradient(135deg,#c43e19,#a82a12);border-color:#a82a12;box-shadow:inset 0 0 0 999px #0000,0 2px 8px #a82a1218}.button-primary:hover:not(:disabled){box-shadow:inset 0 0 0 999px #0000001f,0 2px 8px #a82a1218}.button-secondary{color:var(--ink);border-color:var(--border);background:#fffdfb}.button-secondary .admin-icon{color:var(--muted)}.button-secondary:hover:not(:disabled),.button-quiet:hover:not(:disabled){background:#fff0e5;border-color:#e2c3b1}.button-quiet{color:var(--muted);background:0 0}.button-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.button-danger:hover:not(:disabled){background:#9a1d13}.button-danger-soft{color:var(--danger);background:#fff5f2;border-color:#f0d0c7}.button-danger-soft .admin-icon{color:var(--danger)}.button-danger-soft:hover:not(:disabled){background:#ffe8e1;border-color:#e3a99a}.button-small{border-radius:9px;gap:5px;min-height:32px;padding:5px 10px;font-size:13px}.button-small:after{top:-6px;bottom:-6px}.button-small .admin-icon{width:16px;height:16px}.full-width{width:100%}.text-link{min-height:44px;color:var(--primary);background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:5px 3px;font-size:14px;font-weight:650;display:inline-flex}.text-link .admin-icon{width:17px;height:17px}.panel,.stat-card{border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(135deg,#fffdfb,#fff7f0);overflow:hidden;box-shadow:0 4px 16px #60270c04}.section-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.section-heading h2{margin-bottom:0}.section-heading p{margin-bottom:0;font-size:13px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.stat-card{padding:12px 16px}.stat-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.stat-icon{background:var(--primary-soft);width:32px;height:32px;color:var(--primary);border-radius:10px;flex:none;place-items:center;display:grid}.stat-icon .admin-icon{width:18px;height:18px}.stat-label{color:var(--muted);font-size:14px;font-weight:650}.stat-card strong{letter-spacing:-.8px;font-variant-numeric:tabular-nums;margin:5px 0 0;font-size:26px;font-weight:750;line-height:1.25;display:block}.filter-bar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:14px 18px;display:flex}.filter-bar input,.filter-bar select{border:1px solid var(--control);min-height:42px;color:var(--ink);background:#fff;border-radius:10px;padding:8px 11px;font-size:14px}.filter-bar input[type=search]::-webkit-search-cancel-button{appearance:none;cursor:pointer;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23776256' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") 50%/16px no-repeat;width:16px;height:16px}.search-field{flex:1;min-width:180px;position:relative}.search-field>.admin-icon{width:18px;height:18px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search-field input{width:100%;padding-left:40px}.filter-bar select{width:100%;max-width:190px}.sort-field{position:relative}.sort-field>.admin-icon{width:17px;height:17px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.sort-field select{padding-left:34px}.account-content{max-width:620px}.account-summary{align-items:center;gap:12px;margin-bottom:16px;padding:16px 18px;display:flex}.account-summary strong,.account-summary span:not(.avatar){overflow-wrap:anywhere;display:block}.account-summary>div{min-width:0}.account-summary>div>span{color:var(--muted);margin-top:3px;font-size:13px}.account-content .form-section>.field-hint{margin:0 0 16px}.account-actions{justify-content:flex-end;margin-top:20px;display:flex}.table-wrap{width:100%;overflow-x:auto}.content-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:100%;font-size:14px}.content-table th{color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;background:#fff4eb;padding:10px 16px;font-size:12px;font-weight:700}.content-table th.status-col{width:170px}.content-table th.counts-col{width:140px}.content-table th.updated-col{width:170px}.content-table th.actions-col{text-align:right;width:290px}.content-table td{vertical-align:middle;border-bottom:1px solid #f1e2d8;padding:12px 16px}.content-table tr:last-child td{border-bottom:0}.content-table tbody tr:hover{background:#fff1e780}.title-cell{align-items:center;gap:12px;min-width:0;display:flex}.title-cell>div:last-child{flex:1;min-width:0}.thumbnail:not(img){color:var(--primary);place-items:center;display:grid}.thumbnail{object-fit:cover;object-position:50% 20%;background:#ffeadc;border-radius:8px;flex:none;width:44px;height:54px}.title-cell strong{white-space:nowrap;text-overflow:ellipsis;margin-bottom:3px;font-size:14px;line-height:1.45;display:block;overflow:hidden}.title-cell small{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:13px;display:block;overflow:hidden}.updated-cell{white-space:nowrap;color:var(--muted);font-size:13px}.badge{color:#665349;white-space:nowrap;background:#f1e6df;border-radius:7px;align-items:center;height:24px;padding:0 8px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.badge.published,.badge.active{color:#17633a;background:#e8f4ed}.status-cell{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.status-marks{align-items:center;gap:6px;display:flex}.status-note{color:#8a5a12;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;font-weight:600;line-height:1.35;overflow:hidden}.status-cell:empty{display:none}.engagement{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:10px;display:flex}.engagement span{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.engagement .admin-icon{width:16px;height:16px;color:var(--muted)}.engagement-note{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:3px;font-size:12px;display:block}.list-meta{background:#fffaf6;border-bottom:1px solid #f1e2d8;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 18px;display:flex}.list-meta:has(#library-meta:empty){display:none}.list-meta p{color:var(--muted);font-variant-numeric:tabular-nums;margin:0;font-size:13px}.list-meta p:focus{outline:none}.list-meta strong{color:var(--ink);margin-right:1px;font-size:15px;font-weight:750}.list-meta-action{min-height:32px;color:var(--primary);background:0 0;border:0;flex:none;align-items:center;gap:5px;padding:4px 2px;font-size:13px;font-weight:650;display:inline-flex;position:relative}.list-meta-action:after{content:"";position:absolute;inset:-6px 0}.list-meta-action:hover{text-underline-offset:3px;text-decoration:underline}.list-meta-action[hidden]{display:none}.list-meta-action .admin-icon{width:15px;height:15px}.pager{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:14px 18px;transition:opacity .15s;display:flex}.pager[hidden]{display:none}.pager.is-refreshing{opacity:.55;pointer-events:none}.page-link{border:1px solid var(--border);min-width:36px;height:36px;color:var(--ink);font-variant-numeric:tabular-nums;background:#fffdfb;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:0 10px;font-size:14px;font-weight:650;transition:background .15s,border-color .15s;display:inline-flex;position:relative;text-decoration:none!important}.page-link:after{content:"";position:absolute;inset:-4px}.page-link:not([aria-current]):hover{background:#fff0e5;border-color:#e2c3b1}.page-link[aria-current=page]{color:#fff;background-color:#a82a12;background-image:linear-gradient(135deg,#c43e19,#a82a12);border-color:#a82a12}.page-link.disabled{opacity:.42;pointer-events:none}.page-link .admin-icon{width:16px;height:16px}.page-gap{text-align:center;min-width:16px;color:var(--muted)}.list-loading,.empty-state{text-align:center;color:var(--muted);padding:30px 20px;font-size:14px}#library-list{transition:opacity .15s}#library-list.is-refreshing{opacity:.55;pointer-events:none}.empty-state .button{margin-top:6px}.empty-state h3{color:var(--ink);margin-bottom:8px}.empty-state p{margin-bottom:8px;font-size:14px}.feedback{color:#254d6d;overflow-wrap:anywhere;background:#edf4fa;border:1px solid #cbdce9;border-radius:12px;margin-bottom:16px;padding:12px 16px;font-size:14px}.feedback.success{color:#17633a;background:#e9f5ed;border-color:#c7e4d0}.feedback.error{color:#902719;background:#fff2f0;border-color:#f1c4bd}.feedback ul{margin:7px 0;padding-left:20px}.feedback p{color:inherit;margin:6px 0}.feedback button{margin:7px 8px 0 0}.menu-toggle,.sidebar-scrim{display:none}.icon-button{border:1px solid var(--border);min-width:44px;min-height:44px;color:var(--ink);background:0 0;border-radius:10px;place-items:center;display:grid}.menu-toggle{display:none}.editor-columns{padding-bottom:calc(var(--actionbar-height,80px) + 16px);grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:20px;display:grid}.editor-form{min-width:0}.form-section{margin-bottom:16px;padding:18px}.form-section h2{margin-bottom:14px}.field{flex-direction:column;gap:6px;min-width:0;margin:14px 0;display:flex}.field:first-child{margin-top:0}.field:last-child{margin-bottom:0}.field label{color:var(--ink);font-size:14px;font-weight:700}.field label span{color:var(--muted);margin-left:6px;font-size:12px;font-weight:500}.field input,.field select,.field textarea{border:1px solid var(--control);width:100%;color:var(--ink);background:#fff;border-radius:10px;min-height:44px;padding:10px 12px;font-size:15px}.field textarea{resize:vertical;line-height:1.65}.field small,.field-hint{color:var(--muted);font-size:13px;line-height:1.6}.field-hint{margin-top:12px;margin-bottom:0}.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:var(--danger)}.field-error{font-size:13px;color:var(--danger)!important}.upload-control{border:1.5px dashed var(--control);cursor:pointer;color:var(--muted);text-align:left;background:#fffaf6;border-radius:12px;justify-content:center;align-items:center;gap:12px;min-height:92px;padding:16px;display:flex;position:relative}.upload-control strong{color:var(--primary);font-size:15px}.upload-control span{font-size:13px;display:block}.upload-control .upload-icon{background:var(--primary-soft);width:40px;height:40px;color:var(--primary);border-radius:10px;flex:none;place-items:center;display:grid}.upload-control input[type=file]{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.upload-control:focus-within{outline:3px solid var(--primary);outline-offset:3px}.upload-control:hover{border-color:var(--primary);background:#fff1e7}.upload-feedback{color:var(--muted);padding:8px 0;font-size:13px}.upload-feedback progress{width:100%;accent-color:var(--primary);margin-top:8px}.two-fields{grid-template-columns:1fr 1fr;align-items:start;gap:14px;display:grid}.two-fields>.field{margin:0}.editor-form .two-fields{margin:14px 0}.form-actions{margin-top:16px}.preview-column{align-self:start;min-width:0;position:sticky;top:18px}.preview-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.preview-heading h2{margin:0;font-size:15px}.segmented-control{background:#f5e6dc;border-radius:10px;gap:2px;padding:3px;display:flex}.segmented-control button{color:var(--muted);background:0 0;border:0;border-radius:8px;min-height:38px;padding:8px;font-size:12px}.segmented-control .selected{color:var(--primary);background:#fffdfb;box-shadow:0 1px 4px #60270c12}.preview-card{background:linear-gradient(135deg,#fffdfb,#fff4ee);border:1px solid #ead4c7b8;border-radius:22px;padding:6px;box-shadow:0 6px 18px #60270c0d}.preview-media{position:relative}.preview-image{min-height:220px;color:var(--muted);text-align:center;background:#f4e9e1;border-radius:18px;place-items:center;padding:12px;font-size:14px;display:grid;overflow:hidden}.preview-image:has(img){background:0 0;min-height:0;padding:0}.preview-image img{object-fit:contain;width:100%;height:auto;max-height:520px;display:block}.preview-premium{color:#5b3a06;background:linear-gradient(135deg,#ffe9a8,#f8c752,#eaa62c);border:1px solid #fff5d6;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:700;line-height:1.25;display:inline-flex;position:absolute;top:10px;left:10px;box-shadow:0 2px 6px #0003}.preview-premium .admin-icon{fill:#5b3a06;stroke:#5b3a06;width:15px;height:15px}.preview-title-row{align-items:center;gap:6px;padding:10px 6px 4px;display:flex}.preview-title-row h3{letter-spacing:-.18px;min-width:0;color:var(--ink);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;margin:0;font-size:13px;font-weight:600;line-height:1.32;display:-webkit-box;overflow:hidden}.preview-save{width:44px;height:44px;color:var(--ink);background:0 0;border:1px solid #735e538c;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.preview-save:disabled{opacity:1;cursor:default}.preview-save .admin-icon{width:20px;height:20px}.editor-actionbar{bottom:0;left:var(--sidebar);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:20;background:#fff8f4f5;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;display:flex;position:fixed;right:0}.editor-actionbar strong{font-size:14px;display:block}.editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.category-columns{grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);align-items:start;gap:18px;display:grid}.category-columns .form-section{margin:0}.category-row{border-bottom:1px solid #f1e2d8;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.category-row:last-child{border-bottom:0}.category-row>div:first-child{min-width:0}.category-row strong{overflow-wrap:anywhere;font-size:14px}.category-row small{color:var(--muted);margin-top:3px;font-size:13px;display:block}.category-row .row-actions{flex:none;align-items:center;gap:7px;display:flex}.category-row.selected{background:var(--primary-soft);box-shadow:inset 3px 0 var(--primary)}.category-row{background:var(--surface);justify-content:flex-start;padding-left:8px}.category-row .category-text{flex:1;min-width:0}.drag-handle{width:32px;min-height:44px;color:var(--control);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;margin:-8px 0;display:grid}.drag-handle:hover,.drag-handle:focus-visible{color:var(--ink);background:var(--primary-soft)}.drag-handle .admin-icon{width:20px;height:20px}.category-position{background:var(--primary-soft);min-width:26px;height:26px;color:var(--primary);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;place-items:center;padding:0 6px;font-size:12px;font-weight:800;display:grid}.category-position.muted{color:var(--muted);background:0 0;font-weight:600}.order-button{min-width:32px;min-height:32px;color:var(--muted);border-radius:9px;position:relative}.order-button:after{content:"";position:absolute;inset:-6px}.order-button .admin-icon{width:16px;height:16px}.order-button:disabled{opacity:.35;cursor:default}.order-button:not(:disabled):hover{color:var(--ink);background:var(--primary-soft)}.is-sorting,.is-sorting *{cursor:grabbing;-webkit-user-select:none;user-select:none}.category-row.dragging{z-index:2;background:#fffdfb;border-radius:12px;position:relative;box-shadow:0 10px 28px #60270c26}.order-bar{border-top:1px solid var(--border);border-radius:0 0 var(--radius) var(--radius);background:#fff4eb;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;display:flex}.order-bar>span{min-width:200px;color:var(--ink);flex:1;align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.order-bar>span .admin-icon{width:18px;height:18px;color:var(--primary);flex:none}.order-bar-actions{gap:8px;margin-left:auto;display:flex}@media (prefers-reduced-motion:no-preference){.category-row{transition:background-color .12s}}#category-list{container-type:inline-size}@container (max-width:560px){.category-row{flex-wrap:wrap;row-gap:8px}.category-row .category-text{flex:calc(100% - 90px)}.category-row .row-actions{width:100%;padding-left:82px}}.information-section{margin-bottom:12px}.information-section summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;min-height:44px;list-style:none;display:flex}.information-section summary h2{margin:0}.information-section summary::-webkit-details-marker{display:none}.information-section[open] summary{margin-bottom:16px}.disclosure-icon{color:var(--muted);transition:transform .18s}.information-section[open] .disclosure-icon{transform:rotate(180deg)}.information-section textarea{min-height:190px}.information-actions{justify-content:space-between;align-items:center;gap:20px;margin:18px 0;display:flex}.information-actions .button{flex:none}.information-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.confirm-dialog{border:1px solid var(--border);width:calc(100% - 32px);max-width:470px;color:var(--ink);background:var(--surface);border-radius:16px;padding:24px;box-shadow:0 20px 80px #0003}.confirm-dialog::backdrop{background:#2c201b66}.confirm-dialog h2{font-size:20px}.confirm-dialog p{font-size:14px;line-height:1.7}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.auth-page{background:radial-gradient(ellipse at top,#ffe8d9,transparent 60%),var(--bg)}.auth-shell{place-items:center;min-height:100dvh;padding:24px;display:grid}.auth-form-panel{width:100%;max-width:420px}.auth-card{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:28px;box-shadow:0 8px 32px #60270c08}.auth-card .brand{margin-bottom:26px}.auth-card h1{letter-spacing:-.6px;margin-bottom:8px;font-size:26px}.auth-card form .button-primary{margin-top:8px}.auth-card .field{margin:16px 0}.auth-card .field input{min-height:48px}.auth-card .field-hint{margin-top:18px}.legal-page{max-width:720px;margin:auto;padding:40px 24px}.legal-page p{font-size:15px}@media (max-width:1200px){.editor-columns{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.editor-actionbar{align-items:flex-start}.filter-bar{flex-wrap:wrap}.filter-bar .search-field{min-width:240px}.content-table th.status-col{width:160px}.content-table th.counts-col{width:130px}.content-table th.updated-col{width:160px}.content-table th.actions-col{width:270px}.content-table th,.content-table td{padding-left:12px;padding-right:12px}}@media (max-width:1000px){:root{--sidebar:0px}.app-shell{grid-template-columns:1fr}.sidebar{width:248px;transition:transform .2s;position:fixed;top:0;left:0;transform:translate(-100%);box-shadow:10px 0 40px #2c201b20}.sidebar.open{transform:translate(0)}.sidebar-scrim:not([hidden]){z-index:25;background:#2c201b50;border:0;display:block;position:fixed;inset:0}.menu-toggle{display:grid}.menu-close{border:0;min-width:34px;min-height:44px;display:grid!important}body.menu-open{overflow:hidden}.breadcrumb{flex:1}.editor-columns{grid-template-columns:minmax(0,1fr) 300px}.category-columns{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}}@media (max-width:760px){.page-content{padding:20px 16px}.topbar{gap:10px;padding:0 16px}.breadcrumb{font-size:12px}.breadcrumb span{margin:0 5px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:18px}h1{font-size:24px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card,.section-heading{padding:12px 14px}.section-heading h2{font-size:17px}.filter-bar{gap:10px;padding:14px}.filter-bar .search-field{min-width:100%}.filter-bar label:not(.search-field){flex:1;min-width:110px}.filter-bar label.sort-field{flex-basis:100%}.filter-bar select{max-width:none}.filter-bar .button{flex:1}#editor{--actionbar-height:180px}.editor-columns{grid-template-columns:1fr}.preview-column{width:100%;max-width:330px;margin:auto;position:static}.form-section{padding:16px}.editor-actionbar{padding:10px 16px;display:block}.editor-actions{grid-template-columns:1fr 1fr;margin-top:8px;display:grid}.editor-actions .button{min-width:0;padding:7px 8px;font-size:13px}.editor-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-actions #publish{grid-column:auto}.category-columns{grid-template-columns:1fr}.category-row{gap:8px;padding:12px 14px}.category-row .row-actions{gap:4px}.content-table,.content-table tbody,.content-table tr,.content-table td{display:block}.content-table thead{display:none}.content-table tr{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px 14px;display:flex}.content-table td{border:0;min-width:0;padding:0}.content-table td:first-child,.content-table td:last-child{flex:1 0 100%;max-width:100%}.content-table td.status-col:has(.status-cell:empty){display:none}.title-cell{min-width:0}.title-cell strong{max-width:none}.content-table td.updated-cell{color:var(--muted);white-space:normal;margin-left:auto;font-size:12px}.row-actions{justify-content:stretch}.row-actions .button{flex:1;min-height:34px}.list-meta{padding:8px 14px}.pager{padding:12px 10px}.pager-text{display:none}.table-wrap{overflow:visible}.two-fields{grid-template-columns:1fr;gap:14px}.information-actions{flex-direction:column;align-items:flex-start;gap:12px}.information-actions .button{width:100%}.auth-shell{padding:20px 16px}.auth-card{padding:22px}.auth-card h1{font-size:24px}}@media (max-width:380px){.topbar .breadcrumb{font-size:11px}.topbar .button{gap:5px;font-size:12px}.category-row{flex-wrap:wrap}.category-row .row-actions{margin-left:auto}.stat-card{padding:12px}.stat-top{gap:4px}.stat-label{font-size:13px}.upload-control{gap:8px;padding:12px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.button:active{transform:none}}.topbar{position:relative}.breadcrumb strong{font-weight:600}.row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.delete-control{color:var(--danger)}.post-hidden .thumbnail{opacity:.58;filter:grayscale(.35);transition:opacity .24s}.post-hidden .title-cell strong{color:var(--muted)}.post-hidden{background:#f6ece655}.badge.hidden-post{color:#665348;background:#eee4dc}.information-actions{justify-content:flex-end}@media (max-width:760px){.editor-actionbar{flex-wrap:wrap;align-items:center;display:flex}.editor-actions{width:100%;margin:0}.editor-actionbar strong{font-size:13px}.editor-actions:has(#hide.hidden){grid-template-columns:1fr}.editor-actions #publish{min-width:0}}.ads-form{max-width:1120px;padding-bottom:100px}.ads-form>fieldset{border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.ads-form [hidden]{display:none!important}.ads-form .ads-section{margin:0;padding:16px 18px}.ads-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.ads-section-heading h2{margin:0;font-size:17px}.ads-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.ads-form .field{min-width:0;margin:0}.ads-form .field>label{font-size:14px;line-height:1.5}.ads-form .field>input:not([type=checkbox]),.ads-form .field>select{min-width:0;height:46px;color:var(--ink);background:#fffdfb;box-shadow:inset 0 1px 2px #60270c03}.ads-form .field>input::placeholder{color:#8a7569;font-size:13px}.ads-form .field>input[type=number]{font-variant-numeric:tabular-nums}.ads-form .field small{line-height:1.5}.ads-note{margin:12px 0 0;font-size:13px;line-height:1.6}.ads-switch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;display:grid}.ads-stack{gap:16px;display:grid}.ads-stack>.ads-note{margin:0}.ads-placements{grid-template-columns:repeat(3,minmax(0,1fr))}.ads-switch-label{border:1px solid var(--border);cursor:pointer;background:#fffaf6;border-radius:11px;justify-content:space-between;align-items:center;gap:14px;min-height:52px;padding:8px 12px;transition:background .18s,border-color .18s;display:flex}.ads-switch-label:has(:checked){background:#fff1e7;border-color:#e7bea7}.ads-switch-label:hover{background:var(--primary-soft);border-color:#cc9980}.ads-form .ads-switch-label>span{min-width:0;color:var(--ink);font-size:14px;font-weight:600}.ads-form .ads-switch-label input[type=checkbox]{appearance:none;cursor:pointer;background:#b9a497;border:1px solid #a78d7d;border-radius:99px;flex:none;width:44px;min-width:44px;height:26px;min-height:26px;margin:0;padding:3px;transition:background .2s,border-color .2s;box-shadow:inset 0 1px 2px #2c201b14}.ads-form .ads-switch-label input[type=checkbox]:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;display:block;box-shadow:0 1px 3px #2c201b38}.ads-form .ads-switch-label input[type=checkbox]:checked{background:var(--primary);border-color:var(--primary)}.ads-form .ads-switch-label input[type=checkbox]:checked:before{transform:translate(18px)}.ads-form .invalid .ads-switch-label{border-color:var(--danger)}.ads-form .information-section summary{min-height:44px;font-size:16px;font-weight:700}.ads-form .information-section summary>.icon-heading{gap:10px;min-width:0}.ads-form .information-section summary .disclosure-icon{width:20px;height:20px}.ads-summary-end{flex:none;align-items:center;gap:12px;display:flex}.ads-summary-end .badge{justify-content:center;min-width:36px;font-size:11px}.ads-form .disclosure-icon{color:var(--muted);transition:transform .2s}.ads-form .information-section[open] summary{border-bottom:1px solid var(--border);margin-bottom:0;padding-bottom:14px}.ads-section-content{gap:16px;padding-top:16px;display:grid}.ads-section-content>.ads-note{margin:0}.ads-subsection{border-top:1px solid var(--border);gap:14px;padding-top:16px;display:grid}.ads-subsection h3{margin:0;font-size:14px;font-weight:750}.ads-subsection>.ads-note{margin:0}.ads-switch-grid:has(>:only-child){grid-template-columns:minmax(0,1fr)}.ads-fields>.ads-switch-field{align-self:end}.ads-safe{color:var(--muted);margin:0 0 12px;font-size:13px;line-height:1.55}.ads-safe b{color:var(--danger);font-weight:800}.ads-guide{gap:18px;display:grid}.ads-guide a{color:var(--ink);gap:8px;font-size:13px;font-weight:650;text-decoration:none;display:grid}.ads-guide img{border:1px solid var(--border);background:#fffaf6;border-radius:12px;width:100%;height:auto;display:block}.ads-guide a:hover img{border-color:#cc9980}.ads-guide a:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:12px}.ads-facts{grid-template-columns:minmax(150px,max-content) minmax(0,1fr);gap:10px 18px;margin:0;font-size:13px;line-height:1.6;display:grid}.ads-facts dt{color:var(--ink);font-weight:700}.ads-facts dd{color:var(--muted);min-width:0;margin:0}.ads-form code{overflow-wrap:anywhere;font-size:12px}.ads-form .editor-actionbar{flex-wrap:nowrap;justify-content:space-between;align-items:center;display:flex}#ads-save-status{color:var(--muted);font-size:13px}#ads-save-status[data-unsaved=true]{color:var(--primary);font-weight:650}@media (max-width:760px){.ads-form .ads-section{padding:14px}.ads-fields,.ads-switch-grid,.ads-facts{grid-template-columns:minmax(0,1fr)}.ads-facts dd{margin-bottom:6px}.ads-form .information-section summary{min-height:44px;font-size:15px}.ads-summary-end{gap:6px}.ads-section-heading h2,.ads-form .field>input:not([type=checkbox]),.ads-form .field>select{font-size:16px}.ads-form .editor-actionbar{gap:10px}.ads-form .editor-actionbar .button{flex:none}#ads-save-status{font-size:12px}}@media (prefers-reduced-motion:reduce){.ads-form .ads-switch-label input[type=checkbox]:before{transition:none}}@media (forced-colors:active){.ads-form .ads-switch-label input[type=checkbox]{appearance:auto;accent-color:auto}.ads-form .ads-switch-label input[type=checkbox]:before{display:none}}.access-choice{border:0;min-inline-size:0;padding:0}.access-choice legend{margin-bottom:7px;padding:0;font-size:14px;font-weight:700}.access-options{grid-template-columns:1fr 1fr;gap:8px;max-width:420px;display:grid}.access-options label{cursor:pointer;min-width:0;position:relative}.access-options .access-option{border:1px solid var(--border);background:var(--surface);min-height:48px;color:var(--muted);border-radius:11px;justify-content:center;align-items:center;gap:8px;margin:0;padding:10px 14px;font-size:14px;transition:background .2s,border-color .2s,box-shadow .2s;display:flex}.access-options input:checked+.access-option{background:var(--primary-soft);color:var(--primary);border-color:#dc9a80;box-shadow:inset 0 1px #fff9}.access-options .premium-option .admin-icon{color:#936414;fill:#ffe4a0}.access-options input:checked+.premium-option{color:#755014;background:linear-gradient(135deg,#fff8df,#fbeac3);border-color:#d3ac58}.access-options input:focus-visible+.access-option{outline:3px solid var(--primary);outline-offset:3px}.access-options label:hover .access-option{border-color:var(--control)}.premium-mark{vertical-align:middle;color:#91610e;background:linear-gradient(135deg,#fff8dc,#fbe6af);border:1px solid #e4c886;border-radius:7px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;box-shadow:inset 0 1px #fff9}.premium-mark .admin-icon{fill:#ffe9ab;width:15px;height:15px}@media (prefers-reduced-motion:reduce){.access-options .access-option{transition:none}}@media (forced-colors:active){.access-options input:checked+.access-option{outline:2px solid highlight}.premium-mark{color:canvastext;border-color:canvastext}.premium-mark .admin-icon,.premium-option .admin-icon{fill:none;color:canvastext}}.field select:not([multiple]),.filter-bar select:not([multiple]),.ads-form .field>select:not([multiple]){appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23776256' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:40px}.filter-bar .sort-field select{min-width:218px;max-width:none}@media (forced-colors:active){.field select:not([multiple]),.filter-bar select:not([multiple]),.ads-form .field>select:not([multiple]){appearance:auto;background-image:none;padding-right:12px}}.toast-region{z-index:24;pointer-events:none;flex-direction:column;gap:8px;width:min(380px,100vw - 32px);display:flex;position:fixed;top:16px;right:16px}.toast{pointer-events:auto;background:var(--surface);border:1px solid var(--border);color:var(--ink);border-left:4px solid #5b7fa0;border-radius:12px;align-items:flex-start;gap:10px;padding:11px 10px 11px 12px;animation:.2s ease-out toast-in;display:flex;box-shadow:0 10px 30px #2c201b24}.toast.leaving{animation:.18s ease-in forwards toast-out}.toast-success{border-left-color:#1f8a4c}.toast-error{border-left-color:var(--danger)}.toast-icon{color:#41698d;flex:none;place-items:center;width:22px;height:22px;display:grid}.toast-success .toast-icon{color:#1f8a4c}.toast-error .toast-icon{color:var(--danger)}.toast-body{flex:1;min-width:0}.toast-message{color:var(--ink);overflow-wrap:anywhere;margin:1px 0 0;font-size:14px;font-weight:600;line-height:1.45}.toast-action{color:var(--primary);text-underline-offset:3px;background:0 0;border:0;min-height:28px;margin-top:6px;padding:2px 0;font-size:13px;font-weight:700;text-decoration:underline}.toast-close{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;margin:-3px -2px 0 0;display:grid;position:relative}.toast-close:after{content:"";position:absolute;inset:-8px}.toast-close:hover{color:var(--ink);background:#f6ebe3}.toast-close .admin-icon{width:16px;height:16px}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@keyframes toast-out{to{opacity:0;transform:translateY(-6px)}}@media (max-width:760px){.toast-region{top:auto;left:10px;right:10px;bottom:calc(var(--toast-offset,0px) + 10px + env(safe-area-inset-bottom,0px));flex-direction:column-reverse;width:auto}.toast{animation-name:toast-up}}@keyframes toast-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.toast,.toast.leaving{animation:none}.button:active:not(:disabled){transform:none}#library-list,.pager,.page-link{transition:none}}@media (forced-colors:active){.toast{border:2px solid canvastext}}.mode-options{border:0;gap:8px;min-inline-size:0;margin:0;padding:0;display:grid}.mode-option{border:1px solid var(--border);cursor:pointer;background:#fffaf6;border-radius:12px;align-items:flex-start;gap:12px;min-height:52px;padding:11px 14px;transition:background .18s,border-color .18s;display:flex;position:relative}.mode-option input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute}.mode-radio{border:1.5px solid var(--control);background:#fff;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;margin-top:1px;transition:border-color .18s;display:grid}.mode-radio:after{content:"";background:var(--primary);border-radius:50%;width:10px;height:10px;transition:transform .18s;transform:scale(0)}.mode-option:has(input:checked){background:#fff1e7;border-color:#e7bea7}.mode-option:has(input:checked) .mode-radio{border-color:var(--primary)}.mode-option:has(input:checked) .mode-radio:after{transform:scale(1)}.mode-option:hover:not(:has(input:disabled)){background:var(--primary-soft);border-color:#cc9980}.mode-option:has(input:focus-visible){outline:3px solid var(--primary);outline-offset:2px}.mode-option:has(input:disabled){cursor:not-allowed;opacity:.58}.mode-text{gap:2px;min-width:0;display:grid}.mode-text strong{color:var(--ink);font-size:14px;font-weight:650}.mode-text small{color:var(--muted);font-size:13px;line-height:1.5}.protection-warning{color:#8a5a12;align-items:center;gap:8px;font-weight:600;display:flex}.protection-warning .admin-icon{flex:none;width:18px;height:18px}.setup-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0;padding:0;list-style:none;display:grid}.setup-item{border:1px solid var(--border);background:#fffaf6;border-radius:11px;align-items:flex-start;gap:10px;min-width:0;padding:10px 12px;display:flex}.setup-item>.admin-icon{flex:none;width:20px;height:20px;margin-top:1px}.setup-item.ok>.admin-icon{color:#1f8a4c}.setup-item.missing>.admin-icon{color:#b45309}.setup-item strong{color:var(--ink);font-size:14px;font-weight:650;display:block}.setup-item span{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.5;display:block}.always-checks h3{margin:0 0 8px;font-size:14px;font-weight:750}.always-checks ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.always-checks li{align-items:center;gap:8px;font-size:14px;display:flex}.always-checks .admin-icon{color:#1f8a4c;flex:none;width:16px;height:16px}.always-checks p{color:var(--muted);margin:8px 0 0;font-size:13px}.field small.hint-warning{color:#8a5a12;font-weight:600}.activity-legend{color:var(--muted);font-size:13px}.protection-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.protection-stat{border:1px solid var(--border);background:#fffaf6;border-radius:12px;min-width:0;padding:10px 14px}.protection-stat span{color:var(--muted);font-size:13px;font-weight:650;display:block}.protection-stat strong{letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-size:22px;font-weight:750;line-height:1.3;display:block}.protection-stat small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;display:block}.protection-quota-high{color:#8a5a12;font-weight:650}#protection-save-status{color:var(--muted);font-size:13px}#protection-save-status[data-unsaved=true]{color:var(--primary);font-weight:650}@media (max-width:760px){.setup-list{grid-template-columns:minmax(0,1fr)}.protection-stats{grid-template-columns:1fr 1fr}.protection-form .ads-section-heading .button{width:100%}}@media (prefers-reduced-motion:reduce){.mode-option,.mode-radio,.mode-radio:after{transition:none}}@media (forced-colors:active){.mode-option:has(input:checked){outline:2px solid highlight}.mode-radio:after{background:highlight}}.field-label{color:var(--ink);font-size:14px;font-weight:700;line-height:1.5}.field-label span{color:var(--muted);margin-left:6px;font-size:12px;font-weight:500}.readonly-value{border:1px dashed var(--border);min-height:46px;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;background:#fffaf6;border-radius:10px;align-items:center;margin:0;padding:10px 12px;font-weight:650;display:flex}.readonly-value a{font-weight:650}.confirm-rollout-label{color:#5f430c;cursor:pointer;background:#fff8e6;border:1px solid #e9c77d;border-radius:12px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:14px;line-height:1.55;display:flex}.confirm-rollout-label input{width:20px;height:20px;min-height:0;accent-color:var(--primary);border:0;flex:none;margin:1px 0 0;padding:0}.confirm-rollout-label span{color:#5f430c;font-size:14px;font-weight:500}.confirm-rollout.invalid .confirm-rollout-label{border-color:var(--danger)}.badge.warning-on{color:#7a5410;background:#fff4d6}.heading-optional{color:var(--muted);font-size:12px;font-weight:500}.rule-hint{gap:1px;display:grid}.ads-form .rule-hint .hint-effect{color:var(--ink);font-weight:600}#app-control-save-status{color:var(--muted);font-size:13px}#app-control-save-status[data-unsaved=true]{color:var(--primary);font-weight:650}.ads-form.notifications-page{gap:12px;padding-bottom:24px;display:grid}.notification-settings-row{border:0;grid-template-columns:minmax(0,1fr) minmax(0,220px) auto;align-items:end;gap:12px;min-inline-size:0;margin:0;padding:0;display:grid}.notification-settings-row .button{min-height:46px}.notification-settings .ads-note{margin-top:12px}.compose-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:22px;display:grid}.compose-fields{gap:16px;min-width:0;display:grid}.compose-fields .two-fields{margin:0}.compose-fields fieldset.field{border:0;min-inline-size:0;padding:0}.compose-fields legend{color:var(--ink);margin-bottom:7px;padding:0;font-size:14px;font-weight:700}.access-option .admin-icon{width:18px;height:18px}.choice-row{flex-wrap:wrap;gap:8px;display:flex}.choice-pill{cursor:pointer;position:relative}.choice-pill span{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--muted);border-radius:999px;align-items:center;padding:8px 16px;font-size:14px;font-weight:600;transition:background .18s,border-color .18s,color .18s;display:inline-flex}.choice-pill input:checked+span{background:var(--primary-soft);color:var(--primary);border-color:#dc9a80}.choice-pill input:focus-visible+span{outline:3px solid var(--primary);outline-offset:3px}.choice-pill:hover span{border-color:var(--control)}.poster-picker{gap:8px;display:grid}.poster-picker .search-field input{border:1px solid var(--control);width:100%;min-height:46px;color:var(--ink);background:#fffdfb;border-radius:10px;padding:8px 12px 8px 40px;font-size:15px}.poster-results{scrollbar-width:thin;border:1px solid var(--border);background:#fffaf6;border-radius:12px;gap:2px;max-height:290px;padding:4px;display:grid;overflow-y:auto}.poster-results[aria-busy=true]:empty{min-height:60px}.poster-option{text-align:left;width:100%;min-height:54px;color:var(--ink);background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:6px 8px;display:flex}.poster-option:hover{background:#fff0e5}.poster-option[aria-selected=true]{background:var(--primary-soft);box-shadow:inset 0 0 0 1px #f2c9b2}.poster-option .thumbnail,.poster-picked .thumbnail{width:36px;height:44px}.poster-option-text{flex:1;gap:1px;min-width:0;display:grid}.poster-option-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:650;overflow:hidden}.poster-option-text small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.poster-empty{text-align:center;margin:0;padding:16px;font-size:13px}.poster-picked{background:#fff1e7;border:1px solid #e7bea7;border-radius:12px;align-items:center;gap:12px;min-width:0;padding:8px 10px;display:flex}.notification-image-picked{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.notification-image-picked img{aspect-ratio:2;object-fit:cover;border:1px solid var(--border);border-radius:10px;width:220px;max-width:100%}.char-count{font-variant-numeric:tabular-nums;align-self:flex-end;font-size:12px!important}.compose-row{flex-wrap:wrap;align-items:flex-end;gap:14px 28px;display:flex}.compose-row>.field{margin:0}.compose-expiry{min-width:150px}.compose-send-at{flex-basis:100%}.compose-send-at input{max-width:340px}.compose-preview{min-width:0;position:sticky;top:18px}.compose-preview .preview-heading h3{margin:0;font-size:15px}.phone-shade{background:linear-gradient(160deg,#3b2c27,#1d1613);border-radius:24px;gap:10px;padding:14px 12px;display:grid}.np-label{color:#ffffffb8;letter-spacing:.02em;margin:2px 4px -4px;font-size:11px;font-weight:650;display:block}.np-card{color:#1f1b19;background:#fbf8f6;border-radius:18px;min-width:0;padding:11px 13px;font-family:Roboto,Noto Sans,Noto Sans Devanagari,Poppins,system-ui,sans-serif;box-shadow:0 2px 8px #0003}.np-card.collapsed{align-items:flex-start;gap:10px;display:flex}.np-main{flex:1;gap:1px;min-width:0;display:grid}.np-card.expanded{gap:1px;display:grid}.np-app{color:#6b5f59;align-items:center;gap:5px;font-size:11px;line-height:1.5;display:flex}.np-icon{color:#fff;background:#aa2a12;border-radius:50%;flex:none;place-items:center;width:16px;height:16px;display:grid}.np-icon .admin-icon{width:10px;height:10px}.np-title{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;line-height:1.4;display:block;overflow:hidden}.np-body{color:#4a403b;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.45;display:block;overflow:hidden}.np-card.expanded .np-body{white-space:normal;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box}.np-card.expanded:has(.np-picture) .np-body{-webkit-line-clamp:1}.np-thumb{background:#2b201c;border-radius:8px;flex:none;width:42px;height:42px;overflow:hidden}.np-thumb img{object-fit:cover;width:100%;height:100%;display:block}.np-picture{aspect-ratio:2;background:#2b201c;border-radius:12px;margin-top:8px;display:block;position:relative;overflow:hidden}.np-picture img{width:100%;height:100%;position:absolute;inset:0}.np-bg{object-fit:cover;filter:blur(12px)brightness(.55);transform:scale(1.2)}.np-fg{object-fit:contain;width:95.4%!important;height:94%!important;inset:3% 2.3%!important}.np-fg.cover{object-fit:cover;width:100%!important;height:100%!important;inset:0!important}.preview-opens{color:var(--ink);overflow-wrap:anywhere;margin:10px 2px 3px;font-size:13px;font-weight:600;line-height:1.5}.preview-footnote{color:var(--muted);font-size:12px;line-height:1.5;display:block}.compose-actions{border-top:1px solid var(--border);grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.compose-buttons{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}#compose-status{color:var(--muted);font-size:13px}.list-meta:has(#history-meta:empty){display:none}.notification-table th.status-col{width:170px}.notification-table th.audience-col{width:130px}.notification-table th.opens-col{width:90px}.notification-table th.updated-col{width:170px}.notification-table th.actions-col{width:250px}.notification-table .row-actions .button{white-space:nowrap}.notification-thumb{object-fit:cover;border-radius:6px;width:64px;height:32px}.updated-cell .admin-icon{width:15px;height:15px;color:var(--muted);margin:-2px 4px 0 0}.badge.notification-sent{color:#17633a;background:#e8f4ed}.badge.notification-scheduled{color:#2f5b80;background:#eaf1f8}.badge.notification-sending,.badge.notification-partly_sent{color:#7a5410;background:#fff4d6}.badge.notification-failed{color:#9a1d13;background:#fdeceb}@media (max-width:1100px){.compose-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}}@media (max-width:1000px){.compose-grid{grid-template-columns:minmax(0,1fr)}.compose-preview{width:100%;max-width:380px;margin:0 auto;position:static}.compose-actions{grid-column:auto}}@media (max-width:760px){.notification-settings-row{grid-template-columns:minmax(0,1fr)}.notification-settings-row .button{width:100%}.compose-actions{flex-direction:column;align-items:stretch}.compose-buttons{grid-template-columns:1fr 1fr;display:grid}.compose-buttons .button{min-width:0;padding:7px 8px}.choice-pill span{padding:8px 13px}.poster-results{max-height:240px}.content-table td.audience-col,.content-table td.opens-col{color:var(--muted);font-size:13px}}@media (max-width:480px){.compose-buttons{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.choice-pill span{transition:none}}@media (forced-colors:active){.choice-pill input:checked+span{outline:2px solid highlight}}.how-to-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:22px;display:grid}.how-to-fields{gap:16px;min-width:0;display:grid}.how-to-fields .ads-section,.how-to-form .access-choice,.how-to-form .field[data-source]{margin:0}.how-to-file{border:1px solid var(--border);background:#fffaf6;border-radius:12px;gap:8px;padding:12px;display:grid}.how-to-file-main{align-items:center;gap:12px;min-width:0;display:flex}.how-to-file-main>div{min-width:0}.how-to-file-icon{background:var(--primary-soft);width:40px;height:40px;color:var(--primary);border-radius:10px;flex:none;place-items:center;display:grid}.how-to-file strong{color:var(--ink);overflow-wrap:anywhere;font-size:14px;display:block}.how-to-file-main span:not(.how-to-file-icon){color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px;display:block}.how-to-warning{color:#8a5a12;align-items:flex-start;gap:8px;margin:0;font-size:13px;font-weight:600;line-height:1.5;display:flex}.how-to-warning .admin-icon{width:18px;height:18px;margin-top:1px}.how-to-progress{border:1px solid var(--border);background:#fffaf6;border-radius:12px;gap:10px;padding:12px;display:grid}.how-to-progress-row{color:var(--ink);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:12px;font-size:14px;font-weight:600;display:flex}.how-to-progress progress{width:100%;height:8px;accent-color:var(--primary)}.how-to-link-row{align-items:stretch;gap:8px;display:flex}.how-to-link-row input{min-width:0;height:46px;color:var(--ink);background:#fffdfb;flex:1}.how-to-link-row .button{flex:none;min-height:46px}.how-to-form .field[data-source=link]>small{line-height:1.5}.how-to-cover{flex-direction:row;align-items:flex-start;gap:16px;margin:0;display:flex}.how-to-cover-thumb{aspect-ratio:16/10;border:1px solid var(--border);background:#191311;border-radius:12px;flex:none;width:176px;overflow:hidden}.how-to-cover-thumb img{object-fit:cover;width:100%;height:100%;display:block}.how-to-cover-thumb.empty{background:linear-gradient(135deg,#c43e19,#a82a12);place-items:center;display:grid}.how-to-cover-auto{color:#fff;background:#ffffff38;border:1px solid #ffffff73;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.how-to-cover-auto .admin-icon{fill:currentColor;width:18px;height:18px;margin-left:2px}.how-to-cover-side{gap:12px;min-width:0;display:grid}.how-to-cover-side .ads-note{margin:0}.how-to-cover-size{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.how-to-cover-size strong{color:var(--ink);font-variant-numeric:tabular-nums}.how-to-buttons{flex-wrap:wrap;gap:8px;display:flex}.how-to-file-button{cursor:pointer}.how-to-file-button input[type=file]{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.how-to-file-button:focus-within{outline:3px solid var(--primary);outline-offset:3px}.how-to-preview{min-width:0;position:sticky;top:18px}.how-to-preview .preview-heading h3{margin:0;font-size:15px}.how-to-phone{border:1px solid var(--border);background:#fff8f5;border-radius:26px;gap:12px;padding:12px 12px 14px;display:grid;box-shadow:0 10px 30px #60270c14}.how-to-phone-bar{color:#271a15;letter-spacing:-.2px;border-bottom:1px solid #e9d7cb99;align-items:center;gap:10px;padding:2px 4px 8px;font-family:Manrope,Poppins,sans-serif;font-size:16px;font-weight:700;display:flex}.how-to-phone-bar .admin-icon{width:18px;height:18px}.how-to-card-frame{background:#fffcfa;border:1px solid #e9d7cb;border-radius:22px;padding:6px;transition:opacity .2s,filter .2s;box-shadow:0 6px 18px #aa2a1214}.how-to-card-frame.off{opacity:.55;filter:grayscale(.5)}.how-to-card{aspect-ratio:16/10;background:linear-gradient(135deg,#c43e19,#a82a12);border-radius:18px;display:block;position:relative;overflow:hidden}.how-to-card-image{object-fit:cover;object-position:50% 50%;width:100%;height:100%;display:block;position:absolute;inset:0}.how-to-card-play{color:#fff;background:#00000061;border:1.5px solid #ffffffb8;border-radius:50%;place-items:center;width:56px;height:56px;margin:-28px 0 0 -28px;display:grid;position:absolute;top:50%;left:50%;box-shadow:0 6px 18px #00000040}.how-to-card-play .admin-icon{fill:currentColor;width:22px;height:22px;margin-left:3px}.how-to-card-caption{color:#271a15;align-items:center;gap:10px;padding:10px 8px 4px;display:flex}.how-to-card-caption strong{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-family:Manrope,Poppins,sans-serif;font-size:15px;font-weight:700;line-height:1.35;overflow:hidden}.how-to-card-caption strong:lang(hi){font-family:Poppins,sans-serif;font-weight:600}.how-to-card-time{color:#7a6157;font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:4px;font-size:12px;font-weight:600;display:flex}.how-to-card-time[hidden]{display:none}.how-to-card-time .admin-icon{color:#aa2a12;width:14px;height:14px}.how-to-card-empty{border:1px dashed var(--border);text-align:center;border-radius:14px;margin:0;padding:12px;font-size:13px;line-height:1.5}.how-to-steps-mock{background:#fffcfa;border:1px solid #e9d7cb;border-radius:18px;gap:8px;margin:0;padding:12px;list-style:none;display:grid}.how-to-steps-mock li{align-items:center;gap:10px;min-width:0;display:flex}.how-to-steps-mock span{background:var(--primary-soft);color:#aa2a12;border-radius:8px;flex:none;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.how-to-steps-mock strong{color:#271a15;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.how-to-player-title{margin:18px 0 8px;font-size:15px}.how-to-player-wrap{background:#191311;border-radius:14px;overflow:hidden}.how-to-player-wrap video{background:#000;width:100%;max-height:420px;display:block}.how-to-player-empty{text-align:center;color:#d1b9ad;margin:0;padding:28px 16px;font-size:13px}.how-to-preview .preview-footnote{margin-top:8px}#how-to-save-status{color:var(--muted);font-size:13px}#how-to-save-status[data-unsaved=true]{color:var(--primary);font-weight:650}@media (max-width:1100px){.how-to-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}}@media (max-width:1000px){.how-to-grid{grid-template-columns:minmax(0,1fr)}.how-to-preview{width:100%;max-width:380px;margin:0 auto;position:static}}@media (max-width:560px){.how-to-link-row{flex-direction:column}.how-to-link-row .button{width:100%}.how-to-cover{flex-direction:column}.how-to-cover-thumb{width:100%;max-width:320px}.how-to-buttons{grid-template-columns:minmax(0,1fr);display:grid}.how-to-buttons .button{width:100%}}@media (prefers-reduced-motion:reduce){.how-to-card-frame{transition:none}}@media (forced-colors:active){.how-to-card-play,.how-to-cover-auto{border-color:canvastext}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}