:root{font-family:Space Grotesk,Inter,system-ui,-apple-system,sans-serif;line-height:1.5;color:#0f172a;background:radial-gradient(circle at 20% 20%,#f0f8ff,#fff 45%),radial-gradient(circle at 90% 10%,#e9f7ef,#fff 40%),#fdfdfd;--border: #e5e7eb;--muted: #6b7280;--card: #ffffff;--accent: #0ea5e9;--accent-strong: #0284c7;--shadow: 0 20px 45px rgba(15, 23, 42, .08)}*{box-sizing:border-box}body{margin:0;color:#0f172a;min-height:100vh}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.top-bar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:16px 32px;background:#ffffffe6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-bottom:1px solid var(--border)}.brand{display:inline-flex;gap:12px;align-items:center;font-weight:700}.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#0ea5e9,#fbbf24);color:#fff;display:grid;place-items:center;font-weight:800;letter-spacing:-.02em}.brand-name{display:flex;flex-direction:column;line-height:1.2}.brand-title{font-size:18px}.brand-subtitle{color:var(--muted);font-size:12px}.nav-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.nav-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.primary-button,.ghost-button,.nav-link,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 16px;border-radius:12px;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s ease,color .15s ease,border .15s ease,transform .15s ease}.primary-button{border:none;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;box-shadow:var(--shadow)}.primary-button:disabled{opacity:.6;cursor:not-allowed}.primary-button:hover:not(:disabled){transform:translateY(-1px)}.ghost-button{background:#f8fafc;color:#0f172a;border:1px solid var(--border)}.ghost-button:hover:not(:disabled),.nav-link:hover{background:#e5e7eb}.danger-button{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.danger-button:hover:not(:disabled){background:#fecaca}.nav-link{color:#0f172a;background:#f8fafc;border:1px solid var(--border);border-radius:12px;padding:10px 16px}.menu-toggle{display:none}.nav-pill{background:#0ea5e9;color:#fff;border-color:transparent}.nav-link.muted{background:transparent;border-color:transparent;color:var(--muted)}.page-container{max-width:1100px;margin:0 auto;padding:32px 24px 64px}.page{display:flex;flex-direction:column;gap:24px}.page-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.survey-info-card{flex:1;padding:18px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.survey-info-card h2{margin:0 0 6px}.survey-info-headline{display:flex;align-items:center;justify-content:space-between;gap:12px}.survey-info-meta{display:flex;flex-direction:column;gap:4px}.survey-column,.responses-column,.costs-cell{display:flex;flex-direction:column;gap:4px;justify-content:center}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700;margin:0 0 8px}.lede{color:#111827;max-width:720px}.hero{display:grid;grid-template-columns:2fr 1fr;gap:24px;align-items:center}.hero-copy{display:flex;flex-direction:column;gap:12px}.hero h1{margin:0 0 12px;font-size:42px;letter-spacing:-.02em}.hero-cta-inline{display:flex;gap:12px;margin-top:18px}.hero-cta-inline .primary-button{align-self:flex-start}.hero-panel{display:flex;flex-direction:column;gap:16px}.hero-card,.card{background:var(--card);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;padding:20px}.topup-form{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end}.topup-form .field{flex:1}.billing-summary{border:1px dashed var(--border);border-radius:12px;padding:16px;background:#f8fafc}.billing-summary ul{margin:8px 0;padding-left:18px}.billing-summary li{margin-bottom:4px}.survey-summary{padding:20px 24px}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.summary-item{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}.summary-label{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.summary-subtext{color:var(--muted);font-size:13px}.analytics-panel{padding:20px 24px;display:flex;flex-direction:column;gap:18px}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.insight-card{border:1px solid var(--border);border-radius:14px;padding:16px;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px}.chart-card-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.sparkline{display:flex;flex-direction:column;gap:4px}.sparkline svg{width:100%;height:80px}.sparkline-area{fill:#0ea5e91f}.sparkline-line{fill:none;stroke:#0ea5e9;stroke-width:2;stroke-linecap:round}.sparkline-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.progress-grid{display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between}.progress-circle{--value: 0%;--circle-color: #0ea5e9;width:110px;height:110px;border-radius:50%;background:conic-gradient(var(--circle-color) var(--value),#e5e7eb 0);display:grid;place-items:center;position:relative;font-size:.95rem;text-align:center}.progress-circle:after{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;background:#fff;border-radius:50%}.progress-circle>div{position:relative;z-index:1;display:flex;flex-direction:column;gap:2px}.progress-circle strong{font-size:1.1rem}.rating-summary-list{display:flex;flex-direction:column;gap:14px}.rating-summary-row{display:flex;flex-direction:column;gap:6px}.rating-summary-label{font-weight:600}.rating-summary-bar{width:100%;height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.rating-summary-bar-fill{height:100%;background:linear-gradient(90deg,#f97316,#fb923c);border-radius:999px}.rating-summary-value{font-weight:600;font-size:.95rem}.ghost-button.small-button,.danger-button.small-button{padding:6px 10px;font-size:13px;margin-top:0}.status-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600}.status-open{background:#dcfce7;color:#166534}.status-closed{background:#fee2e2;color:#991b1b}.status-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}.status-header{text-align:center;justify-self:center}.costs-cell{display:flex;flex-direction:column;gap:4px}.cost-primary{font-weight:700}.actions-header{text-align:center}.auth-form{max-width:520px}.bullet-list{margin:12px 0 0;padding-left:1rem;color:#111827}.hero-card .bullet-list{list-style:none;padding-left:0}.hero-card .bullet-list li{margin-bottom:12px}.hero-card .bullet-list strong{display:block;font-weight:700;color:#0f172a}.hero-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hero-metrics div{border-radius:14px;background:linear-gradient(135deg,#eff6ff,#e0f2fe);padding:16px;border:1px solid rgba(15,23,42,.06);display:flex;flex-direction:column;gap:4px}.hero-metrics strong{font-size:32px;line-height:1}.hero-metrics span{font-size:.9rem;color:#475569}.landing-grid{margin-top:36px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.landing-card{border-radius:18px;padding:20px;border:1px solid var(--border);background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:10px}.landing-card h3{margin:0}.landing-card p{margin:0;color:#475569}.list-header,.list-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:center}.list-header.surveys,.list-row.surveys{grid-template-columns:2fr .95fr .85fr .8fr .8fr}.list-header.topups,.list-row.topups{grid-template-columns:2fr 1fr 1fr}.list-header{font-weight:700;padding-bottom:12px;border-bottom:1px solid var(--border)}.list-row{padding:12px 0;border-bottom:1px solid var(--border)}.row-title{font-weight:700}.row-actions{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center}.muted{color:var(--muted)}.empty-state{text-align:left;color:var(--muted)}.form{display:flex;flex-direction:column;gap:18px}.form-section{border:1px solid var(--border);border-radius:14px;padding:16px;background:#f8fafc;display:flex;flex-direction:column;gap:16px}.form-section-heading h3{margin:0 0 4px;text-align:center}.field{display:flex;flex-direction:column;gap:8px}input,textarea,select{width:100%;padding:10px 12px;border-radius:10px;border:1px solid var(--border);font-size:15px;font-family:inherit;background:#fff}textarea{resize:vertical}.question-list{display:flex;flex-direction:column;gap:12px}.question-row{position:relative;padding:16px 0}.question-row:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:var(--border)}.question-row:first-of-type{padding-top:0}.question-row:first-of-type:before{display:none}.question-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px}.question-remove-button{margin:0;width:auto}.add-question-button{background:#eef2ff;border-color:#c7d2fe;color:#1e1b4b}.add-question-button:hover{background:#c7d2fe}.question-main{flex:1;display:flex;flex-direction:column;gap:12px}.question-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.question-meta .field>span,.rating-config .field>span{text-align:center}.rating-config{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.rating-config .field{width:90px}.form-actions{display:flex;justify-content:flex-end;gap:12px}.question-block{border:1px solid var(--border);border-radius:14px;padding:14px;background:#f8fafc}.form-overlay-wrapper{position:relative}.form.blurred{filter:blur(3px);pointer-events:none;-webkit-user-select:none;user-select:none}.form-overlay-wrapper .form{position:relative}.form-overlay-card{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;text-align:center;background:#0f172abf;color:#fff;border-radius:18px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);gap:12px;z-index:1}.form-overlay-card h3{margin:0}.form-overlay-card p{max-width:460px}.question-actions{display:flex;align-items:center;gap:10px;margin:8px 0;flex-wrap:wrap;justify-content:space-between}.attempts-indicator{font-size:.85rem;color:#475569;font-weight:500}.preview{background:#fff;border-radius:12px;border:1px dashed var(--border);padding:10px 12px;position:relative}.preview.is-editing{border-style:solid}.preview.confirmed{border-color:#86efac;background:#ecfdf5}.preview-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.preview-edit-button{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#475569;font-weight:600;cursor:pointer;padding:2px 4px}.preview-edit-button:hover{color:#0f172a}.preview textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:8px;font-size:.95rem;resize:vertical;min-height:90px}.preview-actions{margin-top:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.confirm-note{font-size:.9rem;color:#15803d;font-weight:600}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;padding:20px;z-index:100}.modal-card{background:#fff;border-radius:18px;padding:28px;max-width:420px;width:100%;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px}.modal-card h3{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.rating-scale{display:flex;flex-wrap:wrap;gap:8px}.rating-pill{min-width:42px;padding:8px 0;border-radius:10px;border:1px solid var(--border);background:#fff;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease,border .15s ease}.rating-pill:hover{background:#f1f5f9}.rating-pill.selected{background:#0ea5e9;border-color:#0ea5e9;color:#fff}.rating-response{font-weight:600}.responses-panel{display:flex;flex-direction:column;gap:16px}.responses-heading h3{margin:0}.responses-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.view-toggle{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}.view-toggle .ghost-button{border:none;border-radius:0;padding:8px 14px;min-width:120px;font-size:14px}.view-toggle .ghost-button.active{background:#0ea5e9;color:#fff;border-color:transparent}.responses-toolbar input,.responses-toolbar select{flex:1;min-width:180px}.responses-list{display:flex;flex-direction:column;gap:16px}.response-card{border:1px solid var(--border);border-radius:16px;padding:16px;background:#f8fafc;display:flex;flex-direction:column;gap:12px}.response-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.response-answers{display:flex;flex-direction:column;gap:12px}.response-question{display:grid;grid-template-columns:1fr 2fr;gap:12px;padding-top:12px;border-top:1px solid var(--border)}.response-question:first-of-type{border-top:none;padding-top:0}.response-question-label{font-weight:600}.response-answer{display:flex;flex-direction:column;gap:8px}.answer-text{margin:0;line-height:1.5;white-space:pre-line}.rating-result{display:flex;flex-direction:column;gap:6px}.rating-result-value{display:inline-flex;align-items:baseline;gap:4px}.rating-number{font-size:1.35rem;font-weight:700}.rating-scale{color:var(--muted);font-size:.95rem}.rating-meter{width:100%;height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}.rating-meter-fill{height:100%;background:linear-gradient(135deg,#0ea5e9,#06b6d4)}.rating-range{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.rating-chip{display:inline-flex;align-items:baseline;gap:4px;padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:#fff;font-weight:600}.rating-chip-value{font-size:1rem}.rating-chip-scale{color:var(--muted);font-size:.9rem}.response-id{white-space:nowrap}.question-responses-list{display:flex;flex-direction:column;gap:16px}.question-response-card{border:1px solid var(--border);border-radius:16px;padding:16px;background:#fff;box-shadow:var(--shadow)}.question-response-header{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.question-response-header h4{margin:0}.question-answer-list{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}.question-answer-list li{border-top:1px solid var(--border);padding-top:12px}.question-answer-list li:first-of-type{border-top:none;padding-top:0}.question-answer-meta{font-size:13px;color:var(--muted);margin-bottom:4px}.notice{padding:12px 14px;border-radius:12px;border:1px solid var(--border);display:inline-flex;align-items:center;gap:10px}.notice-muted{background:#f8fafc}.notice-error{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.spinner{width:14px;height:14px;border:2px solid #cbd5e1;border-top-color:#0ea5e9;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.thank-you{text-align:left;padding:24px}.error-inline{color:#b91c1c;font-size:14px}.small{font-size:12px}@media (max-width: 900px){.top-bar{flex-direction:column;align-items:stretch;padding:14px 20px;gap:12px}.menu-toggle{display:inline-flex;width:100%}.brand{width:100%;justify-content:center;text-align:center}.nav-links{display:none;width:100%;justify-content:stretch;gap:8px}.nav-links.nav-open{display:flex}.nav-group{width:100%;justify-content:stretch;gap:8px}.nav-links .nav-link,.nav-links .ghost-button,.nav-links .primary-button,.nav-links button{width:100%;text-align:center}.account-menu,.account-menu .credit-button{width:100%}.page-container{padding:24px 20px 56px}.page-header{flex-direction:column;align-items:stretch;gap:16px}.page-header>*{width:100%}.page-header .primary-button,.page-header .ghost-button{text-align:center}.hero{grid-template-columns:1fr;gap:16px}.hero-cta{width:100%}.hero-metrics,.list-header,.list-row,.responses{grid-template-columns:1fr}}@media (max-width: 720px){.question-meta{flex-direction:column;align-items:stretch}.rating-config{width:100%;justify-content:center;gap:16px}.rating-config .field{width:120px}.list-header.surveys{display:none}.list-row.surveys{grid-template-columns:1fr;padding:16px 0;gap:16px}.status-cell{align-items:flex-start}.row-actions{flex-direction:column;align-items:stretch}.row-actions .ghost-button{width:100%}.form-actions{flex-direction:column;align-items:stretch}.form-actions .primary-button{width:100%}.responses-toolbar{flex-direction:column;align-items:stretch}.view-toggle{width:100%}.view-toggle .ghost-button{flex:1}.response-question{grid-template-columns:1fr}}@media (max-width: 600px){.page-container{padding:20px 16px 48px}.hero h1{font-size:34px}}.account-menu{position:relative}.credit-button{white-space:nowrap;border:1px solid var(--border);border-radius:10px;background:#fff;font-weight:600}.credit-button:focus{outline:2px solid #0ea5e9}.account-dropdown{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);min-width:320px;width:min(360px,calc(100vw - 32px));padding:16px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);z-index:20;display:flex;flex-direction:column;gap:10px}.account-dropdown-row{display:flex;justify-content:space-between;font-size:14px}.topup-form.compact{flex-direction:column;align-items:stretch;padding:0}.topup-form.compact .field,.topup-form.compact .primary-button{width:100%}.history-button{width:100%;justify-content:center;text-align:center}
