:root{--avia:#d71920;--avia-dark:#b51219;--ink:#172033;--muted:#667085;--bg:#f2f4f7;--card:#fff;--line:#e4e7ec;--soft:#f9fafb;--gold:#f5b400;--green:#0f9f6e;--blue:#3578e5;--shadow:0 20px 60px rgba(16,24,40,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#f7f8fa 0,#eef1f5 100%);-webkit-font-smoothing:antialiased}.brand{font-weight:950;letter-spacing:-1.6px;font-size:29px;color:var(--avia)}
.survey-shell{max-width:780px;margin:0 auto;padding:32px 14px 70px}.survey-card{background:var(--card);border:1px solid rgba(16,24,40,.05);border-radius:26px;box-shadow:var(--shadow);overflow:hidden}.survey-header{padding:34px 34px 24px;background:radial-gradient(circle at top right,rgba(215,25,32,.09),transparent 36%),#fff}.header-badge{display:inline-flex;margin-top:20px;padding:7px 10px;border-radius:999px;background:#fff1f2;color:var(--avia);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}.survey-header h1{margin:13px 0 8px;font-size:38px;line-height:1.08;letter-spacing:-1.2px}.survey-header p{margin:0;max-width:570px;color:var(--muted);font-size:16px;line-height:1.55}.rental-pill{margin:0 34px 4px;padding:12px 14px;background:var(--soft);border:1px solid var(--line);border-radius:13px;color:#475467;font-size:13px;font-weight:700;display:flex;gap:9px;flex-wrap:wrap}.dot{color:#98a2b3}
#feedbackForm{padding:0 34px 34px}.question-block{display:grid;grid-template-columns:34px 1fr;gap:15px;padding:27px 0;border-bottom:1px solid var(--line)}.question-block.compact{padding-bottom:25px}.q-number{width:30px;height:30px;border-radius:50%;background:#fff1f2;color:var(--avia);font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center}.q-content h2{margin:2px 0 16px;font-size:18px;line-height:1.4;letter-spacing:-.2px}.choice-grid{display:flex;gap:8px;flex-wrap:wrap}.choice-chip,.yes-no label{margin:0}.choice-chip input,.yes-no input,.star-rating input,.emoji-rating input{position:absolute;opacity:0;pointer-events:none}.choice-chip span,.yes-no span{display:block;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;color:#475467;font-size:13px;font-weight:750;cursor:pointer;transition:.16s ease}.choice-chip input:checked+span,.yes-no input:checked+span{border-color:var(--avia);background:#fff1f2;color:var(--avia);box-shadow:0 0 0 2px rgba(215,25,32,.06)}
.star-rating{display:flex;gap:8px;align-items:center}.star-rating label{cursor:pointer}.star-rating span{display:block;font-size:36px;line-height:1;color:#d0d5dd;transition:transform .12s ease,color .12s ease}.star-rating label.active span,.star-rating label.hover span{color:var(--gold);transform:translateY(-1px) scale(1.04)}.rating-labels{display:flex;justify-content:space-between;max-width:206px;color:#98a2b3;font-size:11px;margin-top:7px}.emoji-rating{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:520px}.emoji-rating label{margin:0;text-align:center;cursor:pointer}.emoji-rating .emoji{display:flex;min-height:64px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:15px;background:#fff;font-size:30px;transition:.15s ease}.emoji-rating small{display:block;margin-top:7px;color:#667085;font-size:10px;line-height:1.2}.emoji-rating input:checked+.emoji{border-color:var(--avia);background:#fff1f2;box-shadow:0 0 0 3px rgba(215,25,32,.07);transform:translateY(-2px)}.yes-no{display:flex;gap:9px}.yes-no span{padding:11px 20px;border-radius:12px}.comment-block{border-bottom:0;padding-bottom:16px}textarea{width:100%;resize:vertical;border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px 14px;font:inherit;color:var(--ink);outline:none;min-height:115px}textarea:focus,input:focus,select:focus{border-color:#98a2b3;box-shadow:0 0 0 4px rgba(152,162,179,.12)}.optional{margin:6px 0 0;color:#98a2b3;font-size:11px}.primary-button{width:100%;border:0;border-radius:14px;background:var(--avia);color:#fff;padding:16px 22px;font-weight:850;font-size:16px;cursor:pointer;box-shadow:0 8px 18px rgba(215,25,32,.2);transition:.15s ease}.primary-button:hover{background:var(--avia-dark);transform:translateY(-1px)}.privacy-note{text-align:center;color:#98a2b3;font-size:11px;line-height:1.45;margin:12px auto 0;max-width:520px}.state-box{padding:55px 34px;text-align:center}.state-icon,.thank-icon{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:8px auto 18px;background:#fff1f2;color:var(--avia);font-size:30px;font-weight:900}.state-box h2{font-size:24px}.state-box p,.thank-card p{color:var(--muted);line-height:1.55}.state-box a{color:var(--avia);font-weight:800}.thank-shell{min-height:100vh;display:grid;place-items:center}.thank-card{text-align:center;padding:45px 32px;max-width:620px}.thank-card h1{font-size:32px;margin:0 0 10px}.thank-icon{background:#ecfdf3;color:var(--green)}
.admin-body{background:#eef1f5}.admin-shell{max-width:1560px;margin:0 auto;padding:26px}.admin-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 20px}.admin-topbar h1{margin:7px 0 2px;font-size:30px;letter-spacing:-.8px}.admin-topbar p{margin:0;color:var(--muted)}.admin-actions{display:flex;gap:9px}.secondary-button,.admin-filters button,.link-form button,.created-link button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;border-radius:11px;background:var(--avia);color:#fff;padding:12px 15px;font-weight:800;font-size:13px;cursor:pointer}.admin-panel{background:#fff;border:1px solid rgba(16,24,40,.05);border-radius:17px;padding:19px;box-shadow:0 7px 26px rgba(16,24,40,.05);margin-bottom:16px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panel-title h2{font-size:18px;margin:0 0 3px}.panel-title p{margin:0;color:var(--muted);font-size:12px}.create-link-panel{border-left:4px solid var(--avia)}.link-form,.admin-filters{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.link-form input,.link-form select,.admin-filters input,.admin-filters select,.created-link input{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 11px;background:#fff;color:var(--ink);font:inherit;font-size:13px;min-width:150px}.link-form input[name=agreement_no]{min-width:190px}.created-link{display:flex;gap:8px;margin:0 0 13px}.created-link input{flex:1;min-width:260px;background:#f8fafc}.error-box{padding:11px 13px;margin-bottom:12px;background:#fff1f2;color:#b42318;border-radius:10px;font-size:13px;font-weight:700}.admin-filters{margin:0 0 16px;padding:12px;background:#fff;border-radius:14px;border:1px solid rgba(16,24,40,.05)}.metric-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:11px;margin-bottom:16px}.metric-grid article{background:#fff;border:1px solid rgba(16,24,40,.05);border-radius:15px;padding:17px;box-shadow:0 5px 18px rgba(16,24,40,.04)}.metric-grid span{display:block;color:var(--muted);font-size:12px;font-weight:700;margin-bottom:7px}.metric-grid strong{font-size:25px;letter-spacing:-.5px}.metric-grid small{font-size:12px;color:#98a2b3;margin-left:2px}.admin-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bar-chart{display:grid;gap:12px}.bar-row{display:grid;grid-template-columns:minmax(135px,1.2fr) minmax(120px,3fr) 40px;align-items:center;gap:10px}.bar-label span{display:block;font-size:13px;font-weight:800}.bar-label small{color:#98a2b3;font-size:10px}.bar-track{height:9px;background:#f2f4f7;border-radius:999px;overflow:hidden}.bar-fill{height:100%;border-radius:999px;background:var(--avia)}.bar-fill.alt{background:var(--blue)}.bar-row>strong{text-align:right;font-size:13px}.empty{color:var(--muted);font-size:13px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:11px 9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;white-space:nowrap}th{position:sticky;top:0;background:#fff;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.feedback-table .comment-cell{white-space:normal;min-width:250px;max-width:420px;line-height:1.45}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(3,1fr)}.admin-grid-two{grid-template-columns:1fr}}@media(max-width:700px){.survey-shell{padding:0 0 36px}.survey-card{border-radius:0;min-height:100vh;box-shadow:none;border:0}.survey-header{padding:26px 18px 21px}.survey-header h1{font-size:31px}.survey-header p{font-size:14px}.rental-pill{margin:0 18px}.brand{font-size:27px}#feedbackForm{padding:0 18px 28px}.question-block{grid-template-columns:28px 1fr;gap:10px;padding:23px 0}.q-number{width:27px;height:27px}.q-content h2{font-size:16px}.choice-grid{display:grid;grid-template-columns:1fr 1fr}.choice-chip span{text-align:center;padding:10px 8px}.star-rating{justify-content:space-between;max-width:300px}.star-rating span{font-size:39px}.rating-labels{max-width:300px}.emoji-rating{gap:5px}.emoji-rating .emoji{min-height:58px;font-size:27px}.emoji-rating small{font-size:9px}.yes-no{display:grid;grid-template-columns:1fr 1fr}.yes-no span{text-align:center}.admin-shell{padding:13px}.admin-topbar{align-items:flex-start;flex-direction:column}.metric-grid{grid-template-columns:1fr 1fr}.link-form,.admin-filters{display:grid;grid-template-columns:1fr 1fr}.link-form input,.link-form select,.admin-filters input,.admin-filters select,.link-form button,.admin-filters button{width:100%;min-width:0}.created-link{display:block}.created-link input{width:100%;min-width:0}.created-link button{width:100%;margin-top:8px}.bar-row{grid-template-columns:120px 1fr 35px}}@media(max-width:430px){.metric-grid{grid-template-columns:1fr 1fr}.choice-grid{grid-template-columns:1fr 1fr}.emoji-rating small{display:none}.emoji-rating .emoji{min-height:54px}.star-rating span{font-size:35px}}

/* V3 static survey additions */
.rental-details{margin:22px 0 6px;padding:20px;border:1px solid var(--line);border-radius:17px;background:#fafbfc}.section-kicker{display:inline-block;margin-bottom:6px;color:var(--avia);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.rental-details h2{margin:0 0 15px;font-size:19px;letter-spacing:-.2px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field.full{grid-column:1/-1}.field{display:block}.field>span{display:block;margin-bottom:7px;color:var(--ink);font-size:12px;font-weight:800}.field>span b{color:var(--avia)}.field input,.field select{width:100%;height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 13px;font:inherit;color:var(--ink);outline:none}.field small{display:block;margin-top:5px;color:#98a2b3;font-size:10px;line-height:1.4}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.static-link-panel{border-left:4px solid var(--avia)}.permanent-link code{display:block;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#f8fafc;overflow:auto;font-size:12px;color:#344054}
@media(max-width:700px){.rental-details{margin:18px 0 2px;padding:16px}.rental-details h2{font-size:17px}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}

/* Admin navigation / modules */
.admin-home-shell{max-width:1180px}.admin-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.admin-module-card{position:relative;display:grid;grid-template-columns:58px 1fr 34px;gap:16px;align-items:center;background:#fff;border:1px solid rgba(16,24,40,.06);border-radius:18px;padding:22px;text-decoration:none;color:var(--ink);box-shadow:0 7px 26px rgba(16,24,40,.05);transition:.16s ease}.admin-module-card:hover{transform:translateY(-2px);box-shadow:0 13px 34px rgba(16,24,40,.09);border-color:rgba(215,25,32,.22)}.admin-module-icon{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:#fff1f2;color:var(--avia);font-size:25px;font-weight:900}.secondary-module .admin-module-icon{background:#f2f4f7;color:#475467}.admin-module-kicker{display:block;color:var(--avia);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.admin-module-card h2{margin:0 0 6px;font-size:20px}.admin-module-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.admin-module-arrow{font-size:26px;color:#98a2b3;text-align:right}.admin-home-link{margin-top:0}.admin-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 15px;color:#98a2b3;font-size:12px;font-weight:700}.admin-breadcrumb a{color:var(--avia);text-decoration:none}.admin-breadcrumb strong{color:#475467}.admin-back-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid var(--line);border-radius:11px;background:#fff;color:#344054;padding:11px 14px;font-weight:800;font-size:13px}
@media(max-width:760px){.admin-home-grid{grid-template-columns:1fr}.admin-module-card{grid-template-columns:50px 1fr 24px;padding:17px}.admin-module-icon{width:50px;height:50px}.admin-module-card h2{font-size:18px}.admin-actions{width:100%;flex-wrap:wrap}.admin-actions a{flex:1}}
