/* PHUKHACO Customer portal — isolated from employee and administrator UI. */
.phucustomer{min-height:100vh;background:radial-gradient(circle at 10% 0%,#123e56 0%,#081b2b 40%,#071522 100%);color:#eaf6fc;padding:0 max(16px,env(safe-area-inset-left)) max(28px,env(safe-area-inset-bottom));font:14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.phucustomer[hidden],.phucustomer.hidden{display:none!important}
.phuc-wrap{max-width:1120px;margin:0 auto}
.phuc-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:max(18px,env(safe-area-inset-top)) 0 18px;border-bottom:1px solid #31536a}
.phuc-brand{display:flex;align-items:center;gap:12px}.phuc-brand img{width:44px;height:50px;object-fit:contain}
.phuc-brand strong{display:block;letter-spacing:.12em;font-size:17px}.phuc-brand span{font-size:11px;color:#a5c5d9}
.phuc-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.phucustomer button{border:0;cursor:pointer;font:inherit}.phuc-actions button,.phuc-toolbar button{border:1px solid #47647a;border-radius:10px;background:#16384b;color:#e3f8ff;padding:9px 12px;min-height:40px}
.phuc-actions button:hover,.phuc-toolbar button:hover{background:#22516a}
.phuc-welcome{padding:29px 0 12px}.phuc-kicker{color:#61dfce;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800}
.phuc-welcome h1{font-size:clamp(24px,4vw,35px);line-height:1.22;margin:8px 0}.phuc-welcome p{color:#b4cada;max-width:680px}
.phuc-tabs{display:flex;gap:9px;border-bottom:1px solid #31536a;margin:14px 0 20px}
.phuc-tabs button{background:transparent;color:#b5cede;border-bottom:3px solid transparent;padding:12px 17px;font-weight:750}
.phuc-tabs button.active{color:#f3fffe;border-bottom-color:#32c9b6}
.phuc-panel[hidden]{display:none!important}
.phuc-section{background:rgba(14,40,56,.96);border:1px solid #31526c;border-radius:16px;padding:20px;margin:12px 0;box-shadow:0 7px 25px #0002}
.phuc-section h2{font-size:20px;margin:0 0 9px}.phuc-section h3{font-size:15px;margin:0 0 13px}
.phuc-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}
.phuc-toolbar label{font-weight:700}.phuc-toolbar select{width:min(100%,420px)}
.phucustomer select,.phucustomer input,.phucustomer textarea{background:#071a2b;border:1px solid #517185;color:#eafaff;border-radius:9px;padding:11px;font:inherit;max-width:100%}
.phucustomer input:focus,.phucustomer select:focus,.phucustomer textarea:focus{outline:2px solid #36c4bd;outline-offset:2px}
.phuc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.phuc-heading p{color:#b4c7d6;margin:6px 0 18px}
.phuc-pill{border:1px solid #3d857f;background:#173f43;border-radius:999px;padding:4px 8px;font-size:11px;color:#b2f3e6;white-space:nowrap}
.phuc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.phuc-stat{padding:18px;border-radius:12px;background:linear-gradient(165deg,#143b50,#0e293e);border:1px solid #27516a}
.phuc-stat span{display:block;color:#c0d7e2;font-size:12px}.phuc-stat strong{font-size:28px;display:block;margin:6px 0 0;font-variant-numeric:tabular-nums}
.phuc-dual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.phuc-dual>section{border:1px solid #294c64;border-radius:12px;padding:17px;min-width:0}
.phuc-items{display:grid;gap:8px;max-height:460px;overflow-y:auto}
.phuc-items article,.phuc-ticket{padding:12px;border:1px solid #29465c;border-radius:10px;background:#102e42;overflow-wrap:anywhere}
.phuc-itemhead{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;margin-bottom:6px}
.phuc-items small,.phuc-ticket small{color:#a9cada}.phuc-note,.phuc-help{color:#b3ccda;font-size:12px;margin:14px 0}
.phuc-error{color:#ffc4bd}
.phuc-form{display:grid;gap:14px;max-width:760px}.phuc-form label{display:grid;gap:5px;font-weight:600}.phuc-form select,.phuc-form input,.phuc-form textarea{width:100%}
.phuc-form textarea{min-height:110px;resize:vertical}
.phuc-primary{padding:11px 17px;background:#27c7ba;color:#07303d;border:0;border-radius:10px;font-weight:800;min-height:44px;justify-self:start}
.phuc-primary:disabled{opacity:.45}.phuc-reply{margin-top:12px;border-left:3px solid #28bea9;padding:10px;background:#173f4e}
.phuc-ticket{margin-bottom:10px}.phuc-ticket p{white-space:pre-wrap;margin:9px 0}
.phuc-footer{color:#84aebf;text-align:center;font-size:11px;padding:25px 0}
@media(max-width:690px){.phuc-top{flex-wrap:wrap}.phuc-actions{width:100%;justify-content:flex-start}.phuc-stats{grid-template-columns:1fr}.phuc-dual{grid-template-columns:1fr}.phuc-section{padding:16px}.phuc-tabs button{padding:11px 9px;font-size:12px}.phuc-welcome{padding-top:22px}}
