.ui-seg{border:1px solid var(--line);background:var(--sunken);border-radius:9px;gap:2px;padding:3px;display:inline-flex}.ui-seg label{color:var(--ink-2);font-weight:500;font-size:var(--fs-sm);cursor:pointer;border-radius:6px;padding:6px 12px;position:relative}.ui-seg label:hover{color:var(--ink)}.ui-seg input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;min-height:0;margin:0;position:absolute;inset:0}.ui-seg label:has(input:checked){background:var(--raised);color:var(--ink);box-shadow:0 1px 2px #0000002e, inset 0 0 0 1px var(--line)}.ui-seg label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.ui-seg--hold{visibility:hidden}.shell-page{gap:var(--sp-5);max-width:1200px;font-family:var(--font-ui);font-size:var(--fs-md);margin:0 auto;line-height:1.45;display:grid}.shell-page>:not(.shell-page__head){animation:.18s ease-out ui-fade-in}.shell-page.shell-page--boot>*{animation:none}:root[data-from-boot] .shell-page>*{animation-duration:0s}.shell-page h1{font-size:var(--fs-xl);letter-spacing:-.01em;margin:0;font-weight:600}.shell-page__head{align-items:center;gap:var(--sp-3);flex-wrap:wrap;display:flex}.shell-page__head h1{overflow-wrap:anywhere;min-width:0;margin-right:auto}.shell-icon--sm{width:15px;height:15px}.shell-card{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);min-width:0;padding:20px 22px}.shell-card h2{font-size:var(--fs-lg);margin:0;font-weight:600}.shell-button{border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--raised);height:36px;color:var(--ink);font-weight:600;font-size:var(--fs-sm);white-space:nowrap;justify-content:center;align-items:center;gap:8px;margin-top:10px;padding:0 14px;text-decoration:none;display:inline-flex}.shell-button:hover{border-color:var(--ink-3)}.shell-button--primary{background:var(--accent);color:var(--accent-ink);border-color:#0000;margin-top:0}.shell-button--primary:hover{background:var(--accent-hover);border-color:#0000}.shell-button--primary:disabled{opacity:.42;cursor:not-allowed}.shell-button--secondary{margin-top:0}.shell-button[aria-disabled=true]{opacity:.42;cursor:not-allowed}.shell-button[aria-disabled=true]:hover{border-color:var(--line-strong)}.shell-page__head .shell-button{margin-top:0}.shell-settings{gap:var(--sp-5);max-width:780px;display:grid}.shell-setting{justify-content:space-between;align-items:center;gap:var(--sp-3);margin-top:var(--sp-3);padding-top:var(--sp-3);border-top:1px solid var(--line);flex-wrap:wrap;display:flex}.shell-setting__label{font-weight:600;display:block}.shell-setting__text{min-width:0}.shell-setting--rate .shell-setting__text{flex:16rem}.shell-setting__hint{color:var(--ink-3);font-size:var(--fs-sm);margin:0}.shell-setting__value{min-width:0;color:var(--ink-2);font-size:var(--fs-sm);overflow-wrap:anywhere;text-align:right}.shell-setting__hint--error{color:var(--neg)}.shell-note{color:var(--ink-2);font-size:var(--fs-sm);margin:0}.shell-note a{color:var(--accent)}.shell-link{color:var(--accent);font-weight:500;text-decoration:none}.shell-link:hover{text-decoration:underline}.shell-page__actions{display:contents}@media (width<=559.98px){.shell-page__head h1{flex:100%;order:-2;min-width:0}.shell-page__head>.shell-button--primary{flex:1;min-height:40px}.shell-page__actions{gap:var(--sp-2);flex-wrap:wrap;order:1;width:100%;display:flex}}.shell-dust{align-items:center;gap:var(--sp-2);display:inline-flex}.shell-dust__unit{color:var(--ink-3)}.shell-dust input{text-align:right;font-variant-numeric:tabular-nums;width:8rem}.shell-setting__text--grow{flex:16rem}.shell-dust--rate{flex-wrap:wrap}.shell-dust--rate input{width:5rem}.shell-dust__label{color:var(--ink-2);font-size:var(--fs-sm)}.shell-bone{border-radius:var(--r-sm);background:var(--line);max-width:100%;animation:1.4s ease-in-out infinite shell-pulse;display:block}.shell-bone--round{border-radius:50%;flex:none}.shell-skeleton{gap:var(--sp-5);display:grid}.shell-skeleton__stats{gap:var(--sp-4);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));display:grid}.shell-skeleton__stat,.shell-skeleton__card{gap:var(--sp-4);display:grid}.shell-skeleton__cards{gap:var(--sp-4);grid-template-columns:repeat(auto-fill,minmax(280px,1fr));display:grid}.shell-skeleton__toolbar,.shell-skeleton__row{justify-content:space-between;align-items:center;gap:var(--sp-4);display:flex}.shell-skeleton__row{justify-content:flex-start}.shell-skeleton__row>:last-child:not(.shell-skeleton__lines){margin-left:auto}.shell-skeleton__rows{gap:var(--sp-4);display:grid}.shell-skeleton__lines{flex:1;gap:8px;display:grid}@keyframes shell-pulse{50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.shell-bone{animation:none}}.shell-close{border-radius:var(--r-sm);width:32px;height:32px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.shell-close:hover{background:var(--raised);color:var(--ink)}.shell-close:disabled{opacity:.5;cursor:not-allowed}.shell-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell-bell{position:relative}.shell-bell__button{border-radius:var(--r-sm);width:34px;height:34px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:relative}.shell-bell__button:hover,.shell-bell__button[aria-expanded=true]{background:var(--raised);color:var(--ink)}.shell-bell__button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell-bell__count{background:var(--warn);color:#1a1205;border-radius:999px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;line-height:1;display:grid;position:absolute;top:3px;right:2px}.shell-bell__scrim{display:none}.shell-bell__panel{z-index:40;border:1px solid var(--line-strong);border-radius:var(--r-lg);background:var(--raised);width:min(420px,100vw - 32px);max-height:min(560px,80vh);box-shadow:var(--shadow-lg);padding:6px;position:absolute;top:calc(100% + 8px);right:0;overflow-y:auto}.shell-bell__head{justify-content:space-between;align-items:baseline;gap:var(--sp-3);padding:10px 12px 6px;display:flex}.shell-bell__head h2{font-size:var(--fs-md);margin:0 auto 0 0;font-weight:600}.shell-bell__head>span:not(.shell-bell__close){color:var(--ink-3);font-size:var(--fs-xs)}.shell-bell__close{display:none}.shell-bell__list{margin:0;padding:0;list-style:none;display:grid}.shell-bell__row{border-radius:var(--r-md);align-items:center;gap:12px;padding:10px 12px;display:flex}.shell-bell__row:hover{background:var(--surface)}.shell-bell__icon{border-radius:8px;flex:none;place-items:center;width:30px;height:30px;display:grid}.shell-bell__icon--warn{background:var(--warn-soft);color:var(--warn)}.shell-bell__icon--neg{background:var(--neg-soft);color:var(--neg)}.shell-bell__text{min-width:0;font-size:var(--fs-sm);overflow-wrap:anywhere;flex:1;line-height:1.3}.shell-bell__text small{color:var(--ink-3);font-size:var(--fs-xs);margin-top:2px;display:block}.shell-bell .shell-button{height:30px;font-size:var(--fs-xs);flex:none;margin-top:0;padding:0 10px}.shell-bell .shell-button--ghost{color:var(--ink-2);background:0 0;border-color:#0000}.shell-bell .shell-button--ghost:hover{background:var(--surface);color:var(--ink)}.shell-bell__quiet,.shell-bell__foot{color:var(--ink-2);align-items:center;gap:10px;margin:0;display:flex}.shell-bell__quiet{font-size:var(--fs-sm);padding:12px}.shell-bell__foot{border-top:1px solid var(--line);font-size:var(--fs-xs);padding:8px 12px 6px}.shell-bell__ok{color:var(--pos)}@media (width<=559.98px){.shell-bell{position:static}.shell-bell__scrim{z-index:90;background:#04060a99;display:block;position:fixed;inset:0}:root[data-theme=light] .shell-bell__scrim{background:#12172659}.shell-bell__head{align-items:center}.shell-bell__close{display:grid}.shell-bell__panel{z-index:91;width:auto;max-height:80vh;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px));border-radius:var(--r-lg) var(--r-lg) 0 0;position:fixed;inset:auto 0 0}}.shell-setting__hint--pending{min-height:1lh}.shell-setting__hint--long{width:44rem;max-width:100%}@media (width<=639.98px){.shell-setting__hint--pending{min-height:2lh}.shell-setting__hint--long{min-height:3lh}}.shell-setting__hint--pending .shell-bone{margin-top:.4em}.copy-value{max-width:100%;color:var(--ink-2);font-family:var(--font-mono);align-items:center;gap:6px;font-size:13px;display:inline-flex}.copy-value__text{white-space:nowrap}.copy-value__button{color:var(--ink-3);cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;padding:2px;display:inline-grid}.copy-value__button:hover{background:var(--raised);color:var(--ink)}.copy-value__button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.copy-value:has(.copy-value__blocked){flex-wrap:wrap}.copy-value__blocked{min-width:0;color:var(--ink-3);font-family:var(--font-ui);white-space:normal;flex-basis:100%;font-size:12px}.copy-value__full{color:var(--ink);font-family:var(--font-mono);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.ui-scrim{z-index:80;overscroll-behavior:contain;background:#04060a9e;place-items:center;padding:24px 16px;animation:.15s ease-out ui-fade-in;display:grid;position:fixed;inset:0;overflow-y:auto}:root.ui-scroll-locked{overflow:hidden}:root[data-theme=light] .ui-scrim{background:#12172659}.ui-scrim--over-drawer{z-index:90}.ui-modal{border:1px solid var(--line-strong);background:var(--surface);width:min(520px,100%);box-shadow:var(--shadow-lg);color:var(--ink);font-family:var(--font-ui);font-size:var(--fs-md);border-radius:16px;animation:.18s cubic-bezier(.2,.8,.2,1) ui-pop-in}.ui-modal--narrow{width:min(420px,100%)}.ui-modal--wide{width:min(560px,100%)}.ui-modal__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 12px;padding:18px 22px 0;display:flex}.ui-modal .ui-modal__head h2{min-width:0;font-size:var(--fs-xl);flex:1;margin:0;font-weight:600}.ui-modal__head .shell-note{flex-basis:100%;margin-top:8px}.ui-modal__info{border-radius:var(--r-md);background:var(--accent-soft);color:var(--ink);font-size:var(--fs-sm);margin:0;padding:10px 12px}.ui-modal__body{gap:var(--sp-4);padding:18px 22px;display:grid}.ui-modal__foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:14px 22px 18px;display:flex}.ui-modal__summary{color:var(--ink-3);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;align-self:center;margin-right:auto}.ui-modal--wide{flex-direction:column;max-height:calc(100dvh - 48px);display:flex}.ui-modal--wide>form{flex-direction:column;flex:1;min-height:0;display:flex}.ui-modal--wide .ui-modal__head,.ui-modal--wide .ui-modal__foot{flex:none}.ui-modal--wide .ui-modal__body{overscroll-behavior:contain;min-height:0;overflow-y:auto}@media (width<=639.98px){.ui-modal--wide{animation:.22s cubic-bezier(.2,.8,.2,1) ui-sheet-in}.ui-scrim:has(>.ui-modal--wide){place-items:stretch stretch;padding:0;overflow:hidden}.ui-modal--wide{border:0;border-radius:0;min-height:0;max-height:none}.ui-modal--wide .ui-modal__head{border-bottom:1px solid var(--line);padding:16px}.ui-modal--wide .ui-modal__body{flex:1;align-content:start;padding:16px}.ui-modal--wide .ui-modal__foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}}@keyframes ui-pop-in{0%{opacity:0;transform:scale(.97)}}@keyframes ui-sheet-in{0%{opacity:0;transform:translateY(24px)}}
