.identity-action-button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;width:max-content;max-width:100%}.identity-action-options{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;min-width:0}.identity-action-options:empty{display:none}.identity-action-button:not(:has(.identity-action-primary)):not(:has(.identity-action-edit)){display:none}.identity-action-button:has(.identity-action-options:empty){grid-template-columns:auto}.identity-action-button:not(:has(.identity-action-edit)){grid-template-columns:minmax(0,1fr)}.identity-action-primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 22px;white-space:normal;overflow-wrap:anywhere;text-align:center}.identity-action-primary svg,.identity-action-edit svg,.action-choice-icon svg,.action-privacy svg,.action-editor-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.identity-action-primary svg:last-child:not(:first-child){width:16px;height:16px}.identity-action-edit{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border:0;border-radius:9px;color:var(--muted,#657080);background:transparent;text-decoration:none}.identity-action-edit:hover{color:var(--ink,#202b36);background:var(--neutral-soft,#f0f2f5)}.identity-action-edit:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.identity-action-edit svg{width:16px;height:16px}.action-button-page{width:min(760px,100% - 32px);margin:24px auto 48px}.action-button-page>.panel{padding:24px;border-radius:20px;background:var(--surface,#fff)}.action-return{display:inline-flex;align-items:center;min-height:44px;margin-bottom:8px}.action-button-dialog{box-sizing:border-box;max-width:calc(100vw - 32px);width:min(700px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid var(--line,#dce1e7);border-radius:22px;background:var(--surface,#fff);color:var(--ink,#202b36);box-shadow:0 24px 80px #172d4330;overflow:auto}.action-button-dialog::backdrop{background:#13233770;backdrop-filter:blur(3px)}.action-button-open{overflow:hidden}[data-action-button-config]{min-width:0}[data-action-button-config] [hidden]{display:none!important}.action-editor-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:22px}.action-editor-heading>div{flex:1;min-width:0}.action-editor-heading h1{font-size:23px;line-height:1.3;margin:4px 0 8px}.action-editor-heading p{margin:0;color:var(--muted,#657080);line-height:1.5;overflow-wrap:anywhere}.action-editor-heading .action-subject{font-size:13px;font-weight:600;color:var(--brand-blue,#3176a4)}.action-editor-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:1px solid var(--line,#dce1e7);border-radius:50%;background:var(--surface,#fff);color:inherit;cursor:pointer}[data-action-button-form] fieldset{margin:0;padding:0;border:0;min-width:0}[data-action-button-form] legend{font-weight:650;font-size:17px;margin-bottom:14px;padding:0}.action-choice-step h2{font-size:13px;letter-spacing:.02em;color:var(--muted,#657080);margin:16px 0 8px}.action-choice-step h2:first-of-type{margin-top:0}.action-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.action-choice{position:relative;display:flex;align-items:flex-start;gap:10px;min-height:84px;padding:13px 32px 13px 12px;border:1px solid var(--line,#dce1e7);border-radius:14px;cursor:pointer;min-width:0;background:var(--surface,#fff);box-sizing:border-box}.action-choice:hover{border-color:var(--brand-blue,#3176a4);background:var(--neutral-soft,#f6f8fa)}.action-choice:has(input:checked){border-color:var(--brand-blue,#3176a4);background:var(--blue-soft,#edf5fa);box-shadow:inset 0 0 0 1px var(--brand-blue,#3176a4)}.action-choice:focus-within{outline:2px solid var(--brand-blue,#3176a4);outline-offset:2px}.action-choice input[type=radio]{position:absolute;right:11px;top:16px;width:16px;height:16px;margin:0;accent-color:var(--brand-blue,#3176a4)}.action-choice-icon{display:flex;color:var(--brand-blue,#3176a4);padding-top:2px;flex:none}.action-choice strong{display:block;font-size:14px;line-height:1.4;font-weight:650}.action-choice small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:var(--muted,#657080)}.action-choice>span:last-child{min-width:0;overflow-wrap:anywhere}.action-config-step>div{margin-bottom:16px}.action-config-step label{display:block;font-weight:600;font-size:14px}.action-config-step input,.action-config-step select,.action-config-step textarea{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:46px;margin-top:8px;border:1px solid var(--line,#dce1e7);border-radius:12px;padding:11px 13px;background:var(--surface,#fff);color:inherit;font:inherit}.action-config-step textarea{min-height:80px;resize:vertical}.action-config-step .form-help{font-size:13px;line-height:1.55;margin:8px 0;color:var(--muted,#657080)}.action-config-step a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.action-privacy{display:flex;gap:10px;font-size:12px;line-height:1.55;color:var(--muted,#657080);padding:14px;background:var(--neutral-soft,#f5f7fa);border-radius:12px;margin:20px 0 0}.action-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:20px;padding:16px;border:1px dashed var(--line,#dce1e7);border-radius:14px}.action-preview small{font-size:12px;color:var(--muted,#657080)}.action-preview .identity-action-primary{min-width:200px;max-width:100%}.action-preview [data-action-preview-icon]{display:flex}.action-editor-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line,#dce1e7);margin-top:20px;padding-top:20px}.action-editor-navigation{display:flex;justify-content:center;gap:10px;flex:1}.action-editor-navigation .button{min-height:48px;min-width:110px}.action-editor-navigation .button:only-child{width:min(100%,24rem)}.action-remove{min-height:44px;border:0;background:transparent;color:var(--muted,#657080);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.action-button-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;max-width:calc(100% - 32px);box-shadow:0 8px 30px #172d4320}.action-button-dialog :focus-visible,.action-button-page :focus-visible{outline:2px solid var(--brand-blue,#3176a4);outline-offset:3px}
@media(max-width:560px){.action-button-dialog{max-width:calc(100vw - 16px);width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:18px;border-radius:20px;margin:auto auto 8px}.action-button-page{width:calc(100% - 24px);margin-top:12px}.action-button-page>.panel{padding:18px}.action-choice-grid{grid-template-columns:1fr}.action-choice{min-height:72px}.action-editor-heading h1{font-size:21px}.action-preview{justify-content:center;text-align:center}.action-preview small{width:100%}.action-preview .identity-action-primary{width:100%}.action-editor-footer{gap:8px}.action-editor-navigation{width:100%;flex-basis:100%}.action-editor-navigation .button{flex:1;min-width:0}.action-remove{order:2;width:100%}}

[data-identity-header] .identity-actions .identity-action-button .identity-action-primary{min-height:44px;height:100%;padding:8px 11px;gap:6px;font-size:.8125rem;line-height:1.3}[data-identity-header] .identity-actions .identity-action-button .identity-action-primary svg{width:16px;height:16px}.identity-action-row{display:grid;min-width:0}.identity-action-row>form{display:flex;min-width:0}.identity-action-row>form>.identity-action-primary{width:100%}.action-slot-navigation{display:flex;gap:4px;width:max-content;max-width:100%;padding:4px;margin:0 0 20px;border:1px solid var(--line,#dce1e7);border-radius:12px;background:var(--neutral-soft,#f0f2f5)}.action-slot-navigation a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border-radius:8px;color:var(--muted,#657080);font-size:.875rem;text-decoration:none}.action-slot-navigation [aria-current=page]{color:var(--ink,#202b36);background:var(--surface,#fff);box-shadow:0 1px 3px #172d4314}
@container(max-width:320px){.identity-action-options{grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}}
@container(max-width:520px){.owner-profile-actions:has([data-owner-action=primary-action]):not(.has-panel){grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:520px){.owner-profile-actions.has-panel:has([data-owner-action=primary-action])>[data-owner-action=panel]{grid-column:auto;flex-direction:column}}
@media(max-width:600px){[data-page-workspace] .page-workspace-tools:has([data-owner-action=primary-action]){grid-template-columns:minmax(0,1fr)}[data-page-workspace] .page-workspace-tools .owner-profile-actions:has([data-owner-action=primary-action]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}[data-page-workspace] .page-workspace-tools .owner-profile-actions:has([data-owner-action=primary-action]) .button{width:100%;min-width:0;min-height:48px}[data-page-workspace] .page-workspace-tools:has([data-owner-action=primary-action])>.button{width:100%}}

/* Secondary configured action keeps the shared icon and a quiet neutral hierarchy. */
.identity-action-secondary .identity-action-primary{background:var(--neutral-soft,#f0f2f5);border:1px solid var(--line,#dce1e7);color:var(--ink,#202b36);box-shadow:none}
.identity-action-secondary .identity-action-primary:is(:hover,:active){background:color-mix(in srgb,var(--neutral-soft,#f0f2f5) 90%,var(--ink,#202b36));border-color:var(--muted,#657080);color:var(--ink,#202b36);box-shadow:none}

.identity-action-button>.form-help{flex-basis:100%;margin:0}
