@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap"); :root { color-scheme: light; --cream: #f7f1dc; --ivory: #fffaf0; --ivory-2: #fbf4df; --forest: #263a1b; --forest-2: #345326; --forest-3: #14210f; --brown: #2e1c18; --muted: #6f5b50; --gold: #d4af37; --gold-2: #f0d681; --line: #ddceb0; --line-strong: #c4aa73; --danger: #9f3c32; --shadow: 0 24px 70px rgba(11, 19, 8, 0.34); } * { box-sizing: border-box; } [hidden] { display: none !important; } html, body { height: 100%; } body { margin: 0; height: 100vh; overflow: hidden; background: radial-gradient(circle at 18% 10%, rgba(240, 214, 129, 0.24), transparent 30%), radial-gradient(circle at 85% 16%, rgba(255, 250, 240, 0.12), transparent 28%), linear-gradient(135deg, #14210f 0%, #263a1b 42%, #345326 100%); color: var(--brown); font-family: Inter, "Segoe UI", Arial, sans-serif; text-rendering: geometricPrecision; } body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 38%, rgba(0, 0, 0, 0.08)); } .shell { display: grid; grid-template-columns: 64px minmax(0, 1fr) 380px; gap: 24px; height: 100vh; min-height: 0; overflow: hidden; padding: 24px; } .shell.chat-open { grid-template-columns: 280px minmax(0, 1fr) 380px; } .workspace, .actions, .chat-rail { position: relative; overflow: hidden; border: 1px solid rgba(240, 214, 129, 0.34); border-radius: 28px; background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.76); } .workspace { display: flex; flex-direction: column; height: 100%; min-width: 0; min-height: 0; } .chat-rail { display: grid; grid-template-rows: auto 1fr; min-width: 0; min-height: 0; padding: 12px; background: linear-gradient(180deg, #fffaf0 0%, #f7f1dc 100%); } .chat-rail-top { display: grid; gap: 10px; } .shell.chat-open .chat-rail-top { grid-template-columns: 1fr 1fr; } .chat-rail-content { display: grid; grid-template-rows: minmax(0, 1.7fr) minmax(72px, 0.45fr) minmax(92px, 0.65fr) minmax(120px, 0.95fr); gap: 16px; min-height: 0; padding-top: 16px; opacity: 1; transition: opacity 160ms ease; } .chat-rail.collapsed .chat-rail-content { pointer-events: none; opacity: 0; } .chat-nav-section { min-height: 0; overflow: hidden; } .rail-heading { margin-bottom: 8px; color: var(--forest); font-size: 12px; font-weight: 800; text-transform: uppercase; } .rail-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; } .rail-heading-actions { display: inline-flex; align-items: center; gap: 6px; } .rail-heading-row .rail-heading { margin-bottom: 0; } .rail-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 28px; min-width: 28px; height: 28px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff9e9; color: var(--forest); box-shadow: 0 8px 18px rgba(38, 58, 27, 0.08); } .rail-icon-button svg { width: 15px; height: 15px; } .chat-list, .inbox-list, .plans-rail-list { display: grid; gap: 8px; max-height: calc(100% - 26px); overflow: auto; } .chat-item, .inbox-item, .plan-rail-item { display: grid; align-items: center; gap: 6px; min-height: 38px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 250, 240, 0.78); } .chat-item { grid-template-columns: minmax(0, 1fr) auto auto; } .inbox-item { grid-template-columns: minmax(0, 1fr) auto auto; } .plan-rail-item { grid-template-columns: minmax(0, 1fr) auto; width: 100%; min-width: 0; border: 1px solid var(--line); background: rgba(255, 250, 240, 0.78); color: var(--brown); font-family: Inter, "Segoe UI", Arial, sans-serif; text-align: left; box-shadow: none; cursor: pointer; } .plan-rail-item:hover { background: #edf3df; color: var(--brown); box-shadow: none; } .chat-item.active { border-color: rgba(52, 83, 38, 0.42); background: #edf3df; } .chat-title, .inbox-title, .plan-rail-title { min-width: 0; overflow: hidden; color: var(--brown); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; } .chat-title { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; font-family: Inter, "Segoe UI", Arial, sans-serif; text-align: left; } .chat-title:hover { background: transparent; box-shadow: none; transform: none; } .inbox-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .plan-rail-title { white-space: nowrap; } .plan-rail-status { min-width: 0; padding: 3px 6px; border: 1px solid rgba(52, 83, 38, 0.2); border-radius: 999px; background: #edf3df; color: var(--forest); font-size: 10px; font-weight: 800; text-transform: uppercase; } .actions { display: flex; flex-direction: column; padding: 28px; overflow: auto; min-height: 0; } .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 26px 28px; border-bottom: 1px solid rgba(240, 214, 129, 0.28); background: linear-gradient(90deg, rgba(20, 33, 15, 0.96), rgba(38, 58, 27, 0.94)), radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.24), transparent 34%); } .brand-block { display: flex; align-items: center; gap: 18px; min-width: 0; } .brand-copy { display: grid; align-items: center; gap: 5px; min-width: 0; } .brand-short { display: none; } .logo-wrap { position: relative; display: grid; width: 72px; height: 72px; flex: 0 0 72px; place-items: center; border: 1px solid rgba(240, 214, 129, 0.46); border-radius: 22px; background: radial-gradient(circle at 35% 25%, rgba(240, 214, 129, 0.34), transparent 44%), linear-gradient(145deg, rgba(255, 250, 240, 0.12), rgba(0, 0, 0, 0.14)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 32px rgba(0, 0, 0, 0.2); } .logo-wrap img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.28)); } h1, h2, p { margin: 0; } h1, h2, .eyebrow, button, .status { font-family: "Playfair Display", Georgia, serif; } h1 { color: var(--ivory); font-size: 36px; font-weight: 800; line-height: 1.02; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.38); } h2 { margin-bottom: 14px; color: var(--brown); font-size: 24px; font-weight: 800; line-height: 1.15; } .eyebrow { color: var(--gold-2); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; } .topbar p { max-width: 580px; color: rgba(255, 250, 240, 0.82); font-size: 14px; font-weight: 500; } .muted { color: var(--muted); font-size: 14px; } .status { min-width: 92px; padding: 10px 14px; border: 1px solid rgba(240, 214, 129, 0.42); border-radius: 999px; background: rgba(255, 250, 240, 0.1); color: var(--gold-2); font-size: 14px; font-weight: 800; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); } .warning { padding: 12px 28px; border-bottom: 1px solid rgba(196, 170, 115, 0.38); background: #f2e7bd; color: #553906; font-size: 14px; font-weight: 600; } .messages { flex: 1 1 auto; overflow: auto; min-height: 0; padding: 28px 28px 18px; background: radial-gradient(circle at 50% 12%, rgba(212, 175, 55, 0.1), transparent 34%), linear-gradient(180deg, rgba(247, 241, 220, 0.58), rgba(255, 250, 240, 0.64)); } .message { width: fit-content; max-width: min(920px, 88%); margin-bottom: 16px; padding: 17px 18px; border: 1px solid rgba(221, 206, 176, 0.9); border-radius: 18px; color: var(--brown); line-height: 1.55; overflow-wrap: anywhere; box-shadow: 0 16px 38px rgba(38, 58, 27, 0.11); } .message p { margin: 0 0 8px; } .message p:last-child, .message ul:last-child, .message ol:last-child, .message blockquote:last-child, .message .table-wrap:last-child, .message pre:last-child { margin-bottom: 0; } .message ul, .message ol { margin: 0 0 10px 22px; padding: 0; } .message li { margin: 4px 0; } .message li.nested { margin-left: 20px; color: var(--muted); } .message strong { color: var(--forest); font-weight: 800; } .message h3 { margin: 14px 0 8px; color: var(--forest); font-family: "Playfair Display", Georgia, serif; font-size: 19px; line-height: 1.25; } .message h4, .message h5, .message h6 { margin: 11px 0 7px; color: var(--forest); font-family: "Playfair Display", Georgia, serif; font-size: 16px; line-height: 1.3; } .message hr { height: 1px; margin: 14px 0; border: 0; background: linear-gradient(90deg, transparent, rgba(196, 170, 115, 0.72), transparent); } .message code { padding: 2px 6px; border: 1px solid rgba(38, 58, 27, 0.15); border-radius: 7px; background: rgba(38, 58, 27, 0.08); color: var(--forest); font-family: Consolas, Monaco, monospace; font-size: 0.9em; } .message pre { max-height: none; margin: 0 0 10px; white-space: pre; } .message pre code { display: block; padding: 0; border: 0; background: transparent; color: inherit; } .message blockquote { margin: 0 0 10px; padding: 11px 13px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(212, 175, 55, 0.13); color: #4b352c; } .message a { color: var(--forest-2); font-weight: 700; } .table-wrap { max-width: 100%; margin: 0 0 10px; overflow-x: auto; } .message table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; } .message th, .message td { padding: 9px 10px; border: 1px solid var(--line); vertical-align: top; } .message th { background: rgba(38, 58, 27, 0.11); color: var(--forest); font-weight: 800; } .message.user { margin-left: auto; max-width: min(720px, 76%); border-color: rgba(52, 83, 38, 0.28); background: linear-gradient(180deg, #edf3df, #e5efd4); } .message.assistant { background: rgba(255, 250, 240, 0.96); } .message-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; margin-bottom: 12px; } .message-image { overflow: hidden; border: 1px solid rgba(88, 66, 47, 0.18); border-radius: 14px; background: rgba(255, 255, 255, 0.78); } .message-image img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; } .message-image-label { display: block; padding: 8px 10px; color: #6d5b4e; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .message.warning-message { border-color: rgba(212, 175, 55, 0.6); background: #f5eac4; } .composer-wrap { position: relative; flex: 0 0 auto; margin-top: auto; bottom: 0; z-index: 5; border-top: 1px solid var(--line); background: rgba(255, 250, 240, 0.88); box-shadow: 0 -16px 34px rgba(38, 58, 27, 0.12); } .message-activity { display: grid; grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr); align-items: center; gap: 12px; min-height: 32px; margin: -4px 0 9px; padding: 5px 8px; border: 1px solid rgba(221, 206, 176, 0.68); border-radius: 12px; background: rgba(247, 241, 220, 0.52); color: var(--muted); font-size: 12px; font-weight: 600; } .message-phase { display: inline-flex; align-items: center; justify-content: center; grid-column: 2; min-width: 0; line-height: 1; text-align: center; } .message-metrics { grid-column: 3; justify-self: end; color: #8b7769; text-align: right; white-space: nowrap; } .thinking-log { margin: 0 0 10px; color: var(--muted); font-size: 13px; } .thinking-log summary { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 2px; color: #7b6b60; cursor: pointer; font-weight: 700; list-style: none; } .thinking-log summary::-webkit-details-marker { display: none; } .thinking-log summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 160ms ease; } .thinking-log[open] summary::before { transform: rotate(45deg) translateY(-1px); } .thinking-log.thinking-active summary { color: var(--forest); } .thinking-steps { max-width: 720px; margin: 3px 0 2px 16px; padding: 2px 0 2px 16px; border-left: 2px solid rgba(111, 91, 80, 0.2); color: #7b6b60; list-style: none; } .thinking-steps li { position: relative; margin: 6px 0; line-height: 1.45; } .thinking-raw-step { white-space: pre-wrap; } .thinking-steps li::before { content: ""; position: absolute; top: 0.72em; left: -21px; width: 7px; height: 7px; border-radius: 50%; background: rgba(111, 91, 80, 0.42); transform: translateY(-50%); } .working-dots { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; transform: translateY(-1px); } .working-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: pulse-dot 1.2s infinite ease-in-out; } .working-dots i:nth-child(2) { animation-delay: 0.16s; } .working-dots i:nth-child(3) { animation-delay: 0.32s; } @keyframes pulse-dot { 0%, 80%, 100% { opacity: 0.35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } } .composer { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 20px; } .composer-main { display: grid; gap: 12px; } .composer-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; } .composer-image { position: relative; overflow: hidden; border: 1px solid rgba(88, 66, 47, 0.16); border-radius: 14px; background: rgba(255, 255, 255, 0.88); box-shadow: 0 12px 26px rgba(38, 58, 27, 0.08); } .composer-image img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; } .composer-image-name { display: block; padding: 8px 10px 10px; color: #6d5b4e; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .composer-image-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; min-height: 28px; padding: 0; border-radius: 999px; border: 1px solid rgba(88, 66, 47, 0.18); background: rgba(255, 250, 240, 0.92); color: var(--brown); font-size: 16px; line-height: 1; } textarea { width: 100%; min-height: 58px; max-height: 180px; padding: 16px 17px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 18px; outline: none; background: #fffdf7; color: var(--brown); font: inherit; font-size: 15px; line-height: 1.45; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 28px rgba(38, 58, 27, 0.08); } textarea::placeholder { color: #88776c; } textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.22), 0 10px 28px rgba(38, 58, 27, 0.09); } textarea:disabled { opacity: 0.66; } input[type="text"], input[type="password"], input[type="number"], select { width: 100%; min-height: 38px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 10px; outline: none; background: #fffdf7; color: var(--brown); font: inherit; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); } input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18); } button { min-width: 104px; border: 0; border-radius: 18px; background: linear-gradient(180deg, #345326, #1f3416); color: var(--ivory); font-weight: 800; cursor: pointer; box-shadow: 0 16px 28px rgba(31, 52, 22, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14); transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; } .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 40px; min-width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff9e9; color: var(--forest); box-shadow: 0 10px 22px rgba(38, 58, 27, 0.08); } .shell.chat-open .chat-rail-top .icon-button { width: 100%; min-width: 0; padding: 0 10px; } .icon-button span { display: none; overflow: hidden; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; } .shell.chat-open .chat-rail-top .icon-button span { display: inline; } .icon-button svg { width: 18px; height: 18px; flex: 0 0 18px; } .icon-button.light { background: rgba(255, 250, 240, 0.86); } .chat-item .icon-button, .inbox-item .icon-button { width: 30px; min-width: 30px; height: 30px; border-radius: 8px; } .negotiation-link { display: inline; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--forest-2); font-family: inherit; font-weight: 800; text-decoration: underline; box-shadow: none; } .negotiation-link:hover { background: transparent; box-shadow: none; } .floating-panel { position: fixed; right: 28px; bottom: 28px; z-index: 20; display: grid; grid-template-rows: auto minmax(180px, 360px) auto auto; width: min(520px, calc(100vw - 28px)); max-height: min(760px, calc(100vh - 56px)); border: 1px solid rgba(240, 214, 129, 0.42); border-radius: 18px; background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%); box-shadow: var(--shadow); } #negotiation-panel { grid-template-rows: auto minmax(0, 1fr); width: min(1280px, calc(100vw - 28px)); max-height: min(860px, calc(100vh - 56px)); } .negotiation-sync-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border: 1px solid rgba(240, 214, 129, 0.32); border-radius: 999px; background: rgba(255, 250, 240, 0.12); color: var(--gold-2); font-size: 11px; font-weight: 800; text-transform: uppercase; } .floating-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(20, 33, 15, 0.96), rgba(38, 58, 27, 0.94)); } .floating-panel-header h2 { margin: 3px 0 0; color: var(--ivory); } .negotiation-workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr) 260px; min-height: 0; height: 100%; } .negotiation-sidebar, .negotiation-thread-shell, .negotiation-detail-rail { min-height: 0; } .negotiation-sidebar { display: grid; grid-template-rows: auto minmax(0, 1fr); border-right: 1px solid var(--line); background: rgba(255, 250, 240, 0.58); } .negotiation-sidebar-controls { display: grid; gap: 10px; padding: 14px; border-bottom: 1px solid var(--line); } .negotiation-list-panel { display: grid; gap: 8px; padding: 14px; overflow: auto; } .negotiation-row { display: grid; gap: 6px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 253, 247, 0.86); cursor: pointer; } .negotiation-row.active { border-color: rgba(52, 83, 38, 0.42); background: #edf3df; } .negotiation-row-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .negotiation-row-title { color: var(--forest); font-size: 13px; font-weight: 800; } .negotiation-row-meta { color: var(--muted); font-size: 12px; line-height: 1.45; } .negotiation-row-badge { padding: 3px 7px; border-radius: 999px; background: #edf3df; color: var(--forest); font-size: 10px; font-weight: 800; text-transform: uppercase; } .negotiation-row-badge.closed { background: #efe6ce; color: var(--muted); } .negotiation-row-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--forest); color: var(--ivory); font-size: 11px; font-weight: 800; } .negotiation-thread-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; } .negotiation-thread-header { padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 253, 247, 0.82); } .negotiation-messages { overflow: auto; padding: 16px; } .negotiation-message { margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 250, 240, 0.86); font-size: 13px; line-height: 1.42; overflow-wrap: anywhere; } .negotiation-message.self { border-color: rgba(52, 83, 38, 0.28); background: #edf3df; } .negotiation-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 700; } .negotiation-composer { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px; border-top: 1px solid var(--line); } .negotiation-composer textarea { min-height: 48px; border-radius: 12px; } .negotiation-composer-actions { display: flex; gap: 10px; } .negotiation-composer-actions button { flex: 1; } .negotiation-detail-rail { display: grid; align-content: start; gap: 12px; padding: 14px; border-left: 1px solid var(--line); background: rgba(255, 250, 240, 0.52); overflow: auto; } .negotiation-detail-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 253, 247, 0.86); } .negotiation-detail-card h3 { margin: 0; color: var(--forest); font-size: 14px; } .negotiation-detail-kv { display: grid; gap: 6px; } .negotiation-detail-kv div { color: var(--muted); font-size: 12px; line-height: 1.45; } .negotiation-detail-kv strong { color: var(--brown); } .negotiation-action-stack { display: grid; gap: 10px; } .negotiation-close-card { width: min(520px, 100%); } .modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(20, 33, 15, 0.42); } .update-modal-card { width: min(440px, 100%); padding: 22px; border: 1px solid rgba(240, 214, 129, 0.42); border-radius: 18px; background: var(--ivory); box-shadow: var(--shadow); } .update-modal-card p { margin: 6px 0 18px; color: var(--muted); line-height: 1.45; } .floating-panel-actions { display: inline-flex; align-items: center; gap: 8px; } .plans-floating-panel { grid-template-rows: auto minmax(0, 1fr); width: min(980px, calc(100vw - 28px)); } .plans-panel-body { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 20px; min-height: 0; padding: 20px; overflow: auto; } button:hover { background: linear-gradient(180deg, #3d612c, #263e1b); box-shadow: 0 18px 34px rgba(31, 52, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16); transform: translateY(-1px); } button:active { transform: translateY(0); } button.secondary { min-width: 0; padding: 10px 14px; border: 1px solid var(--line-strong); background: #fff9e9; color: var(--forest); box-shadow: 0 10px 22px rgba(38, 58, 27, 0.08); } .small-button { min-width: 0; padding: 8px 12px; font-size: 13px; } .danger-button { width: 100%; min-width: 0; padding: 12px 14px; margin: 14px 0; border: 1px solid rgba(159, 60, 50, 0.28); background: linear-gradient(180deg, #fff5e9, #f5e6d4); color: var(--danger); box-shadow: 0 12px 25px rgba(88, 43, 33, 0.1); } .danger-button:hover { background: linear-gradient(180deg, #fff2e5, #edd8c6); color: #7f2d25; } .side-section { margin-bottom: 0; } .side-section + .side-section { padding-top: 24px; border-top: 1px solid var(--line); } .sidebar-tools { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 24px; background: transparent; } .sidebar-tool-buttons { display: flex; flex-wrap: nowrap; justify-content: flex-end; width: 100%; min-width: 0; gap: 8px; position: sticky; bottom: 0; z-index: 2; padding-top: 14px; padding-bottom: 2px; background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%); } .sidebar-tool-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 1 42px; gap: 0; width: 42px; min-width: 36px; min-height: 42px; padding: 9px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff9e9; color: var(--forest); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 10px 22px rgba(38, 58, 27, 0.08); transition: flex-basis 180ms ease, width 180ms ease, gap 180ms ease, padding 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease; } .sidebar-tool-button:hover, .sidebar-tool-button:focus-visible { flex-basis: 108px; width: 108px; gap: 7px; padding-inline: 12px; border-color: rgba(212, 175, 55, 0.72); background: linear-gradient(180deg, #3d612c, #263e1b); color: var(--ivory); } .sidebar-tool-button span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width 180ms ease, opacity 140ms ease; } .sidebar-tool-button:hover span, .sidebar-tool-button:focus-visible span { max-width: 70px; opacity: 1; } .sidebar-tool-button svg { width: 18px; height: 18px; flex: 0 0 18px; stroke-width: 2.3; } .sidebar-tool-image { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; } .sidebar-tool-image + svg { display: none; } .sidebar-tool-button.active { border-color: rgba(212, 175, 55, 0.72); background: linear-gradient(180deg, #345326, #1f3416); color: var(--ivory); } .sidebar-panel { padding-bottom: 12px; border-bottom: 1px solid var(--line); } .sidebar-panel .section-title-row { position: relative; z-index: 1; } .config-form { display: grid; gap: 10px; } .config-form label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 800; } .config-check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; } .config-form button { width: 100%; min-height: 42px; margin-top: 2px; } .config-paths, .config-status { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; line-height: 1.35; } .config-status { color: var(--forest); font-weight: 800; } .plan-creator-shell, .plans-dashboard-shell { min-height: 0; } .plan-creator-card { display: grid; gap: 18px; padding: 20px; border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 22px; background: radial-gradient(circle at top right, rgba(240, 214, 129, 0.18), transparent 34%), linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(247, 241, 220, 0.94)); box-shadow: 0 20px 40px rgba(38, 58, 27, 0.08); } .plan-creator-copy { display: grid; gap: 8px; } .plan-creator-copy h3 { margin: 0; color: var(--forest); font-family: "Playfair Display", Georgia, serif; font-size: 28px; line-height: 1.02; } .plan-creator-copy p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; } .plan-form-grid { gap: 12px; } .plan-form-grid textarea { min-height: 96px; } .plan-form-actions { display: flex; gap: 10px; } .plan-form-actions button { flex: 1; } .plan-form-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .plan-form-hint { display: grid; align-content: start; gap: 4px; padding: 12px 13px; border: 1px dashed rgba(52, 83, 38, 0.24); border-radius: 14px; background: rgba(237, 243, 223, 0.68); color: var(--muted); font-size: 12px; line-height: 1.45; } .plan-form-hint strong { color: var(--forest); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; } .ollama-status { display: grid; gap: 8px; margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 250, 240, 0.78); color: var(--muted); font-size: 12px; line-height: 1.4; } .ollama-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .ollama-status-item { display: grid; gap: 2px; min-width: 0; } .ollama-status-item strong { color: var(--forest); font-size: 11px; text-transform: uppercase; } .ollama-status-item span { overflow-wrap: anywhere; } .status-pill { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 4px 8px; border: 1px solid rgba(52, 83, 38, 0.28); border-radius: 999px; background: #edf3df; color: var(--forest); font-weight: 800; } .status-pill.warning { border-color: rgba(159, 60, 50, 0.26); background: #fff2e5; color: var(--danger); } .ollama-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; } .ollama-actions button { width: 100%; } .attention-pulse { position: relative; border-color: rgba(47, 125, 50, 0.72) !important; box-shadow: 0 0 0 0 rgba(55, 148, 61, 0.54); animation: green-attention-pulse 1.35s ease-out infinite; } .attention-pulse:disabled, .attention-pulse[hidden] { animation: none; box-shadow: none; } @keyframes green-attention-pulse { 0% { box-shadow: 0 0 0 0 rgba(55, 148, 61, 0.58); } 70% { box-shadow: 0 0 0 10px rgba(55, 148, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(55, 148, 61, 0); } } .update-box { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); } .update-box h2 { margin-bottom: 0; } .update-status { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 250, 240, 0.78); color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; } .update-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .update-actions button { width: 100%; } .section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .memory-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 14px; color: var(--muted); font-size: 14px; font-weight: 600; } .memory-controls label { display: flex; align-items: center; gap: 8px; } input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--forest); } .memory-inspector { font-size: 13px; line-height: 1.35; } .memory-counts { margin-bottom: 7px; color: var(--brown); font-weight: 800; } .memory-path { margin-bottom: 12px; overflow-wrap: anywhere; color: var(--muted); } .memory-group { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 250, 240, 0.76); } .memory-group summary { padding: 11px 13px; color: var(--forest); cursor: pointer; font-weight: 800; } .memory-group pre { margin: 0 12px 12px; white-space: pre-wrap; } .pending-empty { color: var(--muted); font-size: 15px; font-weight: 500; } .pending-card { padding: 15px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 250, 240, 0.82); box-shadow: 0 14px 32px rgba(38, 58, 27, 0.1); } .pending-card strong { display: block; margin-bottom: 8px; color: var(--forest); font-family: "Playfair Display", Georgia, serif; font-size: 17px; } pre { max-height: 240px; padding: 12px; overflow: auto; border: 1px solid rgba(38, 58, 27, 0.14); border-radius: 14px; background: #efe6ce; color: #3c2923; font-size: 12px; } .pending-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pending-card button { width: 100%; padding: 11px; } .plans-dashboard { display: grid; gap: 14px; min-height: 0; } .plans-overview { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 6px 2px 10px; } .plans-overview h3 { margin: 4px 0 0; color: var(--forest); font-family: "Playfair Display", Georgia, serif; font-size: 31px; line-height: 1.04; } .plan-overview-copy { max-width: 48ch; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; } .plan-overview-stats { display: flex; flex-wrap: wrap; gap: 10px; } .plan-overview-stat { display: grid; gap: 2px; min-width: 110px; padding: 12px 14px; border: 1px solid rgba(212, 175, 55, 0.28); border-radius: 16px; background: rgba(255, 250, 240, 0.78); box-shadow: 0 12px 24px rgba(38, 58, 27, 0.06); } .plan-overview-stat-value { color: var(--forest); font-size: 24px; font-weight: 800; line-height: 1; } .plan-overview-stat-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .plan-empty-state { padding: 22px; border: 1px dashed rgba(52, 83, 38, 0.24); border-radius: 22px; background: rgba(255, 253, 247, 0.72); } .plan-empty-state h4 { margin: 0 0 6px; color: var(--forest); font-size: 18px; } .plan-empty-state p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; } .plan-card { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(221, 206, 176, 0.92); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(251, 244, 223, 0.88)); box-shadow: 0 16px 30px rgba(38, 58, 27, 0.06); } .plan-card.active { border-color: rgba(52, 83, 38, 0.32); background: radial-gradient(circle at top right, rgba(190, 212, 144, 0.22), transparent 26%), linear-gradient(180deg, rgba(247, 250, 238, 0.98), rgba(237, 243, 223, 0.96)); } .plan-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .plan-card h3 { margin: 0; color: var(--forest); font-size: 19px; line-height: 1.18; } .plan-status-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .plan-status-active { border-color: rgba(52, 83, 38, 0.28); background: rgba(237, 243, 223, 0.9); color: var(--forest); } .plan-status-badge.plan-status-active { border: 1px solid rgba(52, 83, 38, 0.24); } .plan-status-paused { border-color: rgba(196, 170, 115, 0.42); background: rgba(255, 246, 220, 0.86); color: #7a5a18; } .plan-status-badge.plan-status-paused { border: 1px solid rgba(196, 170, 115, 0.34); } .plan-status-needs-input { border-color: rgba(159, 60, 50, 0.24); background: rgba(255, 241, 237, 0.88); color: var(--danger); } .plan-status-badge.plan-status-needs-input { border: 1px solid rgba(159, 60, 50, 0.22); } .plan-status-canceled, .plan-status-completed { opacity: 0.84; } .plan-status-badge.plan-status-canceled, .plan-status-badge.plan-status-completed { border: 1px solid rgba(111, 91, 80, 0.18); background: rgba(255, 250, 240, 0.82); color: var(--muted); } .plan-meta, .plan-line { color: var(--muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; } .plan-pill-row, .plan-controls { display: flex; flex-wrap: wrap; gap: 8px; } .plan-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border: 1px solid rgba(52, 83, 38, 0.14); border-radius: 999px; background: rgba(255, 250, 240, 0.88); color: var(--forest); font-size: 11px; font-weight: 800; text-transform: uppercase; } .plan-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .plan-metric { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid rgba(221, 206, 176, 0.78); border-radius: 14px; background: rgba(255, 253, 247, 0.76); } .plan-metric-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; } .plan-metric-value { color: var(--brown); font-size: 13px; font-weight: 700; line-height: 1.35; } .plan-controls button { flex: 1 1 80px; min-width: 0; } .plan-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 10px; border-top: 1px solid rgba(221, 206, 176, 0.92); } .plan-detail-loading { grid-template-columns: 1fr; padding: 16px; border: 1px dashed rgba(52, 83, 38, 0.2); border-radius: 16px; background: rgba(255, 253, 247, 0.72); color: var(--muted); font-size: 13px; text-align: center; } .plan-section { display: grid; gap: 8px; } .plan-detail h4 { margin: 0; color: var(--forest); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; } .plan-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; } .plan-list li { display: grid; gap: 5px; padding: 10px 11px; border: 1px solid rgba(221, 206, 176, 0.72); border-radius: 12px; background: rgba(255, 253, 247, 0.8); color: var(--brown); font-size: 12px; line-height: 1.4; } .plan-list-title { color: var(--forest); font-size: 12px; font-weight: 800; } .plan-list-body { color: var(--muted); font-size: 12px; line-height: 1.5; } .decline-button { border: 1px solid var(--line-strong); background: #fff9e9; color: var(--muted); box-shadow: none; } .decline-button:hover { background: #f5ead4; color: var(--brown); } @media (max-width: 960px) { .shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) minmax(220px, 34vh); } .shell.chat-open { grid-template-columns: 1fr; } .chat-rail { min-height: 64px; } .chat-rail.collapsed { max-height: 64px; } } @media (max-width: 620px) { body { background: var(--cream); } body::before { display: none; } .shell { gap: 14px; grid-template-rows: minmax(0, 1fr) minmax(220px, 34vh); padding: 10px; } .workspace, .actions { border-radius: 22px; } .chat-rail { position: fixed; inset: 10px auto auto 10px; z-index: 10; width: min(320px, calc(100vw - 20px)); height: calc(100vh - 20px); max-height: calc(100vh - 20px); } .chat-rail.collapsed { width: 48px; height: 48px; min-height: 48px; max-height: 48px; padding: 4px; border: 0; background: transparent; box-shadow: none; } .chat-rail.collapsed .chat-rail-top { display: block; } .chat-rail.collapsed #new-chat { display: none; } .topbar { display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 10px 58px 10px 66px; border-bottom-color: var(--line); background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%); } .brand-block { align-items: center; justify-content: center; gap: 9px; min-width: 0; } .logo-wrap { width: 28px; height: 28px; flex: 0 0 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--brown); } .logo-wrap::before { content: ""; display: block; width: 28px; height: 28px; background: currentColor; -webkit-mask: url("/static/art/LBC_Logo.png") center / contain no-repeat; mask: url("/static/art/LBC_Logo.png") center / contain no-repeat; } .logo-wrap img { display: none; } .brand-copy { display: contents; } .brand-copy p, .status { display: none; } h1 { color: var(--brown); font-size: 22px; line-height: 1; text-shadow: none; } .brand-short { display: inline-flex; align-items: center; color: var(--brown); font-family: "Playfair Display", Georgia, serif; font-size: 18px; font-weight: 800; line-height: 1; } .messages, .actions { padding: 22px; } .composer { grid-template-columns: 1fr; padding: 18px; } .composer button { width: 100%; min-height: 48px; } .message-metrics { display: none; } .message, .message.user { max-width: 100%; } .message-activity { grid-template-columns: 1fr; } .message-phase { grid-column: 1; } .plans-overview { flex-direction: column; align-items: flex-start; } .plan-detail { grid-template-columns: 1fr; } } @media (max-width: 760px) { .plan-form-split, .plan-metrics { grid-template-columns: 1fr; } .plan-card-heading { flex-direction: column; } .plan-status-badge { align-self: flex-start; } } @media (max-width: 640px) { .plans-floating-panel { width: min(100vw - 18px, 980px); right: 9px; bottom: 9px; } .plans-panel-body { grid-template-columns: 1fr; } .negotiation-workspace { grid-template-columns: 1fr; } .negotiation-sidebar, .negotiation-detail-rail { border: 0; } }