/* SEGGUE 5.2 consolidated styles: workspace + components. */
/* SEGGUE COMPACT 4.1
   A single purpose-built UI for the management app. No legacy visual 2.x/3.x
   layers are enqueued. Density reference: 2-column operational dashboard. */
body.seggue-workspace-v4 {
 --sg-bg:#f3f6f5;--sg-surface:#fff;--sg-subtle:#f7f9f8;--sg-border:#dce5e1;
 --sg-ink:#182a24;--sg-muted:#6c8075;--sg-sidebar:#12241f;--sg-sidebar-hover:#1b4533;
 --sg-green:#07805c;--sg-accent:#1fd58b;--sg-green-soft:#e5f5ec;--sg-red:#d94239;
 --sg-radius:11px;--sg-shadow:0 1px 3px rgba(7,25,17,.025);
 background:var(--sg-bg)!important;color:var(--sg-ink);font-size:12.5px;
}
html[data-lg-theme="dark"] body.seggue-workspace-v4 {
 --sg-bg:#10191f;--sg-surface:#17242d;--sg-subtle:#1b2c35;--sg-border:#30414b;
 --sg-ink:#f0f6f6;--sg-muted:#a5b9bd;--sg-sidebar:#101b22;--sg-sidebar-hover:#123b2d;
 --sg-green:#68eaaa;--sg-accent:#64eaa6;--sg-green-soft:#16412f;--sg-shadow:none;
}
body.seggue-workspace-v4 .site-main {max-width:none!important;min-height:100vh;margin:0!important;padding:0!important;animation:none!important}
body.seggue-workspace-v4 .site-footer{display:none!important}
body.seggue-workspace-v4 .sg-shell{display:grid!important;grid-template-columns:215px minmax(0,1fr)!important;min-height:100vh;margin:0!important;gap:0!important;isolation:isolate}
body.seggue-workspace-v4 .sg-shell *{box-sizing:border-box}
body.seggue-workspace-v4 .sg-sidebar{position:sticky;top:0;align-self:start;display:flex;flex-direction:column;width:215px;height:100vh;min-height:0;max-height:100vh;background:var(--sg-sidebar);color:#b9cfc5;z-index:60;overflow-x:hidden;box-shadow:none!important}
.sg-sidebar-brand{height:66px;min-height:66px;display:flex;align-items:center;justify-content:space-between;padding:12px 21px 5px}
.sg-sidebar-brand a{display:inline-flex;align-items:center}
.sg-sidebar-brand img{display:block;width:142px;height:28px;object-fit:contain}
.sg-close{display:none}
.sg-sidebar-product{display:flex;align-items:center;gap:7px;height:37px;min-height:37px;padding:0 19px 11px;color:#85a999;font-size:10px;font-weight:740;letter-spacing:.12em;white-space:nowrap}
.sg-live-dot{display:block;flex:none;width:6px;height:6px;background:#4be9a0;box-shadow:0 0 0 3px #50cc9130;border-radius:50%}
.sg-sidebar-version{margin-left:auto;padding:3px 7px;background:#2b483b;border-radius:8px;color:#b5ddc5;letter-spacing:0;font-size:10px}
.sg-sidebar-nav{flex:1;min-height:0;overflow:auto;padding:4px 10px 15px;scrollbar-width:thin;scrollbar-color:#39574c transparent}
.sg-nav-section{margin:0 0 9px}
.sg-nav-section h2{font-size:10.5px!important;font-weight:760!important;color:#90a99b!important;letter-spacing:.12em!important;line-height:1.4!important;padding:7px 10px!important;margin:0 0 3px!important}
.sg-nav-section ul{list-style:none!important;margin:0!important;padding:0!important}
.sg-nav-section li{list-style:none!important;margin:1px 0!important}
.sg-nav-section a{min-height:35px;display:flex;align-items:center;gap:10px;padding:7px 11px;border-radius:7px;color:#bacdc4!important;text-decoration:none!important;font-size:12px!important;font-weight:550;line-height:1.15!important;transition:background .15s ease,color .15s ease}
.sg-nav-section a>.dashicons{flex:none;width:17px;height:17px;font-size:16px;line-height:17px;opacity:.93}
.sg-nav-section a:hover{background:#254639!important;color:#fff!important}
.sg-nav-section a[aria-current="page"]{background:#13573c!important;color:#fff!important;font-weight:700;box-shadow:inset 2px 0 #58e6a0}
.sg-active-pin{margin-left:auto;width:5px;height:5px;flex:none;border-radius:100%;background:#67ebb0}
.sg-nav-expand{margin-top:5px}
.sg-nav-expand summary{display:flex;align-items:center;gap:10px;padding:9px 10px;cursor:pointer;color:#a9c4b5;font-size:10px;font-weight:740;letter-spacing:.08em;list-style:none;border-radius:7px}
.sg-nav-expand summary:hover{background:#1b392f}
.sg-nav-expand summary::-webkit-details-marker{display:none}
.sg-nav-expand summary>.dashicons{font-size:15px;width:16px;height:16px;line-height:16px}
.sg-expand-arrow{margin-left:auto;font-size:14px;line-height:1;transition:transform .15s}
.sg-nav-expand[open] .sg-expand-arrow{transform:rotate(180deg)}
.sg-sidebar-footer{padding:9px 10px 12px;border-top:1px solid #ffffff1b;display:grid;gap:1px}
.sg-sidebar-footer a{height:35px;min-height:35px;display:flex;align-items:center;gap:9px;padding:7px 11px;border-radius:7px;color:#b6c9bf!important;font-size:11.5px!important;font-weight:590;text-decoration:none!important}
.sg-sidebar-footer a:hover{color:#fff!important;background:#1f4234}
.sg-sidebar-footer .dashicons{font-size:16px;width:17px;height:17px;line-height:17px}
.sg-open-external{margin-left:auto}
body.seggue-workspace-v4 .sg-content{min-width:0;display:flex;flex-direction:column;background:var(--sg-bg)}
.sg-topbar{height:60px;min-height:60px;display:flex;align-items:center;gap:14px;padding:0 23px;background:var(--sg-surface);border-bottom:1px solid var(--sg-border);position:sticky;top:0;z-index:45}
.sg-top-left{display:flex;align-items:center;gap:10px;flex:none;min-width:0}
.sg-breadcrumb{display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap;color:var(--sg-muted)}
.sg-breadcrumb a{color:var(--sg-green)!important;text-decoration:none!important}
.sg-breadcrumb strong{font-weight:700;color:var(--sg-ink)}
.sg-menu-trigger{display:none}
.sg-global-search{position:relative;width:min(100%,445px);max-width:445px;min-width:120px;height:36px;margin:0 auto!important;flex:1}
.sg-global-search>.dashicons{position:absolute;left:11px;top:9px;color:var(--sg-muted);font-size:18px;width:18px;height:18px;z-index:1;pointer-events:none}
body.seggue-workspace-v4 .sg-global-search input[type=search]{display:block;width:100%;height:36px;min-height:36px;line-height:18px;padding:7px 55px 7px 37px!important;background:var(--sg-subtle)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;border-radius:8px!important;box-shadow:none!important;font-size:11px!important}
.sg-global-search input::placeholder{color:var(--sg-muted)}
.sg-global-search kbd{position:absolute;right:9px;top:8px;font-family:inherit;font-size:10px;line-height:18px;padding:0 4px;border:1px solid var(--sg-border);border-radius:4px;color:var(--sg-muted);pointer-events:none}
.sg-top-actions{display:flex;align-items:center;gap:9px;margin-left:auto;flex:none}
.sg-top-actions .lg-theme-icons{display:flex;background:var(--sg-subtle)!important;border:1px solid var(--sg-border)!important;border-radius:8px!important;padding:1px!important}
.sg-top-actions .lg-theme-icons button{width:29px;min-width:29px;height:29px;min-height:29px;padding:5px!important;color:var(--sg-muted)}
.sg-top-actions .seggue-bell{margin:0!important;flex:none}
.sg-top-create{display:inline-flex;align-items:center;gap:7px;justify-content:center;height:34px;min-height:34px;padding:0 13px;color:#fff!important;text-decoration:none!important;background:#07805c;border:0;border-radius:7px;font-size:11px;font-weight:720;white-space:nowrap}
.sg-top-create:hover{background:#086c4d;color:#fff!important}
.sg-top-create span:first-child{font-size:17px}
.sg-user-avatar{display:grid;place-items:center;width:31px;min-width:31px;height:31px;background:var(--sg-green-soft);color:var(--sg-green);border:1px solid var(--sg-border);border-radius:50%;font-weight:750;font-size:11px}
body.seggue-workspace-v4 .sg-workspace{width:100%;max-width:none!important;flex:1;min-width:0;margin:0!important;padding:20px 23px 40px!important;animation:none!important}
body.seggue-workspace-v4 .liggo-app-page{padding:0!important;margin:0!important}
body.seggue-workspace-v4 .sg-mobile-search{display:none}
/* Operational dashboard: no hero, no decorative filler. */
.sg-dashboard-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 12px}
.sg-dashboard-intro h1{font-size:23px!important;font-weight:755!important;line-height:1.2!important;letter-spacing:-.035em!important;color:var(--sg-ink)!important;margin:0 0 4px!important}
.sg-dashboard-intro p{font-size:11.5px!important;line-height:1.4!important;color:var(--sg-muted)!important;margin:0!important}
.sg-dashboard-tools{display:flex;align-items:center;gap:8px}
.sg-current-date{display:flex;align-items:center;gap:6px;color:var(--sg-muted);font-size:11px;white-space:nowrap}
.sg-current-date .dashicons{font-size:16px;width:16px;height:16px}
.sg-intro-link{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--sg-border);background:var(--sg-surface);border-radius:6px;text-decoration:none!important;color:var(--sg-ink)!important;font-size:11px;font-weight:700;white-space:nowrap}
.sg-intro-link .dashicons{font-size:15px;width:15px;height:15px;color:var(--sg-green)}
.sg-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 11px}
.sg-metric{display:flex;align-items:center;gap:11px;min-height:79px;min-width:0;padding:12px 13px;background:var(--sg-surface);border:1px solid var(--sg-border);border-radius:var(--sg-radius);color:var(--sg-ink)!important;text-decoration:none!important;box-shadow:var(--sg-shadow)}
.sg-metric:hover{border-color:var(--sg-green);background:var(--sg-subtle)}
.sg-metric-icon{display:grid!important;place-items:center;flex:none!important;width:31px!important;height:31px!important;line-height:31px!important;font-size:17px!important;background:var(--sg-green-soft);color:var(--sg-green);border-radius:7px}
.sg-metric.alert .sg-metric-icon{color:var(--sg-red);background:#de3c3220}
.sg-metric-details{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.sg-metric-name{font-size:11.2px;font-weight:720;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--sg-ink)}
.sg-metric strong{display:block;font-size:23px;font-weight:770;line-height:1.05;letter-spacing:-.04em;color:var(--sg-ink);font-variant-numeric:tabular-nums}
.sg-metric-arrow{align-self:flex-start;color:var(--sg-muted);font-size:12px}
.sg-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-flow:row;gap:11px;align-items:stretch}
.sg-board{min-width:0;background:var(--sg-surface);border:1px solid var(--sg-border);border-radius:var(--sg-radius);box-shadow:var(--sg-shadow);overflow:hidden}
.sg-board-header{min-height:46px;padding:12px 14px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--sg-border)}
.sg-board-header h2{font-size:15px!important;line-height:1.2!important;margin:0!important;color:var(--sg-ink)!important;font-weight:740!important;letter-spacing:-.025em!important;display:flex;gap:7px;align-items:center}
.sg-board-header a{color:var(--sg-green)!important;text-decoration:none!important;font-size:10.5px!important;font-weight:710;white-space:nowrap}
.sg-board-total{border-radius:6px;background:var(--sg-green-soft);color:var(--sg-green);padding:2px 6px;font-size:10px;font-weight:720}
.sg-site-records,.sg-ticket-rows{padding:2px 12px 7px}
.sg-site-record,.sg-ticket-rows>a{display:flex;align-items:center;gap:9px;min-width:0;min-height:46px;padding:8px 2px;border-bottom:1px solid var(--sg-border);color:var(--sg-ink)!important;text-decoration:none!important}
.sg-site-record:last-child,.sg-ticket-rows>a:last-child{border-bottom:0}
.sg-site-record:hover,.sg-ticket-rows>a:hover{color:var(--sg-green)!important}
.sg-site-symbol,.sg-ticket-symbol{font-size:16px!important;flex:none!important;width:20px!important;height:20px!important;line-height:20px!important;color:var(--sg-muted)}
.sg-site-name,.sg-ticket-main{flex:1;min-width:0;display:block}
.sg-site-name strong,.sg-ticket-main strong{font-size:11.4px;line-height:1.25;display:block;font-weight:700;color:var(--sg-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-site-name small,.sg-ticket-main small{display:block;color:var(--sg-muted);font-size:9px;margin-top:2px;line-height:1.2}
.sg-progress{width:70px;height:5px;background:var(--sg-border);border-radius:9px;overflow:hidden;flex:none}
.sg-progress>span{display:block;height:100%;background:#38d98c;border-radius:9px}
.sg-progress-num{font-size:10px;color:var(--sg-muted);min-width:25px;text-align:right;font-variant-numeric:tabular-nums}
.sg-state{display:inline-block;flex:none;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border-radius:6px;color:var(--sg-green);background:var(--sg-green-soft);font-weight:720;font-size:9.5px;line-height:1.2}
.sg-state-alert{color:#d9534d;background:#e9584b22}
.sg-board-empty{padding:18px 15px!important;color:var(--sg-muted)!important;font-size:11px!important;line-height:1.4!important;margin:0!important}
.sg-finance-grid{padding:12px 13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.sg-finance-grid a{display:flex;flex-direction:column;gap:7px;padding:2px 12px;min-height:54px;color:var(--sg-ink)!important;text-decoration:none!important;border-right:1px solid var(--sg-border);min-width:0}
.sg-finance-grid a:first-child{padding-left:3px}.sg-finance-grid a:last-child{border-right:0}
.sg-finance-grid a>span{font-size:10.5px;color:var(--sg-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-finance-grid a>strong{font-size:17px;letter-spacing:-.03em;color:var(--sg-ink);line-height:1.1;font-weight:760}
.sg-finance-grid a>strong:not(:first-child){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-finance-grid a:hover strong{color:var(--sg-green)}
.sg-shortcut-grid{padding:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sg-shortcut-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:66px;padding:9px 3px;border:1px solid var(--sg-border);background:var(--sg-subtle);border-radius:8px;text-decoration:none!important;color:var(--sg-ink)!important}
.sg-shortcut-grid a:hover{border-color:var(--sg-green);background:var(--sg-green-soft)}
.sg-shortcut-grid a>.dashicons{font-size:19px;width:19px;height:19px;line-height:19px;color:var(--sg-green)}
.sg-shortcut-grid strong{font-size:10px;line-height:1.2;font-weight:700;text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}
.sg-advanced-operations{margin-top:12px;background:var(--sg-surface);border:1px dashed var(--sg-border);border-radius:8px;overflow:hidden}
.sg-advanced-operations>summary{min-height:35px;display:flex;align-items:center;gap:9px;padding:7px 12px;cursor:pointer;font-size:11px;font-weight:630;list-style:none;color:var(--sg-muted)}
.sg-advanced-operations>summary::-webkit-details-marker{display:none}
.sg-advanced-operations>summary>.dashicons{color:var(--sg-green);font-size:14px;width:14px;height:14px}
.sg-details-chevron{margin-left:auto;font-size:14px;transition:transform .1s}
.sg-advanced-operations[open] .sg-details-chevron{transform:rotate(180deg)}
.sg-core-overview{padding:16px;border-top:1px solid var(--sg-border);overflow:auto}
/* Core modules — uniformly compact without changing their data or form actions. */
.sg-section-intro{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0 0 11px;border-bottom:1px solid var(--sg-border)}
.sg-section-intro h2{font-size:23px!important;color:var(--sg-ink)!important;letter-spacing:-.03em!important;line-height:1.2!important;font-weight:760!important;margin:0 0 3px!important}
.sg-section-intro p{font-size:11px!important;margin:0!important;color:var(--sg-muted)!important}
.sg-system-message{border:1px solid var(--sg-border);border-radius:9px;padding:18px;background:var(--sg-surface);color:var(--sg-ink)}
body.seggue-workspace-v4 .sg-module{--lg-text:var(--sg-ink);--lg-muted:var(--sg-muted);--lg-border:var(--sg-border);--lg-surface:var(--sg-surface);--lg-surface-2:var(--sg-bg);--lg-primary:var(--sg-green);--lg-success-bg:var(--sg-green-soft);color:var(--sg-ink)}
body.seggue-workspace-v4 .sg-module :is(.wrap,.liggo-wrap){background:transparent!important;color:var(--sg-ink)!important;max-width:none!important;margin:0!important;padding:0!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px!important;padding:0!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-page-head h1,.liggo-ws-top h1,.liggo-wrap>h1,.wrap>h1){font-size:21px!important;line-height:1.18!important;font-weight:760!important;letter-spacing:-.03em!important;color:var(--sg-ink)!important;margin:0 0 5px!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head p{font-size:11px!important;margin:0!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-card,.liggo-section,.liggo-kpi,.liggo-stat,.liggo-metric,.liggo-ws-card,.liggo-ws-panel,.liggo-ws-stat,.postbox,.liggo-website-workspace){background:var(--sg-surface)!important;border:1px solid var(--sg-border)!important;border-radius:10px!important;color:var(--sg-ink)!important;box-shadow:var(--sg-shadow)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-section,.liggo-ws-panel,.postbox){padding:13px!important;margin-bottom:11px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-kpi,.liggo-stat,.liggo-metric,.liggo-ws-stat){padding:12px!important;min-height:0!important;margin-bottom:0!important}
body.seggue-workspace-v4 .sg-module .liggo-card:before{display:none!important}
body.seggue-workspace-v4 .sg-module .liggo-card:hover{transform:none!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-grid,.liggo-overview-cards,.liggo-support-summary,.liggo-ws-metrics,.liggo-kpis,.liggo-stats,.liggo-metrics){gap:9px!important;margin:9px 0 13px!important}
body.seggue-workspace-v4 .sg-module :is(h2,h3){color:var(--sg-ink)}
body.seggue-workspace-v4 .sg-module :is(.widefat,table.wp-list-table){background:var(--sg-surface)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;border-collapse:separate!important;border-spacing:0!important;border-radius:9px!important;max-width:100%}
body.seggue-workspace-v4 .sg-module .widefat :is(th,td){background:transparent!important;color:var(--sg-ink)!important;border-bottom:1px solid var(--sg-border)!important;padding:8px 10px!important;font-size:11px!important;vertical-align:middle!important}
body.seggue-workspace-v4 .sg-module .widefat th{background:var(--sg-subtle)!important;color:var(--sg-muted)!important;font-size:10px!important;font-weight:750!important}
body.seggue-workspace-v4 .sg-module .widefat tr:last-child td{border-bottom:0!important}
body.seggue-workspace-v4 .sg-module .widefat tr:hover td{background:var(--sg-green-soft)!important}
body.seggue-workspace-v4 .sg-module :is(input[type=text],input[type=email],input[type=search],input[type=url],input[type=date],input[type=number],input[type=password],textarea,select){min-height:34px!important;padding:6px 9px!important;font-size:11.5px!important;color:var(--sg-ink)!important;background:var(--sg-surface)!important;border:1px solid var(--sg-border)!important;border-radius:7px!important;box-shadow:none!important}
body.seggue-workspace-v4 .sg-module :is(.button-primary,button.button-primary,input.button-primary){min-height:33px!important;padding:6px 12px!important;background:#087f5b!important;border-color:#087f5b!important;border-radius:7px!important;color:#fff!important;box-shadow:none!important;font-size:11px!important}
body.seggue-workspace-v4 .sg-module :is(.button,.button-secondary,button[type=submit]){min-height:33px;border-radius:7px;box-shadow:none;font-size:11px;padding:6px 12px}
body.seggue-workspace-v4 .sg-module .button:not(.button-primary):not(.liggo-primary){color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;background:var(--sg-surface)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs,.nav-tab-wrapper){display:flex;gap:5px;flex-wrap:wrap;background:transparent!important;border-bottom:1px solid var(--sg-border)!important;margin:0 0 12px!important;padding:0 0 6px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs a,.nav-tab){padding:7px 10px;border:0!important;border-radius:6px!important;color:var(--sg-muted)!important;font-size:11px!important;background:transparent!important;font-weight:670!important;text-decoration:none!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs a:hover,.nav-tab:hover,.nav-tab-active){background:var(--sg-green-soft)!important;color:var(--sg-green)!important}
body.seggue-workspace-v4 .sg-module form p{margin:7px 0!important}
body.seggue-workspace-v4 .sg-module :is(.notice,.notice-box,[role=alert]){border-radius:8px!important;box-shadow:none!important}
body.seggue-workspace-v4 :where(a,button,input,select,summary,textarea):focus-visible{outline:2px solid var(--sg-green)!important;outline-offset:2px!important}
body.seggue-workspace-v4 .sg-bottom-nav{display:none}
/* Fluid layout. At desktop widths, four KPIs and both columns remain visible. */
@media(max-width:1320px){.sg-topbar{padding:0 15px}.sg-global-search{max-width:330px}body.seggue-workspace-v4 .sg-workspace{padding:18px 16px 35px!important}.sg-metrics{gap:8px}.sg-metric{padding:10px}.sg-progress{width:50px}}
@media(max-width:1100px){body.seggue-workspace-v4 .sg-shell{grid-template-columns:195px minmax(0,1fr)!important}body.seggue-workspace-v4 .sg-sidebar{width:195px}.sg-sidebar-brand{padding-left:18px}.sg-global-search{max-width:260px}.sg-top-actions .lg-theme-icons{display:none}.sg-site-name small{display:none}.sg-metric-name{font-size:10px}.sg-metric-icon{width:28px!important;height:28px!important}.sg-metric{gap:8px}.sg-finance-grid a>span{font-size:9.5px}}
@media(max-width:980px){body.seggue-workspace-v4 .sg-shell{display:block!important}.sg-topbar{height:56px;min-height:56px}.sg-menu-trigger{display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;background:var(--sg-surface);color:var(--sg-ink);border:1px solid var(--sg-border);border-radius:7px}.sg-menu-trigger .dashicons{font-size:18px;width:18px;height:18px}.sg-sidebar{position:fixed!important;top:0;left:0;bottom:0;z-index:101!important;transform:translateX(-110%);width:min(250px,87vw)!important;max-height:100dvh!important;transition:transform .17s ease}.sg-shell.sg-nav-open .sg-sidebar{transform:translateX(0)}.sg-close{display:grid;place-items:center;width:29px;height:29px;padding:0;background:#243c33;color:#fff;border:1px solid #355746;border-radius:7px}.sg-overlay:not([hidden]){display:block;position:fixed;inset:0;z-index:100;background:#06100dad}.sg-top-actions .lg-theme-icons{display:flex}.sg-global-search{max-width:360px}.sg-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.sg-topbar{gap:9px}.sg-breadcrumb a,.sg-breadcrumb>span{display:none}.sg-global-search{max-width:240px}.sg-top-actions .lg-theme-icons{display:none}.sg-top-create{padding:0 9px}.sg-top-create span:last-child{display:none}.sg-dashboard-grid{grid-template-columns:1fr}.sg-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-current-date{display:none}.sg-site-name small{display:block}.sg-progress{width:70px}.sg-finance-grid a{min-height:46px}}
@media(max-width:540px){.sg-topbar{padding:0 12px;gap:8px}.sg-breadcrumb{font-size:11px}.sg-global-search{display:none}.sg-user-avatar{display:none}.sg-top-actions{gap:7px}body.seggue-workspace-v4 .sg-workspace{padding:14px 12px 85px!important}.sg-dashboard-intro h1{font-size:21px!important}.sg-dashboard-intro p{font-size:10.5px!important}.sg-metrics{gap:7px}.sg-metric{min-height:69px;padding:9px;gap:8px}.sg-metric-icon{width:26px!important;height:26px!important;font-size:14px!important}.sg-metric-name{font-size:9.5px}.sg-metric strong{font-size:20px}.sg-metric-arrow{display:none}.sg-dashboard-grid{gap:8px}.sg-board-header{padding:10px 11px;min-height:41px}.sg-board-header h2{font-size:14px!important}.sg-site-records,.sg-ticket-rows{padding:2px 10px 6px}.sg-site-record,.sg-ticket-rows>a{gap:7px}.sg-progress{width:44px}.sg-progress-num{display:none}.sg-state{max-width:93px;font-size:9px}.sg-finance-grid a{padding:2px 7px}.sg-finance-grid a>span{font-size:9px}.sg-finance-grid a>strong{font-size:13px}.sg-shortcut-grid{gap:5px;padding:9px}.sg-shortcut-grid a{min-height:59px}.sg-shortcut-grid strong{font-size:9px}.sg-section-intro h2{font-size:19px!important}.sg-section-intro p{font-size:10px!important}.sg-mobile-search{display:block!important;background:var(--sg-surface);border-bottom:1px solid var(--sg-border);padding:7px 12px}.sg-mobile-search form{display:flex;gap:7px}.sg-mobile-search input{flex:1;min-width:0;padding:7px 9px;border:1px solid var(--sg-border);border-radius:7px;background:var(--sg-subtle);color:var(--sg-ink);height:32px;font-size:11px}.sg-mobile-search button{height:32px;min-height:32px;padding:0 10px;border-radius:7px;background:#087f5b;color:#fff;border:0;font-size:11px}.sg-bottom-nav{display:flex!important;position:fixed;left:0;right:0;bottom:0;z-index:80;min-height:61px;padding:5px 4px max(5px,env(safe-area-inset-bottom));background:var(--sg-surface);border-top:1px solid var(--sg-border);box-shadow:0 -5px 17px #00000012;justify-content:space-around}.sg-bottom-nav a,.sg-bottom-nav button{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;max-width:85px;min-width:0;min-height:49px;padding:4px 1px;background:transparent;color:var(--sg-muted)!important;text-align:center;border:0;text-decoration:none!important;font-size:9px!important;font-weight:680}.sg-bottom-nav a[aria-current=page]{color:var(--sg-green)!important}.sg-bottom-nav .dashicons{font-size:18px;width:18px;height:18px}.sg-module .widefat{display:block;max-width:100%;overflow-x:auto}body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-section,.postbox){padding:10px!important}}
@media(max-width:360px){.sg-site-symbol,.sg-ticket-symbol{display:none!important}.sg-progress{display:none}.sg-board-total{display:none}}
@media(max-width:980px){body.sg-menu-locked{overflow:hidden!important}}
@media(prefers-reduced-motion:reduce){body.seggue-workspace-v4 *,body.seggue-workspace-v4 *:before,body.seggue-workspace-v4 *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ============================================================
   SEGGUE 4.2 — full-app density and interaction system
   Applies to ALL module views. Retains existing brand tokens.
   ============================================================ */
body.seggue-workspace-v4 .sg-sidebar-collapse{display:grid;place-items:center;width:28px;height:28px;padding:0;color:#c7ded2;background:#244137;border:1px solid #355749;border-radius:7px;cursor:pointer;flex:none;margin-left:auto}
body.seggue-workspace-v4 .sg-sidebar-collapse:hover{color:#fff;background:#335b48}
body.seggue-workspace-v4 .sg-sidebar-brand{gap:7px}
body.seggue-workspace-v4 .sg-sidebar-brand a{min-width:0;flex:1}
body.seggue-workspace-v4 .sg-sidebar-brand img{width:100%;max-width:138px}
body.seggue-workspace-v4 .sg-sidebar-version{font-size:9px}
body.seggue-workspace-v4 .sg-sidebar-nav a{min-height:33px!important;padding:6px 10px!important;line-height:1.2}
body.seggue-workspace-v4 .sg-sidebar-nav .sg-nav-section{margin-bottom:5px}
body.seggue-workspace-v4 .sg-sidebar-nav :is(h2,summary){letter-spacing:.055em}
body.seggue-workspace-v4 .sg-workspace{padding-top:16px!important}
body.seggue-workspace-v4 .sg-dashboard-intro{margin-bottom:12px}
body.seggue-workspace-v4 .sg-metrics{margin-bottom:12px}
body.seggue-workspace-v4 .sg-module{min-width:0;overflow-wrap:anywhere}
body.seggue-workspace-v4 .sg-module .liggo-page-head{min-height:36px;margin-bottom:11px!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head h1{font-size:20px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-page-head,.liggo-section-head,.liggo-ws-head,.liggo-ws-top){gap:8px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-page-head p,.liggo-description,.liggo-muted){line-height:1.4!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-section,.liggo-ws-panel,.postbox){padding:12px!important;margin-bottom:9px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-kpi,.liggo-stat,.liggo-metric,.liggo-ws-stat){padding:10px!important;min-height:0!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-grid,.liggo-kpis,.liggo-stats,.liggo-metrics,.liggo-overview-cards,.liggo-ws-metrics){gap:8px!important;margin:8px 0 11px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-kpi,.liggo-stat,.liggo-metric,.liggo-ws-stat) small{font-size:10.5px!important;line-height:1.25}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-kpi,.liggo-stat,.liggo-metric,.liggo-ws-stat) strong{font-size:23px!important;line-height:1.14!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.postbox,.liggo-section) > :is(h2,h3):first-child{margin:0 0 8px!important;font-size:14px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-stack,.liggo-section-head,.liggo-panel-actions,.liggo-ws-actions){gap:7px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-search,.liggo-filterbar,.liggo-toolbar,.tablenav){display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0 0 10px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-search,.liggo-filterbar,.liggo-toolbar) input[type=search]{min-width:180px;max-width:440px;flex:1}
body.seggue-workspace-v4 .sg-module :is(input[type=text],input[type=email],input[type=search],input[type=url],input[type=date],input[type=number],input[type=password],input[type=tel],textarea,select){min-height:34px!important;border-radius:7px!important;padding:6px 9px!important;font-size:12px!important;line-height:1.35!important}
body.seggue-workspace-v4 .sg-module textarea{min-height:74px!important}
body.seggue-workspace-v4 .sg-module :is(label,.liggo-fields label){font-size:11px!important;line-height:1.4!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-fields,.liggo-form-grid){gap:9px!important}
body.seggue-workspace-v4 .sg-module :is(.button,.button-primary,.button-secondary,button[type=submit]){padding:5px 10px!important;min-height:33px!important;font-size:11px!important;line-height:1.3!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs,.nav-tab-wrapper){margin:0 0 10px!important;padding:0 0 5px!important;gap:5px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs a,.nav-tab){padding:6px 9px!important;min-height:30px!important;font-size:10.5px!important}
body.seggue-workspace-v4 .sg-module :is(.widefat,table.wp-list-table,table.liggo-table){font-size:11px!important;width:100%!important}
body.seggue-workspace-v4 .sg-module :is(.widefat,table.wp-list-table,table.liggo-table) :is(th,td){padding:7px 9px!important;line-height:1.3!important;font-size:11px!important}
body.seggue-workspace-v4 .sg-module :is(.widefat,table.wp-list-table,table.liggo-table) th{font-size:10px!important;letter-spacing:.015em}
body.seggue-workspace-v4 .sg-module :is(.widefat,table.wp-list-table,table.liggo-table) td :is(.button,a.button){min-height:28px!important;padding:4px 7px!important}
body.seggue-workspace-v4 .sg-module .liggo-table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-action,.liggo-result,.liggo-today-item,.liggo-website-row){padding:9px 11px!important;gap:8px!important;margin-bottom:3px!important;min-height:0!important;border-radius:8px}
body.seggue-workspace-v4 .sg-module .liggo-client-list{padding:0!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-head,.liggo-client-row){gap:8px!important}
body.seggue-workspace-v4 .sg-module .liggo-client-row{margin:0!important;border-bottom:1px solid var(--sg-border);border-radius:0!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-action,.liggo-result) :is(strong,h2){font-size:11.5px!important;line-height:1.35!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-action,.liggo-result) :is(small,p,span){font-size:10.5px;line-height:1.3}
body.seggue-workspace-v4 .sg-module .liggo-action-icon{width:28px!important;height:28px!important;flex-basis:28px!important;border-radius:7px!important}
body.seggue-workspace-v4 .sg-module .liggo-onboarding :is(.liggo-panel,.liggo-section){padding:14px!important}
body.seggue-workspace-v4 .sg-module .liggo-form-actions{display:flex;justify-content:flex-end;gap:8px!important;padding:8px 0!important}
body.seggue-workspace-v4 .sg-module details.liggo-create{padding:0!important;margin-bottom:8px!important}
body.seggue-workspace-v4 .sg-module details.liggo-create>summary{padding:9px 12px!important;min-height:35px!important;font-size:11.5px!important}
body.seggue-workspace-v4 .sg-module details.liggo-create[open] > :not(summary){margin-left:12px!important;margin-right:12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-action-list,.liggo-results,.liggo-list,.liggo-activity-list){gap:7px!important}
body.seggue-workspace-v4 .sg-module .liggo-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}
body.seggue-workspace-v4 .sg-module .liggo-pagination p{font-size:10.5px!important;margin:0 5px 0 0!important}
/* Functional current-page filter for already-rendered Core tables. */
body.seggue-workspace-v4 .sg-table-tools{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;padding:7px 0 8px;max-width:100%;}
body.seggue-workspace-v4 .sg-table-tools input[type=search]{width:min(290px,100%);min-height:32px!important;padding:6px 10px!important;font-size:11px!important;background:var(--sg-surface)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;border-radius:7px!important}
body.seggue-workspace-v4 .sg-table-counter{font-size:10px;color:var(--sg-muted);white-space:nowrap}
body.seggue-workspace-v4 .sg-table-empty{font-size:11px!important;text-align:center!important;padding:15px!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module table tr[hidden]{display:none!important}
body.seggue-workspace-v4 .sg-42-strip{display:flex;align-items:center;gap:10px;padding:0 12px 12px;margin-top:-2px;font-size:10px;color:var(--sg-muted)}
body.seggue-workspace-v4 .sg-42-strip strong{font-size:16px;color:var(--sg-ink);font-variant-numeric:tabular-nums}
body.seggue-workspace-v4 .sg-42-strip a{margin-left:auto;color:var(--sg-green);font-size:15px}
body.seggue-workspace-v4 .sg-42-data-note{margin:9px 0 0;font-size:9px;line-height:1.3;color:var(--sg-muted)}
body.seggue-workspace-v4 .sg-42-dashboard .sg-shortcut-grid{padding-bottom:8px}
body.seggue-workspace-v4 .sg-module:has(.liggo-page-head h1)~.sg-section-intro{display:none}
/* Compact sidebar: separate user preference, only on desktop. */
@media(min-width:981px){
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini{grid-template-columns:64px minmax(0,1fr)!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar{width:64px!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-brand{padding:14px 9px 8px!important;justify-content:center}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-brand>a{display:none}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-collapse{margin:0;width:36px;height:32px}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-product{font-size:0!important;justify-content:center;padding:7px!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-product :is(.sg-sidebar-version){display:none}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-nav :is(h2,summary){display:none!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-nav :is(ul){display:block!important;padding:0!important;margin:0!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-nav li a{display:flex;justify-content:center;align-items:center;min-height:36px;padding:7px 5px!important;width:43px;margin:0 auto;border-radius:8px}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-nav li a > span:not(.dashicons){display:none!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-nav .dashicons{margin:0!important}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-nav-section{border-bottom:1px solid #2b4b40;padding:4px 0}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-footer a{justify-content:center;font-size:0;padding:9px 0}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-footer a .dashicons{font-size:17px}
 body.seggue-workspace-v4 .sg-shell.sg-sidebar-mini .sg-sidebar-footer .sg-open-external{display:none}
}
@media(max-width:980px){body.seggue-workspace-v4 .sg-sidebar-collapse{display:none!important}}
@media(max-width:760px){
 body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-action,.liggo-result){padding:10px!important}
 body.seggue-workspace-v4 .sg-table-tools{gap:6px}
 body.seggue-workspace-v4 .sg-table-tools input[type=search]{width:100%;flex:1 1 170px}
 body.seggue-workspace-v4 .sg-module :is(input[type=text],input[type=email],input[type=search],input[type=url],input[type=date],input[type=number],input[type=password],input[type=tel],select){min-height:40px!important}
 body.seggue-workspace-v4 .sg-module :is(.button,.button-primary,button[type=submit]){min-height:40px!important}
 body.seggue-workspace-v4 .sg-module table.widefat{min-width:500px}
}
@media(max-width:540px){
 body.seggue-workspace-v4 .sg-workspace{padding:12px 10px 75px!important}
 body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.postbox,.liggo-section){padding:11px!important}
 body.seggue-workspace-v4 .sg-module .liggo-page-head{gap:7px!important}
 body.seggue-workspace-v4 .sg-module .liggo-page-head h1{font-size:18px!important}
 body.seggue-workspace-v4 .sg-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* SEGGUE 4.3 — one shared interface for every Core module.
   Loaded as part of seggue-workspace-43.css, scoped to the management app.
   Interactions, permissions and all server-side operations remain in Core. */
body.seggue-workspace-v4 .sg-module{
  --liggo-ink:var(--sg-ink);--liggo-deep:var(--sg-sidebar);--liggo-green:var(--sg-green);
  --liggo-bg:var(--sg-bg);--liggo-line:var(--sg-border);--liggo-muted:var(--sg-muted);
  --liggo-white:var(--sg-surface);--liggo-radius:10px;--liggo-shadow:none;--liggo-shadow-hover:none;
  --sg-ui-row:39px;--sg-ui-gutter:12px;
  color:var(--sg-ink);font-size:13px;line-height:1.48;
}
body.seggue-workspace-v4 .sg-module .liggo-wrap{max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;animation:none!important;background:transparent!important;color:var(--sg-ink)!important;font-size:13px!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap *{box-sizing:border-box}
body.seggue-workspace-v4 .sg-workspace .sg-section-intro[hidden]{display:none!important}
body.seggue-workspace-v4 .sg-module :is(h1,h2,h3,h4,legend,.liggo-page-head h1){color:var(--sg-ink)!important;line-height:1.25!important;letter-spacing:-.015em!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head{animation:none!important;gap:10px!important;margin:0 0 12px!important;align-items:center}
body.seggue-workspace-v4 .sg-module .liggo-page-head h1{font-size:20px!important;margin:0 0 3px!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head p{font-size:12px!important;color:var(--sg-muted)!important;line-height:1.45!important}
body.seggue-workspace-v4 .sg-module .liggo-eyebrow{font-size:11px!important;letter-spacing:.08em!important;margin:0 0 3px!important;color:var(--sg-green)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-muted,.liggo-sub,.description,.help-text,.liggo-note){color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-grid,.liggo-quick,.liggo-stats,.liggo-kpis,.liggo-metrics,.liggo-ws-metrics){gap:9px!important;margin:8px 0 12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-card,.liggo-section,.liggo-ws-panel,.liggo-ws-card,.liggo-website-workspace,.postbox,.liggo-file-card,.liggo-service-group,.liggo-production-item,.liggo-agent-sale,.liggo-agent-metrics>div){background:var(--sg-surface)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;border-radius:10px!important;box-shadow:none!important;animation:none!important;min-width:0}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-section,.liggo-ws-panel,.postbox){margin:0 0 10px!important;padding:13px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-kpi,.liggo-stat,.liggo-metric,.liggo-ws-stat){margin:0!important;padding:12px!important;min-height:0!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-panel,.liggo-ticket-row,.liggo-action,.liggo-client-row):hover{transform:none!important;box-shadow:none!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card,.liggo-panel,.liggo-section) :is(h2,h3){font-size:15px!important;line-height:1.3!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card small,.liggo-kpi small,.liggo-stat small,.liggo-metric small){font-size:11.5px!important;margin-bottom:4px!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-card strong,.liggo-kpi strong,.liggo-stat strong,.liggo-metric strong){font-size:22px!important;line-height:1.2!important;color:var(--sg-ink)!important}
/* Shared tables: use the same header, row height, borders, hover and text colors in all views. */
body.seggue-workspace-v4 .sg-module :is(.liggo-table-wrap,.table-responsive,.wp-list-table-wrap){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--sg-border);border-radius:9px}
body.seggue-workspace-v4 .sg-module :is(table.widefat,table.wp-list-table,table.liggo-table,.liggo-table-wrap table){border-collapse:collapse!important;background:var(--sg-surface)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;font-size:12px!important;max-width:100%}
body.seggue-workspace-v4 .sg-module :is(table.widefat,table.wp-list-table,table.liggo-table,.liggo-table-wrap table) thead :is(th,td){background:var(--sg-subtle)!important;color:var(--sg-muted)!important;font-size:11.5px!important;font-weight:750!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap;padding:10px 11px!important;border-bottom:1px solid var(--sg-border)!important}
body.seggue-workspace-v4 .sg-module :is(table.widefat,table.wp-list-table,table.liggo-table,.liggo-table-wrap table) tbody :is(th,td){background:transparent!important;color:var(--sg-ink)!important;border-bottom:1px solid var(--sg-border)!important;font-size:12px!important;line-height:1.4!important;padding:9px 11px!important;vertical-align:middle}
body.seggue-workspace-v4 .sg-module :is(table.widefat,table.wp-list-table,table.liggo-table,.liggo-table-wrap table) tbody tr:hover{background:var(--sg-subtle)!important}
body.seggue-workspace-v4 .sg-module :is(table.widefat,table.wp-list-table,table.liggo-table,.liggo-table-wrap table) tbody a{font-weight:650}
body.seggue-workspace-v4 .sg-module :is(.liggo-filterbar,.liggo-toolbar,.liggo-search,.tablenav,.liggo-section-head,.liggo-compose-tools){gap:9px!important;margin:0 0 10px!important;align-items:center}
body.seggue-workspace-v4 .sg-module :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea){background:var(--sg-surface)!important;border:1px solid var(--sg-border)!important;color:var(--sg-ink)!important;border-radius:8px!important;font:inherit!important;font-size:12.5px!important;line-height:1.4!important;padding:8px 10px!important;min-height:37px!important;box-shadow:none!important;max-width:100%}
body.seggue-workspace-v4 .sg-module textarea{min-height:100px!important;resize:vertical}
body.seggue-workspace-v4 .sg-module :is(input,textarea)::placeholder{color:var(--sg-muted)!important;opacity:1}
body.seggue-workspace-v4 .sg-module :is(label,.liggo-fields label,.liggo-service-editor label){font-size:12.5px!important;color:var(--sg-ink)!important;line-height:1.45!important}
body.seggue-workspace-v4 .sg-module :is(input[type=checkbox],input[type=radio]){accent-color:var(--sg-green);width:16px;height:16px;vertical-align:middle}
body.seggue-workspace-v4 .sg-module :is(.button,.button-primary,.button-secondary,button[type=submit],input[type=submit]){min-height:36px!important;border-radius:8px!important;padding:7px 12px!important;line-height:1.3!important;font-size:12px!important;box-shadow:none!important;transform:none!important;text-decoration:none!important}
body.seggue-workspace-v4 .sg-module :is(.button-primary,button[type=submit]:not(.button-secondary),input[type=submit]){background:#087f5b!important;border-color:#087f5b!important;color:#fff!important}
body.seggue-workspace-v4 .sg-module :is(.button-primary,button[type=submit]:not(.button-secondary),input[type=submit]):hover{background:#066d4c!important;border-color:#066d4c!important}
body.seggue-workspace-v4 .sg-module :is(.button-secondary,.button:not(.button-primary)){background:var(--sg-subtle)!important;color:var(--sg-ink)!important;border-color:var(--sg-border)!important}
body.seggue-workspace-v4 .sg-module :is(.button-secondary,.button:not(.button-primary)):hover{border-color:var(--sg-green)!important;color:var(--sg-green)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs,.nav-tab-wrapper){border-bottom:1px solid var(--sg-border)!important;gap:6px!important;margin:0 0 12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs a,.nav-tab){background:transparent!important;border:1px solid transparent!important;color:var(--sg-muted)!important;border-radius:7px!important;min-height:34px!important;padding:7px 11px!important;font-size:12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs .active,.liggo-tabs .is-active,.nav-tab-active,[aria-selected=true]){color:var(--sg-green)!important;background:var(--sg-green-soft)!important;border-color:transparent!important}
/* Rows: clients, websites, tickets, projects, proposals, actions, activity. */
body.seggue-workspace-v4 .sg-module :is(.liggo-client-head,.liggo-client-row,.liggo-ticket-row,.liggo-website-row,.liggo-renewal-row,.liggo-action,.liggo-result,.liggo-activity-list>*,.liggo-today-item){box-shadow:none!important;animation:none!important;transition:background .15s ease!important;min-height:0!important;gap:10px!important}
body.seggue-workspace-v4 .sg-module .liggo-client-head{background:var(--sg-subtle)!important;padding:9px 12px!important;color:var(--sg-muted)!important;font-size:11px!important}
body.seggue-workspace-v4 .sg-module .liggo-client-row{padding:11px 12px!important;border-color:var(--sg-border)!important;color:var(--sg-ink)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-ticket-row,.liggo-website-row,.liggo-action,.liggo-result):hover{background:var(--sg-subtle)!important;padding-left:12px!important}
body.seggue-workspace-v4 .sg-module .liggo-client-row :is(strong,small),body.seggue-workspace-v4 .sg-module .liggo-ticket-row :is(strong,small){color:inherit}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-ticket-row,.liggo-action) small{font-size:11.5px!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module .liggo-ticket-inbox{gap:7px!important}
body.seggue-workspace-v4 .sg-module .liggo-ticket-row{padding:12px 14px!important;border:1px solid var(--sg-border)!important;border-radius:9px!important;background:var(--sg-surface)!important;color:var(--sg-ink)!important}
body.seggue-workspace-v4 .sg-module .liggo-ticket-priority{width:34px;height:34px;border-radius:8px}
body.seggue-workspace-v4 .sg-module :is(.liggo-domain-choice label,.liggo-check,.liggo-renewal-cards>div,.liggo-approval-event,.liggo-file-row){background:var(--sg-subtle)!important;border-color:var(--sg-border)!important;color:var(--sg-ink)!important;padding:9px 11px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-status,.liggo-health,.liggo-priority){font-size:11.5px!important;min-height:24px!important;padding:4px 9px!important;border-radius:999px!important;line-height:1.2!important;white-space:normal}
/* Critical fix: the Support conversation previously became white with nearly white text in dark mode. */
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-ticket-layout{gap:11px!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-conversation{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:110px!important;padding:13px!important;margin:0!important;width:100%!important;background:var(--sg-surface)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;border-radius:11px!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message{background:var(--sg-subtle)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;box-shadow:none!important;animation:none!important;border-radius:11px!important;padding:12px 14px!important;width:fit-content!important;max-width:min(85%,760px)!important;overflow-wrap:anywhere!important;line-height:1.5!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message.is-client{align-self:flex-start!important;background:var(--sg-subtle)!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message.is-team{align-self:flex-end!important;background:var(--sg-green-soft)!important;border-color:var(--sg-green)!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message.is-internal{align-self:center!important;max-width:94%!important;background:#fff3d8!important;border:1px dashed #c7a85d!important;color:#60430d!important}
html[data-lg-theme=dark] body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message.is-internal{background:#3b3321!important;border-color:#917748!important;color:#f8e7ba!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message :is(header,header strong,header small,p,span,b,time){color:inherit!important;text-shadow:none!important;opacity:1!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:5px 14px!important;background:transparent!important;padding:0!important;margin:0 0 5px!important;border:0!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message header small{font-size:11px!important;font-weight:500!important;opacity:.78!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message p{font-size:12.5px!important;line-height:1.5!important;margin:0!important;white-space:normal}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-ticket-bottom{gap:10px!important}
body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-ticket-bottom .liggo-reply-box{padding:14px!important;border-radius:10px!important;gap:9px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-compose-head,.liggo-compose-actions,.liggo-compose-tools){gap:8px!important}
body.seggue-workspace-v4 .sg-module .liggo-compose-head h2{font-size:16px!important;margin:0!important}
body.seggue-workspace-v4 .sg-module .liggo-compose-head span{font-size:11.5px!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module .liggo-compose-tabs{display:flex;gap:6px!important;border-bottom:1px solid var(--sg-border)!important;padding:0 0 8px!important}
body.seggue-workspace-v4 .sg-module .liggo-compose-tab{background:var(--sg-subtle)!important;color:var(--sg-ink)!important;border:1px solid var(--sg-border)!important;padding:8px 12px!important;border-radius:8px!important;min-height:35px!important;font-size:12px!important}
body.seggue-workspace-v4 .sg-module .liggo-compose-tab[aria-pressed=true]{background:var(--sg-green-soft)!important;color:var(--sg-green)!important;border-color:var(--sg-green)!important}
body.seggue-workspace-v4 .sg-module .liggo-reply-box textarea{width:100%!important;min-height:92px!important}
body.seggue-workspace-v4 .sg-module .liggo-compose-feedback{font-size:11.5px!important;color:var(--sg-muted)!important;opacity:1!important}
body.seggue-workspace-v4 .sg-module .liggo-ticket-client{margin:0!important}
/* General informational blocks; do not reset semantic success/error colors. */
body.seggue-workspace-v4 .sg-module :is(.liggo-filterbar,.liggo-checklist-heading,.liggo-form-actions){gap:9px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-renewal-row,.liggo-file-row){border-color:var(--sg-border)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-file-row,.liggo-file-card-head,.liggo-checklist-heading) small{font-size:11.5px!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module .liggo-onboarding .liggo-panel{padding:13px 13px 13px 61px!important}
body.seggue-workspace-v4 .sg-module .liggo-onboarding .liggo-step{left:13px;top:13px;width:31px;height:31px;font-size:13px;box-shadow:none}
body.seggue-workspace-v4 .sg-module .liggo-action-list{gap:7px!important}
body.seggue-workspace-v4 .sg-module .liggo-action{border:1px solid var(--sg-border)!important;background:var(--sg-surface)!important;color:var(--sg-ink)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-check-list,.liggo-service-editor,.liggo-file-cards,.liggo-source-panel){gap:9px!important}
body.seggue-workspace-v4 .sg-module .liggo-check-list>label{min-height:55px!important;padding:9px 11px!important;background:var(--sg-surface)!important;color:var(--sg-ink)!important;border-color:var(--sg-border)!important}
/* Text that was set to 9–10px in Compact 4.2 is increased without adding empty space. */
body.seggue-workspace-v4 :is(.sg-metric-name,.sg-board-header a,.sg-site-record small,.sg-ticket-rows small,.sg-state,.sg-board-total,.sg-shortcut-grid strong,.sg-42-data-note,.sg-sidebar-version,.sg-sidebar-product,.sg-table-counter){font-size:11px!important;line-height:1.35!important}
body.seggue-workspace-v4 :is(.sg-dashboard-intro p,.sg-section-intro p,.sg-breadcrumb,.sg-current-date){font-size:12px!important}
body.seggue-workspace-v4 .sg-sidebar-nav a{font-size:12.5px!important;min-height:36px!important}
body.seggue-workspace-v4 .sg-table-tools input[type=search]{font-size:12px!important;min-height:36px!important}
body.seggue-workspace-v4 .sg-table-counter{color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-dashboard .sg-board{min-width:0}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-ticket-row,.liggo-message,.liggo-file-card) :is(a:not(.button),a:not(.button-primary)){text-decoration-thickness:1px}
body.seggue-workspace-v4 .sg-module :is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid #10ba83!important;outline-offset:2px!important}
@media(max-width:980px){body.seggue-workspace-v4 .sg-module .liggo-wrap{padding:0!important}body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message{max-width:92%!important}}
@media(max-width:700px){
 body.seggue-workspace-v4 .sg-module{font-size:13px}
 body.seggue-workspace-v4 .sg-module .liggo-wrap .liggo-message{max-width:100%!important;padding:11px!important}
 body.seggue-workspace-v4 .sg-module .liggo-compose-head{align-items:start!important;flex-direction:column}
 body.seggue-workspace-v4 .sg-module .liggo-ticket-row{grid-template-columns:34px minmax(0,1fr)!important;padding:10px!important}
 body.seggue-workspace-v4 .sg-module .liggo-ticket-row>span:nth-child(3),body.seggue-workspace-v4 .sg-module .liggo-ticket-row>b{grid-column:2!important;text-align:left!important}
 body.seggue-workspace-v4 .sg-module .liggo-check-list{grid-template-columns:1fr!important}
 body.seggue-workspace-v4 .sg-module :is(input,textarea,select,button){min-height:42px}
 body.seggue-workspace-v4 .sg-module .liggo-onboarding .liggo-panel{padding:48px 12px 12px!important}
 body.seggue-workspace-v4 .sg-module .liggo-onboarding .liggo-step{top:10px;left:12px}
}
@media(prefers-reduced-motion:reduce){body.seggue-workspace-v4 .sg-module *,body.seggue-workspace-v4 .sg-module *:before,body.seggue-workspace-v4 .sg-module *:after{animation:none!important;transition:none!important}}

/* Preserve destructive actions as destructive, not as the generic green primary button. */
body.seggue-workspace-v4 .sg-module :is(.liggo-danger-button,.button-danger,.button-link-delete,.is-destructive){background:#b42318!important;border-color:#b42318!important;color:#fff!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-danger-button,.button-danger,.button-link-delete,.is-destructive):hover{background:#941c13!important;border-color:#941c13!important;color:#fff!important}


/* SEGGUE 5.0: one common compact component system for every App Gestão module.
   The existing Core business markup remains unchanged. */
body.seggue-workspace-v4 .sg-module{
  --sg-card:var(--sg-surface);--sg-line:var(--sg-border);--sg-text:var(--sg-ink);--sg-muted:var(--sg-muted);
  font-size:13.5px;line-height:1.5;color:var(--sg-ink)
}
body.seggue-workspace-v4 .sg-section-intro{margin:0 0 12px!important;padding:0 0 9px!important}
body.seggue-workspace-v4 .sg-section-intro h2{font-size:20px!important;line-height:1.15!important;margin:0 0 2px!important;letter-spacing:-.025em!important}
body.seggue-workspace-v4 .sg-section-intro p{font-size:12px!important}
body.seggue-workspace-v4 .sg-module :is(h2,h3){line-height:1.3;letter-spacing:-.02em}
body.seggue-workspace-v4 .sg-module :is(.liggo-page-head,.liggo-section-head){gap:10px!important;margin-bottom:11px!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head h1{font-size:19px!important;line-height:1.2!important}
body.seggue-workspace-v4 .sg-module .liggo-page-head p{font-size:12px!important;margin:3px 0 0!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-card,.liggo-table-wrap,.liggo-form-card){border-radius:11px!important;box-shadow:none!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-form-card){padding:13px 14px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-grid,.liggo-card-grid){gap:9px!important;margin-block:10px!important}
body.seggue-workspace-v4 .sg-module :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){
  font-size:13.5px!important;line-height:1.4!important;border-radius:8px!important;border:1px solid var(--sg-border)!important;
  background:var(--sg-surface)!important;color:var(--sg-ink)!important;box-shadow:none!important
}
body.seggue-workspace-v4 .sg-module :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select){min-height:39px!important;padding:7px 10px!important}
body.seggue-workspace-v4 .sg-module textarea{min-height:88px!important;padding:9px 10px!important}
body.seggue-workspace-v4 .sg-module :is(input,textarea)::placeholder{color:var(--sg-muted);opacity:1}
body.seggue-workspace-v4 .sg-module label{font-size:12px!important;line-height:1.4!important;font-weight:650!important;color:var(--sg-ink)!important}
body.seggue-workspace-v4 .sg-module :is(.button,.button-primary,button:not(.dashicons),input[type="submit"]){border-radius:8px!important;font-size:12.5px!important;min-height:37px!important;padding:7px 12px!important;line-height:1.25!important}
body.seggue-workspace-v4 .sg-module :is(.button,.button-primary,button):focus-visible{outline:3px solid #0dab76!important;outline-offset:2px}
body.seggue-workspace-v4 .sg-module table{width:100%;border-collapse:separate;border-spacing:0}
body.seggue-workspace-v4 .sg-module :is(table th,table td){font-size:12.5px!important;padding:10px 11px!important;vertical-align:middle!important;line-height:1.4!important;overflow-wrap:anywhere}
body.seggue-workspace-v4 .sg-module table th{font-size:11.5px!important;font-weight:720!important;white-space:nowrap}
body.seggue-workspace-v4 .sg-module :is(table tr,.liggo-table-row){min-height:43px!important}
body.seggue-workspace-v4 .sg-module table tr:hover td{background:var(--sg-subtle)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-filterbar,.liggo-toolbar,.liggo-form-actions){gap:8px!important;align-items:center}
body.seggue-workspace-v4 .sg-module :is(.liggo-status,.liggo-badge,.liggo-priority){font-size:11px!important;padding:4px 8px!important;border-radius:999px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-description,.description,.help-text){font-size:11.5px!important;line-height:1.5!important;color:var(--sg-muted)!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-empty,.liggo-empty-state){padding:20px!important;text-align:center}
body.seggue-workspace-v4 .sg-module .liggo-conversation,
body.seggue-workspace-v4 .sg-module .liggo-message,
body.seggue-workspace-v4 .sg-module .liggo-reply-box{color:var(--sg-ink)!important}
body.seggue-workspace-v4 .sg-module .liggo-ticket-layout{grid-template-columns:minmax(0,1fr)!important}
body.seggue-workspace-v4 .sg-module .liggo-conversation{min-height:110px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-message.is-team,.liggo-message.is-client) p{color:inherit!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-message.is-team,.liggo-message.is-client) header{color:inherit!important}
body.seggue-workspace-v4 .sg-module .sg-push :is(button,.button){font-size:12.5px!important}
body.seggue-workspace-v4 .sg-sidebar-nav a[aria-current="page"]{font-weight:750}
@media (min-width:1100px){body.seggue-workspace-v4 .sg-module :is(.liggo-form-grid,.liggo-input-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){
  body.seggue-workspace-v4 .sg-workspace{padding:14px 12px 78px!important}
  body.seggue-workspace-v4 .sg-section-intro h2{font-size:18px!important}
  body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-form-card){padding:12px!important}
  body.seggue-workspace-v4 .sg-module :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){font-size:16px!important}
  body.seggue-workspace-v4 .sg-module :is(button,.button,input[type="submit"]){min-height:42px!important}
  body.seggue-workspace-v4 .sg-module :is(.liggo-table-wrap,.widefat-wrap){overflow-x:auto;overscroll-behavior-x:contain}
  body.seggue-workspace-v4 .sg-module table{min-width:560px}
  body.seggue-workspace-v4 .sg-module .sg-push-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* SEGGUE UI 5.1: consistency across management routes and notification Inbox. */
body.seggue-workspace-v4 .sg-module .sg-inbox-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:0 0 12px;padding:10px 12px;border-radius:11px;background:var(--sg-surface);border:1px solid var(--sg-border)}
body.seggue-workspace-v4 .sg-module .sg-inbox-tools label{display:flex;flex-direction:column;gap:4px;min-width:120px;flex:1 1 130px}
body.seggue-workspace-v4 .sg-module .sg-inbox-tools label.sg-inbox-search{flex:3 1 200px}
body.seggue-workspace-v4 .sg-module .sg-inbox-tools :is(input,select){width:100%;min-height:40px!important}
body.seggue-workspace-v4 .sg-module .sg-inbox-tools .button{min-height:40px!important}
body.seggue-workspace-v4 .sg-module .liggo-action-list{display:grid;gap:8px}
body.seggue-workspace-v4 .sg-module .liggo-action{padding:11px 13px!important;border-radius:10px!important;align-items:center;gap:10px!important}
body.seggue-workspace-v4 .sg-module .liggo-action :is(h2,h3){font-size:14px!important;margin:1px 0!important;line-height:1.35!important}
body.seggue-workspace-v4 .sg-module .liggo-action p{font-size:12px!important;line-height:1.4!important;margin:0!important}
body.seggue-workspace-v4 .sg-module .liggo-action small{font-size:10px!important}
@media(max-width:700px){body.seggue-workspace-v4 .sg-module .sg-inbox-tools{padding:10px;gap:7px}body.seggue-workspace-v4 .sg-module .sg-inbox-tools label.sg-inbox-search{flex-basis:100%}body.seggue-workspace-v4 .sg-module .liggo-action{display:flex!important;flex-wrap:wrap}body.seggue-workspace-v4 .sg-module .liggo-action .button{min-height:42px!important}}


/* SEGGUE 5.2 — single component contract, shared by all management routes. */
body.seggue-workspace-v4{--sg-focus:#30d995;--sg-control-height:40px;font-size:13.5px}
body.seggue-workspace-v4 .sg-module :is(.liggo-wrap,.wrap){max-width:none;min-width:0}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-card,.liggo-table-wrap,.liggo-form-card,.sg-push-card){background:var(--sg-surface);color:var(--sg-ink);border:1px solid var(--sg-border)}
body.seggue-workspace-v4 .sg-module :is(h1,h2,h3,h4){color:var(--sg-ink);overflow-wrap:anywhere}
body.seggue-workspace-v4 .sg-module :is(p,dd,dt,li){overflow-wrap:anywhere}
body.seggue-workspace-v4 .sg-module :is(label,.description,small){letter-spacing:normal}
body.seggue-workspace-v4 .sg-module label{font-size:13px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-description,.description,.help-text){font-size:12px!important}
body.seggue-workspace-v4 .sg-module :is(.button,button:not(.dashicons),input[type=submit]){font-size:13px!important}
body.seggue-workspace-v4 .sg-module .liggo-action small{font-size:12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-form-card) :is(input,select,textarea):focus-visible{outline:2px solid var(--sg-focus)!important;outline-offset:1px}
body.seggue-workspace-v4 :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--sg-focus)!important;outline-offset:3px}
body.seggue-workspace-v4 .sg-topbar .sg-global-search input{font-size:13px!important}
body.seggue-workspace-v4 .sg-top-create{font-size:13px!important}
body.seggue-workspace-v4 .sg-nav-section a{font-size:12.5px!important}
body.seggue-workspace-v4 .sg-nav-section h2{font-size:10.5px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-fields,.liggo-form-grid,.liggo-input-grid){gap:10px}
body.seggue-workspace-v4 .sg-module :is(.liggo-fields,.liggo-form-grid,.liggo-input-grid) label{min-width:0}
body.seggue-workspace-v4 .sg-module .liggo-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body.seggue-workspace-v4 .sg-module table :is(td,th){color:var(--sg-ink)!important}
body.seggue-workspace-v4 .sg-module .sg-inbox-bulk{display:flex;justify-content:flex-end;margin:8px 0}
body.seggue-workspace-v4 .sg-module .sg-inbox-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0}
body.seggue-workspace-v4 .sg-module .sg-inbox-pagination span{font-size:13px;color:var(--sg-muted)}
body.seggue-workspace-v4 .sg-module .sg-push-events{display:grid;gap:8px}
body.seggue-workspace-v4 .sg-module .sg-push-events>div{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:10px;border:1px solid var(--sg-border);border-radius:9px;background:var(--sg-subtle)}
body.seggue-workspace-v4 .sg-module .sg-push-events :is(small){grid-column:1/-1;color:var(--sg-muted)}
/* Support: maintain light/dark contrast within messages and the composer. */
body.seggue-workspace-v4 .sg-module :is(.liggo-ticket-layout,.liggo-conversation,.liggo-reply-box){background:var(--sg-surface)!important;color:var(--sg-ink)!important;border-color:var(--sg-border)!important}
body.seggue-workspace-v4 .sg-module .liggo-conversation :is(.liggo-message,.liggo-message.is-team,.liggo-message.is-client){color:var(--sg-ink)!important;box-shadow:none!important}
html[data-lg-theme=dark] body.seggue-workspace-v4 .sg-module .liggo-conversation .liggo-message.is-team{background:#174638!important;color:#f1fff9!important}
html[data-lg-theme=dark] body.seggue-workspace-v4 .sg-module .liggo-conversation .liggo-message.is-client{background:#263640!important;color:#eef6f7!important}
body.seggue-workspace-v4 .sg-module .liggo-conversation .liggo-message :is(p,small,strong,span){color:inherit!important}
@media(min-width:1040px){
 body.seggue-workspace-v4 .sg-module :is(.liggo-form-grid,.liggo-input-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.seggue-workspace-v4 .sg-module :is(.liggo-form-grid,.liggo-input-grid) :is(.full,.full-width,fieldset){grid-column:1/-1}
}
@media(max-width:700px){
 body.seggue-workspace-v4 .sg-module .liggo-page-head{flex-wrap:wrap}
 body.seggue-workspace-v4 .sg-module :is(.liggo-form-grid,.liggo-input-grid,.liggo-fields){grid-template-columns:minmax(0,1fr)!important}
 body.seggue-workspace-v4 .sg-module :is(input:not([type=hidden]),select,textarea){max-width:100%;font-size:16px!important}
 body.seggue-workspace-v4 .sg-module :is(.liggo-panel,.liggo-form-card,.sg-push-card){padding:12px!important}
 body.seggue-workspace-v4 .sg-module .sg-inbox-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.seggue-workspace-v4 .sg-module .sg-inbox-tools .sg-inbox-search{grid-column:1/-1}
 body.seggue-workspace-v4 .sg-module .sg-inbox-tools :is(.button,a.button){width:100%;justify-content:center}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards{display:block;min-width:0!important;width:100%!important;border:0!important;background:transparent!important}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards tbody{display:grid;gap:9px;border:0;background:transparent}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards tr{display:grid;min-width:0!important;grid-template-columns:minmax(0,1fr);gap:0;border:1px solid var(--sg-border);border-radius:10px;background:var(--sg-surface);overflow:hidden}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards tr[hidden]{display:none!important}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards td{display:grid;grid-template-columns:minmax(92px,35%) minmax(0,1fr);align-items:start;gap:8px;min-width:0!important;width:100%!important;border:0!important;border-bottom:1px solid var(--sg-border);padding:9px 12px!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards td:last-child{border-bottom:0!important}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards td::before{content:attr(data-sg-label);color:var(--sg-muted);font-weight:600;font-size:12px}
 body.seggue-workspace-v4 .sg-module table.sg-mobile-cards td :is(a,button){min-height:32px}
 body.seggue-workspace-v4 .sg-module .sg-mobile-cards+*{clear:both}
 body.seggue-workspace-v4 .sg-module .sg-inbox-bulk{justify-content:stretch}
 body.seggue-workspace-v4 .sg-module .sg-inbox-bulk button{width:100%}
}
@media(prefers-reduced-motion:reduce){body.seggue-workspace-v4 *,body.seggue-workspace-v4 *::before,body.seggue-workspace-v4 *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Density must never reduce small operational labels to unreadable 9px text. */
body.seggue-workspace-v4 :is(.sg-sidebar-product,.sg-sidebar-version,.sg-nav-expand summary,.sg-global-search kbd,.sg-board-header a,.sg-board-total,.sg-site-name small,.sg-ticket-main small,.sg-progress-num,.sg-state,.sg-shortcut-grid strong,.sg-42-strip,.sg-42-data-note,.sg-table-counter){font-size:11.5px!important}
body.seggue-workspace-v4 .sg-module :is(.widefat,table.wp-list-table,table.liggo-table) th{font-size:12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-tabs a,.nav-tab,.liggo-card small,.liggo-kpi small,.liggo-stat small,.liggo-pagination p){font-size:12px!important}
body.seggue-workspace-v4 .sg-module :is(.liggo-client-row,.liggo-action,.liggo-result) :is(small,p){font-size:12px!important}
