:root{--navy:#172b4b;--deep:#101f37;--blue:#3663ca;--ink:#15263d;--muted:#65768e;--line:#e3e9f2;--background:#f4f7fb;--panel:#fff;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--background)}
*{box-sizing:border-box}body{margin:0}a{color:#315abb;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}.shell{display:flex;min-height:100vh}.sidebar{background:var(--deep);color:#edf2ff;width:252px;flex-shrink:0;padding:29px 20px;display:flex;flex-direction:column}.logo{color:#fff;font-size:17px;font-weight:850;letter-spacing:.09em;display:flex;align-items:center;gap:10px;margin:0 6px 52px}.logo:hover{text-decoration:none}.logo-mark{width:33px;height:33px;display:grid;place-items:center;background:#4b7be8;color:#fff;border-radius:10px;font-size:17px;letter-spacing:0}.sidebar-label{color:#8da3c8;text-transform:uppercase;font-size:10px;font-weight:750;letter-spacing:.14em;padding:0 12px;margin-bottom:13px}.sidebar-nav{display:grid;gap:8px}.nav-item{border-radius:9px;padding:12px 13px;color:#cbd7ee;font-weight:550}.nav-item:hover{background:#203553;color:#fff;text-decoration:none}.sidebar-bottom{margin-top:auto;border-top:1px solid #2a3d59;padding-top:23px}.sidebar-user{padding:0 12px 14px;font-weight:650;overflow-wrap:anywhere}.signout{cursor:pointer;background:none;border:0;padding:8px 12px;color:#d0dbed}.signout:hover{color:#fff}.content{flex:1;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.crumb{font-size:13px;color:var(--muted);font-weight:600}.environment{font-size:10px;color:#765b12;border:1px solid #f2db9a;background:#fff8df;border-radius:99px;padding:7px 12px;font-weight:750;letter-spacing:.08em}.main{max-width:1330px;margin:auto;padding:42px 40px}.page-heading{display:flex;justify-content:space-between;margin:0 0 29px}.page-heading h1,.login-card h1{font-size:34px;letter-spacing:-.035em;line-height:1.2;margin:9px 0 8px}.page-heading p,.login-card p{margin:0;color:var(--muted);line-height:1.6}.eyebrow{letter-spacing:.15em;font-weight:750;font-size:10px;color:#5574b3}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px 25px;box-shadow:0 8px 20px #12244306}.stat-card span{display:block;font-size:13px;color:var(--muted);margin-bottom:12px}.stat-card strong{font-size:26px;letter-spacing:-.02em}.section-card{margin-bottom:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 8px 20px #12244305}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.section-head h2,.section-card h2{font-size:18px;margin:0 0 7px}.section-card p{line-height:1.55}.muted{color:var(--muted);font-size:13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{color:var(--muted);text-transform:uppercase;font-size:11px;letter-spacing:.06em;padding:13px 12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid #edf0f5;font-size:14px}tr:last-child td{border-bottom:0}.empty{color:var(--muted);padding:25px 12px}.button{display:inline-block;padding:13px 18px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:650;cursor:pointer;text-align:center}.button:hover{background:#214eae;color:#fff;text-decoration:none}.button-secondary{background:#e9eef9;color:#264b9d}.button-secondary:hover{background:#dbe6fa;color:#264b9d}.two-column{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr);gap:22px;align-items:start}.form-stack{display:flex;flex-direction:column;gap:9px;margin-top:24px}.form-stack label{font-size:13px;font-weight:650}.form-stack input,.form-stack select{min-height:44px;padding:10px 12px;border:1px solid #bdcadc;border-radius:9px;background:#fff;width:100%;color:var(--ink);margin-bottom:10px}.form-stack input:focus,.form-stack select:focus{border-color:#3663ca;outline:3px solid #d4e0ff}.form-stack button{margin-top:8px}.errorlist{list-style:none;margin:0 0 8px;padding:0;color:#aa3030;font-size:12px}.alert{background:#fff1f0;border:1px solid #f4c4bf;border-radius:9px;color:#8d2c24;padding:13px;margin:14px 0}.backlink{display:inline-block;font-size:13px;margin:0 0 25px}.narrow{max-width:520px}.login-body{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 18% 20%,#e5efff,transparent 42%),var(--background)}.login-card{width:min(100%,440px);background:#fff;border:1px solid var(--line);border-radius:21px;padding:42px;box-shadow:0 28px 90px #22385515}.logo-dark{color:var(--deep);margin:0 0 44px}.login-card h1{font-size:30px}.login-card .form-stack{margin-top:30px}.login-footer{font-size:12px;margin-top:27px!important}.empty-state{padding:44px}
@media(max-width:950px){.sidebar{width:205px}.main{padding:30px 20px}.topbar{padding:0 22px}.two-column{grid-template-columns:1fr}.section-card{padding:20px}}
@media(max-width:640px){.shell{display:block}.sidebar{width:100%;padding:16px;flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap}.logo{margin:0 12px 0 0}.sidebar-label,.sidebar-bottom{display:none}.sidebar-nav{display:flex;flex-wrap:wrap;gap:4px}.nav-item{font-size:12px;padding:8px}.topbar{height:54px;padding:0 18px}.main{padding:25px 14px}.page-heading h1{font-size:29px}.summary-grid{grid-template-columns:1fr;gap:10px}.stat-card{padding:15px 20px}.stat-card strong{font-size:22px}.section-head{align-items:flex-start;flex-direction:column}.login-card{padding:30px 23px}.environment{font-size:9px}}


/* Tellvilo Studio components */
.logo-dot {color:#7ca4ff;margin-left:-8px}
.editor-top-actions {display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.version-tag,.table-status {display:inline-flex;align-items:center;border-radius:99px;padding:7px 10px;background:#ebf7f1;color:#168054;font-weight:700;font-size:12px;white-space:nowrap}
.portal-notice {background:#f0f7ff;border:1px solid #cbdefa;color:#244f96;border-radius:12px;padding:15px;margin:0 0 22px}
.editor-grid {display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.85fr);gap:22px;align-items:start}
.editor-sidebar .section-card {margin-bottom:16px}.editor-sidebar p{font-size:13px;line-height:1.7;color:var(--muted)}
.editor-sidebar label{font-size:12px;font-weight:650;display:block;margin:13px 0}
.editor-sidebar label input {font-size:11px;margin-top:6px;min-width:0;width:100%;border:1px solid var(--line);border-radius:8px;padding:9px}
.block-link {display:block;margin-top:12px}
.builder-section-label {margin:23px 0 15px;font-size:12px;font-weight:800;color:#4e6aa0;letter-spacing:.09em;text-transform:uppercase;padding-top:17px;border-top:1px solid var(--line)}
.builder-form input,.builder-form textarea,.builder-form select,.template-card input,.case-form select {border:1px solid #c1ccdb;background:#fff;color:var(--ink);border-radius:9px;min-height:43px;padding:10px 12px;font:inherit;width:100%}
.builder-form input:focus,.builder-form textarea:focus,.builder-form select:focus {border-color:#4579d4;outline:3px solid #d9e6ff}
.builder-form textarea{resize:vertical;min-height:64px}
.language-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0}
.language-grid label,.builder-field {display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:650;color:#46617e}
.builder-field span{display:block}
.builder-question{border:1px solid var(--line);border-radius:13px;padding:19px;margin:13px 0;background:#fbfcff}
.builder-question-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.builder-question-head strong{font-size:14px}
.icon-button{border:1px solid #cbd5e2;border-radius:8px;background:#fff;padding:7px 11px;color:#355170;cursor:pointer}
.icon-button:hover{background:#eaf1fc}
.question-meta{display:flex;gap:25px;align-items:center;margin:12px 0}
.question-meta .builder-field{min-width:200px}
.builder-check{display:flex;gap:8px;align-items:center;font-size:13px;color:#355170}
.builder-check input{width:auto;min-height:auto}
.builder-add{margin:13px 0}
.builder-options {border-top:1px dashed var(--line);margin-top:15px;padding-top:15px}
.builder-options h3{font-size:13px}
.option-grid {grid-template-columns:1fr 1fr auto}
.option-grid button{align-self:end;margin-bottom:3px}
.builder-footer {display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:22px}
.template-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:18px}
.template-card{display:flex;flex-direction:column;gap:14px}
.template-card h2{font-size:20px;margin:0}
.template-card p{font-size:14px;color:var(--muted);line-height:1.7;margin:0}
.template-card form{margin-top:auto}
.template-card form button{margin-top:14px}
.template-illustration{width:57px;height:57px;border-radius:14px;display:grid;place-items:center;color:#315fd1;background:#e8f0ff;font-size:25px}
.template-nps{background:#eff9f5;color:#13916c}.template-ces{background:#fff3e7;color:#b86f22}
.case-form{display:flex;align-items:center;gap:8px}.case-form select{width:auto;min-width:135px}
@media(max-width:1060px){.editor-grid{grid-template-columns:1fr}}
@media(max-width:640px){.language-grid,.option-grid{grid-template-columns:1fr}.editor-grid{display:block}.builder-question{padding:13px}.question-meta{display:block}.editor-top-actions{width:100%}}
