.selectable-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--sp-2);width:100%;min-width:0;border:var(--border-w-sm) solid transparent;border-radius:var(--radius-md);background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.selectable-row:hover{background:var(--surface-2)}.selectable-row[data-selected=true]{border-color:var(--state-info-border);background:var(--state-info-bg)}.choice-chip:focus-visible,.removable-chip__remove:focus-visible,.selectable-row:focus-visible{outline:var(--border-w-md) solid var(--border-focus);outline-offset:var(--border-w-sm)}.selectable-row__body{display:grid;min-width:0}.selectable-row__trailing{min-width:0}.chip,.choice-chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-1);min-width:0;border:var(--border-w-sm) solid var(--border-default);border-radius:var(--radius-pill);background:var(--surface-1);color:var(--text-secondary);font:inherit}.choice-chip{cursor:pointer}.choice-chip:hover,.choice-chip[data-selected=true]{border-color:var(--color-action);color:var(--color-action)}.choice-chip[data-selected=true]{background:var(--color-action-soft)}.chip{min-height:24px;max-width:100%;padding:0 var(--sp-2);border-color:var(--border-subtle);background:var(--surface-2);color:var(--text-secondary);font-size:var(--fs-xs);font-weight:var(--fw-semibold);line-height:1;white-space:nowrap}.chip[data-tone=success]{border-color:var(--state-success-border);background:var(--state-success-bg);color:var(--state-success-text)}.chip[data-tone=warning]{border-color:var(--state-warning-border);background:var(--state-warning-bg);color:var(--state-warning-text)}.chip[data-tone=danger]{border-color:var(--state-error-border);background:var(--state-error-bg);color:var(--state-error-text)}.chip[data-tone=muted]{border-color:var(--border-subtle);background:var(--surface-2);color:var(--text-muted)}.chip[data-compact=true]{min-width:32px;min-height:26px;padding:0 var(--sp-1)}.chip[data-numeric=true]{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.removable-chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-1);min-width:0;border:var(--border-w-sm) solid var(--border-subtle);border-radius:var(--radius-pill);background:var(--surface-2);color:var(--text-primary);font:inherit}.removable-chip[data-disabled=true]{opacity:var(--opacity-disabled)}.removable-chip__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.removable-chip__remove{width:18px;height:18px;display:inline-grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-muted);cursor:pointer;line-height:1;transition:background var(--duration-fast) var(--ease-out),color var(--duration-fast) var(--ease-out),opacity var(--duration-fast) var(--ease-out)}.removable-chip__remove:hover:not(:disabled){background:var(--surface-3);color:var(--text-primary)}.removable-chip__remove:disabled{cursor:not-allowed}.status-dot{display:inline-block;width:var(--sp-2);height:var(--sp-2);flex:0 0 auto;border-radius:var(--radius-pill);background:var(--text-subtle)}.status-dot[data-tone=success]{background:var(--state-success)}.status-dot[data-tone=warning]{background:var(--state-warning)}.status-dot[data-tone=danger]{background:var(--state-error)}.status-dot[data-tone=info]{background:var(--state-info)}.segmented{--segmented-bg:var(--surface-2);--segmented-border:var(--border-default);--segmented-radius:var(--radius-md);--segmented-active-bg:var(--surface-page);--segmented-active-text:var(--text-primary);--segmented-inactive-text:var(--text-muted);--segmented-py:var(--control-py-sm);--segmented-px:var(--control-px-md);--segmented-fs:var(--fs-body);display:inline-flex;max-width:100%;overflow-x:auto;background:var(--segmented-bg);border:var(--border-w-sm) solid var(--segmented-border);border-radius:var(--segmented-radius);padding:calc(var(--sp-1) - var(--border-w-sm));gap:2px}.segmented-btn{flex:0 0 auto;padding:var(--segmented-py) var(--segmented-px);font-size:var(--segmented-fs);font-weight:var(--fw-medium);border:none;background:transparent;cursor:pointer;color:var(--segmented-inactive-text);border-radius:calc(var(--segmented-radius) - 2px);font-family:inherit;text-decoration:none;transition:background var(--duration-fast) var(--ease-out),color var(--duration-fast) var(--ease-out)}.segmented-btn:hover,.segmented-btn[data-active=true]{color:var(--segmented-active-text)}.segmented-btn[data-active=true]{background:var(--segmented-active-bg);box-shadow:var(--shadow-sm)}.segmented-sm{--segmented-py:var(--sp-1);--segmented-px:var(--control-px-sm);--segmented-fs:var(--fs-sm);--segmented-radius:var(--radius-sm)}.segmented-lg{--segmented-py:var(--sp-2);--segmented-px:var(--control-px-lg);--segmented-fs:var(--fs-body-lg);--segmented-radius:var(--radius-lg)}.modal-overlay{position:fixed;top:var(--systematika-menu-top-offset,0);right:0;bottom:var(--systematika-menu-bottom-offset,0);left:var(--systematika-menu-left-offset,0);background:var(--surface-overlay);display:flex;align-items:center;justify-content:center;z-index:var(--z-overlay);padding:var(--sp-6)}.modal{--modal-bg:var(--surface-1);--modal-border:var(--border-default);--modal-width:480px;box-sizing:border-box;width:min(100%,var(--modal-width));max-height:min(760px,calc(100dvh - var(--sp-12)));display:flex;flex-direction:column;overflow:hidden;background:var(--modal-bg);border-radius:var(--radius-md);box-shadow:var(--shadow-modal);border:var(--border-w-sm) solid var(--modal-border);color:var(--text-primary);outline:none}.modal-sm{--modal-width:420px}.modal-md{--modal-width:480px}.modal-lg{--modal-width:640px}.modal-xl{--modal-width:860px}.modal-header{min-width:0;display:flex;align-items:flex-start;gap:var(--sp-4);justify-content:space-between;border-bottom:var(--border-w-sm) solid var(--border-subtle);padding:var(--sp-3) var(--sp-5)}.modal-heading{min-width:0;display:grid;gap:var(--sp-1)}.modal-title{margin:0;color:var(--text-primary);font-size:var(--fs-h3);font-weight:var(--fw-semibold);letter-spacing:0;line-height:var(--lh-tight);overflow-wrap:anywhere}.modal-description{color:var(--text-secondary);font-size:var(--fs-sm);line-height:var(--lh-normal)}.modal-close{width:var(--control-h-sm);height:var(--control-h-sm);display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border:var(--border-w-sm) solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-1);color:var(--text-muted);cursor:pointer}.modal-close:hover{border-color:var(--border-default);background:var(--surface-2);color:var(--text-primary)}.modal-close:focus-visible{box-shadow:var(--shadow-focus)}.modal-close span{position:relative;width:14px;height:14px;display:block;font-size:0;line-height:0}.modal-close span:after,.modal-close span:before{position:absolute;top:50%;left:50%;width:14px;height:var(--border-w-md);border-radius:var(--radius-pill);background:currentColor;content:"";transform-origin:center}.modal-close span:before{transform:translate(-50%,-50%) rotate(45deg)}.modal-close span:after{transform:translate(-50%,-50%) rotate(-45deg)}.modal-body{min-width:0;overflow:auto;padding:var(--sp-5);font-size:var(--fs-body);color:var(--text-secondary);line-height:var(--lh-relaxed)}.modal-footer{display:flex;gap:var(--sp-2);justify-content:flex-end;border-top:var(--border-w-sm) solid var(--border-subtle);padding:var(--sp-4) var(--sp-5)}.modal-danger .modal-title{color:var(--state-error-text)}@media (max-width:640px){.modal-overlay{align-items:center;padding:var(--sp-3)}.modal{max-height:calc(100dvh - var(--sp-6))}.modal-body,.modal-footer,.modal-header{padding-right:var(--sp-4);padding-left:var(--sp-4)}.modal-footer{flex-direction:column-reverse;align-items:stretch}}