.gmt-catalog[hidden], .gmt-catalog label[hidden] { display:none !important; }
.gmt-catalog { padding:6px; color:var(--gmt-ink); }
.gmt-catalog-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:16px; }
.gmt-catalog-heading h2 { font-size:21px; margin:4px 0 8px; }
.gmt-catalog-heading p { margin-bottom:4px; }
.gmt-catalog-actions, .gmt-catalog-save, .gmt-catalog-related { display:flex; gap:8px; flex-wrap:wrap; }
.gmt-catalog-notice { border:1px solid #bbd5e6; background:#edf5fb; padding:12px 16px; border-radius:7px; margin-bottom:15px; }
.gmt-catalog-notice.is-error { background:#fff1ee; border-color:#efc5bd; color:#953e2e; }
.gmt-catalog-layout { display:grid; grid-template-columns:minmax(290px, 0.8fr) minmax(0,1.6fr); gap:18px; align-items:start; }
.gmt-catalog-list, .gmt-catalog-editor { min-width:0; border:1px solid var(--gmt-line); border-radius:8px; background:white; padding:18px; }
.gmt-catalog-filters { display:grid; gap:6px; margin-bottom:13px; }
.gmt-catalog-filters label { font-size:12px; font-weight:600; }
.gmt-catalog-scroll { max-height:65vh; overflow:auto; }
.gmt-catalog .table { font-size:12px; width:100%; margin-bottom:0; }
.gmt-catalog .table th { position:sticky; top:0; background:#f4f7fa; }
.gmt-catalog .table td { vertical-align:middle; padding:12px 6px; }
.gmt-catalog .table td strong, .gmt-catalog .table td small { display:block; overflow-wrap:anywhere; }
.gmt-catalog .table td small { color:var(--gmt-muted); margin-top:5px; }
.gmt-catalog .table tr.is-selected td { background:#edf4fb; }
.gmt-catalog-badge { font-size:10px; background:#e7f3ed; color:#216643; border-radius:12px; padding:4px 7px; white-space:nowrap; }
.gmt-catalog-badge.is-inactive { color:#646f7a; background:#edf0f3; }
.gmt-catalog-editor-title { display:flex; justify-content:space-between; gap:12px; margin-bottom:22px; align-items:center; }
.gmt-catalog-editor h3 { font-size:16px; margin:0; }
.gmt-catalog-editor [data-dirty] { color:#85662c; font-size:11px; }
.gmt-catalog-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.gmt-catalog-field label, .gmt-catalog-logo > label { display:block; font-size:12px; font-weight:600; margin-bottom:6px; }
.gmt-catalog-field .form-control, .gmt-catalog-field .form-select { width:100%; font-size:13px; }
.gmt-catalog-field.is-checkbox { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.gmt-catalog-field.is-checkbox label { order:2; margin:0; font-weight:400; }
.gmt-catalog-field.is-checkbox input { order:1; flex-shrink:0; }
.gmt-catalog-field.is-checkbox .invalid-feedback { order:3; width:100%; }
.gmt-catalog-empty { text-align:center; padding:60px 20px; }
.gmt-catalog-empty > i { display:block; font-size:42px; color:#8aa1b5; margin-bottom:20px; }
.gmt-catalog-empty h3 { margin-bottom:12px; }
.gmt-catalog-save, .gmt-catalog-related { margin-top:24px; padding-top:18px; border-top:1px solid var(--gmt-line); }
.gmt-catalog-logo { margin-top:22px; }
.gmt-catalog-users { margin:24px 0 0; padding:16px; border:1px solid var(--gmt-line); border-radius:7px; }
.gmt-catalog-users legend { float:none; width:auto; font-size:13px; font-weight:600; }
.gmt-catalog-users > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:220px; overflow:auto; margin-top:12px; }
.gmt-catalog-users label { display:flex; gap:8px; padding:8px; font-size:12px; align-items:center; }
.gmt-catalog-users input[type=checkbox] { flex-shrink:0; }
.gmt-catalog-color { display:block; height:14px; border:1px solid #b5c5d3; border-radius:3px; margin-top:6px; }
.gmt-catalog-hint { margin:22px 0 0; font-size:12px; }
.gmt-security fieldset { margin-top:24px; border:1px solid var(--gmt-line); border-radius:7px; padding:16px; min-width:0; }
.gmt-security legend { float:none; width:auto; font-size:13px; font-weight:600; }
.gmt-security p { font-size:12px; }
.gmt-permission-tree { max-height:400px; overflow:auto; margin-top:12px; }
.gmt-permission { display:flex; gap:10px; align-items:center; padding:9px 6px 9px calc(6px + var(--depth) * 12px); font-size:12px; border-bottom:1px solid #f1f4f7; }
.gmt-permission[hidden], .gmt-security-clients label[hidden] { display:none; }
.gmt-permission input { flex-shrink:0; }
.gmt-permission span { overflow-wrap:anywhere; }
.gmt-permission small, .gmt-security-members small { color:var(--gmt-muted); }
.gmt-security-members, .gmt-security-clients { display:grid; gap:10px; max-height:240px; overflow:auto; margin-top:14px; font-size:12px; }
.gmt-security-clients label { display:flex; align-items:center; gap:10px; padding:8px 0; }
.gmt-security-hint { margin-top:18px; }
.gmt-password-form label { display:block; margin-bottom:16px; font-size:13px; }
.gmt-password-form input { margin-top:6px; }
.gmt-employee-section { border:1px solid var(--gmt-line); border-radius:7px; padding:16px; margin:0 0 20px; min-width:0; }
.gmt-employee-section legend { float:none; width:auto; font-size:13px; font-weight:600; }
.gmt-employee-summary { padding:12px 15px; margin-bottom:20px; border-radius:7px; background:#f4f7fa; overflow-wrap:anywhere; }
.gmt-employee-summary strong { font-size:14px; }
.gmt-employee-summary p { font-size:12px; margin:6px 0 0; }
@media(max-width:1000px) { .gmt-catalog-layout { grid-template-columns:minmax(240px,0.8fr) minmax(0,1.2fr); } }
@media(max-width:760px) { .gmt-catalog { padding:0; } .gmt-catalog-layout { grid-template-columns:1fr; } .gmt-catalog-fields { grid-template-columns:1fr; } .gmt-catalog-scroll { max-height:280px; } .gmt-catalog-users > div { grid-template-columns:1fr; } .gmt-catalog-list, .gmt-catalog-editor { padding:14px; } .gmt-catalog-actions { width:100%; } }

.gmt-employee-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;border-bottom:1px solid #dce4ee;padding-bottom:10px}
.gmt-employee-tabs button{border:0;background:transparent;color:#51657e;padding:9px 12px;border-radius:8px;font:inherit;font-size:.88rem;display:flex;gap:7px;align-items:center}
.gmt-employee-tabs button[aria-selected=true]{background:#eaf1fc;color:#224e87;font-weight:650}
.gmt-employee-tabs button:disabled{opacity:.45}.gmt-employee-tabs button:focus-visible{outline:2px solid #356dbc}
.gmt-sheet-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.gmt-sheet-heading h3{font-size:1.15rem;margin:0}
.gmt-sheet-records{display:grid;gap:8px;margin:16px 0}.gmt-sheet-record,.gmt-sheet-document{border:1px solid #dce4ee;background:#fff;border-radius:8px;padding:12px;text-align:left;color:inherit}
.gmt-sheet-record small,.gmt-sheet-document small,.gmt-sheet-table small{display:block;color:#66788e;margin-top:5px;font-size:.8rem}
.gmt-sheet-record:hover{border-color:#80a1ce;background:#f6f9ff}.gmt-sheet-total{padding:12px;background:#f0f5fc;border-radius:8px}
.gmt-sheet-editor-title{font-size:1rem;margin:20px 0 14px}.gmt-employee-sheet .gmt-catalog-notice:empty{display:none}
.gmt-sheet-upload{display:grid;gap:10px;padding:16px;border:1px dashed #a6bad5;border-radius:10px;margin:16px 0}
.gmt-sheet-upload button{justify-self:start}.gmt-sheet-document{display:flex;justify-content:space-between;align-items:center;gap:12px}
.gmt-sheet-document>div:first-child{min-width:0;overflow-wrap:anywhere}.gmt-sheet-document>div:last-child{display:flex;gap:6px;flex-wrap:wrap;flex-shrink:0}
.gmt-sheet-table{overflow:auto;max-width:100%;margin:16px 0}.gmt-sheet-table table{min-width:440px}.gmt-schedule-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.gmt-schedule-fields>.gmt-catalog-field:nth-child(-n+3){grid-column:1/-1}
@media(max-width:600px){.gmt-employee-tabs button{padding:8px;font-size:.8rem}.gmt-sheet-document{flex-direction:column;align-items:stretch}.gmt-sheet-document>div:last-child{justify-content:flex-end}.gmt-schedule-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
