.fred-estimate-scope{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18201f;background:#f4f0e8;--app-bg-1:#f7f3ea;--app-bg-2:#eef5f1;--app-bg-3:#f5f1ef;--app-ink:#18201f;--app-muted:#62706c;--app-panel:rgba(255,253,248,0.78);--app-panel-strong:rgba(255,253,248,0.94);--app-line:rgba(24,32,31,0.12);--app-soft:rgba(24,32,31,0.05);--app-accent:#2f7d6e;--app-blue:#4a6ed1;--app-shadow:0 24px 70px rgba(27,42,38,0.12);--app-ui-scale:0.75;--app-scaled-viewport-width:calc(100vw / var(--app-ui-scale));--app-scaled-viewport-height:calc(100vh / var(--app-ui-scale));font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body[data-theme=dark] .fred-estimate-scope{color-scheme:dark;color:#ecf2ff;background:#07111f;--app-bg-1:#07111f;--app-bg-2:#0b1d35;--app-bg-3:#050b16;--app-ink:#ecf2ff;--app-muted:#a9bddf;--app-panel:rgba(7,20,38,0.78);--app-panel-strong:rgba(6,17,32,0.94);--app-line:rgba(132,178,240,0.22);--app-soft:rgba(132,178,240,0.1);--app-accent:#16d7bf;--app-blue:#1d78ff;--app-shadow:0 24px 70px rgba(0,0,0,0.35)}.fred-estimate-scope *{box-sizing:border-box}.fred-estimate-scope{margin:0;min-width:320px;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 20% 10%,rgba(24,168,134,.16),transparent 28rem),radial-gradient(circle at 90% 20%,rgba(91,124,250,.16),transparent 30rem),linear-gradient(135deg,var(--app-bg-1) 0,var(--app-bg-2) 42%,var(--app-bg-3) 100%)}body[data-theme=dark] .fred-estimate-scope{background:radial-gradient(circle at 20% 10%,rgba(22,215,191,.16),transparent 28rem),radial-gradient(circle at 90% 20%,rgba(29,120,255,.18),transparent 30rem),linear-gradient(135deg,var(--app-bg-1) 0,var(--app-bg-2) 48%,var(--app-bg-3) 100%)}.fred-estimate-scope button,.fred-estimate-scope textarea{font:inherit}.fred-estimate-scope button{cursor:pointer}.fred-estimate-scope .app-shell{display:grid;grid-template-columns:360px minmax(0,1fr);width:var(--app-scaled-viewport-width);height:var(--app-scaled-viewport-height);min-height:0;padding:18px;gap:18px;overflow:hidden;transform:scale(var(--app-ui-scale));transform-origin:top left;animation:appShellIn .6s cubic-bezier(.22,1,.36,1) both}.fred-estimate-scope .app-shell>.sidebar{animation:appPanelIn .72s cubic-bezier(.22,1,.36,1) 60ms both}.fred-estimate-scope .app-shell>.chat-panel{animation:appPanelIn .72s cubic-bezier(.22,1,.36,1) .14s both}@keyframes appShellIn{0%{opacity:0}to{opacity:1}}@keyframes appPanelIn{0%{opacity:0;transform:translateY(14px) scale(.985);filter:blur(6px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.fred-estimate-scope .chat-panel,.fred-estimate-scope .sidebar{border:1px solid var(--app-line);background:var(--app-panel);box-shadow:var(--app-shadow);backdrop-filter:blur(18px)}body[data-theme=dark] .fred-estimate-scope .chat-panel,body[data-theme=dark] .fred-estimate-scope .sidebar{background:linear-gradient(165deg,rgba(20,38,66,.68),rgba(7,17,34,.92))}.fred-estimate-scope .sidebar{display:flex;flex-direction:column;gap:14px;border-radius:8px;height:calc(var(--app-scaled-viewport-height) - 36px);max-height:calc(var(--app-scaled-viewport-height) - 36px);min-height:0;padding:22px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(24,32,31,.18) transparent}.fred-estimate-scope .sidebar--estimate-open{gap:12px;padding:18px}.fred-estimate-scope .sidebar--estimate-open .brand,.fred-estimate-scope .sidebar--estimate-open .history,.fred-estimate-scope .sidebar--estimate-open .projects-section{display:none}.fred-estimate-scope .sidebar--estimate-open .back-link{border:0;padding:4px 0;color:var(--app-ink);background:transparent}.fred-estimate-scope .sidebar--estimate-open .new-chat{min-height:42px;border-radius:8px}.fred-estimate-scope .sidebar::-webkit-scrollbar{width:6px}.fred-estimate-scope .sidebar::-webkit-scrollbar-thumb{background:rgba(24,32,31,.18);border-radius:3px}.fred-estimate-scope .brand{display:flex;gap:14px;align-items:center}.fred-estimate-scope .brand__fred-face{width:48px;height:48px;border-radius:999px;-o-object-fit:cover;object-fit:cover;border:2px solid rgba(22,163,74,.36);box-shadow:0 12px 30px rgba(22,163,74,.18)}.fred-estimate-scope .brand-mark{display:grid;place-items:center;width:48px;height:48px;color:#f8fff9;border-radius:8px;background:var(--app-ink)}.fred-estimate-scope .brand-mark--logo{background:transparent;border:none;box-shadow:none}.fred-estimate-scope .brand-mark--logo img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.fred-estimate-scope .brand h1,.fred-estimate-scope .chat-header h2,.fred-estimate-scope .empty-state h3{margin:0;letter-spacing:0}.fred-estimate-scope .brand h1{font-size:1.35rem}.fred-estimate-scope .brand p,.fred-estimate-scope .chat-header p,.fred-estimate-scope .empty-state p,.fred-estimate-scope .note-panel p{margin:4px 0 0;color:#62706c;color:var(--app-muted);line-height:1.45}.fred-estimate-scope .back-link{align-self:flex-start;background:transparent;border:1px solid rgba(24,32,31,.14);color:var(--app-ink);padding:8px 14px;border-radius:999px;font-size:13px;font-weight:500;letter-spacing:.01em;transition:background .2s ease,border-color .2s ease}.fred-estimate-scope .back-link:hover{background:rgba(24,32,31,.05);border-color:rgba(24,32,31,.24)}.fred-estimate-scope .new-chat{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:10px;border:1px solid rgba(24,32,31,.12);background:linear-gradient(135deg,#2f7d6e,#4a6ed1);color:#fff;font-size:14px;font-weight:600;letter-spacing:.01em;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.fred-estimate-scope .new-chat:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(47,125,110,.25)}.fred-estimate-scope .section-label{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(24,32,31,.5);color:color-mix(in srgb,var(--app-muted) 82%,transparent);margin:0 0 4px 4px}.fred-estimate-scope .section-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 4px;padding:0 4px}.fred-estimate-scope .section-search{width:100%;padding:7px 11px;font-size:12.5px;border:1px solid rgba(24,32,31,.12);border-radius:8px;background:var(--app-panel-strong);color:var(--app-ink);margin-bottom:4px;transition:border-color .16s ease,box-shadow .16s ease}.fred-estimate-scope .section-search::-moz-placeholder{color:rgba(24,32,31,.4)}.fred-estimate-scope .section-search::placeholder{color:rgba(24,32,31,.4)}.fred-estimate-scope .section-search:focus{outline:none;border-color:rgba(47,125,110,.5);box-shadow:0 0 0 3px rgba(47,125,110,.1)}.fred-estimate-scope .section-search::-webkit-search-cancel-button{filter:opacity(.45);cursor:pointer}.fred-estimate-scope .section-action{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--app-accent);border:1px solid color-mix(in srgb,var(--app-accent) 35%,transparent);background:color-mix(in srgb,var(--app-accent) 10%,transparent);border-radius:999px;cursor:pointer;transition:background .14s ease,border-color .14s ease}.fred-estimate-scope .section-action:hover{background:rgba(47,125,110,.15);border-color:rgba(47,125,110,.45)}.fred-estimate-scope .projects-section{display:flex;flex-direction:column;gap:4px;flex:1 1 0;min-height:0}.fred-estimate-scope .projects-list{display:flex;flex-direction:column;gap:4px;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(24,32,31,.18) transparent}.fred-estimate-scope .projects-list::-webkit-scrollbar{width:6px}.fred-estimate-scope .projects-list::-webkit-scrollbar-thumb{background:rgba(24,32,31,.18);border-radius:3px}.fred-estimate-scope .projects-empty{margin:4px;font-size:12.5px;color:rgba(24,32,31,.5)}.fred-estimate-scope .project-chip{display:grid;grid-template-columns:24px minmax(0,1fr) 22px 22px;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;border:1px solid transparent;background:transparent;text-align:left;cursor:pointer;outline:none;color:inherit;font:inherit;transition:background .14s ease,border-color .14s ease}.fred-estimate-scope .project-chip:hover{background:rgba(24,32,31,.05)}.fred-estimate-scope .project-chip:focus-visible{border-color:rgba(47,125,110,.5)}.fred-estimate-scope .project-chip.active{background:rgba(47,125,110,.12);border-color:rgba(47,125,110,.32)}.fred-estimate-scope .project-chip__icon{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:rgba(74,110,209,.1);color:#4a6ed1}.fred-estimate-scope .project-chip.active .project-chip__icon{background:rgba(47,125,110,.18);color:#2f7d6e}.fred-estimate-scope .project-chip__body{display:flex;flex-direction:column;gap:1px;min-width:0}.fred-estimate-scope .project-chip__name{font-size:13px;font-weight:600;color:#18201f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fred-estimate-scope .project-chip__meta{font-size:11px;color:rgba(24,32,31,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fred-estimate-scope .project-chip__delete,.fred-estimate-scope .project-chip__edit{display:grid;place-items:center;width:22px;height:22px;border:none;background:transparent;border-radius:6px;color:rgba(24,32,31,.4);font-size:13px;opacity:0;cursor:pointer;transition:opacity .14s ease,background .14s ease,color .14s ease}.fred-estimate-scope .project-chip.active .project-chip__delete,.fred-estimate-scope .project-chip.active .project-chip__edit,.fred-estimate-scope .project-chip:hover .project-chip__delete,.fred-estimate-scope .project-chip:hover .project-chip__edit{opacity:1}.fred-estimate-scope .project-chip__edit:hover{background:rgba(47,125,110,.12);color:#2f7d6e}.fred-estimate-scope .project-chip__delete:hover{background:rgba(220,70,70,.12);color:#a23131}.fred-estimate-scope .project-modal{position:fixed;inset:0;display:grid;place-items:center;z-index:100}.fred-estimate-scope .project-modal__backdrop{position:absolute;inset:0;background:rgba(15,22,21,.42);backdrop-filter:blur(6px);animation:modalBackdropIn .2s ease forwards}.fred-estimate-scope .project-modal__card{position:relative;width:min(440px,calc(100vw - 32px));background:rgba(255,253,248,.98);border:1px solid rgba(24,32,31,.1);border-radius:18px;box-shadow:0 30px 80px rgba(27,42,38,.22);padding:24px 24px 20px;display:flex;flex-direction:column;gap:16px;animation:modalCardIn .28s cubic-bezier(.22,1,.36,1) forwards}@keyframes modalBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes modalCardIn{0%{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.fred-estimate-scope .project-modal__card header{display:flex;align-items:center;justify-content:space-between}.fred-estimate-scope .project-modal__card h3{margin:0;font-size:19px;font-weight:600;letter-spacing:-.01em}.fred-estimate-scope .project-modal__close{display:grid;place-items:center;width:28px;height:28px;border:none;border-radius:999px;background:transparent;color:rgba(24,32,31,.5);cursor:pointer}.fred-estimate-scope .project-modal__close:hover{background:rgba(24,32,31,.08);color:#18201f}.fred-estimate-scope .project-modal__field{display:flex;flex-direction:column;gap:6px}.fred-estimate-scope .project-modal__field>span{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(24,32,31,.6)}.fred-estimate-scope .project-modal__field input{padding:11px 14px;border-radius:10px;border:1px solid rgba(24,32,31,.14);background:#fff;font-size:15px;color:#18201f;transition:border-color .2s ease,box-shadow .2s ease}.fred-estimate-scope .project-modal__field input:focus{outline:none;border-color:#2f7d6e;box-shadow:0 0 0 4px rgba(47,125,110,.15)}.fred-estimate-scope .project-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.fred-estimate-scope .project-modal__cancel,.fred-estimate-scope .project-modal__submit{padding:10px 18px;border-radius:999px;font-size:14px;font-weight:600;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.fred-estimate-scope .project-modal__cancel{border:1px solid rgba(24,32,31,.14);background:transparent;color:#18201f}.fred-estimate-scope .project-modal__cancel:hover{background:rgba(24,32,31,.06)}.fred-estimate-scope .project-modal__submit{border:none;background:linear-gradient(135deg,#2f7d6e,#4a6ed1);color:#fff}.fred-estimate-scope .project-modal__submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 30px rgba(47,125,110,.28)}.fred-estimate-scope .project-modal__submit:disabled{opacity:.6;cursor:not-allowed}.fred-estimate-scope .history{display:flex;flex-direction:column;gap:4px;flex:1 1 0;min-height:0}.fred-estimate-scope .history-list{display:flex;flex-direction:column;gap:4px;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(24,32,31,.18) transparent}.fred-estimate-scope .history-list::-webkit-scrollbar{width:6px}.fred-estimate-scope .history-list::-webkit-scrollbar-thumb{background:rgba(24,32,31,.18);border-radius:3px}.fred-estimate-scope .history-empty{margin:4px;font-size:12.5px;color:rgba(24,32,31,.5)}.fred-estimate-scope .history-item{display:grid;grid-template-columns:28px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;border:1px solid transparent;background:transparent;cursor:pointer;outline:none;transition:background .14s ease,border-color .14s ease}.fred-estimate-scope .history-item:hover{background:rgba(24,32,31,.05)}.fred-estimate-scope .history-item:focus-visible{border-color:rgba(47,125,110,.5)}.fred-estimate-scope .history-item.active{background:rgba(47,125,110,.1);border-color:rgba(47,125,110,.28)}.fred-estimate-scope .history-item__provider{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--accent);font-size:10px;font-weight:700;letter-spacing:.04em}.fred-estimate-scope .history-item__body{display:flex;flex-direction:column;gap:2px;min-width:0}.fred-estimate-scope .history-item__title{font-size:13.5px;font-weight:500;color:#18201f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fred-estimate-scope .history-item__meta{font-size:11px;color:rgba(24,32,31,.5)}.fred-estimate-scope .history-item__delete{display:grid;place-items:center;width:22px;height:22px;border:none;background:transparent;border-radius:6px;color:rgba(24,32,31,.4);opacity:0;transition:opacity .14s ease,background .14s ease,color .14s ease}.fred-estimate-scope .history-item.active .history-item__delete,.fred-estimate-scope .history-item:hover .history-item__delete{opacity:1}.fred-estimate-scope .history-item__delete:hover{background:rgba(220,70,70,.12);color:#a23131}.fred-estimate-scope .provider-list{display:grid;gap:10px}.fred-estimate-scope .provider-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;border:1px solid rgba(24,32,31,.1);border-radius:8px;background:rgba(255,255,255,.68);color:#18201f;padding:7px 10px;text-align:left;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;opacity:.55;filter:saturate(.7)}.fred-estimate-scope .provider-card:hover{opacity:.95;filter:saturate(1);transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 55%,rgba(24,32,31,.12));box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 18%,transparent)}.fred-estimate-scope .provider-card.active{opacity:1;filter:none;transform:translateY(-1px) scale(1.03);transform-origin:left center;border:2px solid var(--accent);background:var(--accent);color:#ffffff;box-shadow:0 18px 36px color-mix(in srgb,var(--accent) 38%,transparent),0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent)}.fred-estimate-scope .provider-card.active strong{color:#ffffff;font-weight:700;letter-spacing:.01em}.fred-estimate-scope .provider-card.active small{color:rgba(255,255,255,.82)}.fred-estimate-scope .provider-card.active .provider-icon--brand{background:#ffffff;border-color:rgba(255,255,255,.7);box-shadow:0 4px 10px rgba(0,0,0,.18)}.fred-estimate-scope .provider-card.active .status{background:rgba(255,255,255,.22);color:#ffffff}.fred-estimate-scope .provider-card{position:relative}.fred-estimate-scope .provider-card.active:after{content:"ACTIVE";position:absolute;top:-9px;left:12px;padding:2px 8px;border-radius:999px;background:#ffffff;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.14em;box-shadow:0 4px 10px color-mix(in srgb,var(--accent) 32%,transparent);z-index:1}.fred-estimate-scope .provider-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,#ffffff)}.fred-estimate-scope .provider-icon--brand{background:#ffffff;border:1px solid rgba(24,32,31,.08);overflow:hidden}.fred-estimate-scope .provider-icon--brand img{width:78%;height:78%;-o-object-fit:contain;object-fit:contain;display:block}.fred-estimate-scope .provider-card-wrap{position:relative}.fred-estimate-scope .provider-card-wrap.is-default .provider-card{border-color:color-mix(in srgb,var(--accent) 55%,transparent);box-shadow:0 8px 22px color-mix(in srgb,var(--accent) 18%,transparent)}.fred-estimate-scope .default-toggle{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:20px;height:20px;border:1px solid rgba(24,32,31,.08);border-radius:999px;background:rgba(255,253,248,.92);color:rgba(24,32,31,.35);cursor:pointer;opacity:0;transition:opacity .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;z-index:2;padding:0}.fred-estimate-scope .default-toggle svg{width:11px;height:11px}.fred-estimate-scope .default-toggle.is-default,.fred-estimate-scope .provider-card-wrap:focus-within .default-toggle,.fred-estimate-scope .provider-card-wrap:hover .default-toggle{opacity:1}.fred-estimate-scope .default-toggle:hover{border-color:color-mix(in srgb,var(--accent) 50%,rgba(24,32,31,.1));color:var(--accent);transform:scale(1.08)}.fred-estimate-scope .default-toggle.is-default{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 55%,rgba(24,32,31,.1));background:color-mix(in srgb,var(--accent) 14%,#ffffff)}.fred-estimate-scope .provider-card small,.fred-estimate-scope .provider-card strong{display:block}.fred-estimate-scope .provider-card strong{font-size:.9rem;line-height:1.15}.fred-estimate-scope .provider-card small{margin-top:1px;overflow:hidden;color:#66736f;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.fred-estimate-scope .provider-model-select{display:grid;gap:5px;margin:8px 2px 0}.fred-estimate-scope .provider-model-select span{color:#66736f;font-size:.66rem;font-weight:800;text-transform:uppercase}.fred-estimate-scope .provider-model-select select{width:100%;min-width:0;border:1px solid color-mix(in srgb,var(--accent) 35%,rgba(24,32,31,.12));border-radius:7px;background:rgba(255,255,255,.86);color:#18201f;font:inherit;font-size:.78rem;padding:7px 8px}.fred-estimate-scope .provider-model-select select:focus{outline:2px solid color-mix(in srgb,var(--accent) 35%,transparent);outline-offset:2px}.fred-estimate-scope .sidebar--estimate-open .section-label{margin-top:2px}.fred-estimate-scope .sidebar--estimate-open .provider-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fred-estimate-scope .sidebar--estimate-open .provider-card{grid-template-columns:1fr;justify-items:center;gap:6px;min-height:72px;padding:8px 6px;text-align:center;transform:none}.fred-estimate-scope .sidebar--estimate-open .provider-card.active,.fred-estimate-scope .sidebar--estimate-open .provider-card:hover{transform:none}.fred-estimate-scope .sidebar--estimate-open .provider-card.active{border-width:1px;box-shadow:0 10px 22px color-mix(in srgb,var(--accent) 28%,transparent),0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}.fred-estimate-scope .sidebar--estimate-open .provider-card.active:after{content:none}.fred-estimate-scope .sidebar--estimate-open .provider-icon{width:28px;height:28px}.fred-estimate-scope .sidebar--estimate-open .provider-card .status,.fred-estimate-scope .sidebar--estimate-open .provider-card small{display:none}.fred-estimate-scope .sidebar--estimate-open .provider-card strong{max-width:100%;font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fred-estimate-scope .sidebar--estimate-open .default-toggle{display:none}.fred-estimate-scope .status{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#f2e6dd;color:#9a4b24;font-size:.62rem;font-weight:800;text-transform:uppercase}.fred-estimate-scope .status.ready{background:#ddf5ea;color:#188058}.fred-estimate-scope .estimate-panel{display:grid;gap:14px;padding:16px;min-width:0;border:1px solid rgba(70,139,186,.26);border-radius:8px;background:linear-gradient(180deg,rgba(27,89,124,.18),transparent 150px),rgba(255,255,255,.82);box-shadow:0 18px 42px rgba(10,35,62,.16)}.fred-estimate-scope .estimate-panel--error{border-color:rgba(184,60,44,.24);background:#fff0ed;color:#8c2d22}.fred-estimate-scope .estimate-panel--error p{margin:4px 0 0;font-size:.84rem;line-height:1.4}.fred-estimate-scope .estimate-panel__header{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:start;gap:11px}.fred-estimate-scope .estimate-panel__header strong{display:block;color:#12233f;font-size:1rem;line-height:1.2}.fred-estimate-scope .estimate-panel__header p{display:-webkit-box;margin:4px 0 0;color:#62706c;font-size:.82rem;line-height:1.35;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.fred-estimate-scope .estimate-panel__header button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:7px;background:rgba(18,35,63,.08);color:#263a58;transition:background .16s ease,color .16s ease}.fred-estimate-scope .estimate-panel__header button:hover{background:rgba(184,60,44,.12);color:#a23131}.fred-estimate-scope .estimate-panel__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#10233d;color:#c9f6ee;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}.fred-estimate-scope .estimate-total{display:grid;gap:3px;padding:14px;min-width:0;border-radius:8px;background:linear-gradient(135deg,rgba(22,215,191,.28),transparent 65%),#102b4f;color:#ffffff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}.fred-estimate-scope .estimate-category small,.fred-estimate-scope .estimate-total span{color:rgba(255,255,255,.72);font-size:.74rem;font-weight:700;text-transform:uppercase}.fred-estimate-scope .estimate-total strong{font-size:1.48rem;line-height:1.05;min-width:0;overflow-wrap:anywhere;word-break:break-word}.fred-estimate-scope .estimate-categories{display:grid;gap:8px}.fred-estimate-scope .estimate-category{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);gap:3px 10px;align-items:center;min-height:58px;padding:10px 11px;min-width:0;border:1px solid rgba(34,64,102,.14);border-radius:8px;background:rgba(255,255,255,.72)}.fred-estimate-scope .estimate-category--scope-only{border-color:rgba(6,95,70,.36);background:rgba(236,253,245,.82)}.fred-estimate-scope .estimate-category--scope-only small,.fred-estimate-scope .estimate-category--scope-only strong{color:#047857}.fred-estimate-scope .estimate-category span,.fred-estimate-scope .estimate-category strong{min-width:0;font-size:.86rem;line-height:1.2}.fred-estimate-scope .estimate-category span{color:#243248}.fred-estimate-scope .estimate-category strong{color:#10233d;font-weight:900;justify-self:end;text-align:right;overflow-wrap:anywhere;word-break:break-word}.fred-estimate-scope .estimate-category small{grid-column:1/-1;color:rgba(24,32,31,.52);letter-spacing:.04em}.fred-estimate-scope .estimate-error,.fred-estimate-scope .estimate-warning{margin:0;padding:9px 10px;min-width:0;border-radius:8px;font-size:.8rem;font-weight:700;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.fred-estimate-scope .estimate-error p,.fred-estimate-scope .estimate-warning p{margin:0}.fred-estimate-scope .estimate-warning{background:#fff4df;color:#7a4a00}.fred-estimate-scope .estimate-error{background:#fff0ed;color:#8c2d22}.fred-estimate-scope .estimate-link,.fred-estimate-scope .estimate-push,.fred-estimate-scope .estimate-return,.fred-estimate-scope .estimate-secondary,.fred-estimate-scope .message-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-size:.86rem;font-weight:800;text-decoration:none}.fred-estimate-scope .estimate-link{padding:9px 10px;border:1px solid rgba(24,128,88,.2);background:#f4faf7;color:#188058}.fred-estimate-scope .estimate-return{width:100%;min-height:40px;padding:9px 10px;border:1px solid rgba(29,120,255,.28);background:rgba(29,120,255,.1);color:#1d4ed8;cursor:pointer}.fred-estimate-scope .estimate-return:hover{border-color:rgba(29,120,255,.5);background:rgba(29,120,255,.16)}.fred-estimate-scope .estimate-return:focus-visible{outline:2px solid rgba(29,120,255,.42);outline-offset:2px}.fred-estimate-scope .estimate-secondary{min-height:38px;border:1px solid rgba(34,64,102,.16);background:rgba(255,255,255,.76);color:#203653}.fred-estimate-scope .estimate-push{min-height:42px;border:0;background:linear-gradient(135deg,#148c76,#1d78ff);color:#ffffff;box-shadow:0 12px 24px rgba(20,140,118,.22)}.fred-estimate-scope .estimate-push:disabled,.fred-estimate-scope .estimate-secondary:disabled,.fred-estimate-scope .message-action:disabled{cursor:not-allowed;opacity:.58}.fred-estimate-scope .estimate-push svg,.fred-estimate-scope .estimate-secondary svg,.fred-estimate-scope .message-action svg{flex:0 0 auto}.fred-estimate-scope .estimate-research{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;margin-bottom:8px;border-radius:8px;font-size:.86rem;font-weight:800;border:1px solid rgba(196,121,12,.32);background:rgba(245,178,64,.14);color:#b4690e;cursor:pointer}.fred-estimate-scope .estimate-research:hover{border-color:rgba(196,121,12,.5);background:rgba(245,178,64,.22)}.fred-estimate-scope .estimate-research:disabled{cursor:not-allowed;opacity:.58}.fred-estimate-scope .estimate-research svg{flex:0 0 auto}.fred-estimate-scope .estimate-note{margin:0 0 10px;font-size:.8rem;line-height:1.35;color:#4b6a52}body[data-theme=dark] .fred-estimate-scope .estimate-research{border-color:rgba(245,178,64,.4);background:rgba(245,178,64,.16);color:#f0b860}body[data-theme=dark] .fred-estimate-scope .estimate-note{color:#9fb8a6}.fred-estimate-scope .estimate-pricebook-link{display:inline-flex;align-items:center;justify-content:center;width:100%;margin-bottom:10px;padding:7px 10px;border:none;background:transparent;color:#1d4ed8;font-size:.82rem;font-weight:700;text-decoration:underline;cursor:pointer}.fred-estimate-scope .estimate-pricebook-link:hover{color:#1538a8}.fred-estimate-scope .price-book-modal{position:fixed;inset:0;display:grid;place-items:center;z-index:100}.fred-estimate-scope .price-book-modal__backdrop{position:absolute;inset:0;background:rgba(15,22,21,.42);backdrop-filter:blur(6px);animation:modalBackdropIn .2s ease forwards}.fred-estimate-scope .price-book-modal__card{position:relative;width:min(640px,calc(100vw - 32px));max-height:min(80vh,720px);background:rgba(255,253,248,.98);border:1px solid rgba(24,32,31,.1);border-radius:18px;box-shadow:0 30px 80px rgba(27,42,38,.22);padding:22px 22px 18px;display:flex;flex-direction:column;gap:12px;animation:modalCardIn .28s cubic-bezier(.22,1,.36,1) forwards}.fred-estimate-scope .price-book-modal__card header{display:flex;align-items:center;justify-content:space-between}.fred-estimate-scope .price-book-modal__card h3{margin:0;font-size:19px;font-weight:600}.fred-estimate-scope .price-book-modal__close{display:grid;place-items:center;width:28px;height:28px;border:none;border-radius:999px;background:rgba(24,32,31,.06);color:inherit;cursor:pointer}.fred-estimate-scope .price-book-modal__close:hover{background:rgba(24,32,31,.12)}.fred-estimate-scope .price-book-modal__hint{margin:0;font-size:.82rem;line-height:1.4;color:#4b6a52}.fred-estimate-scope .price-book-modal__list{overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding-right:4px}.fred-estimate-scope .price-book-empty{display:flex;align-items:center;gap:8px;padding:18px 6px;font-size:.86rem;color:#6b7c70}.fred-estimate-scope .price-book-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(24,32,31,.1);border-radius:10px;background:rgba(255,255,255,.6)}.fred-estimate-scope .price-book-row--confirmed{border-color:rgba(20,140,118,.4);background:rgba(20,140,118,.08)}.fred-estimate-scope .price-book-row__main{display:flex;flex-direction:column;gap:2px;min-width:0}.fred-estimate-scope .price-book-row__main strong{font-size:.9rem}.fred-estimate-scope .price-book-row__main small{font-size:.74rem;color:#6b7c70}.fred-estimate-scope .price-book-row__actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.fred-estimate-scope .price-book-row__currency{font-size:.8rem;color:#6b7c70}.fred-estimate-scope .price-book-row__price{width:92px;padding:6px 8px;border:1px solid rgba(24,32,31,.18);border-radius:7px;font-size:.86rem}.fred-estimate-scope .price-book-row__confirm{padding:6px 12px;border:0;border-radius:7px;background:linear-gradient(135deg,#148c76,#1d78ff);color:#fff;font-size:.8rem;font-weight:800;cursor:pointer}.fred-estimate-scope .price-book-row__delete{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(190,40,40,.25);border-radius:7px;background:rgba(190,40,40,.07);color:#b42828;cursor:pointer}.fred-estimate-scope .price-book-row__delete:hover{background:rgba(190,40,40,.14)}body[data-theme=dark] .fred-estimate-scope .price-book-modal__card{background:rgba(28,34,33,.98);border-color:rgba(255,255,255,.1)}body[data-theme=dark] .fred-estimate-scope .price-book-row{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1)}body[data-theme=dark] .fred-estimate-scope .price-book-empty,body[data-theme=dark] .fred-estimate-scope .price-book-modal__hint,body[data-theme=dark] .fred-estimate-scope .price-book-row__main small{color:#9fb8a6}.fred-estimate-scope .estimate-scope-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;margin-bottom:8px;border-radius:8px;font-size:.86rem;font-weight:800;border:1px solid rgba(124,92,196,.32);background:rgba(146,112,222,.12);color:#6b46c1;cursor:pointer}.fred-estimate-scope .estimate-scope-btn:hover{border-color:rgba(124,92,196,.5);background:rgba(146,112,222,.2)}.fred-estimate-scope .estimate-scope-btn:disabled{cursor:not-allowed;opacity:.58}.fred-estimate-scope .estimate-scope-btn svg{flex:0 0 auto}.fred-estimate-scope .scope-gaps{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.fred-estimate-scope .scope-gaps__title{font-size:.82rem}.fred-estimate-scope .scope-gap{display:flex;flex-direction:row;align-items:flex-start;gap:8px;padding:8px 10px;border-radius:8px;border-left:3px solid #c4791c;background:rgba(24,32,31,.04);cursor:pointer}.fred-estimate-scope .scope-gap__check{margin-top:3px;flex:0 0 auto}.fred-estimate-scope .scope-gap__body{display:flex;flex-direction:column;gap:2px;min-width:0}.fred-estimate-scope .scope-gaps__apply{margin-top:2px;align-self:flex-start;padding:7px 14px;border:0;border-radius:8px;background:linear-gradient(135deg,#148c76,#1d78ff);color:#fff;font-size:.82rem;font-weight:800;cursor:pointer}.fred-estimate-scope .scope-gaps__apply:disabled{cursor:not-allowed;opacity:.55}.fred-estimate-scope .scope-gap--high{border-left-color:#d14343}.fred-estimate-scope .scope-gap--medium{border-left-color:#c4791c}.fred-estimate-scope .scope-gap--low{border-left-color:#5a8f6f}.fred-estimate-scope .scope-gap__head{display:flex;align-items:center;gap:6px}.fred-estimate-scope .scope-gap__sev{text-transform:uppercase;font-size:.62rem;font-weight:800;letter-spacing:.04em;padding:1px 6px;border-radius:999px;background:rgba(24,32,31,.1)}.fred-estimate-scope .scope-gap--high .scope-gap__sev{background:rgba(209,67,67,.16);color:#b42828}.fred-estimate-scope .scope-gap__cat{font-size:.72rem;color:#6b7c70;font-weight:700}.fred-estimate-scope .scope-gap__item{font-size:.85rem;font-weight:600}.fred-estimate-scope .scope-gap small{font-size:.75rem;color:#6b7c70;line-height:1.3}body[data-theme=dark] .fred-estimate-scope .scope-gap{background:rgba(255,255,255,.04)}body[data-theme=dark] .fred-estimate-scope .scope-gap small,body[data-theme=dark] .fred-estimate-scope .scope-gap__cat{color:#9fb8a6}.fred-estimate-scope .spin-icon{display:block;animation:spin 1s linear infinite;transform-origin:center;transform-box:fill-box;will-change:transform}.fred-estimate-scope .note-panel{margin-top:auto;padding:16px;border:1px solid rgba(24,32,31,.1);border-radius:8px;background:rgba(255,255,255,.55)}.fred-estimate-scope .chat-panel{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;overflow:hidden;border-radius:8px;position:relative;--panel-accent:#18201f;background:linear-gradient(180deg,color-mix(in srgb,var(--panel-accent) 22%,transparent) 0,color-mix(in srgb,var(--panel-accent) 6%,transparent) 180px,transparent 360px),rgba(255,253,248,.82);border:2px solid color-mix(in srgb,var(--panel-accent) 55%,rgba(24,32,31,.18));box-shadow:0 0 0 4px color-mix(in srgb,var(--panel-accent) 14%,transparent),0 24px 70px rgba(27,42,38,.12);transition:border-color .36s ease,background .36s ease,box-shadow .36s ease}.fred-estimate-scope .chat-panel:before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:var(--panel-accent);opacity:1;transition:background .36s ease}.fred-estimate-scope .files-fab{position:absolute;top:14px;right:16px;display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;border:1px solid rgba(24,32,31,.12);background:rgba(255,253,248,.92);color:#18201f;font-size:12.5px;font-weight:600;letter-spacing:.01em;cursor:pointer;z-index:4;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease}.fred-estimate-scope .files-fab:hover{background:#fff;border-color:rgba(47,125,110,.5);color:#2f7d6e;transform:translateY(-1px);box-shadow:0 10px 22px rgba(27,42,38,.1)}.fred-estimate-scope .files-panel{position:fixed;inset:0;z-index:80}.fred-estimate-scope .files-panel__backdrop{position:absolute;inset:0;background:rgba(15,22,21,.4);backdrop-filter:blur(4px);animation:filesBackdropIn .22s ease forwards}.fred-estimate-scope .files-panel__sheet{position:absolute;top:0;right:0;height:100vh;width:min(440px,92vw);background:rgba(255,253,248,.98);border-left:1px solid rgba(24,32,31,.1);box-shadow:-24px 0 60px rgba(27,42,38,.18);display:flex;flex-direction:column;transform:translateX(100%);animation:filesSheetIn .32s cubic-bezier(.22,1,.36,1) forwards}@keyframes filesBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes filesSheetIn{to{transform:translateX(0)}}.fred-estimate-scope .files-panel__header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid rgba(24,32,31,.08)}.fred-estimate-scope .files-panel__title{display:flex;align-items:center;gap:10px;color:#18201f;min-width:0}.fred-estimate-scope .files-panel__title strong{display:block;font-size:15px;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fred-estimate-scope .files-panel__title small{display:block;color:rgba(24,32,31,.6);font-size:12px;margin-top:1px}.fred-estimate-scope .files-panel__actions{display:flex;align-items:center;gap:4px}.fred-estimate-scope .files-panel__close,.fred-estimate-scope .files-panel__refresh{display:grid;place-items:center;width:30px;height:30px;border:none;border-radius:999px;background:transparent;color:rgba(24,32,31,.55);cursor:pointer;transition:background .14s ease,color .14s ease}.fred-estimate-scope .files-panel__close:hover,.fred-estimate-scope .files-panel__refresh:hover{background:rgba(24,32,31,.08);color:#18201f}.fred-estimate-scope .files-panel__error,.fred-estimate-scope .files-panel__notice{margin:12px 18px 0;padding:10px 12px;border-radius:10px;font-size:12.5px;line-height:1.45}.fred-estimate-scope .files-panel__notice{background:rgba(201,122,58,.1);border:1px solid rgba(201,122,58,.25);color:#8a4a16}.fred-estimate-scope .files-panel__notice code{background:rgba(201,122,58,.18);padding:1px 5px;border-radius:5px;font-size:12px}.fred-estimate-scope .files-panel__error{background:rgba(220,70,70,.1);border:1px solid rgba(220,70,70,.22);color:#a23131}.fred-estimate-scope .files-panel__list{flex:1;overflow-y:auto;padding:12px 14px 18px;display:flex;flex-direction:column;gap:4px;scrollbar-width:thin;scrollbar-color:rgba(24,32,31,.18) transparent}.fred-estimate-scope .files-panel__empty{margin:16px 4px;font-size:13px;color:rgba(24,32,31,.55);text-align:center}.fred-estimate-scope .files-panel__item{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;text-decoration:none;color:inherit;border:1px solid transparent;transition:background .14s ease,border-color .14s ease}.fred-estimate-scope .files-panel__item:hover{background:rgba(24,32,31,.05);border-color:rgba(24,32,31,.08)}.fred-estimate-scope .files-panel__glyph{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:rgba(47,125,110,.1);font-size:18px;line-height:1}.fred-estimate-scope .files-panel__body{display:flex;flex-direction:column;gap:2px;min-width:0}.fred-estimate-scope .files-panel__name{font-size:13.5px;font-weight:500;color:#18201f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fred-estimate-scope .files-panel__meta{font-size:11.5px;color:rgba(24,32,31,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fred-estimate-scope .files-panel__open{display:grid;place-items:center;color:rgba(24,32,31,.45)}.fred-estimate-scope .chat-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 28px;border-bottom:1px solid rgba(24,32,31,.1);background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 14%,transparent),transparent),rgba(255,255,255,.42)}.fred-estimate-scope .eyebrow{color:var(--accent);font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.fred-estimate-scope .chat-header h2{margin-top:4px;font-size:clamp(1.6rem,3vw,2.4rem)}.fred-estimate-scope .model-pill{display:grid;flex:0 0 auto;place-items:center;width:64px;height:64px;border-radius:8px;color:#ffffff;background:var(--accent);font-weight:900;box-shadow:0 16px 34px color-mix(in srgb,var(--accent) 32%,transparent)}.fred-estimate-scope .messages{min-height:0;overflow-y:auto;padding:28px;overscroll-behavior:contain}.fred-estimate-scope .empty-state{display:grid;justify-items:center;align-content:center;gap:8px;min-height:100%;max-width:520px;margin:0 auto;color:#26302f;text-align:center}.fred-estimate-scope .empty-orbit{display:grid;place-items:center;width:82px;height:82px;margin-bottom:18px;border:1px solid rgba(24,32,31,.1);border-radius:8px;background:rgba(255,255,255,.68);box-shadow:0 18px 44px rgba(24,32,31,.11)}.fred-estimate-scope .empty-orbit--logo{width:150px;height:150px;margin-bottom:8px;background:transparent;border:none;box-shadow:none}.fred-estimate-scope .empty-orbit--logo img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.fred-estimate-scope .message{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;margin:0 0 18px}.fred-estimate-scope .message--focus-flash .bubble{border-color:rgba(22,215,191,.62);box-shadow:0 0 0 2px rgba(22,215,191,.24),0 14px 32px rgba(20,92,124,.24);animation:messageFocusFlash 1.8s ease-out 1}.fred-estimate-scope .message.user{grid-template-columns:minmax(0,1fr) 46px;justify-content:end}.fred-estimate-scope .message.message--wide{grid-template-columns:46px minmax(0,1fr)}.fred-estimate-scope .message.user .avatar{grid-column:2;grid-row:1;background:#18201f}.fred-estimate-scope .message.user .bubble{grid-column:1;background:#18201f;color:#ffffff}.fred-estimate-scope .avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#52615d;color:#ffffff;font-size:.78rem;font-weight:900}.fred-estimate-scope .avatar--assistant{background:rgba(255,255,255,.94);border:1px solid rgba(24,32,31,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.44)}.fred-estimate-scope .avatar__logo{width:24px;height:24px;-o-object-fit:contain;object-fit:contain}.fred-estimate-scope .avatar__logo--fred{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;border-radius:inherit}.fred-estimate-scope .bubble{min-width:0;width:100%;padding:15px 16px;border:1px solid rgba(24,32,31,.08);border-radius:8px;background:rgba(255,255,255,.75);box-shadow:0 10px 28px rgba(24,32,31,.08)}.fred-estimate-scope .message-feedback-actions{display:inline-flex;align-items:center;gap:8px;margin-top:12px}.fred-estimate-scope .message-feedback-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:5px 9px;border:1px solid rgba(24,32,31,.2);border-radius:7px;background:rgba(255,255,255,.86);color:#1f2937;font-size:.75rem;font-weight:800;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease}.fred-estimate-scope .message-feedback-action:hover{border-color:rgba(29,120,255,.45);background:rgba(29,120,255,.1);color:#1d4ed8}.fred-estimate-scope .message-feedback-action:focus-visible{outline:2px solid rgba(29,120,255,.5);outline-offset:2px}.fred-estimate-scope .message-feedback-action.is-active,.fred-estimate-scope .message-feedback-action.is-copied,.fred-estimate-scope .message-feedback-action.is-positive{border-color:rgba(24,128,88,.52);background:rgba(24,128,88,.14);color:#065f46}.fred-estimate-scope .message-feedback-action.is-negative{border-color:rgba(185,28,28,.42);background:rgba(239,68,68,.14);color:#991b1b}.fred-estimate-scope .message-downvote-panel{margin-top:10px;padding:10px;border:1px solid rgba(24,32,31,.16);border-radius:8px;background:rgba(24,32,31,.04)}.fred-estimate-scope .message-downvote-panel p{margin:0 0 8px;font-size:.86rem;font-weight:650}.fred-estimate-scope .message-downvote-panel textarea{width:100%;min-height:70px;border:1px solid rgba(24,32,31,.2);border-radius:8px;background:rgba(255,255,255,.92);color:inherit;font:inherit;line-height:1.4;resize:vertical;padding:8px 10px}.fred-estimate-scope .message-downvote-panel textarea:focus-visible{outline:2px solid rgba(29,120,255,.48);outline-offset:2px}.fred-estimate-scope .message-downvote-panel__actions{margin-top:8px;display:flex;justify-content:flex-end}.fred-estimate-scope .message--wide .bubble{width:100%}.fred-estimate-scope .option-comparison{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));gap:16px;align-items:start}.fred-estimate-scope .option-card{min-width:0;padding:0 14px 4px;border-left:1px solid rgba(24,32,31,.12);background:transparent}.fred-estimate-scope .option-card:first-child{border-left:0;padding-left:0}.fred-estimate-scope .option-card__header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid rgba(24,32,31,.08)}.fred-estimate-scope .option-card__header span{color:#17211f;font-size:.82rem;font-weight:900;text-transform:uppercase}.fred-estimate-scope .option-card__stage{flex:0 0 auto;margin-left:auto}.fred-estimate-scope .option-text-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:16px;align-items:start}.fred-estimate-scope .option-text-box{min-width:0;padding:14px;border:1px solid rgba(24,32,31,.14);border-radius:8px;background:rgba(255,255,255,.84);color:#17211f}.fred-estimate-scope .option-text-box__header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid rgba(24,32,31,.1)}.fred-estimate-scope .option-text-box__header strong{font-size:.82rem;font-weight:900;text-transform:uppercase}.fred-estimate-scope .option-text-box__stage{flex:0 0 auto}.fred-estimate-scope .option-text-box pre{margin:0;color:inherit;font:inherit;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.fred-estimate-scope .option-diff{width:100%;overflow-x:auto;border:1px solid rgba(24,32,31,.14);border-radius:8px;background:rgba(255,255,255,.82)}.fred-estimate-scope .option-diff__table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed}.fred-estimate-scope .option-diff__table td,.fred-estimate-scope .option-diff__table th{width:50%;vertical-align:top;border-right:1px solid rgba(24,32,31,.1);border-bottom:1px solid rgba(24,32,31,.1)}.fred-estimate-scope .option-diff__table td:last-child,.fred-estimate-scope .option-diff__table th:last-child{border-right:0}.fred-estimate-scope .option-diff__table th{position:sticky;top:0;z-index:1;padding:12px;background:#eef4f7}.fred-estimate-scope .option-diff__table td{padding:12px;color:#17211f;font-size:.96rem;line-height:1.5;overflow-wrap:anywhere}.fred-estimate-scope .option-diff__heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.fred-estimate-scope .option-diff__heading span{color:#17211f;font-size:.82rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.fred-estimate-scope .option-diff__stage{flex:0 0 auto}.fred-estimate-scope .option-diff__actions{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.fred-estimate-scope .option-diff__stage-cell{text-align:right;background:rgba(255,255,255,.72)}.fred-estimate-scope .option-diff__stage-wait{display:inline-flex;align-items:center;justify-content:flex-end;min-height:34px;color:rgba(24,32,31,.55);font-size:.78rem;font-weight:700}.fred-estimate-scope .option-diff__row--construction td{color:#174ea6;background:rgba(59,130,246,.08)}.fred-estimate-scope .option-diff__row--electrical td{color:#a61b1b;background:rgba(220,38,38,.07)}.fred-estimate-scope .option-diff__row--plumbing td{color:#6b21a8;background:rgba(147,51,234,.08)}.fred-estimate-scope .option-diff__row--hvac td{color:#a64f03;background:rgba(249,115,22,.1)}.fred-estimate-scope .option-diff__row--general td,.fred-estimate-scope .option-diff__row--glendale td{color:#334155;background:rgba(100,116,139,.07)}.fred-estimate-scope .option-diff__row--construction td:first-child{box-shadow:inset 3px 0 0 #3b82f6}.fred-estimate-scope .option-diff__row--electrical td:first-child{box-shadow:inset 3px 0 0 #dc2626}.fred-estimate-scope .option-diff__row--plumbing td:first-child{box-shadow:inset 3px 0 0 #9333ea}.fred-estimate-scope .option-diff__row--hvac td:first-child{box-shadow:inset 3px 0 0 #f97316}.fred-estimate-scope .option-diff__row--general td:first-child,.fred-estimate-scope .option-diff__row--glendale td:first-child{box-shadow:inset 3px 0 0 #64748b}.fred-estimate-scope .option-diff__empty{color:#7c8794;font-style:italic}.fred-estimate-scope .message-content{display:grid;gap:12px;min-width:0}.fred-estimate-scope .message-content__block,.fred-estimate-scope .message-content__department{border-radius:10px;padding:8px 10px;border:1px solid transparent}.fred-estimate-scope .message-content__department{--dept-divider:rgba(24,32,31,0.14);display:grid;gap:0;min-width:0}.fred-estimate-scope .message-content__department-block{min-width:0}.fred-estimate-scope .message-content__department-block+.message-content__department-block{margin-top:10px;padding-top:10px;border-top:1px solid var(--dept-divider)}.fred-estimate-scope .message-content__block .message-table-wrap,.fred-estimate-scope .message-content__department .message-table-wrap{margin-top:0}.fred-estimate-scope .message-content__department--electrical{--dept-divider:rgba(248,113,113,0.38);background:rgba(254,226,226,.68);border-color:rgba(248,113,113,.38)}.fred-estimate-scope .message-content__department--plumbing{--dept-divider:rgba(167,139,250,0.42);background:rgba(237,233,254,.72);border-color:rgba(167,139,250,.44)}.fred-estimate-scope .message-content__department--hvac{--dept-divider:rgba(251,146,60,0.38);background:rgba(255,237,213,.72);border-color:rgba(251,146,60,.4)}.fred-estimate-scope .message-content__department--construction{--dept-divider:rgba(96,165,250,0.4);background:rgba(219,234,254,.72);border-color:rgba(96,165,250,.44)}.fred-estimate-scope .message-content__department--engineering{--dept-divider:rgba(100,116,139,0.4);background:rgba(226,232,240,.72);border-color:rgba(148,163,184,.44)}.fred-estimate-scope .message-content__block--electrical .message-table-wrap,.fred-estimate-scope .message-content__department--electrical .message-table-wrap,.fred-estimate-scope .message-table-wrap--trade-electrical{border-color:rgba(248,113,113,.42);background:rgba(254,242,242,.78)}.fred-estimate-scope .message-content__block--plumbing .message-table-wrap,.fred-estimate-scope .message-content__department--plumbing .message-table-wrap,.fred-estimate-scope .message-table-wrap--trade-plumbing{border-color:rgba(167,139,250,.46);background:rgba(245,243,255,.78)}.fred-estimate-scope .message-content__block--hvac .message-table-wrap,.fred-estimate-scope .message-content__department--hvac .message-table-wrap,.fred-estimate-scope .message-table-wrap--trade-hvac{border-color:rgba(251,146,60,.42);background:rgba(255,247,237,.8)}.fred-estimate-scope .message-content__block--construction .message-table-wrap,.fred-estimate-scope .message-content__department--construction .message-table-wrap,.fred-estimate-scope .message-table-wrap--trade-construction{border-color:rgba(96,165,250,.46);background:rgba(239,246,255,.8)}.fred-estimate-scope .message-plain{color:inherit;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.fred-estimate-scope .message-content blockquote,.fred-estimate-scope .message-content h4,.fred-estimate-scope .message-content ol,.fred-estimate-scope .message-content p,.fred-estimate-scope .message-content pre,.fred-estimate-scope .message-content ul{margin:0}.fred-estimate-scope .message-content li,.fred-estimate-scope .message-content p,.fred-estimate-scope .message-table{line-height:1.55}.fred-estimate-scope .message-content h4{margin-top:4px;color:#17211f;font-size:.98rem;line-height:1.25}.fred-estimate-scope .message-heading--1,.fred-estimate-scope .message-heading--2{font-size:1.08rem}.fred-estimate-scope .message-heading--5,.fred-estimate-scope .message-heading--6{font-size:.9rem;color:rgba(24,32,31,.72)}.fred-estimate-scope .message-content ol,.fred-estimate-scope .message-content ul{padding-left:1.2rem}.fred-estimate-scope .message-content li+li{margin-top:6px}.fred-estimate-scope .message-content code{padding:1px 5px;border-radius:5px;background:rgba(24,32,31,.08);font-size:.9em}.fred-estimate-scope .message-content a{color:#2f6fcb;font-weight:650;text-decoration:none}.fred-estimate-scope .message-content a:hover{text-decoration:underline}.fred-estimate-scope .message-content blockquote{border-left:3px solid rgba(47,125,110,.34);padding-left:12px;color:rgba(24,32,31,.74)}.fred-estimate-scope .message-content blockquote p+p{margin-top:6px}.fred-estimate-scope .message-content hr{width:100%;height:1px;border:0;background:rgba(24,32,31,.1)}.fred-estimate-scope .clarification-card{display:grid;gap:12px;padding:12px;border:1px solid rgba(24,32,31,.12);border-radius:10px;background:rgba(24,32,31,.03)}.fred-estimate-scope .clarification-card__header h4{margin:0}.fred-estimate-scope .clarification-card__header p{margin:6px 0 0;color:rgba(24,32,31,.68);font-size:.84rem}.fred-estimate-scope .clarification-card__intro{display:grid;gap:6px}.fred-estimate-scope .clarification-card__progress{display:inline-flex;width:-moz-fit-content;width:fit-content;padding:4px 9px;border-radius:999px;background:rgba(29,120,255,.12);color:#1d4ed8;font-size:.77rem;font-weight:700;letter-spacing:.01em}.fred-estimate-scope .clarification-sections{display:grid;gap:8px}.fred-estimate-scope .clarification-section{border:1px solid rgba(24,32,31,.12);border-radius:8px;background:rgba(255,255,255,.52)}.fred-estimate-scope .clarification-section>summary{cursor:pointer;list-style:none;padding:9px 12px;font-size:.9rem;font-weight:700}.fred-estimate-scope .clarification-section>summary::-webkit-details-marker{display:none}.fred-estimate-scope .clarification-section>summary:after{content:"+";float:right;font-weight:800}.fred-estimate-scope .clarification-section[open]>summary:after{content:"−"}.fred-estimate-scope .clarification-section__body{display:grid;gap:10px;padding:0 12px 12px}.fred-estimate-scope .clarification-question{display:grid;gap:7px;padding:10px;border:1px solid rgba(24,32,31,.14);border-radius:10px;background:rgba(255,255,255,.58)}.fred-estimate-scope .clarification-question__label{display:flex;gap:8px;align-items:flex-start;font-size:.9rem;line-height:1.45;font-weight:650}.fred-estimate-scope .clarification-question__number{color:rgba(24,32,31,.74);font-weight:700}.fred-estimate-scope .clarification-options{display:grid;gap:6px;margin-left:16px;padding-left:10px;border-left:2px solid rgba(29,120,255,.22)}.fred-estimate-scope .clarification-option{width:100%;border:1px solid rgba(24,32,31,.18);border-radius:8px;background:rgba(255,255,255,.95);color:inherit;text-align:left;padding:8px 10px;font:inherit;line-height:1.35;cursor:pointer}.fred-estimate-scope .clarification-option__label{display:block}.fred-estimate-scope .clarification-option__meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;align-items:center}.fred-estimate-scope .clarification-option__recommended{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;border:1px solid rgba(5,150,105,.34);background:rgba(5,150,105,.16);color:#065f46;font-size:.72rem;font-weight:800;letter-spacing:.01em;text-transform:uppercase}.fred-estimate-scope .clarification-option__reason{color:rgba(24,32,31,.72);font-size:.8rem;font-weight:600}.fred-estimate-scope .clarification-option:hover{background:rgba(29,120,255,.08);border-color:rgba(29,120,255,.3)}.fred-estimate-scope .clarification-option:focus-visible{outline:2px solid rgba(29,120,255,.42);outline-offset:2px}.fred-estimate-scope .clarification-option.is-selected{background:rgba(29,120,255,.18);border-color:rgba(29,120,255,.58);font-weight:700}.fred-estimate-scope .clarification-option-input{width:100%;min-height:34px;border:1px solid rgba(24,32,31,.18);border-radius:8px;background:rgba(255,255,255,.88);color:inherit;padding:7px 9px;font:inherit}.fred-estimate-scope .clarification-option-input:focus-visible{outline:2px solid rgba(29,120,255,.42);outline-offset:2px}.fred-estimate-scope .clarification-card__actions{display:flex;justify-content:flex-start}.fred-estimate-scope .message-code-block{position:relative;overflow-x:auto;padding:13px 14px;border:1px solid rgba(24,32,31,.1);border-radius:8px;background:rgba(24,32,31,.055);white-space:pre}.fred-estimate-scope .message-code-block code{padding:0;border-radius:0;background:transparent;font-size:.86rem}.fred-estimate-scope .message-code-block__lang{display:block;margin-bottom:8px;color:rgba(24,32,31,.54);font-size:.72rem;font-weight:700;text-transform:uppercase}.fred-estimate-scope .message-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid rgba(24,32,31,.1);border-radius:8px}.fred-estimate-scope .message-table{width:100%;min-width:560px;border-collapse:collapse;font-size:.88rem;white-space:normal}.fred-estimate-scope .message-table td,.fred-estimate-scope .message-table th{padding:9px 10px;border-bottom:1px solid rgba(24,32,31,.08);text-align:left;vertical-align:top}.fred-estimate-scope .message-table th{background:rgba(24,32,31,.06);font-size:.76rem;letter-spacing:.02em;text-transform:uppercase}.fred-estimate-scope .message-table tr:last-child td{border-bottom:0}.fred-estimate-scope .message-table-wrap--breakdown{border-radius:10px;overflow-x:hidden}.fred-estimate-scope .message-table--breakdown{width:100%;min-width:100%;table-layout:fixed;font-size:.82rem}.fred-estimate-scope .message-table--breakdown td,.fred-estimate-scope .message-table--breakdown th{white-space:normal;overflow-wrap:break-word;padding:10px 12px;vertical-align:middle}.fred-estimate-scope .message-table--breakdown th{white-space:normal;line-height:1.2;font-size:.74rem}.fred-estimate-scope .message-table--breakdown td:first-child,.fred-estimate-scope .message-table--breakdown th:first-child{white-space:normal}.fred-estimate-scope .message-table--breakdown .message-table__group-row th{text-align:center;font-size:.72rem;letter-spacing:.03em;padding-block:9px}.fred-estimate-scope .message-table--breakdown .message-table__group--description,.fred-estimate-scope .message-table--breakdown .message-table__group--total{text-align:left}.fred-estimate-scope .message-table--breakdown .message-table__group--description,.fred-estimate-scope .message-table--breakdown .message-table__group--labor,.fred-estimate-scope .message-table--breakdown .message-table__group--nms{background:rgba(29,120,255,.14)}.fred-estimate-scope .message-table--breakdown .message-table__group--material{background:rgba(47,125,110,.14)}.fred-estimate-scope .message-table--breakdown .message-table__group--subtrade,.fred-estimate-scope .message-table--breakdown .message-table__group--total{background:rgba(249,115,22,.14)}.fred-estimate-scope .message-table--breakdown .message-table__col--nms{min-width:0}.fred-estimate-scope .message-table--breakdown .message-table__col--key-nmsSectionTitle{min-width:0;white-space:normal}.fred-estimate-scope .message-table--breakdown .message-table__num{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:normal;word-break:normal;white-space:nowrap}.fred-estimate-scope .message-table--breakdown .message-table__col--key-description{overflow-wrap:anywhere}.fred-estimate-scope .message-table--breakdown .message-table__col--section-start{border-left:2px solid rgba(24,32,31,.16)}.fred-estimate-scope .message-table--breakdown tbody tr:nth-child(2n) td{background:rgba(24,32,31,.02)}.fred-estimate-scope .message-table--breakdown .message-table__summary-row td{background:rgba(24,32,31,.08);font-weight:700}.fred-estimate-scope .message-table--breakdown .message-table__scope-row td{background:rgba(47,125,110,.2);border-top:2px solid rgba(47,125,110,.45);font-weight:800;letter-spacing:.01em;padding-block:12px}.fred-estimate-scope .message-table--breakdown .message-table__scope-row--shared td{background:rgba(66,83,120,.16);border-top:2px solid rgba(66,83,120,.32)}.fred-estimate-scope .message-table--breakdown .message-table__scope-static-label{display:inline-flex;align-items:center;gap:8px;width:100%;font-weight:800}.fred-estimate-scope .message-table--breakdown .message-table__description-toggle,.fred-estimate-scope .message-table--breakdown .message-table__scope-toggle{display:inline-flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0}.fred-estimate-scope .message-table--breakdown .message-table__scope-toggle{font-weight:800}.fred-estimate-scope .message-table--breakdown .message-table__description-toggle{font-weight:700}.fred-estimate-scope .message-table--breakdown .message-table__description-content{display:inline-flex;min-width:0;flex-direction:column;gap:2px}.fred-estimate-scope .message-table--breakdown .message-table__description-primary{font-weight:700}.fred-estimate-scope .message-table--breakdown .message-table__description-detail{color:rgba(24,32,31,.68);font-size:.78rem;font-weight:600;line-height:1.25}.fred-estimate-scope .message-table--breakdown .message-table__description-toggle:focus-visible,.fred-estimate-scope .message-table--breakdown .message-table__scope-toggle:focus-visible{outline:2px solid rgba(47,125,110,.65);outline-offset:2px;border-radius:4px}.fred-estimate-scope .message-table--breakdown .message-table__toggle-indicator{display:inline-grid;place-items:center;min-width:18px;height:18px;border:1px solid rgba(24,32,31,.3);border-radius:4px;font-size:.78rem;line-height:1}.fred-estimate-scope .message-table--breakdown .message-table__discount-field{display:inline-grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;min-width:0;height:24px;border:1px solid rgba(24,32,31,.22);border-radius:6px;background:rgba(255,255,255,.76);overflow:hidden}.fred-estimate-scope .message-table--breakdown .message-table__discount-field input{width:100%;min-width:0;height:100%;border:0;background:transparent;color:inherit;font:inherit;font-size:.78rem;font-variant-numeric:tabular-nums;text-align:right;padding:0 3px 0 5px;outline:none}.fred-estimate-scope .message-table--breakdown .message-table__discount-field span{padding-right:5px;color:rgba(24,32,31,.6);font-size:.72rem;font-weight:800}.fred-estimate-scope .message-table--breakdown .message-table__discount-field:focus-within{border-color:rgba(29,120,255,.68);box-shadow:0 0 0 2px rgba(29,120,255,.16)}.fred-estimate-scope .message-table--breakdown .message-table__price-input{width:100%;height:24px;border:1px solid rgba(24,32,31,.22);border-radius:6px;background:rgba(255,255,255,.76);color:inherit;font:inherit;font-size:.78rem;font-variant-numeric:tabular-nums;text-align:right;padding:0 6px;outline:none}.fred-estimate-scope .message-table--breakdown .message-table__price-input::-moz-placeholder{color:rgba(24,32,31,.78);opacity:1}.fred-estimate-scope .message-table--breakdown .message-table__price-input::placeholder{color:rgba(24,32,31,.78);opacity:1}.fred-estimate-scope .message-table--breakdown .message-table__price-input:focus{border-color:rgba(29,120,255,.68);box-shadow:0 0 0 2px rgba(29,120,255,.16)}.fred-estimate-scope .budget-summary-live{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:baseline;line-height:1.5}.fred-estimate-scope .budget-summary-live strong{font-weight:900}.fred-estimate-scope .message-table--breakdown .message-table__scope-totals-row td{background:rgba(47,125,110,.12);font-weight:700}.fred-estimate-scope .message-table--breakdown .message-table__scope-subtotal-row td{border-top:3px double rgba(47,125,110,.5);border-bottom:1px solid rgba(47,125,110,.35)}.fred-estimate-scope .message-table--breakdown .message-table__scope-totals-row .message-table__col--key-description{color:rgba(24,32,31,.78)}.fred-estimate-scope .message-table--breakdown .message-table__nms-detail-row td{background:rgba(29,120,255,.06);font-size:.79rem}.fred-estimate-scope .message-table--breakdown .message-table__nms-detail-row .message-table__col--key-description{color:rgba(24,32,31,.7);font-weight:650}.fred-estimate-scope .message-table--breakdown .message-table__subtotal-row td{background:rgba(24,32,31,.14);font-weight:800}.fred-estimate-scope .message-table--breakdown tbody td{position:relative;transition:box-shadow .12s ease}.fred-estimate-scope .message-table--breakdown tbody tr:hover td{box-shadow:inset 0 0 0 9999px rgba(29,120,255,.06)}.fred-estimate-scope .message-table--breakdown tbody td:hover{box-shadow:inset 0 0 0 9999px rgba(29,120,255,.14),inset 0 0 0 2px rgba(29,120,255,.64)}.fred-estimate-scope .message.user .message-content{gap:8px}.fred-estimate-scope .message.user .message-content h4{color:#ffffff}.fred-estimate-scope .message.user .message-content code,.fred-estimate-scope .message.user .message-table th{background:rgba(255,255,255,.14)}.fred-estimate-scope .message.failed .bubble{border-color:rgba(184,60,44,.35);background:#fff0ed;color:#8c2d22}.fred-estimate-scope .typing{display:inline-flex;align-items:center;gap:10px;color:#56645f}.fred-estimate-scope .typing svg{animation:spin 1s linear infinite}.fred-estimate-scope .attached-list,.fred-estimate-scope .file-tray{display:flex;flex-wrap:wrap;gap:8px}.fred-estimate-scope .attached-list{margin-top:12px}.fred-estimate-scope .attached-list span,.fred-estimate-scope .file-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;border-radius:999px;font-size:.8rem;font-weight:700}.fred-estimate-scope .attached-list span{padding:6px 9px;background:rgba(255,255,255,.16)}.fred-estimate-scope .message-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fred-estimate-scope .message-action{min-height:34px;padding:8px 10px;border:1px solid rgba(24,32,31,.12);background:#edf7f3;color:#188058}.fred-estimate-scope .message.user .message-action{display:none}.fred-estimate-scope .composer{padding:18px;border-top:1px solid rgba(24,32,31,.1);background:rgba(255,253,248,.72)}.fred-estimate-scope .error-strip{margin-bottom:10px;padding:10px 12px;border:1px solid rgba(184,60,44,.24);border-radius:8px;background:#fff0ed;color:#8c2d22;font-weight:700}.fred-estimate-scope .context-meter{position:absolute;right:62px;bottom:7px;z-index:1;max-width:min(240px,calc(100% - 136px));overflow:hidden;color:var(--app-muted);font-size:11px;font-weight:600;letter-spacing:0;line-height:1.2;opacity:.5;pointer-events:none;text-align:right;text-overflow:ellipsis;white-space:nowrap}.fred-estimate-scope .context-meter--warning{color:#8a5a12;opacity:.52}.fred-estimate-scope .context-meter--danger{color:#9d2f25;opacity:.6}.fred-estimate-scope .file-tray{margin-bottom:10px}.fred-estimate-scope .file-chip{padding:7px 8px 7px 10px;background:#edf7f3;color:#24473f}.fred-estimate-scope .file-chip button{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:999px;background:rgba(24,32,31,.09);color:inherit;padding:0}.fred-estimate-scope .drop-zone{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 50px;align-items:end;gap:10px;padding:10px;border:1px solid rgba(24,32,31,.11);border-radius:8px;background:#ffffff;box-shadow:0 18px 44px rgba(24,32,31,.1)}.fred-estimate-scope .drop-zone input{display:none}.fred-estimate-scope .icon-button,.fred-estimate-scope .send-button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:8px}.fred-estimate-scope .icon-button{background:#edf1ee;color:#33403d}.fred-estimate-scope .send-button{width:46px;color:#ffffff;background:var(--panel-accent,#18201f);transition:background .2s ease,transform .16s ease,box-shadow .2s ease}.fred-estimate-scope .send-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px color-mix(in srgb,var(--panel-accent,#18201f) 35%,transparent)}.fred-estimate-scope .send-button:disabled{cursor:not-allowed;opacity:.45}.fred-estimate-scope .send-button.is-loading{opacity:.95}.fred-estimate-scope textarea{min-height:42px;max-height:180px;resize:vertical;border:0;outline:0;padding:10px 4px;background:transparent;color:var(--app-ink);line-height:1.45}.fred-estimate-scope .theme-toggle-global{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:8px 12px;border-radius:999px;border:1px solid var(--app-line);background:var(--app-panel-strong);color:var(--app-ink);box-shadow:0 12px 30px rgba(27,42,38,.08);font-size:13px;font-weight:600}.fred-estimate-scope .theme-toggle-global--sidebar{width:100%;border-radius:8px}body[data-theme=dark] .fred-estimate-scope .theme-toggle-global{box-shadow:0 12px 30px rgba(0,0,0,.25);color:#ecf2ff}body[data-theme=dark] .fred-estimate-scope .chat-header,body[data-theme=dark] .fred-estimate-scope .composer,body[data-theme=dark] .fred-estimate-scope .drop-zone,body[data-theme=dark] .fred-estimate-scope .empty-orbit,body[data-theme=dark] .fred-estimate-scope .note-panel{border-color:var(--app-line);background:rgba(5,16,31,.72);color:var(--app-ink);box-shadow:0 18px 42px rgba(0,0,0,.28)}body[data-theme=dark] .fred-estimate-scope .chat-header{background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 18%,transparent),transparent),rgba(5,16,31,.72)}body[data-theme=dark] .fred-estimate-scope .empty-state{color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .empty-orbit--logo{background:transparent;border-color:transparent;box-shadow:none}body[data-theme=dark] .fred-estimate-scope .composer textarea::-moz-placeholder,body[data-theme=dark] .fred-estimate-scope .drop-zone textarea::-moz-placeholder{color:rgba(236,242,255,.48)}body[data-theme=dark] .fred-estimate-scope .composer textarea::placeholder,body[data-theme=dark] .fred-estimate-scope .drop-zone textarea::placeholder{color:rgba(236,242,255,.48)}body[data-theme=dark] .fred-estimate-scope .back-link{border-color:rgba(132,178,240,.24);color:rgba(236,242,255,.86)}body[data-theme=dark] .fred-estimate-scope .section-search{color:#ecf2ff}body[data-theme=dark] .fred-estimate-scope .provider-model-select span{color:var(--app-muted)}body[data-theme=dark] .fred-estimate-scope .provider-model-select select{border-color:rgba(132,178,240,.22);background:rgba(5,16,31,.72);color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .section-search:focus{border-color:rgba(22,215,191,.62);box-shadow:0 0 0 3px rgba(22,215,191,.14)}body[data-theme=dark] .fred-estimate-scope .brand h1,body[data-theme=dark] .fred-estimate-scope .bubble,body[data-theme=dark] .fred-estimate-scope .chat-header h2,body[data-theme=dark] .fred-estimate-scope .composer textarea,body[data-theme=dark] .fred-estimate-scope .context-meter,body[data-theme=dark] .fred-estimate-scope .empty-state h3,body[data-theme=dark] .fred-estimate-scope .estimate-category,body[data-theme=dark] .fred-estimate-scope .estimate-panel,body[data-theme=dark] .fred-estimate-scope .files-fab,body[data-theme=dark] .fred-estimate-scope .files-panel__name,body[data-theme=dark] .fred-estimate-scope .files-panel__sheet,body[data-theme=dark] .fred-estimate-scope .files-panel__title,body[data-theme=dark] .fred-estimate-scope .history-item__title,body[data-theme=dark] .fred-estimate-scope .icon-button,body[data-theme=dark] .fred-estimate-scope .message-content h4,body[data-theme=dark] .fred-estimate-scope .option-card,body[data-theme=dark] .fred-estimate-scope .option-text-box,body[data-theme=dark] .fred-estimate-scope .project-chip__name,body[data-theme=dark] .fred-estimate-scope .project-modal__cancel,body[data-theme=dark] .fred-estimate-scope .project-modal__card,body[data-theme=dark] .fred-estimate-scope .project-modal__field input,body[data-theme=dark] .fred-estimate-scope .provider-card{color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .brand-mark--logo img,body[data-theme=dark] .fred-estimate-scope .empty-orbit--logo img{filter:none}body[data-theme=dark] .fred-estimate-scope .section-search::-moz-placeholder{color:var(--app-muted)}body[data-theme=dark] .fred-estimate-scope .brand p,body[data-theme=dark] .fred-estimate-scope .chat-header p,body[data-theme=dark] .fred-estimate-scope .context-meter__meta,body[data-theme=dark] .fred-estimate-scope .empty-state p,body[data-theme=dark] .fred-estimate-scope .estimate-category small,body[data-theme=dark] .fred-estimate-scope .estimate-panel__header p,body[data-theme=dark] .fred-estimate-scope .files-panel__empty,body[data-theme=dark] .fred-estimate-scope .files-panel__meta,body[data-theme=dark] .fred-estimate-scope .files-panel__open,body[data-theme=dark] .fred-estimate-scope .files-panel__title small,body[data-theme=dark] .fred-estimate-scope .history-empty,body[data-theme=dark] .fred-estimate-scope .history-item__meta,body[data-theme=dark] .fred-estimate-scope .note-panel p,body[data-theme=dark] .fred-estimate-scope .project-chip__meta,body[data-theme=dark] .fred-estimate-scope .project-modal__field>span,body[data-theme=dark] .fred-estimate-scope .projects-empty,body[data-theme=dark] .fred-estimate-scope .provider-card small,body[data-theme=dark] .fred-estimate-scope .section-label,body[data-theme=dark] .fred-estimate-scope .section-search::placeholder{color:var(--app-muted)}body[data-theme=dark] .fred-estimate-scope .bubble,body[data-theme=dark] .fred-estimate-scope .composer,body[data-theme=dark] .fred-estimate-scope .context-meter,body[data-theme=dark] .fred-estimate-scope .drop-zone,body[data-theme=dark] .fred-estimate-scope .estimate-category,body[data-theme=dark] .fred-estimate-scope .estimate-panel,body[data-theme=dark] .fred-estimate-scope .file-tray,body[data-theme=dark] .fred-estimate-scope .files-panel__item:hover,body[data-theme=dark] .fred-estimate-scope .files-panel__sheet,body[data-theme=dark] .fred-estimate-scope .option-card,body[data-theme=dark] .fred-estimate-scope .option-text-box,body[data-theme=dark] .fred-estimate-scope .project-modal__card,body[data-theme=dark] .fred-estimate-scope .project-modal__field input,body[data-theme=dark] .fred-estimate-scope .provider-card,body[data-theme=dark] .fred-estimate-scope .section-search,body[data-theme=dark] .fred-estimate-scope .theme-toggle-global{border-color:var(--app-line);background:rgba(4,16,31,.52)}body[data-theme=dark] .fred-estimate-scope .context-meter--warning{border-color:rgba(245,158,11,.36);background:rgba(64,45,12,.64)}body[data-theme=dark] .fred-estimate-scope .context-meter--danger{border-color:rgba(248,113,113,.42);background:rgba(74,20,28,.7)}body[data-theme=dark] .fred-estimate-scope .context-meter{border:0;background:transparent;color:var(--app-muted);opacity:.42}body[data-theme=dark] .fred-estimate-scope .context-meter--warning{color:#f3bc55;opacity:.52}body[data-theme=dark] .fred-estimate-scope .context-meter--danger{color:#ff8d8d;opacity:.6}body[data-theme=dark] .fred-estimate-scope .chat-panel{background:linear-gradient(180deg,color-mix(in srgb,var(--panel-accent) 24%,transparent) 0,rgba(7,17,34,.86) 260px,rgba(4,12,24,.94) 100%),#07111f}body[data-theme=dark] .fred-estimate-scope .files-fab{border-color:rgba(22,215,191,.7);background:rgba(22,215,191,.18);color:#ecf2ff;box-shadow:0 0 0 3px rgba(22,215,191,.12),0 14px 32px rgba(0,0,0,.38)}body[data-theme=dark] .fred-estimate-scope .files-fab:focus-visible,body[data-theme=dark] .fred-estimate-scope .files-fab:hover{border-color:#7ff3e5;background:#16d7bf;color:#04101f;box-shadow:0 0 0 4px rgba(22,215,191,.22),0 16px 34px rgba(0,0,0,.42)}body[data-theme=dark] .fred-estimate-scope .files-panel__header{border-color:var(--app-line)}body[data-theme=dark] .fred-estimate-scope .files-panel__backdrop,body[data-theme=dark] .fred-estimate-scope .project-modal__backdrop{background:rgba(1,7,16,.68)}body[data-theme=dark] .fred-estimate-scope .files-panel__close,body[data-theme=dark] .fred-estimate-scope .files-panel__refresh,body[data-theme=dark] .fred-estimate-scope .history-item__delete,body[data-theme=dark] .fred-estimate-scope .project-chip__delete,body[data-theme=dark] .fred-estimate-scope .project-chip__edit,body[data-theme=dark] .fred-estimate-scope .project-modal__cancel,body[data-theme=dark] .fred-estimate-scope .project-modal__close{color:color-mix(in srgb,var(--app-muted) 82%,transparent)}body[data-theme=dark] .fred-estimate-scope .estimate-panel__header button,body[data-theme=dark] .fred-estimate-scope .estimate-panel__icon,body[data-theme=dark] .fred-estimate-scope .file-chip button,body[data-theme=dark] .fred-estimate-scope .files-panel__close:hover,body[data-theme=dark] .fred-estimate-scope .files-panel__glyph,body[data-theme=dark] .fred-estimate-scope .files-panel__refresh:hover,body[data-theme=dark] .fred-estimate-scope .icon-button,body[data-theme=dark] .fred-estimate-scope .project-chip__icon,body[data-theme=dark] .fred-estimate-scope .project-modal__cancel:hover,body[data-theme=dark] .fred-estimate-scope .project-modal__close:hover{background:rgba(132,178,240,.12);color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .estimate-link,body[data-theme=dark] .fred-estimate-scope .estimate-return,body[data-theme=dark] .fred-estimate-scope .estimate-secondary,body[data-theme=dark] .fred-estimate-scope .file-chip,body[data-theme=dark] .fred-estimate-scope .message-action,body[data-theme=dark] .fred-estimate-scope .project-chip.active .project-chip__icon,body[data-theme=dark] .fred-estimate-scope .section-action{border-color:rgba(22,215,191,.28);background:rgba(22,215,191,.12);color:#7ff3e5}body[data-theme=dark] .fred-estimate-scope .estimate-return{border-color:rgba(132,178,240,.56);background:rgba(29,120,255,.2);color:#bfdbfe}body[data-theme=dark] .fred-estimate-scope .estimate-return:hover{border-color:rgba(191,219,254,.82);background:rgba(29,120,255,.28)}body[data-theme=dark] .fred-estimate-scope .estimate-return:focus-visible{outline-color:rgba(191,219,254,.72)}body[data-theme=dark] .fred-estimate-scope .message--focus-flash .bubble{border-color:rgba(127,243,229,.74);box-shadow:0 0 0 2px rgba(22,215,191,.34),0 16px 34px rgba(6,27,56,.48)}body[data-theme=dark] .fred-estimate-scope .estimate-total{background:linear-gradient(135deg,rgba(22,215,191,.24),transparent 65%),#0b2a4c;color:#ecf2ff}body[data-theme=dark] .fred-estimate-scope .estimate-panel{border-color:rgba(132,178,240,.26);background:linear-gradient(180deg,rgba(29,120,255,.16),transparent 150px),rgba(4,16,31,.78)}body[data-theme=dark] .fred-estimate-scope .estimate-category{border-color:rgba(132,178,240,.22);background:rgba(9,24,44,.78)}body[data-theme=dark] .fred-estimate-scope .estimate-category--scope-only{border-color:rgba(22,215,191,.38);background:rgba(6,78,59,.34)}body[data-theme=dark] .fred-estimate-scope .estimate-category--scope-only small,body[data-theme=dark] .fred-estimate-scope .estimate-category--scope-only strong{color:#a7f3d0}body[data-theme=dark] .fred-estimate-scope .estimate-category span,body[data-theme=dark] .fred-estimate-scope .estimate-category strong,body[data-theme=dark] .fred-estimate-scope .estimate-panel__header strong{color:#ecf2ff}body[data-theme=dark] .fred-estimate-scope .estimate-category small,body[data-theme=dark] .fred-estimate-scope .estimate-total span{color:rgba(236,242,255,.72)}body[data-theme=dark] .fred-estimate-scope .estimate-panel__icon{background:#123a64;color:#9ff8ee}body[data-theme=dark] .fred-estimate-scope .estimate-pricebook-link{color:#9cc4ff}body[data-theme=dark] .fred-estimate-scope .estimate-pricebook-link:hover{color:#bfdbfe}body[data-theme=dark] .fred-estimate-scope .sidebar--estimate-open .back-link{color:rgba(236,242,255,.86)}body[data-theme=dark] .fred-estimate-scope .option-card,body[data-theme=dark] .fred-estimate-scope .option-card__header,body[data-theme=dark] .fred-estimate-scope .option-text-box,body[data-theme=dark] .fred-estimate-scope .option-text-box__header{border-color:var(--app-line)}body[data-theme=dark] .fred-estimate-scope .option-text-box{background:rgba(4,16,31,.72);color:#ecf2ff}body[data-theme=dark] .fred-estimate-scope .option-diff{border-color:var(--app-line);background:rgba(4,16,31,.72)}body[data-theme=dark] .fred-estimate-scope .option-diff__table td,body[data-theme=dark] .fred-estimate-scope .option-diff__table th{border-color:var(--app-line)}body[data-theme=dark] .fred-estimate-scope .option-diff__table td{color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .option-diff__table th{background:rgba(11,27,49,.96)}body[data-theme=dark] .fred-estimate-scope .option-diff__heading span{color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .option-diff__stage-cell{background:rgba(8,23,42,.86)}body[data-theme=dark] .fred-estimate-scope .option-diff__stage-wait{color:rgba(232,238,248,.62)}body[data-theme=dark] .fred-estimate-scope .option-diff__row--construction td{color:#93c5fd;background:rgba(59,130,246,.14)}body[data-theme=dark] .fred-estimate-scope .option-diff__row--electrical td{color:#fca5a5;background:rgba(220,38,38,.12)}body[data-theme=dark] .fred-estimate-scope .option-diff__row--plumbing td{color:#d8b4fe;background:rgba(147,51,234,.14)}body[data-theme=dark] .fred-estimate-scope .option-diff__row--hvac td{color:#fdba74;background:rgba(249,115,22,.14)}body[data-theme=dark] .fred-estimate-scope .option-diff__row--general td,body[data-theme=dark] .fred-estimate-scope .option-diff__row--glendale td{color:var(--app-ink);background:rgba(132,178,240,.08)}body[data-theme=dark] .fred-estimate-scope .option-diff__row--totals td{color:#dbeafe;background:rgba(20,43,73,.72)}body[data-theme=dark] .fred-estimate-scope .option-diff__empty{color:var(--app-muted)}body[data-theme=dark] .fred-estimate-scope .option-card__header span{color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .estimate-warning,body[data-theme=dark] .fred-estimate-scope .files-panel__notice{border:1px solid rgba(251,191,36,.32);background:rgba(251,191,36,.12);color:#fde68a}body[data-theme=dark] .fred-estimate-scope .error-strip,body[data-theme=dark] .fred-estimate-scope .estimate-error,body[data-theme=dark] .fred-estimate-scope .estimate-panel--error,body[data-theme=dark] .fred-estimate-scope .files-panel__error,body[data-theme=dark] .fred-estimate-scope .message.failed .bubble{border-color:rgba(248,113,113,.36);background:rgba(127,29,29,.34);color:#fecaca}body[data-theme=dark] .fred-estimate-scope .status{background:rgba(251,191,36,.14);color:#fde68a}body[data-theme=dark] .fred-estimate-scope .status.ready{background:rgba(22,215,191,.14);color:#7ff3e5}body[data-theme=dark] .fred-estimate-scope .provider-card.active .provider-icon--brand,body[data-theme=dark] .fred-estimate-scope .provider-icon--brand{background:rgba(255,255,255,.94);border-color:rgba(255,255,255,.72)}body[data-theme=dark] .fred-estimate-scope .provider-card.active .status,body[data-theme=dark] .fred-estimate-scope .provider-card.active small,body[data-theme=dark] .fred-estimate-scope .provider-card.active strong{color:#ffffff}body[data-theme=dark] .fred-estimate-scope .avatar--assistant{background:rgba(255,255,255,.96);border-color:rgba(132,178,240,.36)}body[data-theme=dark] .fred-estimate-scope .message-table td,body[data-theme=dark] .fred-estimate-scope .message-table th,body[data-theme=dark] .fred-estimate-scope .message-table-wrap{border-color:var(--app-line)}body[data-theme=dark] .fred-estimate-scope .message-content,body[data-theme=dark] .fred-estimate-scope .message-plain,body[data-theme=dark] .fred-estimate-scope .message-table{color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .message-heading--5,body[data-theme=dark] .fred-estimate-scope .message-heading--6{color:rgba(236,242,255,.78)}body[data-theme=dark] .fred-estimate-scope .message-table-wrap{background:rgba(6,17,32,.68)}body[data-theme=dark] .fred-estimate-scope .message-table th{color:rgba(236,242,255,.9)}body[data-theme=dark] .fred-estimate-scope .message-table td{color:rgba(236,242,255,.86)}body[data-theme=dark] .fred-estimate-scope .message-content__department--electrical{--dept-divider:rgba(248,113,113,0.42);background:rgba(248,113,113,.16);border-color:rgba(248,113,113,.45)}body[data-theme=dark] .fred-estimate-scope .message-content__department--plumbing{--dept-divider:rgba(167,139,250,0.46);background:rgba(167,139,250,.18);border-color:rgba(167,139,250,.5)}body[data-theme=dark] .fred-estimate-scope .message-content__department--hvac{--dept-divider:rgba(251,146,60,0.42);background:rgba(251,146,60,.16);border-color:rgba(251,146,60,.44)}body[data-theme=dark] .fred-estimate-scope .message-content__department--construction{--dept-divider:rgba(96,165,250,0.46);background:rgba(96,165,250,.18);border-color:rgba(96,165,250,.5)}body[data-theme=dark] .fred-estimate-scope .message-content__department--engineering{--dept-divider:rgba(148,163,184,0.42);background:rgba(100,116,139,.2);border-color:rgba(148,163,184,.5)}body[data-theme=dark] .fred-estimate-scope .message-content__block--electrical .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-content__department--electrical .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-table-wrap--trade-electrical{border-color:rgba(248,113,113,.48);background:rgba(127,29,29,.18)}body[data-theme=dark] .fred-estimate-scope .message-content__block--plumbing .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-content__department--plumbing .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-table-wrap--trade-plumbing{border-color:rgba(167,139,250,.52);background:rgba(76,29,149,.2)}body[data-theme=dark] .fred-estimate-scope .message-content__block--hvac .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-content__department--hvac .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-table-wrap--trade-hvac{border-color:rgba(251,146,60,.48);background:rgba(124,45,18,.18)}body[data-theme=dark] .fred-estimate-scope .message-content__block--construction .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-content__department--construction .message-table-wrap,body[data-theme=dark] .fred-estimate-scope .message-table-wrap--trade-construction{border-color:rgba(96,165,250,.52);background:rgba(30,58,138,.2)}body[data-theme=dark] .fred-estimate-scope .message-content code,body[data-theme=dark] .fred-estimate-scope .message-table th{background:rgba(132,178,240,.12)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__group--description,body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__group--labor,body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__group--nms{background:rgba(29,120,255,.24)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__group--material{background:rgba(22,146,123,.24)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__group--subtrade,body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__group--total{background:rgba(249,115,22,.2)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__col--section-start{border-left-color:rgba(132,178,240,.3)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown tbody tr:nth-child(2n) td{background:rgba(132,178,240,.05)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__summary-row td{background:rgba(132,178,240,.14)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__scope-row td{background:rgba(22,146,123,.26);border-top-color:rgba(22,215,191,.5)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__scope-row--shared td{background:rgba(96,120,174,.22);border-top-color:rgba(150,179,240,.46)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__description-toggle:focus-visible,body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__scope-toggle:focus-visible{outline-color:rgba(22,215,191,.7)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__description-detail{color:rgba(232,238,248,.66)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__toggle-indicator{border-color:rgba(232,238,248,.36)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__scope-totals-row td{background:rgba(22,146,123,.16)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__scope-subtotal-row td{border-top-color:rgba(22,215,191,.62);border-bottom-color:rgba(22,215,191,.35)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__scope-totals-row .message-table__col--key-description{color:rgba(232,238,248,.82)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__nms-detail-row td{background:rgba(29,120,255,.12)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__nms-detail-row .message-table__col--key-description{color:rgba(236,242,255,.74)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__subtotal-row td{background:rgba(132,178,240,.2)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__discount-field{border-color:rgba(150,179,240,.52);background:rgba(5,15,31,.88)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__discount-field input{color:rgba(245,249,255,.96)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__discount-field input::-moz-placeholder{color:rgba(214,226,246,.82)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__discount-field input::placeholder,body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__discount-field span{color:rgba(214,226,246,.82)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__discount-field:focus-within{border-color:rgba(22,215,191,.78);box-shadow:0 0 0 2px rgba(22,215,191,.18)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__price-input{border-color:rgba(150,179,240,.52);background:rgba(5,15,31,.88);color:rgba(245,249,255,.96)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__price-input::-moz-placeholder{color:rgba(214,226,246,.86)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__price-input::placeholder{color:rgba(214,226,246,.86)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown .message-table__price-input:focus{border-color:rgba(22,215,191,.78);box-shadow:0 0 0 2px rgba(22,215,191,.18)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown tbody tr:hover td{box-shadow:inset 0 0 0 9999px rgba(150,179,240,.1)}body[data-theme=dark] .fred-estimate-scope .message-table--breakdown tbody td:hover{box-shadow:inset 0 0 0 9999px rgba(96,165,250,.2),inset 0 0 0 2px rgba(150,179,240,.9)}body[data-theme=dark] .fred-estimate-scope .message-content a{color:#9cc4ff}body[data-theme=dark] .fred-estimate-scope .message-content blockquote{border-left-color:rgba(132,178,240,.34);color:rgba(232,238,248,.74)}body[data-theme=dark] .fred-estimate-scope .message-content hr{background:var(--app-line)}body[data-theme=dark] .fred-estimate-scope .clarification-card{border-color:var(--app-line);background:rgba(132,178,240,.08)}body[data-theme=dark] .fred-estimate-scope .clarification-card__header p{color:rgba(232,238,248,.68)}body[data-theme=dark] .fred-estimate-scope .clarification-card__progress{background:rgba(29,120,255,.24);color:#bfdbfe}body[data-theme=dark] .fred-estimate-scope .clarification-section{border-color:var(--app-line);background:rgba(10,17,30,.52)}body[data-theme=dark] .fred-estimate-scope .clarification-question{border-color:rgba(132,178,240,.2);background:rgba(19,33,56,.56)}body[data-theme=dark] .fred-estimate-scope .clarification-question__number{color:rgba(232,238,248,.72)}body[data-theme=dark] .fred-estimate-scope .clarification-options{border-left-color:rgba(132,178,240,.38)}body[data-theme=dark] .fred-estimate-scope .clarification-option{border-color:var(--app-line);background:rgba(7,17,31,.96);color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .clarification-option:hover{background:rgba(29,120,255,.24);border-color:rgba(132,178,240,.46)}body[data-theme=dark] .fred-estimate-scope .clarification-option:focus-visible{outline-color:rgba(132,178,240,.58)}body[data-theme=dark] .fred-estimate-scope .clarification-option.is-selected{background:rgba(29,120,255,.34);border-color:rgba(132,178,240,.72)}body[data-theme=dark] .fred-estimate-scope .clarification-option__recommended{border-color:rgba(22,215,191,.52);background:rgba(22,215,191,.24);color:#a7f3d0}body[data-theme=dark] .fred-estimate-scope .clarification-option__reason{color:rgba(232,238,248,.76)}body[data-theme=dark] .fred-estimate-scope .clarification-option-input{border-color:var(--app-line);background:rgba(7,17,31,.88);color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .clarification-option-input:focus-visible{outline-color:rgba(132,178,240,.58)}body[data-theme=dark] .fred-estimate-scope .message-feedback-action{border-color:var(--app-line);background:rgba(4,16,31,.84);color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .message-feedback-action:hover{border-color:rgba(132,178,240,.58);background:rgba(29,120,255,.26);color:#dbeafe}body[data-theme=dark] .fred-estimate-scope .message-feedback-action:focus-visible{outline-color:rgba(132,178,240,.62)}body[data-theme=dark] .fred-estimate-scope .message-feedback-action.is-active,body[data-theme=dark] .fred-estimate-scope .message-feedback-action.is-copied,body[data-theme=dark] .fred-estimate-scope .message-feedback-action.is-positive{border-color:rgba(22,215,191,.58);background:rgba(22,215,191,.18);color:#a7f3d0}body[data-theme=dark] .fred-estimate-scope .message-feedback-action.is-negative{border-color:rgba(248,113,113,.56);background:rgba(127,29,29,.34);color:#fecaca}body[data-theme=dark] .fred-estimate-scope .message-downvote-panel{border-color:var(--app-line);background:rgba(7,17,31,.64)}body[data-theme=dark] .fred-estimate-scope .message-downvote-panel p{color:rgba(232,238,248,.84)}body[data-theme=dark] .fred-estimate-scope .message-downvote-panel textarea{border-color:var(--app-line);background:rgba(4,16,31,.92);color:var(--app-ink)}body[data-theme=dark] .fred-estimate-scope .message-downvote-panel textarea:focus-visible{outline-color:rgba(132,178,240,.62)}body[data-theme=dark] .fred-estimate-scope .message-code-block{border-color:var(--app-line);background:rgba(132,178,240,.08)}body[data-theme=dark] .fred-estimate-scope .message-code-block__lang{color:rgba(232,238,248,.58)}body[data-theme=dark] .fred-estimate-scope .back-link:hover,body[data-theme=dark] .fred-estimate-scope .history-item:hover,body[data-theme=dark] .fred-estimate-scope .project-chip:hover{background:rgba(132,178,240,.08)}body[data-theme=dark] .fred-estimate-scope .theme-toggle-global:focus-visible,body[data-theme=dark] .fred-estimate-scope .theme-toggle-global:hover{border-color:rgba(132,178,240,.52);background:rgba(132,178,240,.14)}body[data-theme=dark] .fred-estimate-scope .history-item.active,body[data-theme=dark] .fred-estimate-scope .project-chip.active{background:rgba(22,215,191,.12);border-color:rgba(22,215,191,.32)}body[data-theme=dark] .fred-estimate-scope .history-item.active .history-item__title,body[data-theme=dark] .fred-estimate-scope .project-chip.active .project-chip__name{color:#ecf2ff}body[data-theme=dark] .fred-estimate-scope .history-item.active .history-item__meta,body[data-theme=dark] .fred-estimate-scope .project-chip.active .project-chip__meta{color:rgba(236,242,255,.72)}body[data-theme=dark] .fred-estimate-scope .new-chat,body[data-theme=dark] .fred-estimate-scope .project-modal__submit,body[data-theme=dark] .fred-estimate-scope .send-button{background:linear-gradient(135deg,#16d7bf,#1d78ff);color:#04101f}body[data-theme=dark] .fred-estimate-scope .provider-card.active{background:color-mix(in srgb,var(--accent) 16%,#07111f)}@keyframes spin{to{transform:rotate(1turn)}}@keyframes messageFocusFlash{0%{transform:translateY(-1px)}22%{transform:translateY(0);box-shadow:0 0 0 3px rgba(22,215,191,.3),0 16px 34px rgba(20,92,124,.26)}to{box-shadow:0 0 0 0 rgba(22,215,191,0),0 10px 28px rgba(24,32,31,.08)}}@media (max-width:900px){.fred-estimate-scope{--app-ui-scale:1;--app-scaled-viewport-width:100vw;--app-scaled-viewport-height:100vh}.fred-estimate-scope .app-shell{grid-template-columns:1fr;grid-template-rows:minmax(0,42vh) minmax(0,1fr);padding:10px;width:100vw;height:100vh;transform:none}.fred-estimate-scope .app-shell:has(.sidebar--estimate-open){grid-template-rows:minmax(0,64vh) minmax(0,1fr)}.fred-estimate-scope .sidebar{gap:14px;overflow-y:auto}.fred-estimate-scope .provider-list{grid-template-columns:repeat(3,minmax(0,1fr))}.fred-estimate-scope .provider-card{grid-template-columns:1fr;min-height:128px}.fred-estimate-scope .status{justify-self:start}.fred-estimate-scope .note-panel{display:none}}@media (max-width:620px){.fred-estimate-scope .provider-list{grid-template-columns:1fr}.fred-estimate-scope .chat-header,.fred-estimate-scope .messages{padding:18px}.fred-estimate-scope .message,.fred-estimate-scope .message.message--wide,.fred-estimate-scope .message.user,.fred-estimate-scope .option-comparison,.fred-estimate-scope .option-text-grid{grid-template-columns:1fr}.fred-estimate-scope .option-diff__table{min-width:640px}.fred-estimate-scope .option-card,.fred-estimate-scope .option-card:first-child{padding:0;border-left:0}.fred-estimate-scope .message .avatar,.fred-estimate-scope .message .bubble,.fred-estimate-scope .message.user .avatar,.fred-estimate-scope .message.user .bubble{grid-column:1}.fred-estimate-scope .message.user .avatar{justify-self:end}.fred-estimate-scope .drop-zone{grid-template-columns:42px minmax(0,1fr) 44px}}.fred-estimate-scope{min-height:calc(100vh - var(--mantine-app-shell-header-height, 80px));background:transparent;overflow:visible;--app-ui-scale:1;--app-scaled-viewport-width:100%;--app-scaled-viewport-height:calc(100vh - var(--mantine-app-shell-header-height, 80px))}.fred-estimate-scope .app-shell{width:100%;height:calc(100vh - var(--mantine-app-shell-header-height, 80px));min-height:720px;padding:clamp(14px,1.35vw,18px);transform:none;transform-origin:initial}.fred-estimate-scope .theme-toggle-global--sidebar{display:none}.fred-estimate-scope .back-link{width:100%}@media (max-width:1100px){.fred-estimate-scope .app-shell{grid-template-columns:minmax(240px,320px) minmax(0,1fr)}}@media (max-width:840px){.fred-estimate-scope .app-shell{height:auto;min-height:calc(100vh - var(--mantine-app-shell-header-height, 80px));overflow:visible}}