@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');
:root{--navy:#293f8f;--blue:#119fd8;--green:#159c55;--orange:#ef7f2d;--red:#df3b42;--purple:#9c2f7b;--yellow:#f3e616;--ink:#172033;--muted:#667085;--line:#e8ebf0;--bg:#f6f8fb;--card:#fff;--shadow:0 10px 30px rgba(28,45,80,.08);--radius:16px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}a{color:inherit;text-decoration:none}h1,h2,h3,h4{font-family:Poppins,Inter,sans-serif;margin:0 0 .5rem}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:12px}.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#111827;color:#fff;padding:22px 16px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.brand img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px}.brand strong{font-family:Poppins;font-size:14px}.brand span{display:block;color:#aab3c3;font-size:11px;margin-top:2px}.nav{display:grid;gap:4px;margin-top:18px}.nav a{padding:11px 12px;border-radius:10px;color:#c8d0dc;display:flex;align-items:center;gap:10px}.nav a:hover,.nav a.active{background:linear-gradient(90deg,rgba(41,63,143,.7),rgba(17,159,216,.35));color:white}.main{min-width:0}.topbar{height:72px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:10}.topbar .user{display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:white;font-weight:700}.content{padding:28px;max-width:1500px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.page-head h1{font-size:26px}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.stat{position:relative;overflow:hidden}.stat:after{content:"";position:absolute;width:84px;height:84px;border-radius:50%;right:-28px;top:-28px;background:linear-gradient(135deg,var(--blue),var(--navy));opacity:.12}.stat .num{font:700 30px Poppins;margin-top:8px}.stat .label{color:var(--muted);font-weight:600}.two-col{grid-template-columns:1.2fr .8fr}.three-col{grid-template-columns:repeat(3,1fr)}.btn{border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.primary{background:var(--navy);color:#fff}.btn.primary:hover{background:#213573}.btn.secondary{background:#edf2ff;color:var(--navy)}.btn.danger{background:#fff0f0;color:#bb252b}.btn.ghost{background:white;border:1px solid var(--line)}.btn.full{width:100%}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table th{font-size:11px;color:#667085;text-transform:uppercase;letter-spacing:.05em}.table tr:hover td{background:#fafbfc}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;text-transform:capitalize;white-space:nowrap}.badge.success{background:#e9f8ef;color:#187944}.badge.info{background:#eaf5ff;color:#15678f}.badge.warning{background:#fff4df;color:#9a5a00}.badge.danger{background:#ffebec;color:#a9252b}.badge.neutral{background:#f0f2f5;color:#5f6673}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-grid label{display:grid;gap:7px;font-weight:600;color:#344054}.form-grid input,.form-grid select,.form-grid textarea{width:100%;padding:11px 12px;border:1px solid #d8dde6;border-radius:10px;font:inherit;background:#fff;color:var(--ink);outline:none}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(17,159,216,.12)}.form-grid textarea{min-height:120px;resize:vertical}.span-2{grid-column:span 2}.divider{height:1px;background:var(--line);margin:2px 0}.alert{padding:12px 14px;border-radius:10px;margin-bottom:14px;font-weight:600}.alert.success{background:#eaf8ef;color:#126b39}.alert.danger{background:#fff0f0;color:#a62b31}.alert.info{background:#eef6ff;color:#185f8f}.auth-body{min-height:100vh;background:linear-gradient(135deg,#f7f8fb 0%,#eef4ff 55%,#f7fbf8 100%);display:grid;place-items:center;padding:28px}.auth-shell{width:min(920px,100%);display:grid;grid-template-columns:.9fr 1.1fr;background:white;border-radius:24px;overflow:hidden;box-shadow:0 25px 70px rgba(23,32,51,.14)}.auth-brand{background:#111827;color:white;padding:55px 40px;display:flex;flex-direction:column;justify-content:center}.auth-brand img{width:180px;height:180px;object-fit:contain;background:white;border-radius:24px;padding:12px;margin-bottom:25px}.auth-brand h1{font-size:26px}.auth-brand p{color:#c6cfdd}.auth-card{padding:45px 40px}.timeline{display:grid;gap:16px}.timeline-item{display:grid;grid-template-columns:12px 1fr;gap:12px}.timeline-item:before{content:"";width:10px;height:10px;background:var(--navy);border-radius:50%;margin-top:6px}.comment{border-left:3px solid #dfe6f5;padding:8px 0 8px 14px;margin:12px 0}.ticket-title{font-size:22px}.kicker{text-transform:uppercase;font-size:11px;letter-spacing:.08em;color:var(--muted);font-weight:700}.progress{height:8px;background:#edf0f4;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--navy),var(--blue))}.mobile-toggle{display:none;background:transparent;border:0;font-size:24px}.accent-line{height:4px;background:linear-gradient(90deg,var(--orange),var(--yellow),var(--purple),var(--blue),var(--red),var(--green))}.empty{padding:32px;text-align:center;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.filters input,.filters select{padding:9px 10px;border:1px solid var(--line);border-radius:9px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.footer{padding:20px 28px;color:#8a93a3;font-size:12px;text-align:center}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.two-col,.three-col{grid-template-columns:1fr}}@media(max-width:760px){.app{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:250px;z-index:30;transition:.2s}.sidebar.open{left:0}.mobile-toggle{display:block}.topbar{padding:0 16px}.content{padding:18px}.stats{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.auth-card{padding:28px 22px}.page-head{flex-direction:column}.topbar .user .meta{display:none}}

/* v2: staff-friendly ticket form and visual inventory */
.support-wizard{max-width:980px;margin:0 auto}.wizard-intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--line)}.help-badge{background:#edf7ff;color:#176a92;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700;white-space:nowrap}.field-title{font-weight:700;color:#344054;margin-bottom:10px}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.choice-card{border:1px solid #dfe4eb;background:#fff;border-radius:13px;padding:14px;text-align:left;display:flex;align-items:center;gap:10px;cursor:pointer;font:inherit;color:var(--ink);transition:.15s}.choice-card span{font-size:22px}.choice-card:hover{border-color:var(--blue);transform:translateY(-1px)}.choice-card.selected{border-color:var(--navy);box-shadow:0 0 0 3px rgba(41,63,143,.10);background:#f7f9ff}.voice-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.voice-btn{padding:8px 10px}.submit-ticket{font-size:15px;padding:13px 18px}.issue-summary{display:flex;gap:10px;flex-wrap:wrap;background:#f7f9fc;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:12px 0}.issue-summary span{font-size:12px}.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.asset-card{display:block;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:.15s}.asset-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(28,45,80,.12)}.asset-photo{height:190px;background:#eef2f7;display:grid;place-items:center;overflow:hidden}.asset-photo img{width:100%;height:100%;object-fit:cover}.asset-placeholder{font-size:60px;opacity:.65}.asset-body{padding:16px}.asset-top,.asset-meta{display:flex;justify-content:space-between;gap:10px;align-items:center}.asset-body h3{font-size:17px;margin-top:10px}.asset-meta{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.asset-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.asset-gallery img{width:100%;height:150px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.step-list{display:grid;gap:13px;margin-top:14px}.step-list>div{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:10px}.step-list strong{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf2ff;color:var(--navy)}
@media(max-width:1000px){.choice-grid{grid-template-columns:repeat(2,1fr)}.asset-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.wizard-intro,.voice-row{flex-direction:column}.help-badge{white-space:normal}.choice-grid,.asset-grid{grid-template-columns:1fr}.choice-card{min-height:58px}.asset-gallery{grid-template-columns:repeat(2,1fr)}}
.staff-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;background:linear-gradient(135deg,#fff,#f2f7ff)}.staff-hero h2{margin-top:4px}.staff-hero p{max-width:720px;margin-bottom:0}@media(max-width:760px){.staff-hero{align-items:flex-start;flex-direction:column}.staff-hero .btn{width:100%}}

/* v2.3 mobile complaint-form fixes */
.problem-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:2px}.problem-choice{appearance:none;-webkit-appearance:none;border:1px solid #dfe4eb;background:#fff;border-radius:11px;padding:12px 13px;text-align:left;font:inherit;font-weight:650;color:var(--ink);cursor:pointer;min-height:46px;touch-action:manipulation}.problem-choice:hover,.problem-choice:focus{border-color:var(--blue);outline:none}.problem-choice.selected{border-color:var(--navy);background:#f3f6ff;box-shadow:0 0 0 3px rgba(41,63,143,.10)}.problem-placeholder{grid-column:1/-1;border:1px dashed #cfd7e2;border-radius:10px;padding:13px;color:var(--muted);background:#fafbfd}.mobile-fallback-select{margin-top:10px}.voice-btn{touch-action:manipulation;min-height:42px}
@media(max-width:760px){.problem-choice-grid{grid-template-columns:1fr}.problem-choice{min-height:52px;font-size:15px}.mobile-fallback-select{display:block}.voice-btn{width:100%;min-height:48px}.voice-row{align-items:stretch}}
@media(min-width:761px){.mobile-fallback-select{max-width:420px}}
