.container { display: grid; grid-template-columns: 380px 1fr 340px; grid-template-areas: "service work prep"; height: 100%; background: var(--bg0); color: var(--text1); overflow: hidden; font-family: var(--font-main); box-sizing: border-box; } /* --- Banners --- */ .banner { padding: 12px 24px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(0,0,0,0.05); } .escalatedBanner { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; } .duplicateBanner { background: #f1f5f9; color: #475569; border-left: 4px solid #94a3b8; } /* --- Prep Pane (Left) --- */ .prepPane { grid-area: prep; background: var(--bg2); border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; height: 100%; } .panelSection { padding: 24px; border-bottom: 1px solid var(--border); } .sectionHeader { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } .sectionTitle { font-size: 11px; font-weight: 800; color: var(--text3); text-transform: uppercase; letter-spacing: 0.12em; } .backBtn { background: var(--bg1); border: 1px solid var(--border); color: var(--text2); padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-bottom: 20px; width: fit-content; } .backBtn:hover { background: var(--bg3); color: var(--text1); } /* Forensic Trace */ .traceList { display: flex; flex-direction: column; gap: 16px; } .traceItem { display: flex; gap: 14px; position: relative; } .traceLine { position: absolute; left: 7px; top: 18px; bottom: -18px; width: 1px; background: var(--border-hi); } .traceDot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg1); border: 2px solid var(--bg4); z-index: 1; flex-shrink: 0; margin-top: 3px; } .traceDot.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); } .traceDot.failed { background: var(--red); border-color: var(--red); box-shadow: 0 0 12px rgba(239, 68, 68, 0.3); } .traceInfo { flex: 1; } .failureContext { margin-top: 8px; background: rgba(239, 68, 68, 0.05); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 6px; padding: 8px; font-size: 11px; color: var(--red); font-family: var(--font-mono); line-height: 1.4; } .traceLabel { font-size: 12px; font-weight: 700; color: var(--text1); display: block; } .traceDetail { font-size: 11px; color: var(--text3); line-height: 1.5; margin-top: 2px; } /* Internal Summary Box */ .summaryBox { background: var(--bg1); border: 1px solid var(--border); border-radius: 10px; padding: 16px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); } .summaryBox label { font-size: 9px; font-weight: 900; color: var(--text3); text-transform: uppercase; display: block; margin-bottom: 8px; letter-spacing: 0.05em; } .summaryBox p { font-size: 13px; margin: 0; line-height: 1.6; color: var(--text2); } /* --- Work Station (Center) --- */ .workStation { grid-area: work; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; background: var(--bg0); height: 100%; } .workHeader { margin-bottom: 8px; display: flex; align-items: center; min-height: 48px; } .workTitle { font-size: 28px; font-weight: 800; color: var(--text1); margin: 0; letter-spacing: -0.02em; line-height: 1.2; } .titleInput { background: var(--bg1); border: 1px solid var(--border); color: var(--text1); font-size: 28px; font-weight: 800; padding: 4px 12px; border-radius: 8px; width: 100%; outline: none; font-family: inherit; letter-spacing: -0.02em; } .titleInput:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); } .autocompleteContainer { position: relative; width: 100%; } .autocompleteList { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--bg1); border: 1px solid var(--border); border-radius: 6px; z-index: 1000; max-height: 240px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.2); padding: 4px; } .autocompleteItem { padding: 8px 12px; cursor: pointer; font-size: 13px; color: var(--text1); border-radius: 4px; transition: all 0.2s ease; } .autocompleteItem:hover { background: var(--accent); color: #fff; } .insightGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .insightItem { background: var(--bg1); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 1px 1px rgba(0,0,0,0.01); } .insightLabel { font-size: 10px; font-weight: 800; color: var(--text3); text-transform: uppercase; margin-bottom: 6px; } .insightValue { font-size: 14px; font-weight: 700; color: var(--text1); } .card { background: var(--bg1); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); } .descriptionText { font-size: 14px; color: var(--text2); line-height: 1.6; white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word; } .descriptionText img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } /* Kitchen Pickers in Station */ .stationControls { display: flex; gap: 8px; padding: 8px 10px; background: var(--bg2); border-radius: 8px; border: 1px solid var(--border); align-items: center; } .picker { display: flex; flex-direction: column; gap: 2px; flex: 1; } .pickerLabel { font-size: 8px; font-weight: 900; color: var(--text3); text-transform: uppercase; display: block; } .select { background: var(--bg1); border: 1px solid var(--border); color: var(--text1); padding: 4px 8px; border-radius: 6px; font-size: 12px; outline: none; width: 100%; transition: border-color 0.2s; height: 32px; } .select:focus { border-color: var(--accent); } /* Resolution Area */ .resolutionSection { border-left: 4px solid var(--green); background: #f0fdf4; } .resolutionTitle { font-size: 12px; font-weight: 800; color: var(--green); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; } /* Scratchpad Section in Prep Pane */ .scratchpadSection { background: var(--bg1); border-top: 1px solid var(--border); padding: 24px; } .scratchpadHeader { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--accent); } .scratchpadTitle { font-size: 12px; font-weight: 800; text-transform: uppercase; } .scratchpadTextarea { width: 100%; background: var(--bg1); border: 1px solid var(--border); border-radius: 10px; color: var(--text1); padding: 16px; font-size: 13px; line-height: 1.6; resize: vertical; min-height: 100px; outline: none; } .internalMessageList { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; } .internalMessage { padding: 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; font-size: 13px; color: var(--text2); } /* --- Service Window (Right) --- */ .serviceWindow { grid-area: service; background: var(--bg1); border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; height: 100%; } .communicationThread { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 24px; } .replyConsole { background: var(--bg2); border-top: 1px solid var(--border); padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; } .replyTextarea { width: 100%; background: var(--bg1); border: 1px solid var(--border); border-radius: 12px; color: var(--text1); padding: 12px 16px; font-size: 14px; line-height: 1.5; resize: none; min-height: 80px; outline: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); } .consoleFooter { display: flex; justify-content: space-between; align-items: center; /* Removed buffer as console is now on the left */ } .toolGroup { display: flex; gap: 8px; } .toolBtn { background: var(--bg1); border: 1px solid var(--border); color: var(--accent); padding: 8px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; } .toolBtn:hover { background: var(--bg3); } .toolBtn:disabled { opacity: 0.6; cursor: wait; } .sendBtn { background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 8px 24px; font-size: 13px; font-weight: 800; cursor: pointer; transition: all 0.2s; } .sendBtn:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); } .sendBtn:disabled { opacity: 0.5; cursor: not-allowed; } /* --- Modals & Utilites --- */ .modalOverlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal { background: var(--bg1); border: 1px solid var(--border); width: 100%; max-width: 550px; border-radius: 20px; padding: 40px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); } .secondaryBtn { background: var(--bg2); border: 1px solid var(--border); color: var(--text2); padding: 10px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; margin-right: 12px; } .primaryBtn { background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 10px 24px; font-weight: 800; cursor: pointer; } .loading { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 18px; font-weight: 700; color: var(--text3); } .empty { font-style: italic; color: var(--text3); font-size: 13px; text-align: center; padding: 20px; } .inlineSelect { background: transparent; border: 1px solid var(--border); color: var(--accent); font-size: 12px; font-weight: 800; padding: 2px 4px; border-radius: 4px; cursor: pointer; outline: none; width: 100%; } .inlineInput { background: transparent; border: 1px solid var(--border); color: var(--text1); font-size: 14px; font-weight: 700; padding: 2px 4px; border-radius: 4px; width: 100%; outline: none; } .inlineInput:focus, .inlineSelect:focus { outline: none; border-color: var(--accent); } .editIconBtn { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 14px; padding: 4px; border-radius: 4px; transition: background 0.2s; display: flex; align-items: center; justify-content: center; } .editIconBtn:hover { background: var(--accent-glow); } .resolutionInput { width: 100%; min-height: 120px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 12px; color: var(--text1); font-size: 13px; line-height: 1.5; resize: vertical; transition: border-color 0.2s, box-shadow 0.2s; } .resolutionInput:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); } .resolveBtn { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; } .resolveBtn:hover { opacity: 0.9; transform: translateY(-1px); } .resolutionTextLocked { font-size: 13px; line-height: 1.6; color: var(--text1); padding: 8px 0; } .escalateBtn { background: #fef2f2; color: #991b1b; border: 1px solid #fee2e2; padding: 6px 14px; border-radius: 8px; font-size: 11px; font-weight: 800; cursor: pointer; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 6px; white-space: nowrap; } .escalateBtn:hover { background: #991b1b; color: #fff; border-color: #991b1b; box-shadow: 0 4px 12px rgba(153, 27, 27, 0.2); transform: translateY(-1px); } .escalateBtn:active { transform: translateY(0); } .editableDescription { width: 100%; min-height: 200px; background: var(--bg0); border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-size: 14px; color: var(--text1); line-height: 1.6; font-family: inherit; resize: vertical; outline: none; } .editBtn { background: var(--bg2); border: 1px solid var(--border); color: var(--text3); font-size: 9px; font-weight: 900; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; cursor: pointer; transition: all 0.2s; } .editBtn:hover { background: var(--bg3); color: var(--accent); border-color: var(--accent); }