*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:radial-gradient(circle at top left,#f2f7ff,#eef2ff 42%,#e4ecff);color:#0f172a}.app-root{min-height:100vh}.page{min-height:100vh;display:flex;align-items:stretch;justify-content:center;padding:28px}.centered{margin:48px auto;text-align:center}.error{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5;padding:10px 12px;border-radius:10px;margin-bottom:14px}.card{background:#ffffffeb;border:1px solid rgba(148,163,184,.3);border-radius:18px;padding:24px;box-shadow:0 16px 36px #0f172a1f;width:100%;max-width:960px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.card.small{max-width:430px}.card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}h1{margin:0 0 6px;font-size:1.6rem;font-weight:700;letter-spacing:-.01em}h2{margin-top:0;margin-bottom:6px;font-size:1.05rem;font-weight:700}h3{margin:0;font-size:.95rem;font-weight:600}p{margin:0}.page-subtitle{color:#475569;margin-bottom:18px;font-size:.93rem}.description{margin-top:0;margin-bottom:16px;color:#475569}.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:16px}.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:16px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.field label{font-size:.82rem;color:#64748b;font-weight:600}.section{border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:14px;margin-bottom:14px}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}input,textarea,select{border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;padding:9px 11px;font-size:.95rem;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}input[type=checkbox],input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;border:1.5px solid #94a3b8;background:#fff;cursor:pointer;position:relative;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .08s ease;flex-shrink:0}input[type=checkbox]{border-radius:6px}input[type=radio]{border-radius:999px}input[type=checkbox]:hover,input[type=radio]:hover{border-color:#6366f1}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:none;box-shadow:0 0 0 3px #6366f133;border-color:#6366f1}input[type=checkbox]:active,input[type=radio]:active{transform:scale(.96)}input[type=checkbox]:checked,input[type=radio]:checked{background:linear-gradient(135deg,#4f46e5,#6366f1);border-color:#4f46e5}input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid #ffffff;border-width:0 2px 2px 0;transform:rotate(45deg)}input[type=radio]:checked:after{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;background:#fff;border-radius:999px;transform:translate(-50%,-50%)}input:focus,textarea:focus,select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}textarea{resize:vertical}.primary-button,.secondary-button{border-radius:10px;border:1px solid transparent;padding:10px 18px;font-size:.95rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:500;transition:background .15s ease,transform .05s ease,box-shadow .15s ease,opacity .15s ease}.primary-button{background:linear-gradient(90deg,#4f46e5,#6366f1);color:#fff;box-shadow:0 8px 20px #4f46e559;text-decoration:none}.primary-button:hover{transform:translateY(-1px);box-shadow:0 14px 28px #4f46e552}.primary-button:disabled{opacity:.6;cursor:default;box-shadow:none}.secondary-button{background:#fff;color:#334155;border:1px solid #cbd5e1;text-decoration:none}.secondary-button:hover{background:#f8fafc}.question-block{padding:14px 0;border-top:1px solid #e2e8f0}.question-text{font-weight:500;margin-bottom:8px}.option{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:.95rem}.option input{width:18px;height:18px}.score{font-size:1.1rem}.comment{margin-top:12px;color:#065f46;background:#dcfce7;border:1px solid #86efac;padding:9px 12px;border-radius:8px}.results-list{margin-top:24px}.result-question{border-radius:10px;background:#fff;border:1px solid #e2e8f0;padding:10px 12px;margin-bottom:8px}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.result-text{font-size:.95rem}.badge{padding:2px 8px;border-radius:999px;font-size:.75rem}.badge-success{background:#dcfce7;color:#166534}.badge-fail{background:#fee2e2;color:#b91c1c}.result-score{font-size:.85rem;color:#64748b}.layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;width:100%;max-width:1280px}.sidebar{background:#0f172a;color:#e2e8f0;border-radius:18px;padding:20px;box-shadow:0 20px 34px #0f172a38;display:flex;flex-direction:column;justify-content:space-between}.sidebar-top{display:flex;align-items:flex-start;gap:12px}.brand-pill{width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#6366f1,#4f46e5);color:#fff;font-weight:700;font-size:.78rem;box-shadow:0 8px 18px #4f46e559;flex-shrink:0}.sidebar h2{margin-top:0;margin-bottom:4px;font-size:1.02rem;color:#f8fafc}.sidebar-subtitle{color:#94a3b8;font-size:.78rem;margin-bottom:0}.sidebar-nav{display:flex;flex-direction:column;gap:6px;margin-top:18px}.sidebar-link{color:#e2e8f0;text-decoration:none;font-size:.9rem;padding:10px 11px;border-radius:10px;border:1px solid transparent;transition:background .15s ease,border-color .15s ease,color .15s ease}.sidebar-link:hover{background:#1e293b;border-color:#334155}.sidebar-link.active{background:#6366f12e;border-color:#818cf873;color:#c7d2fe}.sidebar-footer{margin-top:18px;padding-top:12px;border-top:1px solid #1e293b;color:#94a3b8;font-size:.76rem;line-height:1.4}.content{display:flex;flex-direction:column;gap:16px}.table{width:100%;border-collapse:collapse;font-size:.9rem;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.table th,.table td{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left;background:#fff}.table th{color:#475569;font-weight:600;font-size:.82rem;background:#f8fafc}.table tr:hover td{background:#f8fbff}.actions{display:flex;gap:12px;flex-wrap:wrap}.link-button{background:none;border:none;color:#4f46e5;cursor:pointer;padding:0;font-size:.86rem;font-weight:600;text-decoration:none}.link-button.danger{color:#dc2626}.checkbox-inline{display:inline-flex;align-items:center;gap:6px;font-size:.9rem}.question-editor{border-radius:14px;border:1px solid #dbeafe;padding:12px 14px;margin-bottom:10px;background:#f8fbff}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.85rem;color:#64748b}.question-title{font-weight:700;color:#1e293b}.options-block{margin-top:8px;border-top:1px dashed #cbd5e1;padding-top:8px}.options-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.option-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center;margin-bottom:6px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px}.option-text{width:100%}.score-input{width:70px}.range-row{display:grid;grid-template-columns:120px 120px minmax(0,1.2fr) minmax(0,1.6fr) auto;gap:8px;align-items:center;margin-bottom:8px;border:1px solid #dbeafe;background:#f8fbff;border-radius:12px;padding:10px}.flex-1{flex:1}.flex-2{flex:2}.empty-state{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;text-align:center;color:#64748b;background:#f8fafc}.muted{color:#64748b}.billing-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 16px}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.plan-card{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px}.plan-title{font-size:1rem;font-weight:700;color:#1e293b}.plan-price{font-size:1.65rem;font-weight:800;color:#4f46e5;letter-spacing:-.02em}.plan-meta{margin-top:4px;font-size:.85rem;color:#475569;display:flex;flex-direction:column;gap:4px}.plan-button{margin-top:10px;width:100%}@media (max-width: 900px){.page{padding:14px}.layout{grid-template-columns:1fr}.sidebar{order:-1;display:flex;align-items:center;justify-content:space-between;padding:14px}.card{padding:16px}.range-row{grid-template-columns:repeat(2,minmax(0,1fr))}.option-row{grid-template-columns:minmax(0,1fr)}}
