:root{--ink:#162033;--muted:#687386;--surface:#fff;--bg:#f4f7fb;--primary:#1e3a5f;--accent:#0d6efd;--success:#198754;--danger:#dc3545}
body{background:var(--bg);color:var(--ink);min-height:100vh}.app-navbar{background:linear-gradient(115deg,#142b49,#1e3a5f);box-shadow:0 5px 24px rgba(21,40,70,.18)}.tenant-pill{background:rgba(255,255,255,.12);padding:.35rem .65rem;border-radius:999px}.page-title{font-weight:750;letter-spacing:-.03em}.panel-card,.survey-card{border:0;border-radius:18px;box-shadow:0 8px 30px rgba(20,43,73,.07)}.survey-card{transition:transform .2s,box-shadow .2s}.survey-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(20,43,73,.12)}.metric-card{background:#fff;border-radius:18px;padding:1.25rem 1.4rem;box-shadow:0 8px 30px rgba(20,43,73,.07);border-left:4px solid var(--accent)}.metric-card span{display:block;color:var(--muted);font-size:.85rem}.metric-card strong{display:block;font-size:2rem;line-height:1.2;margin-top:.35rem}.metric-card strong small{font-size:.9rem;color:var(--muted)}.metric-alert{border-left-color:var(--danger)}.status{display:inline-flex;padding:.28rem .65rem;border-radius:999px;text-transform:capitalize;font-size:.76rem;font-weight:700}.status-published{background:#d9f7e8;color:#11623b}.status-draft{background:#e8edf5;color:#40506a}.status-archived{background:#f2e8e8;color:#7c4444}.score-pill{min-width:42px;text-align:center;background:#e9f2ff;color:#135ab5;font-weight:800;border-radius:12px;padding:.45rem}.score-large{font-size:2.6rem;font-weight:800;background:#fff;border-radius:18px;padding:.7rem 1rem;box-shadow:0 8px 30px rgba(20,43,73,.07)}.score-large small{font-size:.8rem;color:var(--muted)}.section-index{display:inline-grid;place-items:center;width:34px;height:34px;background:#eaf2ff;color:#0d6efd;border-radius:10px;margin-right:.65rem;font-weight:800}.question-row{padding:1.05rem 0;border-bottom:1px solid #edf0f5}.question-row:last-of-type{border-bottom:0}.option-chip,.keyword-chip{display:inline-flex;align-items:center;background:#f0f3f8;border-radius:999px;padding:.28rem .6rem;font-size:.78rem}.keyword-chip{background:#e8f5ed;color:#23653d}.editor-box{background:#f7f9fc;border:1px solid #e5eaf2;border-radius:14px;padding:1rem}.answer-row{padding:1rem 0;border-bottom:1px solid #edf0f5}.answer-value{font-size:1.1rem;margin-top:.35rem}.alert-card{border:0;border-left:5px solid #ffc107;border-radius:16px}.alert-critical{border-left-color:#dc3545}.chart-wrap{height:300px}.empty-state{background:#fff;padding:4rem 2rem;text-align:center;border-radius:20px;box-shadow:0 8px 30px rgba(20,43,73,.07)}.login-shell{min-height:calc(100vh - 3rem);display:grid;place-items:center}.login-card{width:min(100%,460px);border-radius:24px}.brand-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#1e3a5f,#0d6efd);color:#fff;font-weight:800;font-size:1.2rem}.form-control,.form-select{border-radius:10px;border-color:#dce2eb}.btn{border-radius:10px}.progress{background:#e9edf3}.progress-bar{background:linear-gradient(90deg,#0d6efd,#45a3ff)}
@media(max-width:991px){main.container-fluid{padding-left:1rem!important;padding-right:1rem!important}.tenant-pill{display:none}}
.app-footer{margin-top:auto;padding:1.2rem 0;border-top:1px solid #e3eaf0;background:#fff;color:#738293;font-size:.82rem}body{min-height:100vh;display:flex;flex-direction:column}main{flex:1}
.content-card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;color:#fff;border-radius:18px 18px 0 0;font-size:.9rem}.content-card-header-survey{background:linear-gradient(120deg,#167a50,#209b68)}.content-card-header-contest{background:linear-gradient(120deg,#0868da,#2380f5)}.content-card-header strong{font-size:1rem}.card-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.card-action-grid .btn{white-space:nowrap}.share-menu{min-width:275px;padding:.55rem;border-radius:14px}.share-menu .dropdown-item{padding:.65rem .75rem;border-radius:9px}.share-menu form{margin:0}.share-menu form .dropdown-item{width:100%;text-align:left;border:0;background:transparent}.domain-instructions code{word-break:break-all}.public-portal-header{margin-bottom:1.25rem}@media(max-width:420px){.card-action-grid{grid-template-columns:1fr}.share-menu{min-width:240px}}