.system-records-page{--records-accent:#9f1d27;--records-dark:#83121b;--records-soft:#fff6f7;--records-pink:#ffe4e6;--records-border:#f5cdd2;--records-ink:#2b3b52;--records-muted:#5a6780;color:var(--records-ink);text-align:start}
.records-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.records-heading-main,.records-detail-heading{display:flex;align-items:center;gap:14px;min-width:0}.records-heading-main>div,.records-detail-heading>div{min-width:0}.records-heading-icon,.records-system-icon,.records-state-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--records-border);border-radius:14px;background:var(--records-pink);color:var(--records-accent);font-size:18px}.records-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;color:var(--records-muted);font-size:12px;margin-bottom:4px}.records-heading h1{color:var(--records-dark);font-size:21px;font-weight:800;line-height:1.5;margin:0}.records-heading p{color:var(--records-muted);font-size:14px;line-height:1.7;margin:5px 0 0}.records-readonly{display:inline-flex;align-items:center;gap:7px;flex:none;border:1px solid var(--records-border);background:var(--records-soft);border-radius:999px;padding:7px 12px;color:var(--records-dark);font-size:13px;font-weight:700;white-space:nowrap}
.records-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}.system-records-page .records-system-card,.system-records-page .records-filters,.system-records-page .records-register{padding:22px;border-color:var(--records-border)}.records-system-header{display:flex;align-items:center;gap:12px;margin-bottom:18px}.records-system-header>div{flex:1;min-width:0}.records-system-header h2{color:var(--records-dark);font-size:17px;font-weight:800;margin:0 0 4px;line-height:1.5}.records-system-header p{margin:0;color:var(--records-muted);font-size:13px;line-height:1.6}.records-page-count,.records-total{display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:8px;padding:3px 8px;background:var(--records-pink);color:var(--records-dark);font-size:12px;font-weight:700;white-space:nowrap}
.records-system-links{display:grid;gap:8px}.records-system-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 12px;border:1px solid #ffe4e6;border-radius:11px;color:var(--records-dark);background:var(--records-soft);font-size:14px;font-weight:700;line-height:1.7;transition:background-color 150ms,border-color 150ms}.records-system-link>span{min-width:0;overflow-wrap:anywhere}.records-system-link>i{flex:none;color:var(--records-accent);width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#fff}.records-system-link:hover{border-color:#ef9aa1;background:var(--records-pink)}.records-more-pages{margin-top:12px;border-top:1px solid #ffe4e6;padding-top:10px}.records-more-pages>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:38px;color:var(--records-accent);font-size:13px;font-weight:700}.records-more-pages>summary::-webkit-details-marker{display:none}.records-more-pages>summary>i{transition:transform 150ms;font-size:11px}.records-more-pages[open]>summary>i{transform:rotate(180deg)}.records-more-pages .records-system-links{padding-top:8px}.records-more-count{color:var(--records-muted)}.records-complete-note{display:flex;align-items:center;gap:8px;min-height:49px;border-top:1px solid #ffe4e6;padding-top:10px;margin:12px 0 0;color:var(--records-muted);font-size:13px}.records-complete-note i{color:var(--records-accent)}
.records-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(2,minmax(155px,1fr)) auto;align-items:end;gap:16px;margin-bottom:20px;overflow:visible;position:relative;z-index:5}.records-filters>div{min-width:0}.records-filters .form-label{display:block;margin:0 0 9px;color:var(--records-muted);font-size:13px;font-weight:700;line-height:1.5}.records-filters .form-input{color:var(--records-ink);background-color:#fff;min-height:44px;border-color:var(--records-border)}.records-filters .modern-date-value{font-variant-numeric:tabular-nums}.records-search-field{position:relative}.records-search-field>i{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--records-accent);font-size:14px;pointer-events:none}.records-search-field .form-input{padding-inline:40px}.records-search-field input::-webkit-search-cancel-button,.records-search-field input::-webkit-search-decoration{-webkit-appearance:none}.records-clear-search{position:absolute;inset-inline-end:7px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:8px;background:var(--records-soft);color:var(--records-accent)}
.system-records-page .records-reset-button,.system-records-page .records-view-button,.system-records-page .records-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:11px;padding:9px 14px;font-size:14px;font-weight:700;line-height:1.5;white-space:nowrap}.system-records-page .records-reset-button,.system-records-page .records-view-button{color:var(--records-dark);background:var(--records-pink);border:1px solid var(--records-border);box-shadow:none}.system-records-page .records-primary-button{color:#fff;background:linear-gradient(125deg,#b92d38,#83121b);border:1px solid #9f1d27;box-shadow:0 5px 14px #9f1d271c}.records-reset-button:hover,.records-view-button:hover{background:#ffd6dc}.records-primary-button:hover{filter:brightness(.96)}
.records-register-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.records-register-header h2,.records-detail-section>h3{display:flex;align-items:center;gap:9px;margin:0;color:var(--records-dark);font-size:15px;font-weight:800}.records-register-header h2>i,.records-detail-section>h3>i{color:var(--records-accent)}.records-register-hint{color:var(--records-muted);font-size:12px}.records-list{display:grid;gap:12px}.records-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:22px;border:1px solid #f8dce0;border-radius:13px;padding:17px;background:#fff}.records-row dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:18px;margin:0;min-width:0}.records-row dl>div{min-width:0}.records-row dt,.records-detail-values dt{color:var(--records-muted);font-size:12px;line-height:1.6;margin-bottom:7px;font-weight:500}.records-row dd{color:var(--records-ink);margin:0;font-size:15px;font-weight:700;line-height:1.7;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.records-row-actions{display:flex;align-items:stretch;flex-direction:column;gap:9px}.records-row-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.records-row-badges:empty{display:none}.records-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #f5d7dc;border-radius:7px;background:var(--records-soft);color:var(--records-dark);font-size:11px;line-height:1.5}
.records-pagination-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid #ffe4e6}.records-page-summary{color:var(--records-muted);font-size:13px}.system-records-page .catalog-pagination{margin:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}.system-records-page .catalog-pagination button{width:42px;min-width:42px;height:42px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--records-border);border-radius:11px;color:var(--records-dark);background:#fff;box-shadow:none;font-size:13px;font-weight:700}.system-records-page .catalog-pagination button:hover:not(:disabled){background:var(--records-soft);border-color:var(--records-accent);color:var(--records-accent)}.system-records-page .catalog-pagination button.is-active{background:var(--records-accent);border-color:var(--records-accent);color:#fff}.system-records-page .catalog-pagination button:disabled{opacity:.45;cursor:not-allowed}
.records-state{display:flex;flex-direction:column;align-items:center;gap:12px;padding:38px 20px;color:var(--records-muted);text-align:center}.records-state h1,.records-state h2,.records-state h3{margin:0;color:var(--records-dark);font-size:17px;font-weight:700}.records-state p{margin:0;color:var(--records-muted);font-size:14px;line-height:1.8}.records-state-icon{width:52px;height:52px;font-size:21px}.records-loading>i{color:var(--records-accent);font-size:25px}.records-error{display:flex;align-items:center;gap:10px;border:1px solid #efb2b8;border-radius:12px;color:var(--records-dark);background:var(--records-soft);padding:14px 16px;margin-bottom:16px;line-height:1.7}
.records-modal-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#46050b38;backdrop-filter:blur(4px);z-index:2000}.records-detail{display:flex;flex-direction:column;width:min(940px,100%);max-height:88vh;max-height:88dvh;overflow:hidden;border:1px solid var(--records-border);border-radius:18px;background:#fff;box-shadow:0 20px 60px #46050b26}.records-detail-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #ffe4e6;background:#fffafa}.records-detail-heading h2{color:var(--records-dark);font-size:19px;font-weight:800;line-height:1.5;margin:0}.records-detail-heading p{margin:4px 0 0;color:var(--records-muted);font-size:13px;line-height:1.6}.records-icon-button{width:40px;height:40px;flex:none;display:inline-flex;align-items:center;justify-content:center;color:var(--records-dark);background:var(--records-pink);border:1px solid var(--records-border);border-radius:11px;font-size:17px}.records-icon-button:hover{background:#ffd6dc}.records-detail-body{padding:20px 22px 24px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.records-detail-context{margin-bottom:16px}.records-detail-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.records-detail-values>div{min-width:0;padding:12px 14px;border:1px solid #fce4e8;background:#fffafa;border-radius:11px}.records-detail-values>.is-wide{grid-column:1/-1}.records-detail-values dd{color:var(--records-ink);margin:0;font-size:15px;line-height:1.8;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}.records-attachment-panel{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:16px;border:1px solid var(--records-border);border-radius:13px;background:var(--records-soft);margin-top:20px}.records-attachment-panel>div{flex:1;min-width:130px}.records-attachment-panel h3{margin:0 0 4px;color:var(--records-dark);font-size:15px;font-weight:800}.records-attachment-panel p{margin:0;color:var(--records-muted);font-size:13px}.records-detail-section{padding-top:22px;margin-top:22px;border-top:1px solid #ffe4e6}.records-detail-section>h3{margin-bottom:14px}.records-child{padding:14px;margin-bottom:14px;border:1px solid var(--records-border);border-radius:13px}.records-child:last-child{margin-bottom:0}
.records-nav-group .sidebar-link span{white-space:normal;line-height:1.7;min-width:0;flex:1}.records-nav-group .sidebar-link>i{flex:none;width:18px;text-align:center}.records-nav-group .men-women-subnav .sidebar-link{padding-block:10px;align-items:flex-start}.records-nav-group .men-women-subnav .sidebar-link>i{margin-top:4px}.system-records-page :is(a,button,input,summary):focus-visible{outline:2px solid var(--records-accent);outline-offset:3px}body:has(.records-modal-backdrop){overflow:hidden}
@media(max-width:1180px){.records-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.records-search{grid-column:1/-1}.records-filters .records-reset-button{grid-column:1/-1;justify-self:end}.records-row dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.records-system-grid{grid-template-columns:1fr}.records-heading{align-items:flex-start}.records-heading-main{gap:10px}.records-heading-icon{width:40px;height:40px;border-radius:12px}.records-heading h1{font-size:19px}.records-heading p{font-size:13px}.records-register-header{align-items:flex-start}.records-register-hint{text-align:left;max-width:105px;line-height:1.6}.records-row{grid-template-columns:1fr;gap:14px}.records-row-actions{align-items:center;flex-direction:row;justify-content:space-between;flex-wrap:wrap}.records-row-badges{justify-content:flex-start}.records-row .records-view-button{margin-inline-start:auto}}
@media(max-width:600px){.records-heading{flex-wrap:wrap;gap:12px}.records-heading>.records-readonly{margin-inline-start:auto}.system-records-page .records-system-card,.system-records-page .records-filters,.system-records-page .records-register{padding:18px}.records-system-header{flex-wrap:wrap;gap:10px}.records-system-header h2{font-size:16px}.records-page-count{margin-inline-start:auto}.records-filters{gap:18px 12px}.records-filters .records-reset-button{width:100%}.records-register-header h2{font-size:14px}.records-row{padding:14px}.records-row dl{gap:14px 12px}.records-row dd{font-size:14px}.records-row-actions{gap:12px}.records-row .records-view-button{width:100%}.records-pagination-footer{justify-content:center;gap:12px}.records-page-summary{width:100%;text-align:center}.system-records-page .catalog-pagination{gap:5px}.system-records-page .catalog-pagination button{min-width:38px;width:38px;height:42px}.records-modal-backdrop{padding:10px}.records-detail{max-height:92vh;max-height:92dvh;border-radius:16px}.records-detail-header{padding:14px 16px;gap:12px}.records-detail-heading{gap:10px}.records-detail-heading h2{font-size:17px}.records-detail-heading p{font-size:12px}.records-detail-body{padding:16px}.records-detail-values{grid-template-columns:1fr}.records-detail-values dd{font-size:14px}.records-attachment-panel .records-primary-button{width:100%}.records-child{padding:10px}}
.records-attachment-desktop{display:none}.records-detail-body:focus-visible{outline:2px solid var(--records-accent);outline-offset:-3px}
@media(min-width:1024px){.records-detail{width:min(1180px,calc(100vw - 64px))}.records-detail-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.records-detail-values>div{padding:10px 12px}.records-attachment-inline{display:none}.records-attachment-desktop{display:block;flex:none;padding:12px 22px 18px;border-top:1px solid var(--records-border);background:#fff}.records-attachment-desktop .records-attachment-panel{margin:0;padding:12px 14px}}
@media(min-width:1200px){.records-detail-values{grid-template-columns:repeat(4,minmax(0,1fr))}}
.system-records-page #records-search:focus-visible{outline:none;outline-offset:0}
@media(prefers-reduced-motion:reduce){.system-records-page *,.system-records-page *::before,.system-records-page *::after{animation:none!important;transition:none!important}}
