.hd{--hd-blue:#2458ba;--hd-line:#dbe3ef;--hd-soft:#f3f6fb;color:#23354d;font:15px/1.6 system-ui,sans-serif;max-width:1240px;margin:24px auto;padding:0 18px}.hd *{box-sizing:border-box}.hd a{color:var(--hd-blue)}.hd h1{font-size:28px;letter-spacing:-.5px;margin:0}.hd h2{font-size:20px;margin:0 0 16px}.hd h3{font-size:16px}.hd-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;flex-wrap:wrap}.hd-muted{color:#5a6d86}.hd-card{background:white;border:1px solid var(--hd-line);border-radius:14px;padding:24px;margin-bottom:20px;box-shadow:0 4px 20px #20305006}.hd-nav,.hd-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hd-nav{margin:18px 0}.hd-btn,.hd button{display:inline-block;border:1px solid var(--hd-blue);border-radius:9px;padding:10px 17px;background:var(--hd-blue);color:white!important;text-decoration:none;font-weight:600;cursor:pointer;font-size:14px;line-height:1.4}.hd-btn.secondary,.hd button.secondary{background:white;color:var(--hd-blue)!important;border-color:var(--hd-line)}.hd label{display:block;font-weight:600;margin-bottom:14px}.hd input:not([type=checkbox]):not([type=hidden]),.hd select,.hd textarea{display:block;width:100%;border:1px solid #b8c6d9;border-radius:8px;padding:11px;background:white;color:#23354d;font:inherit;margin-top:5px}.hd textarea{min-height:130px;resize:vertical}.hd :focus-visible{outline:3px solid #e2a72b;outline-offset:3px}.hd-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.hd-stats{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.hd-stat{flex:1;min-width:130px;border:1px solid var(--hd-line);border-radius:12px;padding:16px;background:white}.hd-stat b{display:block;font-size:25px}.hd-table{overflow:auto}.hd table{border-collapse:collapse;width:100%}.hd th,.hd td{padding:14px 12px;text-align:left;border-bottom:1px solid var(--hd-line);vertical-align:top}.hd th{font-size:12px;color:#5a6d86;text-transform:uppercase;white-space:nowrap}.hd-badge{display:inline-block;font-size:12px;font-weight:600;border-radius:20px;padding:4px 10px;background:#eaf0fc;color:#244e92;white-space:nowrap}.hd-badge.urgente{background:#fde8e7;color:#9d2520}.hd-message{border:1px solid var(--hd-line);border-radius:12px;padding:18px;margin:14px 0;background:#fff;overflow-wrap:anywhere}.hd-message.equipe{background:#edf4ff;border-color:#d3e1f5}.hd-message.interna{background:#fff8e4;border-color:#e9d5a0}.hd-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#56677e;margin-bottom:12px}.hd-alert{padding:15px 18px;border-radius:10px;background:#eaf0fc;border:1px solid #c6d7f4;margin:16px 0;overflow-wrap:anywhere}.hd-alert.error{background:#fff0ef;color:#8e2520;border-color:#ecc3c0}.hd-empty{padding:28px;text-align:center;color:#5a6d86}.hd-login{max-width:490px;margin:55px auto}.hd pre{white-space:pre-wrap;overflow-wrap:anywhere}.hd small{font-size:12px}.hd input[type=checkbox]{margin-right:8px}.hd details{margin:12px 0}.hd summary{cursor:pointer;font-weight:600}.hd-file{display:block;padding-top:10px}.hd form{margin:0}.hd .hd-row>label{flex:1;min-width:140px}.hd-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:18px}@media(max-width:760px){.hd-grid{grid-template-columns:1fr}.hd-card{padding:16px}.hd h1{font-size:23px}.hd{padding:0 12px}.hd-meta{flex-wrap:wrap}.hd-btn,.hd button{min-height:42px}}
.hd{--hd-blue:#4338ca;--hd-line:#dce2f0;--hd-soft:#eef2ff;background:#f4f6fc;border-radius:22px;padding:24px;color:#24324d}
.hd h1{font-weight:750;overflow-wrap:anywhere}.hd h2{color:#252b66;font-weight:700}.hd-top.hd-hero{background:linear-gradient(115deg,#5f03c7,#ac75ff 65%,#0e7490);color:#fff;border-radius:18px;padding:30px;box-shadow:0 12px 28px #3730a326}.hd-hero h1{color:#fff}.hd-hero .hd-muted{color:#e0e7ff}.hd-hero a:not(.hd-btn){color:#e0f2fe}.hd-hero .hd-btn{background:#fff;color:#f8f408!important;border-color:#fff;box-shadow:0 4px 14px #14134822}.hd-hero .hd-badge{border:1px solid #ffffff80}
.hd .hd-card{border-radius:18px;box-shadow:0 5px 18px #24324d08;border-top:4px solid #c7d2fe}.hd .hd-card h2{padding-bottom:12px;border-bottom:1px solid #e9edf7}.hd .hd-nav{background:#e8ecfa;border:1px solid #d8def2;border-radius:14px;padding:10px;gap:10px}.hd .hd-nav a{padding:10px 16px;border-radius:9px;text-decoration:none;font-weight:650}.hd .hd-nav a[aria-current=page]{background:#4338ca;color:white!important;border-color:#4338ca;box-shadow:0 4px 12px #4338ca26}
.hd .hd-btn,.hd button{background:#4338ca;box-shadow:0 3px 8px #fa03d918;transition:background .15s,box-shadow .15s}.hd .hd-btn:hover,.hd button:hover{background:#312e81;box-shadow:0 5px 14px #4338ca30}.hd .secondary{background:#fff}.hd .secondary:hover{background:#eef2ff;color:#812e72!important}.hd .hd-hero .hd-btn:hover{background:#e0e7ff;color:#312e81!important}.hd input:not([type=checkbox]):not([type=hidden]),.hd select,.hd textarea{background:#fafbff;border-color:#cbd5e5}.hd input:focus,.hd select:focus,.hd textarea:focus{background:#fff}.hd input::file-selector-button{border:0;border-radius:6px;padding:8px 12px;background:#e0e7ff;color:#3730a3;font-weight:600;margin-right:12px}
.hd .hd-stat{position:relative;border:0;border-left:5px solid var(--state-color,#4338ca);background:var(--state-bg,#e0e7ff);color:var(--state-color,#3730a3);border-radius:14px;padding:18px;box-shadow:0 4px 12px #24324d08;font-weight:650}.hd .hd-stat b{font-size:32px;line-height:1.3;margin-bottom:7px}.hd [data-status=aberto]{--state-color:#1e40af;--state-bg:#dbeafe}.hd [data-status=em_atendimento]{--state-color:#6b21a8;--state-bg:#f3e8ff}.hd [data-status=aguardando_cliente]{--state-color:#92400e;--state-bg:#fef3c7}.hd [data-status=resolvido]{--state-color:#065f46;--state-bg:#d1fae5}.hd [data-status=fechado]{--state-color:#475569;--state-bg:#e2e8f0}.hd .hd-badge[data-status]{color:var(--state-color);background:var(--state-bg)}.hd .hd-badge.baixa{background:#e0f2fe;color:#075985}.hd .hd-badge.normal{background:#e0e7ff;color:#3730a3}.hd .hd-badge.alta{background:#ffedd5;color:#9a3412}.hd .hd-badge.urgente{background:#fee2e2;color:#991b1b}
.hd .hd-table{border:1px solid #e2e8f0;border-radius:12px;margin-top:16px}.hd th{background:#edf0fc;color:#373d78;letter-spacing:.045em}.hd tbody tr:nth-child(even){background:#fafbff}.hd tbody tr:hover{background:#eff6ff}.hd td strong{font-size:15px}.hd .hd-message{border-left:4px solid #94a3b8;background:#f8fafc}.hd .hd-message.equipe{border-left-color:#6366f1;background:#eef2ff}.hd .hd-message.interna{border-left-color:#d97706;background:#fffbeb}.hd .hd-meta strong{color:#373d78}.hd .hd-empty{background:#f0f4ff;border:1px dashed #a5b4fc;border-radius:12px;margin:20px 0;padding:36px}.hd .hd-alert{border-left:4px solid #6366f1;background:#eef2ff}.hd .hd-alert.error{border-left-color:#dc2626}
.hd-portal{margin:0;min-height:100vh;background:radial-gradient(ellipse at 12% 0%,#c7d2fe 0,transparent 45%),radial-gradient(ellipse at 100% 70%,#cffafe 0,transparent 45%),#f1f5fc}.hd-portal>.hd{max-width:1240px;margin:0 auto;padding:28px;background:transparent}.hd .hd-brand{display:flex;align-items:center;gap:12px;font-size:17px;color:#812e72}.hd .hd-brand-icon{display:grid;place-items:center;background:#4338ca;color:#fff;border-radius:12px;width:44px;height:44px;flex-shrink:0}.hd .hd-brand small{display:block;font-weight:400;color:#536581;font-size:12px}.hd .hd-login-layout{display:grid;grid-template-columns:1.1fr 1fr;max-width:1000px;margin:56px auto;box-shadow:0 24px 65px #37306b1a;border-radius:24px;overflow:hidden;background:white}.hd .hd-welcome{padding:48px 40px;background:linear-gradient(145deg,#25276a,#4338ca 60%,#0e7490);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:20px}.hd .hd-welcome h2{font-size:34px;line-height:1.2;color:#fff;margin:0}.hd .hd-welcome p{color:#e0e7ff;font-size:16px;margin:0}.hd .hd-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:750;color:#c7d2fe}.hd .hd-welcome ul{list-style:none;padding:0;margin:4px 0}.hd .hd-welcome li{padding:12px 0;border-bottom:1px solid #ffffff26}.hd .hd-welcome li::before{content:'✓';display:inline-block;margin-right:12px;color:#f699e7;font-weight:700}.hd .hd-login-layout .hd-login{margin:0;max-width:none;border:0;border-radius:0;box-shadow:none;padding:44px 34px;background:#fff;align-self:center}.hd .hd-login h1{font-size:26px;color:#612761}.hd .hd-login button{width:100%;padding:14px;margin:4px 0 10px}.hd .hd-login p{font-size:14px}.hd input[name=codigo]{font-size:28px;letter-spacing:.3em;text-align:center;font-weight:700}
@media(max-width:760px){.hd{padding:14px;border-radius:14px}.hd-top.hd-hero{padding:22px}.hd-portal>.hd{padding:16px}.hd .hd-login-layout{grid-template-columns:1fr;margin:24px auto}.hd .hd-welcome{padding:26px;gap:12px}.hd .hd-welcome h2{font-size:25px}.hd .hd-welcome ul{display:none}.hd .hd-login-layout .hd-login{padding:26px}.hd .hd-stat{min-width:140px}.hd .hd-nav a{flex:1;text-align:center}.hd .hd-brand{font-size:15px}}
@media(prefers-reduced-motion:reduce){.hd .hd-btn,.hd button{transition:none}}
.hd .hd-brand-company{flex-wrap:wrap;gap:18px;max-width:100%}
.hd .hd-logo-link{display:block;width:290px;max-width:100%;padding:12px;background:#fff;border:1px solid var(--hd-line);border-radius:12px;line-height:0}
.hd .hd-logo{display:block;width:100%;height:auto}
@media(max-width:480px){.hd .hd-brand-company{flex-direction:column;align-items:flex-start;gap:10px}.hd .hd-logo-link{width:245px}}
