/* PopUsIn V1: connected suite workspaces */
:root {
  --suite-navy: #081d46;
  --suite-copy: #52637c;
  --suite-line: #dce6f1;
  --suite-canvas: #f5f8fc;
  --suite-shadow: 0 14px 36px rgba(10, 36, 78, .08);
}
.client-preview-banner{position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:46px;padding:.45rem 1rem;background:#fff3c4;border-bottom:1px solid #e5bd2e;color:#4b3a00}.client-preview-banner span{display:flex;align-items:baseline;gap:.65rem}.client-preview-banner strong{font-size:.78rem}.client-preview-banner small{font-size:.7rem}.client-preview-banner a{padding:.4rem .7rem;border-radius:999px;background:#102750;color:#fff;text-decoration:none;font-size:.72rem;font-weight:800}.client-preview-mode .v7-sidebar,.client-preview-mode .v7-topbar{top:46px}.client-preview-mode [data-new-tenant-record],.client-preview-mode #mobile-new-booking{display:none!important}@media(max-width:600px){.client-preview-banner{position:relative;align-items:flex-start}.client-preview-banner span{display:grid;gap:.1rem}}

/* Shared block CMS */
.cms-page-registry{margin-bottom:1rem}.cms-page-list{display:grid;gap:.5rem}.cms-page-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:1rem;text-align:left;border:1px solid #d9e3f2;background:#fff;border-radius:14px;padding:.8rem 1rem;color:#102750}.cms-page-row:hover,.cms-page-row:focus-visible{border-color:#1769ff;box-shadow:0 8px 24px rgba(23,105,255,.1)}.cms-page-row span:first-child{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:.65rem}.cms-page-row small{color:#1769ff;text-transform:uppercase;font-size:.68rem;font-weight:800;letter-spacing:.06em}.cms-page-row strong{font-size:.95rem}.cms-page-row em{font-size:.78rem;color:#6b7e9d;font-style:normal}.cms-page-row>b{font-size:.8rem;color:#1769ff}.cms-workspace{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:1rem;align-items:start}.cms-block-rail{position:sticky;top:82px;max-height:calc(100vh - 100px);overflow:auto}.cms-block-list{display:grid;gap:.5rem}.cms-block-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;border:1px solid #dbe5f2;border-radius:12px;background:#fff;min-height:62px;transition:.15s ease}.cms-block-row.is-hidden{opacity:.58}.cms-block-row.is-dragging{opacity:.35;border-style:dashed}.cms-drag-handle{padding:.5rem;color:#8292aa;cursor:grab;user-select:none}.cms-block-main{min-width:0;display:grid;gap:.12rem;text-align:left;border:0;background:transparent;padding:.6rem .2rem;color:#102750}.cms-block-main small{font-size:.64rem;letter-spacing:.06em;text-transform:uppercase;color:#1769ff;font-weight:800}.cms-block-main strong{font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cms-block-main span{font-size:.69rem;color:#6a7d99}.cms-block-actions{display:flex;gap:.15rem;padding-right:.35rem}.cms-block-actions button{width:28px;height:28px;padding:0;border:1px solid #d9e3f2;background:#f8fbff;border-radius:8px;color:#345}.cms-preview-shell{min-width:0}.cms-preview-shell>.card-head{position:sticky;top:74px;z-index:4;background:#fff;padding-bottom:.7rem;border-bottom:1px solid #e3eaf4}.cms-preview-frame{margin:1rem auto 0;background:#f7f9fc;border:8px solid #102750;border-radius:22px;min-height:520px;overflow:hidden;transition:max-width .2s ease;width:100%;max-width:1100px}.cms-preview-frame.device-tablet{max-width:760px}.cms-preview-frame.device-mobile{max-width:390px}.cms-preview-block{padding:clamp(1.5rem,4vw,4rem);color:#102750;background:#fff}.cms-preview-block+ .cms-preview-block{border-top:1px solid #e7edf5}.cms-preview-block h2{font-size:clamp(1.6rem,3.5vw,3.4rem);line-height:1.05;margin:0 0 .75rem}.cms-preview-block p{font-size:clamp(.88rem,1.4vw,1.08rem);line-height:1.55;max-width:68ch;margin:.4rem 0}.cms-preview-block small{font-weight:800;color:#1769ff;text-transform:uppercase;letter-spacing:.07em}.cms-preview-hero,.cms-preview-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);gap:2rem;align-items:center}.cms-preview-block figure{margin:0}.cms-preview-block img{display:block;width:100%;max-height:460px;object-fit:cover;border-radius:18px}.cms-preview-image-placeholder{min-height:220px;display:grid;place-items:center;border:2px dashed #bed0e8;border-radius:18px;background:linear-gradient(135deg,#eef5ff,#fff0fa);color:#60738f;font-weight:800}.cms-preview-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.cms-preview-action{display:inline-flex;padding:.7rem 1rem;border:1px solid #1769ff;border-radius:999px;color:#1769ff;text-decoration:none;font-weight:800;font-size:.85rem}.cms-preview-action.primary{background:#1769ff;color:#fff}.cms-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin-top:1rem}.cms-preview-grid article{border:1px solid #dce6f3;border-radius:14px;padding:1rem;background:rgba(255,255,255,.86)}.cms-preview-grid article p{font-size:.82rem}.cms-preview-video{min-height:260px;display:grid;place-items:center;background:#0c1f42;color:#fff;border-radius:18px;font-weight:800;margin-top:1rem}.cms-preview-block.theme-soft{background:#f2f7ff}.cms-preview-block.theme-dark{background:#0c1f42;color:#fff}.cms-preview-block.theme-brand{background:linear-gradient(135deg,#1769ff,#8d3de7);color:#fff}.cms-preview-block.theme-dark small,.cms-preview-block.theme-brand small{color:#ffd044}.cms-current-preview{border:1px solid #dce6f3;border-radius:16px;overflow:auto;max-height:390px;background:#f7f9fc}.cms-current-preview>span{display:block;padding:.55rem .8rem;background:#102750;color:#fff;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.cms-current-preview .cms-preview-block{padding:1.5rem}.cms-current-preview .cms-preview-block h2{font-size:1.6rem}.cms-block-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.cms-block-picker button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem .6rem;text-align:left;padding:.85rem;border:1px solid #dbe5f2;border-radius:12px;background:#fff;color:#102750}.cms-block-picker button span{font-weight:800}.cms-block-picker button small{grid-column:1;font-size:.73rem;color:#657896}.cms-block-picker button b{grid-column:2;grid-row:1/3;align-self:center;color:#1769ff;font-size:1.2rem}.cms-block-picker button:hover,.cms-block-picker button:focus-visible{border-color:#1769ff;background:#f4f8ff}.cms-empty-preview{min-height:420px;display:grid;place-content:center;text-align:center;padding:2rem;color:#60738f}.cms-empty-preview strong{font-size:1.2rem;color:#102750}

@media(max-width:900px){.cms-workspace{grid-template-columns:1fr}.cms-block-rail{position:static;max-height:none}.cms-preview-shell>.card-head{top:56px}.cms-preview-hero,.cms-preview-split{grid-template-columns:1fr}.cms-page-row span:first-child{grid-template-columns:1fr}.cms-page-row em{display:none}}
@media(max-width:600px){.cms-page-row{grid-template-columns:minmax(0,1fr) auto;padding:.7rem}.cms-page-row>b{display:none}.cms-block-picker{grid-template-columns:1fr}.cms-preview-shell>.card-head{position:static;display:grid}.cms-preview-shell>.card-head .row-actions{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.cms-preview-shell>.card-head .row-actions button{padding:.55rem .35rem;font-size:.72rem}.cms-preview-shell>.card-head .row-actions [data-cms-page-settings],.cms-preview-shell>.card-head .row-actions [data-cms-publish]{grid-column:span 3}.cms-preview-frame{border-width:5px;border-radius:16px;min-height:400px}.cms-preview-block{padding:1.25rem}.cms-preview-block h2{font-size:1.65rem}.cms-block-actions{display:grid;grid-template-columns:repeat(2,28px)}.cms-current-preview{max-height:310px}}
.data-related{display:grid;gap:.1rem}.data-related strong{font-size:.78rem}.data-related small{font:600 .62rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#7587a1}.json-cell{display:grid;max-width:240px;gap:.1rem;text-align:left;border:0;background:transparent;color:#25446f;font-size:.72rem}.json-cell small{color:#1769ff;font-size:.61rem}.data-open-record{white-space:nowrap}.data-record-detail,.data-json-detail{display:grid;gap:.5rem}.data-record-detail>div,.data-json-detail>div{display:grid;grid-template-columns:minmax(120px,.35fr) minmax(0,1fr);gap:1rem;padding:.7rem;border-bottom:1px solid #e3eaf4}.data-record-detail strong,.data-json-detail strong{font-size:.74rem;color:#526887}.data-record-detail span,.data-json-detail span{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.78rem}.admin-table code{font-size:.68rem;color:#526887}
.currency-control-table{display:grid;gap:.45rem}.currency-control-row{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr);align-items:center;gap:1rem;padding:.65rem .8rem;border:1px solid #dce6f3;border-radius:12px;background:#f9fbfe}.currency-control-row .check-field{margin:0}.currency-control-row .check-field span{display:grid}.currency-control-row .check-field small{font-size:.7rem;color:#6c7e99}.currency-control-row .field{margin:0}.currency-control-row .field input{min-height:36px}.currency-base-label{justify-self:start;padding:.35rem .65rem;border-radius:999px;background:#e8f1ff;color:#1769ff;font-size:.72rem;font-weight:800}
@media(max-width:600px){.data-record-detail>div,.data-json-detail>div{grid-template-columns:1fr;gap:.25rem}.currency-control-row{grid-template-columns:1fr;gap:.45rem}}

.app-body.v7-shell { background: var(--suite-canvas); }
.v7-sidebar { width: 278px; padding: 20px 14px; box-shadow: 12px 0 34px rgba(11, 37, 84, .035); }
.app-layout { grid-template-columns: 278px minmax(0, 1fr); }
.v7-brand .brand-logo { width: 152px; max-height: 38px; margin: 0; }
.v7-sidebar-kicker { margin-top: 14px; color: #718096; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.workspace-identity { margin: 12px 0 11px; padding: 12px; border: 1px solid #dce7f4; border-radius: 15px; background: linear-gradient(145deg, #fff, #f2f7ff); }
.workspace-identity > strong { display: block; color: var(--suite-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-context-label { display: flex; align-items: center; gap: 6px; color: #1769ff; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; }
.workspace-context-dot { width: 7px; height: 7px; border-radius: 50%; background: #18a06f; box-shadow: 0 0 0 4px #dff7ee; }
.v7-nav { gap: 3px; overflow-y: auto; padding-right: 3px; scrollbar-width: thin; }
.v7-nav .nav-section-label { margin: 12px 8px 4px; font-size: .62rem; letter-spacing: .1em; color: #8996aa; }
.v7-nav button, .v7-nav .v7-nav-link { min-height: 42px; padding: 9px 10px; border-radius: 12px; }
.v7-nav button > b, .v7-nav .v7-nav-link > b { width: 25px; flex: 0 0 25px; text-align: center; }
.suite-navigation .suite-hub-nav { align-items: flex-start; }
.suite-navigation .suite-nav-group { display: grid; gap: 2px; }
.suite-navigation .suite-nav-group[hidden] { display: none; }
.suite-navigation .suite-hub-nav { width: 100%; grid-template-columns: 25px minmax(0, 1fr) 18px; }
.suite-navigation .suite-hub-nav > i { align-self: center; color: #8190a5; font-style: normal; transition: transform .16s ease; }
.suite-navigation .suite-nav-group.is-expanded .suite-hub-nav > i { transform: rotate(180deg); }
.suite-navigation .suite-nav-children { display: none; gap: 2px; margin: 0 0 5px 27px; padding-left: 8px; border-left: 1px solid #dbe5f0; }
.suite-navigation .suite-nav-group.is-expanded .suite-nav-children { display: grid; }
.suite-navigation .suite-nav-product { display: grid; grid-template-columns: 27px minmax(0, 1fr) 14px; min-height: 39px; padding: 6px 7px; border-radius: 10px; }
.suite-navigation .suite-nav-product > b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: var(--nav-product); background: color-mix(in srgb, var(--nav-product), #fff 88%); font-size: .72rem; }
.suite-navigation .suite-nav-product > span { display: grid; min-width: 0; line-height: 1.1; }
.suite-navigation .suite-nav-product strong { overflow: hidden; color: inherit; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.suite-navigation .suite-nav-product small { margin-top: 2px; overflow: hidden; color: #8290a3; font-size: .51rem; font-weight: 650; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.suite-navigation .suite-nav-product > i { align-self: center; color: #9aa6b6; font-style: normal; }
.suite-navigation .suite-hub-nav > span { display: grid; line-height: 1.05; }
.suite-navigation .suite-hub-nav strong { color: inherit; font-size: .8rem; }
.suite-navigation .suite-hub-nav small { margin-top: 3px; color: #7b899c; font-size: .58rem; line-height: 1.25; }
.suite-navigation .suite-hub-operate > b { color: #1769ff; }
.suite-navigation .suite-hub-grow > b { color: #008f78; }
.suite-navigation .suite-hub-support > b { color: #7048c8; }
.suite-navigation .suite-hub-protect > b { color: #e23b60; }
.v7-sidebar-foot { padding-top: 10px; background: #fff; }
.v7-content { width: 100%; max-width: 1680px; margin-inline: auto; padding: clamp(20px, 2.5vw, 36px); padding-bottom: 110px; }
.v7-topbar { min-height: 70px; padding-inline: clamp(18px, 2.3vw, 34px); }
.app-content-head { align-items: flex-end; margin-bottom: 20px; }
.app-content-head h1 { margin-top: 5px; color: var(--suite-navy); font-size: clamp(1.72rem, 2.6vw, 2.38rem); letter-spacing: -.042em; }
.app-content-head .lead { max-width: 780px; margin: 6px 0 0; font-size: .9rem; }
.app-card { border-color: var(--suite-line); box-shadow: var(--suite-shadow); }

.suite-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.suite-overview-card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 11px; min-height: 116px; padding: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--suite-colour), #fff 72%); border-radius: 18px; background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--suite-colour), #fff 95%)); text-align: left; box-shadow: 0 9px 24px rgba(10, 36, 78, .055); transition: .18s ease; }
.suite-overview-card::after { content: ""; position: absolute; width: 96px; height: 96px; right: -48px; top: -50px; border-radius: 50%; background: color-mix(in srgb, var(--suite-colour), transparent 88%); }
.suite-overview-card:hover { transform: translateY(-3px); box-shadow: 0 17px 38px color-mix(in srgb, var(--suite-colour), transparent 88%); }
.suite-overview-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--suite-colour); color: #fff; font-size: 1.1rem; }
.suite-overview-card div { min-width: 0; }
.suite-overview-card small { color: var(--suite-colour); font-weight: 850; }
.suite-overview-card strong { display: block; margin: 2px 0 4px; color: var(--suite-navy); font-size: 1.08rem; }
.suite-overview-card p { margin: 0; color: var(--suite-copy); font-size: .73rem; line-height: 1.42; }
.suite-overview-card > b { align-self: end; color: var(--suite-colour); font-size: .72rem; }
.suite-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.suite-dashboard-grid { align-items: start; }
.suite-next-work { grid-column: 1 / -1; }
.attention-list { display: grid; }
.attention-list > button { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 20px; gap: 11px; align-items: center; width: 100%; padding: 12px 4px; border: 0; border-bottom: 1px solid #e8eef5; background: transparent; text-align: left; }
.attention-list > button:hover { background: #f7faff; }
.attention-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #edf4ff; color: #1769ff; }
.attention-list strong, .attention-list small { display: block; }
.attention-list small { margin-top: 2px; color: #718096; }
.attention-clear { display: flex; gap: 13px; align-items: center; padding: 30px 8px; }
.attention-clear > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #e5f8ef; color: #08764a; font-size: 1.35rem; }
.attention-clear p { margin: 3px 0 0; color: var(--suite-copy); }

.suite-hub-hero, .product-workspace-hero { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 18px; padding: clamp(20px, 3vw, 30px); overflow: hidden; border: 1px solid color-mix(in srgb, var(--suite-colour, var(--product-colour)), #fff 70%); border-radius: 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--suite-colour, var(--product-colour)), #fff 93%), #fff 58%, color-mix(in srgb, var(--suite-colour, var(--product-colour)), #fff 96%)); }
.suite-hub-hero::after, .product-workspace-hero::after { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; top: -145px; border-radius: 50%; background: color-mix(in srgb, var(--suite-colour, var(--product-colour)), transparent 88%); }
.suite-hub-hero > span, .product-workspace-hero > span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: var(--suite-colour, var(--product-colour)); color: #fff; font-size: 1.65rem; box-shadow: 0 13px 28px color-mix(in srgb, var(--suite-colour, var(--product-colour)), transparent 75%); }
.suite-hub-hero h2, .product-workspace-hero h2 { margin: 3px 0 5px; font-size: clamp(1.35rem, 2.1vw, 1.85rem); }
.suite-hub-hero p, .product-workspace-hero p { max-width: 820px; margin: 0; color: var(--suite-copy); }
.suite-hub-hero small, .product-workspace-hero small { color: var(--suite-colour, var(--product-colour)); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.suite-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.suite-product-card { display: flex; flex-direction: column; min-height: 270px; padding: 20px; border: 1px solid #dce6f1; border-top: 5px solid var(--product-colour); border-radius: 21px; background: #fff; box-shadow: var(--suite-shadow); }
.suite-product-card.is-locked { background: linear-gradient(145deg, #fff, #f7f9fc); }
.suite-product-card header { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.suite-product-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--product-colour, #1769ff), #fff 84%); color: var(--product-colour, #1769ff); font-size: 1.3rem; }
.suite-product-card h2 { margin: 2px 0; font-size: 1.35rem; }
.suite-product-card > p { color: var(--suite-copy); }
.product-availability { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #eef2f7; color: #5f6e82; font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.product-availability.availability-available { background: #e4f8ee; color: #08764a; }
.product-availability.availability-early_access { background: #e8f7ff; color: #086d9e; }
.suite-module-chips, .shared-foundation-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.suite-module-chips { margin: 8px 0 18px; }
.suite-module-chips span, .shared-foundation-pills span { padding: 6px 9px; border-radius: 999px; background: #f1f5f9; color: #53647a; font-size: .68rem; text-transform: capitalize; }
.suite-product-card footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; }
.entitlement-label { color: #7a8798; font-size: .72rem; font-weight: 850; }
.entitlement-label.is-enabled { color: #08764a; }
.shared-foundation-card { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin-top: 16px; background: linear-gradient(135deg, #fff, #f2f7ff); }
.shared-foundation-card h3 { margin: 6px 0; }
.connected-workspace-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.connected-workspace-card { display: grid; gap: 7px; min-height: 142px; padding: 17px; border: 1px solid var(--suite-line); border-radius: 18px; background: #fff; text-align: left; box-shadow: var(--suite-shadow); }
.connected-workspace-card > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #edf4ff; color: #1769ff; font-size: 1.1rem; }
.connected-workspace-card strong { color: var(--suite-navy); }
.connected-workspace-card small { color: #1769ff; }
.product-workspace-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .62fr); gap: 16px; margin-top: 16px; align-items: start; }
.product-workspace-layout > .app-card { min-width: 0; }
.table-subcopy { display: block; max-width: 320px; margin-top: 2px; color: #7a8797; white-space: normal; }
.quick-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.quick-create-product { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 11px; align-items: center; padding: 13px; border: 1px solid color-mix(in srgb, var(--product-colour, #1769ff), #fff 72%); border-radius: 15px; background: #fff; text-align: left; }
.quick-create-product:hover { background: color-mix(in srgb, var(--product-colour, #1769ff), #fff 96%); }
.quick-create-product > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--product-colour, #1769ff), #fff 84%); color: var(--product-colour, #1769ff); }
.quick-create-product strong, .quick-create-product small { display: block; }
.quick-create-product small { color: #718096; }
.product-access-empty { max-width: 780px; padding: 42px; text-align: center; }
.product-access-empty .suite-product-icon { margin: 0 auto 16px; }
.product-access-empty .button-row { justify-content: center; }
.product-catalogue-status { display: block; margin-top: 5px; color: #6d7b8e; font-weight: 700; text-align: right; }

.notice-warn { margin: 0 0 16px; padding: 16px 18px; border: 1px solid #f3d28d; border-radius: 16px; background: #fff8e8; color: #744d00; }
.notice-warn strong, .notice-warn p { display: block; margin: 0; }
.notice-warn p { margin-top: 4px; line-height: 1.5; }
.team-access-section, .team-profile-section { margin-bottom: 18px; }
.team-access-section > .card-head, .team-profile-section > .card-head { align-items: flex-start; margin-bottom: 16px; }
.team-access-section h2, .team-profile-section h2 { margin: 4px 0; color: var(--suite-navy); font-size: 1.4rem; }
.team-access-section .card-head p, .team-profile-section .card-head p { max-width: 760px; margin: 0; color: var(--suite-copy); }
.team-access-section .team-card, .team-profile-section .team-card { padding: 16px; border: 1px solid var(--suite-line); border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(10, 36, 78, .045); }
.access-member-card { background: linear-gradient(145deg, #fff, #f5f9ff) !important; }
.access-member-card .staff-avatar { background: #e6efff; color: #0e5de7; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.permission-grid legend { margin-bottom: 8px; color: var(--suite-navy); font-weight: 850; }
.permission-grid label { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 10px; border: 1px solid #e2eaf3; border-radius: 12px; background: #f9fbfd; color: #43536b; font-size: .82rem; line-height: 1.35; }
.permission-grid input { flex: 0 0 auto; margin-top: 2px; }

/* Platform admin stays visibly separate from a business workspace. */
.admin-body .v7-sidebar { border-right-color: #cddaf0; background: linear-gradient(180deg, #071d46 0%, #0b2c63 100%); color: #fff; }
.admin-body .v7-sidebar .v7-brand { padding: 7px 10px; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(0, 12, 38, .18); }
.admin-body .v7-sidebar .v7-brand img { filter: none; }
.admin-body .v7-sidebar-kicker, .admin-body .nav-section-label { color: #91a7ca; }
.admin-body .v7-nav button, .admin-body .v7-nav-link { color: #d8e4f6; }
.admin-body .v7-nav button:hover, .admin-body .v7-nav button.active { color: #fff; background: rgba(255, 255, 255, .12); }
.admin-body .v7-sidebar-foot { background: transparent; }
.admin-body .v7-sidebar-foot .btn, .admin-body .v7-sidebar-foot .account-chip { border-color: rgba(255, 255, 255, .18); color: #fff; background: rgba(255, 255, 255, .08); }
.platform-context-topbar { border-bottom: 2px solid #d9e5f6; }

/* Platform command centre: compact, independently scrolling navigation. */
.admin-body {
  font-family: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-synthesis: none;
}
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body button,
.admin-body input,
.admin-body select,
.admin-body textarea { font-family: inherit; }
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4 { font-weight: 750; letter-spacing: -.02em; }

@media (min-width: 1101px) {
  .admin-body .admin-layout { grid-template-columns: 252px minmax(0, 1fr); }
  .admin-body .v7-sidebar { width: 252px; }
}

.admin-body .v7-sidebar {
  height: 100dvh;
  min-height: 0;
  padding: 14px 10px 10px;
  gap: 4px;
  overflow: hidden;
}
.admin-body .v7-sidebar-head { flex: 0 0 auto; padding: 0 8px 5px; }
.admin-body .v7-brand .brand-logo { width: 138px; max-height: 34px; }
.admin-body .v7-sidebar-kicker {
  flex: 0 0 auto;
  margin-top: 5px;
  padding: 5px 10px 7px;
  font-size: .58rem;
  line-height: 1.25;
}
.admin-body .v7-nav {
  flex: 1 1 auto;
  min-height: 0;
  gap: 2px;
  padding: 0 4px 12px 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, .34) transparent;
  scrollbar-width: thin;
}
.admin-body .v7-nav::-webkit-scrollbar { width: 7px; }
.admin-body .v7-nav::-webkit-scrollbar-track { background: transparent; }
.admin-body .v7-nav::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 255, 255, .3); }
.admin-body .v7-nav .nav-section-label {
  margin: 8px 8px 2px;
  padding: 0;
  font-size: .56rem;
  line-height: 1.3;
}
.admin-body .v7-nav button {
  min-height: 36px;
  padding: 6px 9px;
  gap: 8px;
  border-radius: 10px;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.2;
}
.admin-body .v7-nav button > b {
  width: 20px;
  flex-basis: 20px;
  font-size: .9rem;
}
.admin-body .v7-sidebar-foot {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
  padding: 8px 3px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.admin-body .v7-sidebar-foot > :first-child,
.admin-body .v7-sidebar-foot > :nth-child(2),
.admin-body .v7-sidebar-foot > .account-chip { grid-column: 1 / -1; }
.admin-body .v7-sidebar-foot .btn {
  min-height: 34px;
  padding: .45rem .6rem;
  border-radius: 10px;
  font-size: .7rem;
  line-height: 1.2;
}
.admin-body .v7-sidebar-foot .account-chip {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 11px;
}
.admin-body .v7-sidebar-foot .account-chip .avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  font-size: .72rem;
}
.admin-body .v7-sidebar-foot .account-chip > span:last-child { min-width: 0; }
.admin-body .v7-sidebar-foot .account-chip strong,
.admin-body .v7-sidebar-foot .account-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .v7-sidebar-foot .account-chip strong { font-size: .71rem; }
.admin-body .v7-sidebar-foot .account-chip small { font-size: .61rem; }
.admin-body .admin-mobile-scope-field { font-size: .65rem; }
.admin-body .admin-mobile-scope-field .admin-scope-select { min-height: 34px; font-size: .71rem; }

.admin-body .platform-context-copy .v7-crumb strong { font-size: 1rem; }
.admin-body .platform-context-copy .v7-crumb span { font-size: .9rem; }
.admin-body .platform-context-copy > small { font-size: .62rem; }
.admin-body .v7-topbar { min-height: 68px; height: 68px; padding-inline: 20px; }
.admin-body .v7-content { max-width: 1500px; padding: 18px 22px 80px; font-size: .87rem; }
.admin-body .v7-content .app-content-head { margin-bottom: 15px; }
.admin-body .v7-content .app-content-head h1,
.admin-body .admin-heading h1 {
  margin-bottom: .45rem;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1.04;
}
.admin-body .v7-content .app-content-head .lead,
.admin-body .admin-heading .lead { margin-top: .35rem; font-size: .86rem; line-height: 1.48; }
.admin-body .v7-content .admin-kpis { gap: 9px; margin-bottom: 13px; }
.admin-body .v7-content .admin-metric { min-height: 88px; padding: 12px 13px; border-radius: 13px; }
.admin-body .v7-content .admin-metric strong { margin-block: 5px 3px; font-size: 1.48rem; }
.admin-body .v7-content .admin-metric span,
.admin-body .v7-content .admin-metric small { font-size: .68rem; }
.admin-body .v7-content .app-card { padding: 15px; border-radius: 14px; }
.admin-body .v7-content .app-card h2 { font-size: clamp(1rem, 1.5vw, 1.22rem); }
.admin-body .v7-content .app-card h3,
.admin-body .v7-content .card-head h3 { font-size: .94rem; }
.admin-body .v7-content .app-card p,
.admin-body .v7-content .card-head p { font-size: .78rem; line-height: 1.42; }
.admin-body .v7-content .btn {
  min-height: 36px;
  padding: .52rem .78rem;
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 700;
}
.admin-body .v7-content .btn-small { min-height: 31px; padding: .38rem .62rem; font-size: .7rem; }
.admin-body .v7-content .field { gap: 4px; font-size: .72rem; }
.admin-body .v7-content .field input,
.admin-body .v7-content .field select,
.admin-body .v7-content .field textarea { min-height: 38px; padding: 7px 10px; font-size: .8rem; }

/* Dense data controls remain visible while long tenant and user lists scroll. */
.admin-body .admin-filter-bar {
  position: sticky;
  top: 76px;
  z-index: 12;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  box-shadow: 0 9px 24px rgba(10, 36, 78, .09);
}
.admin-body .admin-filter-bar label { gap: 3px; font-size: .63rem; }
.admin-body .admin-filter-bar input,
.admin-body .admin-filter-bar select { height: 37px; border-radius: 9px; font-size: .76rem; }
.admin-body .table-tools { margin-bottom: 9px; }
.admin-body .table-tools input { min-height: 37px; font-size: .78rem; }
.admin-body .table-scroll { max-height: min(66vh, 720px); overflow: auto; }
.admin-body .admin-table thead th { position: sticky; z-index: 2; top: 0; background: #f7faff; }
.admin-body .v7-content .admin-table { font-size: .76rem; }
.admin-body .v7-content .admin-table th { padding: 8px 9px; font-size: .6rem; }
.admin-body .v7-content .admin-table td { padding: 8px 9px; }
.admin-body .v7-content .admin-table td strong { font-size: .78rem; }
.admin-body .v7-content .admin-table td small { font-size: .64rem; }
.admin-body .v7-content .row-actions { gap: 4px; }
.admin-body .v7-content .row-actions button,
.admin-body .v7-content .row-actions a,
.admin-body .user-quick-actions button { min-height: 29px; padding: 5px 7px; border-radius: 8px; font-size: .67rem; font-weight: 700; }
.admin-body .tenant-control-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; margin-bottom: 13px; }
.admin-body .tenant-control-card { border-radius: 14px; box-shadow: 0 5px 17px rgba(20, 45, 80, .05); }
.admin-body .tenant-card-accent span { left: 12px; top: 13px; width: 36px; height: 36px; border-radius: 10px; font-size: 17px; }
.admin-body .tenant-card-body { padding: 11px 11px 10px 52px; }
.admin-body .tenant-card-head h3 { font-size: .88rem; }
.admin-body .tenant-card-head p,
.admin-body .tenant-card-description { font-size: .68rem !important; }
.admin-body .tenant-card-description { min-height: 0; margin: 7px 0 !important; }
.admin-body .tenant-relation-strip { gap: 4px; }
.admin-body .tenant-relation-strip span { padding: 5px 3px; border-radius: 8px; }
.admin-body .tenant-relation-strip b { font-size: .8rem; }
.admin-body .tenant-relation-strip small { font-size: .55rem; }
.admin-body .tenant-card-footer { margin-top: 8px; padding-top: 7px; font-size: .63rem; }

/* Products are an operational registry, with expansion for modules and usage. */
.admin-body .v1-product-grid { display: grid; grid-template-columns: 1fr; gap: 7px; }
.admin-body .v1-product-card {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--suite-line);
  border-left: 4px solid var(--product);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(10, 36, 78, .045);
}
.admin-body .v1-product-card summary {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 9px 12px;
}
.admin-body .v1-product-card summary:hover { background: #f7faff; }
.admin-body .v1-product-card[open] summary { border-bottom: 1px solid #e5edf6; background: #f9fbfe; }
.admin-body .v1-product-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: .95rem;
}
.admin-body .v1-product-card summary small {
  display: block;
  font-size: .55rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.admin-body .v1-product-card summary h2 { margin: 1px 0; font-size: .9rem; line-height: 1.15; }
.admin-body .v1-product-card summary p {
  max-width: 820px;
  margin: 2px 0 0;
  overflow: hidden;
  color: #687991;
  font-size: .69rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .v1-product-card .status-badge { font-size: .57rem; }
.admin-body .v1-product-card > .admin-kpis { padding: 9px 12px 0; }
.admin-body .v1-product-card > .admin-kpis .admin-metric { min-height: 72px; }
.admin-body .v1-product-card .v1-module-list {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 5px;
  margin: 9px 12px 12px;
}
.admin-body .v1-product-card .v1-module-list button {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: .68rem;
}

@media (max-width: 1100px) {
  .admin-body .v7-sidebar { width: min(82vw, 286px); }
  .admin-body .v7-topbar { height: auto; min-height: 64px; }
  .admin-body .v7-content { padding: 15px 14px 86px; }
  .admin-body .admin-filter-bar { top: 70px; }
}

@media (max-width: 560px) {
  .admin-body .v1-product-card summary { grid-template-columns: 34px minmax(0, 1fr); }
  .admin-body .v1-product-card summary .status-badge { grid-column: 2; width: max-content; }
  .admin-body .v1-product-card summary p { white-space: normal; }
}

@media (max-height: 720px) {
  .admin-body .v7-sidebar-foot .account-chip { display: none; }
  .admin-body .v7-sidebar-foot .btn { min-height: 31px; padding-block: .35rem; }
}

@media (max-width: 1250px) {
  .suite-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suite-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .connected-workspace-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .app-layout { display: block; }
  .v7-sidebar { position: fixed; z-index: 1001; left: 0; top: 0; bottom: 0; transform: translateX(-105%); transition: transform .22s ease; }
  .tenant-nav-open .tenant-sidebar, .admin-nav-open .admin-sidebar { transform: translateX(0); }
  .v7-content { padding: 20px 18px 110px; }
  .product-workspace-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .v7-topbar { min-height: 62px; padding: 0 12px; }
  .workspace-type-pill, .top-account-copy, .workspace-switcher-label > span { display: none !important; }
  .workspace-switcher-label { max-width: 46vw; }
  .workspace-switcher-label select { width: 100%; min-width: 0; }
  .v7-content { padding: 16px 12px calc(104px + env(safe-area-inset-bottom)); overflow-x: hidden; }
  .app-content-head { display: grid; align-items: start; }
  .app-content-head h1 { font-size: clamp(1.8rem, 9vw, 2.45rem); }
  .app-content-head .lead { font-size: .9rem; }
  .app-content-head .button-row { width: 100%; margin-top: 5px; }
  .app-content-head .button-row .btn { flex: 1 1 auto; min-width: 0; }
  .suite-overview, .suite-product-grid, .connected-workspace-grid, .shared-foundation-card { grid-template-columns: 1fr; }
  .suite-overview-card { min-height: 116px; grid-template-columns: 40px minmax(0, 1fr) auto; padding: 14px; }
  .suite-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .suite-kpis .admin-metric { min-width: 0; padding: 14px; }
  .suite-kpis .admin-metric strong { font-size: 1.65rem; }
  .suite-hub-hero, .product-workspace-hero { grid-template-columns: 48px minmax(0, 1fr); padding: 18px; }
  .suite-hub-hero > span, .product-workspace-hero > span { width: 48px; height: 48px; border-radius: 15px; font-size: 1.25rem; }
  .suite-hub-hero > .btn, .product-workspace-hero > .btn { grid-column: 1 / -1; width: 100%; }
  .suite-product-card { min-height: 0; padding: 16px; }
  .suite-product-card header { grid-template-columns: 44px minmax(0, 1fr); }
  .suite-product-card .product-availability { grid-column: 1 / -1; width: max-content; }
  .suite-product-card footer { align-items: stretch; flex-direction: column; }
  .quick-create-grid { grid-template-columns: 1fr; }
  .permission-grid { grid-template-columns: 1fr; }
  .team-access-section > .card-head, .team-profile-section > .card-head { display: grid; gap: 8px; }
  .attention-list > button { grid-template-columns: 36px minmax(0, 1fr) 16px; }
  .attention-list > button .status-badge { display: none; }
  .admin-dashboard-grid, .app-panel-grid { grid-template-columns: 1fr !important; }
  .app-card { padding: 15px; border-radius: 17px; }
  .table-scroll { margin-inline: -15px; padding-inline: 15px; }
  .tenant-mobile-nav { height: calc(72px + env(safe-area-inset-bottom)); padding: 7px 3px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid #d9e4f0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); box-shadow: 0 -12px 32px rgba(9, 33, 73, .1); }
  .tenant-mobile-nav button { color: #5d6d83 !important; font-size: .95rem; }
  .tenant-mobile-nav button.active { color: #1769ff !important; }
  .tenant-mobile-nav .mobile-primary-action { transform: translateY(-12px); }
  .tenant-mobile-nav .mobile-primary-action b { width: 52px; height: 52px; border-width: 4px; font-size: 1.4rem; }
  .tenant-mobile-nav button span { font-size: .61rem !important; }
}

/* Platform pricing catalogue: dense, searchable-table friendly and scalable. */
.catalogue-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.catalogue-section{padding:0;overflow:hidden}.catalogue-section>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;cursor:pointer;list-style:none}.catalogue-section>summary::-webkit-details-marker{display:none}.catalogue-section>summary span{display:grid;gap:3px}.catalogue-section>summary small{color:var(--muted)}.catalogue-section>summary>b{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:12px;background:#eef4ff;color:#145bd7}.catalogue-section[open]>summary{border-bottom:1px solid var(--line)}.catalogue-section .table-scroll{border:0;border-radius:0}.catalogue-split{display:grid;grid-template-columns:1fr 1fr;gap:0}.catalogue-split>div{min-width:0}.catalogue-split>div+div{border-left:1px solid var(--line)}.catalogue-split h3{margin:0;padding:15px 18px 8px;font-size:1rem}.catalogue-section .icon-action{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #c9d8f2;border-radius:10px;background:#fff;color:#145bd7;font-weight:900;cursor:pointer}.catalogue-section .admin-table td small{display:block;max-width:52ch;margin-top:3px;color:var(--muted)}
.portal-back-button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border:1px solid #cbdaf0;border-radius:11px;color:#0f4fae;background:#fff;font-size:1.05rem;font-weight:900;cursor:pointer}.portal-back-button:hover{background:#eef4ff}.platform-calendar-days{display:grid;gap:12px}.platform-calendar-day{padding:0;overflow:hidden;scroll-margin-top:90px}.platform-calendar-day>header{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #e2eaf4}.platform-calendar-day>header h3{margin:0;font-size:.98rem}.platform-calendar-day>header span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:9px;background:#edf4ff;color:#145bd7;font-weight:850}.platform-calendar-row{display:grid;grid-template-columns:68px minmax(190px,1.4fr) minmax(160px,1fr) auto 12px;gap:12px;align-items:center;padding:11px 16px;border-bottom:1px solid #edf1f6;color:#10295a;text-decoration:none}.platform-calendar-row:hover{background:#f6f9fd}.platform-calendar-row time{font-weight:850;color:#145bd7}.platform-calendar-row>span{display:grid;min-width:0}.platform-calendar-row small{margin-top:2px;overflow:hidden;color:#718198;font-size:.69rem;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.catalogue-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-split{grid-template-columns:1fr}.catalogue-split>div+div{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:640px){.catalogue-kpis{grid-template-columns:1fr}.catalogue-section>summary{padding:14px}.catalogue-section>summary small{font-size:.76rem}.catalogue-section .admin-table{min-width:760px}.portal-back-button{width:34px;height:34px}.platform-calendar-row{grid-template-columns:52px minmax(0,1fr) auto;padding:10px}.platform-calendar-row>span:nth-of-type(2),.platform-calendar-row>b{display:none}}

@media (max-width: 430px) {
  .suite-kpis { grid-template-columns: 1fr 1fr; }
  .suite-overview-card p { display: none; }
  .suite-overview-card { min-height: 92px; }
  .suite-product-card h2 { font-size: 1.18rem; }
  .product-workspace-hero h2, .suite-hub-hero h2 { font-size: 1.3rem; }
  .product-workspace-hero p, .suite-hub-hero p { font-size: .8rem; }
}

/* Connected shared capabilities: compact enough for large organisations. */
.shared-capability-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid #d9e6f4;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(120deg, #092658, #1056c8 64%, #11b9d2);
  box-shadow: 0 15px 35px rgba(12, 66, 144, .15);
}
.shared-capability-hero .eyebrow { color: #aeeaff; }
.shared-capability-hero h2 { max-width: 820px; margin: 4px 0 7px; color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.08; }
.shared-capability-hero p { max-width: 820px; margin: 0; color: #dceaff; font-size: .83rem; line-height: 1.55; }
.channel-icon-row { display: grid; grid-template-columns: repeat(3, 44px); gap: 7px; }
.channel-icon-row span,
.document-stack-visual span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 13px; background: rgba(255,255,255,.13); font-weight: 800; backdrop-filter: blur(8px); }
.document-capability { background: linear-gradient(120deg, #301477, #7250ce 62%, #d248c4); }
.document-stack-visual { display: flex; align-items: center; padding-right: 12px; }
.document-stack-visual span { margin-right: -10px; background: rgba(255,255,255,.18); font-size: .7rem; }
.document-stack-visual span:last-child { color: #172c5d; background: #fff; font-size: 1rem; transform: translateY(8px); }
.compact-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 15px; }
.compact-kpis .admin-metric { min-height: 102px; }
.inbox-thread-list { display: grid; gap: 3px; }
.inbox-thread-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto 16px; gap: 10px; align-items: center; width: 100%; min-height: 58px; padding: 8px 10px; border: 0; border-bottom: 1px solid #e5edf6; color: #10295a; background: transparent; text-align: left; cursor: pointer; }
.inbox-thread-row:hover { border-radius: 11px; background: #f3f7fd; }
.inbox-source-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; color: #135bd5; background: #e9f2ff; font-weight: 800; }
.inbox-thread-copy { display: grid; min-width: 0; }
.inbox-thread-copy strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.inbox-thread-copy small { margin-top: 3px; overflow: hidden; color: #6c7c93; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.inbox-unread { display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; border-radius: 999px; color: #fff; background: #1769ff; font-size: .63rem; }
.inbox-conversation-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-bottom: 13px; border-bottom: 1px solid #e1e9f3; }
.inbox-conversation-head > div { display: grid; }
.inbox-conversation-head small { margin-top: 2px; color: #718198; font-size: .7rem; }
.inbox-message-thread { display: grid; gap: 8px; max-height: 38vh; padding: 12px 0; overflow-y: auto; }
.inbox-message { width: min(86%, 650px); padding: 10px 12px; border: 1px solid #dbe5f1; border-radius: 13px; background: #f7f9fc; }
.inbox-message.outbound { justify-self: end; background: #edf5ff; }
.inbox-message.internal { width: 100%; border-style: dashed; background: #fffaf0; }
.inbox-message small,
.inbox-message > span { color: #718198; font-size: .63rem; }
.inbox-message p { margin: 5px 0; font-size: .78rem; line-height: 1.5; white-space: pre-wrap; }
.document-library-grid { display: grid; gap: 5px; }
.document-library-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; width: 100%; min-height: 70px; padding: 9px 11px; border: 1px solid #e0e8f2; border-radius: 13px; color: #10295a; background: #fff; text-align: left; cursor: pointer; }
.document-library-card:hover { border-color: #9fc1f5; box-shadow: 0 8px 19px rgba(29,84,154,.08); }
.document-type-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #6842c3; background: #f0ebff; font-weight: 800; }
.document-library-card > div { display: grid; min-width: 0; }
.document-library-card > div small { color: #75849a; font-size: .61rem; text-transform: capitalize; }
.document-library-card > div strong { margin: 2px 0; overflow: hidden; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.document-library-card p { margin: 0; overflow: hidden; color: #64758d; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.document-library-card > span:last-child { display: grid; justify-items: end; gap: 4px; }
.document-library-card > span:last-child small { color: #75849a; font-size: .58rem; }
.record-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin: 0; }
.record-detail-list div { padding: 9px 10px; border-radius: 10px; background: #f5f8fc; }
.record-detail-list dt { color: #718198; font-size: .61rem; }
.record-detail-list dd { margin: 3px 0 0; font-size: .75rem; font-weight: 750; }
.icon-action { width: 30px; height: 30px; border: 1px solid #d5e0ee; border-radius: 8px; color: #154fa9; background: #fff; cursor: pointer; }
.release-working { border-color: #b8e5d4; background: #f1fbf7; }

@media (max-width: 760px) {
  .app-content-head h1 { font-size: clamp(1.42rem, 7vw, 1.9rem); }
  .shared-capability-hero { grid-template-columns: 1fr; gap: 14px; padding: 17px; border-radius: 17px; }
  .channel-icon-row { grid-template-columns: repeat(6, 34px); }
  .channel-icon-row span { width: 34px; height: 34px; border-radius: 10px; }
  .compact-kpis { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .compact-kpis .admin-metric { min-height: 82px; padding: 10px; }
  .compact-kpis .admin-metric strong { font-size: 1.35rem; }
  .inbox-thread-row { grid-template-columns: 34px minmax(0,1fr) auto 13px; gap: 7px; padding-inline: 4px; }
  .inbox-thread-row .status-badge { display: none; }
  .document-library-card { grid-template-columns: 38px minmax(0,1fr); }
  .document-library-card > span:last-child { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; }
  .record-detail-list { grid-template-columns: 1fr 1fr; }
}
.v12-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v12-template-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid var(--line,#d8e3ef);border-radius:14px;background:#fff;color:var(--ink,#102a58);text-align:left}.v12-template-card>.v12-template-icon,.v15-template-preview .v12-template-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,#e8f1ff,#f5eafd);color:#1769ff;font-size:1rem;font-weight:850}.v12-template-card small,.v12-template-card h3,.v12-template-card p{display:block}.v12-template-card small{color:#6f8097;font-size:.67rem;text-transform:uppercase;letter-spacing:.04em}.v12-template-card h3{margin:3px 0 4px;font-size:.94rem}.v12-template-card p{margin:0 0 8px;color:#60728b;font-size:.76rem;line-height:1.45}.v12-template-card em{margin-left:6px;color:#718096;font-style:normal;font-size:.68rem}.v15-template-actions{display:flex;gap:6px;align-items:center}.v15-template-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:18px;align-items:start}.v15-template-editor>aside{position:sticky;top:8px}.v15-advanced-data{padding:10px;border:1px solid #d8e3ef;border-radius:11px;background:#f8fafd}.v15-advanced-data summary{cursor:pointer;color:#254b7c;font-weight:750}.v15-template-preview{padding:17px;border:1px solid #d8e3ef;border-radius:15px;background:#fff;box-shadow:0 12px 30px rgba(15,42,78,.06)}.v15-template-preview>header{display:grid;grid-template-columns:42px 1fr;gap:11px}.v15-template-preview h3{margin:2px 0 4px;font-size:1rem}.v15-template-preview header p{margin:0;color:#61738b;font-size:.77rem}.v15-template-preview ol{display:grid;gap:6px;margin:14px 0;padding:0;list-style:none}.v15-template-preview li{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:center;padding:9px;border:1px solid #e0e8f1;border-radius:10px}.v15-template-preview li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#edf4ff;color:#1769ff;font-size:.7rem;font-weight:850}.v15-template-preview li div{display:grid}.v15-template-preview li small{color:#718096}.v15-template-preview blockquote{margin:14px 0;padding:13px;border-left:4px solid #1769ff;border-radius:0 10px 10px 0;background:#f2f7ff;color:#29486f;white-space:pre-wrap}.v15-template-flow{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:14px 0}.v15-template-flow span{padding:8px;border:1px solid #d9e4ef;border-radius:9px;background:#f8fbff}.v15-template-flow small,.v15-template-flow b{display:block}.v15-template-flow small{color:#718096;font-size:.62rem}.v15-template-rules{display:grid;gap:6px}.v15-template-rules div{display:flex;justify-content:space-between;gap:10px;padding:7px;border-bottom:1px solid #e2eaf2}.v15-template-rules dt{color:#687a91}.v15-template-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:12px}.v15-template-meta span{padding:8px;border-radius:9px;background:#f4f7fb}.v15-template-meta small,.v15-template-meta b{display:block}.v15-template-meta small{color:#718096;font-size:.62rem}
@media(max-width:900px){.v12-template-grid{grid-template-columns:1fr}.v15-template-editor{grid-template-columns:1fr}.v15-template-editor>aside{position:static}}
@media(max-width:600px){.v12-template-card{grid-template-columns:38px minmax(0,1fr)}.v15-template-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.v15-template-actions .btn{width:100%}.v15-template-meta{grid-template-columns:1fr}}


/* Business Hub V1.2 — shared tenant/client shell, visible modules and faster navigation. */
.tenant-admin-body .btn-primary,
.tenant-admin-body .btn-primary:link,
.tenant-admin-body .btn-primary:visited,
.tenant-admin-body button.btn-primary,
.tenant-admin-body a.btn-primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}
.tenant-admin-body .btn-primary:hover,
.tenant-admin-body .btn-primary:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.business-home-sections { display: grid; gap: 18px; }
.business-home-section { min-width: 0; }
.business-section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.business-section-head h2 { margin: 4px 0; color: var(--suite-navy); font-size: clamp(1.25rem, 2vw, 1.65rem); }
.business-section-head p { max-width: 760px; margin: 0; color: var(--suite-copy); }
.business-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.business-family-card { display: block; min-height: 0; padding: 0; }
.business-family-card > header { position: relative; z-index: 1; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: start; padding: 15px 15px 12px; }
.business-family-card > header > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--suite-colour); color: #fff; font-size: 1.08rem; }
.business-family-card > header > b { align-self: end; color: var(--suite-colour); font-size: .72rem; }
.business-product-lines { position: relative; z-index: 1; display: grid; border-top: 1px solid color-mix(in srgb, var(--suite-colour), #fff 82%); background: rgba(255, 255, 255, .72); }
.business-product-line { display: grid; grid-template-columns: minmax(100px, .42fr) minmax(0, 1fr) 28px; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #e9eff6; }
.business-product-line:last-child { border-bottom: 0; }
.business-product-line strong { margin: 0; color: var(--suite-navy); font-size: .79rem; }
.business-product-line small { min-width: 0; overflow: hidden; color: #6b7b90; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.business-product-line b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 9px; background: color-mix(in srgb, var(--suite-colour), #fff 88%); color: var(--suite-colour); font-size: .68rem; }
.business-calendar-card { padding: 0; overflow: hidden; border-color: #bfd4f5; }
.business-calendar-card > .card-head { margin: 0; padding: 19px 20px; background: linear-gradient(135deg, #f4f8ff, #fff 64%, #f5f0ff); }
.business-calendar-card h2, .business-jump-card h2 { margin: 4px 0; font-size: 1.35rem; }
.business-calendar-card .card-head p, .business-jump-card .card-head p { max-width: 720px; margin: 0; color: var(--suite-copy); }
.business-calendar-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dfe9f6; border-bottom: 1px solid #dfe9f6; }
.business-calendar-summary > * { display: grid; min-width: 0; gap: 3px; padding: 15px 18px; border: 0; border-right: 1px solid #e2eaf4; background: #fff; color: var(--suite-navy); text-align: left; text-decoration: none; }
.business-calendar-summary > *:last-child { border-right: 0; }
.business-calendar-summary > *:hover { background: #f7faff; }
.business-calendar-summary span { color: #64758b; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.business-calendar-summary strong { color: #1769ff; font-size: 1.45rem; }
.business-calendar-summary small { overflow: hidden; color: #718096; text-overflow: ellipsis; white-space: nowrap; }
.business-next-list { display: grid; padding: 4px 16px 10px; }
.business-next-list > button { display: grid; grid-template-columns: 94px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; min-width: 0; padding: 12px 4px; border: 0; border-bottom: 1px solid #e8eef5; background: transparent; text-align: left; }
.business-next-list > button:last-child { border-bottom: 0; }
.business-next-list > button:hover { background: #f7faff; }
.business-next-list time { color: #1769ff; font-weight: 850; }
.business-next-list span { min-width: 0; }
.business-next-list strong, .business-next-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.business-next-list small { margin-top: 2px; color: #718096; }
.business-calendar-empty { display: flex; gap: 10px; align-items: center; padding: 20px; color: #65758a; }
.business-calendar-empty > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #e7f8ef; color: #08764a; font-weight: 900; }
.business-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.business-jump-card { background: linear-gradient(145deg, #fff, #f5f9ff); }
.business-jump-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.business-jump-action { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; padding: 11px; border: 1px solid #dce7f3; border-radius: 14px; background: #fff; color: var(--suite-navy); text-align: left; }
.business-jump-action:hover { border-color: #9dbff5; background: #f7faff; }
.business-jump-action > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #edf4ff; color: #1769ff; font-weight: 900; }
.business-jump-action strong, .business-jump-action small { display: block; min-width: 0; }
.business-jump-action strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.business-jump-action small { margin-top: 2px; color: #718096; font-size: .65rem; line-height: 1.3; }
.business-quick-dock { position: fixed; z-index: 45; top: 50%; right: 14px; display: grid; gap: 7px; width: 58px; padding: 8px; border: 1px solid #d7e4f3; border-radius: 20px; background: rgba(255, 255, 255, .98); box-shadow: 0 16px 44px rgba(9, 33, 73, .16); transform: translateY(-50%); }
.business-quick-dock .business-jump-action.is-compact { display: grid; grid-template-columns: 1fr; place-items: center; width: 40px; height: 44px; padding: 3px; border: 0; background: transparent; }
.business-quick-dock .business-jump-action.is-compact:hover { background: #edf4ff; }
.business-quick-dock .business-jump-action.is-compact > span { width: 34px; height: 34px; }
.business-quick-dock .business-jump-action.is-compact > div { display: none; }
.jump-create-section + .jump-create-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3eaf3; }
.jump-create-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.jump-create-heading > span { color: var(--suite-navy); font-weight: 900; }
.jump-create-heading > small { color: #718096; }
.quick-create-product.jump-destination > b { color: #1769ff; }
.workspace-preference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.business-hub-settings-card { border-top: 4px solid #1769ff; background: linear-gradient(145deg, #fff, #f4f8ff); }
.table-scroll { width: 100%; max-width: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable both-edges; }
.table-scroll > table { width: max-content; min-width: 100%; }
.table-scroll thead th { position: sticky; z-index: 3; top: 0; background: #f8fafc; box-shadow: 0 1px 0 #dfe7f0; }
.table-scroll th:first-child, .table-scroll td:first-child { position: sticky; z-index: 2; left: 0; background: #fff; box-shadow: 1px 0 0 #e5ecf4; }
.table-scroll thead th:first-child { z-index: 4; background: #f8fafc; }
.table-scroll th:last-child, .table-scroll td:last-child { position: sticky; z-index: 2; right: 0; background: #fff; box-shadow: -1px 0 0 #e5ecf4; }
.table-scroll thead th:last-child { z-index: 4; background: #f8fafc; }
body[data-table-density="compact"] .admin-table th,
body[data-table-density="compact"] .admin-table td,
body[data-table-density="compact"] .app-table th,
body[data-table-density="compact"] .app-table td { padding-top: 7px !important; padding-bottom: 7px !important; font-size: .72rem; }
.drawer-scrim { background: rgba(4, 14, 29, .58) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.tenant-sidebar { filter: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; opacity: 1 !important; isolation: isolate; }
.tenant-nav-open .tenant-sidebar { filter: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.client-preview-banner strong { font-size: .88rem; }

@media (max-width: 1320px) {
  .business-quick-dock { display: none; }
  .business-jump-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .business-family-grid { grid-template-columns: 1fr; }
  .business-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .business-section-head { display: grid; align-items: start; }
  .business-section-head .btn { width: 100%; }
  .business-family-card > header { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .business-product-line { grid-template-columns: minmax(86px, .42fr) minmax(0, 1fr) 26px; padding-inline: 12px; }
  .business-calendar-card > .card-head { display: grid; gap: 12px; padding: 16px; }
  .business-calendar-card > .card-head .button-row { width: 100%; }
  .business-calendar-card > .card-head .btn { flex: 1 1 0; min-width: 0; }
  .business-calendar-summary { grid-template-columns: 1fr 1fr; }
  .business-calendar-summary > * { border-bottom: 1px solid #e2eaf4; }
  .business-calendar-summary > *:nth-child(2) { border-right: 0; }
  .business-calendar-summary > *:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .business-next-list { padding-inline: 12px; }
  .business-next-list > button { grid-template-columns: 72px minmax(0, 1fr) 18px; gap: 9px; }
  .business-next-list .status-badge { display: none; }
  .business-jump-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-jump-action { grid-template-columns: 34px minmax(0, 1fr); padding: 9px; }
  .business-jump-action > span { width: 32px; height: 32px; }
  .workspace-preference-grid { grid-template-columns: 1fr; }
  .table-scroll { margin-inline: 0 !important; padding-inline: 0 !important; border: 1px solid #e0e8f2; border-radius: 14px; }
  .tenant-sidebar { z-index: 1101 !important; width: min(330px, 89vw) !important; background: #fff !important; box-shadow: 24px 0 60px rgba(4, 19, 47, .25) !important; }
  .drawer-scrim { z-index: 1100 !important; }
  .tenant-mobile-nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; }
  .tenant-mobile-nav .mobile-primary-action { transform: translateY(-15px); }
  .tenant-mobile-nav .mobile-primary-action b { width: 58px; height: 58px; border: 5px solid #fff; border-radius: 19px; background: linear-gradient(135deg, #1769ff, #0aa7e8 58%, #a83bd7); color: #fff; box-shadow: 0 12px 26px rgba(23, 105, 255, .34); }
}
@media (max-width: 430px) {
  .business-family-card > header p { display: block; }
  .business-product-line small { font-size: .62rem; }
  .business-jump-grid { grid-template-columns: 1fr 1fr; }
  .business-jump-action small { display: none; }
}
