#groupwarePage { --gw-teal: #137e79; --gw-teal-dark: #105a5c; --gw-purple: #7054b6; }
#groupwarePage button, #groupwarePage input, #groupwarePage select, #groupwarePage textarea { font: inherit; }
#groupwarePage button { touch-action: manipulation; }
#groupwarePage button:disabled { opacity: .48; cursor: not-allowed; }
#groupwarePage button:focus-visible, #groupwarePage input:focus-visible, #groupwarePage select:focus-visible, #groupwarePage textarea:focus-visible { outline: 3px solid #89b7ff; outline-offset: 3px; }
#groupwarePage .secondary-button { padding: 0 16px; }
#groupwarePage .primary-button { font-size: 12px; }
.gw-heading { gap: 20px; }
.gw-tabs { display: flex; align-items: center; gap: 5px; padding: 5px; margin-bottom: 24px; border: 1px solid var(--line); background: #eaf0f5; border-radius: 12px; overflow-x: auto; scrollbar-width: thin; }
.gw-tabs button { flex: 1 0 auto; min-height: 42px; padding: 0 15px; border: 0; border-radius: 9px; background: transparent; color: #657585; font-size: 12px !important; font-weight: 700 !important; white-space: nowrap; }
.gw-tabs button[aria-selected=true] { background: #fff; color: var(--navy); box-shadow: 0 2px 7px #15324a12; }
.gw-tabs button > span { display: inline-block; min-width: 18px; padding: 2px 5px; margin-left: 6px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-size: 10px; }
.gw-global-feedback:empty { display: none; }
.gw-global-feedback { padding: 12px 15px; background: #fff1e5; border-radius: 9px; line-height: 1.7; font-size: 12px; }
.gw-today { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); overflow: hidden; border: 1px solid #b4d8d4; border-radius: 18px; background: #fff; }
.gw-today-main { padding: 30px; color: #fff; background: linear-gradient(125deg, #176b6d, #174c60); }
.gw-today-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gw-kicker { font-size: 11px; letter-spacing: .3px; }
.gw-today .gw-kicker { color: #c4e0dc; }
.gw-today h2 { margin: 23px 0 12px; font-size: clamp(19px, 2.5vw, 25px); line-height: 1.45; letter-spacing: -.5px; }
.gw-today-main > p { max-width: 520px; min-height: 38px; margin: 0; color: #c4dfdf; font-size: 12px; line-height: 1.75; }
.gw-clock-grid { display: grid; grid-template-columns: 1fr 40px 1fr; max-width: 400px; gap: 20px; align-items: center; margin: 25px 0; }
.gw-clock-grid > div > span, .gw-clock-grid strong, .gw-clock-grid small { display: block; }
.gw-clock-grid > div > span { color: #bed8d8; font-size: 11px; }
.gw-clock-grid strong { margin: 5px 0; font-size: 40px; line-height: 1.2; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.gw-clock-grid small { color: #b7d3d4; font-size: 10px; }
.gw-clock-line { height: 1px; background: #ffffff40; }
.gw-today-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#groupwarePage .gw-today-actions .primary-button { background: #fff; color: var(--gw-teal-dark); box-shadow: none; }
.gw-light-button { min-height: 42px; padding: 0; border: 0; background: transparent; color: #e8f5f3; font-size: 12px !important; font-weight: 700 !important; }
.gw-policy { padding: 28px 26px; background: #f5faf9; }
.gw-policy-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: var(--gw-teal); background: #e2f0ec; font-size: 26px; }
.gw-policy h3 { margin: 16px 0 18px; color: #235253; font-size: 14px; }
.gw-policy ol { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
.gw-policy li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: 11px; line-height: 1.6; }
.gw-policy li strong { color: #245856; }
.gw-policy li span { color: #698383; }
.gw-policy > p { margin: 18px 0 0; color: #78908f; line-height: 1.6; font-size: 10px; }
.gw-policy > .gw-network-caption { padding: 9px 10px; border: 1px solid #d8e8e3; border-radius: 7px; background: #edf6f2; color: #47766f; }
.gw-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.gw-stat { display: flex; align-items: center; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: left; }
.gw-stat:hover { border-color: #b0c9e7; }
.gw-stat-icon { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border-radius: 12px; font-size: 24px; }
.gw-purple { color: #7554ad; background: #f0eafa; }
.gw-blue { color: #3474ce; background: #eaf2fc; }
.gw-orange { color: #b97324; background: #fff0dd; }
.gw-stat > span:nth-child(2) { flex: 1; min-width: 0; }
.gw-stat small, .gw-stat strong { display: block; }
.gw-stat small { color: var(--muted); line-height: 1.7; font-size: 10px; }
.gw-stat strong { margin: 2px 0; font-size: 26px; color: var(--navy); font-variant-numeric: tabular-nums; }
.gw-stat strong em { font-size: 12px; margin-left: 5px; font-style: normal; font-weight: 500; }
.gw-stat b { align-self: flex-start; color: #a3b0bc; font-size: 14px; font-weight: 500; }
.gw-two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gw-two-column > .panel { min-width: 0; }
.gw-form-layout { grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); }
.gw-request-list { display: grid; }
.gw-request-item { width: 100%; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 0; border: 0; border-bottom: 1px solid #edf0f3; text-align: left; background: #fff; }
.gw-request-item:first-child { padding-top: 0; }
.gw-request-item:last-child { border-bottom: 0; padding-bottom: 0; }
.gw-request-item:hover .gw-request-copy strong { color: var(--blue); }
.gw-document-icon { display: grid; place-items: center; width: 37px; height: 42px; flex-shrink: 0; border-radius: 9px; font-size: 20px; }
.gw-request-copy { flex: 1; min-width: 0; }
.gw-request-copy strong { display: block; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.gw-request-copy small { display: block; margin-top: 4px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.gw-badge { display: inline-block; flex-shrink: 0; width: fit-content; padding: 5px 8px; border-radius: 6px; font-size: 10px; line-height: 1.35; font-weight: 700; white-space: nowrap; color: #62717f; background: #edf1f5; }
.gw-badge-pending { color: #a06b24; background: #fff3de; }
.gw-badge-approved { color: #207760; background: #e5f5ee; }
.gw-badge-working { color: #267274; background: #e0f3f1; }
.gw-badge-rejected { color: #b24949; background: #feebeb; }
.gw-badge-cancelled { color: #737c85; background: #f0f1f3; }
.gw-badge-auto { color: #7655a5; background: #f1eafa; }
.gw-badge-neutral { color: #687480; background: #edf1f5; }
.gw-empty { display: flex; min-height: 168px; padding: 28px 14px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gw-empty > span { margin-bottom: 12px; color: #bdcdd7; font-size: 26px; }
.gw-empty strong { font-size: 12px; color: #657684; line-height: 1.7; }
.gw-empty p { max-width: 330px; margin: 7px 0 0; color: #8a98a4; font-size: 11px; line-height: 1.7; }
.gw-timezone { margin: 22px 0 0; color: #84929e; font-size: 10px; line-height: 1.7; text-align: right; }
.gw-section-heading { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin: 0 0 20px; }
.gw-section-heading h2 { margin: 0 0 7px; font-size: 19px; letter-spacing: -.3px; }
.gw-section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.gw-period-filter { display: flex; flex-shrink: 0; align-items: flex-end; gap: 8px; }
.gw-period-filter label { display: grid; gap: 5px; font-size: 10px; color: var(--muted); }
.gw-period-filter input { height: 40px; min-width: 145px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px !important; }
.gw-attendance-summary { display: flex; align-items: center; gap: 32px; margin-bottom: 20px; }
.gw-attendance-summary > div > span { color: var(--muted); font-size: 11px; }
.gw-attendance-summary > div > strong { display: block; margin-top: 4px; font-size: 28px; color: var(--navy); }
.gw-attendance-note { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.gw-attendance-note p { max-width: 370px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.gw-attendance-note button { flex-shrink: 0; }
.gw-table-panel { padding: 0 !important; overflow: hidden; }
.gw-table-panel > .panel-header { padding: 22px 22px 0; }
.gw-table-wrap th { font-size: 10px; }
.gw-table-wrap td { font-size: 12px; }
.gw-table-wrap td strong { font-weight: 600; }
.gw-subtext { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); line-height: 1.7; }
.gw-wrap { max-width: 270px; white-space: normal; overflow-wrap: anywhere; }
.gw-year-chip { padding: 8px 12px; border-radius: 8px; background: #edf1f5; color: #637384; font-size: 11px; white-space: nowrap; }
.gw-leave-balance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 21px 10px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.gw-leave-balance > div { padding: 0 20px; border-right: 1px solid var(--line); }
.gw-leave-balance > div:last-child { border: 0; }
.gw-leave-balance span { display: block; color: var(--muted); font-size: 11px; }
.gw-leave-balance strong { display: block; margin-top: 7px; font-size: 27px; color: var(--navy); }
.gw-leave-balance small { margin-left: 5px; font-size: 12px; font-weight: 500; }
.gw-leave-balance .gw-balance-highlight strong { color: var(--gw-purple); }
.gw-required-note { color: #94a0aa; font-size: 10px; }
.gw-form { display: grid; gap: 16px; }
.gw-form label { min-width: 0; display: grid; gap: 7px; }
.gw-form label > span { color: #4b5e6c; font-size: 11px; font-weight: 700; }
.gw-form input, .gw-form select, .gw-form textarea { width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid #dce3e9; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12px !important; line-height: 1.6 !important; }
.gw-form input[readonly] { background: #f4f6f8; color: var(--muted); }
.gw-form textarea { resize: vertical; }
.gw-form input::placeholder, .gw-form textarea::placeholder { color: #96a1ab; }
.gw-field-pair { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.gw-help { margin: 0; color: #7b8b97; font-size: 11px; line-height: 1.8; }
.gw-form > .gw-help { margin-top: -5px; }
.gw-inline-note { border: 1px solid #d9e8f3; border-radius: 8px; padding: 12px; color: #668199; background: #f4f8fc; font-size: 11px; line-height: 1.8; }
.gw-form-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.gw-form-error { margin: 0; color: #b13939; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.gw-form-error:empty { display: none; }
.gw-approver-fields { min-width: 0; padding: 16px; margin: 0; border: 1px solid var(--line); border-radius: 10px; }
.gw-approver-fields legend { padding: 0 6px; color: #4b5e6c; font-size: 11px; font-weight: 700; }
.gw-approver-fields > .gw-help { margin-bottom: 12px; }
.gw-approver-rows { display: grid; gap: 9px; margin-bottom: 12px; }
.gw-approver-row { display: flex; align-items: center; gap: 8px; }
.gw-approver-row select { flex: 1; }
.gw-step-number { display: grid; place-items: center; width: 23px; height: 23px; flex-shrink: 0; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 10px; font-weight: 700; }
.gw-approver-spacer { width: 30px; flex-shrink: 0; }
.gw-icon-button { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; padding: 0; background: #f1f4f7; border: 0; border-radius: 8px; color: #738290; font-size: 20px !important; }
.gw-counter { display: inline-grid; place-items: center; min-width: 23px; min-height: 23px; padding: 2px 6px; margin-left: 5px; border-radius: 7px; background: var(--blue-soft); color: var(--blue); font-size: 11px; }
.gw-inbox-panel { margin-bottom: 20px; }
.gw-admin-bottom { margin-top: 20px; }
.gw-network-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 23px 25px; border: 1px solid #d7e5ee; border-radius: 14px; background: #edf5fa; }
.gw-network-card .gw-kicker { display: block; color: #718998; }
.gw-network-card strong { display: block; margin: 8px 0; color: #264d63; font-family: ui-monospace, monospace; font-size: 22px; overflow-wrap: anywhere; }
.gw-network-card p { margin: 0; color: #6a8294; font-size: 11px; line-height: 1.7; }
.gw-setup-notice { padding: 15px 18px; margin: 0 0 20px; border: 1px solid #f1d7a8; border-radius: 10px; background: #fff8e8; color: #946d2e; font-size: 12px; line-height: 1.8; }
.gw-setup-notice strong { display: block; }
.gw-ip-list { display: grid; gap: 14px; margin-bottom: 20px; }
.gw-ip-rule { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.gw-ip-rule > div { min-width: 0; }
.gw-ip-rule strong { display: block; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.gw-ip-rule code { display: block; margin: 3px 0 8px; color: #70818f; font-size: 11px; overflow-wrap: anywhere; }
.gw-ip-rule button { flex-shrink: 0; }
.gw-ip-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; max-width: 158px; }
.gw-ip-actions .gw-ip-delete { min-height: 32px; color: #a06464; }
.gw-holiday-panel { margin-top: 20px; }
.gw-holiday-panel textarea { max-width: 560px; font-family: ui-monospace, monospace !important; }
.gw-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid #d5dfe7; border-radius: 17px; color: var(--ink); background: #fff; box-shadow: 0 22px 80px #0c203752; overflow-y: auto; overscroll-behavior: contain; }
.gw-dialog::backdrop { background: #0b213d8c; backdrop-filter: blur(3px); }
.gw-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.gw-dialog-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.5px; }
.gw-document-status { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.gw-document-status > span:last-child { color: #8a98a4; font-size: 10px; overflow-wrap: anywhere; }
.gw-document-detail h3 { margin: 15px 0; font-size: 19px; line-height: 1.6; overflow-wrap: anywhere; }
.gw-document-detail h4 { margin: 25px 0 18px; font-size: 13px; }
.gw-document-body { margin: 18px 0; padding: 18px; border-radius: 10px; background: #f6f8fa; font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.gw-leave-detail { display: grid; gap: 6px; padding: 16px; margin-bottom: 18px; border-radius: 10px; background: #f3eefb; }
.gw-leave-detail strong { font-size: 13px; color: #6b5591; }
.gw-leave-detail span { font-size: 11px; line-height: 1.6; color: #8a7b9f; }
.gw-timeline { list-style: none; margin: 0; padding: 0; }
.gw-timeline li { position: relative; display: flex; gap: 13px; padding-bottom: 22px; }
.gw-timeline li:last-child { padding-bottom: 0; }
.gw-timeline li:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 29px; bottom: 3px; width: 1px; background: #e4eaf0; }
.gw-timeline-dot { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; background: #edf1f5; color: #8a97a3; border-radius: 50%; font-size: 11px; }
.gw-timeline-dot.gw-done { color: #267e66; background: #e3f4ec; }
.gw-timeline-dot.gw-rejected { color: #b14b4b; background: #fdeaea; }
.gw-timeline li > div { padding-top: 4px; min-width: 0; }
.gw-timeline strong { display: block; font-size: 12px; }
.gw-timeline strong span { margin-left: 8px; color: #8b98a3; font-size: 10px; font-weight: 500; }
.gw-timeline small { display: block; margin-top: 6px; color: #8b98a3; font-size: 10px; }
.gw-timeline p { margin: 9px 0 0; color: #637788; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.gw-decision-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
#groupwarePage .gw-danger-button { color: #b24a4a; border-color: #eacccc; }
.gw-checkout-confirm { color: #647886; font-size: 13px; line-height: 1.8; }
.gw-loading { display: flex; align-items: center; gap: 12px; min-height: 140px; justify-content: center; color: #738898; font-size: 13px; }
.gw-loading-dot { width: 14px; height: 14px; border: 2px solid #dce6ee; border-top-color: #267c7c; border-radius: 50%; animation: gw-spin .8s linear infinite; }
.gw-load-error h2 { margin-top: 0; font-size: 17px; }
.gw-load-error p { color: #b14949; font-size: 12px; line-height: 1.8; }
@keyframes gw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gw-loading-dot { animation: none; } }
@media (max-width: 1200px) { .gw-stat { padding: 18px 14px; gap: 10px; }.gw-stat-icon { width: 36px; height: 36px; }.gw-today { grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr); }.gw-today-main { padding: 26px; }.gw-policy { padding: 25px 20px; }.gw-two-column { gap: 16px; }.gw-attendance-note { display: block; }.gw-attendance-note p { max-width: none; } }
@media (max-width: 980px) { .gw-two-column { grid-template-columns: minmax(0, 1fr); }.gw-today { grid-template-columns: minmax(0, 1fr); }.gw-policy { padding: 20px 26px; }.gw-policy-icon { display: none; }.gw-policy h3 { margin-top: 0; }.gw-policy ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }.gw-policy li { display: grid; grid-template-columns: 1fr; gap: 4px; }.gw-policy > p { margin-top: 12px; }.gw-stat-grid { gap: 10px; }.gw-stat { align-items: flex-start; }.gw-stat-icon { display: none; }.gw-section-heading { align-items: flex-start; }.gw-request-item:first-child { padding-top: 8px; } }
@media (max-width: 600px) { .gw-heading { align-items: flex-start; }.gw-heading h1 { font-size: 25px; }.gw-heading > div > p:last-child { font-size: 12px; line-height: 1.7; }.gw-heading > button { white-space: nowrap; min-height: 36px; padding: 0 12px !important; font-size: 11px !important; }.gw-tabs { margin-bottom: 20px; }.gw-tabs button { min-height: 40px; padding: 0 13px; }.gw-today-main { padding: 24px 21px; }.gw-today h2 { font-size: 21px; }.gw-today-main > p { min-height: 0; }.gw-clock-grid { grid-template-columns: 1fr 22px 1fr; gap: 14px; }.gw-clock-grid strong { font-size: 36px; }.gw-clock-grid small { font-size: 9px; }.gw-policy { padding: 20px; }.gw-policy ol { gap: 10px; }.gw-policy li { font-size: 10px; }.gw-stat-grid { gap: 8px; margin: 14px 0 20px; }.gw-stat { padding: 14px 11px; }.gw-stat b { display: none; }.gw-stat small { font-size: 9px; }.gw-stat strong { font-size: 23px; }.gw-stat small:last-child { display: none; }.gw-two-column > .panel, .gw-holiday-panel, .gw-inbox-panel { padding: 20px; }.gw-section-heading { flex-wrap: wrap; }.gw-section-heading > div { flex-basis: 100%; }.gw-section-heading h2 { font-size: 18px; }.gw-period-filter { width: 100%; }.gw-period-filter label { flex: 1; }.gw-period-filter input { width: 100%; }.gw-attendance-summary { padding: 20px; gap: 28px; flex-wrap: wrap; }.gw-attendance-note { flex-basis: 100%; }.gw-attendance-note p { margin: 0 0 10px; }.gw-leave-balance { padding: 17px 0; }.gw-leave-balance > div { padding: 0 11px; }.gw-leave-balance span { font-size: 10px; }.gw-leave-balance strong { font-size: 23px; }.gw-leave-balance small { margin-left: 3px; font-size: 10px; }.gw-field-pair { gap: 10px; }.gw-request-item { gap: 9px; }.gw-document-icon { width: 30px; height: 36px; }.gw-request-copy strong { font-size: 12px; }.gw-badge { font-size: 9px; padding: 5px 6px; }.gw-required-note { font-size: 9px; }.gw-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 22px 18px; border-radius: 14px; }.gw-dialog-heading h2 { font-size: 20px; }.gw-network-card { align-items: flex-start; padding: 20px; }.gw-network-card strong { font-size: 17px; }.gw-network-card .gw-badge { margin-top: 3px; }.gw-timezone { text-align: left; font-size: 9px; }.gw-form-actions > button { flex: 1; min-height: 44px; } }

/* Approval rich-text authoring and safe read-only document rendering. */
.gw-dialog.gw-editor-dialog { width: min(890px, calc(100vw - 36px)); padding: 28px 30px; }
.gw-approval-title-fields { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 12px; }
.gw-rich-editor { min-width: 0; }
.gw-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.gw-editor-heading > span:first-child { color: #4b5e6c; font-size: 11px; font-weight: 700; }
.gw-editor-heading > span:last-child { color: #8d9aa4; font-size: 10px; }
.gw-editor-frame { overflow: hidden; border: 1px solid #d3dfe8; border-radius: 11px; background: #fff; transition: border-color .15s; }
.gw-editor-frame:focus-within { border-color: #78a5de; box-shadow: 0 0 0 3px #2f6fed0b; }
.gw-editor-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 8px; border-bottom: 1px solid #e1e8ee; background: #f5f8fb; }
.gw-editor-toolbar .gw-editor-heading-select { display: block; flex-shrink: 0; margin-right: 3px; }
.gw-rich-editor .gw-editor-toolbar select { width: 82px; min-height: 32px; height: 32px; padding: 4px 7px; border: 1px solid #dce5ed; border-radius: 6px; font-size: 11px !important; }
.gw-toolbar-group { display: inline-flex; gap: 2px; align-items: center; padding: 0 5px; border-left: 1px solid #dfe7ee; }
.gw-editor-toolbar button { display: grid; place-items: center; min-width: 31px; height: 32px; padding: 0 6px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #536b7d; font-size: 14px !important; }
.gw-editor-toolbar button b, .gw-editor-toolbar button i, .gw-editor-toolbar button u { font-family: Georgia, serif; font-size: 17px; }
.gw-editor-toolbar button:hover:not(:disabled) { border-color: #cedde9; background: #fff; color: #2c668d; }
.gw-editor-toolbar button[aria-pressed=true] { border-color: #c5dbef; color: #226699; background: #e4eff9; }
.gw-align-symbol { display: block; width: 15px; height: 13px; background: linear-gradient(currentColor,currentColor) 0 0/15px 1px no-repeat, linear-gradient(currentColor,currentColor) 0 4px/10px 1px no-repeat, linear-gradient(currentColor,currentColor) 0 8px/15px 1px no-repeat, linear-gradient(currentColor,currentColor) 0 12px/10px 1px no-repeat; }
.gw-align-center { background-position: center 0,center 4px,center 8px,center 12px; }
.gw-align-right { background-position: right 0,right 4px,right 8px,right 12px; }
.gw-editor-link-panel { display: flex; gap: 10px; align-items: flex-end; padding: 12px; border-bottom: 1px solid #dce8f2; background: #edf5fb; }
.gw-editor-link-panel > label { flex: 1; }
.gw-editor-link-panel > div { display: flex; gap: 5px; flex-shrink: 0; padding-bottom: 3px; }
.gw-rich-editor .gw-editor-link-panel input { min-height: 34px; padding: 6px 9px; }
.gw-prose { color: #293d4c; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.gw-editor-prose { min-height: 265px; padding: 18px 21px; outline: none; white-space: pre-wrap; overflow-y: auto; max-height: 480px; caret-color: #276693; }
#groupwarePage .gw-editor-prose:focus-visible { outline: none; }
.gw-editor-prose[contenteditable=false] { background: #f7f9fb; }
.gw-prose p { margin: 0 0 .65em; }
.gw-prose h2 { margin: 1em 0 .45em; font-size: 22px; line-height: 1.5; letter-spacing: -.3px; }
.gw-prose h3 { margin: 1em 0 .4em; font-size: 17px; line-height: 1.6; letter-spacing: -.15px; }
.gw-prose > :first-child { margin-top: 0; }
.gw-prose > :last-child { margin-bottom: 0; }
.gw-prose ul, .gw-prose ol { margin: .5em 0 .9em; padding-left: 1.65em; }
.gw-prose li { margin: .3em 0; }
.gw-prose li > p { margin: 0; }
.gw-prose blockquote { margin: 1em 0; padding: 8px 14px; border-left: 3px solid #82a9c7; background: #f3f7fa; color: #627c90; }
.gw-prose hr { margin: 1.25em 0; border: 0; border-top: 1px solid #dfe7ee; }
.gw-prose a { color: #236daa; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.gw-prose img { display: block; max-width: 100%; height: auto; margin: 14px 0; border-radius: 6px; }
.gw-editor-prose img.ProseMirror-selectednode { outline: 3px solid #7eacdf; outline-offset: 2px; }
.gw-editor-prose .ProseMirror-gapcursor { display: none; pointer-events: none; position: absolute; }
.gw-editor-prose .ProseMirror-gapcursor:after { content: ''; display: block; position: absolute; top: -2px; width: 20px; border-top: 1px solid #2b627e; }
.gw-editor-prose.ProseMirror-focused .ProseMirror-gapcursor { display: block; }
.gw-editor-is-empty .gw-editor-prose > p:first-child:before { content: attr(data-placeholder); color: #98a7b3; pointer-events: none; float: left; height: 0; }
.gw-editor-is-empty .gw-editor-prose:before { content: attr(data-placeholder); position: absolute; max-width: calc(100% - 42px); color: #98a7b3; font-size: 12px; line-height: 1.8; pointer-events: none; }
.gw-editor-prose { position: relative; }
.gw-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 1px solid #eaf0f5; color: #8c9aa5; background: #fbfcfd; font-size: 10px; line-height: 1.5; }
.gw-editor-footer > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.gw-editor-notice { margin: 8px 0 0; color: #69849a; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; }
.gw-editor-notice:empty { display: none; }
.gw-editor-upload-placeholder { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 10px 0; border: 1px dashed #c4d9e8; border-radius: 8px; color: #7190a6; background: #f1f7fb; font-size: 12px; }
.gw-editor-upload-placeholder > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e0edf6; font-size: 18px; }
.gw-editor-attachments { margin-top: 17px; padding: 16px; border: 1px solid #e1e8ee; border-radius: 10px; background: #fbfcfd; transition: border-color .15s, background .15s; }
.gw-editor-attachments.gw-editor-dragover { border-color: #72a9d1; background: #eaf4fd; }
.gw-editor-files-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.gw-editor-files-heading h3 { margin: 0; color: #4b6579; font-size: 12px; }
.gw-editor-files-heading p { margin: 5px 0 0; color: #8b9ca8; font-size: 10px; line-height: 1.7; }
.gw-editor-files-heading > button { flex-shrink: 0; min-height: 34px; font-size: 11px !important; }
.gw-editor-file-list ul, .gw-document-attachments ul { list-style: none; margin: 13px 0 0; padding: 0; }
.gw-editor-file-list li, .gw-document-attachments li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e5ecf2; }
.gw-editor-file-list li:last-child, .gw-document-attachments li:last-child { border-bottom: 0; padding-bottom: 0; }
.gw-file-icon { display: grid; place-items: center; width: 34px; height: 38px; flex-shrink: 0; border-radius: 7px; background: #eaf1f7; color: #7692a8; font-size: 21px; }
.gw-file-copy { flex: 1; min-width: 0; }
.gw-file-copy strong, .gw-document-attachments li strong { display: block; overflow-wrap: anywhere; color: #536c7e; font-size: 11px; line-height: 1.7; }
.gw-file-copy small, .gw-document-attachments li small { display: block; margin-top: 2px; color: #8c9aa6; font-size: 10px; line-height: 1.6; }
.gw-file-state { display: block; margin-top: 3px; color: #6a9387; font-size: 10px; line-height: 1.65; overflow-wrap: anywhere; }
.gw-file-error .gw-file-state { color: #b64e4e; }
.gw-file-actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.gw-file-actions .gw-icon-button { width: 28px; height: 28px; }
.gw-file-download { color: #35779d; font-size: 10px; text-decoration: none; white-space: nowrap; }
.gw-file-download:hover { text-decoration: underline; }
.gw-editor-total { margin: 12px 0 0; color: #7b90a0; text-align: right; font-size: 10px; }
.gw-editor-files-empty { padding: 17px 0 3px; color: #99a6af; font-size: 11px; line-height: 1.7; }
.gw-editor-file-types { margin: 11px 0 0; color: #95a3af; font-size: 9px; line-height: 1.7; }
.gw-document-rich-body { white-space: normal; background: #fff; border: 1px solid #e5ebf0; padding: 20px; }
.gw-document-attachments { padding: 16px; border: 1px solid #e3eaf0; border-radius: 10px; background: #f7fafc; }
.gw-document-detail .gw-document-attachments h4 { margin: 0; font-size: 12px; }
.gw-document-attachments h4 > span { margin-left: 5px; color: #8b9aa7; font-size: 10px; font-weight: 400; }
.gw-document-attachments li > span:nth-child(2) { flex: 1; min-width: 0; }
.gw-document-attachments .gw-file-download { flex-shrink: 0; }
@media (max-width: 700px) {
  .gw-dialog.gw-editor-dialog { width: calc(100vw - 18px); padding: 22px 17px; }
  .gw-approval-title-fields { grid-template-columns: minmax(0, 1fr); }
  .gw-approval-title-fields > label:first-child { max-width: 170px; }
  .gw-editor-toolbar { padding: 6px; gap: 5px 1px; }
  .gw-toolbar-group { padding: 0 4px; }
  .gw-editor-toolbar button { min-width: 32px; height: 35px; }
  .gw-rich-editor .gw-editor-toolbar select { min-height: 35px; height: 35px; }
  .gw-editor-prose { min-height: 245px; max-height: 400px; padding: 15px; font-size: 14px; }
  .gw-editor-is-empty .gw-editor-prose:before { max-width: calc(100% - 30px); }
  .gw-editor-footer { align-items: flex-start; gap: 8px; padding: 8px 10px; font-size: 9px; }
  .gw-editor-footer > span:first-child { max-width: 200px; }
  .gw-editor-attachments { padding: 12px; }
  .gw-editor-files-heading { gap: 10px; }
  .gw-editor-files-heading > button { padding: 0 10px !important; }
  .gw-editor-file-list li { flex-wrap: wrap; gap: 8px; }
  .gw-file-actions { margin-left: auto; padding-left: 42px; }
  .gw-file-copy { min-width: calc(100% - 50px); }
  .gw-editor-link-panel { flex-wrap: wrap; }
  .gw-editor-link-panel > label { flex-basis: 100%; }
  .gw-editor-link-panel > div { margin-left: auto; }
  .gw-document-rich-body { padding: 14px; }
  .gw-document-attachments { padding: 12px; }
}
