.rights-title-line{display:flex;align-items:center;justify-content:space-between;gap:15px}.rights-title-line h2{margin-bottom:12px}.rights-profile-toolbar{display:flex;align-items:flex-end;gap:12px;margin:0 0 24px}.rights-profile-toolbar .field{flex:1;max-width:460px}.rights-profile-toolbar .btn{min-height:40px}.rights-editor{border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:25px}.rights-editor .field-grid{gap:19px 24px}.rights-section-heading{display:flex;gap:13px;margin:0 0 22px;align-items:flex-start}.rights-section-heading>span{display:inline-grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;font-size:9px;font-weight:750;color:var(--forest);flex-shrink:0}.rights-section-heading h3{font-size:14px;margin:2px 0 6px}.rights-section-heading p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.rights-checks{display:grid;gap:14px;margin-top:20px}.rights-option p{margin:5px 0 0 25px;line-height:1.8;color:var(--muted);font-size:10px}.rights-option .check-row{align-items:flex-start;font-size:11px}.rights-option input{flex-shrink:0;margin-top:1px}.rights-readonly{display:flex;flex-direction:column;gap:10px;font-size:11px;justify-content:center}.rights-readonly>span{color:var(--muted)}.rights-tier-labels,.rights-tier{display:grid;grid-template-columns:1fr 1fr 32px;gap:14px;align-items:center;max-width:520px}.rights-tier-labels{font-size:10px;color:var(--muted);margin-bottom:10px}.rights-tier{margin-bottom:11px}.rights-tier>label{display:flex;align-items:center;gap:10px;border:1px solid var(--control-line);border-radius:5px;background:var(--paper);padding-right:12px;font-size:11px;color:var(--muted)}.rights-tier input{border:0;min-width:0;width:100%;background:transparent;padding:11px;color:var(--ink);font-size:12px;outline-offset:1px}.rights-tier .icon-btn{font-size:24px;color:var(--muted)}.rights-tiers{margin-bottom:14px}.rights-preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px}.rights-preview-heading h3{font-size:16px;margin-bottom:7px}.rights-preview-heading p{font-size:11px;color:var(--muted);margin:0;max-width:520px}.rights-preview-heading .badge{flex-shrink:0}.rights-preview-table{font-size:11px;border:1px solid var(--line)}.rights-preview-table th,.rights-preview-table td{padding:12px 10px}.rights-preview-table th:first-child{width:33px}.rights-preview-table td:nth-child(3){white-space:normal;min-width:145px;max-width:235px;font-size:10px;line-height:1.8;color:var(--muted)}.rights-preview-table td:nth-child(n+4),.rights-preview-table th:nth-child(n+4){text-align:right}.rights-preview-table label{cursor:pointer}.rights-preview-table small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.rights-preview-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--forest);cursor:pointer}.rights-preview-table .is-selected{background:var(--surface-selected)}.rights-delta{font-size:10px;color:var(--forest)}.rights-delta.negative{color:var(--leave-sand-ink)}.rights-conflict{color:var(--danger-ink)}.rights-preview-total{display:flex;justify-content:space-between;gap:12px;padding:15px 0;font-size:11px;color:var(--muted);border-bottom:1px solid var(--line);line-height:1.7}.rights-preview-total strong{color:var(--ink)}.rights-save-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:25px;margin-top:20px;border-top:1px solid var(--line)}.rights-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.rights-save-row .small{font-size:10px}.employee-rights-profile{padding:21px;background:var(--soft);border:1px solid var(--line);border-radius:6px;margin-bottom:28px}.employee-rights-profile h3{font-size:14px;margin-bottom:9px}.field input[readonly]{background:var(--soft);color:var(--muted);cursor:default}.counter-row{grid-template-columns:repeat(4,minmax(0,1fr))}.counter .number small{display:block;font-size:10px;letter-spacing:0;margin-top:3px}.counter .number{font-size:32px}.leave-bar.cyan,.month-event.cyan{background:var(--cyan-bg);color:var(--leave-cyan-ink);border-color:var(--leave-blue-line)}.legend-swatch.cyan{background:var(--cyan-bg);border-color:var(--leave-blue-line)}.rights-history{margin-top:27px}.rights-history h3{font-size:14px}.rights-history details{border-bottom:1px solid var(--line);padding:13px 0;font-size:11px}.rights-history summary{cursor:pointer;line-height:1.8;color:var(--info-ink)}.rights-history p{margin:10px 0 0;font-size:10px;color:var(--muted);line-height:1.8}.rights-editor .footnote{font-size:10px;line-height:1.9}.rights-form-errors:empty{display:none}
@media(max-width:1150px){.rights-editor{padding:20px}.rights-editor .field-grid{gap:17px}.rights-save-row{align-items:flex-start;flex-direction:column}.rights-buttons{width:100%}.rights-preview-table{min-width:620px}.counter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.counter:nth-child(2){border:0}}
@media(max-width:650px){.rights-title-line{align-items:flex-start;flex-direction:column;gap:2px}.rights-title-line .badge{margin-bottom:14px}.rights-profile-toolbar{align-items:stretch;flex-direction:column}.rights-profile-toolbar .field{max-width:none}.rights-profile-toolbar .btn{align-self:flex-start}.rights-editor{padding:20px 15px}.rights-editor .field-grid{grid-template-columns:1fr}.rights-editor .field input,.rights-editor .field select{font-size:16px}.rights-section-heading p,.rights-option p{font-size:11px}.rights-option .check-row{font-size:12px}.rights-tier-labels,.rights-tier{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px}.rights-tier input{font-size:16px;padding:11px 8px}.rights-tier label{padding-right:9px;font-size:10px}.rights-tier-labels{font-size:10px}.rights-preview-heading{flex-direction:column;gap:10px}.rights-preview-heading p{font-size:12px}.rights-preview-total{font-size:10px;flex-wrap:wrap}.rights-buttons{flex-direction:column}.rights-buttons .btn{width:100%}.employee-rights-profile{padding:17px 14px}.counter-row{gap:25px 16px}.counter .number{font-size:30px}.rights-editor .footnote{font-size:11px}.rights-preview-table{min-width:620px}}

.rule-layout>section,.rule-nav{min-width:0}.rights-section-heading>div{min-width:0}.rights-profile-toolbar select{width:100%;min-width:0}.rights-editor{min-width:0}
.rights-activation{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;margin-bottom:28px;border:2px solid var(--control-line);border-radius:7px;background:var(--surface-hover);cursor:pointer}.rights-activation strong{display:block;color:var(--forest);font-size:16px}.rights-activation small{display:block;margin-top:7px;color:var(--info-ink);font-size:11px;line-height:1.7}.rights-activation.is-active{background:var(--rights-active-bg);border-color:var(--forest)}.rights-activation.is-active strong,.rights-activation.is-active small{color:var(--rights-active-ink)}.rights-activation input{position:absolute;right:22px;width:48px;height:28px;opacity:0;cursor:pointer}.rights-switch-track{width:48px;height:28px;border-radius:20px;background:var(--control-line);flex-shrink:0;position:relative;pointer-events:none}.rights-switch-track:after{content:'';position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:var(--paper);transition:transform .15s}.rights-activation input:checked+.rights-switch-track{background:var(--rights-track-bg)}.rights-activation input:checked+.rights-switch-track:after{background:var(--rights-track-thumb);transform:translateX(20px)}.rights-activation:has(input:focus-visible){outline:2px solid var(--forest);outline-offset:4px}.rights-audience{border:0;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.rights-audience legend{font-size:11px;font-weight:700;margin-bottom:12px}.rights-audience>label{display:flex;gap:10px;align-items:flex-start;padding:17px;border:1px solid var(--control-line);border-radius:6px;cursor:pointer;min-width:0}.rights-audience input{accent-color:var(--forest);flex-shrink:0;margin:3px 0 0}.rights-audience strong{font-size:12px;display:block}.rights-audience small{font-size:10px;color:var(--muted);display:block;margin-top:7px;line-height:1.7}.rights-audience .selected{border-color:var(--forest);background:var(--surface-hover)}.rights-audience-hint{margin:0 0 18px!important}.rights-period-note{font-size:11px;color:var(--info-ink);margin:0;line-height:1.8}
@media(max-width:650px){.rights-activation{padding:18px 14px;gap:14px}.rights-activation strong{font-size:15px}.rights-activation small{font-size:11px}.rights-activation input{right:14px}.rights-audience{grid-template-columns:1fr}.rights-audience strong{font-size:13px}.rights-audience small{font-size:11px}.rights-period-note{font-size:12px}}
.sidebar{overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}.sidebar-bottom{flex-shrink:0}.sidebar nav{flex-shrink:0}
.rights-preview-table td:nth-child(3){min-width:130px;max-width:190px;white-space:normal;text-align:left;font-size:11px}
.rights-preview-table td:nth-child(4){min-width:155px;max-width:235px;white-space:normal;text-align:left;font-size:11px;line-height:1.7}
.rights-preview-table th:nth-child(4){text-align:left}
.rights-transfer-label{display:block!important;color:var(--forest)!important;font-size:11px!important;line-height:1.6;margin-top:6px}
.rights-application{font-size:12px;line-height:1.7}
.rights-application .error-box p,.rights-ready p{margin:7px 0 0}
.rights-ready,.rights-transfer-notice{padding:16px;border:1px solid var(--line);background:var(--soft);border-radius:6px;margin:18px 0;color:var(--info-ink)}
.rights-transfer-notice p{margin:7px 0 0}
.rights-application-help{color:var(--muted);margin:18px 0}
.rights-application-person{padding:22px 0;border-bottom:1px solid var(--line)}
.rights-application-person h4{font-size:14px;margin:0 0 8px}
.rights-profile-change{overflow-wrap:anywhere;margin:0 0 10px}
.rights-credit-change{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:16px;color:var(--muted);font-size:11px}
.rights-credit-change strong{display:block;color:var(--ink);font-size:17px;margin-top:5px}
.rights-application-conflict{background:var(--danger-bg);border-left:3px solid var(--danger-line);padding:12px;color:var(--danger-ink);margin:14px 0 0}
@media(max-height:800px) and (min-width:651px){.sidebar{padding-top:24px}.brand{padding-bottom:20px}.workspace{margin-bottom:20px}.nav-item{padding-block:10px}.nav-secondary{margin-top:18px}.sidebar-bottom{padding-top:12px}.connected-mini{margin-bottom:6px;padding-bottom:10px}.help-link{padding-block:7px}}
.rights-profiles{margin:0 0 32px;container-type:inline-size}
.rights-profiles-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.rights-profiles-heading h3{font-size:16px;margin:0 0 8px}
.rights-profiles-heading p{font-size:12px;color:var(--muted);margin:0}
.rights-profiles-heading .btn{min-height:44px}
.rights-profiles-list{border-top:1px solid var(--line)}
.rights-profile-row{display:flex;align-items:center;gap:24px;width:100%;padding:16px;text-align:left;border-bottom:1px solid var(--line);background:var(--paper)}
.rights-profile-row:hover{background:var(--surface-hover)}
.rights-profile-row.is-selected{background:var(--surface-selected)}
.rights-profile-description{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}
.rights-profile-description strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.rights-profile-description>span,.rights-profile-description small{font-size:11px;color:var(--muted);line-height:1.6}
.rights-profile-description small{color:var(--leave-sand-ink)}
.rights-profile-state{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex-shrink:0}
.rights-profile-state>span:last-child{font-size:11px;color:var(--muted);line-height:1.6}
.rights-profile-open{font-size:11px;color:var(--forest);white-space:nowrap}
.rights-profiles-help{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 0}
@container (max-width:520px){.rights-profiles-heading{align-items:flex-start;flex-wrap:wrap}.rights-profile-row{flex-wrap:wrap;gap:12px 16px}.rights-profile-description{flex-basis:100%}.rights-profile-state{flex:1;flex-direction:row;align-items:center;flex-wrap:wrap}.rights-profile-open{margin-left:auto}}
