/* TicketingPG · PetroGabon. Shared palette: mobile/core/theme/app_theme.dart. */
:root {
  color-scheme: light;
  --color-bg: #f6f8fa; --color-surface: #fff; --color-text: #18241e;
  --color-muted: #66746d; --color-border: #e4e9e6;
  --color-primary: #007b32; --color-primary-contrast: #fff;
  --color-green-dark: #005323; --color-accent: #ffe000; --color-focus: #a66a00;
  --color-sla-ok: #168536; --color-sla-warning: #946300; --color-sla-breached: #cc332b;
  --radius: 12px; --space: 1rem;
  --shadow: 0 2px 5px #193d2410, 0 1px 2px #193d2408;
  --font: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; }
body { margin: 0; font-family: var(--font); background: var(--color-bg); color: var(--color-text); line-height: 1.5; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(1.6rem, 2vw, 2rem); letter-spacing: -.045em; line-height: 1.25; }
h2 { font-size: 1.05rem; letter-spacing: -.025em; }
a { color: var(--color-primary); text-decoration: none; }
button,input,select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button,a,input,select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
button:focus-visible,a:focus-visible { position: relative; z-index: 2; }
[hidden] { display: none !important; }
.icon { display: inline-block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: -999px; top: 10px; }
.skip-link:focus { left: 12px; background: #fff; padding: 12px 20px; z-index: 100; box-shadow: var(--shadow); }
.muted { color: var(--color-muted); }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--color-primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--color-primary); border-radius: 8px; background: var(--color-primary); color: #fff; font-weight: 600; text-align: center; }
.btn:hover { background: var(--color-green-dark); }
.btn-ghost { background: #fff; color: var(--color-primary); }
.btn-ghost:hover { background: #edf6ef; }
.text-button { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 3px 0; background: none; color: var(--color-primary); font-size: .8rem; font-weight: 650; }
.text-button .icon { width: 15px; height: 15px; }
.icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 7px; background: transparent; color: inherit; }
.icon-button:hover { background: #ffffff20; }
.topbar { position: sticky; top: 0; z-index: 30; height: 68px; padding: 0 24px 0 16px; display: flex; align-items: center; gap: 20px; color: #fff; background: linear-gradient(110deg,#007a2f,#005e29); box-shadow: 0 1px 6px #002d2525; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; color: inherit; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; background: linear-gradient(145deg,#11bc35,#008730); width: 29px; height: 29px; transform: rotate(45deg); border: 1px solid #ffffff24; }
.brand-mark span { display: block; transform: rotate(-45deg); color: #fff; font-size: 19px; letter-spacing: -2px; padding-right: 2px; font-weight: 500; }
.brand-word { font-weight: 750; font-size: 1.35rem; letter-spacing: -.05em; }
.platform-title { font-size: 1rem; font-weight: 600; border-left: 1px solid #ffffff36; padding-left: 20px; white-space: nowrap; }
.global-search { margin: 0 auto; display: flex; align-items: center; gap: 9px; width: min(100%,440px); background: #fff; color: #65736a; padding: 9px 12px; border-radius: 8px; }
.global-search .icon { width: 18px; height: 18px; }
.global-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--color-text); font-size: .8rem; outline-offset: 5px; }
.topbar-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; background: #f3f7f3; border: 2px solid #ffffff80; color: #193521; border-radius: 50%; font-weight: 700; text-transform: uppercase; }
.menu-toggle { display: none; }
.app-shell { display: flex; min-height: calc(100dvh - 68px); }
.sidebar { position: sticky; top: 68px; height: calc(100dvh - 68px); flex: 0 0 254px; display: flex; flex-direction: column; padding: 22px 10px 16px; background: linear-gradient(145deg,#00682d,#003b25); color: #fff; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 13px; padding: 11px 14px; border: 0; border-radius: 8px; text-align: left; font-weight: 550; font-size: .9rem; background: none; color: #fff; }
.nav-item .icon { width: 21px; height: 21px; }
.nav-item:hover { background: #ffffff14; }
.nav-item.is-active { color: #074c20; background: linear-gradient(100deg,#ddffcb,#bff3c0); font-weight: 750; }
.sidebar-bottom { margin-top: auto; padding: 22px 8px 0; }
.workspace-label { display: flex; gap: 12px; align-items: center; color: #fff; }
.workspace-label strong,.workspace-label small { display: block; }
.workspace-label small { opacity: .8; font-size: .75rem; }
.workspace-icon { display: grid; place-items: center; width: 36px; height: 38px; border-radius: 7px; background: linear-gradient(130deg,#4ac64f,#15983f); box-shadow: inset 0 0 0 1px #ffffff24; }
.preview-link { margin-top: 23px; padding-top: 16px; border-top: 1px solid #ffffff24; display: flex; align-items: center; justify-content: space-between; color: #e0efe4; font-size: .75rem; }
.preview-link .icon { width: 14px; height: 14px; }
.sidebar-logout { display: flex; align-items: center; gap: 8px; border: 0; padding: 12px 0 0; color: #e0efe4; background: none; font-size: .75rem; }
.sidebar-logout .icon { width: 16px; height: 16px; }
.main-content { flex: 1; padding: 30px; min-width: 0; }
.page-heading { margin-bottom: 26px; }
.page-heading h1 { margin: 7px 0; }
.page-heading > p:last-child { color: var(--color-muted); font-size: .95rem; }
.wave { font-size: .9em; letter-spacing: normal; }
.panel { border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px 13px; }
.requester-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; align-items: start; }
.dashboard { min-width: 0; }
.quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 24px; }
.action-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; min-height: 169px; padding: 19px 15px; background: #fff; color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s,border-color .15s; }
.action-card:hover { border-color: #6daa7e; transform: translateY(-2px); }
.action-card strong { line-height: 1.3; font-size: .92rem; max-width: 170px; }
.action-card small { font-size: .75rem; color: var(--color-muted); }
.action-icon { display: grid; align-items: center; color: #007a32; height: 38px; margin-bottom: 6px; }
.action-icon .icon { width: 31px; height: 31px; stroke-width: 1.8; }
.action-icon.positive { width: 35px; height: 35px; border-radius: 50%; color: white; background: var(--color-primary); }
.action-icon.positive .icon { width: 27px; height: 27px; margin: auto; }
.action-icon.warning { color: #c78b00; }
.action-arrow { position: absolute; right: 12px; top: 23px; color: #9ca99f; }
.action-arrow .icon { width: 15px; height: 15px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(230px,1fr); gap: 16px; margin-bottom: 20px; }
.recent-row { display: flex; gap: 9px; align-items: center; width: 100%; border: 0; border-top: 1px solid #eff2ef; background: #fff; padding: 14px 17px; color: inherit; text-align: left; }
.recent-row:hover { background: #f7fbf8; }
.ticket-outline { color: #708178; }
.ticket-outline .icon { width: 18px; height: 18px; }
.recent-description { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.recent-description strong { font-size: .73rem; color: #344b3c; }
.recent-description > span { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-block; flex-shrink: 0; border-radius: 5px; padding: 3px 7px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.status-progress,.status-waiting { background: #fff0b6; color: #6f5000; }
.status-resolved { background: #d9f3d7; color: #216129; }
.personal-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 13px 16px; }
.personal-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 15px 10px; border-radius: 9px; background: #f4f7f5; }
.personal-metric .icon { color: var(--color-primary); width: 23px; height: 23px; }
.personal-metric strong { font-size: 1.65rem; line-height: 1; }
.personal-metric span { font-size: .66rem; white-space: nowrap; }
.metric-waiting { background: #fff9e9; }
.metric-waiting .icon { color: #b78300; }
.metric-resolved { background: #edf8ec; }
.empty-state { min-height: 154px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--color-muted); }
.empty-state .icon { color: #5b9a6c; width: 28px; height: 28px; }
.empty-state strong { color: #425d4b; font-size: .88rem; }
.empty-state p { font-size: .8rem; max-width: 350px; }
.news-item { display: flex; align-items: center; gap: 12px; padding: 4px 18px 20px; }
.news-icon { display: grid; place-items: center; color: #a27600; background: #fff8d2; border-radius: 9px; width: 42px; height: 42px; flex-shrink: 0; }
.news-item > div { flex: 1; }
.news-item strong { font-size: .86rem; }
.news-item p { font-size: .8rem; color: var(--color-muted); margin-top: 4px; }
.news-item .icon-button:hover { background: #f1f6f1; }
.support-strip { margin-top: 24px; padding: 0 4px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--color-muted); font-size: .75rem; }
.support-strip > span { display: flex; align-items: center; gap: 9px; }
.support-strip .icon { width: 18px; height: 18px; color: var(--color-primary); }
.assistant-panel { display: flex; flex-direction: column; min-height: 585px; height: min(700px,calc(100dvh - 128px)); }
.assistant-heading { display: flex; gap: 7px; align-items: center; padding: 11px 10px 11px 15px; border-bottom: 1px solid var(--color-border); }
.assistant-heading h2 { flex: 1; font-size: .86rem; letter-spacing: -.03em; }
.assistant-heading .icon-button { width: 26px; height: 28px; }
.assistant-heading .icon-button .icon { width: 17px; height: 17px; }
.sparkle { color: #c29400; }
.assistant-content { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 13px; }
.assistant-mode { display: block; margin-bottom: 15px; color: #7b6b37; font-size: .68rem; text-align: center; }
.assistant-greeting { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 17px; }
.assistant-avatar { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--color-primary); color: white; display: grid; place-items: center; font-size: 12px; margin-top: 5px; }
.assistant-greeting p { background: #eef2f5; padding: 10px; border-radius: 0 8px 8px; flex: 1; font-size: .78rem; }
.assistant-actions { display: flex; flex-direction: column; gap: 8px; }
.assistant-actions :is(button,a) { display: flex; align-items: center; gap: 9px; padding: 10px 11px; background: white; border: 1px solid var(--color-border); border-radius: 7px; box-shadow: var(--shadow); font-size: .77rem; text-align: left; }
.assistant-actions :is(button,a):hover { background: #f3f9f3; border-color: #93be9d; }
.assistant-actions .icon { width: 19px; height: 19px; color: var(--color-primary); }
.assistant-actions button:first-child .icon { color: #b58500; }
.assistant-compose { display: flex; align-items: center; gap: 5px; margin: 12px; padding: 4px 4px 4px 12px; border: 1px solid #d9e0dc; box-shadow: var(--shadow); border-radius: 24px; }
.assistant-compose input { min-width: 0; width: 100%; font-size: .76rem; border: 0; padding: 6px 0; background: none; }
.send-button { background: var(--color-primary); color: #fff; border: 0; border-radius: 50%; width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; }
.send-button .icon { width: 20px; height: 20px; }
.assistant-messages p { font-size: .77rem; padding: 10px; border-radius: 8px; background: #f0f4f1; margin-top: 12px; overflow-wrap: anywhere; }
.assistant-messages p.user-message { margin-left: 25px; background: #e2f3e5; }
.assistant-reopen { justify-self: start; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; background: #fffae6; border: 1px solid #f0e3a8; border-radius: 9px; padding: 10px 14px; margin-bottom: 24px; font-size: .78rem; color: #6c5822; }
.preview-toolbar nav { display: flex; flex-wrap: wrap; gap: 6px; }
.preview-toolbar a { padding: 5px 10px; border-radius: 5px; }
.preview-toolbar a[aria-current] { background: #006d2c; color: white; }
.heading-count { color: #687c6f; font-weight: 500; }
.ticket-tabs { display: flex; flex-wrap: wrap; padding: 5px 16px 0; gap: 12px; border-bottom: 1px solid var(--color-border); }
.ticket-tab { display: flex; align-items: center; gap: 9px; padding: 16px 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #627068; font-size: .86rem; font-weight: 650; }
.ticket-tab span { padding: 1px 7px; border-radius: 12px; background: #edf0ed; font-size: .72rem; }
.ticket-tab.is-active { color: #005d25; border-bottom-color: var(--color-primary); background: linear-gradient(0deg,#fff9d5,transparent); }
.ticket-tab.is-active span { background: var(--color-primary); color: #fff; }
.ticket-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 18px 20px 8px; }
select { color: #354b3c; background: #fff; border: 1px solid #dce3de; border-radius: 7px; padding: 9px 27px 9px 10px; font-size: .8rem; }
.ticket-sort { margin-left: auto; color: var(--color-muted); font-size: .8rem; }
.filter-result { padding: 5px 20px 13px; font-size: .75rem; }
.table-scroll { overflow-x: auto; }
.ticket-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: .83rem; }
.ticket-table th { font-size: .73rem; background: #f6f8f6; color: #58675e; padding: 13px 18px; border-block: 1px solid #e7ece8; }
.ticket-table td { padding: 17px 18px; border-bottom: 1px solid #eff2ef; }
.ticket-table td:nth-child(2) { white-space: normal; min-width: 200px; }
.ticket-table tbody tr:hover { background: #fafcf9; }
.ticket-link { border: 0; background: none; color: #006d2c; padding: 0; font-weight: 650; font-size: .79rem; }
.ticket-link:hover { text-decoration: underline; }
.priority-1 { background: #ffded4; color: #95341d; }
.priority-2 { background: #ffe9c7; color: #825000; }
.priority-3 { background: #fff3b6; color: #725d00; }
.priority-4 { background: #d8f1d5; color: #28652a; }
.sla-breached { color: var(--color-sla-breached); font-weight: 700; }
.sla-warning { color: var(--color-sla-warning); font-weight: 700; }
.sla-ok { color: var(--color-sla-ok); font-weight: 700; }
.table-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 20px; color: var(--color-muted); font-size: .74rem; }
.team-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 24px; }
.team-metric { display: flex; align-items: center; gap: 14px; padding: 23px 20px; }
.team-metric > div { display: flex; flex-direction: column; gap: 4px; }
.team-metric strong { font-size: 1.85rem; letter-spacing: -.04em; line-height: 1; }
.team-metric > div > span { color: var(--color-muted); font-size: .8rem; }
.metric-symbol { width: 42px; height: 42px; border-radius: 12px; color: var(--color-primary); background: #e9f5ec; display: grid; place-items: center; flex-shrink: 0; }
.metric-symbol.danger { color: #d3392d; background: #fff0eb; }
.metric-symbol.positive { background: #e8f7e5; color: #24852c; }
.metric-symbol.warning { background: #fff7d9; color: #a47500; }
.supervisor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chart-panel { padding: 4px 6px; }
.chart-panel .panel-heading > span { font-size: .75rem; }
.donut-layout { display: flex; justify-content: center; align-items: center; gap: 30px; padding: 25px 12px; }
.donut { display: grid; place-items: center; width: 190px; height: 190px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(#16a53a 0 64.286%,#ffdc00 64.286% 76.19%,#ed7860 76.19% 88.095%,#99d881 88.095% 100%); transform: rotate(-90deg); }
.donut > div { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 137px; height: 137px; background: #fff; border-radius: 50%; transform: rotate(90deg); }
.donut strong { font-size: 2.4rem; line-height: 1.1; }
.donut span { font-size: .8rem; color: var(--color-muted); }
.chart-legend { padding: 0; margin: 0; list-style: none; min-width: 130px; }
.chart-legend li { display: flex; align-items: center; gap: 8px; font-size: .85rem; margin: 14px 0; }
.chart-legend strong { margin-left: auto; padding-left: 10px; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-progress { background: #16a53a; }.dot-waiting { background: #ffdc00; }.dot-escalated { background: #ed7860; }.dot-todo { background: #99d881; }
.chart-note { padding: 14px 17px; font-size: .75rem; color: var(--color-muted); border-top: 1px solid #edf0ed; }
.chart-note .icon { width: 16px; height: 16px; color: var(--color-primary); margin-right: 6px; }
.agent-bars { display: flex; flex-direction: column; justify-content: center; gap: 23px; min-height: 240px; padding: 25px 20px; }
.agent-bar { display: grid; grid-template-columns: 90px minmax(40px,1fr) 22px; align-items: center; gap: 14px; font-size: .85rem; }
.agent-bar meter { width: 100%; height: 23px; border: 0; background: #edf6ed; border-radius: 3px; }
.agent-bar meter::-webkit-meter-bar { border: 0; background: #edf6ed; border-radius: 3px; }
.agent-bar meter::-webkit-meter-optimum-value { background: linear-gradient(90deg,#0c9236,#30b43b); border-radius: 3px; }
.agent-bar meter::-moz-meter-bar { background: #19a137; border-radius: 3px; }
.supervisor-note { display: flex; align-items: center; gap: 12px; padding: 17px 20px; margin-top: 22px; color: var(--color-muted); font-size: .82rem; }
.supervisor-note .icon { color: var(--color-primary); }
.profile-panel { max-width: 820px; padding: 25px; margin-bottom: 24px; }
.profile-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.profile-heading > div { flex: 1; }
.profile-heading h2 { font-size: 1.3rem; }
.profile-heading p { font-size: .85rem; overflow-wrap: anywhere; }
.profile-avatar { display: grid; place-items: center; width: 55px; height: 55px; background: #e9f5eb; color: #007330; border-radius: 50%; }
.definition-list { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 20px; margin: 25px 0 0; font-size: .9rem; }
.definition-list dt { color: var(--color-muted); }.definition-list dd { margin: 0; overflow-wrap: anywhere; }
.alert { margin-bottom: 16px; padding: 12px 16px; background: #eaf5ec; border: 1px solid #cae2cd; border-radius: 8px; }
.info-dialog { width: min(490px,calc(100% - 32px)); border: 1px solid #d7e3d8; border-radius: 15px; box-shadow: 0 20px 100px #00231344; color: var(--color-text); padding: 24px; }
.info-dialog::backdrop { background: #082e1c70; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 15px; }
.dialog-heading h2 { font-size: 1.3rem; }.dialog-heading .icon-button:hover { background: #edf4ed; }
.info-dialog p { margin-bottom: 24px; line-height: 1.7; color: #58685d; white-space: pre-line; }
.mobile-nav { display: none; }
.auth-body { background: radial-gradient(ellipse at 10% 5%,#e8f4eb,transparent 55%),#f6f8f6; }
.auth-main { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 24px; }
.login-card { width: min(1050px,100%); display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1px solid #dce6dd; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 65px #183d2612; }
.login-content { padding: 52px 48px 40px; position: relative; z-index: 2; }
.login-brand { color: #005e27; gap: 21px; padding-left: 9px; }
.login-brand .brand-mark { width: 46px; height: 46px; }.login-brand .brand-mark span { font-size: 31px; }
.login-brand .brand-word { font-size: 2.6rem; font-style: italic; position: relative; }
.login-brand .brand-word::after { content: ""; position: absolute; height: 4px; border-radius: 100%; background: #ffdc00; left: 0; right: 0; bottom: -3px; transform: rotate(-2deg); }
.login-platform { margin-top: 38px; font-size: 1.35rem; font-weight: 750; letter-spacing: -.04em; }
.login-intro { margin-top: 39px; }
.login-intro h1 { font-size: 2.1rem; margin: 9px 0 10px; }
.login-intro > p { max-width: 330px; color: #58665d; line-height: 1.6; }
.microsoft-button { display: flex; justify-content: flex-start; gap: 17px; padding: 16px 22px; margin-top: 28px; box-shadow: 0 3px 8px #005a2620; text-align: left; font-size: .94rem; }
.microsoft-mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 25px; height: 25px; flex-shrink: 0; }
.microsoft-mark i:nth-child(1) { background: #f35325; }.microsoft-mark i:nth-child(2) { background: #81bc06; }.microsoft-mark i:nth-child(3) { background: #05a6f0; }.microsoft-mark i:nth-child(4) { background: #ffba08; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 25px 0 20px; font-size: .72rem; color: #879287; }
.login-divider::before,.login-divider::after { content: ""; flex: 1; height: 1px; background: #e3e9e3; }
.login-assurance { display: flex; align-items: center; gap: 12px; color: #54735c; }
.login-assurance .icon { color: var(--color-primary); }.login-assurance p { font-size: .78rem; line-height: 1.7; }.login-assurance strong { color: #335d3d; font-weight: 600; }
.login-visual { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 90% 15%,#02964d,transparent 70%),linear-gradient(145deg,#005b2c,#003a20); color: #fff; min-height: 570px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.login-visual::before { content: ""; position: absolute; width: 210px; height: 700px; border-radius: 50%; background: white; left: -185px; top: -80px; transform: rotate(-5deg); z-index: 3; }
.visual-brand { position: absolute; top: 40px; right: 35px; font-weight: 700; font-size: 1.5rem; font-style: italic; opacity: .75; }
.visual-copy { position: relative; z-index: 2; padding-bottom: 35px; }
.visual-copy > span { color: #c4e2cc; font-size: .65rem; letter-spacing: .17em; }
.visual-copy strong { display: block; font-size: 2.6rem; line-height: 1.14; letter-spacing: -.05em; margin: 13px 0; }
.visual-copy p { font-size: .85rem; color: #d4e9d9; max-width: 270px; }
.visual-swoosh { position: absolute; bottom: -75px; left: -25px; width: 650px; height: 130px; border-radius: 50%; background: #ffe000; transform: rotate(-8deg); box-shadow: 0 -13px 0 #069844; }
.station-scene { position: absolute; left: 35px; right: -30px; top: 120px; height: 210px; opacity: .85; transform: perspective(600px) rotateY(-12deg); }
.station-canopy { height: 50px; background: #f7f9eb; border-top: 13px solid #00a13e; border-bottom: 5px solid #ffda00; box-shadow: 0 18px 28px #00231640; transform: skewY(-6deg); }
.station-canopy span { display: block; color: #006b2d; text-align: right; font-weight: 800; font-size: 1.4rem; padding-right: 30px; font-style: italic; }
.station-pillars { position: absolute; left: 15%; right: 12%; top: 49px; height: 140px; border-inline: 8px solid #d5e2c8; }
.station-pumps { display: flex; gap: 30px; justify-content: center; position: absolute; bottom: 15px; left: 0; right: 0; }
.station-pumps span { width: 31px; height: 66px; background: linear-gradient(#f7f9ed 45%,#008d3b 45%); border-radius: 5px 5px 0 0; border: 3px solid #f7f9ed; position: relative; box-shadow: 8px 4px 0 #003e2630; }
.station-pumps span::before { content: ""; display: block; margin: 6px 3px; height: 13px; background: #133b2b; border-radius: 2px; }
.station-pumps span::after { content: ""; position: absolute; right: -9px; top: 20px; height: 31px; width: 8px; border: 2px solid #073c28; border-left: 0; border-radius: 0 7px 7px 0; }
.station-ground { position: absolute; bottom: 8px; width: 100%; height: 3px; background: #d5e2c866; }
.login-footer { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 15px; padding: 23px 30px; border-top: 1px solid #e7eee6; background: #fbfcfa; }
.login-footer > span { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: #2d4c36; }.login-footer .icon { color: #006d2d; width: 22px; height: 22px; }.login-footer small { display: block; font-size: .67rem; color: #788478; }
.login-copyright { font-size: .75rem; color: #7f8a81; margin-top: 24px; }
@media (min-width: 1700px) { .main-content { padding: 40px; }.requester-layout { grid-template-columns: minmax(0,1fr) 340px; }.action-card { min-height: 180px; padding: 22px; } }
@media (max-width: 1350px) { .platform-title { display: none; }.requester-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 16px; }.sidebar { flex-basis: 195px; }.main-content { padding: 24px; }.dashboard-grid { grid-template-columns: 1fr; }.quick-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }.action-card { min-height: 150px; }.personal-metrics { gap: 12px; }.personal-metric { flex-direction: row; align-items: center; gap: 10px; }.personal-metric strong { font-size: 1.4rem; }.personal-metric span { white-space: normal; }.donut-layout { flex-direction: column; gap: 5px; padding: 20px; }.chart-legend { width: 100%; }.chart-legend li { margin: 8px 0; }.agent-bars { min-height: 360px; }.team-metric { padding: 20px 14px; gap: 10px; }.team-metric strong { font-size: 1.6rem; } }
@media (max-width: 1050px) { .requester-layout { grid-template-columns: minmax(0,1fr); }.assistant-panel { height: 540px; min-height: 0; }.team-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.topbar { gap: 15px; }.dashboard-grid { grid-template-columns: minmax(0,1.2fr) minmax(220px,1fr); }.personal-metric { flex-direction: column; align-items: flex-start; }.ticket-tabs { gap: 0; }.ticket-tab { padding: 14px 10px; }.login-content { padding: 40px 30px; }.login-brand .brand-word { font-size: 2.1rem; }.visual-copy strong { font-size: 2.2rem; } }
@media (max-width: 800px) { .topbar { height: 60px; padding: 0 14px; gap: 13px; }.menu-toggle { display: inline-grid; }.topbar .brand-word { font-size: 1.2rem; }.topbar .brand-mark { width: 25px; height: 25px; }.topbar-nav { gap: 5px; }.global-search { display: none; }.sidebar { position: fixed; top: 60px; bottom: 0; left: 0; width: 235px; height: calc(100dvh - 60px); z-index: 40; transform: translateX(-100%); transition: transform .2s; }.sidebar.is-open { transform: translateX(0); }.sidebar-backdrop { position: fixed; inset: 60px 0 0; z-index: 35; background: #092c2055; border: 0; }.main-content { padding: 25px 20px 100px; }.app-shell { min-height: calc(100dvh - 60px); }.mobile-nav { display: flex; align-items: flex-end; justify-content: space-around; gap: 5px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 32; padding: 9px 10px max(9px,env(safe-area-inset-bottom)); background: #fffffffa; border-top: 1px solid #e3eae4; box-shadow: 0 -3px 18px #153e2410; }.mobile-nav > a,.mobile-nav > button { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 5px; font-size: .66rem; color: #344c3b; padding: 2px 0; border: 0; background: none; }.mobile-nav .icon { width: 21px; height: 21px; }.mobile-nav .mobile-new > span { display: grid; place-items: center; width: 43px; height: 43px; margin-top: -23px; border: 4px solid #fff; border-radius: 50%; background: #007a32; color: #fff; box-shadow: 0 1px 6px #295e2830; }.mobile-nav > a:first-child { color: #00732f; font-weight: 700; }.login-card { max-width: 620px; }.login-visual { display: none; }.login-content { grid-column: 1/-1; padding: 40px; }.login-platform { margin-top: 34px; }.login-footer { padding: 20px; gap: 20px; }.login-footer > span { font-size: .7rem; }.login-footer small { max-width: 130px; } }
@media (max-width: 550px) { html { font-size: 14px; }.topbar .help-button { display: none; }.main-content { padding: 22px 15px 100px; }.page-heading { margin-bottom: 20px; }.page-heading h1 { font-size: 1.7rem; }.page-heading .eyebrow { font-size: .65rem; }.quick-actions { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }.action-card { min-height: 72px; padding: 16px 37px 16px 60px; justify-content: center; gap: 3px; }.action-card .action-icon { position: absolute; left: 16px; top: 19px; margin: 0; }.action-card strong { max-width: none; font-size: .94rem; }.action-card small { font-size: .75rem; }.action-arrow { top: 27px; }.action-icon .icon { width: 26px; height: 26px; }.action-icon.positive { width: 28px; height: 28px; }.action-icon.positive .icon { width: 23px; height: 23px; }.dashboard-grid,.supervisor-grid { grid-template-columns: 1fr; }.personal-metric { align-items: flex-start; padding: 13px; gap: 8px; }.personal-metric span { font-size: .73rem; }.recent-row { padding: 13px; gap: 7px; }.badge { font-size: .63rem; padding: 3px 6px; }.panel-heading { padding: 15px 14px 12px; }.news-panel .eyebrow { display: none; }.news-item { padding: 0 14px 16px; align-items: flex-start; }.news-item p { font-size: .76rem; }.assistant-panel { margin-top: 4px; }.team-metrics { gap: 10px; }.team-metric { padding: 16px 12px; gap: 9px; }.team-metric strong { font-size: 1.45rem; }.team-metric > div > span { font-size: .7rem; }.metric-symbol { width: 32px; height: 36px; }.metric-symbol .icon { width: 21px; height: 21px; }.donut-layout { flex-direction: row; gap: 20px; }.donut { width: 155px; height: 155px; }.donut > div { width: 112px; height: 112px; }.chart-legend { width: auto; min-width: 110px; }.chart-legend li { font-size: .75rem; }.agent-bars { min-height: 240px; }.ticket-tabs { padding-inline: 5px; }.ticket-tab { flex: 1 1 45%; justify-content: center; }.ticket-filters { padding: 15px 12px 8px; gap: 8px; }.ticket-filters > label:not(.ticket-sort) { flex: 1; }.ticket-filters select { width: 100%; }.ticket-sort { display: flex; align-items: center; gap: 7px; margin-left: 0; }.filter-result { padding-left: 13px; }.table-footer { padding-inline: 13px; }.preview-toolbar { padding: 10px; gap: 8px; }.preview-toolbar nav { width: 100%; }.profile-panel { padding: 20px; }.definition-list { grid-template-columns: 75px minmax(0,1fr); gap: 15px; font-size: .82rem; }.login-content { padding: 32px 25px; }.login-brand .brand-word { font-size: 2rem; }.login-brand .brand-mark { width: 37px; height: 37px; }.login-brand .brand-mark span { font-size: 26px; }.login-brand { gap: 18px; }.auth-main { padding: 24px 14px; }.login-card { border-radius: 15px; }.login-intro { margin-top: 28px; }.login-platform { font-size: 1.15rem; }.login-footer > span:first-child { display: none; }.login-footer { justify-content: space-between; gap: 10px; padding: 19px; }.login-footer small { max-width: 115px; }.login-footer .icon { width: 18px; height: 18px; }.login-footer > span { gap: 7px; }.microsoft-button { font-size: .86rem; padding: 14px 16px; }.login-divider { font-size: .65rem; } }
@media (max-width: 365px) { .topbar .brand-word { font-size: 1rem; }.topbar { gap: 7px; padding-inline: 8px; }.topbar-nav { gap: 0; }.donut-layout { flex-direction: column; }.chart-legend { width: 100%; }.login-content { padding: 28px 19px; }.login-brand .brand-word { font-size: 1.8rem; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.requester-layout.assistant-collapsed { grid-template-columns: minmax(0,1fr); }

@media (max-width: 800px) { .sidebar { visibility: hidden; }.sidebar.is-open { visibility: visible; } }

.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.side-nav,.sidebar-bottom{flex-shrink:0}

.side-nav .approval-nav-count{margin-left:auto;display:inline-flex;justify-content:center;min-width:21px;padding:2px 6px;border-radius:15px;background:#ffe000;color:#005323;font-size:.72rem;font-weight:800}.side-nav .is-active .approval-nav-count{background:#006b2d;color:#fff}[data-approval-nav-count][hidden]{display:none!important}

.hse-home-entry{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid #e8b7a8;border-left:5px solid #b73123;border-radius:12px;background:#fff5ef;margin-bottom:22px;color:#9e2c20}.hse-home-entry>span{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#ffe3d8}.hse-home-entry>div{flex:1;min-width:0}.hse-home-entry strong{display:block;font-size:1.1rem}.hse-home-entry small{display:block;line-height:1.6;margin-top:5px;color:#75564d;font-size:.83rem}.hse-home-entry:hover{background:#ffede4;border-color:#c96349}.side-nav .hse-nav .icon{color:#ffb8a6}.side-nav .hse-nav.is-active .icon{color:#b73123}@media(max-width:650px){.hse-home-entry{padding:16px 14px;gap:12px}.hse-home-entry small{font-size:.78rem}}

.global-search-submit{display:grid;place-items:center;flex-shrink:0;width:27px;height:25px;border:0;border-radius:4px;background:#eff6eb;color:#006c2d}.global-search-submit:hover{background:#def0d7}.topbar .mobile-search-link{display:none}@media(max-width:800px){.topbar .mobile-search-link{display:inline-grid}.topbar-nav .help-button{display:none}}@media(max-width:365px){.topbar-nav .icon-button,.topbar-nav .avatar{width:32px;height:32px}.topbar-nav{gap:0}.topbar{gap:5px}.topbar .brand-word{font-size:.95rem}}

/* Original PetroGabon identity: preserve its proportions and original colors. */
.brand-identity{display:block;width:164px;height:auto;max-width:100%;object-fit:contain}
.login-brand .brand-identity{width:300px}
.topbar .brand-identity{width:155px;background:#fff;border-radius:4px;padding:4px 6px}
@media(max-width:800px){.topbar .brand-identity{width:140px}}
@media(max-width:365px){.topbar .brand-identity{width:118px}.login-brand .brand-identity{width:255px}}

/* DASH-06: custom dashboard charts (apps.reporting.charts), SVG and HTML only */
.dash-chart { margin: 12px 0 0; }
.dash-figure { margin: 8px 0; font-size: 2.4rem; line-height: 1.1; color: var(--color-green-dark); font-variant-numeric: tabular-nums; }
.dash-bars { display: grid; gap: 8px; }
.dash-bar-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .9rem; }
.dash-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-bar-track { display: block; width: 100%; height: 14px; border-radius: 4px; background: var(--color-bg); }
.dash-bar { fill: var(--color-primary); }
.dash-bar-value { font-weight: 650; font-variant-numeric: tabular-nums; }
.dash-line { display: block; width: 100%; height: auto; max-height: 260px; }
.dash-axis { stroke: var(--color-border); stroke-width: 2; }
.dash-line-path { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.dash-dot { fill: var(--color-surface); stroke: var(--color-primary); stroke-width: 3; }
.dash-line-axis { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0 0; font-size: .8rem; }
.dash-values { margin-top: 10px; }
.dash-values summary { cursor: pointer; color: var(--color-primary); font-size: .85rem; font-weight: 650; }
@media (max-width: 600px) {
  .dash-bar-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .dash-bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* Field errors of the shared forms (the ticket screens have their own, tickets.css) */
.stacked-form .field-error { margin: 4px 0 0; color: #a72b26; font-size: .82rem; line-height: 1.5; }
.stacked-form [aria-invalid="true"] { border-color: var(--color-sla-breached); }

/* V3 H2: the conversation simulator of the test platform */
.conversation-transcript { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.conversation-line { justify-self: start; max-width: min(85%, 42rem); padding: 10px 14px; border-radius: 12px; background: var(--color-bg); }
.conversation-line--sender { justify-self: end; background: #e7f5e9; }
.conversation-line span { font-size: .75rem; }
.conversation-line p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
