@import "https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap";:root{--chat-body-max:900px;--bubble-max:640px;--envelope-bubble-max:720px;--page-wrap-max:760px;--header-pad:14px 20px;--chat-body-pad:16px;--auth-pad:24px}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;min-height:100%;margin:0}body{color:#0f172a;-webkit-font-smoothing:antialiased;background:#f3f6f5;font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit}.app-shell{height:100%;min-height:100dvh}.auth-page{min-height:100dvh;padding:var(--auth-pad);background:radial-gradient(circle at 0 0,#0f766e2e,#0000 42%),radial-gradient(circle at 100% 100%,#0ea5e91f,#0000 40%),linear-gradient(160deg,#eef7f5 0%,#f7faf9 45%,#edf2f7 100%);justify-content:center;align-items:center;display:flex}.auth-page-inner{width:100%;max-width:480px;margin:auto}.auth-card{border-radius:20px;width:100%;max-width:480px;box-shadow:0 18px 50px #0f172a14}.auth-card .ant-card-body{padding:clamp(20px,4vw,32px)}.auth-phone-row{align-items:stretch;gap:10px;width:100%;display:flex}.auth-phone-country{flex:0 0 118px;min-width:108px}.auth-phone-country.ant-select{width:100%}.auth-phone-number{flex:1;min-width:0}.auth-phone-hint{margin-top:8px;font-size:12px;display:block}.auth-country-option{justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-country-option-code{color:#0f766e;flex-shrink:0;font-weight:600}.auth-country-option-name{color:#475569;text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.auth-otp-item .ant-form-item-control-input-content{justify-content:center;display:flex}.auth-otp-item .ant-otp{justify-content:center;gap:clamp(6px,2vw,10px);width:100%;max-width:320px}.auth-otp-item .ant-otp-input{width:clamp(40px,11vw,46px);height:clamp(44px,12vw,48px)}.auth-brand{letter-spacing:-.03em;color:#0f766e;margin-bottom:8px;font-size:28px;font-weight:700}.chat-layout{background:#f3f6f5;flex-direction:column;height:100dvh;max-height:100dvh;display:flex}.chat-header{padding:var(--header-pad);background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-header-title{color:#0f172a;font-size:18px;font-weight:700}.chat-header-sub{color:#64748b;font-size:12px}.chat-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.chat-header-drawer-body{flex-direction:column;gap:16px;display:flex}.chat-header-drawer-body .ant-space,.chat-header-drawer-body .club-selector{width:100%}.chat-body{max-width:var(--chat-body-max);width:100%;padding:var(--chat-body-pad);flex-direction:column;flex:1;gap:12px;margin:0 auto;display:flex;overflow:hidden}.chat-messages{flex-direction:column;flex:1;gap:12px;padding:8px 4px 16px;display:flex;overflow-y:auto}.chat-bubble-row{display:flex}.chat-bubble-row.user{justify-content:flex-end}.chat-bubble-row.assistant{justify-content:flex-start}.chat-bubble{max-width:min(78%, var(--bubble-max));white-space:pre-wrap;word-break:break-word;border-radius:16px;padding:12px 14px;font-size:14px;line-height:1.5}.chat-bubble.user{color:#fff;background:#0f766e;border-bottom-right-radius:6px}.chat-bubble.assistant{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:6px}.chat-bubble.assistant:has(.envelope-block){max-width:min(92%, var(--envelope-bubble-max));white-space:normal}.envelope-block{width:100%;min-width:0}.envelope-block .ant-statistic-content{font-size:22px}.kpi-comparison-table-wrap{width:100%;overflow-x:auto}.kpi-comparison-table-title{color:#0f172a;margin-bottom:8px;font-size:14px;display:block}.kpi-comparison-table .ant-table{background:0 0}.kpi-comparison-table .ant-table-thead>tr>th{color:#475569;background:#f8fafc;font-weight:600}.kpi-delta{white-space:nowrap;align-items:center;gap:4px;font-weight:600;display:inline-flex}.kpi-delta-up{color:#15803d}.kpi-delta-down{color:#dc2626}.kpi-delta-flat{color:#94a3b8}.envelope-block .ant-list-item{justify-content:space-between;gap:12px}.chat-bubble.streaming:not(:has(.thinking-bubble)):after{content:"▋";width:6px;margin-left:2px;animation:1s step-end infinite blink;display:inline-block}@keyframes blink{50%{opacity:0}}.thinking-bubble{color:#64748b;align-items:center;gap:10px;min-height:22px;display:inline-flex}.thinking-label{letter-spacing:.01em;background:linear-gradient(90deg,#64748b 0%,#0f766e 45%,#64748b 90%) 0 0/200% 100%;color:#0000;-webkit-background-clip:text;background-clip:text;font-size:13px;font-weight:500;animation:1.8s ease-in-out infinite thinking-shimmer}.thinking-dots{align-items:center;gap:4px;display:inline-flex}.thinking-dots span{opacity:.35;background:#0f766e;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite thinking-bounce}.thinking-dots span:nth-child(2){animation-delay:.15s}.thinking-dots span:nth-child(3){animation-delay:.3s}@keyframes thinking-bounce{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@keyframes thinking-shimmer{0%{background-position:100%}to{background-position:-100%}}.chat-composer{padding:12px;padding-bottom:max(12px, env(safe-area-inset-bottom));background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-shrink:0}.page-wrap{min-height:100%;max-width:var(--page-wrap-max);margin:0 auto;padding:24px}.page-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.empty-chat{text-align:center;color:#64748b;margin:auto;padding:40px 16px}.chat-bubble-stack{max-width:min(92%, var(--envelope-bubble-max));flex-direction:column;align-items:stretch;gap:6px;width:100%;display:flex}.chat-bubble-row.user .chat-bubble-stack{max-width:min(78%, var(--bubble-max));align-items:flex-end}.chat-bubble-stack .chat-bubble{max-width:100%}.usage-breakdown{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;width:100%;padding:6px 10px 8px;overflow-x:auto}.usage-breakdown .ant-collapse-header{align-items:flex-start!important;padding:4px 0!important}.usage-breakdown .ant-collapse-content-box{padding:4px 0 0!important}.usage-collapse-label{flex-direction:column;gap:6px;width:100%;padding-right:8px;display:flex}.usage-summary-row{flex-wrap:wrap;align-items:center;gap:6px 8px;display:flex}.usage-pill{color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:baseline;gap:4px;padding:2px 8px;font-size:12px;line-height:1.4;display:inline-flex}.usage-pill.usage-cost{color:#0f766e;background:#f0fdfa;border-color:#99f6e4;font-weight:600}.usage-muted{color:#64748b;font-weight:400}.usage-title{margin-bottom:4px;font-size:12px;display:block}.order-card-list{flex-direction:column;gap:10px;display:flex}.order-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.order-card-row{justify-content:space-between;gap:8px;font-size:13px;line-height:1.45;display:flex}.order-card-row+.order-card-row{margin-top:6px}.order-card-label{color:#64748b;flex-shrink:0}.order-card-value{color:#0f172a;text-align:right;word-break:break-word;min-width:0}.suggestion-chips{flex-wrap:wrap;gap:8px;max-width:100%;display:flex}.suggestion-chips-scroll{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:8px;max-width:100%;padding-bottom:4px;display:flex;overflow-x:auto}.handoff-json{white-space:pre-wrap;word-break:break-word;max-width:100%;overflow-x:auto}.export-download-btn-narrow{width:100%}@media (width<=767px){:root{--header-pad:10px 12px;--chat-body-pad:12px;--chat-body-max:100%;--envelope-bubble-max:100%;--auth-pad:16px}.chat-header-title{font-size:16px}.chat-header-sub{font-size:11px}.chat-bubble.assistant:has(.envelope-block){max-width:100%}.chat-bubble-stack{max-width:100%}.chat-bubble-row.user .chat-bubble-stack{max-width:min(85%, var(--bubble-max))}.chat-bubble:not(.assistant):not(:has(.envelope-block)){max-width:min(85%, var(--bubble-max))}.envelope-block .ant-statistic-content{font-size:18px}.page-wrap{padding:16px}.page-header{flex-direction:column;align-items:flex-start}.auth-brand{font-size:24px}.auth-phone-row{flex-direction:column}.auth-phone-country{flex:auto;width:100%;min-width:0}.auth-card{border-radius:16px}.ant-input,.ant-input-affix-wrapper,.ant-select-selector,.ant-picker,textarea.ant-input{font-size:16px!important}}@media (width<=575px){.page-wrap{padding:12px}}
