/* Scoped select surfaces; native values, validation and change handlers stay intact. */
select.ls-select-native{position:absolute!important;width:1px!important;min-width:0!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%);overflow:hidden!important}
.ls-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;min-height:43px;border:1px solid var(--line,#e6e2e1);border-radius:9px;padding:10px 12px;background:var(--paper,#fff);color:var(--ink,#302e32);font:inherit;text-align:left;line-height:1.5;touch-action:manipulation}
.ls-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ls-select-trigger>i{font-style:normal;flex:none;color:var(--muted,#929096)}
.ls-select-trigger:disabled{cursor:not-allowed;opacity:.55}.ls-select-trigger:focus-visible{outline:2px solid var(--wine,#89364a);outline-offset:2px}.filter-cell:has(>.ls-select-trigger),.ls-region-grid>label:has(.ls-select-trigger){min-width:0}
dialog.ls-select-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:66vh;height:66dvh;max-height:66vh;max-height:66dvh;min-height:0;padding:0;border:1px solid var(--line,#ece9e7);border-radius:16px;background:var(--paper,#fff);color:var(--ink,#302e32);box-shadow:0 18px 60px #30202b30;overflow:hidden}
.ls-select-dialog::backdrop{background:#20152166}.ls-select-shell{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;overflow:hidden}
.ls-select-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line,#ece9e7);flex:none}.ls-select-head h2{min-width:0;font-size:18px;line-height:1.4;overflow-wrap:anywhere}.ls-select-head>button{flex:none;min-height:40px;padding:6px 8px;color:var(--wine,#89364a)}
.ls-select-tools{padding:10px 16px 0;flex:none;min-width:0}.ls-select-search{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:42px;font-size:16px;background:var(--paper,#fff);color:var(--ink,#302e32);border:1px solid var(--line,#ece9e7)}
.ls-select-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;font-size:12px;color:var(--muted,#929096)}.ls-select-navigation>button{font-size:13px;color:var(--wine,#89364a);padding:5px 0;min-height:32px}.ls-select-navigation>[hidden]{display:none}.ls-select-navigation>span{margin-left:auto}.ls-select-subtitle{font-size:12px;line-height:1.45;color:var(--muted,#929096);margin:0 0 8px;overflow-wrap:anywhere}.ls-select-subtitle:empty{display:none}
.ls-select-options{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:0 8px 8px;scrollbar-gutter:stable}
.ls-select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;max-width:100%;min-height:46px;padding:10px 12px;border-radius:8px;background:transparent;color:var(--ink,#302e32);font:inherit;text-align:left;line-height:1.45;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.ls-select-option>span:first-child{min-width:0;overflow-wrap:anywhere}.ls-select-option small{display:block;font-size:12px;color:var(--muted,#929096);margin-top:2px}.ls-select-option.is-selected{background:var(--rose,#f7ebed);color:var(--wine,#89364a);font-weight:600}.ls-select-option:focus-visible{outline:2px solid var(--wine,#89364a);outline-offset:-2px}.ls-select-check{flex:none;min-width:16px;text-align:right;color:var(--wine,#89364a)}.ls-select-empty{font-size:14px;color:var(--muted,#929096);padding:20px 12px;line-height:1.6}
/* A stable top-right action on both desktop and narrow phones. */
.panel.co-home[data-co-home]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:0 12px;position:relative;min-width:0}
.panel.co-home[data-co-home]>div{display:contents}.panel.co-home[data-co-home] h2{grid-column:1;grid-row:1;min-width:0;align-self:center;margin:0;font-size:21px;line-height:1.4}
.panel.co-home[data-co-home] p{grid-column:1 / -1;grid-row:2;min-width:0;margin:8px 0 0;overflow-wrap:anywhere}
.panel.co-home[data-co-home]>[data-co-directory]{grid-column:2;grid-row:1;align-self:start;justify-self:end;flex:none;width:auto!important;max-width:100%;min-width:0;min-height:38px;white-space:nowrap;padding:8px 12px;margin:0;font-size:13px;line-height:1.4}
@media(max-width:680px){dialog.ls-select-dialog{inset:auto 0 0;width:100%;max-width:100%;height:68vh;height:68dvh;max-height:68vh;max-height:68dvh;margin:0;border-radius:18px 18px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px)}.ls-select-head{padding:8px 14px}.ls-select-tools{padding:8px 14px 0}.ls-select-option{min-height:48px;font-size:15px}.panel.co-home[data-co-home]{gap:0 8px;padding:16px}.panel.co-home[data-co-home] h2{font-size:19px}.panel.co-home[data-co-home] p{font-size:14px;line-height:1.65}.panel.co-home[data-co-home]>[data-co-directory]{font-size:12px;padding:8px 10px}}
