:root{--brand-orange:#fa7c30;--brand-indigo:#454af8;--brand-green:#01d356;--brand-blue:#3661f4;--brand-white:#fff;--brand-orange-hover:#e66a1f;--brand-orange-soft:#fa7c301f;--brand-orange-border:#fa7c3073;--brand-blue-hover:#2b52d6;--brand-blue-soft:#3661f41a;--brand-blue-border:#3661f459;--brand-blue-ring:#3661f42e;--brand-indigo-hover:#3a3ecc;--brand-indigo-soft:#454af81a;--brand-indigo-border:#454af859;--brand-green-strong:#02b356;--brand-green-soft:#01d35624;--brand-green-border:#01d35666;--text:#475569;--text-h:#0f172a;--text-muted:#64748b;--bg:#f7f6fb;--surface:#fff;--surface-soft:#f8fafc;--border:#e2e8f0;--border-strong:#cbd5e1;--app-max-width:1100px;--accent:var(--brand-blue);--accent-bg:var(--brand-blue-soft);--accent-border:var(--brand-blue-border);--social-bg:#3661f40f;--shadow:#0f172a14 0 10px 15px -3px, #0f172a0d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (width<=1024px){:root{font-size:16px}}body{background:var(--bg);min-height:100svh;color:var(--text);margin:0}a{color:var(--brand-indigo)}a:hover{color:var(--brand-indigo-hover)}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#app{box-sizing:border-box;flex-direction:column;align-items:stretch;width:100%;min-height:100svh;display:flex}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:12px 16px;display:flex}.pagination-btn{min-width:34px;height:34px;color:var(--brand-blue);background:var(--surface);border:1px solid var(--brand-blue-border);cursor:pointer;border-radius:8px;padding:0 10px;font-family:inherit;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,color .15s}.pagination-btn:hover:not(:disabled):not(.pagination-btn--active){background:var(--brand-blue-soft);border-color:var(--brand-blue)}.pagination-btn--active{color:#fff;background:var(--brand-blue);border-color:var(--brand-blue);cursor:default}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-btn:focus-visible{box-shadow:0 0 0 3px var(--brand-blue-ring);outline:none}.pagination-info{color:var(--text-muted);margin-left:6px;font-size:13px}.app-header{z-index:100;background:#fff;width:100%;position:sticky;top:0;box-shadow:0 1px 2px #0f172a0d}.app-header:after{content:"";background:linear-gradient(90deg,#fa7c30 0%,#01d356 30%,#199ad9 60%,#454af8 100%);height:3px;display:block}.app-header-inner{max-width:var(--app-max-width,1100px);box-sizing:border-box;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0 auto;padding:12px 15px;display:flex}.brand{color:#3661f4;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;min-width:0;font-size:18px;font-weight:700;display:flex}.brand span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.brand-logo{width:auto;height:28px;display:block}.header-right{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.header-user{color:#475569;text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:14px;font-weight:500;text-decoration:none;transition:color .15s;overflow:hidden}.header-user:hover{color:#3661f4;text-decoration:underline}.header-link{color:#3661f4;background:#3661f414;border:1px solid #3661f44d;border-radius:8px;padding:8px 14px;font-size:14px;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s}.header-link:hover{color:#2b52d6;background:#3661f426}.header-link.router-link-active{color:#fff;background:#3661f4;border-color:#3661f4}.header-link.router-link-active:hover{color:#fff;background:#2b52d6;border-color:#2b52d6}.header-link:focus-visible{outline-offset:2px;color:#2b52d6;outline:2px solid #2b52d6}.header-link.router-link-active:focus-visible{color:#fff;outline-color:#1e3fae}.logout-btn{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:600}.logout-btn:hover{background:#fee2e2}.delete-account-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:500}.delete-account-btn:hover{color:#dc2626;background:#f8fafc;border-color:#fecaca}.header-user.router-link-active{color:#3661f4;font-weight:600}@media (width<=640px){.app-header-inner{padding:10px 15px}.header-right{gap:8px}.brand{font-size:16px}}.captcha[data-v-50cdf146]{flex-direction:column;gap:8px;display:flex}.captcha-label[data-v-50cdf146]{color:#334155;font-size:14px;font-weight:600}.captcha-row[data-v-50cdf146]{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.captcha-q[data-v-50cdf146]{color:#0f172a;font-size:15px}.captcha-input[data-v-50cdf146]{color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:90px;padding:10px 12px;font-size:14px}.captcha-input[data-v-50cdf146]:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f426}.captcha-start[data-v-50cdf146]{color:#3661f4;cursor:pointer;background:#eff2ff;border:1px solid #c9d3fd;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600}.captcha-refresh[data-v-50cdf146]{color:#3661f4;cursor:pointer;background:#eff2ff;border:1px solid #c9d3fd;border-radius:8px;padding:6px 10px;font-size:16px;line-height:1}.captcha-refresh[data-v-50cdf146]:disabled{opacity:.5;cursor:not-allowed}.captcha-hint[data-v-50cdf146]{color:#64748b;margin:0;font-size:12px}.captcha-hp[data-v-50cdf146]{height:0;position:absolute;top:-9999px;left:-9999px;overflow:hidden}.captcha-error[data-v-50cdf146]{color:#b91c1c;margin:0;font-size:13px}.login-form{box-sizing:border-box;background-color:#f7f6fb;background-image:radial-gradient(1200px 600px at 12% -10%,#fa7c3029,#0000 60%),radial-gradient(1000px 560px at 100% 0,#3661f429,#0000 62%),radial-gradient(900px 520px at 50% 120%,#454af81f,#0000 60%);justify-content:center;align-items:center;min-height:100vh;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;display:flex}.login-form *,.login-form :before,.login-form :after{box-sizing:inherit}.login-form form{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:18px;width:100%;max-width:400px;padding:32px 28px;display:flex;box-shadow:0 4px 6px -1px #00000008,0 2px 4px -1px #00000005}.login-form h1{color:#0f172a;text-align:center;margin:0 0 4px;font-size:22px;font-weight:700}.login-field,.password-field{flex-direction:column;gap:8px;display:flex}.login-field label,.password-field label{color:#334155;font-size:14px;font-weight:600}.login-field input,.password-field input{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 16px;font-size:14px;transition:border-color .15s,box-shadow .15s}.login-field input::placeholder,.password-field input::placeholder{color:#94a3b8}.login-field input:focus,.password-field input:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f426}.button-submit{flex-direction:column;margin-top:4px;display:flex}.button-submit button{color:#fff;cursor:pointer;background-color:#3661f4;border:none;border-radius:8px;justify-content:center;align-items:center;width:100%;padding:12px 24px;font-size:15px;font-weight:600;transition:background-color .15s,transform .1s;display:inline-flex}.button-submit button:hover{background-color:#2b52d6}.button-submit button:active{transform:scale(.98)}.button-submit button:disabled{cursor:not-allowed;background-color:#c7d2fe;transform:none}@media (width<=480px){.login-form form{padding:24px 18px}}.login-error{color:#b91c1c;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.login-success{color:#047857;background-color:#01d3561f;border:1px solid #01d35666;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.toggle-mode{color:#3661f4;cursor:pointer;text-align:center;background:0 0;border:none;padding:0;font-size:13px}.toggle-mode:hover{text-decoration:underline}.login-consent{color:#475569;font-size:13px}.consent-label{cursor:pointer;align-items:flex-start;gap:8px;line-height:1.4;display:flex}.consent-label input[type=checkbox]{cursor:pointer;flex-shrink:0;width:16px;height:16px;margin-top:2px}.consent-label a{color:#3661f4;text-decoration:underline}.profile-page{max-width:var(--app-max-width,1100px);box-sizing:border-box;margin:30px auto;padding:0 15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-page *,.profile-page :before,.profile-page :after{box-sizing:inherit}.profile-info{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:28px;padding:24px 28px;display:grid;box-shadow:0 4px 6px -1px #00000008,0 2px 4px -1px #00000005}@media (width>=900px){.profile-info{grid-template-columns:repeat(4,1fr)}}.profile-item{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:4px;min-height:44px;padding:12px 14px;display:flex;overflow:hidden}.profile-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:600;overflow:hidden}.profile-value{color:#0f172a;word-break:break-word;font-size:14px;font-weight:500}.tests-table{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 4px 6px -1px #00000008,0 2px 4px -1px #00000005}.tests-table table{border-collapse:collapse;width:100%;font-size:14px}.tests-table thead th{text-align:left;color:#475569;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 16px;font-size:12px;font-weight:600}.tests-table tbody td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 16px}.tests-table tbody tr:last-child td{border-bottom:none}.tests-table tbody tr{transition:background-color .15s}.tests-table tbody tr:hover{background-color:#f8fafc}.tests-table tbody td:first-child{color:#0f172a;font-weight:500}.status{white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block}.status--published{color:#047857;background-color:#01d35626}.status--draft{color:#c2570a;background-color:#fa7c3026}.tests-table tbody td:last-child{white-space:normal}.tests-table tbody td:last-child button{color:#3661f4;cursor:pointer;white-space:nowrap;background-color:#3661f414;border:1px solid #3661f44d;border-radius:8px;justify-content:center;align-items:center;margin:2px 4px 2px 0;padding:7px 12px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.2;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.tests-table tbody td:last-child button:hover{color:#2b52d6;background-color:#3661f426;border-color:#3661f480}.tests-table tbody td:last-child button:active{transform:scale(.98)}.tests-table tbody td:last-child button:focus-visible{outline:none;box-shadow:0 0 0 3px #3661f440}.tests-table tbody td:last-child button:disabled,.tests-table tbody td:last-child button:disabled:hover,.tests-table tbody td:last-child button:disabled:active{color:#94a3b8;cursor:not-allowed;background-color:#f1f5f9;border-color:#e2e8f0;transform:none}.tests-table tbody td:last-child button:last-child{color:#dc2626;background-color:#fef2f2;border-color:#fecaca}.tests-table tbody td:last-child button:last-child:hover{color:#b91c1c;background-color:#fee2e2;border-color:#fca5a5}.tests-table tbody td:last-child button:last-child:focus-visible{box-shadow:0 0 0 3px #dc262633}@media (width<=700px){.profile-info{grid-template-columns:repeat(2,1fr);padding:18px}}@media (width<=560px){.profile-info{grid-template-columns:1fr}.tests-table{overflow-x:auto}.tests-table table{min-width:600px}}.profile-actions-top{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.profile-actions-top h2{color:#1e293b;margin:0;font-size:18px;font-weight:700}.profile-actions-top .new-test-btn{color:#fff;cursor:pointer;white-space:nowrap;background-color:#3661f4;border:1px solid #3661f4;border-radius:8px;padding:9px 16px;font-family:inherit;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,transform 50ms}.profile-actions-top .new-test-btn:hover{background-color:#2b52d6;border-color:#2b52d6}.profile-actions-top .new-test-btn:active{transform:scale(.98)}.profile-actions-top .new-test-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3661f44d}.logout-btn{color:#dc2626;cursor:pointer;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:7px 14px;font-size:13px;font-weight:500}.logout-btn:hover{background-color:#fee2e2}.profile-error{color:#b91c1c;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 14px;font-size:13px}.qcount{color:#94a3b8;font-size:12px;font-weight:400}.results-page{max-width:var(--app-max-width,1100px);box-sizing:border-box;margin:30px auto;padding:0 15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.results-page *,.results-page :before,.results-page :after{box-sizing:inherit}.results-head{margin-bottom:16px}.back-btn{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:14px;font-weight:500}.back-btn:hover{background:#e2e8f0}.results-title{color:#0f172a;margin:0 0 20px;font-size:20px}.results-titlebar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.results-titlebar .results-title{margin-bottom:0}.export-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#01d356;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600}.export-btn:hover{background:#02b356}.export-btn:disabled{cursor:not-allowed;background:#99ecbb}.results-summary{grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:24px;display:grid}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:6px;padding:20px 24px;display:flex;box-shadow:0 4px 6px -1px #00000008}.summary-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.summary-value{color:#3661f4;font-size:28px;font-weight:700}.results-table{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 4px 6px -1px #00000008}.results-table table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px}.results-table thead th{text-align:left;color:#475569;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 16px;font-size:12px;font-weight:600}.results-table thead th:first-child{width:32px}.results-table thead th:nth-child(3),.results-table thead th:nth-child(4){width:110px}.results-table thead th:nth-child(5){width:170px}.results-table tbody td{color:#1e293b;vertical-align:top;border-bottom:1px solid #f1f5f9;padding:14px 16px}.results-table tbody td.cell-name{white-space:nowrap;text-overflow:ellipsis;max-width:0;overflow:hidden}.results-table tbody tr:hover{background:#f8fafc}.pct{border-radius:999px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-block}.pct-pass{color:#047857;background:#01d35626}.pct-fail{color:#b91c1c;background:#fef2f2}.empty-row{text-align:center;color:#94a3b8;padding:24px 16px!important}.results-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 14px}@media (width<=560px){.results-summary{grid-template-columns:1fr}.results-table{overflow-x:auto}.results-table table{min-width:480px}}.clickable-row{cursor:pointer}.caret{color:#94a3b8;text-align:center;width:20px}.detail-row>td{background:#f8fafc;padding:0!important}.detail-box{padding:16px 18px}.detail-list{flex-direction:column;gap:10px;display:flex}.detail-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px}.detail-item.ok{border-left:4px solid #01d356}.detail-item.bad{border-left:4px solid #dc2626}.detail-item.unscored{border-left:4px solid #94a3b8}.detail-qtext{color:#0f172a;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;font-weight:600;display:flex}.detail-qnum{color:#3661f4}.detail-type{color:#64748b;background:#f1f5f9;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.detail-mark{margin-left:auto;font-size:12px;font-weight:700}.detail-item.ok .detail-mark{color:#02b356}.detail-item.bad .detail-mark{color:#dc2626}.detail-item.unscored .detail-mark{color:#64748b}.detail-answers{flex-direction:column;gap:4px;font-size:13px;display:flex}.detail-line{gap:6px;display:flex}.detail-label{color:#64748b;flex-shrink:0}.detail-given{color:#1e293b}.detail-correct{color:#047857;font-weight:600}.detail-cert{margin-bottom:12px}.cert-btn{color:#fff;cursor:pointer;background:#3661f4;border:none;border-radius:8px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:600}.cert-btn:hover{background:#2b52d6}.cert-btn:disabled{cursor:not-allowed;background:#c7d2fe}.questions-list,.add-button-select,.question{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.questions-list *,.questions-list :before,.questions-list :after{box-sizing:inherit}.questions-list{flex-direction:column;gap:24px;max-width:700px;margin:30px auto;padding:0 15px;display:flex}.questions-list>div{background-color:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 6px -1px #00000008,0 2px 4px -1px #00000005}.questions-list>div:hover{transform:translateY(-1px);box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -2px #00000005}.add-button-select{background-color:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;justify-content:center;align-items:center;gap:16px;max-width:700px;margin:0 auto 50px;padding:20px;display:flex}.add-button-select label{color:#475569;font-size:14px;font-weight:600}.add-button-select select{color:#1e293b;cursor:pointer;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:10px 36px 10px 16px;font-size:14px;transition:border-color .15s,box-shadow .15s}.add-button-select select:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f426}#add{color:#fff;cursor:pointer;background-color:#3661f4;border:none;border-radius:8px;justify-content:center;align-items:center;padding:10px 24px;font-size:14px;font-weight:600;transition:background-color .15s,transform .1s;display:inline-flex}#add:hover{background-color:#2b52d6}#add:active{transform:scale(.98)}.question{flex-direction:column;gap:20px;width:100%;display:flex}.question-text-container{flex-direction:column;gap:8px;width:100%;display:flex}.question label{color:#334155;font-size:14px;font-weight:600}.question input[type=text]{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 16px;font-size:14px;transition:border-color .15s,box-shadow .15s}.question input[type=text]:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.question textarea.question-textarea{color:#0f172a;resize:vertical;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-height:72px;padding:12px 16px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color .15s,box-shadow .15s}.question textarea.question-textarea:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}#add-ans{color:#3661f4;cursor:pointer;background-color:#3661f414;border:1px solid #3661f44d;border-radius:8px;align-self:flex-start;margin-top:4px;padding:10px 20px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s}#add-ans:hover{background-color:#3661f426;border-color:#3661f480}.one-correct-ans-container{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:16px;width:100%;padding:12px 16px;display:flex}.one-correct-ans-container label{color:#64748b;min-width:50px;font-size:13px;font-weight:500}.question input[type=radio]{appearance:none;cursor:pointer;border:2px solid #cbd5e1;border-radius:50%;outline:none;flex-shrink:0;place-content:center;width:22px;height:22px;transition:border-color .15s,background-color .15s;display:grid}.question input[type=radio]:before{content:"";background-color:#fff;border-radius:50%;width:10px;height:10px;transition:transform .15s ease-in-out;transform:scale(0)}.question input[type=radio]:checked{background-color:#3661f4;border-color:#3661f4}.question input[type=radio]:checked:before{transform:scale(1)}.question input[type=checkbox]{appearance:none;cursor:pointer;border:2px solid #cbd5e1;border-radius:6px;outline:none;flex-shrink:0;place-content:center;width:22px;height:22px;transition:border-color .15s,background-color .15s;display:grid}.question input[type=checkbox]:before{content:"";clip-path:polygon(14% 44%,0 58%,38% 96%,100% 14%,86% 0%,38% 68%);background-color:#fff;width:11px;height:11px;transition:transform .1s ease-in-out;transform:scale(0)}input[type=checkbox]:checked{background-color:#01d356;border-color:#01d356}input[type=checkbox]:checked:before{transform:scale(1)}.text-ans-container{background-color:#f1f5f9;border:1px dashed #cbd5e1;border-radius:10px;flex-direction:column;gap:8px;width:100%;padding:16px;display:flex}.match-ans-container{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:auto auto 1fr auto 1fr auto;align-items:center;gap:16px;width:100%;padding:16px;transition:box-shadow .15s,opacity .15s,border-color .15s;display:grid}.match-ans-container label{color:#64748b;white-space:nowrap;font-size:13px;font-weight:500}.match-drag-handle{color:#94a3b8;cursor:grab;-webkit-user-select:none;user-select:none;border-radius:6px;justify-content:center;align-items:center;width:24px;height:32px;font-size:18px;line-height:1;display:inline-flex}.match-drag-handle:hover{color:#475569;background-color:#eef2f7}.match-drag-handle:active{cursor:grabbing}.match-drag-hint{color:#94a3b8;margin:0;font-size:12px}.match-drag-handle-hint{color:#64748b;font-size:15px}.match-ans-container.match-dragging{opacity:.45;box-shadow:inset 0 0 0 1px #3661f459}.match-ans-container.match-drop-target{border-color:#3661f4;box-shadow:0 0 0 3px #3661f42e}@media (width<=600px){.add-button-select{flex-direction:column;align-items:stretch;gap:12px}.add-button-select select,#add{width:100%}.match-ans-container{grid-template-columns:auto 1fr;gap:8px}.match-ans-container label,.match-ans-container input[type=text],.match-ans-container .remove-ans{grid-column:2}.match-drag-handle{grid-row:1/span 5;align-self:center}}.constructor-header{flex-direction:column;gap:12px;max-width:700px;margin:30px auto 0;padding:0 15px;display:flex}.test-title,.test-desc{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px}.test-title{font-size:18px;font-weight:600}.test-title:focus,.test-desc:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.certificate-picker{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;display:flex}.certificate-picker>span{color:#475569;font-size:13px;font-weight:600}.certificate-picker select{color:#1e293b;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;flex:220px;min-width:0;padding:8px 10px;font-family:inherit;font-size:13px}.certificate-picker select:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f426}.certificate-manage-link{color:#3661f4;white-space:nowrap;margin-left:auto;font-size:13px;font-weight:600;text-decoration:none}.certificate-manage-link:hover{text-decoration:underline}.certificate-hint{color:#64748b;margin:0;font-size:12px;line-height:1.5}.cover-upload{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.cover-label{color:#475569;font-size:13px;font-weight:600}.cover-preview{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.cover-preview img{object-fit:cover;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;max-height:220px;display:block}.cover-remove{color:#dc2626;cursor:pointer;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}.cover-remove:hover{background-color:#fee2e2}.cover-add{color:#3661f4;cursor:pointer;background-color:#3661f414;border:1px solid #3661f44d;border-radius:8px;align-self:flex-start;align-items:center;padding:9px 18px;font-size:13px;font-weight:600;display:inline-flex}.cover-add:hover{background-color:#3661f426;border-color:#3661f480}.cover-add--busy{opacity:.6;cursor:progress}.cover-add input[type=file]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.cover-error{color:#b91c1c;margin:0;font-size:13px}.cover-hint{color:#64748b;margin:0;font-size:12px;line-height:1.5}.question-required-row{border-bottom:1px dashed #e2e8f0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:12px;display:flex}.remove-question{color:#dc2626;cursor:pointer;white-space:nowrap;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}.remove-question:hover{background-color:#fee2e2}.remove-ans{color:#dc2626;cursor:pointer;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:18px;line-height:1;display:inline-flex}.remove-ans:hover{background-color:#fee2e2}.required-toggle{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:13px;font-weight:500;display:inline-flex}.required-toggle input[type=checkbox]{cursor:pointer;width:16px;height:16px}.req-star{color:#dc2626;font-weight:700}.question-row-controls{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.points-input{color:#475569;align-items:center;gap:8px;font-size:13px;font-weight:500;display:inline-flex}.points-input input[type=number]{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;width:62px;padding:6px 8px;font-size:13px}.points-input input[type=number]:focus{border-color:#3661f4;outline:none;box-shadow:0 0 0 3px #3661f426}.consent-editor{flex-direction:column;gap:10px;width:100%;display:flex}.consent-hint,.field-hint{color:#64748b;margin:0;font-size:13px;line-height:1.5}.data-consent-hint{color:#92400e;background-color:#fffbeb;border:1px solid #fde68a;border-radius:8px;max-width:700px;margin:16px auto 0;padding:12px 16px;font-size:13px;line-height:1.5}.add-button-select optgroup{color:#334155;font-weight:600}.add-button-select option{color:#1e293b;font-weight:400}.unscored-hint{color:#64748b;background-color:#f1f5f9;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}.constructor-error{color:#b91c1c;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;max-width:700px;margin:10px auto 0;padding:10px 14px;font-size:13px}.constructor-message{color:#047857;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;max-width:700px;margin:10px auto 0;padding:10px 14px;font-size:13px}.constructor-conflict{color:#92400e;background-color:#fffbeb;border:1px solid #fde68a;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:700px;margin:10px auto 0;padding:12px 14px;font-size:13px;display:flex}.constructor-conflict button{color:#fff;cursor:pointer;white-space:nowrap;background-color:#d97706;border:none;border-radius:8px;padding:8px 14px;font-family:inherit;font-size:13px;font-weight:600}.constructor-conflict button:hover{background-color:#b45309}.constructor-actions{flex-wrap:wrap;justify-content:center;gap:12px;max-width:700px;margin:0 auto 50px;padding:0 15px;display:flex}.constructor-actions button{color:#fff;cursor:pointer;background-color:#3661f4;border:none;border-radius:8px;padding:12px 24px;font-family:inherit;font-size:15px;font-weight:600;transition:background-color .15s}.constructor-actions button:hover{background-color:#2b52d6}.constructor-actions button:disabled{cursor:not-allowed;background-color:#c7d2fe}.constructor-actions button.secondary{color:#334155;background-color:#f1f5f9;border:1px solid #cbd5e1}.constructor-actions button.secondary:hover{background-color:#e2e8f0}.constructor-locked{color:#92400e;background-color:#fffbeb;border:1px solid #fde68a;border-radius:8px;max-width:700px;margin:24px auto 0;padding:12px 16px;font-size:14px}.constructor-fields{border:none;min-width:0;margin:0;padding:0}.constructor-fields:disabled{opacity:.65}.constructor-fields:disabled input,.constructor-fields:disabled select,.constructor-fields:disabled button{cursor:not-allowed}.img-upload{border-top:1px dashed #e2e8f0;margin-top:16px;padding-top:14px}.img-upload-preview{margin-bottom:12px}.img-upload-bar{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.img-upload-count{color:#64748b;font-size:12px}.img-remove{color:#dc2626;cursor:pointer;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:6px 12px;font-size:13px;font-weight:500}.img-remove:hover{background-color:#fee2e2}.img-add{color:#3661f4;cursor:pointer;background-color:#3661f414;border:1px solid #3661f44d;border-radius:8px;align-items:center;padding:9px 18px;font-size:13px;font-weight:600;display:inline-flex}.img-add:hover{background-color:#3661f426;border-color:#3661f480}.img-add--busy{opacity:.6;cursor:progress}.img-add input[type=file]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.img-error{color:#b91c1c;margin:10px 0 0;font-size:13px}.img-hint{color:#94a3b8;margin:8px 0 0;font-size:12px}.img-carousel{outline:none;width:100%}.img-carousel:focus-visible{border-radius:10px;box-shadow:0 0 0 3px #3b82f640}.img-carousel-stage{justify-content:center;align-items:center;min-height:200px;max-height:480px;display:flex;position:relative;overflow:hidden}.img-carousel--framed .img-carousel-stage{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.img-carousel-stage img{object-fit:contain;-webkit-user-select:none;user-select:none;max-width:100%;max-height:480px;display:block}.img-carousel-arrow{color:#0f172a;cursor:pointer;z-index:2;background-color:#ffffffe6;border:1px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:24px;line-height:1;transition:background-color .15s;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.img-carousel-arrow:hover{background-color:#fff}.img-carousel-arrow--prev{left:10px}.img-carousel-arrow--next{right:10px}.img-carousel-counter{color:#fff;z-index:2;background-color:#0f172a99;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600;position:absolute;bottom:10px;right:10px}.img-carousel-dots{justify-content:center;gap:8px;margin-top:10px;display:flex}.img-carousel-dot{cursor:pointer;background-color:#cbd5e1;border:none;border-radius:50%;width:10px;height:10px;padding:0;transition:background-color .15s,transform .15s}.img-carousel-dot:hover{background-color:#94a3b8}.img-carousel-dot--active{background-color:#3661f4;transform:scale(1.15)}@media (width<=600px){.img-carousel-stage,.img-carousel-stage img{max-height:320px}.img-carousel-arrow{width:32px;height:32px;font-size:20px}}.take-page{box-sizing:border-box;max-width:760px;margin:30px auto;padding:0 15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.take-page *,.take-page :before,.take-page :after{box-sizing:inherit}.take-header{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:24px;padding:24px 28px;box-shadow:0 4px 6px -1px #00000008}.take-header h1{color:#1e293b;margin:0 0 8px;font-size:22px}.take-desc{color:#64748b;margin:0;font-size:14px}.take-wallpaper{background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:100%;height:auto;margin-bottom:24px;display:block}.take-cover{object-fit:cover;background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:100%;max-height:320px;margin-bottom:24px;display:block}@media (width<=600px){.take-cover{max-height:200px}}.take-consent-label{color:#334155;cursor:pointer;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;display:flex}.take-consent-label input[type=checkbox]{cursor:pointer;flex-shrink:0;width:18px;height:18px;margin:1px 0 0}.take-consent-label a{color:#3661f4}.take-consent-label a:hover{text-decoration:underline}.take-question{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:18px;padding:24px 28px;box-shadow:0 4px 6px -1px #00000008}.take-qtext{color:#0f172a;margin-bottom:16px;font-size:16px;font-weight:600}.take-qnum{color:#3661f4}.take-qimages{margin:0 0 16px}.take-required{color:#dc2626;font-weight:700}.take-hint{color:#64748b;text-align:right;margin:0 0 40px;font-size:13px}.take-data-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:18px;padding:20px 24px 22px;box-shadow:0 4px 6px -1px #00000008}.take-data-title{color:#1e293b;margin:0 0 14px;font-size:15px;font-weight:700}.take-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.take-data-field{flex-direction:column;gap:6px;min-width:0;display:flex}.take-data-field--wide{grid-column:1/-1}.take-data-label{color:#334155;font-size:13px;font-weight:600}.take-fio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.take-textarea{resize:vertical;min-height:72px;font-family:inherit;line-height:1.5}.thanks-title{font-size:28px}@media (width<=640px){.take-data-grid,.take-fio-grid{grid-template-columns:1fr}}.take-options{flex-direction:column;gap:10px;display:flex}.take-option{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:12px;padding:12px 16px;display:flex}.take-option:hover{background:#f1f5f9}.take-option input[type=radio],.take-option input[type=checkbox]{cursor:pointer;width:18px;height:18px}.take-text-input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:12px 16px;font-size:14px}.take-text-input:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.take-fixed-input{background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;width:100%;padding:12px 16px;font-size:14px;display:flex}.take-fixed-input:focus-within{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.take-fixed-prefix{color:#475569;-webkit-user-select:none;user-select:none;flex-shrink:0;font-weight:600}.take-fixed-field{min-width:0;font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:auto;padding:0}.take-fixed-field::placeholder{color:#94a3b8}select.take-text-input{cursor:pointer}.take-checkbox-question{flex-direction:column;display:flex}.take-match{flex-direction:column;gap:10px;display:flex}.take-match-row{grid-template-columns:1fr 1fr;align-items:center;gap:12px;display:grid}.take-match-left{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px;font-size:14px}.take-match-row select{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:12px 16px;font-size:14px}.take-captcha{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin:0 0 8px;padding:20px 28px;box-shadow:0 4px 6px -1px #00000008}.take-submit{align-items:center;gap:12px;margin:24px 0 50px;display:flex}.take-submit button{color:#fff;cursor:pointer;background:#3661f4;border:none;border-radius:8px;padding:12px 28px;font-size:15px;font-weight:600}.take-submit button:hover{background:#2b52d6}.take-submit button:disabled{cursor:not-allowed;background:#c7d2fe}.take-submit .take-cancel{color:#334155;background:#fff;border:1px solid #cbd5e1}.take-submit .take-cancel:hover:not(:disabled){background:#f1f5f9}.take-submit .take-cancel:disabled{opacity:.5;cursor:not-allowed}.take-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:12px 16px}.take-error--anchor{margin:20px 0 0}.take-result{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:32px 28px;box-shadow:0 4px 6px -1px #00000008}.take-result h1{color:#1e293b;margin:0 0 20px}.score-circle{border:6px solid;border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;margin:0 auto 16px;font-size:28px;font-weight:700;display:flex}.score-pass{color:#047857;background:#01d3561f;border-color:#01d356}.score-fail{color:#b91c1c;background:#fef2f2;border-color:#ef4444}.score-text{color:#475569;margin-bottom:20px;font-size:15px}.result-list{text-align:left;max-width:400px;margin:0 auto;padding:0;list-style:none}.result-list li{border-radius:6px;margin-bottom:6px;padding:8px 12px;font-size:14px}.result-list li.ok{color:#065f46;background:#ecfdf5}.result-list li.bad{color:#991b1b;background:#fef2f2}.result-list li.unscored{color:#475569;background:#f1f5f9}.take-certificate{border-top:1px dashed #e2e8f0;flex-direction:column;align-items:center;gap:12px;margin-top:24px;padding-top:20px;display:flex}.take-certificate-img{border:1px solid #e2e8f0;border-radius:10px;width:100%;max-width:640px;height:auto;box-shadow:0 6px 18px #0f172a14}.take-certificate-download{color:#fff;background:#3661f4;border-radius:8px;padding:12px 24px;font-size:15px;font-weight:600;text-decoration:none}.take-certificate-download:hover{background:#2b52d6}.take-certificate-note{color:#64748b;max-width:560px;margin:0;font-size:12px;line-height:1.5}.take-match-hint{color:#64748b;margin:0 0 12px;font-size:13px}.take-match-pos{color:#3661f4;margin-right:4px;font-weight:600}.take-match-right{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:8px 8px 8px 16px;display:flex}.take-match-handle{color:#94a3b8;cursor:grab;-webkit-user-select:none;user-select:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:22px;font-size:18px;line-height:1;transition:color .12s,background-color .12s;display:inline-flex}.take-match-handle:hover{color:#475569;background:#eef2f7}.take-match-handle:active{cursor:grabbing}.take-match-handle--dragging{opacity:.4}.take-match-value{color:#334155;word-break:break-word;cursor:grab;border-radius:6px;flex:1;padding:2px 4px;font-size:14px;transition:background-color .12s,opacity .12s}.take-match-value:hover{background:#eef2f7}.take-match-value:active{cursor:grabbing}.take-match-value--dragging{opacity:.4}.take-match-row--over .take-match-right{border-color:#3661f4;box-shadow:0 0 0 3px #3661f42e}.take-match-buttons{flex-direction:column;flex-shrink:0;gap:4px;display:flex}.take-arrow{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;width:30px;height:22px;font-size:11px;line-height:1;transition:background-color .12s;display:inline-flex}.take-arrow:hover:not(:disabled){background:#3661f414;border-color:#3661f466}.take-arrow:disabled{opacity:.35;cursor:not-allowed}@media (width<=560px){.take-match-right{padding:8px 8px 8px 12px}}.admin-page{max-width:var(--app-max-width,1100px);box-sizing:border-box;margin:30px auto;padding:0 15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.admin-page *,.admin-page :before,.admin-page :after{box-sizing:inherit}.admin-title{color:#0f172a;margin:0 0 20px;font-size:24px}.admin-tabs{gap:8px;margin-bottom:18px;display:flex}.admin-tabs button{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:10px 20px;font-size:15px;font-weight:600}.admin-tabs button.active{color:#fff;background:#fa7c30;border-color:#fa7c30}.admin-section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px}.admin-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.admin-search{border:1px solid #cbd5e1;border-radius:8px;outline:none;flex:1;min-width:200px;padding:10px 14px;font-size:14px}.admin-search:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.admin-select{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 14px;font-size:14px}.admin-btn{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600}.admin-btn:hover{background:#e2e8f0}.admin-table{border-collapse:collapse;width:100%;font-size:14px}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid #f1f5f9;padding:10px 12px}.admin-table th{color:#475569;background:#f8fafc;font-weight:600}.cell-title{color:#0f172a;font-weight:600}.cell-token{color:#64748b;font-family:monospace;font-size:12px}.cell-actions{white-space:nowrap}.cell-muted{color:#94a3b8}.link-btn{color:#3661f4;cursor:pointer;background:0 0;border:none;padding:2px 8px;font-size:13px}.link-btn:hover{text-decoration:underline}.link-btn.danger{color:#dc2626}.badge{border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600}.badge-pub{color:#047857;background:#01d35626}.badge-draft{color:#c2570a;background:#fa7c3026}.badge-pending{color:#3a3ecc;background:#454af81a}.badge-rejected{color:#b91c1c;background:#fef2f2}.badge-service{color:#454af8;background:#454af81f;margin-left:6px}.admin-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 14px}.admin-empty{color:#64748b;text-align:center;padding:24px}.certificates-page,.cert-editor-page{max-width:var(--app-max-width,1100px);box-sizing:border-box;margin:30px auto;padding:0 15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.certificates-page *,.certificates-page :before,.certificates-page :after,.cert-editor-page *,.cert-editor-page :before,.cert-editor-page :after{box-sizing:inherit}.cert-head,.cert-editor-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.cert-head h1,.cert-editor-head h1{color:#0f172a;margin:0 0 6px;font-size:22px}.cert-sub{color:#64748b;max-width:640px;margin:0;font-size:13px;line-height:1.5}.cert-primary,.cert-secondary{cursor:pointer;white-space:nowrap;border-radius:8px;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:600}.cert-primary{color:#fff;background:#3661f4;border:none}.cert-primary:hover{background:#2b52d6}.cert-primary:disabled{cursor:not-allowed;background:#c7d2fe}.cert-secondary{color:#334155;background:#fff;border:1px solid #cbd5e1}.cert-secondary:hover{background:#f1f5f9}.cert-secondary:disabled{opacity:.6;cursor:not-allowed}.cert-error,.cert-message{border-radius:8px;margin:10px 0;padding:10px 14px;font-size:13px}.cert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.cert-message{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.cert-empty{text-align:center;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:28px}.cert-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;display:grid}.cert-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 6px -1px #00000008}.cert-card-preview{background-color:#f8fafc;background-image:linear-gradient(135deg,#eef2f7 25%,#0000 25%),linear-gradient(225deg,#eef2f7 25%,#0000 25%);background-position:50%;background-repeat:repeat;background-size:18px 18px;height:150px;position:relative}.cert-card-preview[style]{background-repeat:no-repeat;background-size:cover}.cert-card-fields{color:#334155;background:#ffffffe6;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:600;position:absolute;bottom:10px;right:10px}.cert-card-body{padding:14px 16px 8px}.cert-card-body h2{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:16px;overflow:hidden}.cert-card-meta{color:#94a3b8;margin:0;font-size:12px}.cert-card-actions{gap:8px;margin-top:auto;padding:12px 16px 16px;display:flex}.cert-card-actions button{color:#3661f4;cursor:pointer;background:#3661f414;border:1px solid #3661f44d;border-radius:8px;flex:1;padding:8px 10px;font-family:inherit;font-size:13px;font-weight:500}.cert-card-actions button:hover{background:#3661f426}.cert-card-actions button.danger{color:#dc2626;background:#fef2f2;border-color:#fecaca}.cert-card-actions button.danger:hover{background:#fee2e2}.cert-card-actions button:disabled{opacity:.6;cursor:not-allowed}.cert-editor-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px;display:grid}.cert-preview-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px;box-shadow:0 4px 6px -1px #00000008}.cert-name-field{color:#475569;flex-direction:column;gap:5px;margin-bottom:12px;font-size:12px;font-weight:600;display:flex}.cert-name-field input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-family:inherit;font-size:14px}.cert-name-field input:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.cert-preview-wrap{background:#eef2f7;border-radius:10px;width:100%;overflow:hidden}.cert-canvas{touch-action:none;background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:cover;margin:0 auto;position:relative;overflow:hidden;box-shadow:0 2px 10px #0f172a1f}.cert-field{white-space:pre-wrap;overflow-wrap:break-word;cursor:move;-webkit-user-select:none;user-select:none;border:1px dashed #0000;border-radius:4px;margin:0;padding:2px 4px;line-height:1.2;position:absolute}.cert-field:hover{border-color:#3661f473}.cert-field--selected{background:#3661f40f;border-color:#3661f4;box-shadow:0 0 0 2px #3661f424}.cert-field--placeholder{opacity:.55}.cert-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.cert-toolbar span{color:#475569;font-size:13px;font-weight:600}.cert-toolbar button{color:#3661f4;cursor:pointer;background:#3661f414;border:1px solid #3661f44d;border-radius:8px;padding:7px 12px;font-family:inherit;font-size:13px;font-weight:500}.cert-toolbar button:hover{background:#3661f426}.cert-props{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;position:sticky;top:90px;box-shadow:0 4px 6px -1px #00000008}.cert-props h2{color:#1e293b;margin:0 0 12px;font-size:15px}.cert-props label{color:#475569;flex-direction:column;gap:4px;margin-bottom:10px;font-size:12px;font-weight:600;display:flex}.cert-props label.inline{cursor:pointer;flex-direction:row;align-items:center;gap:8px}.cert-props input[type=text],.cert-props input[type=number],.cert-props select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;padding:8px 10px;font-family:inherit;font-size:13px}.cert-props input[type=color]{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;height:34px;padding:2px}.cert-props input:focus,.cert-props select:focus{border-color:#3661f4;box-shadow:0 0 0 3px #3661f41f}.cert-props-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.cert-props .cert-remove-field{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;width:100%;margin-top:4px;padding:9px 12px;font-family:inherit;font-size:13px;font-weight:600}.cert-props .cert-remove-field:hover{background:#fee2e2}.cert-props-empty{color:#64748b;margin:0;font-size:13px;line-height:1.5}.cert-bg-bar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.cert-bg-bar .cert-bg-name{color:#64748b;font-size:12px}.cert-bg-bar input[type=file]{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.cert-bg-label{color:#3661f4;cursor:pointer;background:#3661f414;border:1px solid #3661f44d;border-radius:8px;align-items:center;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.cert-bg-label:hover{background:#3661f426}.cert-bg-label--busy{opacity:.6;cursor:progress}.cert-editor-actions{flex-wrap:wrap;gap:10px;margin-top:18px;padding-bottom:50px;display:flex}@media (width<=900px){.cert-editor-layout{grid-template-columns:1fr}.cert-props{position:static}}
