/* ClearlyHost HR function catalog – self-contained, keyboard/RTL friendly. */
.hfc-page{--hfc-navy:#112641;--hfc-blue:#1468a5;--hfc-green:#15846b;--hfc-gold:#cba75c;--hfc-line:#dbe5ed;--hfc-soft:#f5f9fc;--hfc-text:#19324b;color:var(--hfc-text);display:grid;gap:20px;max-width:1540px;margin-inline:auto}
.hfc-page *{box-sizing:border-box}.hfc-page .hfc-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;border-radius:20px;background:linear-gradient(118deg,#0d2845 0%,#174968 72%,#186a67 100%);color:white;padding:30px 33px;overflow:hidden;position:relative;border-bottom:4px solid var(--hfc-gold)}
.hfc-page .hfc-hero h1{font-size:clamp(22px,2.6vw,32px);font-weight:750;line-height:1.22;margin:7px 0 10px;color:#fff}.hfc-page .hfc-hero p{color:#d7e7ed;margin:0;font-size:14px;max-width:64ch;line-height:1.6}
.hfc-page .hfc-kicker{font-weight:750;font-size:11px;letter-spacing:.14em;color:#e5c68a}.hfc-page .hfc-monogram{height:92px;width:92px;border-radius:21px;border:1px solid #ffffff40;background:#ffffff18;display:grid;place-items:center;flex:none;font-size:30px;font-weight:850;line-height:1;color:#fff;position:relative}.hfc-page .hfc-monogram span{position:absolute;font-size:10px;bottom:16px;letter-spacing:.16em;color:#f4cf89}
.hfc-page .hfc-hero-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.hfc-page .hfc-hero-link{display:inline-flex;padding:9px 12px;text-decoration:none;border:1px solid #ffffff48;border-radius:9px;background:#ffffff1a;color:#fff;font-size:12px;gap:8px;align-items:center}.hfc-page .hfc-hero-link:hover{background:#ffffff31;color:#fff}
.hfc-page .hfc-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.hfc-page .hfc-stat{background:#fff;border:1px solid var(--hfc-line);border-radius:15px;padding:17px 21px;box-shadow:0 8px 22px #18364b09}.hfc-page .hfc-stat span{display:block;color:#657b8d;font-size:12px;margin-bottom:9px}.hfc-page .hfc-stat strong{font-size:28px;line-height:1;color:var(--hfc-navy);font-weight:750;display:block}
.hfc-page .hfc-hint{display:flex;gap:12px;align-items:flex-start;padding:13px 16px;border-radius:12px;background:#eaf6f2;border:1px solid #cde8db;color:#215b4d;font-size:13px;line-height:1.6}.hfc-page .hfc-hint>span:first-child{font-size:17px;line-height:1.2}.hfc-page .hfc-error{padding:18px 20px;border:1px solid #e2a5a5;background:#fff3f3;border-radius:14px;color:#9f3535}
.hfc-page .hfc-layout{display:grid;grid-template-columns:minmax(300px,0.9fr) minmax(0,1.3fr);align-items:start;gap:18px}.hfc-page .hfc-panel{min-width:0;padding:23px;background:#fff;border:1px solid var(--hfc-line);border-radius:20px;box-shadow:0 12px 28px #142e490a}
.hfc-page .hfc-panel-head{display:flex;gap:14px;align-items:flex-start;padding-bottom:17px;margin-bottom:17px;border-bottom:1px solid var(--hfc-line)}.hfc-page .hfc-step{background:linear-gradient(130deg,var(--hfc-navy),var(--hfc-blue));color:#fff;border-radius:11px;width:35px;min-width:35px;height:35px;display:grid;place-items:center;font-size:12px;font-weight:750}
.hfc-page .hfc-panel-head h2{font-size:18px;color:var(--hfc-navy);margin:1px 0 5px;font-weight:750}.hfc-page .hfc-panel-head p{color:#647a8b;margin:0;font-size:12px;line-height:1.55}
.hfc-page .hfc-form{display:grid;gap:16px}.hfc-page .hfc-formrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hfc-page .hfc-formrow-top{grid-template-columns:1fr 130px}.hfc-page .hfc-field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#243c52;font-weight:650;min-width:0}.hfc-page .hfc-field>span small{color:#ae6530}.hfc-page .hfc-field>small{font-size:11px;font-weight:400;color:#61788e;line-height:1.5}
.hfc-page .hfc-field input,.hfc-page .hfc-field textarea,.hfc-page .hfc-search input{background:#fbfdff;border:1px solid #cddbe7;border-radius:10px;font-size:13px;color:#18334d;padding:11px 12px;width:100%;min-height:43px;min-width:0;font:inherit}
.hfc-page input:focus-visible,.hfc-page textarea:focus-visible,.hfc-page button:focus-visible,.hfc-page a:focus-visible{outline:3px solid #dfb96c;outline-offset:2px}.hfc-page .hfc-field input[readonly]{background:#eef4f8;font-weight:700;color:#446278}
.hfc-page .hfc-divider{height:1px;background:var(--hfc-line);position:relative;margin:11px 0 4px}.hfc-page .hfc-divider span{background:#fff;position:absolute;top:-11px;inset-inline-start:0;padding-inline-end:10px;font-size:12px;color:#345772;font-weight:700}
.hfc-page .hfc-details{padding:11px 14px;border:1px dashed #cddbe7;border-radius:11px;background:#fafcfe}.hfc-page .hfc-details>summary{cursor:pointer;font-size:12px;font-weight:750;color:#2a607e}.hfc-page .hfc-details .hfc-formrow{margin-top:13px}
.hfc-page .hfc-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hfc-page .hfc-actions .btn{min-width:105px}.hfc-page .hfc-submit{background:var(--hfc-green)!important;color:#fff}
.hfc-page .hfc-search{display:grid;gap:6px;font-weight:650;font-size:12px;color:#456477;margin-bottom:15px}.hfc-page .hfc-search input{min-height:43px}
.hfc-page .hfc-table-wrap{overflow-x:auto;max-width:100%}.hfc-page .hfc-table{border-collapse:separate;border-spacing:0;width:100%;min-width:650px;font-size:12px}.hfc-page .hfc-table th{font-size:10px;color:#577187;background:#f0f6fa;text-transform:uppercase;letter-spacing:.06em;padding:12px 11px;text-align:start}.hfc-page .hfc-table td{padding:13px 11px;vertical-align:top;border-bottom:1px solid var(--hfc-line);color:#284256;font-size:12px}
.hfc-page .hfc-table td>b,.hfc-page .hfc-table td strong{color:var(--hfc-navy)}.hfc-page .hfc-table td small{display:block;color:#6d8190;margin-top:4px;font-size:10px}.hfc-page .hfc-code{display:inline-flex;border-radius:8px;padding:5px 9px;background:#e8f1f7;color:#185777;font-weight:800;white-space:nowrap}
.hfc-page .hfc-count{display:inline-flex;font-weight:750;min-width:29px;min-height:29px;align-items:center;justify-content:center;border-radius:8px;background:#f1f5fa;color:#294b62}.hfc-page .hfc-status{display:inline-flex;padding:6px 9px;border-radius:99px;font-size:10px;font-weight:800;white-space:nowrap}.hfc-page .hfc-status.is-active{background:#e8f6ef;color:#17684f}.hfc-page .hfc-status.is-inactive{background:#f5ecec;color:#8e5151}
.hfc-page .hfc-row-actions{display:flex;gap:7px;align-items:flex-start;flex-wrap:wrap}.hfc-page .hfc-row-actions .btn{white-space:nowrap;min-height:32px;font-size:11px;border-radius:8px;padding:7px 10px}.hfc-page .hfc-status-form{display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px}.hfc-page .hfc-danger{background:#fff7f6!important;border:1px solid #e9ceca;color:#9b453e!important}.hfc-page .hfc-enable{background:#e7f6ef!important;border:1px solid #b9ddcf;color:#166e53!important}.hfc-page .hfc-confirm{display:flex;gap:7px;align-items:flex-start;max-width:190px;color:#835c33;font-size:10px;line-height:1.4}.hfc-page .hfc-confirm input{width:16px;height:16px;flex:0 0 16px;margin-top:0}.hfc-page .hfc-empty{padding:20px;color:#64788b}.hfc-page [hidden]{display:none!important}
@media(max-width:1250px){.hfc-page .hfc-layout{grid-template-columns:1fr}.hfc-page .hfc-editor{order:0}.hfc-page .hfc-directory{order:1}}
@media(max-width:700px){.hfc-page .hfc-hero{padding:22px 20px}.hfc-page .hfc-monogram{display:none}.hfc-page .hfc-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.hfc-page .hfc-panel{padding:17px}.hfc-page .hfc-formrow,.hfc-page .hfc-formrow-top{grid-template-columns:1fr}.hfc-page .hfc-stat{padding:14px 16px}}
[dir="rtl"] .hfc-page .hfc-hero .hfc-kicker{letter-spacing:0}[dir="rtl"] .hfc-page .hfc-table td,[dir="rtl"] .hfc-page .hfc-table th{text-align:right}

/* Explicit button styling: the preview and HR app should look alike. */
.hfc-page .hfc-actions .btn,.hfc-page .hfc-row-actions .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #cbdce7;border-radius:9px;background:#f7fafc;color:#20516b;font-weight:750;line-height:1.3;cursor:pointer}
.hfc-page .hfc-actions .btn{padding:12px 17px;min-height:42px}.hfc-page .hfc-row-actions .btn{padding:8px 11px;min-height:34px}
.hfc-page .hfc-actions .hfc-submit{border-color:transparent;background:#15846b!important;color:#fff!important}
.hfc-page .hfc-row-actions .hfc-danger{background:#fff7f6!important;color:#9b453e!important}.hfc-page .hfc-row-actions .hfc-enable{background:#e7f6ef!important;color:#166e53!important}
@media(max-width:700px){
  .hfc-page .hfc-table{display:block;min-width:0;border:0}
  .hfc-page .hfc-table thead{display:none}
  .hfc-page .hfc-table tbody{display:grid;gap:12px}
  .hfc-page .hfc-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;border:1px solid var(--hfc-line);border-radius:13px;padding:13px;background:#fbfdff}
  .hfc-page .hfc-table td{display:flex;flex-wrap:wrap;align-content:start;align-items:flex-start;flex-direction:column;gap:5px;padding:0;border:0;min-width:0}
  .hfc-page .hfc-table td::before{content:attr(data-label);color:#607b8d;font-weight:650;font-size:10px;line-height:1.4}
  .hfc-page .hfc-table td:nth-child(2){grid-column:2}
  .hfc-page .hfc-table td:nth-child(5){grid-column:1/-1;padding-top:10px;border-top:1px solid var(--hfc-line)}
  .hfc-page .hfc-row-actions{gap:9px;justify-content:flex-start}
  .hfc-page .hfc-status-form{flex:1;align-items:center}
  .hfc-page .hfc-confirm{max-width:260px}
  .hfc-page .hfc-table td small{margin-top:0}
}
