/* Metronic components with Azure-style access review tables. */
:root{--primary:#145c45;--primary-foreground:#fff;--foreground:#1f2937;--background:#fff;--card:#fff;--card-foreground:#1f2937;--muted:#f6f7f9;--muted-foreground:#68717e;--border:#e5e7eb;--accent:#f3f6f5;--accent-foreground:#145c45;--destructive:#c33b37;--radius:.375rem;--font-sans:"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;font-family:"Segoe UI",Arial,sans-serif!important;font-size:14px;color:#1f2937;background:#fff;line-height:1.5}button,input,select,textarea{font-family:inherit!important;font-size:14px}button,a,select,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:#145c45;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:26px;font-weight:600;letter-spacing:-.35px}h2{font-size:18px;font-weight:600}h3{font-size:15px;font-weight:600}small{font-size:12px}.skip-link{position:fixed;top:-70px;left:12px;z-index:200;background:white;padding:12px}.skip-link:focus{top:12px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #177553;outline-offset:2px}
.app-sidebar{position:fixed;inset:0 auto 0 0;width:224px;border-right:1px solid #e5e7eb;background:#fafbfc;display:flex;flex-direction:column;z-index:40}.brand{height:72px;padding:0 22px;display:flex;align-items:center;border-bottom:1px solid #e5e7eb}.brand img{width:175px;height:auto}.app-name{font-size:13px;font-weight:600;color:#68717e;padding:22px 22px 12px}.app-sidebar nav{padding:0 10px}.app-sidebar nav a,.sidebar-bottom a{display:flex;align-items:center;gap:12px;padding:11px 12px;margin:3px 0;border-radius:5px;color:#48515f;font-size:14px}.app-sidebar a:hover{text-decoration:none;background:#f0f2f5}.app-sidebar a.active{color:#145c45;background:#e8f2ed;font-weight:600}.app-sidebar .bi{font-size:18px;color:#707b89}.app-sidebar a.active .bi{color:#145c45}.nav-count{margin-left:auto;border-radius:4px;background:#e5e9e7;color:#38554b;font-size:12px;min-width:22px;text-align:center;padding:1px 5px}.sidebar-bottom{margin-top:auto;padding:16px 10px;border-top:1px solid #e5e7eb}.app-layout{margin-left:224px}.app-header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7eb;padding:0 28px;gap:16px;background:white;position:sticky;top:0;z-index:25}.header-left,.header-right{display:flex;align-items:center;gap:16px}.organization{font-size:15px;font-weight:600}.header-divider{height:24px;border-right:1px solid #e5e7eb}.project-control{display:flex;align-items:center;gap:10px;color:#68717e;font-size:13px}.project-control select{border:1px solid #dce0e5;border-radius:5px;background:#fff;padding:7px 32px 7px 10px;color:#1f2937;min-width:130px;font-weight:600}.user-avatar{width:32px;height:32px;background:#e8f0eb;border:1px solid #d6e3db;border-radius:50%;font-size:11px;display:grid;place-items:center;font-weight:600;color:#145c45}.current-user{font-size:13px;font-weight:500}.local-notice{padding:7px 28px;background:#f5f6f8;color:#757d87;font-size:12px;border-bottom:1px solid #e9ebef;display:flex;justify-content:space-between}.local-notice strong{font-weight:500}.local-notice button{color:#66717e;font-size:12px;background:none;border:0;padding:0}.mobile-menu{display:none!important}#main{padding:28px;max-width:1800px;margin:auto;min-height:calc(100vh - 104px)}.loading{padding:36px;color:#68717e}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.page-heading p{font-size:14px;color:#68717e;margin-top:4px}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.breadcrumb{font-size:13px;color:#68717e;margin-bottom:7px}.breadcrumb button{border:0;background:none;padding:0;color:#145c45;font-size:13px}.breadcrumb span{margin:0 7px;color:#9ca3af}.kt-btn{min-height:34px;height:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 12px;border-radius:5px;font-size:13px;font-weight:500;white-space:nowrap;box-shadow:none}.kt-btn-outline{background:white;border:1px solid #dce0e5;color:#374151}.kt-btn-primary{color:white;background:#145c45;border:1px solid #145c45}.kt-btn-primary:hover{background:#104b39}.kt-btn-ghost{background:transparent;border:1px solid transparent;color:#48515f}.kt-btn-ghost:hover{background:#f1f3f5}.kt-btn-danger{background:#fff;border:1px solid #e5b9b7;color:#b32c29}.icon-button{width:34px;padding:6px;font-size:18px}.kt-card{border:1px solid #e2e5ea;border-radius:7px;box-shadow:none;overflow:hidden;background:white}.kt-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;min-height:0;border-bottom:1px solid #e5e7eb}.kt-card-title{font-size:16px;font-weight:600}.kt-card-content{padding:20px}.kt-card-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;font-size:13px;color:#68717e;border-top:1px solid #e5e7eb}.status{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #e3e6eb;border-radius:4px;white-space:nowrap;font-size:12px;font-weight:500;background:#f5f6f8;color:#59616e}.status.success{background:#edf8f2;border-color:#d4ecdf;color:#217149}.status.warning{background:#fff8e8;border-color:#f2e5be;color:#98701b}.status.danger{background:#fdf0ef;border-color:#f1d6d3;color:#a13d36}.status.info{background:#eef4fb;border-color:#dbe6f3;color:#32628c}.tag{display:inline-block;background:#f3f4f6;border:1px solid #e7e9ec;border-radius:4px;padding:2px 7px;font-size:12px;margin:2px 4px 2px 0;white-space:nowrap}.tag.protected{background:#f1f2f5;color:#646c77}.muted{color:#68717e}.small{font-size:12px}.text-link{background:none;border:0;padding:0;color:#145c45;font-size:14px;text-align:left}.text-link:hover{text-decoration:underline}.person-cell{display:flex;gap:10px;align-items:center;min-width:190px}.person-cell .initials{width:32px;height:32px;border-radius:50%;background:#edf1f4;color:#607180;display:grid;place-items:center;font-size:11px;flex-shrink:0}.person-cell strong{font-weight:500;font-size:14px}.person-cell small{display:block;color:#68717e;font-size:12px}.subline{display:block;color:#68717e;font-size:12px;margin-top:3px}.table-scroll{overflow:auto}.access-table{width:100%;border-collapse:collapse;table-layout:auto;text-align:left;font-size:14px}.access-table th{background:#f8f9fb;color:#5b6471;font-weight:500;font-size:12px;padding:12px 16px;border-bottom:1px solid #e5e7eb;white-space:nowrap}.access-table td{padding:13px 16px;border-bottom:1px solid #edf0f3;vertical-align:middle}.access-table tbody tr:last-child td{border-bottom:0}.access-table tbody tr:hover{background:#fbfcfd}.access-table tbody tr.selected{background:#f0f7f3}.access-table td:last-child{white-space:nowrap}.access-table .check-col{width:42px;padding-right:0}.access-table input[type=checkbox]{width:15px;height:15px;accent-color:#145c45}.decision-cell{min-width:145px}.decision-cell select{width:135px;padding:6px 8px;background:white;border:1px solid #dce0e5;border-radius:4px;font-size:13px}.role-cell{min-width:175px;max-width:270px}.recommendation-cell{min-width:170px;max-width:250px;font-size:13px}.recommendation-cell .subline{font-size:12px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #e5e7eb;min-height:58px}.toolbar .spacer{margin-left:auto}.search-input{display:flex;align-items:center;gap:8px;border:1px solid #dce0e5;border-radius:5px;padding:7px 10px;min-width:210px;background:white;color:#818996}.search-input input{border:0;outline:0;padding:0;min-width:0;width:190px;background:transparent;color:#1f2937;font-size:13px}.select-input{border:1px solid #dce0e5;border-radius:5px;background:white;padding:7px 30px 7px 10px;font-size:13px;color:#48515f}.tabs{display:flex;gap:24px;padding:0 16px;border-bottom:1px solid #e5e7eb;overflow:auto}.tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 0;font-size:13px;color:#68717e;white-space:nowrap}.tabs button.active{border-bottom-color:#145c45;color:#145c45;font-weight:600}.tabs .tab-count{font-size:12px;margin-left:5px;color:#8a919b}.review-summary{display:flex;align-items:center;gap:30px;padding:18px 20px;border-bottom:1px solid #e5e7eb;background:#fff;flex-wrap:wrap}.review-summary>div strong{display:block;font-size:22px;font-weight:600;line-height:1.3}.review-summary>div span{font-size:12px;color:#68717e}.review-summary .summary-details{margin-left:auto;display:flex;gap:24px}.summary-details span{display:block}.summary-details strong{font-size:13px!important;font-weight:500!important;margin-top:3px}.review-chooser{display:flex;align-items:center;gap:10px;margin:0 0 18px}.review-chooser .select-input{min-width:170px}.table-note{color:#68717e;font-size:12px;padding:10px 16px;border-top:1px solid #e5e7eb}.empty{padding:44px 24px;text-align:center;color:#68717e}.empty h3{font-size:15px;color:#48515f;margin-bottom:5px}.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.info-list{display:grid;gap:12px}.info-row{display:flex;justify-content:space-between;gap:20px;font-size:14px}.info-row>span:first-child{color:#68717e}.plain-list{list-style:none;padding:0;margin:0}.plain-list li{padding:10px 0;border-bottom:1px solid #edf0f3}.plain-list li:last-child{border:0}.permissions-list li{padding:8px 0;font-size:14px;display:flex;gap:10px}.permissions-list .bi{color:#217149}.settings-section{margin-bottom:20px}.settings-section h2{font-size:16px}.reviewer-table input{border:1px solid #dce0e5;border-radius:4px;width:100%;min-width:180px;padding:7px}.inline-alert{padding:12px 14px;background:#f6f8fa;border:1px solid #e4e8ec;border-radius:5px;margin:16px 0;font-size:13px;color:#586574}.inline-alert.warning{background:#fff9ed;border-color:#eee0bd;color:#8c6728}.inline-alert.danger{background:#fff2f1;border-color:#edd0cb;color:#9b4039}.inline-alert.success{background:#f0f8f3;border-color:#d5e7dc;color:#276847}.drawer-backdrop{position:fixed;inset:0;background:#18233240;z-index:60}.drawer{position:fixed;inset:0 0 0 auto;width:620px;max-width:100%;z-index:70;border-radius:0;border:0;border-left:1px solid #e5e7eb;display:flex;flex-direction:column;box-shadow:-6px 0 24px #17223310}.drawer[hidden],.drawer-backdrop[hidden]{display:none}.drawer-header{display:flex;justify-content:space-between;align-items:start;padding:22px 24px;border-bottom:1px solid #e5e7eb}.drawer-subtitle{display:block;color:#68717e;font-size:12px;margin-bottom:4px}.drawer-header h2{font-size:22px;font-weight:600}.drawer-header .kt-btn{margin-top:-5px}#drawer-content{padding:24px;overflow:auto;flex:1}.drawer-section{margin-top:24px}.drawer-section h3{margin-bottom:10px}.drawer-section p{color:#68717e;font-size:13px}.drawer-person{display:flex;align-items:center;gap:12px;margin-bottom:18px}.drawer-person strong{font-size:16px;font-weight:600}.drawer-person .status{margin-left:auto}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.detail-grid dt{font-size:12px;color:#68717e;margin-bottom:4px}.detail-grid dd{margin:0;font-size:14px}.role-row{display:flex;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f3}.role-row:last-child{border:0}.role-row .role-row-content{flex:1}.role-row strong{font-size:14px;font-weight:500}.role-row small{display:block;color:#68717e;margin-top:3px}.form-field{margin-bottom:18px}.form-field>label{display:block;font-size:14px;font-weight:500;margin-bottom:7px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #dce0e5;border-radius:5px;padding:9px 10px;background:white;color:#1f2937;font-size:14px;line-height:1.5}.form-field textarea{min-height:85px;resize:vertical}.form-help{color:#68717e;font-size:12px;margin-top:5px}.role-options{border:1px solid #e1e5ea;border-radius:5px;margin-bottom:18px}.role-option{display:flex;align-items:start;gap:11px;padding:12px 14px;border-bottom:1px solid #e9ecf0;cursor:pointer}.role-option:last-child{border:0}.role-option:has(input:checked){background:#f2f8f4}.role-option input{width:16px;height:16px;accent-color:#145c45;margin-top:3px;flex-shrink:0}.role-option strong{display:block;font-size:14px;font-weight:500}.role-option span span{display:block;font-size:13px;color:#68717e;margin-top:2px}.drawer-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:20px;border-top:1px solid #e5e7eb;margin-top:24px}.change-list{padding:0;margin:0;list-style:none}.change-list li{padding:11px 0;border-bottom:1px solid #e5e7eb;font-size:14px}.change-list small{display:block;color:#68717e;font-size:12px;margin-top:2px}.confirm-check{display:flex;align-items:start;gap:10px;margin-top:18px;font-size:13px}.confirm-check input{accent-color:#145c45;width:16px;height:16px;flex-shrink:0;margin-top:2px}.log-list{margin-top:10px}.log-entry{padding:14px 0;border-bottom:1px solid #e5e7eb}.log-entry:last-child{border:0}.log-entry .log-header{display:flex;gap:10px;justify-content:space-between}.log-entry strong{font-size:14px;font-weight:500}.log-entry time{font-size:12px;color:#68717e}.log-entry p{font-size:13px;color:#68717e;margin-top:4px}.toast-region{position:fixed;right:24px;bottom:24px;z-index:100;display:grid;gap:8px}.toast{max-width:400px;background:#25333c;color:white;border-radius:5px;padding:12px 16px;font-size:13px;box-shadow:0 3px 15px #17223320}.toast.error{background:#903f37}.pager{display:flex;align-items:center;gap:8px}.pager button{padding:3px 8px;border:1px solid #dce0e5;border-radius:4px;background:white;color:#48515f}.read-only-reason{display:block;font-size:12px;color:#68717e;margin-top:5px}.role-description{max-width:350px}.synced-at{font-size:12px;color:#68717e}
@media(max-width:1150px){.app-sidebar{width:200px}.app-layout{margin-left:200px}.brand img{width:155px}.app-header{padding:0 20px}#main{padding:24px 20px}.review-summary{gap:20px}.current-user{display:none}.review-summary .summary-details{gap:16px}.access-table td,.access-table th{padding-left:12px;padding-right:12px}}
@media(max-width:800px){.app-sidebar{transform:translateX(-100%);transition:transform .15s;width:224px;box-shadow:3px 0 20px #18233218}.nav-open .app-sidebar{transform:none}.app-layout{margin-left:0}.mobile-menu{display:inline-flex!important}.app-header{height:64px;padding:0 16px}.header-left,.header-right{gap:10px}.organization,.header-divider,.current-user{display:none}.project-control>span{display:none}.project-control select{min-width:110px}.local-notice{padding:6px 16px}#main{padding:22px 16px}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:24px}.page-actions{margin-left:auto}.split{grid-template-columns:1fr}.review-summary .summary-details{margin-left:0;width:100%;border-top:1px solid #e5e7eb;padding-top:14px;justify-content:space-between}.toolbar .spacer{margin-left:0;flex-grow:1}.search-input{min-width:150px;flex:1}.search-input input{width:100%}.review-chooser{flex-wrap:wrap}.drawer{width:100%}.drawer-header{padding:20px}#drawer-content{padding:20px}.toast-region{left:16px;right:16px;bottom:16px}.toast{max-width:100%}.kt-card-footer{gap:10px;flex-wrap:wrap}.tabs{gap:20px}.sync-button{font-size:12px;padding:6px}.notice-detail{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

@media(min-width:1151px) and (max-width:1350px){.access-table td,.access-table th{padding-left:12px;padding-right:12px}.access-table .person-cell{min-width:175px}.access-table .role-cell{min-width:155px}.access-table .recommendation-cell{min-width:155px}.access-table .decision-cell{min-width:130px}.decision-cell select{width:124px}}
