:root{--bg: #f8faf9;--bg-2: #ffffff;--bg-3: #f0f4f3;--border: #e2e8e6;--border-bright: #cbd5d2;--text: #1a2320;--text-muted: #5c6b66;--text-dim: #8a9994;--accent: #0d9488;--accent-dim: rgba(13, 148, 136, .12);--accent-glow: rgba(13, 148, 136, .25);--green: #059669;--green-dim: rgba(5, 150, 105, .12);--red: #dc2626;--red-dim: rgba(220, 38, 38, .12);--yellow: #d97706;--yellow-dim: rgba(217, 119, 6, .12);--font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--radius: 8px;--radius-lg: 12px;--space-page: 32px;--space-section: 24px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:var(--font-mono);font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:var(--font-display);font-weight:700}a{color:inherit;text-decoration:none}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-3)}::-webkit-scrollbar-thumb{background:var(--border-bright);border-radius:3px}.main-content{padding:var(--space-page) 40px 48px;max-width:1100px;margin:0 auto;min-width:0}@media (max-width: 900px){.main-content{padding:20px 20px 32px;max-width:none}}@media (max-width: 600px){.main-content{padding:16px 12px 24px}.dashboard-stats{grid-template-columns:1fr!important}.dashboard-header{flex-direction:column;align-items:stretch}.template-editor-area{padding:12px!important}}@media (max-width: 900px){.template-editor-area{padding:16px!important}}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes spin{to{transform:rotate(360deg)}}.animate-in{animation:fadeIn .3s ease forwards}.spinner{width:16px;height:16px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}.card{background:var(--bg-2);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 1px 3px #0000000f}.brain-chat-message .markdown-body,.brain-chat-message{font-size:14px;line-height:1.5}.brain-chat-message p:first-child{margin-top:0}.brain-chat-message p:last-child{margin-bottom:0}.brain-chat-message p+p{margin-top:.6em}.brain-chat-message h1,.brain-chat-message h2,.brain-chat-message h3,.brain-chat-message h4,.brain-chat-message h5,.brain-chat-message h6{font-family:var(--font-display);font-weight:600;margin:.75em 0 .35em;line-height:1.3}.brain-chat-message h1:first-child,.brain-chat-message h2:first-child,.brain-chat-message h3:first-child{margin-top:0}.brain-chat-message h1{font-size:1.25em}.brain-chat-message h2{font-size:1.1em}.brain-chat-message h3{font-size:1.05em}.brain-chat-message ul,.brain-chat-message ol{margin:.5em 0;padding-left:1.4em}.brain-chat-message li+li{margin-top:.2em}.brain-chat-message code{background:var(--bg-3);padding:.15em .4em;border-radius:4px;font-size:.9em}.brain-chat-message pre{background:var(--bg-3);border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px;overflow:auto;margin:.5em 0;font-size:13px}.brain-chat-message pre code{background:none;padding:0}.brain-chat-message a{color:var(--accent);text-decoration:underline}.brain-chat-message a:hover{opacity:.85}.brain-chat-message blockquote{border-left:3px solid var(--border-bright);margin:.5em 0;padding-left:1em;color:var(--text-muted)}.brain-chat-message table{border-collapse:collapse;font-size:.95em;margin:.5em 0}.brain-chat-message th,.brain-chat-message td{border:1px solid var(--border);padding:4px 8px;text-align:left}.brain-chat-message th{background:var(--bg-3);font-weight:600}.brain-chat-message hr{border:none;border-top:1px solid var(--border);margin:.75em 0}@media (max-width: 768px){.app-layout{flex-direction:column}.app-sidebar{width:100%!important;height:auto!important;position:relative!important;flex-direction:row!important;padding:12px 16px!important;border-right:none!important;border-bottom:1px solid var(--border)}.app-sidebar .logo-wrap{padding:0 12px 0 0!important;border-bottom:none!important;border-right:1px solid var(--border)!important}.app-sidebar nav{flex-direction:row!important;padding:0 12px!important;flex:1}.app-sidebar .nav-item{margin-bottom:0!important}.app-sidebar .sidebar-footer{display:none}}.packet-usage-doc-preview .doc-report-header{page-break-inside:avoid;break-inside:avoid;padding-bottom:8px}.packet-usage-doc-preview .packet-usage-doc-table{table-layout:fixed!important;border-collapse:collapse;border:none;border-spacing:0}.packet-usage-doc-preview .packet-usage-doc-table td{border:none;padding:0;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.packet-usage-doc-preview{--doc-pad: 56px}.packet-usage-doc-preview .doc-product-usage-body{max-width:100%;overflow-wrap:break-word;word-break:break-word;min-width:0;width:100%;box-sizing:border-box}.packet-usage-doc-preview .doc-product-usage-body p,.packet-usage-doc-preview .doc-product-usage-body ul,.packet-usage-doc-preview .doc-product-usage-body ol,.packet-usage-doc-preview .doc-product-usage-body li{margin-top:0;margin-bottom:6px;max-width:100%;overflow-wrap:break-word;word-break:break-word;box-sizing:border-box}.packet-usage-doc-preview .doc-product-usage-body p{page-break-inside:avoid;break-inside:avoid}.packet-usage-doc-preview .doc-product-usage-body ul,.packet-usage-doc-preview .doc-product-usage-body ol{padding-left:1.5em}.packet-usage-doc-preview .doc-product-usage-body li{page-break-inside:avoid;break-inside:avoid}.packet-usage-doc-preview .doc-product-usage-body p:last-child,.packet-usage-doc-preview .doc-product-usage-body ul:last-child,.packet-usage-doc-preview .doc-product-usage-body ol:last-child{margin-bottom:0}.packet-usage-doc-preview .doc-product-usage-body h1,.packet-usage-doc-preview .doc-product-usage-body h2,.packet-usage-doc-preview .doc-product-usage-body h3{margin-top:8px;margin-bottom:4px;page-break-inside:avoid;break-inside:avoid;page-break-after:avoid;break-after:avoid}.packet-usage-doc-preview .doc-product-usage-body h1+*,.packet-usage-doc-preview .doc-product-usage-body h2+*,.packet-usage-doc-preview .doc-product-usage-body h3+*{page-break-before:avoid;break-before:avoid}.packet-usage-doc-preview .doc-product-usage-body h1:first-child,.packet-usage-doc-preview .doc-product-usage-body h2:first-child,.packet-usage-doc-preview .doc-product-usage-body h3:first-child{margin-top:0}.packet-usage-preview-wrapper{position:relative;min-height:600px}.packet-usage-doc-preview{position:relative;padding-bottom:72px;background-color:#fff;--page-guide-height: 914px;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--page-guide-height) - 1px),rgba(13,148,136,.15) calc(var(--page-guide-height) - 1px),rgba(13,148,136,.15) var(--page-guide-height));background-repeat:repeat-y;background-position:0 0}.packet-usage-print-footer{display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:0;left:0;right:0;height:44px;padding:0 20px;font-size:10px;color:#5c6b66;background:#fff;box-sizing:border-box;border-top:1px solid #e2e8e6}.packet-usage-print-footer-text{flex:1;border:none;background:transparent;padding:0;outline:none;font-size:inherit;color:inherit;font-family:inherit;width:100%}.packet-usage-print-footer-text::placeholder{color:#9ca3a0}.packet-usage-print-footer-logo{max-height:24px;width:auto;flex-shrink:0}.packet-usage-doc-preview .doc-report-footer{display:none}@media print{body *{visibility:hidden}.packet-usage-report,.packet-usage-report *{visibility:visible}.packet-usage-report{position:absolute;left:0;top:0;width:100%;max-width:none;margin:0;padding:0 0 72px;background:#fff;box-shadow:none;border:none}.packet-usage-report .no-print,.packet-usage-report .doc-report-footer{display:none!important}.packet-usage-print-footer{display:flex!important;visibility:visible!important;position:fixed;bottom:0;left:0;right:0;height:44px;align-items:center;justify-content:space-between;padding:0 20px;font-size:10px;color:#5c6b66;background:#fff;box-sizing:border-box}.packet-usage-print-footer-text{flex:1}.packet-usage-print-footer-logo{max-height:24px;width:auto}.packet-usage-report .markdown-body h1,.packet-usage-report .markdown-body h2,.packet-usage-report .markdown-body h3{page-break-after:avoid;break-after:avoid}.packet-usage-report .markdown-body h1+*,.packet-usage-report .markdown-body h2+*,.packet-usage-report .markdown-body h3+*{page-break-before:avoid;break-before:avoid}.packet-usage-report .doc-product-usage-body h1,.packet-usage-report .doc-product-usage-body h2,.packet-usage-report .doc-product-usage-body h3{page-break-after:avoid;break-after:avoid}.packet-usage-report .doc-product-usage-body h1+*,.packet-usage-report .doc-product-usage-body h2+*,.packet-usage-report .doc-product-usage-body h3+*{page-break-before:avoid;break-before:avoid}.packet-usage-report table{page-break-inside:auto}.packet-usage-report tr{page-break-inside:avoid;page-break-after:auto}}
