/* Neon Plan · controls share one alignment and one interaction language. */
:root{--np-control-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23626A66' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");--np-focus:#009D7E}
:root.is-dark,:root[data-theme="dark"]{--np-control-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23A9B7B2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");--np-focus:#00FF7C}
body :is(.btn,.linkbtn){display:inline-flex;align-items:center;gap:8px;line-height:1.35;vertical-align:middle}
body :is(.btn,.linkbtn,.iconbtn)>svg.i{display:block;flex-shrink:0;vertical-align:middle}
body .iconbtn{display:inline-grid;place-items:center;flex-shrink:0;line-height:1;padding:0}
body :is(button,a,summary):focus-visible,body .field:focus-visible{outline:2px solid var(--np-focus);outline-offset:3px}
body button:disabled,body select:disabled,body input:disabled{cursor:not-allowed}
body .field:disabled{color:var(--muted);background-color:var(--sunk);opacity:.72}
body select.field,#drawerSlot .np-form-drawer select.field{appearance:none;-webkit-appearance:none;background-image:var(--np-control-chevron);background-size:20px 20px;background-repeat:no-repeat;background-position:right 14px center;padding-right:44px;line-height:1.4;text-overflow:ellipsis;cursor:pointer}
body select.field[multiple],body select.field[size]:not([size="1"]){background-image:none;padding-right:13px;cursor:auto}
body .field[aria-invalid="true"]{border-color:var(--out,#B13D3D);outline-color:var(--out,#B13D3D)}
/* Direct action icons never inherit the line-height of a nearby large amount. */
body :is(.btn,.linkbtn,.iconbtn) :is(.np-button-label,.np-action-label){line-height:1.35}
body :is(.np-form-details,.np-pot-options,.np-tx-details) > summary{list-style:none}
body :is(.np-form-details,.np-pot-options,.np-tx-details) > summary::-webkit-details-marker{display:none}
#drawerSlot .np-form-drawer details.np-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none!important;list-style-type:none!important;position:relative}
#drawerSlot .np-form-drawer details.np-disclosure>summary::-webkit-details-marker{display:none}
#drawerSlot .np-form-drawer details.np-disclosure>summary::marker{content:""}
#drawerSlot .np-form-drawer details.np-disclosure>summary>.i{flex:none;width:20px;height:20px;display:block}
#drawerSlot .np-form-drawer .np-disclosure-chevron{margin-left:auto;color:var(--muted);transition:transform .18s ease;transform-origin:center}
#drawerSlot .np-form-drawer details.np-disclosure[open]>summary>.np-disclosure-chevron{transform:rotate(180deg)}
#drawerSlot .np-form-drawer details.np-disclosure>summary:hover{background:color-mix(in srgb,var(--sunk) 65%,transparent)}
#drawerSlot .np-form-drawer details.np-disclosure>summary:focus-visible{outline-offset:-4px;border-radius:14px}
#drawerSlot .np-form-drawer :is(.np-form-section>h3,.np-form-heading){display:flex;align-items:center;gap:9px}
#drawerSlot .np-form-drawer :is(.np-form-section>h3,.np-form-heading)::before{content:"";width:3px;height:14px;flex:none;border-radius:999px;background:linear-gradient(180deg,var(--yellow),var(--spring))}
@media(prefers-reduced-motion:reduce){#drawerSlot .np-form-drawer .np-disclosure-chevron{transition:none}}

/* Page disclosures keep the same affordance as form disclosures. */
body details>summary:has(.np-page-chevron){display:flex;align-items:center;gap:10px;list-style:none}
body .np-page-chevron{width:20px;height:20px;flex:none;margin-left:auto;color:var(--muted);transition:transform .18s ease}
body details[open]>summary>.np-page-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){body .np-page-chevron{transition:none}}

/* Native disclosure semantics stay intact; only their decorative marker changes. */
body details>summary{list-style:none;list-style-type:none;cursor:pointer}
body details>summary::-webkit-details-marker{display:none}
body details>summary::marker{content:""}
body details.np-disclosure>summary{display:flex;align-items:center;gap:12px;min-height:44px;list-style:none}
body details.np-disclosure>summary>.np-disclosure-chevron{display:block;flex:0 0 20px;width:20px;height:20px;margin-left:auto;color:var(--muted);transition:transform .18s ease;transform-origin:center}
body details.np-disclosure[open]>summary>.np-disclosure-chevron{transform:rotate(180deg)}
body details.np-disclosure>summary>span{min-width:0}
body .fxout>summary::before{content:none}
/* Keep native datalist search and keyboard navigation without the browser triangle. */
body input[list]{background-image:var(--np-control-chevron);background-repeat:no-repeat;background-size:18px 18px;background-position:right 7px center;padding-right:32px!important}
body input[list]::-webkit-calendar-picker-indicator{opacity:0;cursor:pointer}
#drawerSlot .np-form-drawer .tagbox input[list]{background-image:var(--np-control-chevron);background-repeat:no-repeat;background-size:18px 18px;background-position:right 7px center}
body :is(#drawerSlot,#wizSlot) .btn.primary:not(.danger){background:linear-gradient(112deg,var(--yellow),var(--spring));color:var(--fence);border:1px solid transparent;box-shadow:inset 0 0 0 1px rgb(11 14 13 / .05);font-weight:650;filter:none}
body :is(#drawerSlot,#wizSlot) .btn.primary:not(.danger):hover:not(:disabled){background:linear-gradient(112deg,color-mix(in srgb,var(--yellow) 86%,white),color-mix(in srgb,var(--spring) 86%,white));border-color:color-mix(in srgb,var(--peak) 30%,transparent)}
body :is(#drawerSlot,#wizSlot) .btn.primary:not(.danger):active:not(:disabled){background:linear-gradient(112deg,var(--yellow),color-mix(in srgb,var(--spring) 88%,var(--peak)))}
body :is(#drawerSlot,#wizSlot) .btn.primary:disabled{opacity:.5;box-shadow:none;filter:none}
body .np-drawer-back{display:inline-flex;align-items:center;gap:8px;min-height:40px;max-width:100%;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:500 13px/1.4 var(--f-body);text-align:left;white-space:normal}
body .np-drawer-back:hover{color:var(--ink);background:var(--sunk)}
body .np-drawer-back>svg{width:16px;height:16px;flex:none}
@media(prefers-reduced-motion:reduce){body details.np-disclosure>summary>.np-disclosure-chevron{transition:none}}

body #lanc-sort{appearance:none;-webkit-appearance:none;background-image:var(--np-control-chevron);background-repeat:no-repeat;background-size:18px 18px;background-position:right 8px center;padding-right:34px;line-height:1.4;cursor:pointer}
#drawerSlot .np-form-drawer .field:focus-visible{outline:2px solid var(--np-focus,var(--peak));outline-offset:2px}
