/* D-net enterprise shell: compact, keyboard-friendly, and responsive. */
:root {
  --enterprise-green: #087248;
  --enterprise-green-bright: #0b945c;
  --enterprise-ink: #17352b;
  --enterprise-muted: #5f746b;
  --enterprise-line: #d9e5df;
  --enterprise-surface: #ffffff;
  --enterprise-sidebar: #f7fbf9;
}

body.app-shell { background: #f4f7f6 !important; color: var(--enterprise-ink); }
.app-shell__frame { max-width: 1920px; margin: 0 auto; padding: 12px 16px 8px; }
.app-command-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; min-height: 58px; margin-bottom: 10px; padding: 8px 14px; border: 1px solid var(--enterprise-line); border-radius: 10px; background: rgba(255,255,255,.98); box-shadow: 0 4px 16px rgba(18,52,71,.06); }
.app-command-bar__brand { display: inline-flex; align-items: center; gap: 8px; color: #123447; font-weight: 750; text-decoration: none; white-space: nowrap; }
.app-command-bar__brand img { width: 32px; height: 32px; object-fit: contain; }
.app-command-bar__search { display: flex; position: relative; flex: 1; max-width: 560px; }
.app-command-bar__suggestions { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 100%; max-width: min(520px, 90vw); padding: 4px; border: 1px solid #cbded7; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(17,55,43,.16); }
.app-command-bar__suggestion { display: block; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #e3eee9; border-radius: 5px; background: #fff; color: #17352b; text-align: left; cursor: pointer; font: inherit; }
.app-command-bar__suggestion:last-child { border-bottom: 0; }
.app-command-bar__suggestion:hover, .app-command-bar__suggestion:focus, .app-command-bar__suggestion[data-active="true"] { background: #edf7f2; color: #087b4f; outline: 2px solid #b8dccc; outline-offset: -2px; }
.app-command-bar__search input { flex: 1; min-height: 42px; min-width: 0; padding: 8px 12px; border: 1px solid #a9c3b7; border-radius: 7px 0 0 7px; font: inherit; }
.app-command-bar__search button { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 0 7px 7px 0; color: #fff; background: #087d4f; font-weight: 700; cursor: pointer; }
.app-command-bar__controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.app-command-bar__controls select { min-height: 42px; max-width: 150px; padding: 6px 8px; border: 1px solid #a9c3b7; border-radius: 7px; background: #fff; }
.app-command-bar__context { max-width: 220px; overflow: hidden; color: #527064; font-size: .85rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.app-command-bar__notification, .app-command-bar__logout { display: grid; place-items: center; min-width: 42px; min-height: 42px; border: 1px solid transparent; border-radius: 9px; color: #087d4f; text-decoration: none; }
.app-command-bar__notification:hover, .app-command-bar__notification:focus-visible, .app-command-bar__logout:hover, .app-command-bar__logout:focus-visible { border-color: var(--enterprise-line); background: #f5faf7; }
.app-command-bar__notification-icon, .app-command-bar__logout-icon { display: grid; place-items: center; width: 22px; height: 22px; }
.app-command-bar__notification-icon svg, .app-command-bar__logout-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-command-bar__notification-icon { position: relative; }
.app-command-bar__notification-icon::after { position: absolute; right: -2px; top: -1px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; background: #f0a43c; content: ''; }
.app-command-bar__profile { position: relative; }
.app-command-bar__profile summary { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px 6px 4px 4px; border: 1px solid transparent; border-radius: 9px; color: #123447; font-weight: 700; cursor: pointer; list-style: none; }
.app-command-bar__profile summary:hover, .app-command-bar__profile[open] summary { border-color: var(--enterprise-line); background: #f5faf7; }
.app-command-bar__profile summary::-webkit-details-marker { display: none; }
.app-command-bar__avatar { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--enterprise-green); font-size: .85rem; font-weight: 800; }
.app-command-bar__identity { display: grid; gap: 1px; min-width: 96px; text-align: left; }
.app-command-bar__identity strong { font-size: .82rem; }
.app-command-bar__identity span, .app-command-bar__profile-heading span { color: #527064; font-size: .72rem; font-weight: 550; }
.app-command-bar__profile-chevron { margin-left: 2px; color: var(--enterprise-muted); font-size: 1rem; }
.app-command-bar__profile-menu { position: absolute; right: 0; z-index: 5; display: grid; gap: 4px; min-width: 230px; margin-top: 6px; padding: 8px; border: 1px solid var(--enterprise-line); border-radius: 11px; background: #fff; box-shadow: 0 12px 28px rgba(18,52,71,.16); }
.app-command-bar__profile-heading { display: grid; gap: 2px; margin: -8px -8px 4px; padding: 13px 14px 11px; border-bottom: 1px solid var(--enterprise-line); background: #f5faf7; }
.app-command-bar__profile-heading strong { color: #123447; font-size: .88rem; }
.app-command-bar__profile-menu a { padding: 9px 8px; border-radius: 7px; color: #087d4f; font-size: .84rem; font-weight: 700; text-decoration: none; }
.app-command-bar__profile-menu a:hover, .app-command-bar__profile-menu a:focus-visible { background: #e6f2ec; }
.app-command-bar__profile--left { margin-right: 2px; }
.app-command-bar__profile--left .app-command-bar__profile-menu { right: auto; left: 0; }
.app-layout { border-collapse: separate; border-spacing: 0; }
.app-sidebar-cell { width: 238px !important; min-width: 238px; padding-right: 12px; }
.app-sidebar { border: 1px solid var(--enterprise-line); border-radius: 14px; background: var(--enterprise-sidebar); box-shadow: 0 4px 16px rgba(23,53,43,.06); overflow: hidden; }
@media (min-width: 801px) { .app-sidebar-cell { vertical-align: top; } .app-sidebar { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; } }
.app-sidebar__brand { min-height: 58px; padding: 10px 14px; background: var(--enterprise-surface); border-bottom: 1px solid var(--enterprise-line); }
.app-sidebar__brand img { width: 160px; height: auto; display: block; }
.app-footer__version { margin-left: 10px; color: #527064; white-space: nowrap; }
.app-sidebar__title { padding: 9px 14px; background: var(--enterprise-green); font-size: 11px; letter-spacing: .08em; }
.page-header,
.app-content-header,
.app-main > h1:first-child,
.app-main > section > h1:first-child,
.app-main > form > h1:first-child,
.app-main > .page-title { display: flex; align-items: center; width: 100%; min-height: 39px; margin: 0 0 14px; padding: 8px 17px; box-sizing: border-box; border: 0; border-radius: 8px; background: #005b3a; box-shadow: 0 2px 8px rgba(0,0,0,.10); }
.page-header h1,
.app-content-header h1,
.app-main > h1:first-child,
.app-main > section > h1:first-child,
.app-main > form > h1:first-child,
.app-main > .page-title h1 { display: flex; align-items: center; gap: 7px; margin: 0; color: #fff; font-size: 15px; line-height: 1.25; font-weight: 700; text-align: left; }
.page-header__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.page-header__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.app-main > .page-title { display: flex; }
.app-main > .page-title p { margin: 3px 0 0; color: rgba(255,255,255,.82); text-align: left; }
@media (max-width: 1024px) { .page-header h1, .app-content-header h1, .app-main > h1:first-child, .app-main > section > h1:first-child, .app-main > form > h1:first-child, .app-main > .page-title h1 { font-size: 13px; } }
@media (max-width: 600px) { .page-header, .app-content-header, .app-main > h1:first-child, .app-main > section > h1:first-child, .app-main > form > h1:first-child, .app-main > .page-title { min-height: 34px; margin-bottom: 11px; padding: 8px 11px; } .page-header h1, .app-content-header h1, .app-main > h1:first-child, .app-main > section > h1:first-child, .app-main > form > h1:first-child, .app-main > .page-title h1 { font-size: 12px; } }
.app-sidebar__body { padding: 9px; background: var(--enterprise-sidebar); }
.app-sidebar__body { display: block; }
.app-nav__group { margin: 0 0 12px; }
.app-nav__group:last-child { margin-bottom: 0; }
.app-nav__group-title { margin: 0 4px 5px; color: #6a8177; font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.app-nav__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.app-nav__item { display: flex; align-items: center; min-width: 0; margin: 0; }
.app-nav__item > .app-nav__icon { flex: 0 0 24px; margin-right: 9px; }
.app-nav__item a { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 7px 9px; border-radius: 8px; color: var(--enterprise-ink); font-size: .82rem; font-weight: 650; text-decoration: none; }
.app-nav__item > a { flex: 1 1 auto; min-width: 0; }
.app-nav__item a:hover, .app-nav__item a:focus-visible { color: var(--enterprise-green); background: #e5f3eb; outline: none; }
.app-nav__item.is-active a { color: #fff; background: var(--enterprise-green); box-shadow: 0 3px 8px rgba(8,114,72,.18); }
.app-nav__icon { display: inline-grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--enterprise-green); background: #e7f3ec; font-size: 15px; font-weight: 800; }
.app-nav__item.is-active .app-nav__icon { color: #fff; background: rgba(255,255,255,.2); }
.app-nav__empty { margin: 4px; color: var(--enterprise-muted); font-size: .8rem; }
.app-content-cell { width: auto; padding: 0 0 0 14px; }
.app-footer { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px 3px; color: var(--enterprise-muted); font-size: .72rem; }
@media (max-width: 800px) { .app-content-cell { padding-left: 0; } .app-footer { padding-inline: 10px; } }
.app-sidebar__body > div, .app-sidebar__body > table { margin-bottom: 8px; padding: 7px 9px; border: 1px solid var(--enterprise-line); border-radius: 9px; box-shadow: none; background: var(--enterprise-surface); }
.app-sidebar__body > div:empty, .app-sidebar__body > table:empty, .app-sidebar__body > .sidebar3:empty { display: none; }
.app-sidebar__body > .app-user-profile { min-height: 42px; margin-bottom: 9px; padding: 8px 9px; gap: 9px; border-radius: 9px; box-shadow: none; background: var(--enterprise-green); }
.app-user-profile__avatar { flex-basis: 30px; width: 30px; height: 30px; font-size: 12px; }
.app-user-profile__name { font-size: 9pt; }
.app-user-profile__role { font-size: 8pt; }
.app-user-profile__level { margin-top: 3px; font-size: 7pt; }
.app-main { min-height: calc(100vh - 84px); padding: 8px 4px 20px; background: transparent; }
.app-main:focus { outline: 3px solid rgba(11,148,92,.25); outline-offset: 2px; }
.home-news { max-width: 1180px; margin: 0 auto; padding: 20px; border: 1px solid var(--enterprise-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(18,52,71,.05); }
.home-news__header { display: flex; align-items: flex-start; gap: 16px; padding: 2px 4px 16px; border-bottom: 1px solid var(--enterprise-line); }
.home-news__eyebrow { margin: 0 0 5px; color: var(--enterprise-green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.home-news__header h2 { margin: 0; color: var(--enterprise-ink); font-size: 1.25rem; }
.home-news__intro { margin: 5px 0 0; color: var(--enterprise-muted); font-size: .88rem; }
.home-news__sections { display: grid; margin-top: 14px; border: 1px solid var(--enterprise-line); border-radius: 10px; overflow: hidden; }
.home-news__section { display: grid; grid-template-columns: minmax(0,1fr) auto 20px; align-items: center; gap: 16px; min-height: 52px; padding: 8px 14px; border-bottom: 1px solid var(--enterprise-line); color: var(--enterprise-ink); text-align: left; text-decoration: none; transition: background .15s ease, color .15s ease; }
.home-news__section:nth-child(even) { background: #f1f8f4; }
.home-news__section.has-unread { background: #fff1d6; }
.home-news__section:last-child { border-bottom: 0; }
.home-news__section:hover, .home-news__section:focus-visible { color: var(--enterprise-green); background: #f1f8f4; }
.home-news__section-name { font-weight: 700; }
.home-news__section-meta { display: flex; gap: 16px; color: var(--enterprise-muted); font-size: .78rem; text-align: right; }
.home-news__section-meta strong { color: var(--enterprise-green); }
.home-news__chevron { color: var(--enterprise-green); font-size: 1.35rem; line-height: 1; text-align: center; }
.home-news__message { padding: 14px 0; border-bottom: 1px solid var(--enterprise-line); }
.home-news__message a { color: inherit; text-decoration: none; }
.home-news__message h3 { margin: 0 0 5px; color: var(--enterprise-green); font-size: 1rem; }
.home-news__message p { margin: 0 0 6px; color: var(--enterprise-ink); }
.home-news__message small { color: var(--enterprise-muted); }
.home-news__empty { margin: 0; padding: 22px; color: var(--enterprise-muted); text-align: center; }
.home-news__pagination { display: flex; gap: 10px; justify-content: flex-end; padding-top: 14px; }
.home-news__pagination a { padding: 8px 12px; border: 1px solid var(--enterprise-line); border-radius: 7px; color: var(--enterprise-green); font-size: .82rem; font-weight: 700; text-decoration: none; }
.home-news__pagination a:hover, .home-news__pagination a:focus-visible { background: #e8f4ee; }
@media (max-width: 600px) { .home-news { padding: 14px; } .home-news__header { display: block; } .home-news__section { grid-template-columns: minmax(0,1fr) 20px; gap: 8px; } .home-news__section-meta { grid-column: 1; grid-row: 2; text-align: left; } .home-news__chevron { grid-column: 2; grid-row: 1 / span 2; } }
#basemenu { margin: 0; }
#basemenu-navigation, #basemenu-navigation ul { margin: 0; padding: 0; list-style: none; }
#basemenu-navigation > li { margin: 2px 0; }
#basemenu-navigation a, #basemenu-navigation summary { display: flex; align-items: center; min-height: 32px; padding: 6px 9px; border-radius: 7px; color: var(--enterprise-ink); font-size: 9pt; font-weight: 600; text-decoration: none; cursor: pointer; }
#basemenu-navigation a:hover, #basemenu-navigation a:focus-visible, #basemenu-navigation summary:hover, #basemenu-navigation summary:focus-visible { color: var(--enterprise-green); background: #e6f2ec; text-decoration: none; outline: none; }
#basemenu-navigation li.is-active > a, #basemenu-navigation li.is-active > details > summary { color: #fff; background: var(--enterprise-green-bright); }
#basemenu-navigation details summary { list-style: none; }
#basemenu-navigation details summary::-webkit-details-marker { display: none; }
#basemenu-navigation details summary::after { content: '›'; margin-left: auto; font-size: 16px; transition: transform .15s ease; }
#basemenu-navigation details[open] summary::after { transform: rotate(90deg); }
#basemenu-navigation details ul { margin: 2px 0 4px 10px; padding-left: 8px; border-left: 1px solid var(--enterprise-line); }
#basemenu-navigation details li a { min-height: 28px; padding: 4px 8px; font-size: 8.5pt; font-weight: 500; }
#basemenu-navigation details li.is-active > a { color: var(--enterprise-green); background: #d9eee3; box-shadow: inset 3px 0 0 var(--enterprise-green-bright); font-weight: 700; }
#basemenu-navigation details li.is-active > a:focus-visible { color: var(--enterprise-ink); background: #c9e6d6; }
.app-nav__selector { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid #a9c3b7; border-radius: 7px; background: #fff; color: var(--enterprise-ink); font: inherit; }
.app-nav__quickjump { display: flex; gap: 4px; align-items: center; padding: 3px 5px; }
.app-nav__quickjump input { min-width: 0; width: 100%; height: 28px; padding: 4px 6px; border: 1px solid #a9c3b7; border-radius: 4px; background: #fff; color: var(--enterprise-ink); font: inherit; }
.app-nav__quickjump button { flex: 0 0 auto; height: 28px; padding: 3px 7px; border: 1px solid var(--enterprise-green); border-radius: 4px; background: var(--enterprise-green); color: #fff; font: inherit; cursor: pointer; }
.app-nav__quickjump input:focus-visible, .app-nav__quickjump button:focus-visible { outline: 2px solid var(--enterprise-green-bright); outline-offset: 1px; }
.app-nav__context { display: block; padding: 6px 8px; color: var(--enterprise-muted); font-size: 8.5pt; font-weight: 600; }
.app-sidebar__menu-toggle, .mobile-menu-toggle { display: none; border: 1px solid var(--enterprise-line); border-radius: 7px; background: var(--enterprise-surface); color: var(--enterprise-ink); font-weight: 600; }
:focus-visible { outline: 3px solid #65a98b; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.profile-section-heading { letter-spacing: .01em; }
.security-alert { display: flex; align-items: flex-start; gap: 14px; max-width: 920px; margin: 8px auto 18px; padding: 16px 20px; border: 1px solid #e7c27a; border-left: 5px solid #c98219; border-radius: 10px; background: #fff8e8; color: var(--enterprise-ink); box-shadow: 0 5px 14px rgba(23,53,43,.06); }
.security-alert--info { border-color: #a9cfc0; border-left-color: var(--enterprise-green); background: #f0f8f4; }
.security-alert--noframe { margin-top: 0; }
.security-alert__icon { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; color: #a9630d; }
.security-alert--info .security-alert__icon { color: var(--enterprise-green); }
.security-alert__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.security-alert__content { min-width: 0; }
.security-alert__content h1 { margin: 0 0 4px; color: var(--enterprise-ink); font-size: .92rem; font-weight: 800; }
.security-alert__content p { margin: 0; color: #355148; font-size: .86rem; line-height: 1.45; }
.security-alert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.security-alert__close, .security-alert__home { display: inline-flex; min-height: 32px; box-sizing: border-box; align-items: center; padding: 7px 12px; border-radius: 4px; font: inherit; font-size: .78rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.security-alert__close { border: 1px solid var(--enterprise-green); color: #fff; background: var(--enterprise-green); }
.security-alert__close:hover, .security-alert__close:focus-visible { background: #006b52; }
.security-alert__home { border: 1px solid #a9cfc0; color: var(--enterprise-green); background: #fff; }
.security-alert__home:hover, .security-alert__home:focus-visible { border-color: var(--enterprise-green); background: #f0f8f4; }
@media (max-width: 600px) { .security-alert { margin: 8px 0 14px; padding: 14px; } }
.profile-security-row td { padding-top: 7px; padding-bottom: 7px; }
.user-profile-container .user-profile-table { border-collapse: collapse; border-spacing: 0; border: 0; background: transparent; }
.user-profile-container .user-profile-table tr:not(:has(.profile-section-heading)):not(:has(.formsectionheader)) > td { border: 0; background: transparent; }
.user-profile-container .user-profile-table .formlabel,
.user-profile-container .user-profile-table .formlabelrequired { border: 0; background: transparent; }
.user-profile-container .user-profile-table .form_noncontrol.profile-readonly { border: 0; background: transparent; }
.user-profile-container .user-profile-table .formsectionheader,
.user-profile-container .user-profile-table .profile-section-heading { height: 34px; box-sizing: border-box; padding: 7px 12px; border: 0; color: #fff; background: #006b45; font-size: 15px; font-weight: 800; text-align: left; }
.user-profile-container > .formbutton { margin-top: 12px; }
#security-notifications .formsectionheader { min-height: 34px; box-sizing: border-box; padding: 8px 12px; border: 0; color: #fff; background: #006b45; font-size: 15px; font-weight: 800; }

/* Shared administration layout: forms and companion lists use one contained surface. */
.app-main:has(> form[name="user_details"] + .formsectionheader),
.app-main:has(> form[name="price_profile_details"] + .formsectionheader),
.app-main:has(> form[name="prod_cat_details"] + .formsectionheader),
.app-main:has(> form[name="preprint_details"] + .formsectionheader),
.app-main:has(> form[name="region_details"] + .formsectionheader),
.app-main:has(> form[name="mm_details"] + .formsectionheader) { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); grid-template-rows: 82px minmax(260px, calc(100vh - 380px)); gap: 18px; align-items: start; }
.app-main:has(> form[name="user_details"] + .formsectionheader) > form,
.app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form,
.app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form,
.app-main:has(> form[name="preprint_details"] + .formsectionheader) > form,
.app-main:has(> form[name="region_details"] + .formsectionheader) > form,
.app-main:has(> form[name="mm_details"] + .formsectionheader) > form { grid-column: 2; grid-row: 1 / span 2; }
.app-main:has(> form[name="user_details"] + .formsectionheader) > form + .formsectionheader,
.app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form + .formsectionheader,
.app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form + .formsectionheader,
.app-main:has(> form[name="preprint_details"] + .formsectionheader) > form + .formsectionheader,
.app-main:has(> form[name="region_details"] + .formsectionheader) > form + .formsectionheader,
.app-main:has(> form[name="mm_details"] + .formsectionheader) > form + .formsectionheader { grid-column: 1; grid-row: 1; min-height: 82px; display: flex; align-items: center; box-sizing: border-box; margin-top: 0; padding: 14px 16px; border-radius: 14px; }
.app-main:has(> form[name="user_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="preprint_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="region_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="mm_details"] + .formsectionheader) > form + .formsectionheader + table { grid-column: 1; grid-row: 2; display: block; width: 100%; max-height: calc(100vh - 280px); overflow-y: auto; }
.app-main:has(> form[name="user_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="preprint_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="region_details"] + .formsectionheader) > form + .formsectionheader + table,
.app-main:has(> form[name="mm_details"] + .formsectionheader) > form + .formsectionheader + table { border-radius: 14px; box-shadow: 0 8px 20px rgba(18, 52, 71, .05); }
.app-main:has(> form[name="user_details"] + .formsectionheader) > form + .formsectionheader + table tbody,
.app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form + .formsectionheader + table tbody,
.app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form + .formsectionheader + table tbody,
.app-main:has(> form[name="preprint_details"] + .formsectionheader) > form + .formsectionheader + table tbody,
.app-main:has(> form[name="region_details"] + .formsectionheader) > form + .formsectionheader + table tbody,
.app-main:has(> form[name="mm_details"] + .formsectionheader) > form + .formsectionheader + table tbody { display: table; width: 100%; }
.app-main > form[name="user_details"],
.app-main > form[name="price_profile_details"],
.app-main > form[name="prod_cat_details"],
.app-main > form[name="preprint_details"],
.app-main > form[name="region_details"],
.app-main > form[name="invoice_message_detail"],
.app-main > form[name="mm_details"],
.app-main > form[name="prod_details"] { box-sizing: border-box; width: 100%; margin: 0; padding: 20px; border: 1px solid var(--enterprise-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(18, 52, 71, .05); }
.app-main > form[name="user_details"] table,
.app-main > form[name="price_profile_details"] table,
.app-main > form[name="prod_cat_details"] table,
.app-main > form[name="preprint_details"] table,
.app-main > form[name="region_details"] table,
.app-main > form[name="invoice_message_detail"] table,
.app-main > form[name="mm_details"] table,
.app-main > form[name="prod_details"] table { border-collapse: separate; border-spacing: 0 6px; }
.app-main > form[name="user_details"] .formsectionheader,
.app-main > form[name="price_profile_details"] .formsectionheader,
.app-main > form[name="prod_cat_details"] .formsectionheader,
.app-main > form[name="preprint_details"] .formsectionheader,
.app-main > form[name="region_details"] .formsectionheader,
.app-main > form[name="invoice_message_detail"] .formsectionheader,
.app-main > form[name="mm_details"] .formsectionheader,
.app-main > form[name="prod_details"] .formsectionheader { margin: 18px 0 8px; padding: 9px 12px; border-bottom: 1px solid var(--enterprise-line); border-radius: 6px; color: var(--enterprise-ink); background: #f4faf7; font-weight: 800; }
.app-main > form[name="user_details"] .formsectionheader:first-of-type,
.app-main > form[name="price_profile_details"] .formsectionheader:first-of-type,
.app-main > form[name="prod_cat_details"] .formsectionheader:first-of-type,
.app-main > form[name="preprint_details"] .formsectionheader:first-of-type,
.app-main > form[name="region_details"] .formsectionheader:first-of-type,
.app-main > form[name="invoice_message_detail"] .formsectionheader:first-of-type,
.app-main > form[name="mm_details"] .formsectionheader:first-of-type,
.app-main > form[name="prod_details"] .formsectionheader:first-of-type { margin-top: 0; }
.app-main > form[name="user_details"] + .formsectionheader,
.app-main > form[name="price_profile_details"] + .formsectionheader,
.app-main > form[name="prod_cat_details"] + .formsectionheader,
.app-main > form[name="preprint_details"] + .formsectionheader,
.app-main > form[name="region_details"] + .formsectionheader { margin-top: 18px; padding: 10px 14px; border: 1px solid var(--enterprise-line); border-radius: 10px 10px 0 0; background: #edf6f2; color: var(--enterprise-ink); font-weight: 800; }
.app-main > form[name="user_details"] + .formsectionheader + table,
.app-main > form[name="price_profile_details"] + .formsectionheader + table,
.app-main > form[name="prod_cat_details"] + .formsectionheader + table,
.app-main > form[name="preprint_details"] + .formsectionheader + table,
.app-main > form[name="region_details"] + .formsectionheader + table,
.app-main > form[name="mm_details"] + .formsectionheader + table { box-sizing: border-box; width: 100%; padding: 8px 12px; border: 1px solid var(--enterprise-line); border-top: 0; border-radius: 0 0 10px 10px; background: #fff; }
.app-main > form[name="user_details"] input:not([type="hidden"]),
.app-main > form[name="user_details"] select,
.app-main > form[name="user_details"] textarea,
.app-main > form[name="price_profile_details"] input:not([type="hidden"]),
.app-main > form[name="price_profile_details"] select,
.app-main > form[name="price_profile_details"] textarea,
.app-main > form[name="prod_cat_details"] input:not([type="hidden"]),
.app-main > form[name="prod_cat_details"] select,
.app-main > form[name="prod_cat_details"] textarea,
.app-main > form[name="preprint_details"] input:not([type="hidden"]),
.app-main > form[name="preprint_details"] select,
.app-main > form[name="preprint_details"] textarea,
.app-main > form[name="region_details"] input:not([type="hidden"]),
.app-main > form[name="region_details"] select,
.app-main > form[name="invoice_message_detail"] input:not([type="hidden"]),
.app-main > form[name="invoice_message_detail"] textarea,
.app-main > form[name="mm_details"] input:not([type="hidden"]),
.app-main > form[name="mm_details"] select,
.app-main > form[name="mm_details"] textarea,
.app-main > form[name="prod_details"] input:not([type="hidden"]),
.app-main > form[name="prod_details"] select,
.app-main > form[name="prod_details"] textarea { max-width: 100%; box-sizing: border-box; }
@media (max-width: 800px) { .app-main:has(> form[name="user_details"] + .formsectionheader), .app-main:has(> form[name="price_profile_details"] + .formsectionheader), .app-main:has(> form[name="prod_cat_details"] + .formsectionheader), .app-main:has(> form[name="preprint_details"] + .formsectionheader), .app-main:has(> form[name="region_details"] + .formsectionheader), .app-main:has(> form[name="mm_details"] + .formsectionheader) { display: flex; flex-direction: column; } .app-main:has(> form[name="user_details"] + .formsectionheader) > form, .app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form, .app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form, .app-main:has(> form[name="preprint_details"] + .formsectionheader) > form, .app-main:has(> form[name="region_details"] + .formsectionheader) > form, .app-main:has(> form[name="mm_details"] + .formsectionheader) > form { order: 2; } .app-main:has(> form[name="user_details"] + .formsectionheader) > form + .formsectionheader, .app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form + .formsectionheader, .app-main:has(> form[name="prod_cat_details"] + .formsectionheader) > form + .formsectionheader, .app-main:has(> form[name="preprint_details"] + .formsectionheader) > form + .formsectionheader, .app-main:has(> form[name="region_details"] + .formsectionheader) > form + .formsectionheader, .app-main:has(> form[name="mm_details"] + .formsectionheader) > form + .formsectionheader { order: 1; } .app-main:has(> form[name="user_details"] + .formsectionheader) > form + .formsectionheader + table, .app-main:has(> form[name="price_profile_details"] + .formsectionheader) > form + .formsectionheader + table { order: 1; } .app-main > form[name="user_details"], .app-main > form[name="price_profile_details"], .app-main > form[name="prod_cat_details"], .app-main > form[name="preprint_details"], .app-main > form[name="region_details"], .app-main > form[name="invoice_message_detail"], .app-main > form[name="mm_details"], .app-main > form[name="prod_details"] { padding: 14px; overflow-x: auto; } }
@media (max-width: 800px) { .app-main:has(> form[name="mm_details"] + .admin-user-list-column) { display: flex; flex-direction: column; } .app-main:has(> form[name="mm_details"] + .admin-user-list-column) > form { order: 2; } .app-main:has(> form[name="mm_details"] + .admin-user-list-column) > .admin-user-list-column { order: 1; } }

.admin-user-layout__form > form[name="prod_details"] {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.admin-user-layout__form > form[name="prod_details"] > table {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.admin-user-layout__form > form[name="prod_details"] table,
.admin-user-layout__form > form[name="prod_details"] .product-preprinted-documents-section,
.admin-user-layout__form > form[name="prod_details"] .product-system-documents-section,
.admin-user-layout__form > form[name="prod_details"] .product-price-profiles-section {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.admin-user-layout__form > form[name="prod_details"] table { display: table; }
.admin-user-layout__form > form[name="prod_details"] tbody { display: table-row-group; }
.admin-user-layout__form > form[name="prod_details"] tr { display: table-row; }
.admin-user-layout__form > form[name="prod_details"] td { display: table-cell; }
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table {
  min-width: 720px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 4px;
}
.admin-user-layout__form > form[name="prod_details"] .preprinted-col-enabled { width: 50px; }
.admin-user-layout__form > form[name="prod_details"] .preprinted-col-description { width: auto; }
.admin-user-layout__form > form[name="prod_details"] .preprinted-col-pos { width: 90px; }
.admin-user-layout__form > form[name="prod_details"] .preprinted-col-test { width: 115px; }
.admin-user-layout__form > form[name="prod_details"] .preprinted-col-optional { width: 105px; }
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table td {
  padding: 6px 8px;
  vertical-align: middle;
  box-sizing: border-box;
}
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table td:first-child,
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table td:nth-child(3),
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table td:nth-child(4),
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
}
.admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table td:nth-child(2) {
  min-width: 0;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}
.admin-user-layout__form > form[name="prod_details"] .product-system-documents-section .admin-collapsible-header,
.admin-user-layout__form > form[name="prod_details"] .product-price-profiles-section .admin-collapsible-header {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
.admin-user-layout__form > form[name="prod_details"] table.product-system-documents-section,
.admin-user-layout__form > form[name="prod_details"] table.product-price-profiles-section {
  width: 100%;
  max-width: none;
  table-layout: fixed;
  box-sizing: border-box;
}
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-col-name { width: auto; }
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-col-enabled { width: 40px; }
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-col-value { width: 140px; }
.admin-user-layout__form > form[name="prod_details"] .product-system-document-row,
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row {
  display: table-row;
}
.admin-user-layout__form > form[name="prod_details"] .product-system-document-row[hidden],
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row[hidden] {
  display: none !important;
}
.admin-user-layout__form > form[name="prod_details"] .product-system-document-row > td,
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row > td {
  display: table-cell;
  vertical-align: middle;
}
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row > td:first-child {
  width: auto;
  min-width: 0;
  text-align: left;
}
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row > td:nth-child(2) {
  width: 40px;
  text-align: right;
  white-space: nowrap;
}
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row > td:nth-child(2) input[type="checkbox"] {
  margin: 0;
}
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row > td:nth-child(3) {
  width: 140px;
  text-align: right;
  white-space: nowrap;
}
.admin-user-layout__form > form[name="prod_details"] .product-price-profile-row > td:nth-child(3) input[type="text"] {
  display: block;
  width: 140px;
  box-sizing: border-box;
}
@media (max-width: 800px) {
  .admin-user-layout__form > form[name="prod_details"] { overflow-x: auto; }
  .admin-user-layout__form > form[name="prod_details"] .preprinted-documents-table { min-width: 720px; }
}
@media (max-width: 900px) {
  .app-command-bar { flex-wrap: wrap; }
  .app-command-bar__search { order: 3; flex-basis: 100%; max-width: none; }
  .app-shell__frame { padding: 8px; }
  .app-layout, .app-layout tbody, .app-layout tr, .app-layout td { display: block; width: auto !important; }
  .app-sidebar-cell { min-width: 0; padding: 0 0 8px; }
  .app-sidebar__menu-toggle { display: flex; width: 100%; justify-content: space-between; padding: 8px 10px; }
  .app-sidebar__body { display: none; }
  .app-sidebar.is-open .app-sidebar__body, .app-sidebar.app-sidebar--menu-open .app-sidebar__body { display: block; }
  .app-layout__gutter { display: none !important; }
  .app-main { min-height: 0; padding: 12px 0; }
  .app-footer { display: none; }
}
@media (max-width: 560px) {
  .app-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: visible; }
  .app-sidebar__title { display: none; }
  .app-sidebar__menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; grid-column: 2; min-width: 88px; height: 40px; margin: 6px; padding: 0 10px; border: 0; border-radius: 7px; color: #fff; background: var(--enterprise-green); line-height: 1; }
  .app-sidebar__menu-toggle-label { font-size: 12px; }
  .app-sidebar__menu-toggle-icon, .app-sidebar__menu-toggle-icon::before, .app-sidebar__menu-toggle-icon::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; content: ''; }
  .app-sidebar__menu-toggle-icon { position: relative; flex: 0 0 20px; margin: 0; }
  .app-sidebar__menu-toggle-icon::before, .app-sidebar__menu-toggle-icon::after { position: absolute; left: 0; }
  .app-sidebar__menu-toggle-icon::before { top: -7px; }
  .app-sidebar__menu-toggle-icon::after { top: 7px; }
  .app-sidebar__body { grid-column: 1 / -1; border-top: 1px solid var(--enterprise-line); border-radius: 0 0 14px 14px; }
  .app-command-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
  .app-command-bar__controls { grid-column: 2; grid-row: 1; gap: 5px; margin-left: 0; }
  .app-command-bar__controls select { max-width: 112px; }
  .app-command-bar__search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .app-main { padding: 10px 0; }
  #content_area { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
.resource-action-info {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid #a9c6b8;
  border-radius: 50%;
  color: var(--enterprise-green);
  background: #f4faf7;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.resource-action-info:hover,
.resource-action-info:focus-visible {
  color: #fff;
  background: var(--enterprise-green);
  border-color: var(--enterprise-green);
  outline: 2px solid #cbe8da;
  outline-offset: 1px;
}
.filter-scroll-container {
  box-sizing: border-box;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  border: 1px solid #ccc;
  background: #fff;
}
.filter-scroll-container label {
  display: block;
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .filter-scroll-container { max-height: 240px; }
}

/* Final native-shell menu reset. Keep this after legacy-compatible shell rules so
   grouped Twig navigation cannot inherit browser link and list defaults. */
.app-sidebar__body .app-nav__group {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.app-sidebar__body .app-nav__group-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 4px 5px !important;
  padding: 0 !important;
  color: #6a8177 !important;
  font-family: inherit !important;
  font-size: .68rem !important;
  font-weight: 850 !important;
  letter-spacing: .12em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
}
.app-sidebar__body .app-nav__group-title::-webkit-details-marker { display: none !important; }
.app-sidebar__body .app-nav__group-title::marker { content: '' !important; }
.app-sidebar__body .app-nav__group-chevron { color: var(--enterprise-muted) !important; font-size: .9rem !important; transition: transform .15s ease !important; }
.app-sidebar__body .app-nav__group[open] .app-nav__group-chevron { transform: rotate(180deg) !important; }
.app-sidebar__body .app-nav__group[open] .app-nav__group-title { color: var(--enterprise-green) !important; }
.app-sidebar__body .app-nav__list {
  display: grid !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.app-sidebar__body .app-nav__item,
.app-sidebar__body .app-nav__item::marker {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  content: '' !important;
}
.app-sidebar__body .app-nav__item a {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: var(--enterprise-ink) !important;
  font-family: inherit !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}
.app-sidebar__body .app-nav__item a:hover,
.app-sidebar__body .app-nav__item a:focus-visible {
  color: var(--enterprise-green) !important;
  background: #e5f3eb !important;
  outline: none !important;
}
.app-sidebar__body .app-nav__item.is-active a {
  color: #fff !important;
  background: var(--enterprise-green) !important;
  box-shadow: 0 3px 8px rgba(8,114,72,.18) !important;
}
.app-sidebar__body .app-nav__icon {
  display: inline-grid !important;
  flex: 0 0 24px !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 6px !important;
  color: var(--enterprise-green) !important;
  background: #e7f3ec !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

/* Notification popover */
.app-command-bar__notifications {
  position: relative !important;
  display: block !important;
}
.app-command-bar__notifications > summary {
  list-style: none !important;
  cursor: pointer !important;
}
.app-command-bar__notifications > summary::-webkit-details-marker {
  display: none !important;
}
.app-command-bar__notifications > summary::marker {
  content: '' !important;
}
.app-command-bar__notifications[open] > summary {
  border-color: var(--enterprise-line) !important;
  background: #f5faf7 !important;
}
.app-command-bar__notification-count {
  position: absolute !important;
  top: 1px !important;
  right: 1px !important;
  display: grid !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  place-items: center !important;
  box-sizing: border-box !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #087248 !important;
  font-family: "Segoe UI", Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.app-command-bar__notifications-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 30 !important;
  display: grid !important;
  width: min(320px, calc(100vw - 32px)) !important;
  max-height: min(440px, calc(100vh - 90px)) !important;
  overflow: auto !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  border: 1px solid #d5e4dd !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(18,52,71,.18) !important;
  color: #24483a !important;
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
}
.app-command-bar__notifications-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 48px !important;
  padding: 0 15px !important;
  border-bottom: 1px solid #e2ece7 !important;
  color: #17352b !important;
  background: #f5faf7 !important;
  font-size: .88rem !important;
}
.app-command-bar__notifications-heading span {
  color: #087248 !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
}
.app-command-bar__notification-item {
  display: grid !important;
  gap: 4px !important;
  padding: 12px 15px !important;
  border-bottom: 1px solid #edf3f0 !important;
}
.app-command-bar__notification-item strong {
  color: #17352b !important;
  font-size: .82rem !important;
}
.app-command-bar__notification-item p,
.app-command-bar__notifications-empty {
  margin: 0 !important;
  padding: 18px 15px !important;
  color: #668077 !important;
  font-size: .82rem !important;
}
.app-command-bar__notifications-link {
  display: block !important;
  padding: 11px 15px !important;
  color: #087248 !important;
  background: #fff !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.app-command-bar__notifications-link:hover,
.app-command-bar__notifications-link:focus-visible {
  background: #e8f4ee !important;
  text-decoration: none !important;
}
@media (max-width: 560px) {
  .app-command-bar__notifications-menu { right: -58px !important; }
}
.app-sidebar__body .app-nav__item.is-active .app-nav__icon {
  color: #fff !important;
  background: rgba(255,255,255,.2) !important;
}
.app-command-bar__controls .app-command-bar__profile { margin: 0 !important; }

/* Use the command-bar/navigation typeface consistently across the application. */
body.app-shell,
body.app-shell * {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
}

/* Compact professional navigation treatment. */
.app-sidebar,
.app-sidebar__body,
.app-sidebar__body .app-nav__group,
.app-sidebar__body .app-nav__item a {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
}
.app-sidebar__body {
  padding: 10px 8px !important;
}
.app-sidebar__body .app-nav__group {
  margin: 0 !important;
  border-bottom: 1px solid #e5eee9 !important;
}
.app-sidebar__body .app-nav__group:last-child {
  border-bottom: 0 !important;
}
.app-sidebar__body .app-nav__group-title {
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  color: #48675a !important;
  font-size: .69rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
}
.app-sidebar__body .app-nav__group[open] .app-nav__group-title {
  color: var(--enterprise-green) !important;
}
.app-sidebar__body .app-nav__list {
  gap: 1px !important;
  padding: 0 0 7px !important;
}
.app-sidebar__body .app-nav__item a {
  min-height: 32px !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  color: #24483a !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.app-sidebar__body .app-nav__item a:hover,
.app-sidebar__body .app-nav__item a:focus-visible {
  background: #e8f4ee !important;
}
.app-sidebar__body .app-nav__item.is-active a {
  background: #087248 !important;
  box-shadow: 0 2px 5px rgba(8,114,72,.14) !important;
  color: #fff !important;
}
.app-sidebar__body .app-nav__icon {
  flex-basis: 22px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 5px !important;
  font-size: 13px !important;
}
.app-context-bar{display:flex;align-items:center;gap:1rem;padding:.45rem 1.25rem;border-top:1px solid #dbe6e1;border-bottom:1px solid #dbe6e1;background:#f7faf8;color:#174d3c;font-size:.8rem}.app-context-bar__label{font-weight:700;text-transform:uppercase;letter-spacing:.08em}.app-context-bar__form{display:flex;align-items:center;gap:.4rem}.app-context-bar__form label{font-weight:600}.app-context-bar__form select{min-width:12rem;padding:.3rem .5rem;border:1px solid #b8d1c5;border-radius:4px;background:#fff;color:#163b30}
.app-nav__context-form { display: flex; flex: 1 1 auto; min-width: 0; margin: 0; }
.app-nav__context-form select { width: 100%; min-width: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; padding: 0; cursor: pointer; }
.app-nav__context-form select:focus-visible { outline: 2px solid #087d4f; outline-offset: 2px; }

/* Shell refinement: full brand in the desktop command bar, compact mark only
   in the mobile/collapsed navigation, with measured single-line menu rows. */
.app-command-bar { min-height: 64px; padding: 8px 18px; gap: 20px; }
.app-command-bar__brand { flex: 0 0 190px; min-width: 190px; height: 52px; }
.app-command-bar__brand .app-command-bar__brand-full { display: block; width: 184px; height: 50px; object-fit: contain; object-position: left center; }
.app-command-bar__brand .app-command-bar__brand-mark { display: none !important; }
.app-sidebar-cell { width: 270px !important; min-width: 270px; padding-right: 14px; }
.app-sidebar__brand { display: none; }
.app-sidebar__body { padding: 10px 9px !important; }
.app-sidebar__body .app-nav__group { margin: 0 !important; }
.app-sidebar__body .app-nav__group-title { min-height: 31px !important; padding: 0 8px !important; }
.app-sidebar__body .app-nav__list { gap: 1px !important; padding-bottom: 5px !important; }
.app-sidebar__body .app-nav__item { min-width: 0; display: flex !important; align-items: center !important; flex-flow: row nowrap !important; }
.app-sidebar__body .app-nav__item a { min-height: 31px !important; padding: 4px 8px !important; white-space: nowrap; }
.app-sidebar__body .app-nav__item > a { display: flex !important; flex: 1 1 auto !important; align-items: center !important; flex-flow: row nowrap !important; min-width: 0 !important; }
.app-sidebar__body .app-nav__item a > span:last-child { overflow: visible; text-overflow: clip; white-space: nowrap; }
.dcheckin-messaging { max-width: 1240px; margin: 0 auto; color: var(--enterprise-ink); }
.dcheckin-messaging__heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.dcheckin-messaging__heading h2 { margin: 3px 0 4px; }
.dcheckin-messaging__heading p { margin: 0; color: var(--enterprise-muted); }
.dcheckin-messaging__branch-filter { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #21483a; font-size: .8rem; font-weight: 700; }
.dcheckin-messaging__branch-filter select { min-width: 250px; padding: 8px 10px; border: 1px solid #abc9ba; border-radius: 7px; color: #17352b; background: #fff; font: inherit; font-weight: 500; }
.dcheckin-messaging__notice { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #c9dfd3; border-left: 4px solid var(--enterprise-green); border-radius: 7px; background: #f4faf6; font-size: .86rem; }
.dcheckin-messaging__notice p { margin: 5px 0 0; }
.dcheckin-messaging__workspace { display: grid; grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); min-height: 600px; border: 1px solid #cbded4; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(23,58,43,.08); }
.dcheckin-messaging__conversations { border-right: 1px solid #dbe7e1; background: #f5faf7; }
.dcheckin-messaging__section-title { display: flex; justify-content: space-between; padding: 17px 18px; border-bottom: 1px solid #dbe7e1; color: var(--enterprise-green); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.dcheckin-messaging__conversation { display: flex; width: 100%; min-height: 76px; align-items: center; gap: 11px; padding: 12px 15px; border: 0; border-bottom: 1px solid #e1ebe6; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.dcheckin-messaging__conversation:hover, .dcheckin-messaging__conversation:focus-visible, .dcheckin-messaging__conversation.is-active { outline: none; background: #e4f3ea; }
.dcheckin-messaging__conversation-avatar, .dcheckin-messaging__thread-avatar { display: inline-grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: #07844a; font-size: .9rem; font-weight: 800; }
.dcheckin-messaging__conversation-copy, .dcheckin-messaging__thread-copy { display: grid; min-width: 0; flex: 1 1 auto; gap: 3px; }
.dcheckin-messaging__conversation strong, .dcheckin-messaging__thread-heading strong { overflow: hidden; color: #153c2d; text-overflow: ellipsis; white-space: nowrap; }
.dcheckin-messaging__conversation-copy span, .dcheckin-messaging__conversation-copy small, .dcheckin-messaging__thread-heading span { color: var(--enterprise-muted); font-size: .76rem; }
.dcheckin-messaging__unread { display: inline-grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border-radius: 10px; color: #fff !important; background: #07844a; font-size: .68rem !important; font-weight: 800; }
.dcheckin-messaging__thread { display: flex; min-width: 0; flex-direction: column; }
.dcheckin-messaging__thread-heading { display: flex; align-items: center; gap: 11px; min-height: 76px; padding: 11px 18px; border-bottom: 1px solid #dbe7e1; background: #fff; }
.dcheckin-messaging__thread-copy small, .dcheckin-messaging__read-by { color: #648076; font-size: .7rem; }
.dcheckin-messaging__thread-avatar { flex-basis: 40px; width: 40px; height: 40px; color: #07844a; background: #e3f4eb; font-size: 1.35rem; }
.dcheckin-messaging__messages { flex: 1 1 auto; min-height: 330px; max-height: 480px; overflow-y: auto; padding: 24px 26px; background: #edf5f0; background-image: radial-gradient(#d7e9df 1px, transparent 1px); background-size: 18px 18px; }
.dcheckin-messaging__message { max-width: min(74%, 580px); margin: 0 auto 12px 0; padding: 10px 13px 9px; border: 1px solid #d2e2d9; border-radius: 4px 12px 12px 12px; background: #fff; box-shadow: 0 1px 1px rgba(23,58,43,.07); }
.dcheckin-messaging__message.is-own { margin-right: 0; margin-left: auto; border-color: #c5e6d0; border-radius: 12px 4px 12px 12px; background: #dcf8e7; }
.dcheckin-messaging__message-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 5px; font-size: .78rem; }
.dcheckin-messaging__message-heading time { color: var(--enterprise-muted); font-size: .7rem; }
.dcheckin-messaging__message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.dcheckin-messaging__composer { display: grid; gap: 7px; padding: 13px 18px; border-top: 1px solid #dbe7e1; background: #f8fcfa; }
.dcheckin-messaging__composer textarea { width: 100%; box-sizing: border-box; min-height: 52px; padding: 11px 13px; border: 1px solid #abc9ba; border-radius: 9px; font: inherit; resize: vertical; }
.dcheckin-messaging__composer-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dcheckin-messaging__composer-actions [role="status"] { color: var(--enterprise-muted); font-size: .8rem; }
.dcheckin-messaging__empty { padding: 20px 16px; color: var(--enterprise-muted); }
.dcheckin-messaging__footnote { color: var(--enterprise-muted); font-size: .78rem; }
@media (max-width: 760px) { .dcheckin-messaging__heading { align-items: start; flex-direction: column; gap: 12px; } .dcheckin-messaging__workspace { grid-template-columns: 1fr; min-height: 0; } .dcheckin-messaging__conversations { border-right: 0; border-bottom: 1px solid #dbe7e1; max-height: 260px; overflow-y: auto; } .dcheckin-messaging__messages { max-height: 360px; min-height: 260px; padding: 16px; } .dcheckin-messaging__message { max-width: 88%; } }
.app-sidebar__body .app-nav__icon { flex: 0 0 22px !important; width: 22px !important; height: 22px !important; margin-right: 2px !important; }
.app-nav__selector { min-width: 0; max-width: 100%; }

@media (max-width: 900px) {
  .app-command-bar__brand { flex-basis: 190px; min-width: 190px; }
  .app-command-bar__brand .app-command-bar__brand-full { display: block; width: 184px; height: 46px; }
  .app-command-bar__brand .app-command-bar__brand-mark { display: none !important; }
  .app-sidebar-cell { width: auto !important; min-width: 0; }
}
@media (max-width: 560px) {
  .app-command-bar__brand { display: inline-flex; flex-basis: 42px; min-width: 42px; height: 38px; }
  .app-command-bar__brand .app-command-bar__brand-full { display: none; }
  .app-command-bar__brand .app-command-bar__brand-mark { display: block !important; width: 34px; height: 34px; object-fit: contain; }
}
.dnet-content-header { margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid var(--enterprise-line, #d5e3dc); }
.dnet-content-header__eyebrow { margin: 0 0 5px; color: var(--enterprise-green, #087b4c); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dnet-content-header h1 { margin: 0; color: var(--enterprise-ink, #123d2f); font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.15; }
