:root{color:#162331;background:#eef3f8;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f8fafc,#eef3f8)}button,input,textarea,select{font:inherit}h1,h2,h3,p{margin:0}.app-shell{min-height:100vh;padding:24px}.workspace{width:min(1440px,100%);margin:0 auto;display:grid;gap:16px}.topbar,.query-band,.metrics,.table-panel,.empty-state,.notice{border:1px solid #d7e2ec;border-radius:16px;background:#ffffffeb;box-shadow:0 12px 30px #0e1b2b0f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-top:4px solid #1d4ed8;background:linear-gradient(180deg,#fff,#f8fbff)}.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.brand{display:flex;align-items:flex-start;gap:14px;min-width:0}.brand-mark{display:grid;width:48px;height:48px;place-items:center;flex:0 0 auto;border-radius:12px;color:#fff;background:linear-gradient(135deg,#0f766e,#1d4ed8);box-shadow:0 10px 18px #1d4ed82e}.brand-copy{display:grid;gap:6px;min-width:0}.brand h1{color:#102132;font-size:24px;line-height:1.15;overflow-wrap:anywhere}.brand-subtitle{max-width:100%;color:#5c6d80;font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eyebrow{color:#607285;font-size:12px;font-weight:800}.source-chip,.session-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;border:1px solid #dbe4ed;border-radius:999px;padding:0 14px;color:#365066;font-size:13px;font-weight:700;white-space:nowrap;background:linear-gradient(180deg,#fbfdff,#f4f8fc);box-shadow:inset 0 1px #fffc}.logout-button{min-height:38px;padding:0 14px}.auth-shell{min-height:100vh;padding:24px;display:grid;place-items:center;background:linear-gradient(180deg,#f8fafc,#eef3f8)}.auth-layout{width:min(1040px,100%);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:16px;align-items:stretch}.auth-hero,.auth-card,.auth-loading{border:1px solid #d7e2ec;border-radius:20px;background:#fffffff0;box-shadow:0 14px 32px #0e1b2b14;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-hero{display:grid;align-content:start;gap:18px;padding:30px}.auth-brand-mark{width:56px;height:56px;border-radius:14px}.auth-copy{display:grid;gap:8px;min-width:0}.auth-copy h1{color:#102132;font-size:30px;line-height:1.12;overflow-wrap:anywhere}.auth-copy p{color:#5f6f82;font-size:15px;line-height:1.75}.auth-tags{display:flex;flex-wrap:wrap;gap:10px}.auth-tags span{display:inline-flex;align-items:center;gap:8px;min-height:34px;border:1px solid #dbe4ed;border-radius:999px;padding:0 12px;color:#355069;font-size:13px;font-weight:700;background:#f6f9fc}.auth-card{display:grid;gap:14px;padding:26px}.auth-card-head{display:grid;gap:6px}.auth-card-head p{color:#627386;font-size:13px;line-height:1.55}.auth-card-title{display:flex;align-items:center;gap:8px;color:#102132}.auth-card-title h2{font-size:20px;line-height:1.2}.auth-field{gap:6px}.auth-submit{width:100%;margin-top:4px}.auth-footnote{color:#627386;font-size:13px;line-height:1.6}.auth-notice{margin-top:2px}.auth-loading{display:grid;place-items:center;gap:10px;padding:26px 32px}.auth-loading p{color:#5f6f82;font-size:14px}.query-band{padding:18px 20px 16px;background:linear-gradient(180deg,#fffffff5,#f7fafef5)}.query-form{display:grid;grid-template-columns:minmax(0,1fr) 180px 150px;gap:12px;align-items:end}.field{display:grid;gap:8px;min-width:0}.field span{color:#5b6b7f;font-size:13px;font-weight:700;line-height:1.25}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid #cedae5;border-radius:12px;color:#162331;background:#fff;box-shadow:inset 0 1px #fffc;transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.field input,.field select{min-height:46px;padding:0 14px}.field textarea{min-height:112px;padding:12px 14px;line-height:1.55;resize:vertical}.field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:38px;background-image:linear-gradient(45deg,transparent 50%,#6b7a8b 50%),linear-gradient(135deg,#6b7a8b 50%,transparent 50%);background-position:calc(100% - 20px) 19px,calc(100% - 14px) 19px;background-size:6px 6px,6px 6px;background-repeat:no-repeat}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:#1d4ed8;box-shadow:0 0 0 4px #1d4ed81f}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid transparent;border-radius:12px;padding:0 18px;font-weight:800;cursor:pointer;transition:transform .12s ease,background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}.primary-button{color:#fff;background:linear-gradient(180deg,#2563eb,#1d4ed8);box-shadow:0 10px 18px #1d4ed82e}.primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 22px #1d4ed838}.secondary-button{border-color:#d7e2ec;color:#34475c;background:linear-gradient(180deg,#fff,#f5f8fb);box-shadow:0 8px 18px #0e1b2b0a}.secondary-button:hover:not(:disabled){background:#eef3f8}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.58;box-shadow:none;transform:none}.hint{margin-top:12px;color:#627386;font-size:13px;line-height:1.5}.notice{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;line-height:1.55}.notice.error{border-left:4px solid #ef4444;color:#8b1d1d;background:#fff5f5}.notice.warn{border-left:4px solid #f59e0b;color:#835d06;background:#fff8e7}.ticket-switcher{border:1px solid #d7e2ec;border-radius:16px;padding:16px 18px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 24px #0e1b2b0d}.switcher-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.switcher-head h2{color:#102132;font-size:16px;line-height:1.2}.switcher-head p{margin-top:4px;color:#667789;font-size:13px;line-height:1.5}.switcher-count{display:inline-flex;align-items:center;min-height:30px;border:1px solid #d9e3ee;border-radius:999px;padding:0 12px;color:#45607b;font-size:12px;font-weight:800;white-space:nowrap;background:#f4f8fc}.switcher-track{display:flex;gap:10px;margin-top:14px;overflow-x:auto;padding-bottom:2px}.ticket-pill{display:grid;gap:4px;flex:0 0 auto;min-width:168px;border:1px solid #d7e2ec;border-radius:14px;padding:12px 14px;text-align:left;color:#314459;background:linear-gradient(180deg,#fff,#f5f8fc);box-shadow:0 8px 18px #0e1b2b0a;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease,color .12s ease,box-shadow .12s ease}.ticket-pill:hover:not(:disabled){transform:translateY(-1px);border-color:#b9c9da}.ticket-pill.active{border-color:#1d4ed8;color:#fff;background:linear-gradient(180deg,#2563eb,#1d4ed8);box-shadow:0 12px 22px #1d4ed833}.ticket-pill span{overflow:hidden;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.ticket-pill strong{font-size:12px;font-weight:700;opacity:.9}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;border:none;background:transparent;box-shadow:none}.metric{min-width:0;border:1px solid #d7e2ec;border-radius:16px;padding:14px 16px;background:linear-gradient(180deg,#fff,#f9fbfe);box-shadow:0 8px 20px #0e1b2b0a}.metric span{display:block;color:#64758b;font-size:12px;font-weight:700}.metric strong{display:block;overflow:hidden;margin-top:8px;color:#102132;font-size:18px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.table-panel{overflow:hidden;background:#fffffff5}.panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e5edf5;background:linear-gradient(180deg,#fff,#fbfdff)}.panel-head h2{color:#102132;font-size:18px;line-height:1.2}.panel-head p{margin-top:4px;color:#667789;font-size:13px}.export-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;justify-content:flex-end}.carrier-field{width:220px}.panel-note{padding:12px 20px 0;color:#5f6f82;font-size:13px;line-height:1.55}.table-wrap{overflow:auto;max-height:64vh}table{width:100%;min-width:1180px;border-collapse:collapse}th,td{border-bottom:1px solid #e6edf4;padding:10px 12px;text-align:left;vertical-align:middle;white-space:nowrap}th{position:sticky;top:0;z-index:2;color:#122033;border-bottom:1px solid #d7e2ec;background:linear-gradient(180deg,#f4f7fb,#eaf1f7);font-size:13px;font-weight:800}td{color:#324255;font-size:13px}tbody tr:nth-child(2n) td{background:#fbfdff}tbody tr:hover td{background:#eef5ff}.empty-state{display:grid;place-items:center;align-content:center;gap:12px;min-height:320px;padding:36px 24px;text-align:center;color:#5f6f82}.empty-state svg{color:#1d4ed8}.empty-state h2{color:#102132;font-size:22px;font-weight:800}.empty-state p{max-width:720px;line-height:1.65}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:960px){.auth-layout,.query-form{grid-template-columns:1fr}.switcher-head{flex-direction:column}.export-actions{width:100%;justify-content:flex-start}.carrier-field{width:100%}}@media(max-width:820px){.app-shell,.auth-shell{padding:12px}.topbar,.panel-head{display:grid;grid-template-columns:1fr;align-items:stretch}.topbar{gap:14px}.topbar-actions{justify-content:flex-start}.source-chip{justify-self:start}.primary-button,.secondary-button{width:100%}}@media(max-width:560px){.brand h1{font-size:18px}.brand-subtitle{font-size:12px}.metrics{grid-template-columns:1fr}.ticket-pill{min-width:140px}}
