.space-a2a { min-width:0;--a2a-border:#e7e9ed;--a2a-muted:#78818c; }
.a2a-heading,.a2a-heading-actions,.a2a-identity-title,.a2a-publication-actions,.a2a-publication-buttons,.a2a-source,.a2a-overview-actions,.a2a-editor-actions,.a2a-correspondence,.a2a-correspondence-actions,.a2a-section-heading,.a2a-actions { display:flex;align-items:center;gap:12px; }
.a2a-heading { align-items:flex-start;justify-content:space-between;margin-bottom:24px; }
.workspace-settings .space-a2a .a2a-heading h2 { margin:0;font-size:19px;font-weight:550; }
.a2a-heading p { margin:6px 0 0;color:var(--text-secondary);font-size:12px;line-height:1.7; }
.a2a-heading-actions { flex:none;gap:14px; }
.a2a-feedback { margin:0 0 14px;color:var(--text-secondary);font-size:12px;line-height:1.7; }
.a2a-feedback:empty { display:none; }
.a2a-publication { padding:20px;border:1px solid var(--a2a-border);border-radius:10px;background:#fff; }
.a2a-identity-summary { display:flex;align-items:flex-start;gap:12px;min-width:0; }
.a2a-card-emblem { display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:#f1f4f3;color:#678074;font-size:17px;font-weight:550; }
.a2a-identity-copy { flex:1;min-width:0; }
.a2a-identity-title { flex-wrap:wrap;gap:8px 12px; }
.a2a-identity-title h3 { margin:0;color:var(--text-primary);font-size:15px;font-weight:550;line-height:1.6;overflow-wrap:anywhere; }
.a2a-status { display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:400;color:var(--text-secondary);white-space:nowrap; }
.a2a-status::before { content:'';width:5px;height:5px;border-radius:50%;background:#a3a8b1; }
.a2a-status[data-published="true"]::before { background:#678476; }
.a2a-identity-copy>p { margin:4px 0 0;font-size:12px;color:var(--text-secondary);line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap; }

.a2a-card-tags { display:flex;flex-wrap:wrap;gap:5px;margin-top:10px; }
.a2a-card-tags:empty { display:none; }
.a2a-card-tags span { max-width:100%;padding:2px 6px;border-radius:4px;background:#f3f5f6;color:#68717b;font-size:10px;line-height:1.6;overflow-wrap:anywhere; }
.a2a-summary-detail { margin:14px 0 0 52px;color:var(--text-secondary);font-size:12px;line-height:1.75; }
.a2a-summary-detail summary { cursor:pointer; }
.a2a-summary-detail p { margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere; }
.a2a-publication-actions { justify-content:space-between;margin-top:18px;padding-top:15px;border-top:1px solid var(--a2a-border); }
.a2a-publication-state { display:grid;gap:4px;min-width:0;font-size:11px;line-height:1.65;color:var(--text-secondary); }
.a2a-publication-state>span+span { color:var(--a2a-muted); }
.a2a-publication-buttons { flex:none;gap:12px; }
.a2a-publication-note { margin:12px 0 0;color:var(--a2a-muted);font-size:11px;line-height:1.75; }
.a2a-overview-actions { flex-wrap:wrap;margin-top:18px; }
.a2a-source { margin-top:18px;padding-top:15px;border-top:1px solid var(--a2a-border); }
.a2a-source strong { font-size:11px;font-weight:500;color:var(--text-secondary); }
.a2a-source p { margin:4px 0 0;color:var(--a2a-muted);font-size:11px;line-height:1.75; }
.a2a-publication[data-empty="true"] { padding:26px; }
.a2a-publication[data-empty="true"] .a2a-card-emblem { width:46px;height:46px;font-size:20px; }
.a2a-publication[data-empty="true"] .a2a-identity-title h3 { font-size:16px; }
.a2a-publication[data-empty="true"] .a2a-publication-note { margin-top:18px; }
.a2a-advanced>summary { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;list-style:none;cursor:pointer;font-size:13px;color:var(--text-primary); }
.a2a-advanced>summary::-webkit-details-marker { display:none; }
.a2a-advanced>summary>span { color:var(--a2a-muted);font-size:16px;line-height:1; }
.a2a-advanced[open]>summary>span { transform:rotate(180deg); }
.a2a-advanced>summary:focus-visible,.a2a-summary-detail summary:focus-visible { outline:2px solid #8d949e;outline-offset:3px;border-radius:4px; }
.portal-page .space-a2a .portal-dialog.a2a-editor-panel { position:fixed;inset:0 0 0 auto;margin:0;padding:0;width:min(520px,100%);max-width:none;height:100dvh;max-height:100dvh;border:0;border-left:1px solid var(--a2a-border);border-radius:12px 0 0 12px;background:#fff;box-shadow:-14px 0 48px #20252b14;overflow:hidden; }
.portal-page .space-a2a .a2a-editor-panel:not([open]) { display:none; }
.portal-page .space-a2a .a2a-editor-panel[open] { display:flex;flex-direction:column; }
html:has(.space-a2a .a2a-editor-panel[open]) { overflow:hidden; }
.a2a-editor-panel::backdrop { background:#151a2329; }
.a2a-drawer-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--a2a-border);flex:none; }
.workspace-settings .a2a-drawer-heading h2 { margin:0;font-size:18px;line-height:1.5;font-weight:550; }
.a2a-drawer-heading p { margin:6px 0 0;font-size:12px;line-height:1.7;color:var(--a2a-muted); }
.portal-page .space-a2a .a2a-drawer-heading .portal-icon-button { display:grid;place-items:center;flex:none;width:32px;height:32px;min-width:32px;min-height:32px;border:0;border-radius:6px;background:transparent;color:var(--a2a-muted);font-size:25px;line-height:1;padding:0; }
.portal-page .space-a2a .a2a-drawer-heading .portal-icon-button:hover { background:#f3f4f6;color:var(--text-primary); }
.a2a-editor-panel .a2a-editor { display:flex;flex-direction:column;min-height:0;flex:1;margin:0; }
.a2a-editor-content { padding:22px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1; }
.a2a-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px; }
.a2a-editor .a2a-fields { grid-template-columns:minmax(0,1fr);gap:18px; }
.a2a-field-wide { grid-column:1/-1; }
.a2a-editor textarea { resize:vertical;min-height:100px; }
.a2a-editor-actions { justify-content:space-between;gap:16px;flex:none;padding:16px 24px;padding-bottom:max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--a2a-border);background:#fff; }
.a2a-editor-actions>span { color:var(--a2a-muted);font-size:11px;line-height:1.7;max-width:45%; }
.a2a-editor-actions>div { display:flex;align-items:center;gap:12px;flex:none; }
.a2a-correspondence { justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--a2a-border); }
.a2a-correspondence h3,.a2a-section-heading h3 { margin:0;font-size:13px;line-height:1.6;font-weight:500; }
.a2a-correspondence p { margin:5px 0 0;color:var(--a2a-muted);font-size:11px;line-height:1.75; }
.a2a-correspondence-actions { flex:none;gap:14px; }
.a2a-advanced { padding-top:4px; }
.a2a-advanced-content { padding-bottom:16px; }
.a2a-endpoints { display:grid;gap:14px;margin-bottom:24px; }
.a2a-endpoints label { font-size:11px;line-height:1.6;color:var(--text-secondary); }
.a2a-endpoints label>div { display:flex;align-items:center;gap:10px;margin-top:6px; }
.workspace-settings .space-a2a .a2a-endpoints .portal-input { flex:1;min-width:0;width:0;min-height:38px;font-size:12px;background:#fafbfc; }
.a2a-endpoints .portal-text-button { flex:none;white-space:nowrap; }
.a2a-section-heading { justify-content:space-between; }
.a2a-section-note { margin:7px 0 0;color:var(--a2a-muted);font-size:11px;line-height:1.75; }
.a2a-credential-form { margin-top:18px;padding-bottom:18px;border-bottom:1px solid var(--a2a-border); }
.a2a-actions { margin-top:16px; }
.a2a-secret { margin:20px 0;padding:16px;border:1px solid var(--border-default);border-radius:8px;background:#fafbfc; }
.a2a-secret h4 { margin:0 0 7px;font-size:12px;font-weight:550; }
.a2a-secret p { margin:0 0 14px;color:var(--text-secondary);font-size:11px;line-height:1.7; }
.a2a-secret>div { display:flex;align-items:center;gap:10px;margin-bottom:8px; }
.a2a-credential-row { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--a2a-border); }
.a2a-credential-row strong { font-size:12px;font-weight:500; }
.a2a-credential-row p { margin:5px 0 0;color:var(--a2a-muted);font-size:11px;line-height:1.7; }
.a2a-credential-row.is-inactive { opacity:.65; }
.a2a-credential-empty { margin:0;padding:18px 0;color:var(--a2a-muted);font-size:11px;line-height:1.7; }
.space-a2a button:disabled { cursor:default;opacity:.5; }
@media(max-width:760px) {
  .a2a-heading { margin-bottom:20px; }
  .a2a-heading-actions { gap:9px; }
  .a2a-publication { padding:16px; }
  .a2a-fields { grid-template-columns:minmax(0,1fr); }
  .a2a-correspondence { align-items:flex-start;flex-direction:column;gap:8px; }
  .a2a-correspondence-actions { flex-wrap:wrap; }
}
@media(max-width:540px) {
  .a2a-heading { flex-wrap:wrap;gap:8px; }
  .a2a-heading-actions { gap:14px; }
  .a2a-identity-summary { gap:10px; }
  .a2a-summary-detail { margin-left:0; }
  .a2a-publication-actions { align-items:flex-start;flex-direction:column;gap:12px; }
  .a2a-publication-buttons { align-self:flex-end; }
  .portal-page .space-a2a .portal-dialog.a2a-editor-panel { width:100%;border-left:0;border-radius:0; }
  .a2a-drawer-heading { padding:18px 20px; }
  .a2a-editor-content { padding:20px; }
  .a2a-editor-actions { padding:15px 20px;padding-bottom:max(15px,env(safe-area-inset-bottom)); }
  .a2a-editor-actions>span { max-width:40%; }
  .a2a-editor-actions>div { gap:10px; }
  .a2a-publication[data-empty="true"] { padding:20px; }
  .a2a-secret>div { flex-wrap:wrap; }
  .a2a-secret input { flex-basis:100%; }
}
