:root{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#12324f;background:#f4f6f8;--tm-blue: #003b70;--tm-blue-dark: #002F6C;--tm-blue-soft: #0b5a99;--tm-orange: #ef7f00;--tm-orange-dark: #e55a00;--tm-border: #d5e1ec;--tm-hover: #eef4fb;--tm-shadow: 0 14px 30px rgba(18, 50, 79, .12);--tm-badge-bg: #eef4fb;--tm-badge-border: #ef7f00;--tm-badge-text: #003b70;--tm-badge-cercami-bg: #fff9e6;--tm-badge-cercami-border: #ffc107}*{box-sizing:border-box}html,body,#app{height:100%;min-height:100%}body{margin:0;background:#f4f6f8;overflow:hidden;font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:-.01em}button,input,label{font:inherit}button,label{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}svg{display:block}.page-shell{height:100vh;min-height:100vh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #d7e0e8;background:#fff;position:sticky;top:0;z-index:25}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px}.brand-mark-shell{width:40px;height:40px;border-radius:10px;background:var(--tm-blue);display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 1px #ffffff1f,0 8px 16px #003b7029}.brand-mark{width:28px;height:28px;object-fit:contain}.menu-button{width:34px;height:34px;display:inline-flex;flex-direction:column;justify-content:center;gap:5px;border:0;background:transparent;cursor:pointer;border-radius:10px}.menu-button:hover{background:#f0f5fa}.menu-button span{width:24px;height:3px;border-radius:999px;background:var(--tm-blue)}.project-topbar-button{display:inline-flex;align-items:center;gap:8px;background:var(--tm-blue);color:#fff;border:1px solid var(--tm-orange);border-radius:12px;padding:8px 14px;font-weight:800;line-height:1;box-shadow:0 8px 18px #003b7038;cursor:pointer}.project-topbar-button:hover{background:#002f5f;border-color:#ff980f;box-shadow:0 12px 24px #003b7042}.project-topbar-icon{width:18px;height:18px;color:currentColor;fill:currentColor;filter:drop-shadow(0 1px 0 rgba(255,255,255,.15));flex-shrink:0}.project-topbar-separator{width:1px;height:16px;background:#ffffff47}.topbar-status{display:flex;align-items:center;gap:10px;color:#62768d;font-size:.92rem}.toast-stack{position:fixed;top:18px;right:18px;z-index:60;display:grid;gap:10px}.toast{min-width:280px;max-width:360px;border-radius:12px;padding:12px 14px;color:#fff;box-shadow:var(--tm-shadow)}.toast.success{background:#146c43}.toast.error{background:#b42318}.toast.info{background:var(--tm-blue)}.chat-layout{flex:1;display:flex;flex-direction:column;min-height:calc(100vh - 54px);overflow:hidden}.chat-stage{flex:1;position:relative;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}.message-stack{position:relative;z-index:1;min-height:calc(100% - 8px);max-width:1360px;margin:0 auto;padding:26px 36px 34px}.message-stack.empty-home{pointer-events:none}.chat-row{display:flex;width:100%;margin-bottom:24px}.chat-row.user{justify-content:flex-end}.chat-row.assistant{justify-content:flex-start}.chat-bubble{border-radius:18px;padding:16px 20px;box-shadow:var(--tm-shadow)}.chat-bubble.user{width:min(760px,100%);background:linear-gradient(to right,#003b70,#0b5a99);border:1px solid #4caeb6;color:#fff;border-radius:18px 4px 18px 18px;position:relative;box-shadow:0 10px 24px #004f5614}.user-bubble-stack{width:min(760px,100%);display:grid;justify-items:end;gap:6px;position:relative}.chat-bubble.user:after{content:"";position:absolute;right:18px;bottom:-10px;width:22px;height:16px;background:#0b5a99;clip-path:polygon(100% 0,0 0,100% 100%);border-bottom-right-radius:8px;filter:drop-shadow(0 8px 10px rgba(0,79,86,.08))}.chat-bubble.assistant{max-width:240px;background:linear-gradient(180deg,#0b5a99,#003b70);color:#fff}.chat-text{margin:0;line-height:1.46;font-weight:500}.user-text{font-size:.94rem;font-weight:700;letter-spacing:-.02em;line-height:1.48}.assistant-panels{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:20px;position:relative}.user-message-actions{display:flex;flex-direction:row;gap:6px;opacity:0;pointer-events:none;transform:translateY(-1px);transition:opacity .18s ease,transform .18s ease;align-self:start;justify-self:start;margin-left:12px;order:2}.user-bubble-stack:hover .user-message-actions,.user-bubble-stack:focus-within .user-message-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.user-message-action{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #d4dfeb;background:#fffffff0;color:#4b637c;cursor:pointer;box-shadow:0 6px 12px #12324f12}.user-message-action:hover{border-color:#aac1d7;background:#eef4fb;color:#003b70}.user-message-action svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}.assistant-panel{min-height:460px;max-height:680px;border-radius:22px;border:1px solid #d8e3ee;background:#fffffff5;box-shadow:0 16px 28px #12324f14;overflow:hidden}.assistant-panel-guidance{border-color:#e8d59a}.assistant-panel-header{display:flex;align-items:center;gap:10px;padding:18px 24px 14px;border-bottom:1px solid #ef7f00}.assistant-panel-header.guidance{border-bottom-color:#e8d59a}.assistant-panel-header h3{margin:0;color:var(--tm-blue);font-size:.98rem;font-weight:900;letter-spacing:.035em;text-transform:uppercase}.assistant-panel-header.guidance h3{color:#c58a00}.assistant-panel-icon{width:24px;height:24px;color:var(--tm-blue);fill:currentColor;flex-shrink:0}.assistant-panel-header.guidance .assistant-panel-icon{color:#c58a00}.assistant-panel-intro{margin:0;padding:18px 24px 0;color:#27415b;line-height:1.52;font-size:.96rem;font-weight:500}.assistant-panel-body{padding:16px 24px 24px;max-height:610px;overflow:auto}.assistant-step-card{border:1px solid var(--tm-border);border-radius:16px;background:#f7fbfe;margin-bottom:14px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.assistant-step-card:hover{border-color:#ef7f00;box-shadow:0 10px 24px #12324f14;background:#fff}.assistant-product-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:14px}.assistant-product-item{color:#4f667d}.assistant-product-item::marker{color:#003b70}.assistant-product-item-head{color:#4f667d;line-height:1.58;font-size:1rem}.assistant-product-item-head strong{color:#0f5d77;font-size:1rem;line-height:1.35;font-weight:800}.assistant-product-line{margin-bottom:6px;color:#4f667d;line-height:1.56;font-size:.98rem}.assistant-product-line:last-child{margin-bottom:0}.assistant-product-sublist{margin:8px 0 0;padding-left:32px}.assistant-product-line.accent .assistant-product-label{color:var(--tm-orange)}.assistant-product-line.accent .assistant-product-value{color:#60748a;font-style:italic}.assistant-product-label,.assistant-product-bullet-label{color:#0f766e;font-weight:800;margin-right:6px;font-size:.98rem}.assistant-product-value{color:#4f667d;font-weight:500;font-size:.98rem}.assistant-product-value.with-link-copy{margin-left:8px}.assistant-code-link{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:8px;border:1px solid #ef7f00;background:#fff7ea;color:#0b57a0;text-decoration:none;font-weight:800;font-size:.82rem;box-shadow:inset 0 1px #fffc}.assistant-code-link:hover{background:#ffefcf;color:#003b70}.assistant-step-card{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;background:#f5fbff;border-color:#d5e6f2}.assistant-step-badge{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--tm-blue);color:#fff;font-weight:900;box-shadow:0 8px 16px #003b7029;flex-shrink:0}.assistant-step-card strong{color:#155f78;display:block;line-height:1.35;font-size:1.02rem;margin-bottom:6px;font-weight:800}.assistant-step-copy p{margin:0;color:#4f667d;line-height:1.6;font-size:.98rem;font-weight:500}.assistant-step-copy .sku-link,.assistant-deep-dive-card .sku-link{display:inline-block;background:#eef4fb;border:1px solid #ef7f00;border-radius:4px;padding:2px 8px;color:#003b70;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:.875rem;font-weight:600;text-decoration:none;box-shadow:0 1px 2px #0000000d;transition:all .2s ease}.assistant-step-copy .sku-link:hover,.assistant-deep-dive-card .sku-link:hover{background:#e1f0fc;border-color:#003b70;color:#002855;box-shadow:0 2px 4px #003b7026;transform:scale(1.02)}.assistant-deep-dive-card{border:1px solid #d9e6f3;border-radius:16px;padding:16px 18px;background:linear-gradient(180deg,#fdfefe,#eef7ff);box-shadow:inset 0 1px #ffffffbf}.assistant-deep-dive-label{margin-bottom:8px;color:#0b5a99;font-size:.82rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.assistant-deep-dive-card p{margin:0;color:#39536c;line-height:1.62;font-size:.98rem;font-weight:500}.assistant-note-card{width:min(760px,100%);border:1px solid #d8e3ee;border-radius:18px;background:#fffffff5;box-shadow:0 16px 28px #12324f14;padding:18px 22px}.assistant-note-card p{margin:0 0 12px;color:#334a62;line-height:1.65;font-size:.92rem}.assistant-note-card p:last-child{margin-bottom:0}.chat-inline-new-consultation{margin-top:12px}.thinking-card{min-width:auto;padding:4px 0;border:0;background:transparent;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;color:#64748b;font-weight:500}.thinking-card p{margin:0;font-size:.92rem}.thinking-spinner{width:20px;height:20px;border-radius:999px;border:2px solid #d4e2f1;border-top-color:#003b70;animation:spin .9s linear infinite}.floating-suggestions{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;z-index:6}.floating-card{position:absolute;width:min(430px,34vw);min-width:250px;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:18px;color:#fff;font-weight:800;text-align:left;line-height:1.42;text-shadow:0 1px 1px rgba(0,0,0,.22);cursor:pointer;box-shadow:0 14px 28px #00353a42;opacity:0;transform:scale(.9) translateY(-10px);transition:transform .5s ease-in-out,border-color .2s ease,box-shadow .2s ease,opacity .5s ease-in-out;pointer-events:auto;animation:floatBubble 12s ease-in-out infinite;z-index:4}.floating-card.visible{opacity:1;transform:scale(1) translateY(0)}.floating-card:hover{border-color:#ef7f00b3;box-shadow:0 18px 34px #00353a52}.floating-card.blue{background:#003b70f2}.floating-card.blue-dark{background:#0b5a99f2}.floating-card.orange{background:#bf6600eb}.floating-card.blue-soft{background:#214d7beb}.floating-card.orange-deep{background:#975408f0}.response-actions{display:flex;justify-content:center;gap:16px;margin-bottom:10px}.response-actions button{height:44px;min-width:120px;border-radius:8px;padding:0 18px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px #13324f14;display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:.88rem;white-space:nowrap}.response-actions button:hover{transform:translateY(-1px)}.response-primary,.response-secondary{border:0;color:#fff}.response-primary{background:var(--tm-blue);box-shadow:0 10px 20px #003b7038}.response-primary:hover{background:#002f5f}.response-secondary{background:var(--tm-blue-soft);box-shadow:0 4px 12px #0b5a9938;min-width:150px}.response-secondary:hover{background:#084e87}.response-neutral{border:1px solid var(--tm-border);background:#eef4fb;color:#0f1724;min-width:140px}.response-neutral:hover{border-color:#bccddd;background:#e4edf7}.composer-shell{padding:8px 18px 12px;background:linear-gradient(180deg,#f4f6f800,#f4f6f8f0,#f4f6f8 48%);flex-shrink:0}.composer-status{max-width:1040px;margin:0 auto 4px;display:flex;justify-content:center}.composer-status-near-input{margin-top:-10px;margin-bottom:24px}.composer{max-width:1040px;margin:0 auto;display:flex;align-items:center;gap:10px}.composer-input{flex:1;height:48px;padding:0 18px;border-radius:16px;border:1px solid #5b96c6;background:#fffffffa;color:#22364f;outline:none;font-size:.92rem}.composer-input:focus{border-color:var(--tm-blue);box-shadow:0 0 0 4px #0b5a991f}.composer-icon,.composer-send{width:40px;height:40px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #007d8814}.composer-icon svg,.composer-send svg{width:18px;height:18px}.composer-send svg{fill:currentColor}.composer-icon{border:1px solid var(--tm-border);background:#fff;color:var(--tm-blue)}.composer-icon:hover{border-color:var(--tm-orange);background:#fff8f1;color:var(--tm-blue)}.composer-icon.active{background:#ffe8cb;color:var(--tm-blue);border-color:var(--tm-orange)}.composer-send{border:0;background:linear-gradient(to right,#003b70,#0b5a99);color:#fff}.composer-send.stop-mode{background:#ef4444;border:none}.composer-send:hover:not(:disabled){background:linear-gradient(to right,#002f5f,#003b70);box-shadow:0 10px 18px #003b703d}.composer-send.stop-mode:hover:not(:disabled){background:#dc2626;box-shadow:0 10px 18px #dc26263d}.composer-send:disabled{opacity:.45;cursor:not-allowed}.composer-caption{text-align:center;margin:10px 0 0;color:#6c8094;font-size:.82rem}.chat-stage::-webkit-scrollbar,.assistant-panel-body::-webkit-scrollbar,.sidebar-body::-webkit-scrollbar,.project-modal-body::-webkit-scrollbar{width:8px}.chat-stage::-webkit-scrollbar-track,.assistant-panel-body::-webkit-scrollbar-track,.sidebar-body::-webkit-scrollbar-track,.project-modal-body::-webkit-scrollbar-track{background:#eef4f8;border-radius:999px}.chat-stage::-webkit-scrollbar-thumb,.assistant-panel-body::-webkit-scrollbar-thumb,.sidebar-body::-webkit-scrollbar-thumb,.project-modal-body::-webkit-scrollbar-thumb{background:var(--tm-orange);border-radius:999px}.chat-stage::-webkit-scrollbar-thumb:hover,.assistant-panel-body::-webkit-scrollbar-thumb:hover,.sidebar-body::-webkit-scrollbar-thumb:hover,.project-modal-body::-webkit-scrollbar-thumb:hover{background:#d86f00}.sidebar-overlay,.project-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172485;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:30}.sidebar{position:fixed;top:0;bottom:0;left:0;width:320px;background:#fff;border-right:1px solid var(--tm-border);box-shadow:0 18px 42px #0f172429;transform:translate(-100%);transition:transform .28s ease;z-index:35;overflow:visible;display:flex;flex-direction:column}.sidebar.open{transform:translate(0)}.sidebar-header{padding:14px 14px 10px;border-bottom:1px solid var(--tm-border);background:#fafdff}.sidebar-logo-shell{border:1px solid #d7e3ef;border-radius:12px;padding:8px 12px;background:#f7faff;min-height:72px;display:flex;align-items:center}.sidebar-logo-shell img{width:100%;max-height:52px;object-fit:contain}.sidebar-close.outside{position:absolute;top:12px;right:-48px;width:38px;height:38px;border-radius:999px;border:1px solid var(--tm-border);background:#fff;color:#5f7287;box-shadow:0 8px 18px #0f172424;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.sidebar-close.outside:hover{color:var(--tm-blue);border-color:var(--tm-orange)}.sidebar-close svg,.project-modal-header button svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round}.sidebar-actions{padding:14px}.primary-sidebar-button{width:100%;border:0;border-radius:16px;padding:16px 18px;background:var(--tm-blue);color:#fff;font-weight:800;font-size:.96rem;cursor:pointer;box-shadow:0 10px 18px #003b7033}.primary-sidebar-button:hover{background:#002f5f}.sidebar-body{flex:1;overflow:auto;padding:8px 14px 16px}.sidebar-empty{text-align:center;margin-top:40px;color:#6c8094}.sidebar-empty p{margin:0 0 14px;font-size:.96rem;font-style:italic}.sidebar-empty small{display:block;margin:0 auto;max-width:240px;font-size:.82rem;line-height:1.5}.session-card{position:relative;border:1px solid #d9e3ee;background:#f7faff;border-radius:14px;padding:12px 14px 14px;margin-bottom:12px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.session-card:hover{border-color:var(--tm-orange);box-shadow:0 12px 24px #12324f14;transform:translateY(-1px)}.session-main{cursor:pointer;display:block;padding-right:34px}.session-main strong{display:block;color:#17283c;font-size:.95rem;line-height:1.3;overflow-wrap:anywhere}.session-main p{margin:6px 0 8px;color:#6b7c90;font-size:.92rem}.session-chip{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;border:1px solid var(--tm-border);background:#fff;color:#4b6986;font-size:.79rem}.session-delete-icon{position:absolute;top:8px;right:8px;border:0;background:transparent;cursor:pointer;color:#8f9db0;border-radius:8px;padding:4px}.session-delete-icon svg{width:16px;height:16px;fill:currentColor}.session-delete-icon:hover{color:#d92d20;background:#fff1f0}.sidebar-user-shell{border-top:1px solid var(--tm-border);padding:12px 14px 14px;background:#f7faff}.sidebar-user-trigger{width:100%;border:1px solid #d3dfeb;border-radius:10px;background:#fff;padding:10px;cursor:pointer;display:flex;align-items:center;gap:10px;color:inherit}.sidebar-user-trigger:hover,.sidebar-user-trigger.active{background:#f3f8fd;border-color:#9db8d2}.sidebar-user-header{display:flex;flex-direction:column;gap:2px}.sidebar-user-avatar{width:34px;height:34px;border-radius:999px;border:1px solid #d4e1ee;background:#fff;color:#5b728a;display:inline-flex;align-items:center;justify-content:center}.sidebar-user-avatar svg{width:18px;height:18px;fill:currentColor}.sidebar-user-copy{min-width:0;text-align:left;flex:1}.sidebar-user-copy strong{display:block;color:#15283b;font-size:.88rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-copy small{display:block;margin-top:2px;color:#6c8094;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user-chevron{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;color:#5a6e83;transition:transform .18s ease}.sidebar-user-chevron.open{transform:rotate(180deg)}.sidebar-user-actions{display:grid;gap:8px;margin-top:10px}.sidebar-user-actions button{width:100%;min-height:36px;border-radius:8px;border:1px solid var(--tm-border);background:#fff;color:#12324f;font-weight:700;font-size:.84rem;cursor:pointer}.sidebar-user-actions button:hover{background:var(--tm-hover);border-color:#aac1d7}.sidebar-user-actions button.danger{color:#d92d20}.sidebar-user-actions button.danger:hover{background:#fff1f0;border-color:#f1c1bc}.tm-swal-popup{border-radius:16px;border:1px solid #d6e1ec;box-shadow:0 18px 42px #0f17243d;padding:1.2rem 1.2rem 1rem}.tm-swal-title{color:#003b70;font-weight:800;font-size:1.2rem}.tm-swal-html{color:#4d6177;font-size:.95rem}.tm-swal-actions{gap:8px}.tm-swal-btn{border:0;border-radius:10px;min-width:110px;min-height:40px;padding:0 16px;font-weight:700;cursor:pointer}.tm-swal-btn-confirm{background:linear-gradient(135deg,#0b5a99,#003b70);color:#fff}.tm-swal-btn-confirm:hover{background:linear-gradient(135deg,#003b70,#002546)}.tm-swal-btn-cancel{background:#eef4fb;color:#234663}.tm-swal-btn-cancel:hover{background:#dfeaf6}.sidebar-footer{padding:14px;border-top:1px solid var(--tm-border);background:#f7faff}.sidebar-footer p{margin:0 0 10px;text-transform:uppercase;color:#657b92;font-size:.78rem;font-weight:900}.sidebar-footer-actions{display:flex;gap:8px}.sidebar-footer-actions button,.sidebar-footer-actions label{flex:1;display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:38px;border-radius:8px;border:1px solid var(--tm-border);background:#fff;cursor:pointer;color:#0f1724}.sidebar-footer-actions button:hover:not(:disabled),.sidebar-footer-actions label:hover{background:var(--tm-hover);border-color:#aac1d7}.sidebar-footer-actions button:disabled{opacity:.5;cursor:not-allowed}.sidebar-footer-actions svg{width:14px;height:14px;fill:currentColor}.sidebar-footer-actions input{display:none}.sidebar-footer small{display:block;text-align:center;margin-top:10px;color:#7a8da3;font-size:.8rem}.project-modal-overlay{display:flex;align-items:center;justify-content:center;padding:40px}.project-modal{width:min(1380px,92vw);max-height:86vh;background:#fff;border-radius:18px;box-shadow:0 24px 50px #0f172433;overflow:hidden}.project-modal-header{display:flex;justify-content:space-between;align-items:start;padding:18px 22px;border-bottom:1px solid var(--tm-border);background:linear-gradient(90deg,#f7faff,#eff4fb)}.project-modal-header p{margin:0 0 6px;text-transform:uppercase;color:#697d93;font-size:.78rem;font-weight:900}.project-modal-header h2{margin:0;max-width:900px;color:#1d3857;font-size:1.15rem}.wizard-header-copy{display:grid;gap:6px}.wizard-modal-title{display:flex;align-items:center;gap:8px}.wizard-pdf-badge{display:inline-flex;align-items:center;justify-content:center;width:30px;height:28px;border-radius:8px;background:#eef4fb;color:#003b70;font-size:.72rem;font-weight:900}.project-modal-header button{width:38px;height:38px;border-radius:999px;border:1px solid var(--tm-border);background:#fff;color:#687c92;cursor:pointer}.project-modal-header button:hover{color:var(--tm-blue);border-color:var(--tm-orange);background:#fbfdff}.project-modal-body{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:14px 18px 8px;max-height:calc(86vh - 140px);overflow:auto}.project-modal-column{display:grid;gap:12px;align-content:start}.project-modal-panel{border:1px solid #efc26f;border-radius:14px;padding:14px 16px;background:#fffdfa}.project-modal-panel h3{margin:0 0 8px;color:#c58a00;font-size:.95rem;font-weight:800}.project-product-card,.project-step-card{border:1px solid #d6e0ea;border-radius:14px;padding:14px 16px;background:#f8fbfd;transition:border-color .18s ease,box-shadow .18s ease}.project-product-card:hover,.project-step-card:hover{border-color:var(--tm-orange);box-shadow:0 10px 20px #12324f14}.project-product-card{display:flex;justify-content:space-between;gap:18px}.project-product-card strong,.project-step-card strong{display:block;margin-bottom:6px;color:#145c72}.project-product-card p{margin:0;color:#5d748c}.project-product-side{display:flex;flex-direction:column;gap:8px;text-align:right;color:var(--tm-blue);font-weight:800}.project-step-card{display:flex;gap:14px;align-items:start}.project-step-badge{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--tm-blue);color:#fff;font-weight:900;flex-shrink:0}.project-modal-footer{padding:14px 22px 22px}.project-save{min-width:180px;border:0;border-radius:12px;padding:12px 18px;background:var(--tm-blue);color:#fff;font-weight:900;cursor:pointer}.project-save:hover:not(:disabled){background:#002f5f}.project-save:disabled{opacity:.6;cursor:not-allowed}.wizard-modal{width:min(1240px,94vw)}.wizard-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.wizard-full{grid-column:1 / -1}.project-phase{display:inline-block;margin-top:8px;color:#64748b;font-size:.92rem}.wizard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,.8fr) minmax(100px,.6fr) minmax(140px,.8fr);gap:12px}.wizard-grid label,.wizard-description,.wizard-step-fields{display:grid;gap:6px}.wizard-grid span,.wizard-description span{font-size:.78rem;font-weight:800;text-transform:uppercase;color:#64748b}.wizard-grid input,.wizard-description textarea,.wizard-step-fields input,.wizard-step-fields textarea,.wizard-customer,.project-modal-panel textarea,.wizard-price-actions input{width:100%;border:1px solid var(--tm-border);border-radius:10px;padding:10px 12px;background:#fff;color:#12324f}.wizard-product-row,.wizard-price-row,.wizard-cost-row{border:1px solid #d6e0ea;border-radius:14px;padding:14px 16px;background:#f8fbfd}.wizard-product-row{display:grid;gap:12px}.wizard-tip-card{display:flex;align-items:flex-start;gap:12px;border:1px solid #d5e1ec;border-radius:8px;padding:12px;background:#f7faff;color:#475569;font-size:.875rem}.wizard-tip-card strong{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:6px;border:1px solid #d5e1ec;background:#fff;color:#003b70;font-size:.75rem;font-weight:700;flex-shrink:0}.wizard-tip-card .wizard-tip-copy{flex:1}.wizard-tip-card .wizard-tip-copy strong{display:inline;border:0;background:transparent;padding:0;min-width:auto;height:auto;font-weight:700;color:inherit}.wizard-table-shell{border:1px solid #d5e1ec;border-radius:12px;overflow:hidden;background:#fff}.wizard-table-head,.wizard-table-row{display:grid;grid-template-columns:minmax(128px,.85fr) minmax(0,2.9fr) minmax(140px,.85fr) 72px;gap:16px;align-items:center;padding:14px 18px}.wizard-table-head{background:#f7faff;border-bottom:1px solid #d5e1ec;color:#64748b;text-transform:uppercase;font-size:.875rem;font-weight:600}.wizard-table-row{border-bottom:1px solid #e7edf5;transition:background-color .15s ease}.wizard-table-row:hover{background:#f7faff}.wizard-table-row:last-child{border-bottom:0}.wizard-code-cell,.wizard-product-cell,.wizard-qty-cell,.wizard-actions-cell{min-width:0}.wizard-code-cell,.wizard-qty-cell{display:grid;gap:6px}.wizard-code-input,.wizard-product-input,.wizard-product-subline,.wizard-qty-input,.wizard-unit-input{width:100%;border:1px solid #d5e1ec;border-radius:4px;padding:4px 8px;color:#1e293b;background:#fff;font-size:.875rem;outline:none;transition:border-color .15s ease}.wizard-code-input{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.wizard-code-input:focus,.wizard-product-input:focus,.wizard-qty-input:focus{border-color:#003b70}.wizard-code-input.missing-code{border-color:#ffb36b;background:#fff4e8;color:#c45400;font-weight:600}.wizard-product-main{display:flex;align-items:center;gap:6px}.wizard-product-label{flex:0 1 auto;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-product-input{font-weight:600}.wizard-qty-input{text-align:center}.wizard-inline-open{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;color:#60a5fa;text-decoration:none;flex-shrink:0;transition:all .15s ease}.wizard-inline-open:hover{color:#93c5fd;opacity:1}.wizard-inline-open svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.wizard-search-pill{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:2px 8px;border:1px solid #ffb36b;border-radius:6px;background:#fff4e8;color:#c45400;text-decoration:none;font-size:.625rem;font-weight:600;line-height:1.2}.wizard-search-pill:hover{background:#ffe8cf}.wizard-row-remove{border:0;background:transparent;color:#ef4444;font-weight:400;font-size:1rem;cursor:pointer;padding:4px 8px;transition:color .15s ease}.wizard-row-remove:hover{color:#dc2626}.wizard-add-row{margin-top:12px}.wizard-inline-actions,.wizard-secondary-actions,.wizard-footer-right,.wizard-summary-footer{display:flex;align-items:center;gap:12px}.wizard-project-summary{border:1px solid #d5e1ec;border-radius:12px;padding:12px 14px;background:#f7faff;margin-bottom:14px}.wizard-project-summary h3{margin:0 0 8px;color:#0f1724;font-size:1rem;font-weight:800}.wizard-project-summary textarea{width:100%;border:1px solid #d5e1ec;border-radius:8px;padding:10px;background:#fff;color:#12324f;font-size:.9rem;resize:none;outline:none}.wizard-project-summary textarea:focus{border-color:#003b70}.wizard-dual-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px;height:420px}.wizard-cost-section,.wizard-guide-section{display:flex;flex-direction:column;gap:12px;height:100%}.wizard-product-list,.wizard-guide-list{flex:1;overflow-y:auto;padding-right:8px;display:flex;flex-direction:column;gap:8px}.wizard-inline-product{display:flex;justify-content:space-between;align-items:center;background:#f7faff;padding:10px 12px;border-radius:10px;border:1px solid #e3ebf4;gap:12px}.wizard-product-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.wizard-product-name{width:100%;background:transparent;border:none;font-size:.94rem;font-weight:600;color:#18324c;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wizard-product-meta{display:flex;align-items:center;gap:6px;font-size:.75rem;color:#64748b}.product-code{font-family:monospace;font-weight:600}.product-code-edit{font-family:monospace;font-weight:600;font-size:.75rem;padding:4px 8px;border:1.5px solid #003b70;border-radius:6px;background:#fff;color:#003b70;min-width:100px;outline:none}.product-code-edit:focus{border-color:#ef7f00;box-shadow:0 0 0 2px #ef7f001a}.edit-code-btn{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;background:transparent;color:#64748b;cursor:pointer;transition:color .2s}.edit-code-btn:hover{color:#003b70}.edit-code-btn svg{width:14px;height:14px;stroke-width:2;fill:none;stroke:currentColor}.meta-divider{color:#cbd5e1}.wizard-qty-mini{width:50px;text-align:center;border:1px solid #d5e1ec;border-radius:6px;padding:2px 4px;background:#fff;font-size:.75rem}.wizard-product-actions{display:flex;align-items:center;gap:8px}.wizard-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:1px solid #c5d8ea;background:#fff;color:#003b70;cursor:pointer;transition:all .2s}.wizard-icon-btn:hover{background:#eef4fb}.wizard-icon-btn.danger{border-color:#fecaca;color:#ef4444}.wizard-icon-btn.danger:hover{background:#fef2f2;color:#dc2626}.wizard-icon-btn svg{width:16px;height:16px;stroke-width:2;fill:none;stroke:currentColor}.wizard-price-input{width:100px;text-align:right;border:1px solid #d5e1ec;border-radius:8px;padding:6px 10px;background:#fff;color:#003b70;font-size:.9rem;font-weight:600;outline:none}.wizard-price-input:focus{border-color:#003b70}.wizard-guide-card{background:#f7faff;border:1px solid #e3ebf4;border-radius:10px;padding:12px;display:flex;gap:12px;min-height:188px}.wizard-step-number{width:24px;height:24px;border-radius:50%;background:#003b70;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;flex-shrink:0;margin-top:2px}.wizard-guide-fields{flex:1;display:flex;flex-direction:column;gap:8px}.wizard-guide-title{width:100%;background:transparent;border:none;border-bottom:1px solid #e3ebf4;color:#003b70;font-size:.9rem;font-weight:700;padding-bottom:4px;outline:none}.wizard-guide-text{width:100%;border:1px solid #d5e1ec;border-radius:6px;padding:10px;background:#fff;color:#475569;font-size:.9rem;line-height:1.45;min-height:88px;resize:none;outline:none}.wizard-guide-text:focus{border-color:#003b70}.wizard-guide-note{font-size:.8rem;color:#64748b;font-style:italic;margin:0}.wizard-guide-preview{border:1px dashed #c7d7e7;border-radius:8px;min-height:72px;background:#f3f8fd;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#7c91a8}.wizard-guide-preview span{font-size:1.1rem;font-weight:700}.wizard-guide-preview small{font-size:.73rem}.wizard-guide-remove{align-self:flex-start;background:transparent;border:1px solid #fecaca;color:#ef4444;padding:4px 8px;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s}.wizard-guide-remove:hover{background:#fef2f2;color:#dc2626;border-color:#ef4444}.wizard-phase3-footer{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.wizard-phase3-footer-grid{display:grid;grid-template-columns:auto 1fr auto;align-items:stretch;gap:16px;width:100%}.wizard-footer-center{display:grid;grid-template-columns:160px minmax(220px,260px);align-items:stretch;justify-content:center;gap:12px}.wizard-footer-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(140px,auto);align-items:stretch;gap:10px;justify-self:end}.wizard-phase3-footer-grid>.project-secondary-button,.wizard-footer-actions .project-secondary-button,.wizard-footer-actions .project-save,.wizard-customer,.wizard-total-box{min-height:50px;height:50px;box-sizing:border-box}.wizard-error-msg{margin:8px 0 0;padding:10px 14px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#dc2626;font-size:.875rem;font-weight:600;text-align:center}@media(max-width:768px){.wizard-dual-panel{grid-template-columns:1fr;height:auto}.wizard-product-list,.wizard-guide-list{max-height:300px}.wizard-phase3-footer{flex-direction:column;width:100%}.wizard-phase3-footer>*{width:100%}.wizard-phase3-footer-grid{grid-template-columns:1fr;gap:12px}.wizard-footer-center{grid-template-columns:1fr;width:100%}.wizard-footer-center>*{width:100%}.wizard-footer-actions{grid-auto-flow:row;grid-auto-columns:1fr;width:100%;justify-self:stretch}.wizard-footer-actions>*{width:100%}}.wizard-inline-actions{justify-content:space-between}.wizard-link{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:10px;border:1px solid var(--tm-border);color:var(--tm-blue);background:#fff;text-decoration:none;font-weight:700}.wizard-remove,.project-secondary-button,.project-cancel{min-height:42px;padding:0 16px;border-radius:12px;border:1px solid var(--tm-border);background:#fff;color:#12324f;font-weight:800;cursor:pointer}.wizard-remove{color:#c2410c}.wizard-warning{border:1px solid #efc26f;background:#fff8e6;color:#ad6800;border-radius:14px;padding:14px 16px;font-weight:600}.wizard-warning-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.wizard-warning-action span{flex:1}.wizard-section-actions{display:flex;align-items:center;gap:10px}.wizard-retry-button{min-height:34px;border-radius:10px;padding:0 12px}.wizard-loading-stage{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#48627d}.wizard-loading-stage p{margin:0;font-size:1.45rem;font-weight:800;color:#003b70}.wizard-loading-stage span{font-size:1rem}.wizard-phase-panel{background:#f7faff}.wizard-price-row,.wizard-cost-row{display:flex;justify-content:space-between;gap:18px;align-items:center}.wizard-price-copy,.wizard-price-actions{display:grid;gap:4px}.wizard-price-copy strong,.wizard-cost-row strong{color:#145c72}.wizard-price-copy span,.wizard-price-copy small,.wizard-cost-row p{color:#64748b}.wizard-price-actions{grid-auto-flow:column;align-items:center}.wizard-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.wizard-section-head h3{margin:0}.wizard-product-name-row{display:flex;align-items:center;gap:8px}.wizard-new-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:20px;border-radius:999px;padding:0 8px;background:#fee2e2;border:1px solid #ef4444;color:#b91c1c;font-size:.7rem;font-weight:800;letter-spacing:.04em}.wizard-mini-button{min-height:34px;padding:0 12px;border-radius:10px;font-size:.82rem}.wizard-cost-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.wizard-link-compact{min-height:34px;padding:0 10px;border-radius:8px;font-size:.82rem}.wizard-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.wizard-summary-footer{flex:1;justify-content:flex-end}.wizard-summary-footer .project-save{min-width:154px}.wizard-total-box{min-width:160px;border:1px solid #cfe0ef;border-radius:12px;padding:6px 14px;background:#eef4fb;text-align:right;display:flex;flex-direction:column;justify-content:center}.wizard-total-box span{display:block;font-size:.72rem;color:#64748b;text-transform:uppercase}.wizard-total-box strong{color:var(--tm-blue);font-size:1.1rem}.wizard-customer{max-width:260px}.loading-bubble{display:inline-flex;gap:8px}.loading-bubble span{width:10px;height:10px;border-radius:999px;background:#ffffffd9;animation:pulse 1.1s infinite ease-in-out}.loading-bubble span:nth-child(2){animation-delay:.16s}.loading-bubble span:nth-child(3){animation-delay:.32s}@keyframes pulse{0%,80%,to{transform:scale(.8);opacity:.6}40%{transform:scale(1);opacity:1}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes floatBubble{0%,to{transform:translateY(0) translate(0) scale(1)}25%{transform:translateY(-4px) translate(3px) scale(1.01)}50%{transform:translateY(3px) translate(-2px) scale(1)}75%{transform:translateY(-2px) translate(4px) scale(1.01)}}.float-a{animation-duration:12s}.float-b{animation-duration:10.5s}.float-c{animation-duration:13s}.float-d{animation-duration:11.2s}@media(max-width:1100px){.topbar-status{display:none}.assistant-panels,.project-modal-body{grid-template-columns:1fr}.wizard-grid{grid-template-columns:1fr 1fr}.assistant-panel{min-height:auto;max-height:none}}@media(max-width:980px){.message-stack{padding:18px 14px 28px}.chat-bubble.user,.assistant-panels,.user-bubble-stack{width:100%}.user-message-actions{opacity:1;pointer-events:auto;transform:none}.floating-card{width:min(360px,66vw);min-width:220px;font-size:.92rem}.project-modal{width:96vw}.wizard-footer,.wizard-summary-footer,.wizard-footer-right,.wizard-inline-actions,.wizard-price-row,.wizard-cost-row{flex-direction:column;align-items:stretch}.wizard-grid{grid-template-columns:1fr}.project-topbar-button span:last-child{display:none}.project-topbar-separator{display:none}.project-topbar-button{width:46px;height:40px;padding:0;justify-content:center;gap:0}.toast-stack{top:10px;right:14px;left:auto;width:min(360px,calc(100vw - 28px))}.toast{min-width:0;max-width:100%}}@media(max-width:760px){.floating-card{width:min(320px,72vw);min-width:0;font-size:.9rem;padding:16px}}.project-modal-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.wizard-actions-cell{display:flex;align-items:center;justify-content:flex-start;min-height:100%}.project-cancel{min-width:86px;border:1px solid #f3b4b6;border-radius:12px;padding:11px 16px;background:#fff;color:#ef4444;font-weight:700;cursor:pointer}.project-cancel:hover{background:#fff5f5}.project-modal.wizard-modal .wizard-actions-cell{align-items:flex-start}.wizard-tip-copy{display:grid;gap:3px}.wizard-tip-copy strong{display:block;min-width:0;height:auto;border:0;padding:0;background:transparent;color:#334b63;font-size:.82rem;font-weight:900}.wizard-tip-copy span{color:#66798f}.project-modal.wizard-modal{display:flex;flex-direction:column}.project-modal.wizard-modal .project-modal-header button,.project-modal-close{display:inline-flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.project-modal.wizard-modal .project-modal-body{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow:auto}.project-modal.wizard-modal .project-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 22px;border-top:1px solid #d8e3ee;background:linear-gradient(180deg,#fff,#f8fbff);flex-shrink:0}.project-modal.wizard-modal .wizard-footer-right,.project-modal.wizard-modal .wizard-summary-footer{margin-left:auto}.project-modal.wizard-modal .wizard-table-shell{border:1px solid #c8d8e8;box-shadow:inset 0 1px #ffffffbf}.project-modal.wizard-modal .wizard-table-head,.project-modal.wizard-modal .wizard-table-row{grid-template-columns:minmax(128px,.85fr) minmax(0,2.9fr) minmax(140px,.85fr) 72px;align-items:start;padding:12px 14px}.project-modal.wizard-modal .wizard-table-head{background:linear-gradient(180deg,#f8fbff,#f1f6fb);color:#5e738b}.project-modal.wizard-modal .wizard-code-cell,.project-modal.wizard-modal .wizard-qty-cell{gap:10px}.project-modal.wizard-modal .wizard-code-input,.project-modal.wizard-modal .wizard-product-input,.project-modal.wizard-modal .wizard-product-subline,.project-modal.wizard-modal .wizard-qty-input,.project-modal.wizard-modal .wizard-unit-input{min-height:40px;border:1px solid #c8d8e8;border-radius:10px;padding:9px 12px}.project-modal.wizard-modal .wizard-actions-cell{display:flex;align-items:flex-start;justify-content:flex-start}.project-modal.wizard-modal .wizard-row-remove{width:auto;height:auto;border-radius:0;padding:10px 0}.project-modal.wizard-modal .wizard-row-remove:hover{background:transparent;color:#d9363e}.assistant-products-intro{margin-bottom:16px;color:#1d3552}.assistant-products-intro p{margin:0 0 10px;color:#35516d;line-height:1.55;font-size:.98rem}.assistant-products-intro strong{display:block;color:#0f766e;font-size:.98rem;font-weight:900}.assistant-code-link.search-badge{gap:6px;color:#c58a00;background:#f2d48d;border-color:#d8b25a;box-shadow:none}.assistant-code-link.search-badge:before{content:"🔎";font-size:.78rem;line-height:1}.assistant-code-link.search-badge:hover{background:#ecc870;color:#9c6700}.project-modal.wizard-modal{width:min(1220px,92vw);max-height:82vh;border-radius:20px}.project-modal.wizard-modal .project-modal-header{padding:20px 22px 18px}.project-modal.wizard-modal .project-modal-body{padding:16px 16px 0}.project-modal.wizard-modal .wizard-full{display:grid;gap:14px}.project-modal.wizard-modal .wizard-tip-card{padding:12px;border-radius:8px}.project-modal.wizard-modal .wizard-table-shell{border-radius:12px}.project-modal.wizard-modal .wizard-table-head,.project-modal.wizard-modal .wizard-table-row{grid-template-columns:minmax(128px,.85fr) minmax(0,2.9fr) 96px 64px;gap:12px;padding:8px 12px}.project-modal.wizard-modal .wizard-table-head,.project-modal.wizard-modal .wizard-table-row{align-items:center}.project-modal.wizard-modal .wizard-code-cell,.project-modal.wizard-modal .wizard-qty-cell.compact{display:grid;align-content:center;gap:4px}.project-modal.wizard-modal .wizard-product-cell.compact{display:flex;align-items:center}.project-modal.wizard-modal .wizard-product-main.compact{display:flex;flex-direction:row;align-items:center;gap:6px;width:100%}.project-modal.wizard-modal .wizard-code-input,.project-modal.wizard-modal .wizard-product-input,.project-modal.wizard-modal .wizard-qty-input{min-height:32px;padding:4px 8px;border-radius:4px;font-size:.875rem}.project-modal.wizard-modal .wizard-inline-open{width:16px;height:16px;opacity:.8}.project-modal.wizard-modal .wizard-inline-open:hover{opacity:1}.project-modal.wizard-modal .wizard-inline-open svg{width:16px;height:16px}.project-modal.wizard-modal .wizard-search-pill{min-height:20px;padding:1px 6px;font-size:.625rem;font-weight:600}.project-modal.wizard-modal .wizard-actions-cell.compact{justify-content:center;align-items:center}.project-modal.wizard-modal .wizard-row-remove.icon-only{display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;padding:0;border:0;background:transparent;color:#ef4444;font-size:1rem;font-weight:400;cursor:pointer;transition:color .15s ease}.project-modal.wizard-modal .wizard-row-remove.icon-only:hover{color:#dc2626}.project-modal.wizard-modal .wizard-row-remove.icon-only svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}.project-modal.wizard-modal .project-modal-footer{padding:16px 20px}.project-modal.wizard-modal .wizard-code-input.missing-code{border-color:#ef7f00;color:#bf5b00;background:#fff7ea}.project-modal.wizard-modal .wizard-code-input.missing-code::placeholder{color:#bf5b00}.response-actions button:disabled{opacity:.6;cursor:not-allowed;transform:none}.wizard-cancel-shell{margin-top:0;margin-bottom:20px}.wizard-chat-cancel{margin:0 auto;min-height:28px;padding:4px 10px;font-size:.75rem;border-radius:24px;min-width:auto}.assistant-error-card{width:min(820px,100%);border:1px solid #f5c2c2;border-radius:18px;background:#fff8f8;box-shadow:0 8px 20px #b41e1e14;overflow:hidden;padding:18px 22px 20px;display:grid;gap:8px}.assistant-error-header{display:flex;align-items:center;gap:10px;color:#c0392b;font-size:.95rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.assistant-error-icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.assistant-error-card p{margin:0;color:#5a2020;font-size:.95rem;line-height:1.55}.assistant-detail-card{border:1px solid #d8e3ee;border-radius:18px;background:#fffffffa;box-shadow:0 16px 28px #12324f14;overflow:hidden}.assistant-detail-header{display:flex;align-items:center;gap:10px;padding:18px 22px 14px;border-bottom:1px solid #d8e3ee}.assistant-detail-header h3{margin:0;color:var(--tm-blue);font-size:.98rem;font-weight:900;letter-spacing:.035em;text-transform:uppercase}.assistant-detail-icon{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;fill:none;color:var(--tm-blue);stroke-linecap:round;stroke-linejoin:round}.assistant-detail-body{padding:18px 22px 20px;display:grid;gap:10px}.assistant-detail-body p{margin:0;color:#334a62;line-height:1.6;font-size:.98rem}.project-modal.wizard-modal .project-modal-header{padding:12px 18px 10px;align-items:center}.project-modal.wizard-modal .wizard-header-copy{gap:2px}.project-modal.wizard-modal .wizard-modal-title p{margin:0;text-transform:none;font-size:1.25rem;font-weight:900;line-height:1.1;color:#112f4b;letter-spacing:-.01em}.project-modal.wizard-modal .project-phase{margin-top:2px}.project-modal.wizard-modal .wizard-code-input{min-height:30px;height:30px;padding:4px 10px;font-size:.9rem;line-height:1}.project-modal.wizard-modal .wizard-product-label{font-weight:600;color:#1e293b;letter-spacing:0;text-align:left}.project-modal.wizard-modal .wizard-add-row{margin-top:12px;margin-bottom:26px}.product-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:8px;background:var(--tm-badge-bg);border:1.5px solid var(--tm-badge-border);color:var(--tm-badge-text);font-size:.88rem;font-weight:700;text-decoration:none;transition:transform .15s ease,background .15s ease,box-shadow .15s ease;cursor:pointer;white-space:nowrap}.product-badge:hover{transform:scale(1.05);background:#e6f1fb;box-shadow:0 4px 8px #003b7026}.product-badge.cercami{background:var(--tm-badge-cercami-bg);border-color:var(--tm-badge-cercami-border);color:#b26500}.product-badge.cercami:hover{background:#fff5d6}.product-badge-icon{width:14px;height:14px;flex-shrink:0}.response-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding:14px;animation:fadeInUp .3s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.response-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:12px;font-weight:700;font-size:.92rem;line-height:1;border:1px solid transparent;cursor:pointer;transition:all .18s ease;white-space:nowrap;box-shadow:0 4px 12px #00000014}.response-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.response-btn.primary{background:var(--tm-blue);color:#fff;border-color:var(--tm-orange)}.response-btn.primary:hover{background:var(--tm-blue-dark);border-color:var(--tm-orange-dark);box-shadow:0 6px 16px #003b7033;transform:translateY(-1px)}.response-btn.secondary{background:#fff;color:var(--tm-blue);border-color:var(--tm-border)}.response-btn.secondary:hover{background:var(--tm-hover);border-color:var(--tm-blue)}.response-btn.success{background:#146c43;color:#fff}.response-btn.success:hover{background:#0f5132;box-shadow:0 6px 16px #146c4340;transform:translateY(-1px)}.response-btn-icon{width:16px;height:16px;flex-shrink:0}.chat-bubble.user.editing{padding:12px;display:flex;flex-direction:column;gap:10px}.user-edit-textarea{width:100%;min-height:100px;max-height:400px;padding:12px;border:2px solid rgba(255,255,255,.3);border-radius:12px;background:#ffffff1a;color:#fff;font-family:inherit;font-size:.94rem;font-weight:700;letter-spacing:-.02em;line-height:1.48;resize:none;outline:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}.user-edit-textarea::-webkit-scrollbar{width:8px}.user-edit-textarea::-webkit-scrollbar-track{background:transparent}.user-edit-textarea::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}.user-edit-textarea::-webkit-scrollbar-thumb:hover{background:#ffffff80}.user-edit-textarea:focus{border-color:#fff9;background:#ffffff26}.user-edit-textarea::placeholder{color:#ffffff80}.user-edit-actions{display:flex;justify-content:flex-end;gap:8px}.user-edit-button{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:10px;border:1px solid transparent;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .18s ease}.user-edit-button.cancel{background:#ffffff26;color:#fff;border-color:#ffffff4d}.user-edit-button.cancel:hover{background:#ffffff40;border-color:#ffffff80}.user-edit-button.save{background:#146c43;color:#fff;border-color:#0f5132}.user-edit-button.save:hover{background:#0f5132;box-shadow:0 4px 12px #146c434d}.user-edit-button svg{flex-shrink:0}@media(max-width:640px){.response-actions{flex-direction:column;gap:8px}.response-btn{width:100%}}
