:root{--gold:#c8a45c;--gold-dark:#a67c2e;--bg:#f7f3eb;--card:#fff;--text:#2a1e12;--muted:#8f7a5e;--border:#2a1e121a;--shadow:#2a1e1214;--danger:#c0392b;--success-bg:#fff2d2;--success-text:#8f5a24;--error-bg:#f8e3d1;--error-text:#7d4a1d;--font-brand:"Cormorant Garamond", Georgia, serif;--font-body:"Jost", system-ui, sans-serif}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-body);background:var(--bg);color:var(--text);min-height:100vh;font-weight:600}a{color:var(--gold-dark);text-decoration:none}a:hover{text-decoration:underline}.app-shell{flex-direction:column;min-height:100vh;display:flex}.page-content{width:100%;max-width:1400px;margin:0 auto;padding:2rem 1.5rem}.navbar{background:var(--card);border-bottom:1px solid var(--border);box-shadow:0 2px 8px var(--shadow);z-index:100;justify-content:space-between;align-items:center;padding:.75rem 1.5rem;display:flex;position:sticky;top:0}.navbar-brand{font-family:var(--font-brand);color:var(--gold-dark);letter-spacing:.04em;font-size:1.4rem;font-weight:700}.navbar-links{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.nav-link{color:var(--text);border-radius:6px;padding:.4rem .75rem;font-size:.9rem;transition:background .15s}.nav-link:hover{background:#c8a45c1f;text-decoration:none}.nav-link.active{color:var(--gold-dark);background:#c8a45c33;font-weight:600}.btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;padding:.6rem 1.2rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.btn:hover{text-decoration:none}.btn-primary{background:linear-gradient(135deg, var(--gold), var(--gold-dark));color:#fff}.btn-primary:hover{filter:brightness(1.08)}.btn-outline{border:1px solid var(--border);color:var(--text);background:0 0}.btn-outline:hover{background:#c8a45c1a}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{filter:brightness(1.1)}button:disabled{opacity:.6;cursor:not-allowed}.form{flex-direction:column;gap:.6rem;display:flex}.form label{color:var(--muted);font-size:.85rem;font-weight:600}.form input,.form select,.form textarea,input,select,textarea{border:1px solid var(--border);background:var(--card);width:100%;color:var(--text);border-radius:8px;padding:.6rem .75rem;font-size:.95rem}input:focus,select:focus,textarea:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px #c8a45c26}.search-input{width:100%;max-width:360px;margin-bottom:1rem}.date-input{border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:8px;padding:.5rem .75rem}.alert{border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem}.alert-error{background:var(--error-bg);color:var(--error-text)}.alert-success{background:var(--success-bg);color:var(--success-text)}.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.stat-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.stat-label{text-transform:uppercase;color:var(--muted);margin-bottom:.4rem;font-size:.78rem;font-weight:600}.stat-value{color:var(--gold-dark);font-size:1.5rem;font-weight:800}.table{border-collapse:collapse;background:var(--card);width:100%;box-shadow:0 2px 8px var(--shadow);border-radius:12px;overflow:hidden}.table thead{background:#fbe8c7}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:.75rem 1rem;font-size:.9rem}.table th{text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:700}.table tbody tr:hover{background:#c8a45c0d}.table tbody tr:last-child td{border-bottom:none}.actions{gap:.4rem;display:flex}.badge{text-transform:uppercase;border-radius:999px;padding:.2rem .6rem;font-size:.75rem;font-weight:700;display:inline-block}.badge-cash,.badge-completed{color:#2e7d32;background:#e8f5e9}.badge-pending{color:#f57f17;background:#fff8e1}.badge-cancelled{color:#c62828;background:#fce4ec}.badge-owner{color:var(--gold-dark);background:#c8a45c33}.badge-cashier{color:var(--text);background:#2a1e1214}.badge-active{color:#2e7d32;background:#e8f5e9}.badge-inactive{color:#c62828;background:#fce4ec}.badge-warning{color:#856404;background:#fff3cd}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.5rem;display:flex}.page-header h1{font-size:1.6rem;font-weight:800}.section-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.section-header h2{font-size:1.2rem;font-weight:700}.muted{color:var(--muted);font-size:.9rem}.loading{text-align:center;color:var(--muted);padding:2rem}.auth-page{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.auth-card{background:var(--card);width:100%;max-width:420px;box-shadow:0 8px 32px var(--shadow);border-radius:16px;padding:2.5rem}.auth-title{font-family:var(--font-brand);color:var(--gold-dark);letter-spacing:.05em;margin-bottom:.25rem;font-size:2rem;font-weight:700}.auth-card h2{margin-bottom:1.25rem;font-size:1.2rem}.auth-footer{text-align:center;color:var(--muted);margin-top:1.25rem;font-size:.85rem}.modal-overlay{z-index:200;background:#00000073;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--card);border-radius:14px;width:90%;max-width:480px;max-height:90vh;padding:2rem;overflow-y:auto;box-shadow:0 12px 40px #0003}.modal h2{margin-bottom:1.25rem;font-size:1.2rem}.modal-actions{justify-content:flex-end;gap:.75rem;margin-top:1rem;display:flex}.sales-layout{grid-template-columns:1fr 380px;gap:1.5rem;max-width:1400px;margin:0 auto;padding:1.5rem;display:grid}.sales-products{min-width:0}.sales-cart{background:var(--card);border:1px solid var(--border);border-radius:14px;height:fit-content;padding:1.5rem;position:sticky;top:80px}.sales-cart h2{margin-bottom:1rem;font-size:1.1rem;font-weight:700}.product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;display:grid}.product-tile{background:var(--card);border:1px solid var(--border);cursor:pointer;border-radius:6px;padding:.9rem 1rem .75rem;transition:border-color .15s,box-shadow .15s}.product-tile:hover{border-color:var(--gold);box-shadow:0 4px 12px var(--shadow)}.product-tile-name{border-bottom:1px solid var(--border);margin-bottom:.5rem;padding-bottom:.5rem;font-size:.92rem;font-weight:600;line-height:1.25}.product-tile:hover .product-tile-name{border-bottom-color:var(--gold)}.product-tile-price{color:var(--gold-dark);font-size:1rem;font-weight:700}.product-tile-stock{color:var(--muted);margin-top:.25rem;font-size:.75rem}.type-badge{border-radius:999px;padding:.22rem .6rem;font-size:.72rem;font-weight:700;display:inline-block}.type-badge.full{color:#2e7d32;background:#e8f5e9}.type-badge.refill{color:#f57f17;background:#fff8e1}.cart-items{flex-direction:column;gap:.5rem;max-height:320px;margin-bottom:1rem;display:flex;overflow-y:auto}.cart-item{background:#fdf6ec;border-radius:8px;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.85rem;display:flex}.cart-item-name{flex:1;font-weight:600}.cart-item-controls{align-items:center;gap:.35rem;display:flex}.cart-item-controls button{border:1px solid var(--border);background:var(--card);cursor:pointer;border-radius:4px;width:24px;height:24px;padding:0;font-size:.9rem;font-weight:700}.cart-item-controls button:hover{background:var(--gold);color:#fff;border-color:var(--gold)}.cart-item-subtotal{color:var(--gold-dark);white-space:nowrap;font-weight:700}.cart-total{border-top:2px solid var(--border);justify-content:space-between;padding:.75rem 0;font-size:1rem;display:flex}.cart-total strong{color:var(--gold-dark);font-size:1.1rem}.receipt-wrapper{justify-content:center;padding:1rem;display:flex}.receipt{background:#fff;border:1px dashed #ccc;border-radius:4px;width:100%;max-width:360px;padding:1.5rem;font-family:monospace;font-size:13px;line-height:1.6}.receipt h2{text-align:center;margin-bottom:.25rem;font-size:1.1rem}.receipt p{margin:.2rem 0}.receipt .divider{border:none;border-top:1px dashed #aaa;margin:.75rem 0}.receipt table{border-collapse:collapse;width:100%;margin-top:.5rem}.receipt td{vertical-align:top;padding:3px 0}.receipt .total-row td{border-top:1px solid #000;padding-top:6px;font-weight:700}.receipt .footer{text-align:center;color:#666;margin-top:1rem;font-size:11px}@media print{.no-print,.navbar{display:none!important}.page-content,.receipt-wrapper{padding:0}.receipt{border:none;max-width:100%}}@media (width<=900px){.sales-layout{grid-template-columns:1fr}.sales-cart{position:static}}@media (width<=600px){.page-content{padding:1rem}.stat-grid{grid-template-columns:repeat(2,1fr)}.navbar-links{gap:0}.nav-link{padding:.35rem .5rem;font-size:.8rem}}.dashboard{max-width:1400px;margin:0 auto;padding:1.5rem}.dash-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.dash-header h1{font-size:1.6rem;font-weight:800}.dash-header-actions{flex-wrap:wrap;gap:.5rem;display:flex}.stat-card-highlight{border-left:4px solid var(--gold)}.stat-sub{color:var(--muted);margin-top:.3rem;font-size:.75rem}.skeleton{background:linear-gradient(90deg,#f0e8d8 25%,#e8dcc8 50%,#f0e8d8 75%) 0 0/200% 100%;border-radius:12px;min-height:90px;animation:1.4s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.insights-bar{flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem;display:flex}.insight-chip{background:var(--card);border:1px solid var(--border);color:var(--text);box-shadow:0 1px 4px var(--shadow);border-radius:999px;padding:.4rem 1rem;font-size:.82rem}.dash-charts{grid-template-columns:1fr 280px 1fr;gap:1rem;margin-bottom:1.5rem;display:grid}.chart-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.chart-title{text-transform:uppercase;color:var(--muted);margin-bottom:.75rem;font-size:.85rem;font-weight:700}.dash-bottom{grid-template-columns:1fr 340px;gap:1rem;display:grid}.dash-side{flex-direction:column;gap:1rem;display:flex}.dash-panel{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.alert-list{flex-direction:column;gap:.5rem;display:flex}.stock-alert{border-radius:8px;justify-content:space-between;align-items:center;padding:.5rem .75rem;font-size:.85rem;display:flex}.stock-alert.low{background:#fff8e1}.stock-alert.out{background:#fce4ec}.leaderboard{flex-direction:column;gap:.5rem;display:flex}.leaderboard-row{background:#fdf6ec;border-radius:8px;align-items:center;gap:.6rem;padding:.5rem .75rem;font-size:.85rem;display:flex}.lb-rank{width:28px;font-size:1rem}.lb-name{flex:1;font-weight:600}.lb-sales{color:var(--muted);font-size:.8rem}.lb-rev{color:var(--gold-dark);white-space:nowrap;font-weight:700}.quick-actions{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.qa-btn{border:1px solid var(--border);color:var(--text);text-align:center;background:#fdf6ec;border-radius:8px;justify-content:center;align-items:center;padding:.65rem;font-size:.85rem;font-weight:600;text-decoration:none;transition:all .15s;display:flex}.qa-btn:hover{border-color:var(--gold);background:#c8a45c26;text-decoration:none}@media (width<=1100px){.dash-charts{grid-template-columns:1fr 1fr}.dash-charts .chart-card:last-child{grid-column:1/-1}}@media (width<=800px){.dash-charts,.dash-bottom{grid-template-columns:1fr}}.products-page{max-width:1400px;margin:0 auto;padding:1.5rem}.alert-warn{color:#f57f17;background:#fff8e1}.alert-info{color:#1565c0;background:#e3f2fd}.prod-filters{background:var(--card);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.6rem;display:flex}.prod-filters .search-input,.prod-filters select,.prod-filters input[type=number]{height:40px;color:var(--text);background:#fff;border:1px solid #2a1e120f;border-radius:8px;outline:none;padding:0 .75rem;font-size:.95rem}.prod-filters .search-input{flex:1;min-width:160px}.prod-filters span.muted{margin-left:auto;font-size:.95rem}.active-view{border-color:var(--gold);color:var(--gold-dark);background:#c8a45c26}.stock-badge{border-radius:999px;padding:.2rem .65rem;font-size:.75rem;font-weight:700;display:inline-block}.stock-ok{color:#2e7d32;background:#e8f5e9}.stock-low{color:#f57f17;background:#fff8e1}.stock-out{color:#c62828;background:#fce4ec}.price-cell{color:var(--gold-dark);font-weight:700}.prod-name-btn{font-size:inherit;color:var(--gold-dark);cursor:pointer;text-underline-offset:2px;background:0 0;border:none;border-radius:0;padding:0;font-weight:600;text-decoration:underline}.prod-name-btn:hover{color:var(--gold)}.prod-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;display:grid}.prod-card{background:var(--card);border:1px solid var(--border);cursor:pointer;text-align:center;border-radius:12px;flex-direction:column;justify-content:space-between;align-items:center;min-height:180px;padding:1rem;transition:all .15s;display:flex}.prod-card:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 6px 20px #2a1e1214}.prod-card-name{text-align:center;font-size:.98rem;font-weight:700}.prod-card-size{color:var(--muted);margin-top:.25rem;font-size:.85rem}.prod-card-price{color:var(--gold-dark);margin-top:.4rem;font-size:1.05rem;font-weight:800}.prod-card-actions{flex-wrap:nowrap;justify-content:center;gap:.35rem;width:100%;margin-top:.6rem;display:flex}.btn-neutral{color:var(--text);background:0 0;border:1px solid #2a1e120f;border-radius:8px;padding:.35rem .5rem}.btn-sm{padding:.3rem .45rem;font-size:.82rem}.modal-wide{max-width:560px}.detail-grid{flex-direction:column;gap:.5rem;display:flex}.detail-row{background:#fdf6ec;border-radius:8px;justify-content:space-between;align-items:center;padding:.5rem .75rem;font-size:.9rem;display:flex}.detail-row span:first-child{color:var(--muted)}.reports-page{max-width:1400px;margin:0 auto;padding:1.5rem}.report-tabs{border-bottom:2px solid var(--border);gap:.25rem;margin-bottom:1.5rem;display:flex}.report-tab{cursor:pointer;color:var(--muted);background:0 0;border:none;border-bottom:3px solid #0000;border-radius:0;margin-bottom:-2px;padding:.6rem 1.25rem;font-size:.95rem;font-weight:600;transition:all .15s}.report-tab:hover{color:var(--text)}.report-tab.active{color:var(--gold-dark);border-bottom-color:var(--gold-dark)}.report-presets{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:1.25rem;display:flex}.report-charts{grid-template-columns:2fr 1fr;gap:1rem;margin-bottom:1rem;display:grid}.share-bar{align-items:center;gap:.5rem;display:flex}.share-fill{background:var(--gold);border-radius:4px;min-width:2px;height:8px;transition:width .3s}.share-bar span{color:var(--muted);white-space:nowrap;font-size:.75rem}.peak-row td{background:#c8a45c14;font-weight:600}@media (width<=900px){.report-charts{grid-template-columns:1fr}.report-charts .chart-card[style*=span\ 2]{grid-column:span 1}}.toast-stack{z-index:9999;flex-direction:column;gap:.5rem;display:flex;position:fixed;bottom:1.5rem;right:1.5rem}.toast{border-radius:10px;max-width:340px;padding:.75rem 1.25rem;font-size:.9rem;font-weight:600;animation:.25s slideIn;box-shadow:0 4px 16px #00000026}.toast-success{color:#2e7d32;background:#e8f5e9;border:1px solid #a5d6a7}.toast-error{color:#c62828;background:#fce4ec;border:1px solid #ef9a9a}.toast-info{color:#1565c0;background:#e3f2fd;border:1px solid #90caf9}@keyframes slideIn{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}.page-padded{max-width:1400px;margin:0 auto;padding:1.5rem}.recon-gap-bar{background:var(--card);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;padding:1.25rem}.recon-gap-label{justify-content:space-between;align-items:center;margin-bottom:.75rem;font-size:.9rem;display:flex}.recon-bar{background:var(--border);border-radius:999px;height:14px;display:flex;overflow:hidden}.recon-bar-collected{background:#2e7d32;transition:width .4s}.recon-bar-pending{background:#f57f17;transition:width .4s}.recon-bar-legend{color:var(--muted);gap:1.25rem;margin-top:.6rem;font-size:.8rem;display:flex}.legend-dot{border-radius:50%;width:10px;height:10px;margin-right:.35rem;display:inline-block}.legend-dot.collected{background:#2e7d32}.legend-dot.pending-dot{background:#f57f17}.nav-logo{object-fit:cover;object-position:center 20%;border-radius:50%;width:52px;height:52px}.auth-logo{object-fit:cover;object-position:center 20%;border-radius:50%;width:200px;height:200px;margin:0 auto .75rem;display:block}.stock-alert{border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.85rem;display:flex}.password-input-wrap{align-items:center;display:flex;position:relative}.password-input-wrap input{width:100%;padding-right:2.75rem}.password-toggle{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem;font-size:1rem;line-height:1;position:absolute;right:.6rem}.password-toggle:hover{background:#c8a45c26}.rcpt-card{background:var(--card);border:1px solid var(--border);box-shadow:0 4px 20px var(--shadow);border-radius:12px;max-width:420px;margin:0 auto;overflow:hidden}.rcpt-head{text-align:center;background:#2a1e12;padding:1.75rem 1.5rem 1.25rem}.rcpt-brand{font-family:var(--font-brand);color:var(--gold);letter-spacing:.08em;margin:0 0 2px;font-size:1.6rem;font-weight:700}.rcpt-tagline{color:#c8a45c99;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1rem;font-size:11px}.rcpt-status{color:var(--gold);letter-spacing:.05em;background:#c8a45c26;border:1px solid #c8a45c4d;border-radius:20px;align-items:center;gap:6px;padding:4px 14px;font-size:11px;display:inline-flex}.rcpt-dot{background:#4ade80;border-radius:50%;flex-shrink:0;width:6px;height:6px}.rcpt-body{padding:1.25rem 1.5rem}.rcpt-meta{grid-template-columns:1fr 1fr;gap:.85rem;margin-bottom:1.25rem;display:grid}.rcpt-field label{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:3px;font-size:10px;font-weight:700;display:block}.rcpt-field span{color:var(--text);font-size:13px;font-weight:600}.rcpt-divider{border:none;border-top:1px dashed #2a1e1226;margin:0 0 1.25rem}.rcpt-items{border-collapse:collapse;width:100%}.rcpt-items thead tr{border-bottom:1px solid var(--border)}.rcpt-items th{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);text-align:left;padding:0 0 8px;font-size:10px;font-weight:700}.rcpt-items th:nth-child(2){text-align:center}.rcpt-items th:last-child{text-align:right}.rcpt-items td{vertical-align:top;border-bottom:1px solid #2a1e120f;padding:10px 0}.rcpt-items tr:last-child td{border-bottom:none}.item-name{color:var(--text);font-size:13px;font-weight:600;display:block}.item-unit{color:var(--muted);margin-top:1px;font-size:11px;display:block}.rcpt-total-row{border-top:2px solid var(--border);justify-content:space-between;align-items:baseline;margin-top:.5rem;padding-top:.75rem;display:flex}.rcpt-total-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:11px;font-weight:700}.rcpt-total-amt{font-family:var(--font-brand);color:var(--gold-dark);font-size:1.6rem;font-weight:700}.rcpt-ref{border-top:1px solid var(--border);background:#fdf6ec;justify-content:space-between;align-items:center;padding:.6rem 1.5rem;display:flex}.rcpt-ref span,.rcpt-ref strong{color:var(--muted);font-size:11px}.rcpt-foot{border-top:1px solid var(--border);text-align:center;background:#fdf6ec;padding:1rem 1.5rem}.rcpt-foot p{color:var(--muted);margin:0 0 2px;font-size:12px}.rcpt-foot .biz{color:#8f7a5eb3;margin-top:4px;font-size:11px}.note{color:var(--muted);margin-top:.75rem;font-size:12px;font-style:italic}.rcpt-logo{object-fit:cover;object-position:center 20%;border:2px solid #c8a45c66;border-radius:50%;width:64px;height:64px;margin:0 auto .75rem;display:block}.chat-fab{z-index:1000;background:linear-gradient(135deg, var(--gold), var(--gold-dark));color:#fff;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.4rem;transition:all .2s;display:flex;position:fixed;bottom:1.75rem;right:1.75rem;box-shadow:0 4px 20px #c8a45c73}.chat-fab:hover{transform:scale(1.08);box-shadow:0 6px 24px #c8a45c8c}.chat-fab-open{background:#2a1e12}.chat-window{z-index:999;background:var(--card);border:1px solid var(--border);border-radius:16px;flex-direction:column;width:360px;max-height:560px;animation:.2s chatSlideUp;display:flex;position:fixed;bottom:5.5rem;right:1.75rem;overflow:hidden;box-shadow:0 12px 48px #2a1e122e}@keyframes chatSlideUp{0%{opacity:0;transform:translateY(16px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.chat-header{background:#2a1e12;justify-content:space-between;align-items:center;padding:.85rem 1rem;display:flex}.chat-header-info{align-items:center;gap:.6rem;display:flex}.chat-header-avatar{font-size:1.3rem}.chat-header-name{color:var(--gold);font-size:.95rem;font-weight:700}.chat-header-sub{color:#c8a45c99;font-size:.72rem}.chat-clear-btn{color:#c8a45c99;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.2rem .4rem;font-size:1.1rem;transition:color .15s}.chat-clear-btn:hover{color:var(--gold)}.chat-messages{scroll-behavior:smooth;flex-direction:column;flex:1;gap:.6rem;padding:.85rem;display:flex;overflow-y:auto}.chat-msg{align-items:flex-end;gap:.4rem;display:flex}.chat-msg-user{flex-direction:row-reverse}.chat-avatar{flex-shrink:0;margin-bottom:2px;font-size:1rem}.chat-bubble{border-radius:14px;max-width:82%;padding:.55rem .85rem;font-size:.875rem;line-height:1.5}.chat-msg-bot .chat-bubble{color:var(--text);background:#fdf6ec;border-bottom-left-radius:4px}.chat-msg-user .chat-bubble{background:linear-gradient(135deg, var(--gold), var(--gold-dark));color:#fff;border-bottom-right-radius:4px}.chat-typing{align-items:center;gap:4px;padding:.65rem .85rem;display:flex}.chat-typing span{background:var(--gold);border-radius:50%;width:7px;height:7px;animation:1.2s infinite typingBounce;display:inline-block}.chat-typing span:nth-child(2){animation-delay:.2s}.chat-typing span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}.chat-suggestions{flex-wrap:wrap;gap:.4rem;padding:0 .85rem .6rem;display:flex}.chat-suggestion{border:1px solid var(--border);cursor:pointer;color:var(--text);white-space:nowrap;background:#fdf6ec;border-radius:999px;padding:.3rem .75rem;font-size:.78rem;transition:all .15s}.chat-suggestion:hover{border-color:var(--gold);background:#c8a45c26}.chat-input-row{border-top:1px solid var(--border);background:var(--card);align-items:flex-end;gap:.5rem;padding:.75rem;display:flex}.chat-input{resize:none;border:1px solid var(--border);font-size:.875rem;font-family:var(--font-body);border-radius:10px;flex:1;max-height:100px;padding:.55rem .75rem;line-height:1.4;overflow-y:auto}.chat-input:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px #c8a45c26}.chat-send-btn{background:linear-gradient(135deg, var(--gold), var(--gold-dark));color:#fff;cursor:pointer;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:.9rem;transition:all .15s;display:flex}.chat-send-btn:hover:not(:disabled){filter:brightness(1.1);transform:scale(1.05)}.chat-send-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (width<=480px){.chat-window{width:calc(100vw - 2rem);bottom:5rem;right:1rem}.chat-fab{bottom:1.25rem;right:1.25rem}}.negotiation-page{max-width:980px;margin:0 auto;padding:1.25rem}.negotiation-controls{grid-template-columns:1fr 1fr;align-items:start;gap:1rem;display:grid}.negotiation-controls label{font-size:.85rem}.negotiation-controls select,.negotiation-controls input{width:100%}.negotiation-controls .btn{min-width:140px}.negotiation-comparison{justify-content:space-between;align-items:center;gap:1rem;display:flex}.negotiation-comparison ul{width:100%;margin:0;padding:0;list-style:none}.negotiation-comparison li{border-bottom:1px dashed var(--border);justify-content:space-between;padding:.5rem 0;display:flex}.negotiation-comparison li strong{color:var(--muted);font-weight:600}.negotiation-comparison li span{color:var(--gold-dark);font-weight:800}.negotiation-quick-scenarios{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.negotiation-quick-scenarios .btn{padding:.5rem .9rem}@media (width<=900px){.negotiation-controls{grid-template-columns:1fr}.negotiation-comparison{flex-direction:column;align-items:stretch}}
