:root{--ink:#181b33;--muted:#84889c;--line:#e9eaf2;--surface:#fff;--bg:#f7f8fc;--primary:#6b53e4;--primary-dark:#4934c5;--shadow:0 10px 35px rgba(31,37,89,.045);--radius:18px;--accent:#7158e7;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-size:14px;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #aa9afa;outline-offset:2px}input,textarea,select{width:100%;border:1px solid #dee0ea;background:#fff;border-radius:10px;color:#20243e;padding:11px 13px;transition:border-color .2s,box-shadow .2s;min-height:45px}input:hover,textarea:hover,select:hover{border-color:#b6b7d1}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px rgba(113,88,231,.12)}input[type=color]{width:50px;height:42px;min-height:0;padding:3px;border-radius:10px;cursor:pointer}input[type=checkbox],input[type=radio]{width:17px;height:17px;min-height:0;accent-color:var(--accent);flex:none}input[type=file]{padding:10px;min-height:0;font-size:12px}textarea{resize:vertical}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8'%3E%3Cpath d='m1 1 5.5 5L12 1' fill='none' stroke='%238387a0' stroke-width='1.7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:36px}p,h1,h2,h3{margin-top:0}p{color:var(--muted)}h1,h2,h3{line-height:1.25}h1{letter-spacing:-.045em}h2{letter-spacing:-.028em}small{font-size:12px}strong{font-weight:700}.muted-small{font-size:13px;color:var(--muted);margin:8px 0}.nowrap{white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:11px;padding:12px 17px;font-size:13px;font-weight:750;line-height:1.3;white-space:nowrap;transition:transform .2s,box-shadow .2s,background .2s;min-height:44px;background:#fff;color:#303353}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#775de9,#5843d2);color:#fff;box-shadow:0 7px 17px rgba(107,83,228,.17)}.btn-primary:hover{box-shadow:0 10px 23px rgba(107,83,228,.25)}.btn-accent{background:var(--accent);color:#fff;box-shadow:0 12px 24px color-mix(in srgb,var(--accent) 18%,transparent)}.btn-accent:hover{filter:brightness(.96)}.btn-ghost{background:transparent;color:#656a83}.btn-ghost:hover{background:#f5f4fb}.btn-outline{border:1px solid #dedfed;background:#fff;color:#4e526d}.btn-outline:hover{border-color:#bab0ed;background:#f9f7ff}.btn-danger{background:#ee546a;color:#fff}.btn-danger-ghost{background:#fff0f2;color:#d24a63}.btn-danger-ghost:hover{background:#ffe6ea}.btn-full{width:100%}.btn-sm{padding:8px 12px;min-height:37px;font-size:12px}.btn-xs{padding:6px 10px;min-height:32px;border-radius:8px;font-size:11px}.inline-form{display:inline}.eyebrow{font-weight:820;font-size:10px;letter-spacing:.15em;color:#7860da;text-transform:uppercase}.notice{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:13px 15px;border-radius:11px;margin:0 0 18px;font-size:13px;line-height:1.55}.notice-success{background:#eaf8f0;color:#247e55;border:1px solid #c4edda}.notice-error{background:#fff0f2;color:#bb3859;border:1px solid #ffd4dd}.notice-dismiss{font-size:22px;line-height:1;border:0;background:transparent;color:inherit;padding:0 2px}.form-group{margin-bottom:19px}.field-label{display:block;font-size:12px;font-weight:750;margin:0 0 8px;color:#343750}.field-label small{color:#9999ad;font-weight:400}.required{color:#fa5e77}.field-hint{display:block;margin-top:6px;color:#9699ab;font-size:11px}.field-hint a{color:var(--primary);font-weight:700}.form-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid-2>.form-group{margin-bottom:14px}.checkbox-line{display:flex;align-items:flex-start;gap:10px;color:#5f637a;font-size:12px;line-height:1.55;cursor:pointer}.checkbox-line input{margin-top:2px}.soft-divider{border:0;border-top:1px solid var(--line);margin:23px 0}.input-static{padding:11px;background:#f8f8fb;border-radius:10px;color:#5e6179}.option-list{display:flex;flex-direction:column;gap:10px}.option{display:flex;align-items:center;gap:10px;font-size:13px;color:#51536b;border:1px solid var(--line);padding:10px 12px;border-radius:10px;cursor:pointer;transition:border-color .2s,background .2s}.option:hover{background:#f8f7ff;border-color:#c3bbef}.option input{margin:0}.color-field{display:flex;align-items:center;gap:12px;color:#7e8196;font-size:11px}
/* Admin application */
.admin-body{background:var(--bg)}.admin-shell{min-height:100vh;display:flex}.sidebar{width:254px;flex:none;background:#111636;color:#d8daef;display:flex;flex-direction:column;min-height:100vh;position:fixed;top:0;bottom:0;left:0;z-index:30;padding:28px 16px 18px;overflow-y:auto}.brand{display:inline-flex;align-items:center;gap:10px;color:inherit}.brand svg{flex:none}.brand>span{display:flex;flex-direction:column;gap:0}.brand strong{font-size:19px;line-height:1.2;letter-spacing:-.055em}.brand small{font-size:10px;color:#858aac;letter-spacing:.035em}.sidebar>.brand{padding:0 16px;margin-bottom:50px;color:#a497ff}.sidebar>.brand strong{color:#fff}.sidebar-nav{display:flex;flex-direction:column;gap:5px}.nav-section{color:#777d9f;font-size:9px;font-weight:850;letter-spacing:.16em;margin:0 0 13px;padding:0 15px}.settings-label{margin-top:28px}.nav-link{min-height:43px;display:flex;gap:13px;align-items:center;padding:11px 15px;border-radius:10px;color:#aeb3d1;font-size:12.5px;font-weight:650;transition:background .2s,color .2s}.nav-link:hover{background:#22294e;color:#fff}.nav-link.is-active{background:linear-gradient(90deg,#7154df,#5f49c8);box-shadow:0 7px 24px rgba(91,70,194,.18);color:#fff}.nav-icon{font-size:20px;line-height:1;min-width:20px;text-align:center;font-weight:500}.sidebar-bottom{margin-top:auto;border-top:1px solid #292e50;padding:22px 13px 0}.sidebar-version{font-size:11px;color:#9298bf;margin-bottom:18px;display:flex;gap:8px;align-items:center}.status-dot,.live-dot{display:inline-block;border-radius:50%;background:#49c99a;width:8px;height:8px;box-shadow:0 0 0 4px rgba(73,201,154,.1)}.side-profile{display:flex;align-items:center;gap:10px}.side-profile strong{display:block;color:#f8f7ff;font-size:12px}.side-profile small{display:block;color:#8c92b5}.avatar{display:grid;place-items:center;background:#eeeafd;color:#7157df;border-radius:12px;width:39px;height:39px;flex:none;font-weight:850;font-size:15px}.side-profile .avatar{background:#32385f;color:#fff}.side-logout{display:flex;width:100%;justify-content:space-between;align-items:center;background:none;border:0;color:#abb0d0;font-size:12px;margin-top:19px;padding:8px 2px}.side-logout:hover{color:#fff}.admin-content{margin-left:254px;min-width:0;flex:1;display:flex;flex-direction:column;min-height:100vh}.topbar{height:76px;flex:none;background:#fff;border-bottom:1px solid #eff0f5;display:flex;align-items:center;justify-content:space-between;padding:0 37px}.breadcrumb{font-size:12px;color:#9194a5}.breadcrumb span{margin:0 7px;color:#c6c8d7}.top-right{display:flex;align-items:center;gap:18px}.top-date{color:#8b8ea4;font-size:12px}.top-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#ebe7ff;color:#6850d5;font-weight:800}.mobile-menu{display:none;background:transparent;border:0;color:#1e2546;font-size:23px}.main-panel{width:100%;max-width:1620px;padding:35px 37px 54px;margin:0 auto;flex:1}.admin-footer{text-align:center;color:#a2a5b6;font-size:11px;padding:18px 20px 23px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:29px}.page-heading .eyebrow{margin-bottom:9px}.page-heading h1{font-size:29px;font-weight:800;letter-spacing:-.055em;margin:0 0 8px}.page-heading p{font-size:13px;color:#9597a9;margin:0}.heading-actions{display:flex;gap:9px}.surface{background:var(--surface);border:1px solid #ececf3;border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;min-width:0}.surface h2{font-size:16px;font-weight:800;margin:0 0 5px}.surface h3{font-size:14px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.section-top p{font-size:12px;color:#9da0b1;margin:0}.text-link{font-size:12px;color:#7259de;font-weight:750;white-space:nowrap}.text-link:hover{text-decoration:underline}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:20px}.metric-card{border:1px solid #ececf4;background:#fff;box-shadow:var(--shadow);padding:21px 22px;border-radius:17px;min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#83879e;font-size:12px;font-weight:600}.metric-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#f0edff;color:#7457dc;font-size:20px}.metric-value{font-size:31px;font-weight:850;letter-spacing:-.04em;margin:12px 0 3px;color:#21243c;line-height:1.15}.metric-note{font-size:11px;color:#a2a5b5}.panel-grid-two{display:grid;grid-template-columns:1.28fr 1fr;gap:20px}.panel-bottom{margin-top:20px}.chart-legend{display:flex;gap:19px;justify-content:flex-end;font-size:10.5px;color:#7e8398;margin-bottom:4px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{height:9px;width:9px;border-radius:3px}.legend-purple{background:#7459e7}.legend-orange{background:#fead74}.bar-chart{height:210px;display:flex;gap:7px;align-items:end;justify-content:space-between;padding-top:23px;border-bottom:1px solid var(--line);position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#f0f0f6 calc(25% - 1px),#f0f0f6 25%);background-size:100% 170px;background-position:center 0;background-repeat:no-repeat}.chart-day{flex:1;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.chart-bars{width:100%;max-width:33px;height:calc(100% - 30px);display:flex;align-items:end;gap:3px;justify-content:center}.chart-bar{width:40%;max-width:13px;border-radius:4px 4px 0 0;min-height:1px}.chart-view{background:linear-gradient(180deg,#957fff,#6651d8)}.chart-submit{background:#ffb176}.chart-day>span{font-size:9px;color:#a0a3b5;white-space:nowrap;height:27px;margin-top:7px}.funnel-list{display:flex;flex-direction:column;gap:16px}.funnel-row>div:first-child{display:flex;justify-content:space-between;margin-bottom:7px;font-size:12px}.funnel-row span{color:#83879a}.funnel-row strong{font-size:12px}.funnel-track{height:9px;background:#f1f0f9;border-radius:10px;overflow:hidden}.funnel-track span{display:block;height:100%;border-radius:10px}.funnel-v{background:#7155e2}.funnel-s{background:#9984f0}.funnel-f{background:#61c5bf}.funnel-d{background:#ffab76}.funnel-tip{background:#f9f7ff;margin-top:21px;border-radius:10px;padding:12px;font-size:11px;color:#746bb5;display:flex;gap:9px}.funnel-tip span{color:#8b70e4;font-size:16px}.compact-list{display:flex;flex-direction:column}.compact-item{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f0f6;min-width:0}.compact-item:last-child{border:0}.compact-item:hover .list-info strong{color:#7056d7}.list-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;background:#f1eeff;border-radius:10px;color:#765fe0;font-size:19px}.small-avatar{font-size:12px;border-radius:50%}.list-info{flex:1;min-width:0}.list-info strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;transition:color .2s}.list-info small{display:block;color:#a1a2b2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;margin-top:3px}.compact-arrow{color:#b1afc5}.pill{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:99px;padding:5px 10px;font-size:10px;font-weight:780}.pill:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.pill-green{color:#27966d;background:#e8f8f0}.pill-yellow{color:#b88422;background:#fff5df}.pill-gray{color:#888ba0;background:#f0f1f6}.empty-state{text-align:center;padding:42px 16px;color:#8489a5}.empty-state h3{color:#353956;font-size:15px;margin:5px 0 6px}.empty-state p{margin:0 auto 16px;max-width:360px;font-size:12px}.empty-illustration{font-size:40px;color:#b4a8ec}
.table-surface{padding:0;overflow:hidden}.table-surface>.section-top{padding:25px 25px 5px;margin-bottom:16px}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px;min-width:790px}.data-table thead{background:#f9f9fd}.data-table th{text-align:left;color:#9196a9;font-weight:800;font-size:10px;letter-spacing:.035em;padding:14px 20px;white-space:nowrap}.data-table td{padding:17px 20px;border-top:1px solid #f0f0f4;vertical-align:middle;color:#686e84}.data-table tr:hover td{background:#fcfbff}.table-title{color:#2c3049;font-weight:790;font-size:12px}.table-title:hover{color:#6c55da}.table-muted{font-size:11px;color:#a0a4b5;margin-top:4px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}.filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:0 24px 22px}.filter-row input,.filter-row select{height:40px;min-height:40px;font-size:12px}.filter-row select{width:auto;min-width:190px}.filter-row .btn{min-height:40px}.search-control{position:relative;flex:1;min-width:220px}.search-control input{padding-left:37px}.search-control span{position:absolute;left:14px;top:7px;color:#9598ae;font-size:20px}.inline-info{background:#f4f2ff;border-radius:10px;padding:13px 15px;color:#7268a2;font-size:11.5px;line-height:1.6;margin:13px 0}.table-surface>.inline-info{margin:0 24px 20px}.inline-info a{font-weight:800;text-decoration:underline}.pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;color:#868ba3;font-size:12px}.pagination>div{display:flex;gap:8px}.share-panel{display:flex;gap:22px;justify-content:space-between;background:#efecff;border:1px solid #e0dafa;border-radius:16px;padding:22px;margin-bottom:20px}.share-panel strong{color:#433a8a;font-size:14px}.share-panel p{color:#8278ad;font-size:12px;margin:5px 0 0}.share-tools{width:min(100%,470px)}.copy-field{display:flex;align-items:center;gap:8px}.copy-field input,.copy-field textarea{background:#fff;font-size:12px;min-width:0}.copy-field .btn{flex:none}.share-panel details{margin-top:10px}.share-panel summary{font-size:11px;color:#6e5ec5;cursor:pointer}.share-panel textarea{margin-top:8px}.editor-columns{display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:20px;align-items:start}.editor-main{display:flex;flex-direction:column;gap:20px;min-width:0}.editor-side{min-width:0}.editor-section{padding:27px}.editor-section h2{font-size:16px;margin-bottom:20px}.editor-section .section-description{font-size:12px;margin:-8px 0 20px;line-height:1.65}.section-number{font-size:10px;font-weight:850;letter-spacing:.02em;color:#765fe0;margin-bottom:12px}.section-number span{color:#9c99bd;margin-left:7px;letter-spacing:.15em;font-size:9px}.sticky-card{position:sticky;top:20px}.editor-section .section-top{margin-bottom:19px}.editor-section .section-top h2{margin-bottom:5px}.editor-section .section-top button{white-space:normal}.builder-card{border:1px solid #e9e7f3;border-radius:14px;margin:0 0 13px;overflow:hidden;background:#fff}.builder-card-head{display:flex;align-items:center;gap:12px;padding:14px 15px;background:#faf9ff;border-bottom:1px solid #edeaf8}.builder-number{background:#eee9ff;color:#795fda;font-weight:850;font-size:11px;padding:7px;border-radius:8px}.builder-card-head>div:nth-child(2){flex:1;min-width:0}.builder-card-head strong{display:block;font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-card-head small{display:block;color:#a0a0b5;font-size:10px}.builder-controls{display:flex;gap:3px}.builder-controls button{border:1px solid #e3e2ee;background:#fff;color:#71758e;width:28px;height:28px;border-radius:7px;font-weight:800}.builder-controls button:hover:not(:disabled){background:#eeeafb}.builder-controls button:disabled{opacity:.35}.builder-controls .remove-field{color:#df6178}.builder-body{padding:19px 16px 7px}.builder-body .field-label{font-size:11px}.builder-body input,.builder-body textarea,.builder-body select{font-size:12px;min-height:41px;padding:9px 11px}.builder-required{padding-bottom:11px}.builder-hint{background:#f9f7ff;color:#8378b4;font-size:11px;border-radius:9px;padding:12px;margin-top:7px}.toggle-setting{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.toggle-setting input{margin-top:4px}.toggle-setting strong{display:block;color:#3d4160;font-size:12px}.toggle-setting small{display:block;color:#9b9dae;line-height:1.5;margin-top:3px}.security-hint{border:1px solid #eee8ff;background:#f8f6ff;color:#796bb7;padding:13px;border-radius:9px;font-size:11px;line-height:1.6;margin:20px 0}.sticky-card>.btn{margin:8px 0 0}.detail-info{display:flex;flex-direction:column;gap:14px}.detail-info>div{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #f1f0f6;padding-bottom:12px}.detail-info>div:last-child{border-bottom:0}.detail-info span{color:#9194a8;font-size:11px}.detail-info strong{font-size:11px;text-align:right;max-width:180px;overflow-wrap:anywhere}.grant-list{margin-top:12px}.grant-item{padding:10px 0;border-bottom:1px solid #f0f0f5}.grant-item strong{display:block;font-size:11px}.grant-item small{color:#969aaf}.ebook-list{padding:0 24px 16px}.ebook-row{display:flex;align-items:flex-start;gap:13px;padding:19px 0;border-top:1px solid #f0f0f6}.ebook-file-icon{display:grid;place-items:center;width:51px;height:60px;flex:none;background:#f0ebff;border:1px solid #e5dfff;border-radius:9px;color:#6e54d8;font-weight:900;font-size:11px}.ebook-meta{flex:1;min-width:0}.ebook-meta h3{font-size:13px;margin:0 0 5px}.ebook-meta p{font-size:11px;margin:0 0 9px;overflow-wrap:anywhere}.ebook-details{margin-top:13px}.ebook-details summary{color:#735cd6;font-size:11px;cursor:pointer}.ebook-details form{margin-top:9px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.ebook-details form input[name=title]{max-width:250px}.ebook-details label{font-size:11px}.ebook-operations{flex:none}.upload-area{border:1.5px dashed #bdb4ef;background:#faf9ff;border-radius:13px;padding:24px 14px;text-align:center;position:relative;margin-bottom:16px}.upload-area strong{display:block;color:#444567;font-size:12px;overflow-wrap:anywhere}.upload-area small{color:#a1a1b7;display:block;margin:5px 0 14px}.upload-art{font-size:33px;color:#7d62e1}.upload-area input[type=file]{width:100%;font-size:11px;background:#fff}.upload-area:has(input:focus){outline:3px solid #c1b2fb}.source-list{display:flex;flex-direction:column;gap:19px}.source-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:8px}.source-row strong{font-size:12px}.source-progress{background:#f2f0fa;border-radius:99px;height:8px;overflow:hidden}.source-progress>span{display:block;background:#8068e4;height:100%;border-radius:99px}.filters-analytics{padding:0;margin-bottom:23px}.filters-analytics select{background:#fff}.user-list{padding:0 24px 15px}.user-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #f0f0f5;flex-wrap:wrap}.user-row:last-child{border:0}.user-details{min-width:150px;flex:1}.user-details strong{display:block;font-size:12px}.user-details small{color:#a2a4b5;font-size:11px}.user-edit-form{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.user-edit-form input{width:130px;min-height:34px;padding:5px 8px;font-size:11px}.user-edit-form select{width:90px;min-height:34px;padding:5px 20px 5px 8px;font-size:11px;background-position:right 8px center}.password-panel{margin-top:20px;max-width:calc(100% - 348px)}.version-hero{display:flex;align-items:center;gap:17px;border:1px solid #e0daf9;background:linear-gradient(115deg,#faf9ff,#f0ecff);padding:23px 26px;border-radius:16px;margin-bottom:20px}.version-icon{display:grid;place-items:center;flex:none;width:64px;height:64px;border-radius:15px;background:#7459dc;color:#fff;font-size:37px}.version-hero h2{font-size:20px;margin:4px 0}.version-hero p{font-size:12px;margin:0}.version-hero>.pill{margin-left:auto}.update-ready{color:#26875c;background:#eaf9f0;padding:10px 12px;border-radius:9px;font-size:12px;margin-bottom:16px}.button-stack{display:grid;gap:10px}.check-steps{display:grid;gap:12px}.check-steps>div{display:flex;gap:10px;color:#727691;font-size:12px}.check-steps b{color:#29b681}.button-stack form{display:block}.button-stack .btn{width:100%}
/* custom confirmation dialogs */
.modal{padding:0;border:0;max-width:min(95vw,430px);border-radius:20px;box-shadow:0 35px 100px rgba(14,17,52,.26);background:#fff;color:var(--ink)}.modal::backdrop{background:rgba(16,19,49,.58);backdrop-filter:blur(5px)}.modal-card{padding:31px}.modal-card h3{font-size:19px;margin:13px 0 8px}.modal-card p{font-size:13px;color:#9091a5;margin-bottom:24px}.modal-symbol{display:grid;place-items:center;width:53px;height:53px;background:#fff0f1;color:#e55167;font-weight:800;font-size:26px;border-radius:15px}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.modal-actions form{display:inline}
/* Public campaign theme */
.public-body{background:#f8f8fc;min-height:100vh}.site-header{max-width:1250px;margin:auto;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px}.public-brand{color:#765be3}.public-brand strong{color:#252943;font-size:18px}.public-brand small{color:#a0a1b4}.header-secure{background:#fff;color:#74798e;border-radius:99px;padding:8px 14px;font-size:11px;font-weight:700;border:1px solid #e9eaf1}.small-admin-link{font-size:12px;color:#8f91a7;font-weight:700}.small-admin-link:hover{color:#6d54d8}.public-footer{text-align:center;padding:25px 20px;color:#a5a6b7;font-size:11px}.form-stage{max-width:1240px;margin:6px auto 50px;padding:0 24px}.form-layout{display:grid;grid-template-columns:minmax(0, .98fr) minmax(0,1.02fr);background:#fff;border-radius:25px;box-shadow:0 30px 90px rgba(61,59,121,.09);overflow:hidden;min-height:600px}.form-hero{display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(155deg,#2c2766 0%,#5744a9 63%,#7b60de 100%);color:#fff;padding:60px 57px 30px;position:relative;overflow:hidden;isolation:isolate}.form-hero:before{content:'';position:absolute;z-index:-1;width:400px;height:400px;border:1px solid rgba(255,255,255,.1);border-radius:50%;top:-180px;right:-180px;box-shadow:0 0 0 90px rgba(255,255,255,.025),0 0 0 180px rgba(255,255,255,.018)}.form-hero:after{content:'';position:absolute;z-index:-1;width:420px;height:420px;bottom:-330px;left:-170px;background:#a390ff;filter:blur(85px);opacity:.36;border-radius:50%}.theme-sunset .form-hero{background:linear-gradient(145deg,#452c62,#ad557d,#ff9878)}.theme-ocean .form-hero{background:linear-gradient(145deg,#143d67,#2478a8,#56c8d4)}.theme-minimal .form-hero{background:linear-gradient(145deg,#161d34,#29314e,#404867)}.hero-kicker{font-size:11px;letter-spacing:.17em;font-weight:850;color:#ddd5ff}.hero-kicker span{color:#f3bd82;font-size:19px;vertical-align:middle;margin-right:5px}.hero-book{align-self:center;display:grid;place-items:center;width:220px;height:250px;margin:37px 0 38px;position:relative;perspective:600px}.hero-book:before{content:'';position:absolute;width:216px;height:37px;bottom:0;background:#110b40;border-radius:50%;filter:blur(17px);opacity:.4}.hero-book-inner{height:219px;width:160px;border-radius:7px 14px 14px 7px;transform:rotate(-9deg);background:linear-gradient(120deg,#eee7ff,#fff);box-shadow:inset 11px 0 13px rgba(118,87,200,.2), 14px 15px 22px rgba(12,7,56,.32);border-left:8px solid #e0d5ff;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:23px;color:#6c53d8;position:relative}.hero-book-inner:after{content:'';position:absolute;height:89%;width:6px;top:5%;right:-7px;background:#c5baff;border-radius:0 5px 5px 0}.hero-book-inner>svg{width:44px;height:44px}.hero-book-inner>span{font-size:19px;font-weight:900;letter-spacing:-.06em;line-height:1.07}.hero-book-inner>small{font-size:10px;letter-spacing:.08em;font-weight:800;color:#ac9adb}.form-hero h1{font-size:clamp(26px,2.8vw,39px);line-height:1.14;letter-spacing:-.05em;margin:0 0 15px;max-width:440px;color:#fff}.form-hero>p{font-size:14px;color:#d8d0f9;line-height:1.8;max-width:440px;margin-bottom:23px}.hero-benefits{display:flex;flex-direction:column;gap:9px;margin-top:2px;color:#e2dcff;font-size:12px}.hero-benefits span{display:inline-grid;place-items:center;width:21px;height:21px;background:rgba(255,255,255,.16);border-radius:50%;color:#fff;margin-right:7px}.hero-note{font-size:10px;color:#c6bdf4;line-height:1.6;margin-top:auto;padding-top:40px}.form-card{padding:54px clamp(27px,4vw,68px) 42px;min-width:0}.form-card-eyebrow{font-size:10px;font-weight:900;letter-spacing:.16em;color:var(--accent);margin-bottom:12px}.form-card h2{font-size:27px;margin-bottom:10px;letter-spacing:-.05em}.form-card-intro{font-size:13px;line-height:1.8;color:#9699ae;margin-bottom:22px}.form-description{border-left:3px solid var(--accent);color:#6f718c;background:#faf9ff;padding:10px 13px;font-size:12px;border-radius:0 8px 8px 0;margin-bottom:20px}.lead-form>.form-group{margin-bottom:20px}.lead-form input,.lead-form textarea,.lead-form select{background:#fff;border:1px solid #e4e4ed;border-radius:10px;min-height:47px;font-size:13px}.lead-form .form-group input:focus,.lead-form .form-group textarea:focus{border-color:var(--accent)}.lead-form .field-label{font-size:12px;color:#40445d;margin-bottom:8px}.lead-form .submit-lead{display:flex;justify-content:space-between;padding:15px 18px;margin-top:30px;min-height:52px;font-size:13px}.lead-form .submit-lead span:last-child{font-size:22px;line-height:1}.lead-form .submit-lead.is-loading{opacity:.6}.privacy-assurance{display:flex;gap:10px;align-items:flex-start;margin-top:20px;color:#9e9cbb}.privacy-assurance>span{font-size:20px;color:#8c80c9;line-height:1}.privacy-assurance p{font-size:10.5px;line-height:1.7;margin:0}.lead-form .checkbox-line{padding:12px 13px;background:#faf9ff;border-radius:9px;border:1px solid #eeeafa;font-size:12px}.public-field[hidden]{display:none!important}.honeypot{position:absolute!important;top:-99999px!important;left:-99999px!important;height:0!important;overflow:hidden!important}.embed-body .form-stage{padding:0;margin:0}.embed-body .form-layout{border-radius:0;box-shadow:none;min-height:100vh}
/* Landing resources */
.public-home{background:linear-gradient(170deg,#f4f1ff 0,#fff 49%,#faf9ff 100%)}.home-wrap{max-width:1150px;margin:0 auto;padding:78px 30px 80px}.home-eyebrow{font-size:11px;font-weight:850;letter-spacing:.14em;color:#745bdd;display:flex;gap:12px;align-items:center}.home-wrap h1{font-size:clamp(43px,6vw,76px);line-height:1.08;letter-spacing:-.066em;margin:19px 0 21px}.home-wrap h1 em{font-style:normal;color:#7459df}.home-intro{font-size:16px;color:#8689a5;max-width:520px;line-height:1.85}.resources{margin-top:83px}.resource-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.resource-heading h2{font-size:21px;margin:0}.resource-heading span{color:#a4a3ba;font-size:12px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.resource-card{display:block;overflow:hidden;border-radius:17px;background:#fff;border:1px solid #ebeaf4;box-shadow:0 13px 35px rgba(55,57,110,.04);transition:transform .22s,box-shadow .22s}.resource-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(55,57,110,.1)}.resource-art{height:180px;display:flex;align-items:center;justify-content:center;background:linear-gradient(125deg,#2f2b6e,#8568e9);position:relative;color:#fff}.resource-art.theme-sunset{background:linear-gradient(130deg,#5d376e,#ee8c78)}.resource-art.theme-ocean{background:linear-gradient(130deg,#153c6c,#46b4d2)}.resource-art.theme-minimal{background:linear-gradient(130deg,#1a2239,#525d7d)}.book-drawing{width:80px;height:92px;display:grid;place-items:center;background:#fff;color:var(--accent);border-radius:6px 11px 11px 6px;box-shadow:12px 12px 25px rgba(0,0,0,.2);transform:rotate(-10deg);border-left:7px solid #d8d2f6}.book-drawing svg{width:50px;height:50px}.resource-type{position:absolute;bottom:14px;left:18px;letter-spacing:.13em;font-size:9px;font-weight:850;color:#fff}.resource-info{padding:22px}.resource-info h3{font-size:16px;line-height:1.4;margin:0 0 8px}.resource-info p{font-size:12px;color:#9295ab;min-height:34px;margin-bottom:17px}.resource-info>span{display:flex;justify-content:space-between;color:#7357d9;font-size:12px;font-weight:750}.home-empty{text-align:center;padding:52px;border:1px dashed #d5cdf0;background:#fff;border-radius:17px}.home-empty p{font-size:12px}.home-empty h3{font-size:17px}
/* Secure claim & reader */
.claim-body{background:radial-gradient(circle at 20% 0%,#ebe5ff,transparent 45%),#f9f9fd}.claim-wrap{max-width:490px;margin:0 auto;padding:50px 18px 35px;min-height:100vh}.claim-brand{display:flex;justify-content:center;margin-bottom:42px}.claim-card{background:#fff;border:1px solid #ebebf4;border-radius:22px;padding:42px;box-shadow:0 25px 70px rgba(47,43,97,.085);text-align:center}.claim-icon{width:68px;height:68px;display:grid;place-items:center;background:#eefff5;border-radius:19px;color:#28ba7e;font-size:34px;font-weight:850;margin:0 auto 21px}.claim-card .eyebrow{margin-bottom:10px}.claim-card h1{font-size:28px;margin-bottom:12px}.claim-card>p{font-size:13px;line-height:1.85;margin-bottom:24px;color:#8e91aa}.claim-card strong{color:#4a4768}.claim-card .notice{text-align:left}.otp-form{text-align:left}.otp-form input{letter-spacing:.3em;font-size:25px;text-align:center;font-weight:800;margin-bottom:16px}.resend-form{padding-top:10px}.resend-form p{font-size:12px;margin:0;color:#a3a5b8}.resend-form button{border:none;color:#715be1;background:transparent;padding:3px;font-weight:800}.claimed-ebook{display:flex;align-items:center;gap:14px;text-align:left;background:#f9f8ff;border:1px solid #f0ecff;border-radius:13px;padding:15px;margin-bottom:24px}.claimed-ebook strong{display:block;font-size:13px}.claimed-ebook small{display:block;color:#a2a2b5;margin-top:5px}.claimed-bookicon{display:grid;place-items:center;background:#eee8ff;color:#745ade;width:48px;height:53px;border-radius:8px;font-size:30px}.claim-hint{font-size:11px!important;margin:21px 0 0!important;color:#9fa2b3!important}.claim-foot{text-align:center;font-size:11px;margin-top:22px}.reader-body{background:#ececf4}.reader-header{background:#fff;display:flex;align-items:center;justify-content:space-between;padding:16px 4%;gap:20px;border-bottom:1px solid #e9e8f0}.reader-header>div{display:flex;align-items:center;gap:14px}.reader-status{font-size:11px;color:#81849d}.reader-main{max-width:1200px;margin:0 auto;padding:20px 24px 45px}.reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;font-size:12px}.reader-toolbar strong{display:block;font-size:13px}.reader-toolbar small{display:block;color:#8588a0;margin-top:4px}.reader-toolbar>span{color:#888ba1}.pdf-frame{height:calc(100vh - 175px);min-height:500px;border-radius:13px;box-shadow:0 15px 48px rgba(28,31,83,.13);background:#fff;overflow:hidden}.pdf-frame{position:relative}.reader-watermark{position:absolute;z-index:3;inset:0;pointer-events:none;overflow:hidden;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr);align-items:center;justify-items:center;gap:4px;color:#a367b4;opacity:.19;font-size:clamp(10px,1.5vw,16px);font-weight:850;letter-spacing:.09em}.reader-watermark span{transform:rotate(-28deg);white-space:nowrap}.pdf-frame iframe{display:block;border:0;width:100%;height:100%}.reader-non-pdf{text-align:center;padding:100px 20px;background:#fff;border-radius:18px}.reader-non-pdf h2{font-size:21px}.reader-non-pdf p{font-size:13px}.reader-non-pdf .btn{margin-top:14px}.error-screen{max-width:620px;text-align:center;margin:16vh auto;padding:25px}.error-code{font-size:120px;font-weight:900;line-height:1;color:#dedaf4}.error-screen h1{font-size:26px;margin-top:20px}.error-screen p{font-size:14px;margin-bottom:26px}
/* Installer and login */
.installer-body{background:linear-gradient(135deg,#f5f2ff,#fbfcff);min-height:100vh}.install-shell{max-width:720px;margin:0 auto;padding:45px 20px 80px}.install-heading{text-align:center;margin-bottom:26px}.install-logo{display:grid;place-items:center;margin:0 auto 17px;background:linear-gradient(135deg,#8065ea,#4a3aba);color:#fff;border-radius:16px;width:58px;height:58px;font-size:32px}.install-heading h1{font-size:30px;letter-spacing:-.05em;margin:8px 0 10px}.install-heading p{font-size:13px;max-width:500px;margin:auto;line-height:1.8}.install-card{background:#fff;border:1px solid #edeaf4;box-shadow:var(--shadow);border-radius:18px;padding:27px;margin-bottom:16px}.install-card h2{font-size:17px;margin:0 0 17px}.install-card>p{font-size:12px;margin:-5px 0 20px}.checks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.requirement{display:flex;gap:9px;align-items:center;font-size:12px;color:#686c82}.check-ok,.check-fail{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:11px;font-weight:900;background:#e5f7ee;color:#2aae78;flex:none}.check-fail{background:#ffeded;color:#d95a66}.install-submit{margin-top:22px}.install-footnote{text-align:center;font-size:11px;color:#8e92ab;line-height:1.7;margin-top:13px}.login-body{background:#fff}.login-shell{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);min-height:100vh}.login-promo{background:linear-gradient(140deg,#211e58,#5941aa 72%,#775de9);display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:48px clamp(28px,5vw,85px);color:#fff;position:relative;overflow:hidden}.login-promo:after{content:'';position:absolute;width:600px;height:600px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-330px;top:-150px;box-shadow:0 0 0 100px rgba(255,255,255,.02),0 0 0 200px rgba(255,255,255,.017);pointer-events:none}.white-brand{color:#ad99ff}.white-brand strong{color:#fff}.white-brand small{color:#c0b3f5}.login-promo-copy{position:relative;z-index:1;max-width:500px;padding:100px 0}.login-promo-copy h1{font-size:clamp(42px,4.8vw,65px);line-height:1.06;letter-spacing:-.065em;margin:22px 0}.login-promo-copy h1 em{font-style:normal;color:#d2c2ff}.login-promo-copy>p{color:#c8bef2;line-height:1.85;max-width:395px;font-size:14px}.promo-stats{display:flex;gap:22px;margin-top:60px}.promo-stats>div{display:flex;flex-direction:column;gap:5px;padding-right:19px;border-right:1px solid rgba(255,255,255,.17)}.promo-stats>div:last-child{border:none}.promo-stats b{font-size:22px;font-weight:900;color:#e2d7ff}.promo-stats small{font-size:10px;color:#c8bff5}.login-promo-foot{font-size:10px;color:#b5abec;letter-spacing:.04em}.login-main{display:grid;place-items:center;padding:36px}.login-box{width:100%;max-width:420px}.login-box h2{font-size:28px;letter-spacing:-.045em;margin:12px 0}.login-box>p{color:#9497ac;font-size:13px;margin-bottom:34px}.login-box .form-group{margin-bottom:22px}.login-box button.btn{margin-top:12px}.login-foot{text-align:center;color:#9da0b1;font-size:11px;margin-top:26px}
@media(max-width:1150px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid-two{grid-template-columns:1fr}.editor-columns{grid-template-columns:minmax(0,1fr) 300px}.password-panel{max-width:calc(100% - 320px)}.form-hero{padding:45px 34px 25px}.form-card{padding:43px 32px}.hero-book{margin:20px auto}.hero-book-inner{height:190px;width:146px}.hero-book{height:215px}.form-hero h1{font-size:30px}}
@media(max-width:880px){.sidebar{transform:translateX(-100%);transition:transform .25s;box-shadow:0 0 40px rgba(0,0,0,.1)}.sidebar.is-open{transform:translateX(0)}.admin-content{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 22px}.main-panel{padding:27px 22px 42px}.editor-columns{grid-template-columns:1fr}.editor-side .sticky-card{position:static}.password-panel{max-width:none}.page-heading{align-items:flex-start}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-promo{padding:30px}.promo-stats{gap:10px}.promo-stats>div{padding-right:9px}.promo-stats small{font-size:9px}}
@media(max-width:650px){body{font-size:13px}.page-heading{flex-direction:column;align-items:stretch;gap:15px}.page-heading h1{font-size:26px}.heading-actions .btn{width:100%}.main-panel{padding:22px 14px 40px}.topbar{padding:0 15px}.top-date{display:none}.metrics-grid{gap:10px}.metric-card{padding:17px}.metric-top{font-size:10px}.metric-value{font-size:25px}.metric-note{font-size:10px}.surface{padding:18px}.surface.table-surface{padding:0}.table-surface>.section-top{padding:20px 18px 5px}.editor-section{padding:20px}.section-top{flex-wrap:wrap}.form-grid-2{grid-template-columns:1fr;gap:0}.filter-row{padding:0 18px 20px}.filter-row select,.filter-row .search-control{width:100%}.filter-row .btn{width:100%}.share-panel{flex-direction:column;padding:17px}.share-tools{width:100%}.copy-field{align-items:stretch}.copy-field input{width:calc(100% - 90px)}.copy-field textarea{width:calc(100% - 90px)}.sidebar{width:275px}.user-row{align-items:flex-start}.user-edit-form{width:100%}.site-header{padding:22px 20px}.header-secure{display:none}.form-stage{padding:0 13px;margin:0 auto 28px}.form-layout{grid-template-columns:1fr;border-radius:20px}.form-hero{padding:32px 28px 28px}.form-hero .hero-kicker{font-size:9px}.form-hero .hero-book{display:none}.form-hero h1{margin-top:23px;font-size:29px}.form-hero>p{font-size:12px;margin:0 0 20px}.hero-benefits{flex-direction:row;flex-wrap:wrap;font-size:10px;gap:9px 15px}.hero-benefits span{width:17px;height:17px;margin-right:4px}.hero-note{display:none}.form-card{padding:30px 24px 33px}.form-card h2{font-size:24px}.form-card-intro{font-size:12px}.public-footer{font-size:10px}.home-wrap{padding:48px 20px 65px}.home-wrap h1{font-size:45px}.home-intro{font-size:14px}.resources{margin-top:50px}.resource-grid{grid-template-columns:1fr}.resource-art{height:160px}.claim-card{padding:27px 23px}.reader-header{padding:11px 15px}.reader-header .brand svg{width:32px;height:32px}.reader-header .brand strong{font-size:15px}.reader-header .brand small{font-size:9px}.reader-status{display:none}.reader-main{padding:15px 9px}.pdf-frame{min-height:450px;height:calc(100vh - 150px)}.reader-toolbar>span{display:none}.checks-grid{grid-template-columns:1fr}.install-card{padding:21px}.install-heading h1{font-size:26px}.login-shell{grid-template-columns:1fr}.login-promo{min-height:0;padding:24px 22px}.login-promo-copy{display:none}.login-promo-foot{display:none}.login-main{padding:50px 25px;min-height:calc(100vh - 88px)}.login-box h2{font-size:26px}.version-hero{flex-wrap:wrap;padding:18px}.version-hero>.pill{margin-left:0}.modal-card{padding:23px}.modal-actions{flex-wrap:wrap}.bar-chart{gap:3px}.chart-day>span{font-size:8px}.chart-bars{gap:1px}.chart-bar{max-width:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.traffic-export-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-10px 0 22px}.traffic-export-form>span{color:#a0a3b6;font-size:11px}
