.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.customer-card{padding:20px;border-right:1px solid #e8e8e5}.customer-card:last-child{border-right:0}.customer-card-head{display:flex;align-items:center;gap:11px}.customer-card h3{font:600 14px/1.2 "Space Grotesk",sans-serif;color:#000}.customer-card p{font-size:10px;color:#777;margin-top:3px}.customer-card-actions{display:flex;gap:5px;margin-top:16px}.customer-card-actions button{padding:7px 8px;border:1px solid #ddd;border-radius:6px;background:#fff;font:600 9px/1 "Space Grotesk",sans-serif}.customer-card-actions .danger{color:#b33b24}.source-text-input{grid-column:1/-1;width:100%;height:42px;border:1px solid #dfe4df;border-radius:.65rem;padding:0 .75rem;background:#fff;font-size:.82rem;outline:none;color:#172329}.source-text-input:focus{border-color:#000}.source-logo.optimizer{background:#171717;color:#ff6400;font-size:10px}.optimizer-option{grid-column:1/-1}.credential-modal-panel textarea{width:100%;margin-top:7px;border:1px solid #dededb;border-radius:8px;padding:10px;font-size:12px;outline:none;resize:vertical}@media(max-width:800px){.customer-grid{grid-template-columns:1fr}.customer-card{border-right:0;border-bottom:1px solid #e8e8e5}.customer-card:last-child{border-bottom:0}}
.scope-toggle{display:inline-flex;align-items:center;padding:3px;border:1px solid #e4e4e1;border-radius:9px;background:#f6f6f4}.scope-toggle button{border:0;background:transparent;color:#666;padding:7px 10px;border-radius:6px;font-size:11px;font-weight:600;white-space:nowrap}.scope-toggle button.active{background:#000;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.12)}.scope-toggle-dark{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}.scope-toggle-dark button{color:rgba(255,255,255,.62)}.scope-toggle-dark button.active{background:#ff6400;color:#000}.customer-card small{display:block;margin-top:4px;color:#8a8a8a;font-size:10px}
.template-state{display:inline-flex;align-items:center;width:max-content;margin-top:7px;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:700}.template-state.standard{background:#f1f1ef;color:#666}.template-state.custom{background:#fff0e7;color:#a64008}.customer-template-box{border:1px solid #e4e4e1;border-radius:12px;padding:14px;background:#fafaf8}.customer-template-head,.customer-template-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-template-head small,.customer-template-footer small{display:block;color:#777;font-size:10px;margin-top:4px}.customer-template-box textarea{display:block;width:100%;margin-top:12px;padding:12px;border:1px solid #dededb;border-radius:9px;background:#fff;font-size:12px;line-height:1.55;resize:vertical;outline:none}.customer-template-box textarea:focus{border-color:#000;box-shadow:0 0 0 3px rgba(0,0,0,.07)}.customer-template-footer{align-items:center;margin-top:9px}.customer-template-footer button{border:0;background:transparent;color:#a64008;font-size:10px;font-weight:700}
.client-logo{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:none;overflow:hidden;border:1px solid #e4e4e1;border-radius:10px;background:#fff}.client-logo img{width:24px;height:24px;object-fit:contain}.client-logo>span{display:none;color:var(--client,#777);font-size:11px;font-weight:800}.client-logo.favicon-failed img{display:none}.client-logo.favicon-failed>span{display:block}
.project-favicon{position:relative;display:grid;place-items:center;width:38px;height:38px;flex:none;overflow:hidden;border:1px solid #e4e4e1;border-radius:10px;background:#fff;color:#555}.project-favicon img{position:absolute;inset:0;width:100%;height:100%;padding:7px;object-fit:contain;background:#fff}.project-favicon b{display:none;font:800 10px/1 "Space Grotesk",sans-serif}.project-favicon.favicon-failed img{display:none}.project-favicon.favicon-failed b{display:block}.project-favicon--dashboard{width:34px;height:34px;border:0;border-radius:8px}.project-favicon--inline{width:16px;height:16px;border:0;border-radius:3px;background:#fff}.project-favicon--inline img{padding:1px}.project-favicon--inline b{font-size:7px}
.project-competitors small{display:block;margin-top:3px;font-size:11px;color:#777}.project-competitor-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}@media(max-width:800px){.project-competitor-inputs{grid-template-columns:1fr}}
.project-knowledge .source-option{margin-top:12px}.drive-picker{margin-top:10px}.drive-picker-selected{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:#555}.drive-picker-selected strong{color:#111;font-weight:600;overflow-wrap:anywhere}.drive-picker-selected .btn-secondary{margin-left:auto;padding:6px 10px;font-size:11px}.drive-browser{margin-top:10px;border:1px solid #dededb;border-radius:8px;background:#fff;padding:10px}.drive-browser-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:11px;color:#999}.drive-browser-crumbs button{color:#c84f00;font-weight:600}.drive-browser-crumbs button:hover{text-decoration:underline}.drive-browser-list{list-style:none;margin:8px 0;padding:0;max-height:220px;overflow-y:auto}.drive-browser-list li button{display:block;width:100%;text-align:left;padding:7px 8px;border-radius:6px;font-size:12px;color:#222;overflow-wrap:anywhere}.drive-browser-list li button:hover{background:#f3f3f0}.drive-browser-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.project-knowledge .knowledge-list{margin-top:12px}@media(max-width:640px){.drive-picker-selected .btn-secondary{margin-left:0}.drive-browser-actions{justify-content:stretch}.drive-browser-actions button{flex:1}}
#customerForm [data-source-field].is-invalid.source-option,#customerForm .project-competitors.is-invalid,#customerForm .project-knowledge.is-invalid{border-color:#d92d20;box-shadow:0 0 0 3px rgba(217,45,32,.1)}#customerForm .field.is-invalid input{border-color:#d92d20}.project-field-error{grid-column:1/-1;margin-top:6px;font-size:12px;line-height:1.4;font-weight:600;color:#b42318;cursor:default;overflow-wrap:anywhere}
