/* A light parchment cartouche, a fine wooden edge, and manuscript links. */
.auth-page .auth-submit{display:flex;justify-content:center;margin:28px 0 0;padding:21px 0 0;border-top:1px solid #9e7a3d40}
.auth-seal{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:58px;max-width:100%;padding:10px 25px;border:0;border-radius:0;background:transparent;color:#583a21;font:600 italic 23px/1.2 var(--serif);letter-spacing:.025em;text-align:center;text-decoration:none;cursor:pointer;filter:drop-shadow(0 2px 2px #49311b28);transition:color .18s ease,filter .18s ease,transform .18s ease}
.auth-page .auth-seal{width:min(240px,100%)}
.auth-seal::before,.auth-seal::after{content:"";position:absolute;pointer-events:none;clip-path:polygon(0 4px,7px 0,calc(100% - 7px) 0,100% 4px,calc(100% - 2px) 50%,100% calc(100% - 4px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 4px),2px 50%)}
.auth-seal::before{inset:0;z-index:-2;background:linear-gradient(100deg,#725134,#a18053 23%,#8b6940 70%,#6c4a2d)}
.auth-seal::after{inset:1px;z-index:-1;background:repeating-linear-gradient(6deg,#956d3907 0 1px,transparent 1px 4px),radial-gradient(ellipse at 50% 35%,#fff4d97a,transparent 75%),linear-gradient(90deg,#cfb384,#ecdbb9 18%,#f2e2c2 50%,#e7d4ad 82%,#cbae7e);box-shadow:inset 0 1px #fff8,inset 0 -1px #8b693b38}
.auth-seal__frame{position:absolute;inset:6px 9px;pointer-events:none;border-block:1px solid #9973444d}
.auth-seal__sigil{width:27px;height:27px;flex:none;color:#8b6337;filter:none}
.auth-seal__label{min-width:0;text-shadow:0 1px #fff7}
.auth-seal:hover{color:#402715;filter:drop-shadow(0 3px 3px #49311b35);transform:translateY(-1px)}
.auth-seal:hover::after{filter:brightness(1.035)}
.auth-seal:active{transform:translateY(1px)}
.auth-seal:focus-visible{outline:2px solid #976c28;outline-offset:5px}
.auth-page .auth-links{display:grid;justify-items:center;gap:0;margin:16px auto 0;padding:0;border:0;text-align:center}
.auth-link{display:flex;align-items:center;justify-content:center;gap:11px;min-height:42px;max-width:100%;padding:5px 6px;color:#765020;font:600 italic 21px/1.25 var(--serif);text-align:center;text-decoration:underline;text-decoration-color:#99713955;text-decoration-thickness:1px;text-underline-offset:5px;transition:color .18s ease,text-decoration-color .18s ease}
.auth-link::before,.auth-link::after{content:"";width:4px;height:4px;flex:none;background:currentColor;opacity:.5;transform:rotate(45deg)}
.auth-link:hover{color:#422c12;text-decoration-color:currentColor}
.auth-link:focus-visible{outline:2px solid #976c28;outline-offset:2px;border-radius:2px}
.guest-profile{position:relative;display:block;padding:24px 18px 20px;text-align:center;background:radial-gradient(ellipse at 50% 0,#9b733d30,transparent 65%),linear-gradient(155deg,#2c2318,#16120e);border-color:#8c6c3d;box-shadow:inset 0 0 0 4px #b88f4909,0 5px 16px #0004}
.guest-profile::before{content:"";position:absolute;inset:6px;border:1px solid #c19a5330;pointer-events:none}
.guest-profile .profile-label{display:block;margin:0 0 13px;color:#c2a477;font-size:9px;letter-spacing:.15em}
.guest-profile h2{margin:0 0 9px;font:600 26px/1.1 var(--serif);color:#f0dfb9}
.guest-profile p{color:#c2b397;font-size:11px;line-height:1.6}
.guest-actions{display:grid;justify-items:center;gap:3px;margin:20px 0 0;padding-top:18px;border-top:1px solid #c7a46a40}
.guest-actions .auth-seal{width:min(176px,100%);min-height:48px;padding:8px 16px;font-size:21px;gap:8px;margin-bottom:7px}
.guest-actions .auth-seal__sigil{width:23px;height:23px}
.guest-actions .auth-link{min-height:39px;padding:4px 0;font-size:18px;gap:7px;color:#d7c197;text-decoration-color:#bd9a5e55}
.guest-actions .auth-link:hover{color:#fff0c9;text-decoration-color:#d7bd7f}
.guest-actions .auth-seal:focus-visible,.guest-actions .auth-link:focus-visible{outline-color:#f0c873}
@media(max-width:1024px) and (min-width:761px){.guest-profile{padding:20px 14px}.guest-profile h2{font-size:24px}.guest-actions .auth-link{font-size:17px}}
@media(max-width:760px){.guest-profile{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:16px;padding:17px 16px;text-align:left}.guest-profile .profile-label{font-size:8px;letter-spacing:.11em;margin-bottom:10px}.guest-profile h2{font-size:23px;line-height:1.05}.guest-profile p{font-size:10px;line-height:1.5}.guest-actions{margin:0;padding:0 0 0 14px;border-top:0;border-left:1px solid #c7a46a40;gap:1px}.guest-actions .auth-seal{min-height:46px;padding:8px 10px;font-size:20px;gap:6px;margin-bottom:4px}.guest-actions .auth-seal__sigil{width:21px;height:21px}.guest-actions .auth-link{font-size:17px;min-height:37px;gap:5px}.guest-actions .auth-link::before,.guest-actions .auth-link::after{width:3px;height:3px}.auth-page .auth-submit{margin-top:26px;padding-top:21px}.auth-page .auth-seal{min-height:56px;padding:10px 20px;font-size:23px;gap:10px}.auth-page .auth-link{font-size:21px;min-height:44px}}
@media(max-width:360px){.guest-profile{gap:10px;padding:16px 13px}.guest-profile h2{font-size:21px}.guest-actions{padding-left:10px}.guest-actions .auth-seal{padding:8px;font-size:19px;letter-spacing:.02em}.guest-actions .auth-seal__sigil{width:20px;height:20px}.guest-actions .auth-link{font-size:16px;gap:4px}.auth-page .auth-seal{font-size:22px;padding-inline:17px}.auth-page .auth-link{font-size:20px;gap:8px}}
@media(prefers-reduced-motion:reduce){.auth-seal,.auth-link{transition:none}.auth-seal:hover,.auth-seal:active{transform:none}}
@media(forced-colors:active){.auth-seal{background:ButtonFace;border:2px solid ButtonText;color:ButtonText;filter:none}.auth-seal::before,.auth-seal::after,.auth-seal__frame{display:none}.auth-seal__label{text-shadow:none}.auth-link{color:LinkText;text-decoration-color:LinkText}.auth-seal__sigil{color:ButtonText;filter:none}}

/* Shared modern form controls: parchment, fine brass and a clear native state.
   Native inputs/selects keep keyboard, screen-reader and no-JS behavior. */
:is(.workspace,dialog) input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-block;flex:0 0 22px;vertical-align:middle;width:22px;height:22px;min-width:22px;min-height:22px;max-width:22px;margin:0;padding:0;border:1px solid #9a7743;border-radius:2px;background:linear-gradient(#fff8e6,#efdfbc);box-shadow:inset 0 1px 2px #77512313,0 1px #fff7;cursor:pointer;accent-color:#87602d}
:is(.workspace,dialog) input[type=checkbox]:checked{border-color:#7b5528;background-color:#87602d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6 11 4 4 7-8' fill='none' stroke='%23fff1cd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(#9b7643,#785226);background-size:22px 22px,auto;background-position:center;background-repeat:no-repeat}
:is(.workspace,dialog) input[type=checkbox]:indeterminate{border-color:#7b5528;background-color:#87602d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11h10' fill='none' stroke='%23fff1cd' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"),linear-gradient(#9b7643,#785226);background-size:22px 22px,auto;background-position:center;background-repeat:no-repeat}
:is(.workspace,dialog) input[type=checkbox]:focus-visible{outline:2px solid #795019;outline-offset:4px}
:is(.workspace,dialog) input[type=checkbox]:disabled{opacity:.55;cursor:not-allowed}
:is(.workspace,dialog) select{max-width:100%;min-width:0;min-height:46px;border:1px solid #a1814e91;border-radius:2px;padding:11px 12px;color:#3c2e1e;background-color:#f6eacb;box-shadow:inset 0 1px 3px #77512312,0 1px #fff5;font:14px/1.5 var(--sans,Arial,sans-serif)}
:is(.workspace,dialog) select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;padding-right:53px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 28'%3E%3Cpath d='M1 2v24' stroke='%23ad8b53' stroke-opacity='.4'/%3E%3Cpath d='m25 5 9 9-9 9-9-9z' fill='%23d8bf8c' fill-opacity='.22' stroke='%23a17b3e' stroke-width='.8'/%3E%3Cpath d='m21 12 4 4 4-4' fill='none' stroke='%23745428' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(105deg,#fff6e2,#f3e4c2);background-position:right 9px center,center;background-size:38px 28px,auto;background-repeat:no-repeat;cursor:pointer}
:is(.workspace,dialog) select:focus-visible{outline:2px solid #795019;outline-offset:3px;border-color:#96723a}
:is(.workspace,dialog) select:disabled{opacity:.55;cursor:not-allowed}
:is(.workspace,dialog) select option{color:#3c2e1e;background:#fff8e9}
.posta-check{grid-template-columns:22px minmax(0,1fr)}
@media(max-width:700px){:is(.workspace,dialog) select{font-size:16px;min-height:48px}}
@media(forced-colors:active){:is(.workspace,dialog) input[type=checkbox],:is(.workspace,dialog) select:not([multiple]):not([size]){appearance:auto;-webkit-appearance:auto;background:none;box-shadow:none;forced-color-adjust:auto}:is(.workspace,dialog) input[type=checkbox]{border-color:ButtonText}:is(.workspace,dialog) input[type=checkbox]:focus-visible,:is(.workspace,dialog) select:focus-visible{outline-color:Highlight}}

/* Shared information note. Severity always has text, not just a colour. */
.lod-note{--note-accent:#97713b;display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px;padding:22px 24px;border:1px solid #a88a5659;border-left:3px solid var(--note-accent);background:linear-gradient(110deg,#fff7e5d9,#eee0c5ed),url('/forum/assets/parchment-small.d0af9c927b66.webp') center/500px;color:#5b4327;border-radius:2px;box-shadow:0 4px 12px #00000012;min-width:0}.lod-note--info{--note-accent:#97713b}.lod-note--warning{--note-accent:#a57535}.lod-note--success{--note-accent:#6f8354}.lod-note--error{--note-accent:#a05b43}.lod-note-icon{display:grid;place-items:center;width:34px;height:34px;color:var(--note-accent)}.lod-note-icon svg{width:30px;height:30px}.lod-note-copy{min-width:0}.lod-note .lod-note-eyebrow{margin:0 0 7px;font:600 9px/1.6 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--note-accent)}.lod-note h2,.lod-note h3{font:600 26px/1.2 var(--serif,Georgia,serif);color:#4a331b;margin:0}.lod-note p{font:13px/1.8 var(--sans,Arial,sans-serif);color:#715a3d;max-width:75ch;margin:8px 0 0;overflow-wrap:anywhere}.lod-note-actions{display:flex;gap:10px;flex-wrap:wrap;margin:17px 0 0}.lod-note-actions .button,.lod-note-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 16px;border:1px solid #a1814e91;border-radius:2px;background:linear-gradient(110deg,#e0c79c,#f2e2bb 55%,#e0c69a);box-shadow:inset 0 0 0 3px #fff2cc3d;color:#634621;text-decoration:none;font:italic 600 19px/1.2 var(--serif,Georgia,serif)}.lod-note-actions a:hover{background:linear-gradient(110deg,#ead3aa,#fff0ce 55%,#ead3a9);color:#3e2c19}.lod-note-actions a:focus-visible{outline:2px solid #795019;outline-offset:3px}@media(max-width:600px){.lod-note{padding:18px 16px;grid-template-columns:28px minmax(0,1fr);gap:11px}.lod-note-icon{width:28px;height:28px}.lod-note-icon svg{width:26px;height:26px}.lod-note h2,.lod-note h3{font-size:24px}.lod-note-actions{gap:8px}.lod-note-actions a{font-size:18px}.lod-note p{font-size:12px}}
@media(forced-colors:active){.lod-note{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}.lod-note h2,.lod-note h3,.lod-note p,.lod-note-icon{color:CanvasText}.lod-note-actions a{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}}

/* One manuscript button family for modern forum workflows.
   Only established action classes participate; icon, menu and editor controls
   retain their own geometry. Explicit role aliases are available to renderers. */
.workspace,.wood,.wood-moderation,.profile-card,.page-head,.posta-hero{--lod-action-muted:#dac39a;--lod-action-line:#af8d555e;--lod-action-wash:#c6a0650c;--lod-action-focus:#e4bd76}
.paper,.posta-content,.lod-note,dialog{--lod-action-muted:#725331;--lod-action-line:#a888545e;--lod-action-wash:#fff7e32e;--lod-action-focus:#795019}
:is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger),.workspace .posta-actions>a,.workspace .lod-note-actions>a,.workspace :is(.moderation-page,.context-moderation) .form-actions>a{
 --lod-button-ink:#573b21;--lod-button-edge:#9b7847;--lod-button-fill:linear-gradient(105deg,#d8bf94,#f1e1bd 23%,#f5e9cb 52%,#eedbb5 79%,#d7bd8f);--lod-button-shadow:inset 0 1px #fff9,inset 0 0 0 3px #fff2cf38,0 2px 3px #35220f16;
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:9px 18px;border:1px solid var(--lod-button-edge);border-radius:2px;background:var(--lod-button-fill);box-shadow:var(--lod-button-shadow);color:var(--lod-button-ink);font:600 italic 19px/1.2 var(--serif,Georgia,serif);letter-spacing:.01em;text-align:center;text-decoration:none;text-shadow:0 1px #fff5;white-space:normal;cursor:pointer;transition:filter .16s ease,box-shadow .16s ease,transform .16s ease
}
:is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger):hover,.workspace .posta-actions>a:hover,.workspace .lod-note-actions>a:hover,.workspace :is(.moderation-page,.context-moderation) .form-actions>a:hover{background:var(--lod-button-fill);border-color:var(--lod-button-edge);color:var(--lod-button-ink);box-shadow:var(--lod-button-shadow);filter:brightness(1.045)}
:is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger):active,.workspace .posta-actions>a:active,.workspace .lod-note-actions>a:active{transform:translateY(1px)}
:is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger):focus-visible,.workspace .posta-actions>a:focus-visible,.workspace .lod-note-actions>a:focus-visible,.workspace :is(.moderation-page,.context-moderation) .form-actions>a:focus-visible{outline:2px solid var(--lod-action-focus,#795019);outline-offset:4px}
:is(.workspace,dialog) :is(.button.secondary,.btn:not(.primary),.posta-button.secondary,.lod-button--secondary,.account-character-trigger){--lod-button-ink:var(--lod-action-muted,#725331);--lod-button-edge:var(--lod-action-line,#a888545e);--lod-button-fill:var(--lod-action-wash,#fff7e32e);--lod-button-shadow:inset 0 1px #fff2;font-size:18px;font-weight:500;font-style:normal;text-shadow:none}

/* Returning or cancelling is a manuscript link with a full native hit area. */
:is(.workspace,dialog) :is(.lod-button--cancel,.button[data-cancel],.button[data-character-switch-cancel],.button[name=publication_review],.button[formaction='/forum/pubblicazione/rivedi/']),.workspace .character-switch-actions>a.button.secondary,.workspace .onboarding-create .form-actions>a.button.secondary,.workspace .recovery-request-actions .form-actions>a.button.secondary,.workspace :is(.moderation-page,.context-moderation) .form-actions>a{
 --lod-button-ink:var(--lod-action-muted,#725331);--lod-button-edge:transparent;--lod-button-fill:transparent;--lod-button-shadow:none;padding-inline:9px;font-size:18px;font-style:normal;font-weight:500;text-shadow:none;text-decoration:underline;text-decoration-color:#a4834a66;text-decoration-thickness:1px;text-underline-offset:4px
}
:is(.workspace,dialog) :is(.lod-button--cancel,.button[data-cancel],.button[data-character-switch-cancel],.button[name=publication_review],.button[formaction='/forum/pubblicazione/rivedi/'])::before,.workspace .character-switch-actions>a.button.secondary::before,.workspace .onboarding-create .form-actions>a.button.secondary::before,.workspace .recovery-request-actions .form-actions>a.button.secondary::before,.workspace :is(.moderation-page,.context-moderation) .form-actions>a::before{
 content:"";display:inline-block;flex:none;width:15px;height:16px;background:currentColor;opacity:.7;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m8 4-5 5 5 5M3 9h9a5 5 0 0 1 5 5v2' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat
}

/* A saved record: a quiet ivory outline and an original little folio. */
:is(.workspace,dialog) :is(.lod-button--save,.button[data-save],.button[formaction='/forum/bozze/salva/'],.posta-button[name=operation][value=draft]),.workspace .draft-form .button[type=submit],.workspace .context-moderation form[action$='/impostazioni/'] .button[type=submit],.workspace .moderation-post-form[action$='/modifica/'] .button[type=submit]{
 --lod-button-ink:#69512e;--lod-button-edge:#9a855c;--lod-button-fill:linear-gradient(110deg,#e9d9b438,#fff4d963);--lod-button-shadow:inset 0 1px #fff8,inset 0 0 0 3px #e8d5aa24;font-size:18px;font-style:normal;font-weight:500;text-shadow:0 1px #fff5
}
:is(.workspace,dialog) :is(.lod-button--save,.button[data-save],.button[formaction='/forum/bozze/salva/'],.posta-button[name=operation][value=draft])::before,.workspace .draft-form .button[type=submit]::before,.workspace .context-moderation form[action$='/impostazioni/'] .button[type=submit]::before,.workspace .moderation-post-form[action$='/modifica/'] .button[type=submit]::before{
 content:"";display:inline-block;flex:none;width:16px;height:20px;background:currentColor;opacity:.8;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M4 2h9l4 4v16H4V2Zm9 0v5h4M7 11h7m-7 4h7m-7 3h4M2 5v17' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat
}
.workspace .wood-moderation :is(.lod-button--save,form[action$='/impostazioni/'] .button[type=submit]){--lod-button-ink:#ead4a9;--lod-button-edge:#a99160;--lod-button-fill:linear-gradient(110deg,#8f73391c,#c7ab7130);--lod-button-shadow:inset 0 1px #e6c98914;text-shadow:none}

/* Confirmation and the next step keep the light parchment emphasis. */
:is(.workspace,dialog) :is(.lod-button--next,.button[data-next],.button[data-character-confirm],.button[data-publication-confirm],.button[data-password],.button[data-confirm-code]){--lod-button-ink:#573b21;--lod-button-edge:#9b7847;--lod-button-fill:linear-gradient(105deg,#d8bf94,#f1e1bd 23%,#f5e9cb 52%,#eedbb5 79%,#d7bd8f);--lod-button-shadow:inset 0 1px #fff9,inset 0 0 0 3px #fff2cf38,0 2px 3px #35220f16;font-weight:600;font-style:italic;text-shadow:0 1px #fff5}
:is(.workspace,dialog) :is(.lod-button--next,.button[data-next],.button[data-character-confirm],.button[data-publication-confirm])::after{content:"";display:inline-block;flex:none;width:13px;height:13px;background:currentColor;opacity:.65;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 9h13m-5-5 5 5-5 5' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
:is(.workspace,dialog) :is(.button.moderation-caution-button,.lod-button--danger){--lod-button-ink:#7a412d;--lod-button-edge:#a5785a;--lod-button-fill:linear-gradient(110deg,#ead2ae,#f3e2c4);--lod-button-shadow:inset 0 1px #fff7,inset 0 0 0 3px #f6e6cc38}

/* Compact actions retain the scale of their surrounding tools and lists. */
:is(.workspace,dialog) :is(.button,.btn,.posta-button,.lod-button):is(.secondary,.primary,[data-cancel],[data-save],[data-password],[data-confirm-code],.lod-button--save,.lod-button--cancel){font-family:var(--serif,Georgia,serif);background:var(--lod-button-fill);color:var(--lod-button-ink);border-color:var(--lod-button-edge);box-shadow:var(--lod-button-shadow)}
:is(.workspace,dialog) :is(.button.small,.btn.small,.lod-button--small){min-height:38px;padding:7px 11px;font-size:16px}
.workspace :is(.hero-actions,.toolbar,.detail-actions,.draft-actions,.ticket-controls,.pagination) :is(.button,.btn){min-height:40px;padding:8px 13px;font-size:17px}
.workspace .profile-picker .button{min-height:40px;padding:6px 8px;font-size:14px}
.workspace .account-character-trigger{min-height:44px;padding:8px 13px;font-size:18px}
.workspace .posta-quill-button{min-height:44px;padding:5px 19px 5px 10px;font-size:19px}
.workspace .posta-search .posta-button,.workspace .posta-actions>a{font-size:17px;padding:8px 13px}
.workspace .posta-read-controls .posta-button{font-size:16px}
.recovery-dialog .recovery-input-button .button{font-size:17px;padding-inline:15px}
:is(.workspace,dialog) input[type=file]::file-selector-button{margin:0 10px 5px 0;padding:8px 12px;min-height:40px;border:1px solid #a08351;border-radius:2px;background:linear-gradient(105deg,#e2cba0,#f2e3c2 50%,#e0c79b);box-shadow:inset 0 1px #fff7;color:#654923;font:500 17px/1.2 var(--serif,Georgia,serif);cursor:pointer}
:is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger):disabled,:is(.workspace,dialog) :is(.button,.btn,.posta-button,.lod-button)[aria-disabled=true]{opacity:.48;cursor:not-allowed;filter:saturate(.5);transform:none;box-shadow:none}
@media(max-width:760px){
 :is(.workspace,dialog) :is(.button,.btn,.posta-button,.lod-button){padding:9px 14px;font-size:18px}
 .workspace :is(.hero-actions,.toolbar,.detail-actions,.draft-actions,.ticket-controls,.pagination) :is(.button,.btn){padding:8px 11px;font-size:16px}
 .workspace .profile-picker .button{padding:6px 8px;font-size:14px}.workspace .account-character-trigger{font-size:17px;padding:8px 11px}.workspace .posta-quill-button{font-size:18px}.workspace .posta-search .posta-button{font-size:16px;padding-inline:11px}
 :is(.workspace,dialog) :is(.lod-button--cancel,.button[data-cancel],.button[data-character-switch-cancel],.button[name=publication_review]){padding-inline:6px;font-size:17px}
 .recovery-dialog .recovery-dialog-actions .button.secondary{flex:0 0 auto}.recovery-dialog .recovery-dialog-actions .button[data-next]{min-width:0;flex:1;font-size:18px}
}
@media(max-width:380px){
 .workspace .recovery-request-actions .form-actions>a.button.secondary{font-size:16px;padding-inline:4px;gap:5px}
 .workspace .recovery-request-actions .button[data-save]{padding-inline:9px;font-size:17px;gap:6px}
 .recovery-dialog .recovery-dialog-actions{gap:7px}.recovery-dialog .recovery-dialog-actions .button[data-next]{padding-inline:10px;font-size:18px;gap:6px}
}
@media(prefers-reduced-motion:reduce){:is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger),.workspace .posta-actions>a,.workspace .lod-note-actions>a{transition:none;transform:none}}
@media(forced-colors:active){
 :is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger),.workspace .posta-actions>a,.workspace .lod-note-actions>a,.workspace :is(.moderation-page,.context-moderation) .form-actions>a{background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
 :is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger):hover,.workspace .posta-actions>a:hover,.workspace .lod-note-actions>a:hover{background:ButtonFace;color:ButtonText;border-color:ButtonText;filter:none}
 :is(.workspace,dialog) :is(.button,.btn,.posta-button,.posta-quill-button,.lod-button,.account-character-trigger):focus-visible{outline-color:Highlight}
 :is(.workspace,dialog) :is(.button,.btn,.posta-button,.lod-button)::before,:is(.workspace,dialog) :is(.button,.btn,.posta-button,.lod-button)::after{display:none}
 :is(.workspace,dialog) input[type=file]::file-selector-button{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}
}

/* The historical-name combobox keeps one input and one attached parchment list. */
.recovery-autocomplete{position:relative;min-width:0}
.recovery-dialog .recovery-suggestions{list-style:none;margin:-1px 0 0;padding:5px;max-height:min(13rem,36dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #a1814e91;border-top:0;border-radius:0 0 2px 2px;background:#fff8e9;box-shadow:0 5px 12px #52391618;color:#513a21;font:14px/1.5 var(--sans);scrollbar-color:#ad8b55 #f2e4c7;scrollbar-width:thin}
.recovery-dialog .recovery-suggestions>li{display:flex;align-items:center;min-height:44px;margin:0;padding:10px 12px;border:1px solid transparent;cursor:pointer;overflow-wrap:anywhere}
.recovery-dialog .recovery-suggestions>li:is(.is-active,:hover){border-color:#9a7743;background:#e8d5b2;color:#3b2d1d;box-shadow:inset 3px 0 #9a7743;outline:1px solid #9a7743;outline-offset:-1px}
@media(max-width:600px){.recovery-dialog .recovery-suggestions{font-size:16px}.recovery-dialog .recovery-suggestions>li{padding:10px}}
@media(forced-colors:active){.recovery-dialog .recovery-suggestions{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}.recovery-dialog .recovery-suggestions>li:is(.is-active,:hover){background:Highlight;color:HighlightText;border-color:Highlight;outline-color:Highlight;box-shadow:none}}

/* Radio choices and keyboard focus share the same restrained brass detail. */
:is(.workspace,dialog) input[type=radio]{appearance:none;-webkit-appearance:none;display:inline-block;flex:0 0 20px;vertical-align:middle;width:20px;height:20px;min-width:20px;min-height:20px;margin:0;padding:0;border:1px solid #9a7743;border-radius:50%;background:linear-gradient(#fff8e6,#efdfbc);box-shadow:inset 0 1px 2px #77512313,0 1px #fff7;cursor:pointer}
:is(.workspace,dialog) input[type=radio]:checked{background:radial-gradient(circle,#805a2a 0 4px,#f7e6c2 4.5px 7px,#b18b50 7.5px 8px,#f7e6c2 8.5px);border-color:#805a2a}
:is(.workspace,dialog) input[type=radio]:focus-visible,:is(.workspace,dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea):focus-visible{outline:2px solid var(--lod-action-focus,#795019);outline-offset:3px}
:is(.workspace,dialog) input[type=radio]:disabled{opacity:.5;cursor:not-allowed}
@media(forced-colors:active){:is(.workspace,dialog) input[type=radio]{appearance:auto;-webkit-appearance:auto;background:none;border-color:ButtonText;box-shadow:none;forced-color-adjust:auto}:is(.workspace,dialog) input[type=radio]:focus-visible,:is(.workspace,dialog) :is(input,textarea):focus-visible{outline-color:Highlight}}

/* Unfocused editable fields retain a visible brass boundary on parchment. */
@media(forced-colors:none){.paper :is(input:not([type]),input[type=text],input[type=password],input[type=email],input[type=search],input[type=number],input[type=tel],input[type=url],input[type=datetime-local],select,textarea):enabled:not(:focus){border-color:#8c6b3b}}
