
#hfo-app{--navy:#142b54;--ink:#172b49;--mute:#607089;--line:#dfe6ef;--brand:#156b91;--pale:#eff7fb;--white:#fff;font-family:Inter,system-ui,-apple-system,Arial,sans-serif;color:var(--ink);max-width:1220px;margin:22px auto 70px;font-size:14px}#hfo-app *{box-sizing:border-box}#hfo-app .hero{background:linear-gradient(115deg,#11254a,#155c84);color:white;border-radius:18px;padding:30px;box-shadow:0 16px 32px #1f355020}#hfo-app .hero h1{font-size:clamp(23px,3vw,34px);font-weight:800;color:white;margin:8px 0}#hfo-app .hero p{margin:4px 0;color:#e2f0fa}#hfo-app .eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:700;color:#96d7ed}#hfo-app .chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}#hfo-app .chip{background:#ffffff1b;border:1px solid #ffffff38;border-radius:30px;padding:7px 13px;color:white;font-size:12px}#hfo-app .layout{display:grid;grid-template-columns:248px minmax(0,1fr);gap:22px;margin-top:22px}#hfo-app .sidebar,#hfo-app .panel{background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 7px 24px #20304009}#hfo-app .sidebar{padding:18px;align-self:start;position:sticky;top:18px}#hfo-app .sidebar h3{font-size:12px;color:var(--mute);text-transform:uppercase;letter-spacing:1px;margin:4px 10px 13px}#hfo-app .step{width:100%;text-align:left;background:none;border:0;border-radius:10px;padding:12px 10px;color:#53627a;display:flex;align-items:center;gap:11px;cursor:pointer;font-weight:600;margin-bottom:3px}#hfo-app .step i{font-style:normal;width:25px;height:25px;flex-shrink:0;border:1px solid #d1dce6;border-radius:50%;display:grid;place-items:center;font-size:12px}#hfo-app .step.active{background:#eaf5fb;color:#105c7e}#hfo-app .step.active i{background:#126888;color:white;border-color:#126888}#hfo-app .step.done i{background:#e5f6ec;border-color:#b4e0c7;color:#127145}#hfo-app .panel{padding:clamp(18px,3vw,35px);min-height:600px}#hfo-app h2{font-size:24px;margin:0 0 7px;color:var(--navy);font-weight:750}#hfo-app h3{font-size:17px;color:var(--navy);margin:25px 0 12px}#hfo-app .muted{color:var(--mute);line-height:1.65}#hfo-app .divider{border:0;border-top:1px solid var(--line);margin:21px 0}#hfo-app .notice{padding:14px 16px;background:var(--pale);border-left:4px solid #2882aa;border-radius:8px;line-height:1.65;margin:16px 0}#hfo-app .notice.warn{background:#fff8ea;border-left-color:#d99b24}#hfo-app .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}#hfo-app .three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}#hfo-app .field{margin-bottom:15px}#hfo-app .field label{display:block;font-weight:650;font-size:13px;margin-bottom:7px;color:#344864}#hfo-app .req{color:#c34242}#hfo-app input:not([type=checkbox]):not([type=radio]):not([type=file]),#hfo-app select,#hfo-app textarea{border:1px solid #ced9e4;border-radius:9px;padding:11px 12px;background:white;color:#213047;outline:none;width:100%;font-size:14px;min-height:42px}#hfo-app input:focus,#hfo-app textarea:focus,#hfo-app select:focus{border-color:#187ca7;box-shadow:0 0 0 3px #d9edf8}#hfo-app textarea{resize:vertical;min-height:88px}#hfo-app .boxline{display:flex;align-items:flex-start;gap:9px;margin:12px 0;line-height:1.55}#hfo-app .boxline input{margin-top:3px;accent-color:#126888;flex-shrink:0}#hfo-app .tablewrap{overflow:auto;border:1px solid var(--line);border-radius:10px}#hfo-app table{width:100%;border-collapse:collapse;min-width:600px}#hfo-app td,#hfo-app th{padding:11px 12px;border-bottom:1px solid #e7edf3;text-align:left;vertical-align:top}#hfo-app th{background:#f3f7fa;font-size:12px;color:#405575}#hfo-app tr:last-child td{border-bottom:0}#hfo-app .cat-row{display:flex;align-items:flex-start;gap:12px;padding:11px;border-bottom:1px solid #e8edf4;cursor:pointer}#hfo-app .cat-row:last-child{border-bottom:0}#hfo-app .cat-row:hover{background:#f7fbff}#hfo-app .cat-row input{accent-color:#126888;margin-top:4px}#hfo-app .cat-row strong{color:#144f77;white-space:nowrap;margin-right:8px}#hfo-app .catalog{max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:11px;margin-top:12px}#hfo-app .pill{background:#edf4f9;padding:6px 10px;border-radius:20px;color:#275b7d;display:inline-block;margin:4px 5px 4px 0;font-size:12px}#hfo-app .btn{border:1px solid #ccd9e4;color:#26415f;background:white;padding:11px 17px;border-radius:9px;font-weight:700;cursor:pointer;font-size:13px}#hfo-app .btn.primary{background:#136d91;color:white;border-color:#136d91}#hfo-app .btn.dark{background:#142c55;color:white;border-color:#142c55}#hfo-app .btn.ghost{border:0;color:#b43e40;background:none;padding:7px}#hfo-app .btn:disabled{opacity:.5;cursor:not-allowed}#hfo-app .actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px;margin-top:27px}#hfo-app .actions .right{display:flex;gap:8px;flex-wrap:wrap}#hfo-app .section{display:none}#hfo-app .section.active{display:block}#hfo-app .upload{border:1px dashed #9db6c9;background:#f9fcff;border-radius:11px;padding:14px;margin-bottom:12px}#hfo-app .upload input{display:block;width:100%;margin-top:8px;font-size:12px}#hfo-app .upload small{display:block;color:var(--mute);margin-top:5px}#hfo-app .repeat{border:1px solid var(--line);border-radius:12px;padding:17px;margin:13px 0;background:#fcfdff}#hfo-app .repeat-head{display:flex;justify-content:space-between;align-items:center;gap:10px}#hfo-app .badge{font-size:12px;color:#216781;background:#e8f6fc;padding:5px 9px;border-radius:20px}#hfo-app .status{font-size:12px;color:#547085;margin-top:10px}#hfo-app .error{color:#aa2835;background:#fff0f1;padding:12px 15px;border-radius:8px;display:none;margin:15px 0}#hfo-app .success{color:#12583e;background:#e9f7ee;padding:16px;border-radius:10px;display:none;margin:15px 0}#hfo-app .small{font-size:12px;color:var(--mute)}#hfo-app .review-table td:first-child{font-weight:700;width:180px}#hfo-app .progress{background:#e7edf3;height:7px;border-radius:10px;overflow:hidden;margin:14px 0}#hfo-app .progress span{display:block;height:100%;background:#1d89aa;width:12.5%;transition:width .25s}@media(max-width:880px){#hfo-app .layout{grid-template-columns:1fr}#hfo-app .sidebar{position:static}#hfo-app .steps{display:flex;overflow:auto;gap:5px}#hfo-app .step{min-width:150px}#hfo-app .two,#hfo-app .three{grid-template-columns:1fr}#hfo-app .hero{padding:21px}}
#hfo-app .hfo-hero-head{display:flex;align-items:center;gap:19px;margin-bottom:8px}#hfo-app .hfo-logo-wrap{background:#fff;border:1px solid #d9e8f5;border-radius:15px;display:grid;place-items:center;width:104px;height:104px;padding:6px;flex-shrink:0;box-shadow:0 5px 18px #00172b36}#hfo-app .hfo-logo{display:block;width:100%;height:100%;object-fit:contain}#hfo-app .hfo-hero-head .eyebrow{letter-spacing:1.2px;line-height:1.5}@media(max-width:600px){#hfo-app .hfo-logo-wrap{width:76px;height:76px}#hfo-app .hfo-hero-head{gap:12px}#hfo-app .hfo-hero-head .eyebrow{font-size:10px;letter-spacing:.5px}}

/* Official HFO letterhead and page-by-page review */
#hfo-app .hero.hfo-letterhead{background:#fff;color:#1b375b;padding:24px 30px;border:1px solid #d8e5ee;border-radius:13px;box-shadow:0 9px 26px #14385512}
#hfo-app .hfo-letterhead-top{display:flex;align-items:center;gap:20px}
#hfo-app .hfo-letterhead-top>.hfo-logo{height:100px;width:100px;object-fit:contain;flex-shrink:0}
#hfo-app .hfo-org{color:#0c5792;font-size:clamp(17px,2.4vw,25px);font-weight:850;letter-spacing:.3px;line-height:1.2}
#hfo-app .hfo-org-sub{font-size:13px;color:#24729f;font-weight:700;margin-top:4px}
#hfo-app .hfo-contact{color:#4b6280;font-size:12px;margin-top:4px}
#hfo-app .hfo-letterhead-rule{margin:16px 0 19px;border-top:5px solid #0878c3;border-bottom:1px solid #a9cddd;height:9px}
#hfo-app .hfo-letterhead-title{display:flex;justify-content:space-between;align-items:center;gap:15px}
#hfo-app .hfo-letterhead-kicker{font-size:11px;font-weight:800;letter-spacing:1px;color:#0f679e}
#hfo-app .hero.hfo-letterhead h1{font-size:clamp(20px,2.7vw,28px);color:#163760;margin:5px 0}
#hfo-app .hero.hfo-letterhead p{color:#64758a}
#hfo-app .hfo-deadline{background:#eaf5fc;border:1px solid #b9dceb;border-radius:9px;padding:12px 16px;min-width:190px;display:flex;flex-direction:column;gap:3px;font-size:12px;color:#315573}
#hfo-app .hfo-deadline strong{color:#0c588c}
#hfo-app .hfo-page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-bottom:1px solid #e1e9f1;padding-bottom:11px;margin-bottom:20px}
#hfo-app .hfo-page-heading .hfo-page-ref{font-size:11px;font-weight:800;color:#397090;letter-spacing:.8px}
#hfo-app .hfo-page-heading .hfo-page-number{font-size:12px;color:#576f8b}
#hfo-app .page-preview-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
#hfo-app .preview-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#hfo-app .preview-links a{border:1px solid #ccdce8;border-radius:7px;text-decoration:none;color:#145b84;background:white;padding:7px 10px;font-weight:700;font-size:12px}
#hfo-app .preview-links a:hover{background:#eaf5fb}
#hfo-app.all-pages .section{display:block!important;break-before:page;page-break-before:always;padding-top:20px;margin-top:30px;border-top:1px dashed #d3e2eb}
#hfo-app.all-pages .section:first-of-type{break-before:auto;page-break-before:auto}
#hfo-app.all-pages .actions{display:none}
@media(max-width:650px){#hfo-app .hfo-letterhead-top>.hfo-logo{width:72px;height:72px}#hfo-app .hero.hfo-letterhead{padding:16px}#hfo-app .hfo-letterhead-title{flex-direction:column;align-items:stretch}#hfo-app .hfo-deadline{min-width:0}}
@media print{body{background:#fff!important}#hfo-app{max-width:none;margin:0;font-size:12px}#hfo-app .layout{display:block;margin-top:8px}#hfo-app .sidebar,#hfo-app .actions,#hfo-app .page-preview-toolbar{display:none!important}#hfo-app .panel{border:0;box-shadow:none;padding:4px;min-height:0}#hfo-app .hero.hfo-letterhead{border:0;box-shadow:none;padding:8px 4px 12px}#hfo-app .section{display:none!important}#hfo-app .section.active{display:block!important}#hfo-app.all-pages .section{display:block!important;break-before:page;page-break-before:always}#hfo-app .hfo-page-heading{break-after:avoid;page-break-after:avoid}#hfo-app .repeat{break-inside:avoid}#hfo-app input,#hfo-app textarea,#hfo-app select{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Documentary A4-style rendering, replacing the generic dashboard look */
#hfo-app{--navy:#102e61;--brand:#0d4f98;--ink:#17233a;--line:#b8c8d9;max-width:1200px}
#hfo-app .hero.hfo-letterhead{border-radius:0;box-shadow:none;border:1px solid #aabdd2}
#hfo-app .panel{border-radius:2px;border-color:#b5c5d6;box-shadow:0 4px 16px #1d355010;padding:36px 44px;background:#fff}
#hfo-app .document-head{display:block;margin:-3px 0 22px}
#hfo-app .document-head-top{display:flex;align-items:center;gap:20px}
#hfo-app .document-head-top img{width:88px;height:88px;object-fit:contain;flex-shrink:0}
#hfo-app .document-org{flex:1;text-align:center;color:#0a4a89;display:flex;flex-direction:column;gap:3px}
#hfo-app .document-org strong{font-family:Georgia,serif;font-size:21px;font-weight:800;letter-spacing:.2px}
#hfo-app .document-org span{font-size:11px;line-height:1.5}
#hfo-app .document-org span:last-child{font-weight:700;font-size:12px;color:#112c56;margin-top:5px}
#hfo-app .document-head-rule{height:7px;background:#153969;margin-top:13px}
#hfo-app .section h2{font-family:Georgia,'Times New Roman',serif;text-align:center;text-transform:uppercase;font-size:20px;margin:18px 0 18px;border-bottom:2px solid #183d70;padding-bottom:12px}
#hfo-app .section h3{font-family:Georgia,'Times New Roman',serif;background:#163c72;color:#fff;padding:9px 12px;font-size:15px;border-radius:0;margin-top:26px}
#hfo-app .section .field label{font-family:Georgia,'Times New Roman',serif;color:#25324b;font-weight:700}
#hfo-app .section input:not([type=checkbox]):not([type=radio]):not([type=file]),#hfo-app .section select,#hfo-app .section textarea{border-radius:0;border:1px solid #9babc0;padding:10px 11px}
#hfo-app .section .repeat,#hfo-app .section .upload{border-radius:0;background:#fff;border-color:#b5c5d6}
#hfo-app .section .repeat-head{border-bottom:1px solid #bcc9d8;padding-bottom:9px;margin-bottom:13px}
#hfo-app .section .notice{border-radius:0}
#hfo-app .document-block{font-family:Georgia,'Times New Roman',serif;line-height:1.65;color:#24334b;margin:19px 0}
#hfo-app .document-block p{margin:12px 0;font-size:14px}
#hfo-app .source-note{font-size:12px;color:#66552d;border:1px solid #dfd0a8;background:#fffbea;padding:12px;margin:12px 0;line-height:1.5}
#hfo-app .sidebar{border-radius:2px}
#hfo-app .sidebar .step{border-radius:3px}
#hfo-app .catalog,#hfo-app .tablewrap{border-radius:0}
#hfo-app table th{background:#173d72;color:#fff;font-family:Georgia,serif}
#hfo-app .page-preview-toolbar .btn{border-radius:3px}
#hfo-app .hfo-page-heading{margin-top:8px}
@media(max-width:760px){#hfo-app .panel{padding:20px 16px}#hfo-app .document-head-top img{width:62px;height:62px}#hfo-app .document-org strong{font-size:15px}#hfo-app .document-org span{font-size:9px}}
@media print{#hfo-app .document-head{display:block!important}#hfo-app .document-head-top img{height:64px;width:64px}#hfo-app .document-org strong{font-size:16px}#hfo-app .section{page-break-before:always;break-before:page}#hfo-app .section:first-child{page-break-before:auto;break-before:auto}#hfo-app .panel{border:none;padding:0;box-shadow:none}#hfo-app .section h3,#hfo-app .repeat{break-inside:avoid}#hfo-app .hero{display:none!important}}

#hfo-app .document-head{margin-bottom:22px}#hfo-app section.section:not([data-step="0"])>.hfo-page-heading{margin-top:0}#hfo-app .panel{font-family:Georgia,"Times New Roman",serif}#hfo-app input,#hfo-app textarea,#hfo-app select,#hfo-app button,#hfo-app .sidebar{font-family:Inter,Arial,sans-serif}#hfo-app .sidebar{position:sticky;top:16px}#hfo-app .catalog{max-height:360px;overflow-y:auto}#hfo-app .cat-row{cursor:pointer}#hfo-app .category-summary{border:1px solid #ccd9e3;overflow:auto;max-height:340px}#hfo-app .category-summary table{min-width:520px}#hfo-app .category-summary td{font-size:12px}#hfo-app .document-head img{object-fit:contain}#hfo-app .notice h3{margin-top:0}

/* Questionnaire look: one letterhead on first step; no repeated banner. */
#hfo-app{max-width:1240px;margin-top:10px}
#hfo-app .layout{margin-top:0;grid-template-columns:250px minmax(0,1fr)}
#hfo-app .panel{font-family:Georgia,"Times New Roman",serif;border-radius:2px;padding:30px 42px;box-shadow:0 2px 10px #19324a0d}
#hfo-app .section h2{text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:19px;text-transform:uppercase;letter-spacing:.15px;border-bottom:2px solid #203f69;padding-bottom:12px;margin-bottom:18px}
#hfo-app .field label{font-family:Georgia,"Times New Roman",serif;font-size:13px;color:#192b47}
#hfo-app .two{gap:14px 22px}
#hfo-app .field{margin-bottom:12px}
/* Inputs intentionally resemble the dotted-line answers in the paper questionnaire. */
#hfo-app input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=date]),
#hfo-app input[type=email],#hfo-app input[type=number],#hfo-app input[type=tel],
#hfo-app textarea{
  border:0!important;border-bottom:1px dotted #33445b!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;min-height:35px!important;
  padding:7px 2px 4px!important;color:#162a46;font-family:Georgia,"Times New Roman",serif;
}
#hfo-app input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=date]):focus,
#hfo-app textarea:focus{border-bottom:2px solid #13729c!important;outline:none!important;box-shadow:none!important}
#hfo-app textarea{min-height:65px!important;line-height:26px!important;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 24px,#96a1ae 25px,transparent 26px)!important;background-size:100% 26px!important;resize:vertical}
#hfo-app select,#hfo-app input[type=date]{border:1px solid #b6c7d9!important;border-radius:5px!important;background:#fff!important;min-height:40px!important;padding:7px 12px!important;font-family:Inter,Arial,sans-serif!important;box-shadow:none!important}
#hfo-app input[type=file]{border:1px dashed #91a9c3;background:#fff;padding:9px;width:100%;border-radius:5px}
#hfo-app .upload{border:0;border-bottom:1px dotted #c4ced9;background:transparent;border-radius:0;padding:12px 0}
#hfo-app .upload small{font-size:11px}
#hfo-app .repeat{background:#fff;border:0;border-bottom:1px solid #cfdae5;border-radius:0;padding:14px 0}
#hfo-app .document-head{margin:0 0 25px}
#hfo-app .document-head-top{display:flex;align-items:center;gap:20px}
#hfo-app .document-head-top img{max-width:120px;max-height:105px;object-fit:contain;flex-shrink:0}
#hfo-app .document-org{display:flex;flex-direction:column;gap:5px}
#hfo-app .document-org strong{font-size:22px;color:#105e92;line-height:1.25}
#hfo-app .document-head-rule{border-bottom:5px solid #143c73;margin-top:17px}
#hfo-app .hfo-page-heading{font-family:Inter,Arial,sans-serif}
#hfo-app .hfo-page-heading .hfo-page-ref{font-size:10px}
#hfo-app .sidebar{border-radius:12px;top:15px}
#hfo-app .catalog{max-height:365px;overflow:auto}
#hfo-app .cat-row{font-family:Inter,Arial,sans-serif}
#hfo-app .upload-meter{background:#fff;border:1px solid #cedbe7;border-radius:8px;padding:12px;margin-top:12px;font-family:Inter,Arial,sans-serif}
#hfo-app .upload-meter strong{display:block;font-size:12px;color:#183a5c}
#hfo-app .upload-meter .track{height:8px;border-radius:10px;background:#e9eff6;overflow:hidden;margin:9px 0}
#hfo-app .upload-meter .fill{display:block;background:#14799e;width:0%;height:100%;transition:width .2s}
#hfo-app .upload-meter.over{border-color:#bf3444;color:#b32735}
#hfo-app .upload-meter.over .fill{background:#b32735}
#hfo-app #hfoTotalUpload{font-size:12px;font-weight:600}
#hfo-app .file-count-note{font-family:Inter,Arial,sans-serif;font-size:12px;margin:8px 0 16px}
@media(max-width:850px){#hfo-app .layout{grid-template-columns:1fr}#hfo-app .panel{padding:20px}}
@media(max-width:600px){#hfo-app .document-head-top{flex-direction:column;text-align:center}#hfo-app .document-org strong{font-size:17px}}
@media print{#hfo-app .sidebar,#hfo-app .upload-meter{display:none!important}#hfo-app .panel{padding:0!important}#hfo-app .section .document-head{break-inside:avoid}}


/* HFO questionnaire-first visual system: one original-style cover, no repeated banner */
body{background:#e3e3e3!important}
#hfo-app{--navy:#153b79;--ink:#151515;--mute:#595959;--line:#d8d8d8;--brand:#123d7a;--pale:#fff;font-family:Arial,Helvetica,sans-serif!important;max-width:1390px!important;margin:12px auto 60px!important;color:#171717!important;font-size:13px!important}
#hfo-app .layout{grid-template-columns:260px minmax(0,1fr)!important;align-items:start!important;gap:22px!important;margin-top:0!important}
#hfo-app .sidebar{background:#fff!important;border:1px solid #d4dae2!important;border-radius:12px!important;box-shadow:none!important;top:14px!important;padding:17px!important;font-family:Arial,Helvetica,sans-serif!important}
#hfo-app .sidebar .step{font-size:13px!important}
#hfo-app .panel{padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important;min-height:auto!important;border-radius:0!important}
#hfo-app .section{width:min(100%,820px);margin:0 auto 18px!important;background:#fff!important;border:1px solid #c8c8c8!important;box-shadow:0 2px 9px #00000019!important;min-height:1040px!important;padding:54px 76px 82px!important;font-family:'Times New Roman',Times,serif!important;color:#111!important;font-size:14px!important;line-height:1.52!important}
#hfo-app .section h2{font-family:'Times New Roman',Times,serif!important;text-align:center!important;border:0!important;border-bottom:2px solid #173b78!important;padding-bottom:8px!important;margin:18px 0 24px!important;font-size:18px!important;color:#111!important;font-weight:700!important;text-transform:uppercase!important}
#hfo-app .section h3{font-family:'Times New Roman',Times,serif!important;color:#111!important;font-size:15px!important;margin:26px 0 13px!important}
#hfo-app .section p,#hfo-app .section li{font-family:'Times New Roman',Times,serif!important;line-height:1.55!important;font-size:14px!important}
#hfo-app .section .muted{color:#222!important}
#hfo-app .document-head{border:0!important;padding:0!important;margin-bottom:22px!important}
#hfo-app .document-head-top{display:flex!important;align-items:center!important;gap:18px!important}
#hfo-app .document-head-top img{width:86px!important;height:86px!important;object-fit:contain!important}
#hfo-app .document-org strong{font:700 18px Georgia,'Times New Roman',serif!important;color:#124781!important}
#hfo-app .document-org span{font-size:10px!important;color:#3a3a3a!important}
#hfo-app .document-head-rule{background:#183e79!important;height:5px!important;margin:14px 0 0!important}
#hfo-app .hfo-page-heading{border:none!important;padding:0!important;margin-bottom:14px!important;justify-content:center!important}
#hfo-app .hfo-page-heading .hfo-page-ref{color:#555!important;font:10px 'Times New Roman',serif!important;letter-spacing:0!important;text-transform:none!important}
#hfo-app .hfo-page-heading .hfo-page-number{display:none!important}
#hfo-app .section[data-step='0'] .hfo-page-heading{display:none!important}
#hfo-app .two,#hfo-app .three{display:block!important}
#hfo-app .field{display:flex!important;align-items:baseline!important;gap:12px!important;margin:13px 0!important;min-height:28px!important}
#hfo-app .field label{display:inline-block!important;flex:0 0 auto!important;max-width:47%!important;font:700 13px 'Times New Roman',Times,serif!important;color:#111!important;line-height:1.45!important;margin:0!important}
#hfo-app .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=date]),#hfo-app .field textarea{display:block!important;flex:1 1 180px!important;min-width:0!important;width:100%!important;border:0!important;border-bottom:1.5px dotted #111!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0 3px 3px!important;min-height:25px!important;height:auto!important;font:14px 'Times New Roman',Times,serif!important;outline:none!important}
#hfo-app .field input[type=date],#hfo-app .field select{flex:1 1 160px!important;width:auto!important;min-width:0!important;min-height:34px!important;height:auto!important;border:1px solid #bdc8d5!important;border-radius:3px!important;padding:5px 10px!important;font:13px Arial,sans-serif!important;background:#fff!important}
#hfo-app .field:has(textarea){align-items:flex-start!important}
#hfo-app .field:has(textarea) textarea{min-height:72px!important;resize:vertical!important}
#hfo-app .notice{border-left:3px solid #284c80!important;background:#fff!important;padding:8px 13px!important;border-radius:0!important;margin:12px 0!important}
#hfo-app .notice h3{margin:0 0 10px!important;background:#193b74!important;color:#fff!important;padding:6px 10px!important;font-size:13px!important}
#hfo-app .upload{background:#fff!important;border:1px dashed #abb1b9!important;border-radius:0!important;padding:10px 13px!important}
#hfo-app .upload input{max-width:100%!important}
#hfo-app .catalog{max-height:360px!important;border:1px solid #b7bec8!important;border-radius:0!important}
#hfo-app .cat-row{font-family:'Times New Roman',Times,serif!important;font-size:13px!important}
#hfo-app #catList .cat-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}
#hfo-app #catList .cat-row > input[type="checkbox"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #126888;
  cursor: inherit;
}
#hfo-app #catList .cat-row > input[type="checkbox"]:focus-visible {
  outline: 2px solid #126888;
  outline-offset: 2px;
}
#hfo-app #catList .cat-row > span {
  overflow-wrap: anywhere;
}
#hfo-app .tablewrap{border-radius:0!important;border:1px solid #444!important}
#hfo-app table{min-width:520px!important}
#hfo-app td,#hfo-app th{font:13px 'Times New Roman',Times,serif!important;padding:6px 9px!important;border:1px solid #777!important;color:#111!important}
#hfo-app th{background:#f0f0f0!important;font-weight:700!important}
#hfo-app .repeat{border:0!important;border-top:1px solid #c2c2c2!important;border-radius:0!important;background:white!important;margin:18px 0!important;padding:12px 0!important}
#hfo-app .repeat-head{font-family:'Times New Roman',Times,serif!important}
#hfo-app .repeat .field{margin:9px 0!important}
#hfo-app .boxline{font-family:'Times New Roman',Times,serif!important;font-size:14px!important}
#hfo-app .btn{border-radius:4px!important}
#hfo-app .actions{background:#fff!important}
#hfo-app.all-pages .section{display:block!important;page-break-before:always!important;border:1px solid #c8c8c8!important;margin:0 auto 18px!important}
#hfo-app.all-pages .section[data-step='0']{page-break-before:auto!important}
#hfo-app.all-pages .section .hfo-page-heading{display:flex!important}
#hfo-app.all-pages .section[data-step='0'] .hfo-page-heading{display:none!important}
@media(max-width:1000px){#hfo-app .layout{grid-template-columns:1fr!important}#hfo-app .sidebar{position:static!important}#hfo-app .section{padding:35px 30px 65px!important;min-height:600px!important}}
@media(max-width:620px){#hfo-app .section{padding:25px 16px 40px!important}#hfo-app .field{display:block!important}#hfo-app .field label{display:block!important;max-width:none!important;margin-bottom:4px!important}#hfo-app .document-head-top{gap:8px!important}#hfo-app .document-org strong{font-size:14px!important}#hfo-app .document-head-top img{width:65px!important;height:65px!important}#hfo-app table{min-width:480px!important}}
@media print{#hfo-app .layout{display:block!important}#hfo-app .sidebar{display:none!important}#hfo-app .panel{border:none!important}#hfo-app .section{width:auto!important;min-height:auto!important;box-shadow:none!important;border:0!important;padding:11mm 14mm 14mm!important;break-before:page!important;page-break-before:always!important}#hfo-app .section[data-step='0']{break-before:auto!important;page-break-before:auto!important}#hfo-app .section .hfo-page-heading{display:flex!important}#hfo-app .actions{display:none!important}}


/* Requested document fidelity: Georgia, dotted entry lines and blue/white table headings. */
#hfo-app,#hfo-app .panel,#hfo-app .section,#hfo-app .section p,#hfo-app .section label,#hfo-app .section input,#hfo-app .section textarea,#hfo-app .section select,#hfo-app .section button{font-family:Georgia,'Times New Roman',serif!important}
#hfo-app .paper-number{margin:17px 0 9px;line-height:1.7}
#hfo-app .paper-small{font-size:11px;color:#566171;line-height:1.5;margin:6px 0 12px}
#hfo-app .paper-subtle{padding:7px 11px;border-left:2px solid #d0dbe5;background:#f9fbfc;font-size:12px;margin-bottom:12px}
#hfo-app .source-intro{line-height:1.7}
#hfo-app .section h3.paper-bar{background:#153c70!important;color:white!important;border-radius:0!important;font-family:Georgia,serif!important;padding:7px 12px!important;letter-spacing:.1px!important}
#hfo-app .section h4{font-size:14px;font-style:italic;font-weight:700;color:#1e3150;margin:26px 0 12px}
#hfo-app .paper-field{display:flex;gap:8px;align-items:baseline;min-height:36px;padding:3px 0;margin:5px 0;flex-wrap:wrap}
#hfo-app .paper-field label{font-size:13px!important;font-weight:400!important;flex:0 1 auto;line-height:1.6}
#hfo-app .paper-field input:not([type=checkbox]):not([type=file]):not([type=date]),#hfo-app .paper-field textarea{flex:1 1 170px;width:auto!important;min-width:120px;min-height:27px!important;border:0!important;border-bottom:1px dotted #3b4d64!important;background:transparent!important;border-radius:0!important;padding:2px 3px!important}
#hfo-app .paper-field input[type=date],#hfo-app .paper-field select{flex:1 1 140px;width:auto!important;max-width:280px!important;border:1px solid #b7c8d9!important;border-radius:3px!important;background:white!important;min-height:36px!important;padding:5px 9px!important}
#hfo-app .paper-field.paper-area{display:block}
#hfo-app .paper-field.paper-area label{display:block;margin-bottom:4px}
#hfo-app .paper-field.paper-area textarea{display:block;width:100%!important;min-height:68px!important}
#hfo-app .paper-inline{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
#hfo-app .paper-table-scroll{overflow:auto;width:100%;margin:12px 0}
#hfo-app .paper-table{border-collapse:collapse;width:100%;min-width:630px!important;background:#fff}
#hfo-app .paper-table th{background:#153c70!important;color:#fff!important;font-size:11px!important;padding:9px 7px!important;border:1px solid #153c70!important;font-family:Georgia,serif!important;vertical-align:middle!important}
#hfo-app .paper-table td{padding:4px 5px!important;border:1px solid #8393a4!important;font-size:12px;vertical-align:middle!important}
#hfo-app .paper-table td input:not([type=checkbox]):not([type=file]),#hfo-app .paper-table td textarea,#hfo-app .paper-table td select{font-family:Georgia,serif!important;font-size:12px!important;width:100%!important;min-height:33px!important;padding:5px!important;border:0!important;border-bottom:1px dotted #72839c!important;background:#fff!important;border-radius:0!important;box-shadow:none!important}
#hfo-app .paper-table td textarea{min-height:52px!important;resize:vertical}
#hfo-app .paper-table td select{border:1px solid #c6d3df!important;border-radius:3px!important}
#hfo-app .paper-table .remove-row{padding:6px!important;font-size:11px!important}
#hfo-app .litigation-table th:first-child{width:36px}
#hfo-app .litigation-table th:nth-child(2){width:72px}
#hfo-app .litigation-table th:nth-child(3){width:125px}
#hfo-app .litigation-table th:nth-child(5){width:150px}
#hfo-app .litigation-table th:last-child{width:50px}
@media(max-width:720px){#hfo-app .paper-inline{grid-template-columns:1fr}#hfo-app .paper-field{display:block}#hfo-app .paper-field label{display:block}#hfo-app .paper-field input:not([type=checkbox]),#hfo-app .paper-field select{width:100%!important}}
@media print{#hfo-app .paper-table-scroll{overflow:visible}#hfo-app .paper-table{min-width:0!important}#hfo-app .no-print{display:none!important}#hfo-app .section h3.paper-bar{-webkit-print-color-adjust:exact;print-color-adjust:exact}#hfo-app .paper-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Frappe website wrapper: remove excess horizontal padding but retain site security/UI */
.container.page_content{max-width:unset!important;padding:0!important}
#hfo-app{font-family:Georgia,"Times New Roman",serif}
#hfo-app .bluebar,#hfo-app .doc-blue,#hfo-app th{color:#fff}


/* HFO blue title bars: maintain white lettering in Desk and the public portal.
   This must appear AFTER the legacy black !important heading rules. */
#hfo-app .section h3,
#hfo-app .section h3.paper-bar,
#hfo-app .section .document-block h3,
#hfo-app .section .notice h3 {
  color: #ffffff !important;
}
#hfo-app .section h3 *,
#hfo-app .section h3.paper-bar *,
#hfo-app .section .document-block h3 *,
#hfo-app .section .notice h3 * {
  color: inherit !important;
}
/* Blue header cells only; leave gray/white table headers readable in black. */
#hfo-app .section .paper-table thead th {
  background-color: #153c70 !important;
  color: #ffffff !important;
}
#hfo-app .section .paper-table thead th * { color: inherit !important; }


/* Selected Categories count: readable badge on navy-blue heading */
#hfo-app .section h3 #catCount,
#hfo-app .section h3 .badge#catCount {
    display: inline-block;
    background: #ffffff !important;
    color: #153c70 !important;
    border: 1px solid #d7e5f3 !important;
    border-radius: 999px !important;
    padding: 2px 9px !important;
    font-family: Georgia, serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    vertical-align: middle;
    margin-left: 5px;
}


/* Litigation table: keep each editable record inside its own table row. */
#hfo-app .litigation-table tbody tr.litigation-entry{display:table-row!important;background:#fff!important;}
#hfo-app .litigation-table tbody tr.litigation-entry > td{display:table-cell!important;vertical-align:top!important;white-space:normal!important;padding:6px!important;}
#hfo-app .litigation-table tbody tr.litigation-entry input,
#hfo-app .litigation-table tbody tr.litigation-entry select,
#hfo-app .litigation-table tbody tr.litigation-entry textarea{max-width:100%!important;box-sizing:border-box!important;}
#hfo-app .litigation-table tbody tr.litigation-entry td:nth-child(4) input{margin-bottom:6px!important;}
#hfo-app .litigation-table tbody tr.litigation-entry .remove-row{color:#a43136!important;background:transparent!important;white-space:nowrap!important;}
#hfo-app .litigation-table .litigation-row-no{font-weight:700;text-align:center;}


/* Litigation: isolated native table rows, never styled as repeating cards. */
#hfo-app .paper-table.litigation-table {width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;}
#hfo-app .paper-table.litigation-table tbody {display:table-row-group!important;}
#hfo-app .paper-table.litigation-table tbody > tr.litigation-entry {
    display:table-row!important;margin:0!important;padding:0!important;border:0!important;
    background:#fff!important;position:static!important;float:none!important;
}
#hfo-app .paper-table.litigation-table tbody > tr.litigation-entry > td {
    display:table-cell!important;vertical-align:top!important;
    border:1px solid #8492a4!important;padding:6px 5px!important;
    margin:0!important;min-width:0!important;float:none!important;
}
#hfo-app .paper-table.litigation-table tbody td input,
#hfo-app .paper-table.litigation-table tbody td textarea,
#hfo-app .paper-table.litigation-table tbody td select {
    display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    font-family:Georgia,serif!important;font-size:12px!important;
}
#hfo-app .paper-table.litigation-table tbody td .remove-row{white-space:normal!important;}
#hfo-app .litigation-table th:nth-child(1){width:5%!important;}
#hfo-app .litigation-table th:nth-child(2){width:12%!important;}
#hfo-app .litigation-table th:nth-child(3){width:17%!important;}
#hfo-app .litigation-table th:nth-child(4){width:34%!important;}
#hfo-app .litigation-table th:nth-child(5){width:24%!important;}
#hfo-app .litigation-table th:nth-child(6){width:8%!important;}


/* 2026-11-15 — Desk: saved attachments and legible evaluation status */
#hfo-app .hfo-saved-links{display:flex;flex-direction:column;gap:6px;margin-top:10px;max-width:100%;}
#hfo-app .hfo-saved-item{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-family:Georgia,serif;font-size:12px;color:#223858;background:#f4f8fc;border:1px solid #d7e1ec;padding:7px 9px;}
#hfo-app .hfo-saved-name{flex:1 1 155px;min-width:0;overflow-wrap:anywhere;font-weight:600;}
#hfo-app .hfo-saved-item small{color:#5b7087;white-space:nowrap;}
#hfo-app .hfo-saved-item a{color:#075b94!important;text-decoration:underline!important;padding:3px 4px;white-space:nowrap;}
#hfo-app .hfo-saved-all{margin-top:20px;}
#hfo-app .hfo-evaluation-table{overflow-x:auto!important;max-width:100%;}
#hfo-app .hfo-evaluation-table table{min-width:1010px!important;table-layout:auto!important;}
#hfo-app .hfo-evaluation-table th:nth-child(4),#hfo-app .hfo-evaluation-table td:nth-child(4){min-width:128px!important;width:128px!important;}
#hfo-app .hfo-evaluation-table [data-eval-status]{width:115px!important;min-width:115px!important;max-width:none!important;display:block!important;color:#1d334c!important;background:#fff!important;border:1px solid #8ba5bf!important;border-radius:4px!important;font:12px Arial,sans-serif!important;padding:7px 6px!important;height:36px!important;}
#hfo-app .hfo-evaluation-table [data-eval-status] option{color:#1d334c!important;background:#fff!important;}
#hfo-app .hfo-evaluation-table [data-eval-score]{width:75px!important;min-width:75px!important;color:#1d334c!important;}
#hfo-app .hfo-evaluation-table textarea{min-width:135px!important;}

/* Revision 2026-11-22: repeatable bank, staffing, and personnel tables */
#hfo-app .hfo-dynamic-table{min-width:880px!important;width:100%!important}
#hfo-app .hfo-dynamic-table td{min-width:100px}
#hfo-app .hfo-dynamic-table td input[type=file]{max-width:190px;font-size:11px}
#hfo-app .hfo-reference-fields>.field{display:grid;grid-template-columns:minmax(135px,32%) 1fr;gap:10px;align-items:center}
#hfo-app .hfo-reference-fields>.field label{margin:0}
#hfo-app .hfo-ref-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#hfo-app .hfo-reference-fields input{min-height:32px!important;padding:6px 8px!important;border-radius:0!important}
@media(max-width:700px){#hfo-app .hfo-reference-fields>.field,#hfo-app .hfo-ref-pair{grid-template-columns:1fr}}
@media print{#hfo-app .hfo-dynamic-table{min-width:0!important;font-size:9px}#hfo-app .hfo-dynamic-table td{min-width:0!important;overflow-wrap:anywhere}}


/* 2026-11-22: compact reference cards and responsive personnel/staffing editors */
#hfo-app #referencesList .hfo-client-card{border:1px solid #4e5660!important;background:#fff!important;border-radius:0!important;padding:9px 10px 12px!important;margin:10px 0!important;break-inside:avoid}
#hfo-app .hfo-client-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font:700 12px Arial,sans-serif!important}
#hfo-app .hfo-remove-client{background:transparent;border:0;color:#d22;font-size:21px;line-height:1;cursor:pointer;padding:0 4px}
#hfo-app .hfo-client-fields>.field,#hfo-app .hfo-client-pair>.field{display:grid!important;grid-template-columns:155px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;margin:5px 0!important;min-height:0!important}
#hfo-app .hfo-client-fields .field label{font:11px Arial,sans-serif!important;max-width:none!important;margin:0!important;white-space:normal!important}
#hfo-app .hfo-client-fields .field input{font:12px Arial,sans-serif!important;min-height:24px!important;height:24px!important;padding:2px 5px!important;border:1px solid #aaa!important;background:white!important;border-radius:0!important;width:100%!important;box-shadow:none!important}
#hfo-app .hfo-client-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:10px!important}
#hfo-app .hfo-client-pair>.field{grid-template-columns:95px minmax(0,1fr)!important}
#hfo-app .hfo-client-upload{display:flex!important;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:9px!important;margin:10px 0 0!important;border:1px solid #aaa!important;background:#fafafa!important}
#hfo-app .hfo-client-upload strong{font:700 12px Arial,sans-serif!important}
#hfo-app .hfo-client-upload small{font:11px Arial,sans-serif!important;color:#627080!important}
#hfo-app .hfo-client-upload input[type=file]{display:block!important;max-width:260px!important;font-size:11px!important}
#hfo-app .paper-table-scroll:has(> .hfo-dynamic-table){display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;border:1px solid #b5c5d6;overscroll-behavior-x:contain}
#hfo-app .paper-table.hfo-dynamic-table{width:max-content!important;min-width:100%!important;table-layout:auto!important;border-collapse:collapse!important}
#hfo-app .paper-table.hfo-dynamic-table tbody{display:table-row-group!important}
#hfo-app .paper-table.hfo-dynamic-table tbody>tr.hfo-dynamic-row{display:table-row!important;height:auto!important}
#hfo-app .paper-table.hfo-dynamic-table tbody>tr.hfo-dynamic-row>td{display:table-cell!important;min-width:155px!important;width:auto!important;padding:7px!important;vertical-align:middle!important;white-space:normal!important}
#hfo-app .paper-table.hfo-dynamic-table tbody>tr.hfo-dynamic-row>td:has(input[type=file]){min-width:205px!important;border:1px solid #8393a4!important;background:#fff!important}
#hfo-app .paper-table.hfo-dynamic-table tbody>tr.hfo-dynamic-row>td:last-child{min-width:75px!important}
#hfo-app .paper-table.hfo-dynamic-table tbody input:not([type=file]),#hfo-app .paper-table.hfo-dynamic-table tbody select{display:block!important;width:100%!important;min-width:135px!important;min-height:36px!important;padding:6px!important;font:12px Arial,sans-serif!important;border:1px solid #b5c3d2!important;background:#fff!important;border-radius:3px!important}
#hfo-app .paper-table.hfo-dynamic-table tbody td.upload{padding:7px!important;margin:0!important;border-radius:0!important;box-sizing:border-box!important}
#hfo-app .paper-table.hfo-dynamic-table tbody td.upload input[type=file]{width:190px!important;max-width:190px!important;margin:0!important;padding:0!important;font-size:11px!important}
#hfo-app .paper-table.hfo-dynamic-table .remove-row{white-space:nowrap!important}
@media(max-width:650px){#hfo-app .hfo-client-fields>.field{grid-template-columns:120px minmax(0,1fr)!important}#hfo-app .hfo-client-pair{grid-template-columns:1fr!important}#hfo-app .hfo-client-pair>.field{grid-template-columns:120px minmax(0,1fr)!important}}
@media print{#hfo-app .paper-table-scroll:has(> .hfo-dynamic-table){overflow:visible!important}#hfo-app .paper-table.hfo-dynamic-table{width:100%!important;min-width:0!important}#hfo-app .paper-table.hfo-dynamic-table tbody>tr.hfo-dynamic-row>td{min-width:0!important}}

/* Appendix B: faithfully reproduce the source declaration's opening line and signatory details. */
#hfo-app .hfo-appendix-b-intro{display:flex!important;align-items:baseline!important;gap:9px!important;flex-wrap:wrap!important;margin:18px 0 14px!important}
#hfo-app .hfo-appendix-b-intro label,#hfo-app .hfo-appendix-b-intro span{font:15px Georgia,'Times New Roman',serif!important;color:#111!important}
#hfo-app .hfo-appendix-b-intro input{flex:1 1 260px!important;width:auto!important;min-width:180px!important}
#hfo-app .hfo-appendix-b-identity{margin:24px 0 18px!important}
#hfo-app .hfo-appendix-b-identity .paper-field{display:flex!important;align-items:baseline!important;gap:15px!important;max-width:720px!important;margin:15px 0!important}
#hfo-app .hfo-appendix-b-identity label{font:15px Georgia,'Times New Roman',serif!important;min-width:100px!important}
#hfo-app .hfo-appendix-b-identity input{flex:1 1 220px!important;min-width:0!important;width:auto!important}
#hfo-app .hfo-appendix-b-identity input[type=date]{max-width:260px!important}
#hfo-app #declarationsList .boxline{align-items:flex-start!important;gap:12px!important;margin:14px 0!important}
#hfo-app #declarationsList .boxline span{font:15px/1.5 Georgia,'Times New Roman',serif!important;color:#111!important}
@media(max-width:600px){#hfo-app .hfo-appendix-b-identity .paper-field{display:block!important}#hfo-app .hfo-appendix-b-identity input{width:100%!important}}

/* 2026-11-23: component-based HFO management scoring */
#hfo-app .hfo-evaluation-table table{min-width:1450px!important;}
#hfo-app .hfo-evaluation-table th:nth-child(7),#hfo-app .hfo-evaluation-table td:nth-child(7){min-width:128px!important;width:128px!important;}
#hfo-app .hfo-evaluation-table th:nth-child(4),#hfo-app .hfo-evaluation-table td:nth-child(4){min-width:90px!important;width:90px!important;}
#hfo-app .hfo-evaluation-table [data-eval-component]{min-width:72px!important;width:78px!important;max-width:100%!important;}
#hfo-app .hfo-evaluation-table [data-eval-component][aria-invalid="true"]{outline:2px solid #b91c1c!important;}
#hfo-app .hfo-evaluation-table [data-eval-score]{background:#edf3f9!important;font-weight:bold!important;}

/* 2026-11-23 — Technical Evaluation: readable, professional management grid. */
#hfo-app.hfo-eval-wide{max-width:1660px!important;width:calc(100% - 20px)!important;margin-left:auto!important;margin-right:auto!important}
#hfo-app.hfo-eval-wide .layout{grid-template-columns:205px minmax(0,1fr)!important;gap:16px!important}
#hfo-app.hfo-eval-wide .panel{min-width:0!important;padding:28px 28px 32px!important}
#hfo-app.hfo-eval-wide .section[data-step="8"]>p{font:13px/1.6 Inter,Arial,sans-serif!important;color:#52647b!important;max-width:850px}
#hfo-app .hfo-eval-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:15px 17px;background:#f6f9fd;border:1px solid #d7e2ee;border-bottom:0;font-family:Inter,Arial,sans-serif}
#hfo-app .hfo-eval-caption{display:flex;flex-direction:column;gap:4px}
#hfo-app .hfo-eval-caption strong{font:700 15px/1.4 Inter,Arial,sans-serif;color:#173c70}
#hfo-app .hfo-eval-caption span{font-size:12px;color:#64748b}
#hfo-app .hfo-eval-overview{display:flex;flex-wrap:wrap;gap:7px}
#hfo-app .hfo-eval-overview span{font:600 11px/1.4 Inter,Arial,sans-serif;color:#33516e;background:#fff;border:1px solid #d5e1ed;border-radius:20px;padding:6px 10px;white-space:nowrap}
#hfo-app .hfo-eval-scroll-hint{font:11px/1.5 Inter,Arial,sans-serif;color:#57728c;text-align:right;padding:7px 4px}
#hfo-app .hfo-evaluation-table{max-width:100%!important;overflow-x:auto!important;border:1px solid #cbd8e6!important;border-radius:6px!important;box-shadow:0 4px 16px #1b3b5b0b;scrollbar-color:#9bb2c7 #edf2f7}
#hfo-app .hfo-evaluation-table:focus-visible{outline:2px solid #1676a2;outline-offset:3px}
#hfo-app .hfo-evaluation-table table{min-width:1510px!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;font:12px/1.5 Inter,Arial,sans-serif!important}
#hfo-app .hfo-evaluation-table col.ev-ref{width:122px}#hfo-app .hfo-evaluation-table col.ev-description{width:245px}#hfo-app .hfo-evaluation-table col.ev-component{width:105px}#hfo-app .hfo-evaluation-table col.ev-total{width:98px}#hfo-app .hfo-evaluation-table col.ev-status{width:120px}#hfo-app .hfo-evaluation-table col.ev-note{width:185px}
#hfo-app .hfo-evaluation-table th,#hfo-app .hfo-evaluation-table td{min-width:0!important;width:auto!important;box-sizing:border-box!important;border:0!important;border-right:1px solid #dce5ee!important;border-bottom:1px solid #dce5ee!important;padding:11px 10px!important;vertical-align:middle!important;text-align:left!important;overflow-wrap:anywhere!important}
#hfo-app .hfo-evaluation-table thead th{position:relative;background:#173d70!important;color:white!important;font:600 11px/1.4 Inter,Arial,sans-serif!important;letter-spacing:.15px}
#hfo-app .hfo-evaluation-table thead .hfo-eval-group-head th{background:#173d70!important;padding:13px 11px!important}
#hfo-app .hfo-evaluation-table thead .hfo-eval-group-head th[colspan]{text-align:center!important;background:#215287!important}
#hfo-app .hfo-evaluation-table thead .hfo-eval-sub-head th{background:#e8f1f9!important;color:#173d70!important;font-weight:700!important;text-align:center!important;border-bottom:2px solid #a9bfd6!important}
#hfo-app .hfo-evaluation-table th small{font:600 10px Inter,Arial,sans-serif;opacity:.85;white-space:nowrap}
#hfo-app .hfo-evaluation-table tbody tr:nth-child(even){background:#f8fbfe!important}
#hfo-app .hfo-evaluation-table tbody tr:hover{background:#eef6fc!important}
#hfo-app .hfo-evaluation-table tbody td:first-child{font:700 11px/1.5 Inter,Arial,sans-serif!important;color:#173d70!important}
#hfo-app .hfo-evaluation-table tbody td:nth-child(2){line-height:1.5!important;color:#31445e!important}
#hfo-app .hfo-evaluation-table [data-eval-component],#hfo-app .hfo-evaluation-table [data-eval-score]{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;height:40px!important;min-height:40px!important;text-align:center!important;border:1px solid #b7cadc!important;border-radius:5px!important;background:#fff!important;padding:7px 6px!important;box-shadow:none!important;font:600 13px Inter,Arial,sans-serif!important;color:#1c3856!important}
#hfo-app .hfo-evaluation-table [data-eval-component]:focus{border:2px solid #147ba6!important;outline:none!important}
#hfo-app .hfo-evaluation-table [data-eval-component][aria-invalid="true"]{border:2px solid #bf2e3a!important;background:#fff3f4!important;outline:none!important}
#hfo-app .hfo-evaluation-table [data-eval-score]{background:#eaf3fc!important;border-color:#bed6ec!important;color:#153d73!important;font-weight:800!important}
#hfo-app .hfo-evaluation-table [data-eval-status]{display:block!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;border-radius:19px!important;padding:5px 7px!important;border:1px solid #cbd5e1!important;background:#f1f5f9!important;color:#52627a!important;text-align:center!important;text-align-last:center!important;opacity:1!important;font:700 11px Inter,Arial,sans-serif!important;-webkit-text-fill-color:currentColor!important}
#hfo-app .hfo-evaluation-table tr[data-result="pass"] [data-eval-status]{background:#e6f7ee!important;border-color:#a1d8b8!important;color:#16613b!important}
#hfo-app .hfo-evaluation-table tr[data-result="fail"] [data-eval-status]{background:#fff0ef!important;border-color:#efb6b3!important;color:#a12d29!important}
#hfo-app .hfo-evaluation-table textarea{width:100%!important;min-width:0!important;min-height:58px!important;height:58px!important;resize:vertical!important;background:#fff!important;background-image:none!important;border:1px solid #c8d6e4!important;border-radius:5px!important;padding:8px!important;font:12px/1.5 Inter,Arial,sans-serif!important}
#hfo-app .hfo-eval-empty{text-align:center!important;padding:30px!important;color:#66788c!important}
#hfo-app .hfo-eval-footnote{margin-top:11px;color:#52647b;font:12px/1.6 Inter,Arial,sans-serif}
@media(max-width:900px){#hfo-app.hfo-eval-wide .layout{grid-template-columns:170px minmax(0,1fr)!important;gap:10px!important}#hfo-app.hfo-eval-wide .panel{padding:18px 12px!important}}
@media print{#hfo-app .hfo-eval-scroll-hint{display:none!important}#hfo-app .hfo-evaluation-table{overflow:visible!important}#hfo-app .hfo-evaluation-table table{min-width:0!important;font-size:8px!important}#hfo-app .hfo-evaluation-table th,#hfo-app .hfo-evaluation-table td{padding:4px!important}#hfo-app .hfo-evaluation-table col.ev-ref{width:9%}#hfo-app .hfo-evaluation-table col.ev-description{width:17%}#hfo-app .hfo-evaluation-table col.ev-component{width:7%}#hfo-app .hfo-evaluation-table col.ev-total{width:7%}#hfo-app .hfo-evaluation-table col.ev-status{width:9%}#hfo-app .hfo-evaluation-table col.ev-note{width:13%}}

/* Technical evaluation: compact two-tier header and stronger invalid-score warning. */
#hfo-app .hfo-evaluation-table thead .hfo-eval-group-head th{padding:7px 9px!important;line-height:1.15!important;height:30px!important}
#hfo-app .hfo-evaluation-table thead .hfo-eval-sub-head th{padding:6px 7px!important;line-height:1.2!important;height:30px!important}
#hfo-app .hfo-evaluation-table thead th{font-size:10px!important}
#hfo-app .hfo-evaluation-table th small{font-size:9px!important}
#hfo-app .hfo-evaluation-table [data-eval-component][aria-invalid="true"]{border:2px solid #cf1629!important;background:#ffe3e6!important;color:#9f1239!important;box-shadow:0 0 0 2px #ffd1d7!important}
#hfo-app .hfo-evaluation-table tr[data-score-invalid="true"] [data-eval-score]{background:#fff0f0!important;color:#a91e2a!important;border-color:#e6a0a8!important}
#hfo-app .hfo-evaluation-table [data-eval-status]:not(:disabled){cursor:pointer!important;opacity:1!important}

#hfo-app .paper-table.hfo-partner-table {
  min-width: 520px !important;
}
#hfo-app .hfo-partner-table th:first-child,
#hfo-app .hfo-partner-table td:first-child {
  text-align: center;
  width: 1%;
}
#hfo-app .hfo-partner-table th:nth-child(2) { width: 30%; }
#hfo-app .hfo-partner-table th:nth-child(4) { width: 26%; }
#hfo-app .hfo-partner-table th:nth-child(5) { width: 16%; }
#hfo-app .hfo-partner-table th:last-child { width: 1%; }
@media print {
  #hfo-app .paper-table.hfo-partner-table {
    min-width: 0 !important;
  }
}

/* Keep questionnaire typography consistent across Desk, portal and print.
   Important declarations in this layer take precedence over the older
   unlayered typography rules without changing their other properties. */
@layer hfo-document-typography {
  #hfo-app {
    --hfo-document-font-family: Arial, "Liberation Sans", Helvetica, sans-serif;
    --hfo-document-font-size: 11pt;
    --hfo-document-running-text-size: 8pt;
  }

  #hfo-app,
  #hfo-app :not(.hfo-default-letterhead, .hfo-default-letterhead *),
  #hfo-app input::file-selector-button {
    font-family: var(--hfo-document-font-family) !important;
    font-size: var(--hfo-document-font-size) !important;
  }

  #hfo-app .hfo-page-heading :is(.hfo-page-ref, .hfo-page-number) {
    font-size: var(--hfo-document-running-text-size) !important;
  }
}

#hfo-app .hfo-print-only {
  display: none;
}

@page {
  size: A4 portrait;
  margin: 12mm;
}

@layer hfo-print {
  @media print {
    body:has(#hfo-app),
    body :has(#hfo-app),
    #hfo-app,
    #hfo-app .layout,
    #hfo-app .panel,
    #hfo-app #hfoForm {
      display: block !important;
      width: auto !important;
      min-width: 0 !important;
      max-width: none !important;
      height: auto !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: visible !important;
      background: white !important;
    }

    body:has(#hfo-app) > :not(#hfo-app):not(:has(#hfo-app)),
    body:has(#hfo-app) :is(.navbar, .web-footer, .page-breadcrumbs, .page-header-wrapper, .page-footer),
    #hfo-app .sidebar,
    #hfo-app .actions,
    #hfo-app .panel > :not(#hfoForm),
    #hfo-app :is(button, .no-print, #hfoError, #hfoStatus, .extra-file-note),
    #hfo-app .section:not([data-document-page]),
    #hfo-app [data-hfo-print-source],
    #hfo-app .hfo-saved-item a {
      display: none !important;
    }

    #hfo-app {
      print-color-adjust: exact;
      -webkit-print-color-adjust: exact;
    }

    #hfo-app .section[data-document-page] {
      display: block !important;
      width: auto !important;
      min-height: 0 !important;
      margin: 0 0 6mm !important;
      padding: 0 !important;
      border: 0 !important;
      box-shadow: none !important;
      overflow: visible !important;
      break-before: auto !important;
      page-break-before: auto !important;
    }

    #hfo-app .section :is(h2, h3, h4, .hfo-page-heading, .hfo-applied-caption) {
      break-after: avoid;
      page-break-after: avoid;
    }
    #hfo-app .section :is(h2, h3, h4) {
      margin-top: 10px !important;
      margin-bottom: 7px !important;
    }
    #hfo-app .section .hfo-page-heading {
      margin-bottom: 4px !important;
    }
    #hfo-app .section .field,
    #hfo-app .section .repeat .field {
      margin: 3px 0 !important;
      min-height: 0 !important;
    }

    #hfo-app .section :is(.tablewrap, .paper-table-scroll, .extra-doc-table-wrap, .hfo-applied-categories) {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
      border: 0 !important;
    }
    #hfo-app .section table:not(.hfo-default-letterhead *) {
      display: table !important;
      width: 100% !important;
      min-width: 0 !important;
      max-width: 100% !important;
      table-layout: fixed !important;
      border-collapse: collapse !important;
    }
    #hfo-app .section thead {
      display: table-header-group !important;
    }
    #hfo-app .section :is(th, td):not(.hfo-default-letterhead *) {
      min-width: 0 !important;
      padding: 4px 5px !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
    }
    #hfo-app .section thead th:not(.hfo-default-letterhead *) {
      background: #153c70 !important;
      color: white !important;
    }
    #hfo-app .section tr {
      break-inside: avoid;
      page-break-inside: avoid;
    }
    #hfo-app .section .hfo-print-category-group {
      break-after: avoid;
      page-break-after: avoid;
    }
    #hfo-app .hfo-print-categories thead th:first-child {
      width: 27%;
    }
    #hfo-app .review-table td:first-child {
      width: 32%;
    }

    #hfo-app .hfo-print-value {
      display: block !important;
      flex: 1 1 0;
      min-width: 0;
      max-width: 100%;
      color: #111;
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }
    #hfo-app .hfo-print-blank {
      min-height: 1.25em;
      border-bottom: 1px dotted #737373;
    }
    #hfo-app td .hfo-print-blank {
      border-bottom: 0;
    }
    #hfo-app .hfo-ref-one-row,
    #hfo-app .hfo-ref-one-row .hfo-ref-item {
      flex-wrap: wrap !important;
    }
    #hfo-app .hfo-ref-one-row * {
      white-space: normal !important;
    }
  }
}
