.connected-office-brand{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%;color:var(--office-brand-ink,var(--ink))}.connected-office-mark{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border:1px solid var(--line,#d9e1dd);border-radius:4px;background:var(--surface,#fff);overflow:hidden}.connected-office-mark img{width:100%;height:100%;object-fit:contain}.connected-office-name{display:grid;gap:3px;min-width:0}.connected-office-name strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.connected-office-name small{font-size:11px;line-height:1.5;color:var(--muted)}.connected-office-product{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.connected-office-product .n9-plan-badge{margin-top:0;font-size:10px!important}.connected-office-credit{font-size:10px!important}.sidebar .connected-office-brand{margin:0 0 24px;align-items:flex-start}@media(max-width:760px){.connected-office-brand{max-width:100%}.connected-office-mark{width:40px;height:40px;flex-basis:40px}.connected-office-name strong{font-size:13px}}.n9-attribution{font-weight:400;overflow-wrap:anywhere;line-height:1.6;color:inherit}.n9-attribution a{color:inherit;font-weight:600;text-underline-offset:3px;white-space:nowrap}.n9-attribution a:focus-visible{outline:2px solid currentColor;outline-offset:3px}.n9-attribution--logos{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px;max-width:100%;font-size:11px;vertical-align:middle}.n9-attribution--logos>span{white-space:nowrap}.n9-attribution--logos a{display:inline-flex;flex-direction:row;flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:4px;text-decoration:none}.n9-attribution--logos a:hover bdi{text-decoration:underline;text-underline-offset:3px}.n9-attribution--logos img{display:block;width:18px;height:18px;flex:0 0 18px;object-fit:contain;border-radius:2px}.n9-subscription{--sub-line:var(--border,#d9e1df);max-width:1280px;margin:0 auto;padding:24px;min-width:0;color:var(--text,#1d2c29)}.n9-subscription-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:2px solid #b29651;padding-bottom:18px;margin-bottom:22px;flex-wrap:wrap}.n9-subscription h1{font-size:26px;margin:4px 0 12px;letter-spacing:0}.n9-subscription h2{font-size:18px;margin:0 0 14px}.n9-subscription h3{font-size:16px;margin:0 0 10px}.n9-subscription p{line-height:1.8}.n9-subscription small,.n9-subscription footer{font-size:12px;color:var(--muted,#63716e);line-height:1.8}.n9-subscription button,.n9-subscription a{display:inline-flex;align-items:center;justify-content:center;gap:7px;max-width:100%;font:inherit;white-space:normal;overflow-wrap:anywhere}.n9-subscription button{border:1px solid var(--sub-line);background:var(--surface,#fff);color:inherit;border-radius:4px;padding:9px 13px;cursor:pointer}.n9-subscription button:disabled{opacity:.5;cursor:not-allowed}.n9-subscription button:focus-visible,.n9-subscription a:focus-visible{outline:2px solid #a08339;outline-offset:3px}.n9-subscription label{display:grid;gap:7px;font-size:13px;min-width:0}.n9-subscription input,.n9-subscription select,.n9-subscription textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--sub-line);border-radius:4px;background:var(--surface,#fff);color:inherit;font:inherit;padding:10px;min-height:40px}.n9-subscription textarea{min-height:90px;resize:vertical}.n9-subscription .sub-primary{background:var(--office-accent,#00664e);color:#fff;border-color:transparent}.n9-subscription section{padding:22px 0;border-bottom:1px solid var(--sub-line)}.n9-subscription .sub-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.n9-subscription .sub-form .sub-wide{grid-column:1/-1}.n9-subscription .sub-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.n9-subscription .sub-facts{display:flex;gap:24px;flex-wrap:wrap}.sub-facts>div{display:grid;gap:6px;min-width:120px}.n9-subscription .sub-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--sub-line)}.sub-plans article{padding:18px;border-inline-end:1px solid var(--sub-line);min-width:0}.sub-plans article:last-child{border:0}.sub-plans .is-current{background:var(--accent-soft,#eef6f3);box-shadow:inset 0 3px #a08339}.sub-plans ul{padding-inline-start:17px;line-height:1.9;font-size:13px}.sub-plans strong{font-size:20px}.sub-plans del{font-size:13px;color:var(--muted,#63716e)}.n9-subscription .sub-table-scroll{overflow:auto;max-width:100%}.n9-subscription table{width:100%;border-collapse:collapse;min-width:650px;text-align:right;font-size:13px}.n9-subscription th,.n9-subscription td{padding:13px 10px;vertical-align:top;border-bottom:1px solid var(--sub-line);overflow-wrap:anywhere;max-width:280px}.n9-subscription th{font-weight:600;color:var(--muted,#63716e)}.n9-subscription td .sub-form{grid-template-columns:minmax(0,1fr);min-width:160px}.n9-subscription .sub-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--sub-line);font-size:12px;border-radius:3px}.sub-status.is-paid{color:#05614b;background:#edf8f2}.sub-status.is-unpaid{color:#8a4328;background:#fff5ed}.n9-subscription .sub-error{border-inline-start:3px solid #ae3846;padding:12px;background:#fff2f3;color:#932635}.n9-subscription .sub-notice{border-inline-start:3px solid #a08339;padding:12px;background:var(--accent-soft,#f4f7f5)}.n9-plan-badge{display:inline-flex!important;align-items:center;gap:4px;font-size:11px!important;line-height:1.5;color:inherit!important;border:1px solid currentColor;border-radius:3px;padding:2px 5px;width:max-content;max-width:100%;margin-top:3px}.n9-plan-badge b{font-weight:700}.n9-plan-badge span{font-size:10px}.n9-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.n9-feature-grid ul{padding-inline-start:20px;line-height:2}.n9-program-features{background:var(--surface,#fff)}.n9-program-features main{padding-block:35px}.n9-subscription footer{padding-top:20px}.n9-subscription summary{cursor:pointer;padding:10px 0;font-weight:600}.n9-subscription details[open] summary{margin-bottom:12px}@media(max-width:850px){.n9-subscription .sub-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.sub-plans article{border-bottom:1px solid var(--sub-line)}.n9-subscription .sub-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.n9-subscription{padding:16px 12px}.n9-subscription .sub-plans,.n9-subscription .sub-form,.n9-feature-grid{grid-template-columns:minmax(0,1fr)}.sub-plans article{border-inline-end:0}.n9-subscription h1{font-size:23px}.n9-subscription .sub-facts{gap:18px}.n9-subscription-heading{align-items:flex-start}}.connected-systems-band{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line,#d4dfda);background:var(--surface,#fff);padding:0 20px;min-height:46px;color:var(--text,#172c26)}.connected-systems-band nav{display:flex;flex-wrap:wrap;align-items:stretch;gap:4px}.connected-systems-band button{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 14px;color:inherit;font:inherit;font-size:13px;line-height:1.5;border:0;border-bottom:3px solid transparent;background:transparent;min-height:50px;min-width:100px;cursor:pointer;border-radius:0}.connected-systems-band button svg{flex-shrink:0}.connected-systems-band button span{overflow-wrap:anywhere}.connected-systems-band button[aria-current=page]{font-weight:700}.connected-systems-band button:disabled{cursor:wait}.connected-navigation-spinner{animation:connected-navigation-spin 1s linear infinite}@keyframes connected-navigation-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.connected-navigation-spinner{animation:none}}.connected-systems-band button[aria-current=page]{color:var(--office-brand-ink,var(--accent,#00664e));border-color:var(--office-accent,var(--accent,#00664e));background:var(--accent-tint,#f3f8f6)}.connected-systems-band button:hover{background:var(--accent-soft,#edf4f0)}.connected-systems-band button:is([aria-disabled=true],[data-locked=true]){color:var(--muted,#687c73)}.connected-systems-band button:focus-visible{outline:2px solid var(--office-accent,#00664e);outline-offset:-3px}.connected-navigation-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px;font-size:13px;background:var(--accent-tint,#f3f8f6);border-bottom:1px solid var(--line,#d4dfda);color:var(--text,#172c26)}.connected-navigation-notice button{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;background:transparent;border:0;color:inherit;cursor:pointer}.connected-navigation-notice--floating{position:fixed;bottom:20px;inset-inline:20px;max-width:620px;margin-inline:auto;border:1px solid var(--line,#d4dfda);z-index:1000;box-shadow:0 4px 16px #0001}.connected-scope{font-size:11px;overflow-wrap:anywhere;max-width:260px}.n9-app.theme-dark .connected-systems-band,.n9-app.theme-dark .connected-navigation-notice{color:var(--ink);background:var(--surface)}.n9-app.theme-dark .connected-systems-band button[aria-current=page]{color:color-mix(in srgb,var(--office-brand-ink,var(--accent)) 50%,#d2eee1 50%);background:var(--surface-2)}.n9-app.theme-dark .connected-systems-band button:hover{background:var(--surface-2)}.n9-app.theme-dark .connected-systems-band button:is([aria-disabled=true],[data-locked=true]){color:var(--ink-3)}@media(max-width:650px){.connected-systems-band{padding:0 8px;display:block}.connected-systems-band nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.connected-systems-band button{flex-direction:column;gap:4px;font-size:11px;padding:8px 3px;min-height:66px;min-width:0;position:relative}.connected-systems-band button[data-locked=true] svg:last-child{position:absolute;top:6px;inset-inline-end:3px;width:10px}.connected-scope{display:block;padding:6px 7px 8px;max-width:none}}@media print{.connected-systems-wrap{display:none}}.connected-scope-tools{display:flex;align-items:center;gap:10px}.connected-systems-band .connected-order-trigger{min-width:36px;width:36px;min-height:36px;height:36px;padding:0;border:1px solid var(--line,#d4dfda);border-radius:4px;flex:none}.connected-systems-band button[draggable=true]{cursor:grab}.connected-order-dialog{width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:20px;border:1px solid var(--line,#d4dfda);border-radius:6px;background:var(--surface,#fff);color:var(--ink,#172c26);font:inherit}.connected-order-dialog::backdrop{background:#0006}.connected-order-dialog header,.connected-order-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.connected-order-dialog h2{font-size:19px;margin:0}.connected-order-dialog ol{list-style:none;padding:0;margin:20px 0}.connected-order-dialog li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line,#d4dfda);padding:8px 0;min-height:50px}.connected-order-dialog li span{flex:1;overflow-wrap:anywhere;font-size:13px}.connected-order-dialog button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border:1px solid var(--line,#d4dfda);border-radius:4px;background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer}.connected-order-dialog button:disabled{opacity:.45;cursor:not-allowed}.connected-order-dialog footer button:last-child{padding:6px 18px}.connected-order-dialog button:focus-visible{outline:2px solid var(--office-accent,#00664e);outline-offset:2px}body:has(.connected-order-dialog[open]){overflow:hidden}@media(max-width:650px){.connected-scope-tools{justify-content:space-between;padding-block:6px}.connected-systems-band .connected-order-trigger{flex-direction:row}}.connected-systems-band{min-width:0;gap:14px;padding-inline:18px}.connected-systems-band nav{flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:var(--line,#d4dfda) transparent}.connected-systems-band nav button{flex:0 0 auto;min-width:0;min-height:48px;padding:11px 12px;gap:7px;font-weight:400}.connected-systems-band nav button span{white-space:nowrap;overflow-wrap:normal}.connected-systems-band nav button[aria-current=page]{font-weight:600}.connected-scope-tools{flex:0 0 auto}.connected-scope{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1180px){.connected-scope{display:none}}@media(max-width:650px){.connected-systems-band{display:flex;padding-inline:8px;gap:8px}.connected-systems-band nav{display:flex;gap:0}.connected-systems-band nav button{flex-direction:row;min-height:46px;padding:10px;font-size:12px;gap:6px}.connected-systems-band nav button[data-locked=true] svg:last-child{position:static;width:12px}.connected-scope-tools{padding:0}}.n9-platform-banner{position:relative;z-index:500;background:#f1faf6;color:#173b31;border-bottom:2px solid #b18b3c;padding:14px 24px;font-family:inherit;box-sizing:border-box;letter-spacing:0}.n9-platform-banner.is-maintenance{background:#fff9ed;color:#493b1c}.n9-platform-banner__row{display:flex;align-items:flex-start;gap:14px;max-width:1440px;margin:auto;min-width:0}.n9-platform-banner__symbol{display:grid;place-items:center;flex:0 0 36px;height:36px;border:1px solid currentColor;border-radius:4px;font-size:16px;font-weight:700}.n9-platform-banner__copy{flex:1;min-width:0;overflow-wrap:anywhere}.n9-platform-banner__kind{display:block;font-size:11px;color:#675526;margin-bottom:2px}.n9-platform-banner__copy strong{font-size:16px;line-height:1.6;display:block}.n9-platform-banner__copy p{margin:3px 0;font-size:14px;line-height:1.7;white-space:pre-wrap}.n9-platform-banner__times{display:flex;gap:6px 18px;flex-wrap:wrap;font-size:12px;margin-top:7px;line-height:1.7}.n9-platform-banner__times b{font-weight:600}.n9-platform-banner__times time{font-variant-numeric:tabular-nums;margin-inline-start:8px}.n9-platform-banner__actions{display:flex;align-items:center;gap:10px;flex-shrink:0;flex-wrap:wrap}.n9-platform-banner__actions :is(a,button){font:inherit;font-size:13px;min-height:36px;padding:6px 12px;border-radius:4px;border:1px solid #c5d4ce;background:#fff;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;cursor:pointer;box-sizing:border-box}.n9-platform-banner__actions :is(a,button):focus-visible{outline:2px solid #00664e;outline-offset:3px}.n9-platform-banner__count{max-width:1440px;margin:7px auto 0;display:flex;gap:14px;align-items:center;font-size:11px}.n9-platform-banner__count progress{flex:1;height:3px;accent-color:#00745a;min-width:40px}@media(max-width:600px){.n9-platform-banner{padding:12px}.n9-platform-banner__row{gap:10px;flex-wrap:wrap}.n9-platform-banner__copy{flex-basis:calc(100% - 50px)}.n9-platform-banner__actions{width:100%;justify-content:flex-end}.n9-platform-banner__copy strong{font-size:15px}.n9-platform-banner__copy p{font-size:13px}}@media print{.n9-platform-banner{display:none!important}}

.n9-office-shell { position: sticky; top: 0; z-index: 60; color: var(--text); background: var(--surface, #fff); border-bottom: 1px solid var(--line); }
.n9-office-shell[hidden] { display: none; }
.n9-office-shell-grid { display: flex; align-items: center; justify-content: space-between; min-width: 0; }
.n9-office-shell-brand { display: flex; align-items: center; min-width: 0; min-height: 88px; padding: 12px; background: var(--office-accent); color: var(--office-on-accent); }
.n9-office-shell-brand .connected-office-brand { gap: 10px; width: 100%; min-width: 0; color: inherit; }
.n9-office-shell-brand .connected-office-mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 4px; background: var(--surface); color: var(--office-accent); }
.n9-office-shell-brand .connected-office-mark img { width: 100%; height: 100%; object-fit: contain; }
.n9-office-shell-brand .connected-office-name { min-width: 0; }
.n9-office-shell-brand .connected-office-name strong { color: inherit; font-size: var(--office-name-size, 14px); line-height: 1.5; overflow-wrap: anywhere; }
.n9-office-shell-brand .connected-office-name small { color: inherit; font-size: 9px; line-height: 1.6; }
.n9-office-shell-brand .connected-office-credit { color: inherit; }
.n9-office-shell-brand a { color: inherit; }
.n9-office-central-login { margin: 12px 24px; color: var(--office-brand-ink); }
body[data-office] .brand-lockup, body[data-office] .collaboration-strip, body[data-office] .login-shell .brand, body[data-office] .login-shell .brand-lockup { display: none; }
body[data-office] .button-primary { background: var(--office-accent); border-color: var(--office-accent); color: var(--office-on-accent); }
body[data-office] .landing-hero { padding-top: 32px; }
body[data-office] .login-brand-panel > img, body[data-office] .local-login-details { display: none; }
body[data-office] .login-brand-panel { background: var(--accent-tint); color: var(--text); border-inline-end: 1px solid var(--line); }
body[data-office] .login-brand-panel h1, body[data-office] .login-brand-panel .eyebrow, body[data-office] .login-trust { color: var(--office-brand-ink); }
body[data-office] .login-page { min-height: calc(100vh - var(--office-shell-height, 88px)); }
body[data-office] .sidebar-brand { display: none; }
body[data-office][data-office-view="workspace"] { border-top: 4px solid var(--office-accent); }
body[data-office][data-office-view="workspace"] .n9-office-shell { top: 4px; background: transparent; border: 0; pointer-events: none; }
body[data-office][data-office-view="workspace"] .n9-office-shell-grid { display: grid; grid-template-columns: 232px minmax(0, 1fr); grid-template-rows: var(--office-header-height, 88px) 50px; }
body[data-office][data-office-view="workspace"] .n9-office-shell-brand { grid-column: 1; grid-row: 1; height: var(--office-header-height, 88px); pointer-events: auto; }
body[data-office][data-office-view="workspace"] .connected-systems-wrap { grid-column: 2; grid-row: 2; min-width: 0; pointer-events: auto; }
body[data-office][data-office-view="workspace"] .connected-systems-band { height: 50px; padding: 0 18px; gap: 8px; }
body[data-office][data-office-view="workspace"] .connected-systems-band nav { flex-wrap: nowrap; min-width: 0; }
body[data-office][data-office-view="workspace"] .connected-systems-band button { min-width: 0; min-height: 50px; padding: 10px 12px; gap: 6px; font-size: 12px; white-space: nowrap; }
body[data-office][data-office-view="workspace"] .connected-scope { flex: 0 1 auto; text-align: left; }
body[data-office][data-office-view="workspace"] .connected-navigation-notice { box-shadow: 0 4px 12px #0001; }
body[data-office][data-office-view="workspace"] .app-frame { padding-right: 232px; }
body[data-office][data-office-view="workspace"] .sidebar { inset-block: calc(var(--office-header-height, 88px) + 4px + var(--n9-platform-banner-offset, 0px)) 0; width: 232px; height: calc(100dvh - var(--office-header-height, 88px) - 4px - var(--n9-platform-banner-offset, 0px)); padding: 12px; overflow-y: auto; border-right: 0; border-left: 1px solid var(--line); }
body[data-office][data-office-view="workspace"] .sidebar-section-title { margin: 8px 6px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--office-brand-ink); font-weight: 700; font-size: 15px; }
body[data-office][data-office-view="workspace"] .sidebar nav { gap: 5px; }
body[data-office][data-office-view="workspace"] .sidebar nav button { min-height: 50px; padding: 12px; gap: 12px; border: 0; border-radius: 5px; font-size: 14px; line-height: 1.7; }
body[data-office][data-office-view="workspace"] .sidebar nav button svg { width: 20px; height: 20px; flex: 0 0 20px; }
body[data-office][data-office-view="workspace"] .sidebar nav button.active { background: var(--office-accent); color: var(--office-on-accent); box-shadow: none; font-weight: 700; }
body[data-office][data-office-view="workspace"] .sidebar-footer { border-color: var(--line); padding-top: 10px; }
body[data-office][data-office-view="workspace"] .topbar { position: fixed; top: calc(4px + var(--n9-platform-banner-offset, 0px)); left: 0; right: 232px; z-index: 70; min-height: var(--office-header-height, 88px); height: var(--office-header-height, 88px); padding: 10px 18px; gap: 14px; background: var(--surface); backdrop-filter: none; }
body[data-office][data-office-view="workspace"] .topbar-user > svg:first-child { border: 0; background: var(--accent-tint); width: 40px; height: 40px; }
body[data-office][data-office-view="workspace"] .workspace { max-width: none; padding: 24px 18px 48px; }
[data-theme="dark"] body[data-office] { --office-brand-ink: color-mix(in srgb, var(--office-accent) 35%, #fff 65%); --emerald: var(--office-brand-ink); --emerald-2: var(--office-brand-ink); --green: var(--office-brand-ink); }
@media (max-width: 1180px) {
  body[data-office][data-office-view="workspace"] .n9-office-shell { position: static; pointer-events: auto; }
  body[data-office][data-office-view="workspace"] .n9-office-shell-grid { display: flex; flex-direction: column; align-items: stretch; }
  body[data-office][data-office-view="workspace"] .n9-office-shell-brand { min-height: 76px; height: auto; }
  body[data-office][data-office-view="workspace"] .n9-office-shell-brand .connected-office-brand { max-width: 500px; }
  body[data-office][data-office-view="workspace"] .connected-systems-band { display: flex; height: auto; overflow-x: auto; padding: 0 8px; }
  body[data-office][data-office-view="workspace"] .connected-systems-band nav { display: flex; flex: 0 0 auto; }
  body[data-office][data-office-view="workspace"] .connected-scope { display: none; }
  body[data-office][data-office-view="workspace"] .app-frame { padding: 0; }
  body[data-office][data-office-view="workspace"] .sidebar { position: static; width: 100%; height: auto; padding: 8px; overflow: visible; border: 0; border-bottom: 1px solid var(--line); }
  body[data-office][data-office-view="workspace"] .sidebar-section-title, body[data-office][data-office-view="workspace"] .sidebar-footer { display: none; }
  body[data-office][data-office-view="workspace"] .sidebar nav { display: flex; overflow-x: auto; gap: 4px; }
  body[data-office][data-office-view="workspace"] .sidebar nav button { flex: 0 0 auto; flex-direction: row; min-height: 44px; padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  body[data-office][data-office-view="workspace"] .sidebar nav .mobile-logout { display: none; }
  body[data-office][data-office-view="workspace"] .topbar { position: relative; inset: auto; min-height: 76px; height: auto; flex-wrap: wrap; padding: 10px 12px; gap: 10px; }
  body[data-office][data-office-view="workspace"] .workspace { padding: 20px 12px 36px; }
}
@media (max-width: 600px) {
  body[data-office][data-office-view="workspace"] .connected-systems-band button { min-height: 46px; padding: 10px; font-size: 11px; }
  body[data-office][data-office-view="workspace"] .connected-systems-band button svg:last-child { position: static; }
}
@media print {
  .n9-office-shell { position: static; padding: 0; background: white; }
  body[data-office][data-office-view="workspace"] .n9-office-shell-grid { display: block; }
  body[data-office][data-office-view="workspace"] .n9-office-shell-brand { height: auto; color: #172420; background: white; min-height: 60px; }
  body[data-office][data-office-view="workspace"] .app-frame { padding: 0; }
}

/* Shared operational presentation only. Office identity and business state stay authoritative. */
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) {
  --n9-canvas: #f3f6f7;
  --n9-paper: var(--surface, #fff);
  --n9-ink: var(--ink, var(--text, #1c302d));
  --n9-muted: var(--muted, var(--ink-3, #63756f));
  --n9-line: var(--line, #d9e2df);
  --n9-accent: var(--office-brand-ink, var(--accent, #00664e));
  --n9-gold: #ae8740;
  --n9-control-height: 42px;
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:is(.n9-app.theme-dark, .office-system-shell.theme-dark, .engine-console.theme-dark),
:root[data-theme="dark"] :where(.office-system-shell, .app-frame, .engine-console) {
  --n9-canvas: #111c1a;
  --n9-accent: color-mix(in srgb,var(--office-accent,var(--accent,#00664e)) 48%,#f0f6f3);
  --n9-warning-ink: #ffadad;
  color-scheme: dark;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(input, select, textarea, button) {
  font-family: inherit;
  letter-spacing: 0;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--n9-accent);
  outline-offset: 3px;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(input, select, textarea) {
  max-width: 100%;
  box-sizing: border-box;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea) {
  border-radius: 5px;
  border-color: var(--n9-line);
  color: var(--n9-ink);
  background-color: var(--n9-paper);
  font-size: calc(14px * var(--font-scale, 1));
  line-height: 1.6;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--n9-accent);
  flex-shrink: 0;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(input, select, textarea):focus {
  border-color: var(--n9-accent);
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(.button, .primary-action, .secondary-action, .button-primary, .button-secondary, .fu-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--n9-control-height);
  max-width: 100%;
  padding: 9px 15px;
  border-radius: 5px;
  font-size: calc(14px * var(--font-scale, 1));
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(button, .button) > svg {
  flex-shrink: 0;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(.icon-button, .icon-action, .office-system-icon, .fu-icon) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 5px;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(.page-heading, .report-heading, .fu-heading, .finance-heading, .n9-module-heading) {
  gap: 16px;
  border-bottom-color: var(--n9-line);
  padding-bottom: 20px;
  margin-bottom: 22px;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(.page-heading, .report-heading, .fu-heading, .finance-heading, .n9-module-heading) h1 {
  font-size: calc(26px * var(--font-scale, 1));
  line-height: 1.5;
  margin-block: 4px 8px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(table) {
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(table th) {
  font-weight: 500;
  line-height: 1.6;
  padding-block: 11px;
  border-bottom-color: var(--n9-line);
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(table td) {
  line-height: 1.7;
  padding-block: 13px;
  border-bottom-color: var(--n9-line);
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(table tbody tr:hover) {
  background-color: color-mix(in srgb, var(--n9-accent) 4%, var(--n9-paper));
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(.empty-state, .claims-empty, .fu-empty, .n9-empty-state) {
  padding: 32px 18px;
  line-height: 1.8;
  color: var(--n9-muted);
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) dialog:not(.n9-execution-folder--editor) {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 32px);
  border-radius: 8px;
  border-color: var(--n9-line);
  box-shadow: 0 18px 64px #10252024;
  color: var(--n9-ink);
}
:is(.n9-app, .office-system-shell, .app-frame, .engine-console) dialog::backdrop {
  background: #14282470;
  backdrop-filter: blur(2px);
}
.office-system-shell {
  background: var(--n9-canvas);
  border-top-width: 3px;
}
.office-system-brand {
  background: var(--n9-paper);
  color: var(--n9-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--n9-gold) 55%, var(--n9-line));
}
.office-system-brand .connected-office-mark {
  border: 1px solid var(--n9-line);
  border-radius: 5px;
  background: var(--n9-paper);
}
.office-system-brand .connected-office-name small { color: var(--n9-muted); }
:is(.office-system-shell.theme-dark, .n9-app.theme-dark) .claims-modes button[aria-selected="true"],
:root[data-theme="dark"] .office-system-shell .claims-modes button[aria-selected="true"] { color: var(--n9-accent); }
:is(.office-system-shell.theme-dark, .n9-app.theme-dark) .collection-late,
:root[data-theme="dark"] .office-system-shell .collection-late { color: var(--n9-warning-ink) !important; }
:is(.office-system-shell.theme-dark) .office-system-brand .connected-office-mark svg,
:root[data-theme="dark"] .office-system-shell .office-system-brand .connected-office-mark svg { color: var(--n9-accent); }
:is(.office-system-shell.theme-dark) :is(.finance-content .icon-button, .finance-content .icon-action),
:root[data-theme="dark"] .office-system-shell :is(.finance-content .icon-button, .finance-content .icon-action) { color: var(--n9-ink); }
.office-system-sidebar-context { padding: 20px 10px; gap: 5px; margin-bottom: 12px; }
.office-system-sidebar-context strong { font-size: 14px; font-weight: 600; }
.office-system-sidebar-context span { font-size: 12px; color: var(--n9-muted); }
.office-system-sidebar-context small { font-size: 12px; }
.office-system-sidebar nav button {
  min-height: 44px;
  padding: 10px 12px;
  gap: 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
}
.office-system-sidebar nav button:is(.active, .is-active, [aria-current="page"]) {
  color: var(--n9-accent);
  background: color-mix(in srgb, var(--n9-accent) 8%, var(--n9-paper));
  border-inline-start-color: var(--office-accent, var(--n9-accent));
  font-weight: 600;
}
.office-system-topbar { gap: 14px; padding-inline: 22px; }
.office-system-topbar .office-system-user strong { font-weight: 500; }
.office-system-shell :is(.finance-content, .fu-main, .report-main, .workspace) { padding: 26px 28px 40px; }
.office-system-menu-dialog { width: min(350px,calc(100vw - 24px)); }
.office-system-menu-body { padding: 14px; }
.office-system-menu-body nav { display: grid; gap: 4px; }
.office-system-menu-body nav button, .office-system-menu-body nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  border-radius: 5px;
  color: var(--n9-ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: start;
  text-decoration: none;
}
.office-system-menu-body nav :is(.active,.is-active,[aria-current="page"]) { color: var(--n9-accent); background: var(--accent-tint,#edf4f0); font-weight: 600; }
.office-system-menu-body nav svg { width: 19px; height: 19px; flex: 0 0 19px; }
.office-system-menu-dialog > footer { padding: 12px 24px; border-top: 1px solid var(--n9-line); color: var(--n9-muted); font-size: 11px; }
body:has(.office-system-menu-dialog[open]) { overflow: hidden; }
.n9-app.layout-work .workspace-main { padding-block: 24px 44px; }
.n9-app.layout-work .workspace-tabs button.is-active { background: var(--accent-tint); border-radius: 5px; }
.n9-app .workspace-header__search { background: var(--surface-2,var(--surface)); border-radius: 5px; }
.n9-app .workspace-welcome h1 { font-size: calc(27px * var(--font-scale,1)); line-height: 1.5; font-weight: 600; }
.n9-app.layout-work .workspace-app--office .workspace-tabs button.is-active { color: var(--n9-accent); background: var(--accent-tint); border-inline-start-color: var(--office-accent); }
.engine-console .module-header h1 { font-size: 26px; line-height: 1.5; }
body[data-office][data-office-view="workspace"] .n9-office-shell-brand { background: var(--surface); color: var(--text); border-bottom: 1px solid color-mix(in srgb,#ae8740 55%,var(--line)); }
body[data-office][data-office-view="workspace"] .n9-office-shell-brand .connected-office-mark { border: 1px solid var(--line); }
body[data-office][data-office-view="workspace"] .n9-office-shell-brand .connected-office-name small { color: var(--muted); }
body[data-office][data-office-view="workspace"] .sidebar nav button { min-height: 44px; padding-block: 10px; font-weight: 400; }
body[data-office][data-office-view="workspace"] .sidebar nav button.active { color: var(--office-brand-ink); background: var(--accent-tint); border-inline-start: 3px solid var(--office-accent); font-weight: 600; }
@media(min-width:1181px) {
  .n9-app.layout-work .workspace-app--office .workspace-header > .brand--office { background: var(--surface); border-bottom: 1px solid color-mix(in srgb,#ae8740 55%,var(--line)); }
  .n9-app.layout-work .workspace-app--office .workspace-header > .brand--office .brand__copy strong { color: var(--ink); }
  .n9-app.layout-work .workspace-app--office .workspace-header > .brand--office .brand__copy span { color: var(--ink-3); }
}
@media (max-width:1180px) {
  .office-system-sidebar { border-inline-end: 0; }
  .office-system-brand { padding: 10px 18px; min-height: 68px; }
  .office-system-brand .connected-office-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .office-system-brand .connected-office-name strong { font-size: min(14px,var(--office-name-size,14px)); }
  .office-system-topbar { padding: 10px 16px; }
  .office-system-menu-trigger { order: -2; }
  .office-system-context { flex: 1 1 160px; order: -1; }
}
@media (max-width:650px) {
  :is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea) { font-size: max(16px,calc(14px * var(--font-scale,1))); }
  .office-system-shell :is(.finance-content, .fu-main, .report-main, .workspace) { padding: 20px 14px 32px; }
  .office-system-topbar { gap: 8px; padding: 10px 14px; flex-wrap: nowrap; }
  .office-system-topbar .office-system-menu-trigger { order: -2; }
  .office-system-topbar .office-system-context { flex: 1 1 90px; }
  .office-system-user { max-width: 100%; margin-inline-start: 0; gap: 8px; }
  .office-system-user > span { display: grid; width: 34px; height: 34px; flex-basis: 34px; }
  .office-system-user > div { display: none; }
  .office-system-search { min-width: 0; flex-basis: 100%; }
  :is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(.page-heading, .report-heading, .fu-heading, .finance-heading, .n9-module-heading) h1 { font-size: 23px; }
  .collection-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-filters > label:first-child { grid-column: 1 / -1; }
  .collection-field select { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  :is(.n9-app, .office-system-shell, .app-frame, .engine-console) { scroll-behavior: auto; }
  :is(.n9-app, .office-system-shell, .app-frame, .engine-console) :where(button, input, select, textarea) { transition: none; }
}
@media print {
  .office-system-shell { background: white; border: 0; }
  .office-system-menu-dialog { display: none !important; }
}
