#workspace-brand-voice .cie-brandbook .panel-head{align-items:center}
#workspace-brand-voice .cie-brandbook-state{white-space:nowrap;border:1px solid #dcd9ff;border-radius:999px;padding:5px 9px;color:var(--cie-ui-purple);background:#f7f6ff;font-size:var(--cie-ui-text-sm);font-weight:800}
#workspace-brand-voice .cie-brandbook-body{padding:20px;container-type:inline-size}
#workspace-brand-voice .cie-brandbook-source{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start;padding-bottom:24px}
#workspace-brand-voice .cie-brandbook-file-info,#workspace-brand-voice .cie-brandbook-source-actions{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#workspace-brand-voice .cie-brandbook-label{color:var(--cie-ui-text);font-size:var(--cie-ui-text-sm);font-weight:750}
#workspace-brand-voice .cie-brandbook-picker{position:relative;display:flex;align-items:center;gap:12px;min-width:0;width:100%;padding:10px;border:1px solid var(--cie-ui-line);border-radius:8px;background:var(--cie-ui-panel);box-sizing:border-box}
#workspace-brand-voice .cie-brandbook-picker input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#workspace-brand-voice .cie-brandbook-choose{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:36px;padding:0 12px;border:1px solid var(--cie-ui-line);border-radius:7px;background:var(--cie-ui-panel);color:var(--cie-ui-purple);font-size:var(--cie-ui-text-sm);font-weight:750;cursor:pointer;box-sizing:border-box}
#workspace-brand-voice .cie-brandbook-choose:hover{background:#f7f6ff}
#workspace-brand-voice .cie-brandbook-choose[aria-disabled=true]{background:#f1f3f7;color:#747e90;cursor:not-allowed}
#workspace-brand-voice .cie-brandbook-picker input:focus-visible+.cie-brandbook-choose{outline:2px solid var(--cie-ui-purple);outline-offset:2px}
#workspace-brand-voice [data-brandbook-filename]{min-width:0;overflow-wrap:anywhere;color:var(--cie-ui-text);font-size:var(--cie-ui-text-sm);line-height:1.5}
#workspace-brand-voice .cie-brandbook-actions{display:flex;gap:8px;flex-wrap:wrap}
#workspace-brand-voice .cie-brandbook button{min-height:36px;border:1px solid var(--cie-ui-line);border-radius:7px;background:var(--cie-ui-panel);color:var(--cie-ui-purple);padding:8px 11px;font-size:var(--cie-ui-text-sm);font-weight:800;cursor:pointer}
#workspace-brand-voice .cie-brandbook button:hover:not(:disabled){background:#f7f6ff}
#workspace-brand-voice .cie-brandbook .cie-brandbook-extract{background:var(--cie-ui-purple);border-color:var(--cie-ui-purple);color:var(--cie-ui-on-accent)}
#workspace-brand-voice .cie-brandbook .cie-brandbook-extract:hover:not(:disabled){background:#4f46dc}
#workspace-brand-voice .cie-brandbook .cie-brandbook-link{min-height:28px;border:0;background:transparent;padding:0;text-decoration:underline;text-underline-offset:3px;font-weight:650}
#workspace-brand-voice .cie-brandbook [hidden]{display:none}
#workspace-brand-voice .cie-brandbook button:disabled{opacity:.52;cursor:not-allowed}
#workspace-brand-voice .cie-brandbook button:focus-visible,#workspace-brand-voice .cie-brandbook input:focus-visible,#workspace-brand-voice .cie-brandbook textarea:focus-visible{outline:2px solid #5a4fed;outline-offset:2px}
#workspace-brand-voice .cie-brandbook p{margin:0;color:var(--cie-ui-muted);font-size:var(--cie-ui-text-sm);line-height:1.55}
#workspace-brand-voice .cie-brandbook-review{padding-top:24px;border-top:1px solid var(--cie-ui-line)}
#workspace-brand-voice .cie-brandbook-review-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:24px}
#workspace-brand-voice .cie-brandbook-review-head h3{margin:0 0 6px;font-size:18px;line-height:1.4;font-weight:750;color:var(--cie-ui-text)}
#workspace-brand-voice [data-brandbook-edit-state]{font-size:var(--cie-ui-text-sm);font-weight:700;color:var(--cie-ui-purple);white-space:nowrap;padding-top:4px}
#workspace-brand-voice .cie-brandbook-review-notice{padding:12px 0;margin-bottom:20px;max-width:75ch}
#workspace-brand-voice .cie-brandbook-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
#workspace-brand-voice .cie-brandbook-field{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:6px}
#workspace-brand-voice .cie-brandbook-field-wide{grid-column:1/-1}
#workspace-brand-voice .cie-brandbook-field label{font-size:14px;line-height:1.5;font-weight:750;color:var(--cie-ui-text)}
#workspace-brand-voice .cie-brandbook-field p{margin-bottom:4px}
/* The global workspace form has important sizing; scope readable review sizing here. */
#workspace-brand-voice .cie-brandbook-field textarea{box-sizing:border-box;width:100%;min-height:120px!important;height:120px;padding:12px 14px;border:1px solid var(--cie-ui-line);border-radius:8px;background:var(--cie-ui-panel);color:var(--cie-ui-text);font-family:Inter,Arial,sans-serif;font-size:14px!important;line-height:1.65!important;resize:vertical;overflow:auto;overflow-wrap:anywhere;caret-color:var(--cie-ui-purple);scrollbar-color:#c6cad7 transparent;scrollbar-width:thin}
#workspace-brand-voice .cie-brandbook-field-wide textarea{min-height:160px!important;height:160px}
#workspace-brand-voice [data-brandbook-field=brand] textarea{min-height:48px!important;height:48px}
#workspace-brand-voice [data-brandbook-field=palette] textarea{min-height:112px!important;height:112px}
#workspace-brand-voice .cie-brandbook-field textarea::placeholder{color:var(--cie-ui-muted);opacity:1}
#workspace-brand-voice .cie-brandbook-field textarea:read-only{background:#fafbfe}
#workspace-brand-voice .cie-brandbook-field textarea::selection{background:#e8e5ff;color:var(--cie-ui-text)}
#workspace-brand-voice .cie-brandbook-swatches{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:6px}
#workspace-brand-voice .cie-brandbook-swatch{display:inline-flex;gap:8px;align-items:center;color:var(--cie-ui-text);font-size:var(--cie-ui-text-sm);font-variant-numeric:tabular-nums}
#workspace-brand-voice .cie-brandbook-swatch i{display:inline-block;width:24px;height:24px;border-radius:4px;border:1px solid var(--cie-ui-line);box-sizing:border-box}
#workspace-brand-voice .cie-brandbook-review-summary{display:flex;justify-content:space-between;gap:16px;margin-top:24px;color:var(--cie-ui-muted);font-size:var(--cie-ui-text-sm)}
#workspace-brand-voice [data-brandbook-character-count].error{color:var(--cie-ui-danger)}
@container(max-width:600px){#workspace-brand-voice .cie-brandbook-source,#workspace-brand-voice .cie-brandbook-fields{grid-template-columns:1fr}#workspace-brand-voice .cie-brandbook-review-head{flex-direction:column;gap:8px}}
#workspace-brand-voice .cie-brandbook-foot{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px;border-top:1px solid #e7eaf2}
#workspace-brand-voice .cie-brandbook-foot span{color:var(--cie-ui-muted);font-size:var(--cie-ui-text-sm);line-height:1.4}
#workspace-brand-voice .cie-brandbook-foot span.error{color:var(--cie-ui-danger)}
#workspace-brand-voice .cie-brandbook-foot button{flex:none;background:#5a4fed;color:var(--cie-ui-on-accent);border-color:#5a4fed}
#workspace-brand-voice .cie-brandbook-foot button:hover:not(:disabled){background:#4f46dc}
@media(max-width:760px){#workspace-brand-voice .cie-brandbook-body{grid-template-columns:1fr}#workspace-brand-voice .cie-brandbook-foot{align-items:stretch;flex-direction:column}#workspace-brand-voice .cie-brandbook-foot button{align-self:flex-start}}
