/* IranCTech Survey V7.1 — shared presentation layer. Load after page styles.
   No database, form field, permission or JavaScript contract changes.
   Font files are provided by the existing Foundation website. */
@font-face{font-family:Survey71;src:url('../Content/fonts/YekanBakh-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Survey71;src:url('../Content/fonts/YekanBakh-700.woff2') format('woff2');font-weight:700;font-display:swap}
@media screen {
:root{--s71-bg:#f3f6f8;--s71-paper:#fff;--s71-ink:#183540;--s71-muted:#506774;--s71-line:#d8e4e8;--s71-main:#096c64;--s71-dark:#102e42;--s71-soft:#eaf5f2;--s71-shadow:0 5px 22px #143b5010;--s71-font:Survey71,'Yekan Bakh',Tahoma,Arial,sans-serif}
body{font-family:var(--s71-font);line-height:1.9;background:var(--s71-bg);color:var(--s71-ink);margin:0}
body :is(button,input,select,textarea){font-family:inherit}
body :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #b58020;outline-offset:3px}
body img{max-width:100%;object-fit:contain} [hidden]{display:none!important}
/* Public page and questionnaire header: keep links and current route. */
body:has(>main>.sv-home)>header,body.sv-landing>header,body:not(.admin):not(.sp):has(.survey-look)>header{background:var(--s71-dark);color:#fff;border-bottom:3px solid #47b5a3;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:14px max(16px,calc((100% - 1220px)/2));line-height:1.7}
body.sv-landing>header a,body:not(.admin):not(.sp):has(.survey-look)>header a{color:#e0f0f3;text-decoration:none;padding:6px 0;font-size:13px}
body.sv-landing>header strong,body:not(.admin):not(.sp):has(.survey-look)>header strong{color:#b4eddf;direction:ltr;font-size:17px;white-space:nowrap;letter-spacing:.25px}
.sv-landing>main{max-width:1260px;padding-inline:clamp(14px,3vw,30px);margin:28px auto}
.sv-home .sv-hero{background:radial-gradient(ellipse at 9% 25%,#176770 0,transparent 58%),linear-gradient(125deg,#102e42,#112e3a 75%);border:1px solid #174b55;box-shadow:0 15px 44px #153b4a1c;border-radius:22px;gap:32px}
.sv-home .sv-intro h1{font-size:clamp(31px,4.4vw,55px);line-height:1.46;letter-spacing:-.3px}.sv-home .sv-intro p{line-height:2}.sv-home .sv-kicker{background:#ffffff12;border:1px solid #a7ead847;border-radius:6px;padding:3px 10px;letter-spacing:.5px}
.sv-home .sv-primary{background:#b3eddf;color:#103e3e;border:1px solid #b3eddf}.sv-home .sv-secondary{background:#ffffff07}.sv-home .sv-primary,.sv-home .sv-secondary{border-radius:8px;min-height:46px}.sv-home .sv-primary:hover{background:#d0f7ed}.sv-home .sv-secondary:hover{background:#ffffff14}
.sv-home .sv-paper{box-shadow:0 20px 48px #071a2c65;border:1px solid #a7ead8}.sv-home .sv-float{font-size:13px}
.sv-home .sv-section{margin-block:46px}.sv-home .sv-heading{border-inline-start:3px solid #16877b;padding-inline-start:14px}.sv-home .sv-heading h2{color:var(--s71-ink);letter-spacing:-.2px}.sv-home .sv-grid{gap:16px}.sv-home .sv-grid article{border-color:var(--s71-line);box-shadow:var(--s71-shadow);border-radius:14px;min-width:0;padding:20px}.sv-home .sv-num{font-size:16px;min-width:36px;padding:3px 9px;border-radius:8px;background:var(--s71-soft);color:var(--s71-main);text-align:center}.sv-home .sv-form,.sv-home .sv-plan{border-top:3px solid #178779}.sv-home .sv-grid article h3{line-height:1.65}.sv-home .sv-link{padding-block:8px;border-bottom:1px solid transparent}.sv-home .sv-link:hover{border-bottom-color:currentColor}.sv-home .sv-trust{border-radius:16px;background:linear-gradient(125deg,#153f4d,#115c59)}
/* Keep custom survey palettes and native form controls. */
.survey-look,.look-studio{font-family:var(--s71-font)}
body:not(.admin):has(.survey-look)>main{max-width:880px;margin:26px auto;padding-inline:clamp(12px,3vw,26px)}
.survey-look{border-radius:18px;box-shadow:var(--s71-shadow)}
.survey-look .look-hero{border-radius:14px;min-height:0}.survey-look .look-copy{line-height:2}.survey-look .card{border-radius:12px;box-shadow:0 3px 10px #123b4010;min-inline-size:0}
.survey-look legend{font-size:clamp(17px,2.4vw,22px);line-height:1.75;overflow-wrap:anywhere;max-width:100%}.survey-look .option{line-height:1.75;min-height:48px;display:flex;gap:10px;align-items:center;overflow-wrap:anywhere}.survey-look .option input[type=radio]{flex-shrink:0;width:18px;height:18px}.survey-look .option:hover{border-color:var(--accent)}
.survey-look .option:has(input:checked){box-shadow:inset 3px 0 var(--accent)}.survey-look .v62-scale .option{display:grid;place-items:center;box-shadow:none;padding:8px 4px;min-height:60px}.survey-look .v62-scale .option input{width:1px;height:1px}.survey-look .v62-scale .option:has(input:checked){background:var(--tint);border-color:var(--accent);color:var(--accent)}.survey-look .v62-progress{accent-color:var(--accent);height:9px}
.survey-look #nav{justify-content:space-between;margin-top:18px}.survey-look #nav button,.survey-look button[type=submit],.survey-look #look-start{min-height:44px}.survey-look #prev{background:#fff;border:1px solid var(--accent);color:var(--accent)}.survey-look button:disabled{opacity:.52;cursor:not-allowed}.survey-look .finish label{display:flex;gap:10px;align-items:flex-start}.survey-look .finish input{flex-shrink:0;margin-top:7px}
/* Management screens, scoped to Survey content; no foundation global stylesheet edits. */
.admin .ict-survey{font-family:var(--s71-font);color:var(--s71-ink);line-height:1.85}.admin .adm-main:has(.ict-survey){background:var(--s71-bg);min-width:0}.admin .ict-survey h1{font-size:clamp(24px,3vw,33px);letter-spacing:-.3px}.admin .ict-survey h2{font-size:clamp(17px,2vw,21px);line-height:1.7}.admin .ict-survey h3{line-height:1.7}.admin .ict-survey h1,.admin .ict-survey h2,.admin .ict-survey p{overflow-wrap:anywhere}
.ict-survey .hero,.bi .bi-hero,.sp .sp-hero{background:linear-gradient(125deg,#102e42,#125654);border:1px solid #155657;border-radius:16px;box-shadow:var(--s71-shadow);padding:clamp(20px,3vw,32px)}.ict-survey .hero small,.bi .bi-hero small{color:#b2e7db;font-size:12px}.ict-survey .hero p{color:#e0eef0;margin:6px 0 16px}.ict-survey .hero .btn{margin:4px 0;background:#c0efe2;color:#123d46;border:1px solid #c0efe2}.ict-survey .hero .btn:hover{background:white}
.ict-survey .card,.sp .sp-card,.bi .bi-tile,.bi .bi-section,.bi .bi-disclosure{background:var(--s71-paper);border-color:var(--s71-line);border-radius:12px;box-shadow:var(--s71-shadow);min-width:0}.ict-survey .card{padding:clamp(16px,2vw,24px)}.ict-survey .tiles{gap:14px}.ict-survey .tiles .card,.ict-survey .r45-kpis .card{border-top:3px solid #16877b}.ict-survey .tiles strong,.ict-survey .r45-kpis strong{font-size:clamp(24px,3vw,34px);color:var(--s71-main);font-variant-numeric:tabular-nums;line-height:1.55}.ict-survey .status{color:#285f5a;background:var(--s71-soft);border:1px solid #cce4dd;border-radius:6px;font-size:12px;padding:3px 10px}
.ict-survey .field{font-weight:700;margin:14px 0}.ict-survey .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.ict-survey .v43-option-row input,.ict-survey .v43-filter input,.sp :is(input:not([type=checkbox]),select,textarea){border:1px solid #becfd6;background:#fff;border-radius:8px;min-height:44px;color:var(--s71-ink);font-weight:400}.ict-survey .field textarea{min-height:82px}.ict-survey :is(button,.btn){min-height:42px;border-radius:8px;font-weight:700;font-size:13px;line-height:1.7;white-space:normal}.ict-survey :is(button,.btn):not(.outline){background:var(--s71-main)}.ict-survey .outline{color:var(--s71-main);background:#fff;border:1px solid #9dbfba}.ict-survey .outline:hover{background:var(--s71-soft)}.ict-survey button:disabled{opacity:.48;cursor:not-allowed}.ict-survey .tools{gap:8px;row-gap:10px}.ict-survey .question-editor{border-inline-start:3px solid #16877b}.ict-survey .question-editor>.tools:first-child{padding-bottom:10px;border-bottom:1px solid var(--s71-line);margin-top:0}.ict-survey .question-number{color:var(--s71-main);font-size:15px}.ict-survey .v43-option-editor{background:#f4f8fa;border-color:#dde8eb}.ict-survey .v43-builder-bar,.ict-survey .v43-filter{background:#f9fcfc}.ict-survey .v43-option-row{min-width:0}.ict-survey .v43-option-row button{min-height:40px;padding-inline:12px}.ict-survey .v43-option-row input{min-width:0}.ict-survey dialog{max-width:min(760px,94vw);max-height:88vh;overflow:auto;border:1px solid var(--s71-line);border-radius:16px;box-shadow:0 20px 60px #102e424d}.ict-survey dialog::backdrop{background:#102e4266}.ict-survey .r45-table-wrap{border:1px solid var(--s71-line);border-radius:10px}.ict-survey .r45-table th{color:#214b55;background:#edf5f5}.ict-survey .r45-table tbody tr:nth-child(even){background:#f8fafb}
/* Restore hero button contrast after general button rule. */
.admin .ict-survey .hero .btn{background:#c0efe2;color:#123d46}.admin .ict-survey .hero .btn:hover{background:#fff}
/* Preserve themed survey preview inside management screens. */
.ict-survey .survey-look :is(button,.btn):not(.outline){background:var(--accent);color:#fff}.ict-survey .survey-look #prev{background:#fff;color:var(--accent)}.ict-survey .survey-look .card{border-color:var(--edge)}.ict-survey .survey-look .look-hero h1{color:#fff}
.ict-survey-crumb{background:#fff;border:1px solid var(--s71-line);border-radius:9px;padding:9px 14px;color:var(--s71-muted);font-size:12px}.ict-survey-crumb a{color:var(--s71-main)}
.adm-side .ict-survey-active{background:var(--s71-soft);color:var(--s71-main);border-inline-start:3px solid #16877b}.ws-header,.sp .sp-header{background:var(--s71-dark);border-bottom:3px solid #47b5a3;padding-block:14px}.ws-header a,.sp .sp-header a{color:#e5f4f4;font-size:13px;text-decoration:none}.ws-header nav a:hover,.sp .sp-header nav a:hover{text-decoration:underline;text-underline-offset:4px}.ws-main{padding-inline:clamp(14px,3vw,26px);max-width:1220px}.cust-grid .card{border-top:3px solid #16877b}.cust-row span{border:1px solid #cee4df;background:var(--s71-soft)}
/* Consistent service/help center details. */
body:has(.hc-header) .hc-header,body:has(.crumb+.hero)>header{border-bottom:3px solid #47b5a3} .hc-hero,body:has(.crumb+.hero) .hero{border-radius:18px;box-shadow:var(--s71-shadow)} .hc-wrap,.sp-main{font-family:var(--s71-font)}
@media(max-width:720px){.sv-home .sv-hero{gap:18px;border-radius:16px;padding:24px}.sv-home .sv-art{min-height:235px;transform:none}.sv-home .sv-section{margin-block:32px}.sv-home .sv-grid article{padding:16px}.sv-landing>main{margin:14px auto}.sv-home .sv-four,.sv-home .sv-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.admin .ict-survey .tiles{grid-template-columns:1fr;gap:0}.ict-survey .tools :is(button,.btn){max-width:100%}.ws-header nav,.sp-header nav{gap:10px 14px}.ict-survey .card{padding:15px}.ict-survey-crumb{padding:8px 10px}.survey-look #nav button{min-width:92px}}
@media(max-width:400px){.sv-home .sv-four,.sv-home .sv-plans{grid-template-columns:1fr}.sv-home .sv-float{left:0;font-size:11px;padding:6px 10px}.sv-home .sv-paper{width:min(100%,220px)}.sv-home .sv-intro h1{font-size:30px}.sv-home .sv-grid article{padding:16px}.survey-look .v62-stars{grid-template-columns:repeat(3,minmax(0,1fr))}.survey-look .v62-numeric{gap:5px}.survey-look .v62-scale .option{padding:8px 2px;min-height:48px}}
@media(prefers-reduced-motion:reduce){.sv-home *,.ict-survey *,.survey-look *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
}
