:root {
    --gw-ink: #17211b;
    --gw-muted: #68756e;
    --gw-line: #dce4df;
    --gw-bg: #f3f6f4;
    --gw-panel: #ffffff;
    --gw-green: #168a58;
    --gw-green-dark: #0f6d45;
    --gw-green-soft: #e7f5ed;
    --gw-navy: #16231d;
    --gw-danger: #c93636;
}
* { box-sizing: border-box; }
html { min-height: 100%; overflow-y: scroll; }
body { margin: 0; color: var(--gw-ink); font-family: Arial, "Noto Sans KR", sans-serif; background: var(--gw-bg); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.gw-app { display: grid; min-height: 100vh; grid-template-columns: 236px minmax(0, 1fr); }
.gw-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 24px 16px; color: #e6eee9; background: var(--gw-navy); }
.gw-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 25px; border-bottom: 1px solid rgba(255,255,255,.12); }
.gw-brand > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 6px; color: #fff; background: var(--gw-green); font-size: 18px; font-weight: 800; }
.gw-brand strong { display: flex; flex-direction: column; font-size: 14px; letter-spacing: 0; }
.gw-brand small { margin-top: 3px; color: #9eb0a6; font-size: 10px; font-weight: 600; }
.gw-nav { display: grid; gap: 3px; padding-top: 18px; }
.gw-nav p { margin: 17px 10px 6px; color: #81958a; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.gw-nav a { display: flex; min-height: 40px; align-items: center; justify-content: space-between; padding: 0 12px; border-radius: 5px; color: #cad6cf; font-size: 13px; font-weight: 700; }
.gw-nav a:hover, .gw-nav a.active { color: #fff; background: rgba(255,255,255,.09); }
.gw-nav a.active { box-shadow: inset 3px 0 0 #38cf8d; }
.gw-nav a span { padding: 3px 5px; border-radius: 3px; color: #9db0a5; background: rgba(255,255,255,.07); font-size: 9px; }
.gw-sidebar-foot { margin-top: auto; padding: 17px 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.gw-sidebar-foot strong, .gw-sidebar-foot span { display: block; }
.gw-sidebar-foot strong { font-size: 13px; }
.gw-sidebar-foot span { margin-top: 4px; color: #91a49a; font-size: 11px; }
.gw-sidebar-foot form { margin-top: 12px; }
.gw-sidebar-foot button { padding: 0; border: 0; color: #c9d6cf; background: none; font-size: 11px; cursor: pointer; }
.gw-content { min-width: 0; }
.gw-topbar { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 30px; border-bottom: 1px solid var(--gw-line); background: #fff; }
.gw-topbar > div:first-of-type span { display: block; margin-bottom: 4px; color: var(--gw-muted); font-size: 10px; }
.gw-topbar h1 { margin: 0; font-size: 19px; letter-spacing: 0; }
.gw-user { text-align: right; }
.gw-user span, .gw-user strong { display: block; }
.gw-user span { margin-bottom: 4px; color: var(--gw-muted); font-size: 10px; }
.gw-user strong { font-size: 12px; }
.gw-menu-button { display: none; width: 38px; height: 38px; border: 1px solid var(--gw-line); border-radius: 5px; background: #fff; cursor: pointer; }
.gw-main { width: min(1480px, 100%); margin: 0 auto; padding: 28px 30px 50px; }
.gw-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.gw-heading p, .gw-section header span { margin: 0 0 6px; color: var(--gw-green); font-size: 10px; font-weight: 800; }
.gw-heading h2 { margin: 0 0 6px; font-size: 25px; letter-spacing: 0; }
.gw-heading > div > span { color: var(--gw-muted); font-size: 12px; }
.gw-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--gw-green); border-radius: 5px; color: #fff; background: var(--gw-green); font-size: 12px; font-weight: 700; cursor: pointer; }
.gw-button.secondary { border-color: var(--gw-line); color: var(--gw-ink); background: #fff; }
.gw-button.small { min-height: 32px; padding: 0 12px; }
.gw-stats { display: grid; margin-bottom: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--gw-line); border-radius: 6px; background: #fff; }
.gw-stats > div { position: relative; min-height: 116px; padding: 22px; border-right: 1px solid var(--gw-line); }
.gw-stats > div:last-child { border-right: 0; }
.gw-stats span, .gw-stats small { display: block; color: var(--gw-muted); font-size: 11px; }
.gw-stats strong { display: inline-block; margin: 10px 7px 0 0; font-size: 28px; }
.gw-stats small { display: inline; }
.gw-dashboard-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr); }
.gw-section { margin-bottom: 18px; border: 1px solid var(--gw-line); border-radius: 6px; background: #fff; }
.gw-section > header { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--gw-line); }
.gw-section h3 { margin: 0; font-size: 15px; }
.gw-section header a { color: var(--gw-green-dark); font-size: 11px; font-weight: 700; }
.gw-list > a { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid #edf1ee; }
.gw-list > a:last-child { border-bottom: 0; }
.gw-list > a:hover { background: #f8fbf9; }
.gw-list strong, .gw-list span { display: block; }
.gw-list strong { overflow: hidden; max-width: 780px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.gw-list span { margin-top: 5px; color: var(--gw-muted); font-size: 10px; }
.gw-list em { flex: 0 0 auto; padding: 4px 7px; border-radius: 4px; color: var(--gw-green-dark); background: var(--gw-green-soft); font-size: 10px; font-style: normal; font-weight: 700; }
.gw-empty { padding: 30px 18px; color: var(--gw-muted); text-align: center; font-size: 12px; }
.gw-transition-flow { display: grid; grid-template-columns: repeat(3, 1fr); }
.gw-transition-flow > div { position: relative; min-height: 100px; padding: 20px 20px 20px 62px; border-right: 1px solid var(--gw-line); }
.gw-transition-flow > div:last-child { border-right: 0; }
.gw-transition-flow b { position: absolute; top: 20px; left: 20px; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--gw-line); border-radius: 50%; color: var(--gw-muted); font-size: 11px; }
.gw-transition-flow strong, .gw-transition-flow span { display: block; }
.gw-transition-flow strong { margin: 3px 0 7px; font-size: 12px; }
.gw-transition-flow span { color: var(--gw-muted); font-size: 10px; }
.gw-transition-flow .done b, .gw-transition-flow .active b { border-color: var(--gw-green); color: #fff; background: var(--gw-green); }
.gw-alert { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #b9ddc9; border-radius: 5px; color: var(--gw-green-dark); background: var(--gw-green-soft); font-size: 12px; }
.gw-alert.error { border-color: #efb7b7; color: #9f2424; background: #fff0f0; }
.gw-user-list { display: grid; }
.gw-user-row { display: grid; min-width: 0; align-items: center; gap: 16px; padding: 15px 18px; grid-template-columns: 42px minmax(190px, .8fr) minmax(420px, 1.4fr) auto; border-bottom: 1px solid var(--gw-line); }
.gw-user-row:last-child { border-bottom: 0; }
.gw-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--gw-green-dark); background: var(--gw-green-soft); font-size: 13px; font-weight: 800; }
.gw-user-identity strong, .gw-user-identity small { display: block; }
.gw-user-identity strong { font-size: 12px; }
.gw-user-identity strong span { margin-left: 7px; padding: 3px 5px; border-radius: 3px; color: #fff; background: var(--gw-green); font-size: 9px; }
.gw-user-identity small { overflow: hidden; margin-top: 5px; color: var(--gw-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.gw-role-options { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-role-options label { position: relative; cursor: pointer; }
.gw-role-options input { position: absolute; opacity: 0; pointer-events: none; }
.gw-role-options span { display: block; padding: 6px 8px; border: 1px solid var(--gw-line); border-radius: 4px; color: var(--gw-muted); font-size: 10px; font-weight: 700; }
.gw-role-options input:checked + span { border-color: #88cba7; color: var(--gw-green-dark); background: var(--gw-green-soft); }
.gw-role-options input:disabled + span { opacity: .7; }
.gw-menu-permissions { min-width: 0; grid-column: 2 / -1; border: 1px solid var(--gw-line); border-radius: 5px; background: #fbfcfb; }
.gw-menu-permissions summary { position: relative; display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; cursor: pointer; list-style: none; }
.gw-menu-permissions summary::-webkit-details-marker { display: none; }
.gw-menu-permissions summary::after { color: var(--gw-muted); content: "+"; font-size: 17px; font-weight: 500; }
.gw-menu-permissions[open] summary::after { content: "−"; }
.gw-menu-permissions summary strong { font-size: 11px; }
.gw-menu-permissions summary span { margin-left: auto; color: var(--gw-muted); font-size: 9px; }
.gw-permission-grid { border-top: 1px solid var(--gw-line); }
.gw-permission-head, .gw-permission-row { display: grid; min-height: 40px; align-items: center; grid-template-columns: minmax(160px, 1fr) 110px 110px; }
.gw-permission-head { color: var(--gw-muted); background: #f5f8f6; font-size: 9px; font-weight: 800; }
.gw-permission-head span, .gw-permission-row > strong, .gw-permission-row > label, .gw-permission-row > .gw-permission-na { padding: 9px 13px; }
.gw-permission-head span:not(:first-child), .gw-permission-row > label, .gw-permission-row > .gw-permission-na { border-left: 1px solid var(--gw-line); text-align: center; }
.gw-permission-row { border-top: 1px solid #edf1ee; }
.gw-permission-row:first-of-type { border-top: 0; }
.gw-permission-row > strong { font-size: 10px; }
.gw-permission-row label { display: flex; align-items: center; justify-content: center; gap: 6px; color: #405149; cursor: pointer; font-size: 9px; font-weight: 700; }
.gw-permission-row input { width: 15px; height: 15px; accent-color: var(--gw-green); }
.gw-permission-na { color: #aab4af; font-size: 10px; }
.gw-table-wrap { overflow-x: auto; }
.gw-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.gw-table th, .gw-table td { padding: 12px 15px; border-bottom: 1px solid var(--gw-line); text-align: left; white-space: nowrap; }
.gw-table th { color: var(--gw-muted); background: #f8faf9; font-size: 10px; }
.gw-data-table td { max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
.gw-data-table td small { display: block; margin-top: 4px; color: var(--gw-muted); }
.gw-record-link { color: var(--gw-green-dark); font-weight: 800; }
.gw-record-link:hover { text-decoration: underline; }
.gw-filter { display: grid; gap: 8px; padding: 14px 18px; grid-template-columns: minmax(220px, 1fr) minmax(150px, 220px) auto auto; border-bottom: 1px solid var(--gw-line); }
.gw-filter input, .gw-filter select, .gw-field input, .gw-field select, .gw-field textarea, .gw-inline-form input { width: 100%; min-width: 0; border: 1px solid #cfdad4; border-radius: 5px; color: var(--gw-ink); background: #fff; outline: none; }
.gw-filter input, .gw-filter select, .gw-field input, .gw-field select, .gw-inline-form input { height: 40px; padding: 0 11px; }
.gw-field textarea { min-height: 94px; padding: 11px; resize: vertical; line-height: 1.6; }
.gw-filter input:focus, .gw-filter select:focus, .gw-field input:focus, .gw-field select:focus, .gw-field textarea:focus, .gw-inline-form input:focus { border-color: var(--gw-green); box-shadow: 0 0 0 3px rgba(22,138,88,.09); }
.gw-editor-section { overflow: hidden; }
.gw-rich-editor { overflow: hidden; border: 1px solid #cfdad4; border-radius: 5px; background: #fff; }
.gw-rich-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 7px; border-bottom: 1px solid #dbe3df; background: #f5f8f6; }
.gw-rich-toolbar button { min-width: 34px; height: 32px; padding: 0 9px; border: 1px solid #cbd6d0; border-radius: 4px; background: #fff; color: #263b32; font-weight: 700; cursor: pointer; }
.gw-rich-toolbar button:hover, .gw-rich-toolbar button.active { border-color: var(--gw-green); color: var(--gw-green); background: #effaf4; }
.gw-rich-surface { min-height: 260px; padding: 16px; color: var(--gw-ink); line-height: 1.7; outline: none; overflow-wrap: anywhere; }
.gw-rich-surface:focus { box-shadow: inset 0 0 0 2px rgba(22,138,88,.12); }
.gw-rich-surface img { max-width: 100%; height: auto; }
.gw-rich-surface table { width: 100%; border-collapse: collapse; }
.gw-rich-surface th, .gw-rich-surface td { padding: 7px; border: 1px solid #cfdad4; }
.gw-rich-editor.readonly .gw-rich-surface { min-height: 120px; background: #f8faf9; }
.gw-rich-source { display: block; width: 100%; min-height: 260px; padding: 14px; border: 0; border-radius: 0; font-family: Consolas, monospace; line-height: 1.55; resize: vertical; }
.gw-rich-source[hidden] { display: none; }
.gw-check { display: flex; align-items: center; min-height: 42px; gap: 8px; padding: 0 2px; color: #33483f; font-weight: 600; }
.gw-check input { width: 18px; height: 18px; accent-color: var(--gw-green); }
.gw-file-list { display: flex; flex-wrap: wrap; gap: 7px; }
.gw-file-list a { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 10px; border: 1px solid #cfdad4; border-radius: 4px; color: #245e47; background: #f6faf8; font-weight: 700; }
.gw-contact-editor { padding-top: 4px; }
.gw-contact-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gw-contact-editor-head > span { color: #53665d; font-size: 13px; font-weight: 700; }
.gw-button.small { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.gw-contact-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 120px 14px 14px; border: 1px solid #dbe3df; border-radius: 6px; background: #f8faf9; }
.gw-contact-row + .gw-contact-row { margin-top: 10px; }
.gw-contact-row > label { display: grid; gap: 5px; min-width: 0; }
.gw-contact-row > label > span { color: #65766e; font-size: 11px; font-weight: 700; }
.gw-contact-row input, .gw-contact-row select { width: 100%; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #cfdad4; border-radius: 4px; background: #fff; }
.gw-contact-row.archived { opacity: .62; background: #f2f3f2; }
.gw-contact-remove { position: absolute; top: 14px; right: 14px; min-height: 32px; padding: 5px 8px; border: 1px solid #e0b5b5; border-radius: 4px; color: #a33a3a; background: #fff; cursor: pointer; font-size: 11px; font-weight: 700; }
.gw-form { display: grid; gap: 16px; padding: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gw-form.compact-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gw-field { display: grid; min-width: 0; align-content: start; gap: 7px; }
.gw-field > span, .gw-inline-form label > span { color: #45544c; font-size: 10px; font-weight: 800; }
.gw-field.wide, .gw-form-actions.wide { grid-column: 1 / -1; }
.gw-static { display: flex; min-height: 40px; align-items: center; padding: 0 11px; border: 1px solid #e3e9e5; border-radius: 5px; color: var(--gw-muted); background: #f8faf9; font-size: 11px; }
.gw-form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.gw-check { display: flex; align-items: center; flex-direction: row; gap: 8px; padding-top: 24px; }
.gw-check input { width: 18px; height: 18px; }
.gw-check-grid { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gw-check-grid label { position: relative; cursor: pointer; }
.gw-check-grid input { position: absolute; opacity: 0; }
.gw-check-grid span { display: flex; min-height: 38px; align-items: center; justify-content: center; border: 1px solid var(--gw-line); border-radius: 5px; color: var(--gw-muted); background: #fff; font-size: 10px; font-weight: 800; }
.gw-check-grid input:checked + span { border-color: #7cc69c; color: var(--gw-green-dark); background: var(--gw-green-soft); }
.gw-line-items { display: grid; gap: 7px; }
.gw-line-item { display: grid; gap: 7px; grid-template-columns: minmax(170px, 1.4fr) minmax(120px, 1fr) 80px 120px minmax(120px, 1fr); }
.gw-line-item input { height: 38px; padding: 0 9px; }
.gw-subsection { padding: 0 20px 20px; border-top: 1px solid var(--gw-line); }
.gw-subsection h4 { margin: 19px 0 13px; font-size: 13px; }
.gw-contact-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gw-contact-grid > div { min-width: 0; padding: 13px; border: 1px solid var(--gw-line); border-radius: 5px; background: #fbfcfb; }
.gw-contact-grid strong, .gw-contact-grid span, .gw-contact-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-contact-grid strong { font-size: 11px; }
.gw-contact-grid span, .gw-contact-grid small { margin-top: 5px; color: var(--gw-muted); font-size: 9px; }
.gw-inline-form { display: grid; align-items: end; gap: 8px; margin-bottom: 14px; grid-template-columns: repeat(3, minmax(130px, 1fr)) auto; }
.gw-inline-form label { display: grid; gap: 6px; }
.gw-tabs { display: flex; gap: 3px; margin-bottom: 18px; border-bottom: 1px solid var(--gw-line); }
.gw-tabs a { min-width: 130px; padding: 12px 16px; color: var(--gw-muted); text-align: center; font-size: 11px; font-weight: 800; }
.gw-tabs a.active { border-bottom: 2px solid var(--gw-green); color: var(--gw-green-dark); }
.gw-calendar-section { overflow: hidden; }
.gw-calendar-header { flex-wrap: wrap; }
.gw-calendar-navigation { display: flex; align-items: center; gap: 10px; }
.gw-calendar-navigation > div { min-width: 102px; text-align: center; }
.gw-calendar-navigation > div span { margin-bottom: 3px; }
.gw-calendar-arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--gw-line); border-radius: 5px; color: var(--gw-ink) !important; background: #fff; font-size: 21px !important; line-height: 1; }
.gw-calendar-arrow:hover { border-color: var(--gw-green); color: var(--gw-green) !important; }
.gw-calendar-today { min-height: 32px; padding: 8px 10px; border: 1px solid var(--gw-line); border-radius: 4px; color: var(--gw-muted) !important; background: #fff; }
.gw-calendar-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.gw-calendar-legend span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 4px; color: #33443b; background: #f3f6f4; font-size: 9px; font-weight: 800; }
.gw-calendar-legend span::before { width: 7px; height: 7px; border-radius: 2px; background: #7c8a82; content: ""; }
.gw-calendar-legend .vacation::before { background: #19935e; }
.gw-calendar-legend .remote::before { background: #7357c7; }
.gw-calendar-legend .meeting::before { background: #2d72b8; }
.gw-calendar-legend .car::before { background: #c47a16; }
.gw-calendar-legend .holiday::before { background: #c13f3f; }
.gw-calendar-scroll { overflow-x: auto; }
.gw-calendar { display: grid; min-width: 910px; grid-template-columns: repeat(7, minmax(130px, 1fr)); }
.gw-calendar-weekday { padding: 9px 10px; border-right: 1px solid var(--gw-line); border-bottom: 1px solid var(--gw-line); color: var(--gw-muted); background: #f8faf9; text-align: center; font-size: 10px; font-weight: 800; }
.gw-calendar-weekday:nth-child(7) { border-right: 0; }
.gw-calendar-day { min-height: 142px; padding: 9px; border-right: 1px solid var(--gw-line); border-bottom: 1px solid var(--gw-line); background: #fff; }
.gw-calendar-day:nth-child(7n) { border-right: 0; }
.gw-calendar-day.outside { background: #f7f9f8; }
.gw-calendar-day.outside .gw-calendar-date, .gw-calendar-day.outside .gw-calendar-events { opacity: .48; }
.gw-calendar-day.today { box-shadow: inset 0 0 0 2px var(--gw-green); }
.gw-calendar-date { display: flex; min-height: 24px; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.gw-calendar-date time { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #36473e; font-size: 10px; font-weight: 800; }
.gw-calendar-day.weekday-0 .gw-calendar-date time { color: #c13f3f; }
.gw-calendar-day.weekday-6 .gw-calendar-date time { color: #2d72b8; }
.gw-calendar-day.today .gw-calendar-date time { color: #fff; background: var(--gw-green); }
.gw-calendar-date span { color: var(--gw-green); font-size: 8px; font-weight: 800; }
.gw-calendar-events { display: grid; gap: 4px; }
.gw-calendar-event { overflow: hidden; min-height: 22px; padding: 5px 6px; border-left: 3px solid #839188; border-radius: 3px; color: #34443c; background: #edf1ef; font-size: 9px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; cursor: default; }
.gw-calendar-event.vacation { border-color: #19935e; color: #11653f; background: #e6f5ed; }
.gw-calendar-event.remote { border-color: #7357c7; color: #5537a6; background: #f0ecfb; }
.gw-calendar-event.meeting { border-color: #2d72b8; color: #215c95; background: #eaf2fa; }
.gw-calendar-event.car { border-color: #c47a16; color: #8b5510; background: #fff3df; }
.gw-calendar-event.holiday { border-color: #c13f3f; color: #9d2f2f; background: #fdeaea; }
.gw-calendar-more { padding: 2px 6px; color: var(--gw-muted); font-size: 8px; font-weight: 700; }
.gw-status { display: inline-flex; padding: 4px 7px; border-radius: 4px; color: var(--gw-green-dark); background: var(--gw-green-soft); font-size: 9px; font-weight: 800; }
.gw-status.status-e, .gw-status.status-q { color: #a05b00; background: #fff2d8; }
.gw-status.status-f { color: #52615a; background: #edf1ef; }
.gw-link-danger { padding: 0; border: 0; color: var(--gw-danger); background: none; font-size: 10px; font-weight: 800; cursor: pointer; }
.gw-pagination { display: flex; justify-content: center; gap: 5px; padding: 16px; }
.gw-pagination a { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--gw-line); border-radius: 4px; color: var(--gw-muted); background: #fff; font-size: 10px; font-weight: 700; }
.gw-pagination a.active { border-color: var(--gw-green); color: #fff; background: var(--gw-green); }
.gw-login-body { min-height: 100vh; background: #edf2ef; }
.gw-login-shell { display: grid; width: min(1040px, calc(100% - 40px)); min-height: 620px; margin: 7vh auto; overflow: hidden; grid-template-columns: 1.05fr .95fr; border: 1px solid #d4ded8; border-radius: 7px; background: #fff; box-shadow: 0 24px 60px rgba(25,45,34,.12); }
.gw-login-intro { display: flex; flex-direction: column; justify-content: center; padding: 64px; color: #fff; background: var(--gw-navy); }
.gw-login-mark { display: grid; width: 42px; height: 42px; margin-bottom: 34px; place-items: center; border-radius: 6px; background: var(--gw-green); font-size: 20px; font-weight: 800; }
.gw-login-intro > p { margin: 0 0 12px; color: #7ee0ae; font-size: 11px; font-weight: 800; }
.gw-login-intro h1 { margin: 0; font-size: 34px; line-height: 1.35; letter-spacing: 0; }
.gw-login-intro > div { margin-top: 74px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.gw-login-intro > div strong, .gw-login-intro > div span { display: block; }
.gw-login-intro > div strong { font-size: 12px; }
.gw-login-intro > div span { margin-top: 7px; color: #a8bbb1; font-size: 10px; }
.gw-login-form-wrap { display: grid; padding: 64px; place-items: center; }
.gw-login-form { display: grid; width: 100%; max-width: 360px; gap: 16px; }
.gw-login-form > div:first-child span { color: var(--gw-green); font-size: 10px; font-weight: 800; }
.gw-login-form h2 { margin: 8px 0 5px; font-size: 27px; }
.gw-login-form p { margin: 0 0 18px; color: var(--gw-muted); font-size: 11px; }
.gw-login-form label { display: grid; gap: 7px; color: #38463f; font-size: 11px; font-weight: 700; }
.gw-login-form input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cfdad4; border-radius: 5px; outline: none; }
.gw-login-form input:focus { border-color: var(--gw-green); box-shadow: 0 0 0 3px rgba(22,138,88,.1); }
.gw-login-form button { height: 46px; border: 0; border-radius: 5px; color: #fff; background: var(--gw-green); font-weight: 800; cursor: pointer; }
.gw-login-form small { color: var(--gw-muted); font-size: 10px; line-height: 1.55; }
@media (max-width: 1080px) {
    .gw-dashboard-grid { grid-template-columns: 1fr; }
    .gw-user-row { grid-template-columns: 42px 1fr auto; }
    .gw-role-options { grid-column: 2 / -1; }
    .gw-form.compact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gw-line-item { grid-template-columns: minmax(160px, 1fr) minmax(120px, .8fr) 70px 110px; }
    .gw-line-item input:last-child { grid-column: 1 / -1; }
    .gw-contact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .gw-app { display: block; }
    .gw-sidebar { position: fixed; z-index: 100; left: -250px; width: 236px; transition: left .2s ease; box-shadow: 16px 0 40px rgba(0,0,0,.2); }
    .gw-sidebar.open { left: 0; }
    .gw-menu-button { display: inline-grid; place-items: center; }
    .gw-topbar { justify-content: flex-start; padding: 12px 16px; }
    .gw-user { margin-left: auto; }
    .gw-main { padding: 22px 16px 40px; }
    .gw-stats { grid-template-columns: repeat(2, 1fr); }
    .gw-stats > div:nth-child(2) { border-right: 0; }
    .gw-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--gw-line); }
    .gw-login-shell { grid-template-columns: 1fr; margin: 20px auto; }
    .gw-login-intro { padding: 36px; }
    .gw-login-intro h1 { font-size: 27px; }
    .gw-login-intro > div { margin-top: 38px; }
    .gw-login-form-wrap { padding: 42px 30px; }
    .gw-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .gw-topbar { min-height: 66px; }
    .gw-topbar > div:first-of-type span, .gw-user span { display: none; }
    .gw-heading { align-items: flex-start; flex-direction: column; }
    .gw-heading .gw-button, .gw-heading form, .gw-heading form .gw-button { width: 100%; }
    .gw-stats > div { min-height: 98px; padding: 17px; }
    .gw-stats strong { font-size: 23px; }
    .gw-transition-flow { grid-template-columns: 1fr; }
    .gw-transition-flow > div { border-right: 0; border-bottom: 1px solid var(--gw-line); }
    .gw-transition-flow > div:last-child { border-bottom: 0; }
    .gw-user-row { gap: 10px; padding: 14px; grid-template-columns: 38px minmax(0, 1fr); }
    .gw-role-options, .gw-user-row .gw-button { grid-column: 1 / -1; }
    .gw-menu-permissions { grid-column: 1 / -1; }
    .gw-user-row .gw-button { width: 100%; }
    .gw-menu-permissions summary { align-items: flex-start; flex-direction: column; gap: 4px; }
    .gw-menu-permissions summary span { margin-left: 0; }
    .gw-menu-permissions summary::after { position: absolute; right: 30px; }
    .gw-permission-head, .gw-permission-row { grid-template-columns: minmax(110px, 1fr) 72px 82px; }
    .gw-permission-head span, .gw-permission-row > strong, .gw-permission-row > label, .gw-permission-row > .gw-permission-na { padding: 9px 7px; }
    .gw-login-shell { width: calc(100% - 24px); }
    .gw-login-intro { padding: 28px 24px; }
    .gw-login-intro > div { display: none; }
    .gw-login-mark { margin-bottom: 24px; }
    .gw-login-form-wrap { padding: 34px 24px; }
    .gw-filter { grid-template-columns: 1fr 1fr; padding: 12px; }
    .gw-filter input { grid-column: 1 / -1; }
    .gw-form, .gw-form.compact-form { padding: 15px; grid-template-columns: 1fr; }
    .gw-field.wide, .gw-form-actions.wide { grid-column: auto; }
    .gw-check { padding-top: 0; }
    .gw-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gw-line-item { padding-bottom: 10px; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--gw-line); }
    .gw-line-item input:first-of-type, .gw-line-item input:last-child { grid-column: 1 / -1; }
    .gw-form-actions { flex-direction: column-reverse; }
    .gw-form-actions .gw-button { width: 100%; }
    .gw-contact-grid { grid-template-columns: 1fr; }
    .gw-inline-form { grid-template-columns: 1fr; }
    .gw-tabs a { flex: 1; min-width: 0; }
    .gw-rich-toolbar { gap: 3px; padding: 6px; }
    .gw-rich-toolbar button { min-width: 31px; padding: 0 7px; }
    .gw-rich-surface { min-height: 220px; padding: 12px; }
    .gw-contact-row { padding: 12px; padding-top: 54px; grid-template-columns: 1fr; }
    .gw-contact-remove { top: 11px; right: 11px; }
    .gw-calendar-header { align-items: flex-start; }
    .gw-calendar-navigation { width: 100%; justify-content: center; }
    .gw-calendar-legend { justify-content: flex-start; }
    .gw-calendar { min-width: 760px; grid-template-columns: repeat(7, minmax(108px, 1fr)); }
    .gw-calendar-day { min-height: 124px; padding: 7px; }
}
