/* HazaM Core Service entry point. Customer profile; shared site shell and buttons. */
.customer-site { font-family: Arial, Helvetica, sans-serif; }
.customer-site [hidden] { display: none !important; }
.customer-site button { cursor: pointer; }
.customer-site button:disabled { cursor: default; }
.customer-auth-card { width: min(100% - 28px, 560px); margin: 34px auto; padding: 24px; border: 1px solid #a9ae9f; background: #f7f8f1; }
.customer-auth-card h1 { margin: 0 0 20px; font-size: 24px; }
.customer-auth-form { display: grid; gap: 15px; }
.customer-auth-form .customer-field small { color: #636c5c; }
.customer-pending { border: 1px solid #afb7a2; margin: 0; padding: 12px; }
.customer-pending input:disabled { background: #e5e9dc; }
.customer-terms { display: flex; align-items: center; gap: 8px; }
.customer-login-dialog { width: min(460px, calc(100% - 24px)); padding: 0; border: 1px solid #707c62; border-radius: 0; background: #f7f8f1; color: #242724; }
.customer-login-dialog::backdrop { background: #20251e99; }
.customer-dialog-title { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #d6dece; border-bottom: 1px solid #a9ae9f; }
.customer-dialog-title h2 { margin: 0; font: bold 16px Arial, sans-serif; }
.customer-dialog-body { padding: 20px; }
.customer-dialog-body input { width: 100%; min-height: 36px; padding: 7px 9px; font: 13px Consolas, monospace; border: 1px solid #909c84; border-radius: 0; box-shadow: inset 1px 1px #b3bba9; }
.customer-dialog-body .customer-field { display: flex; flex-direction: column; gap: 5px; font: 12px Arial, sans-serif; }
.customer-dialog-body .customer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.customer-dialog-body .customer-save { background: #326043; color: white; font-weight: bold; }
.customer-session { padding: 12px 0; border-bottom: 1px solid #bcc3b0; }
.customer-session small { display: block; color: #636c5c; }
.customer-session + form { margin-top: 16px; }
.customer-site :focus-visible { outline: 2px solid #326043; outline-offset: 3px; }
.customer-site .preview-banner { font-size: 12px; align-items: start; }
.customer-site .preview-banner > span { max-width: 950px; }
.customer-site .preview-banner > a { flex-shrink: 0; }
.customer-breadcrumb { padding: 16px 22px 0; color: #636c5c; font-size: 12px; }
.customer-titlebar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 10px 22px 18px; }
.customer-titlebar h1 { margin: 0; font-size: 25px; }
.customer-tag { padding: 4px 7px; border: 1px solid #b7bdae; color: #606958; background: #e2e5d9; font: 11px Consolas, monospace; }
.customer-tag.planned { color: #77602b; background: #efe8d5; border-color: #c9bb97; }
.customer-layout { flex: 1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 0 22px 26px; align-items: start; }
.customer-layout > * { min-width: 0; }
.customer-sidebar { border: 1px solid #abb19f; background: #e0e3d8; }
.customer-identity { display: flex; gap: 10px; align-items: center; padding: 15px 12px; border-bottom: 1px solid #b2b8a8; background: #d6dece; }
.customer-identity > div { min-width: 0; overflow-wrap: anywhere; }
.customer-identity strong, .customer-identity small { display: block; }
.customer-identity small { font-size: 12px; color: #52604a; }
.customer-avatar { display: inline-grid; place-items: center; flex: 0 0 45px; width: 45px; height: 45px; border: 1px solid #8b997f; box-shadow: inset 1px 1px #e2eadb; background: #bdcbb1; font: 19px Consolas, monospace; }
.customer-avatar.mini { width: 26px; height: 26px; flex-basis: 26px; font-size: 11px; }
.customer-nav { display: flex; flex-direction: column; gap: 3px; padding: 10px 7px 5px; }
.customer-nav h2 { padding: 2px 7px 7px; margin: 0; color: #65705a; font-size: 11px; font-weight: normal; letter-spacing: .8px; text-transform: uppercase; }
.customer-nav button, .customer-nav a { display: block; width: 100%; text-align: left; padding: 9px 8px; font: 13px Arial, sans-serif; border: 1px solid transparent; border-radius: 0; color: #354330; background: transparent; text-decoration: none; }
.customer-nav button:hover, .customer-nav a:hover { border-color: #b4bca9; background: #d5ddcc; }
.customer-nav [aria-current="page"] { background: #c7d3bd; border-color: #8c9a7e; box-shadow: inset 1px 1px #b3c2a7; font-weight: bold; }
.customer-navfoot { margin: 12px 12px 15px; padding-top: 12px; border-top: 1px solid #b4bba9; font-size: 12px; }
.customer-good { color: #35633e; }
.customer-main { border: 1px solid #a9ae9f; background: #f7f8f1; padding: 22px; min-height: 625px; }
.customer-main h2 { margin: 0; font-size: 20px; }
.customer-main h3 { margin: 0 0 10px; font-size: 15px; }
.customer-main p { margin: 8px 0 14px; }
.customer-muted { color: #636c5c; font-size: 12px; }
.customer-panels { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; margin: 18px 0; }
.customer-box, .customer-main fieldset { min-width: 0; margin: 18px 0; padding: 16px; border: 1px solid #afb7a2; background: #f0f3e8; }
.customer-panels > .customer-box { margin: 0; }
.customer-main legend { padding: 0 6px; font-size: 13px; font-weight: bold; color: #3e4a36; }
.customer-details { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 10px; row-gap: 10px; margin: 14px 0 18px; font-size: 13px; }
.customer-details dt { color: #68715f; }
.customer-details dd { margin: 0; overflow-wrap: anywhere; }
.customer-pagehead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.customer-pagehead h3 { margin: 0; }
.customer-empty { padding: 28px 8px; text-align: center; color: #646f5d; }
.customer-empty strong { display: block; color: #3f4b37; }
.customer-empty p { font-size: 12px; }
.customer-formgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.customer-company { margin-top: 14px; }
.customer-full { grid-column: 1 / -1; }
.customer-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 12px; color: #4e5b44; }
.customer-site input:not([type="radio"]), .customer-site select { width: 100%; min-width: 0; min-height: 36px; padding: 7px 9px; font: 13px Consolas, "Courier New", monospace; color: #2a3426; background: #fbfcf7; border: 1px solid #909c84; border-bottom-color: #f7f9f1; border-right-color: #f7f9f1; box-shadow: inset 1px 1px #b3bba9; border-radius: 0; }
.customer-site input[readonly] { color: #626262; background: #e1e1e1; border-color: #a0a0a0; border-bottom-color: #f1f1f1; border-right-color: #f1f1f1; box-shadow: inset 1px 1px #bebebe; cursor: default; }
.customer-radios { display: flex; flex-wrap: wrap; gap: 10px 25px; }
.customer-radios label { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.customer-radios input { accent-color: #4b7043; }
.customer-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.customer-site .customer-save { background: #326043; color: #fff; font-weight: bold; }
.customer-site .customer-save:hover { background: #3c7050; }
.customer-notice, .customer-status { border: 1px solid #b8bfac; border-left: 3px solid #869b72; background: #e8edde; padding: 11px 13px; font-size: 12px; }
.customer-notice.warning { border-color: #c9bc96; border-left-color: #b39142; background: #f2eddd; color: #665530; }
.customer-tablewrap { overflow-x: auto; margin-top: 18px; }
.customer-site table { width: 100%; border-collapse: collapse; font-size: 12px; }
.customer-site th, .customer-site td { padding: 11px 9px; border: 1px solid #bcc3b0; text-align: left; }
.customer-site th { background: #dfe5d6; }
.customer-site td.customer-empty { text-align: center; padding: 34px 10px; }
.customer-platform { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.customer-platform small { display: block; color: #636c5c; }
.customer-platform button { margin-left: auto; }
.customer-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.customer-footer nav { display: flex; gap: 8px; }
.customer-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.customer-captcha { min-width: 0; margin: 4px 0; padding: 14px; border: 1px solid #a3ad95; background: #edf0e5; }
.customer-captcha legend { padding: 0 6px; font-size: 13px; color: #3e4a36; }
.customer-captcha-image { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 10px 0 14px; }
.customer-captcha-image img { max-width: 100%; height: auto; border: 1px solid #909c84; }
.customer-captcha-image button { cursor: pointer; }
.customer-captcha [name="captcha_code"] { max-width: 220px; letter-spacing: .2em; text-transform: uppercase; }
.customer-captcha [role="status"]:empty { display: none; }
.customer-site #email-verification-code { max-width: 240px; letter-spacing: .2em; }
@media (max-width: 900px) { .customer-panels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 650px) {
    .customer-layout { grid-template-columns: minmax(0, 1fr); padding-inline: 12px; }
    .customer-navgroups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .customer-main { padding: 16px; }
    .customer-titlebar, .customer-breadcrumb { padding-inline: 12px; }
    .customer-site .preview-banner { flex-direction: column; }
}
@media (max-width: 420px) {
    .customer-formgrid, .customer-details { grid-template-columns: minmax(0, 1fr); }
    .customer-details { row-gap: 3px; }
    .customer-details dd { margin-bottom: 8px; }
    .customer-main { padding: 12px; }
    .customer-main h2 { font-size: 18px; }
    .customer-tag { white-space: normal; overflow-wrap: anywhere; }
}
@media (pointer: coarse) {
    .customer-site button, .customer-site .site-button { min-height: 44px; }
    .customer-site input:not([type="radio"]), .customer-site select { font-size: 16px; min-height: 44px; }
}
.customer-hc-server { margin-block: 16px; }
.customer-hc-server h4 { margin: 0; font-size: 16px; }
.customer-hc-product { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #999; }
.customer-hc-product small, .customer-tablewrap td small { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.customer-license-dialog { position: fixed; inset: 12vh 0 auto; z-index: 20; width: min(660px, 92vw); max-height: 80vh; overflow: auto; padding: 20px; color: #222; background: #deded9; border: 3px outset #eee; box-shadow: 5px 5px 0 #5558; }
.customer-license-dialog::backdrop { background: #0008; }
.customer-license-dialog label { display: grid; gap: 8px; }
.customer-license-dialog select { width: 100%; padding: 8px; font-family: monospace; border: 2px inset #eee; }
@media (max-width: 600px) { .customer-hc-product { align-items: start; flex-direction: column; } }
