/* TechWise Global Staff Portal. All selectors are scoped to avoid changing the website theme. */
.twgp { --twgp-bg:#f5f7fb;--twgp-card:#ffffff;--twgp-paper:#ffffff;--twgp-text:#182039;--twgp-sub:#768098;--twgp-edge:#e9ecf3;--twgp-brand:#7952c7;--twgp-strong:#5a36a4;--twgp-soft:#f1eafb;--twgp-side:#11182e;--twgp-side-text:#e2e7f3;--twgp-shadow:0 9px 32px rgba(29,35,64,.045);position:relative;font-family:inherit;color:var(--twgp-text);font-size:14px;line-height:1.55;isolation:isolate;}
.twgp[data-twg-theme="dark"] {--twgp-bg:#101726;--twgp-card:#1b2537;--twgp-paper:#202b40;--twgp-text:#e9eef9;--twgp-sub:#a5afc3;--twgp-edge:#34405a;--twgp-brand:#b499ff;--twgp-strong:#c2aaff;--twgp-soft:#312e4e;--twgp-side:#0b1020;--twgp-side-text:#dce3f6;--twgp-shadow:0 9px 32px rgba(0,0,0,.17)}
.twgp *, .twgp *::before,.twgp *::after{box-sizing:border-box}
.twgp a {text-decoration:none!important;color:inherit}
.twgp h1,.twgp h2,.twgp h3,.twgp p{color:inherit;margin-top:0}
.twgp button,.twgp input,.twgp select {font:inherit}
.twgp button{cursor:pointer}
.twgp .dashicons {width:20px;height:20px;font-size:20px;line-height:1;vertical-align:middle}
.twgp .twgp-muted {color:var(--twgp-sub)}
.twgp .twgp-btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:10px;font-weight:650;font-size:13px;transition:transform .16s,background .16s,border-color .16s;cursor:pointer;text-align:center}
.twgp .twgp-btn:hover{transform:translateY(-1px)}
.twgp .twgp-primary {background:#7350c5;color:#fff!important;box-shadow:0 5px 14px rgba(114,80,197,.17)}
.twgp .twgp-primary:hover{background:#6340b6}
.twgp .twgp-secondary{background:var(--twgp-card);border-color:var(--twgp-edge);color:var(--twgp-text)}
.twgp .twgp-full {width:100%}
.twgp .twgp-eyebrow {font-size:10px;letter-spacing:1.7px;font-weight:800;color:var(--twgp-strong)}
.twgp .twgp-card{background:var(--twgp-card);border:1px solid var(--twgp-edge);box-shadow:var(--twgp-shadow);border-radius:15px;min-width:0;overflow:hidden}
.twgp .twgp-card-head{display:flex;justify-content:space-between;align-items:center;padding:23px 26px 15px;gap:16px}
.twgp .twgp-card-head h2{font-size:17px;font-weight:750;line-height:1.35;margin:0 0 2px}
.twgp .twgp-card-head p{font-size:12px;color:var(--twgp-sub);margin:3px 0 0}
.twgp .twgp-notice{padding:14px 17px;border-radius:10px;display:flex;gap:10px;align-items:center;margin-bottom:20px;background:var(--twgp-soft);border:1px solid #d6c8f3;color:var(--twgp-text)}
.twgp .twgp-error{background:#fff1f1;color:#a52c3a;border-color:#f3c6cc}
.twgp[data-twg-theme="dark"] .twgp-error{background:#42252d;color:#ffbac5;border-color:#713a4c}
.twgp .twgp-success{background:#e8faf2;color:#116447;border-color:#bce8d5}
.twgp[data-twg-theme="dark"] .twgp-success{background:#203a35;color:#b0e9ce;border-color:#2e6555}
.twgp .twgp-brand-mark {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#6945bb,#a988fa);color:white!important;font-size:17px;font-weight:900;letter-spacing:-1px}
.twgp .twgp-logo{max-width:51px;max-height:51px;object-fit:contain}
/* Login */
.twgp.twgp-auth{width:min(100%,1100px);min-height:620px;margin:38px auto;display:flex;align-items:center;justify-content:center;padding:45px 22px;background:radial-gradient(circle at 18% 23%,rgba(157,119,231,.18),transparent 33%),radial-gradient(circle at 85% 72%,rgba(112,97,196,.13),transparent 29%),var(--twgp-bg);border:1px solid var(--twgp-edge);border-radius:24px;overflow:hidden}
.twgp .twgp-auth-card{width:min(100%,454px);background:var(--twgp-card);border:1px solid var(--twgp-edge);box-shadow:0 23px 70px rgba(28,24,65,.10);border-radius:20px;padding:37px 40px}
.twgp .twgp-auth-brand{display:flex;align-items:center;gap:14px;margin-bottom:34px}
.twgp .twgp-auth-brand strong{display:block;font-size:15px;letter-spacing:1px;font-weight:850;line-height:1.1}
.twgp .twgp-auth-brand small{display:block;margin-top:5px;font-size:9px;color:var(--twgp-sub);letter-spacing:2px;font-weight:750}
.twgp .twgp-auth-card h1{font-size:31px;line-height:1.2;font-weight:800;margin:8px 0 11px;letter-spacing:-.8px}
.twgp .twgp-auth-card .twgp-muted{font-size:13px;line-height:1.7;margin-bottom:25px}
.twgp .twgp-form label {display:block;font-weight:650;font-size:13px;margin-bottom:7px;color:var(--twgp-text)}
.twgp .twgp-form label span:not(.dashicons) {color:var(--twgp-strong)}
.twgp .twgp-form input:not([type="checkbox"]),.twgp .twgp-form select{width:100%;padding:11px 13px;min-height:44px;margin:0 0 17px;outline:none;border:1px solid var(--twgp-edge);border-radius:9px;box-shadow:none;background:var(--twgp-paper);color:var(--twgp-text);font-size:14px;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.twgp .twgp-form input:focus,.twgp .twgp-form select:focus{border-color:var(--twgp-brand);box-shadow:0 0 0 3px rgba(130,95,208,.12)}
.twgp .twgp-password{position:relative}
.twgp .twgp-password input{padding-right:45px!important}
.twgp .twgp-visibility{position:absolute;right:12px;top:12px;padding:0;border:0;color:var(--twgp-sub);background:transparent}
.twgp .twgp-form-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:1px 0 25px;font-size:12px}
.twgp .twgp-form-line a{color:var(--twgp-strong);font-weight:700}
.twgp .twgp-form .twgp-check{margin:0;display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:500;cursor:pointer}
.twgp .twgp-check input{accent-color:#7350c5}
.twgp .twgp-auth-foot{margin:25px 0 0!important;text-align:center;color:var(--twgp-sub)!important;font-size:11px;line-height:1.65}
.twgp .twgp-login-theme{position:absolute;bottom:22px;right:25px}
/* Main application shell */
.twgp.twgp-app{width:min(1490px,calc(100vw - 32px));max-width:none;position:relative;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:245px minmax(0,1fr);min-height:760px;margin:18px 0 30px;border:1px solid var(--twgp-edge);border-radius:17px;overflow:hidden;background:var(--twgp-bg);box-shadow:0 12px 38px rgba(17,27,53,.06)}
.twgp .twgp-sidebar{display:flex;flex-direction:column;background:var(--twgp-side);color:var(--twgp-side-text);padding:28px 16px 24px;min-width:0}
.twgp .twgp-side-brand{display:flex;align-items:center;gap:10px;padding:1px 10px 37px}
.twgp .twgp-side-brand .twgp-brand-mark{width:40px;height:40px;border-radius:10px;font-size:15px}
.twgp .twgp-side-brand .twgp-logo{max-width:44px;max-height:44px;background:#fff;border-radius:9px;padding:4px}
.twgp .twgp-side-brand strong{display:block;color:#f8f7ff;font-size:14px;font-weight:850;letter-spacing:.7px;line-height:1.3}
.twgp .twgp-side-brand small{display:block;color:#99a0b6;font-size:9px;letter-spacing:1.5px;margin-top:3px}
.twgp .twgp-side-label{font-size:10px;font-weight:800;color:#828ba6;letter-spacing:1.5px;margin:0 12px 11px}
.twgp .twgp-sidebar nav{display:grid;gap:5px;margin-bottom:29px}
.twgp .twgp-nav-link{display:flex;align-items:center;gap:13px;padding:12px 13px;color:#b8c0d6!important;font-size:13px;border-radius:9px;font-weight:620;border:1px solid transparent;transition:background .15s,color .15s}
.twgp .twgp-nav-link .dashicons{color:#8e98b2}
.twgp .twgp-nav-link:hover{background:rgba(255,255,255,.06);color:#fff!important}
.twgp .twgp-nav-link.is-active{background:linear-gradient(100deg,rgba(125,94,214,.34),rgba(125,94,214,.12));color:#fff!important;border-color:rgba(161,136,238,.22)}
.twgp .twgp-nav-link.is-active .dashicons{color:#c2b0ff}
.twgp .twgp-sidebar-bottom{margin-top:auto;padding:14px 10px 0;border-top:1px solid rgba(255,255,255,.09);color:#8590ad}
.twgp .twgp-sidebar-bottom small{font-size:10px}
.twgp .twgp-system{display:flex;align-items:center;gap:9px;font-size:11px;color:#c9d4e7;margin-bottom:11px}
.twgp .twgp-online-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;background:#3ec49d;border-radius:99px;box-shadow:0 0 0 4px rgba(62,196,157,.12)}
.twgp .twgp-main{min-width:0}
.twgp .twgp-topbar{height:84px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 32px;background:var(--twgp-card);border-bottom:1px solid var(--twgp-edge)}
.twgp .twgp-breadcrumb small{display:block;color:var(--twgp-sub);font-size:11px}
.twgp .twgp-breadcrumb strong{display:block;font-size:15px;margin-top:2px;font-weight:780}
.twgp .twgp-top-left,.twgp .twgp-top-actions{display:flex;align-items:center;gap:16px}
.twgp .twgp-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--twgp-soft);color:var(--twgp-strong);border:1px solid transparent;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:700;white-space:nowrap}
.twgp .twgp-theme-toggle:hover{border-color:var(--twgp-brand)}
.twgp .twgp-top-rule{width:1px;height:30px;background:var(--twgp-edge)}
.twgp .twgp-account{display:flex;align-items:center;gap:9px;min-width:0}
.twgp .twgp-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:var(--twgp-soft);color:var(--twgp-strong);font-size:15px;font-weight:850;text-transform:uppercase}
.twgp .twgp-account-details{white-space:nowrap;max-width:158px;overflow:hidden}
.twgp .twgp-account-details strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.3}
.twgp .twgp-account-details small{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--twgp-sub);font-size:10px;margin-top:3px}
.twgp .twgp-logout{display:inline-flex;align-items:center;gap:6px;color:var(--twgp-sub)!important;font-size:12px;font-weight:650}
.twgp .twgp-logout:hover{color:var(--twgp-strong)!important}
.twgp .twgp-content{padding:35px 33px 26px;min-width:0}
.twgp .twgp-view-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}
.twgp .twgp-view-head h1{font-size:26px;line-height:1.25;letter-spacing:-.6px;font-weight:820;margin:8px 0 8px}
.twgp .twgp-view-head p{font-size:12px;color:var(--twgp-sub);margin:0}
.twgp .twgp-hero{position:relative;display:flex;justify-content:space-between;gap:15px;min-height:177px;padding:30px 33px;border-radius:15px;color:#fff;background:linear-gradient(105deg,#372764,#6642a9 58%,#8263c7);overflow:hidden;margin-bottom:20px}
.twgp .twgp-hero>div:first-child{position:relative;z-index:1;max-width:560px}
.twgp .twgp-hero-tag{display:inline-block;border:1px solid rgba(255,255,255,.3);border-radius:22px;padding:5px 10px;font-size:10px;letter-spacing:.9px;font-weight:800;margin-bottom:12px}
.twgp .twgp-hero h2{font-size:25px;letter-spacing:-.4px;font-weight:800;color:white;margin-bottom:8px}
.twgp .twgp-hero p{color:#e4dafa;font-size:12px;line-height:1.7;margin:0}
.twgp .twgp-hero-art{position:absolute;right:40px;top:-45px;height:260px;width:240px;border-radius:50%;border:35px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transform:rotate(-25deg)}
.twgp .twgp-hero-art div{font-size:62px;font-weight:900;color:rgba(255,255,255,.12)}
.twgp .twgp-hero-art span{position:absolute;inset:10px;border:2px dashed rgba(255,255,255,.11);border-radius:50%}
.twgp .twgp-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}
.twgp .twgp-stat{background:var(--twgp-card);border:1px solid var(--twgp-edge);border-radius:13px;box-shadow:var(--twgp-shadow);padding:19px 18px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.twgp .twgp-stat-icon{display:inline-flex;align-items:center;justify-content:center;background:var(--twgp-soft);color:var(--twgp-strong);width:37px;height:37px;border-radius:10px;margin-bottom:13px}
.twgp .twgp-stat-label{color:var(--twgp-sub);font-size:11px;margin-bottom:3px}
.twgp .twgp-stat-value{font-size:25px;font-weight:850;line-height:1.3;letter-spacing:-.6px;overflow-wrap:anywhere}
.twgp .twgp-stat:last-child .twgp-stat-value{font-size:16px;margin-top:6px;letter-spacing:0}
.twgp .twgp-stat small{color:var(--twgp-sub);font-size:10px;margin-top:4px}
.twgp .twgp-dash-grid{display:grid;grid-template-columns:1.17fr 1fr;gap:16px;margin-bottom:18px}
.twgp .twgp-action-list{padding:0 25px 20px}
.twgp .twgp-action-list>a{display:flex;align-items:center;gap:12px;border:1px solid var(--twgp-edge);padding:13px 13px;border-radius:11px;margin-bottom:9px;transition:background .15s}
.twgp .twgp-action-list>a:hover{background:var(--twgp-soft)}
.twgp .twgp-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;border-radius:9px;background:var(--twgp-soft);color:var(--twgp-strong)}
.twgp .twgp-action-list>a>span:nth-child(2){flex:1;min-width:0}
.twgp .twgp-action-list strong{display:block;font-size:12px;font-weight:750}
.twgp .twgp-action-list small{display:block;font-size:10px;color:var(--twgp-sub);margin-top:2px}
.twgp .twgp-action-list>a>.dashicons{color:var(--twgp-sub);font-size:17px}
.twgp .twgp-no-actions{padding:12px}
.twgp .twgp-no-actions p{margin:5px 0 0;color:var(--twgp-sub)}
.twgp .twgp-health{display:flex;gap:15px;align-items:center;padding:16px 21px;border-top:1px solid var(--twgp-edge)}
.twgp .twgp-health>div{flex:1;min-width:0}
.twgp .twgp-health strong{display:block;font-size:12px}
.twgp .twgp-health small{display:block;color:var(--twgp-sub);font-size:10px;margin-top:3px}
.twgp .twgp-tag{font-size:9px;letter-spacing:1px;font-weight:800;color:#2c9c79;background:rgba(50,190,145,.1);padding:6px 7px;border-radius:7px;white-space:nowrap}
.twgp .twgp-footer{display:flex;justify-content:space-between;gap:15px;margin-top:27px;padding-top:16px;border-top:1px solid var(--twgp-edge);color:var(--twgp-sub);font-size:10px}
/* Settings and roles */
.twgp .twgp-settings-grid,.twgp .twgp-roles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}
.twgp .twgp-setting-tile{display:block;padding:26px;transition:border-color .15s,transform .15s}
.twgp a.twgp-setting-tile:hover{border-color:var(--twgp-brand);transform:translateY(-2px)}
.twgp .twgp-setting-icon{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;background:var(--twgp-soft);color:var(--twgp-strong);border-radius:12px;margin-bottom:15px}
.twgp .twgp-setting-tile h2,.twgp .twgp-role-card h2{font-size:16px;font-weight:780;margin:0 0 8px;line-height:1.3}
.twgp .twgp-setting-tile p,.twgp .twgp-role-card p{font-size:12px;line-height:1.7;color:var(--twgp-sub);margin:0 0 17px}
.twgp .twgp-setting-tile>span:last-child{display:inline-flex;gap:7px;align-items:center;font-size:11px;font-weight:750;color:var(--twgp-strong)}
.twgp .twgp-static{cursor:default}
.twgp .twgp-integrate{padding:23px 26px}
.twgp .twgp-integrate h2{font-size:16px;font-weight:780}
.twgp .twgp-integrate p{font-size:12px;color:var(--twgp-sub);margin:8px 0 18px}
.twgp .twgp-integrate>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--twgp-edge);font-size:12px}
.twgp .twgp-integrate>div span{font-weight:750}
.twgp .twgp-integrate code{overflow-wrap:anywhere;background:var(--twgp-soft);color:var(--twgp-strong);padding:2px 6px;font-size:11px}
.twgp .twgp-role-card{padding:23px}
.twgp .twgp-role-head{display:flex;align-items:flex-start;justify-content:space-between}
.twgp .twgp-role-head .twgp-tag{color:var(--twgp-strong);background:var(--twgp-soft)}
.twgp .twgp-role-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
.twgp .twgp-role-pills span{background:var(--twgp-soft);color:var(--twgp-strong);font-size:10px;border-radius:6px;padding:6px 8px;font-weight:650}
.twgp .twgp-link-danger{padding:11px 0 0;background:transparent;border:0;color:#cc5266;font-size:11px;font-weight:700}
/* Table */
.twgp .twgp-list-card{margin-bottom:18px}
.twgp .twgp-table-scroller{max-width:100%;overflow-x:auto}
.twgp .twgp-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;background:transparent;color:var(--twgp-text);margin:0}
.twgp .twgp-table th{background:var(--twgp-bg);color:var(--twgp-sub);font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:750;padding:13px 17px;white-space:nowrap;border-top:1px solid var(--twgp-edge);border-bottom:1px solid var(--twgp-edge)}
.twgp .twgp-table td{padding:14px 17px;vertical-align:middle;border-bottom:1px solid var(--twgp-edge);white-space:nowrap}
.twgp .twgp-table tr:last-child td{border-bottom:0}
.twgp .twgp-table-user{display:flex;align-items:center;gap:9px}
.twgp .twgp-table-user .twgp-avatar{width:34px;height:34px;flex-basis:34px}
.twgp .twgp-table-user strong{display:block;font-size:12px}
.twgp .twgp-table-user small{display:block;color:var(--twgp-sub);font-size:10px}
.twgp .twgp-status{display:inline-block;border-radius:7px;padding:5px 9px;font-size:10px;font-weight:750}
.twgp .twgp-status-active{color:#149777;background:#e6f8f0}
.twgp .twgp-status-inactive{color:#9e6970;background:#fff0f0}
.twgp[data-twg-theme="dark"] .twgp-status-active{background:#184238;color:#9be9cd}
.twgp[data-twg-theme="dark"] .twgp-status-inactive{background:#48303c;color:#ffbac5}
.twgp .twgp-inline-btn{display:inline-flex;align-items:center;gap:5px;color:var(--twgp-strong);font-weight:760;font-size:11px}
.twgp .twgp-inline-btn .dashicons{font-size:15px}
.twgp .twgp-empty{text-align:center;padding:35px!important;color:var(--twgp-sub)}
.twgp .twgp-pages{display:flex;gap:8px;padding:17px 22px;border-top:1px solid var(--twgp-edge)}
.twgp .twgp-pages a{padding:5px 10px;border:1px solid var(--twgp-edge);border-radius:7px}
.twgp .twgp-pages a.is-current{background:var(--twgp-soft);color:var(--twgp-strong);border-color:var(--twgp-brand)}
/* Forms */
.twgp .twgp-back{display:inline-flex;gap:7px;align-items:center;margin:0 0 16px;color:var(--twgp-strong);font-size:12px;font-weight:750}
.twgp .twgp-form-card{max-width:900px}
.twgp .twgp-form-card .twgp-card-head{padding-bottom:17px;border-bottom:1px solid var(--twgp-edge)}
.twgp .twgp-grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding:24px 26px}
.twgp .twgp-grid-form>label{min-width:0}
.twgp .twgp-field-wide,.twgp .twgp-permissions,.twgp .twgp-form-actions{grid-column:1 / -1}
.twgp .twgp-grid-form label>span{color:#b95268}
.twgp .twgp-grid-form label>small,.twgp .twgp-permissions small{display:block;color:var(--twgp-sub);font-size:11px;font-weight:400;line-height:1.55;margin-top:-10px;margin-bottom:18px}
.twgp .twgp-grid-form input:disabled{opacity:.6}
.twgp .twgp-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--twgp-edge);margin-top:8px;padding-top:23px}
.twgp .twgp-status-label{display:flex!important;align-items:center;gap:10px;background:var(--twgp-bg);padding:13px 15px;border-radius:10px;font-weight:700}
.twgp .twgp-status-label input{accent-color:#7350c5}
.twgp .twgp-status-label span,.twgp .twgp-permissions label span{color:var(--twgp-text)!important}
.twgp .twgp-status-label small{margin:4px 0 0!important}
.twgp .twgp-permissions{background:var(--twgp-bg);padding:15px 19px;border:1px solid var(--twgp-edge);border-radius:11px}
.twgp .twgp-permissions h3{font-size:14px;margin:0 0 12px;font-weight:750}
.twgp .twgp-permissions label{display:flex;gap:11px;margin:10px 0!important;font-weight:500}
.twgp .twgp-permissions label input{flex:0 0 auto;margin-top:5px;accent-color:#7350c5}
.twgp .twgp-permissions label strong{display:block;font-size:12px}
.twgp .twgp-permissions label small{margin:3px 0 0;font-size:11px}
.twgp .twgp-overlay,.twgp .twgp-mobile-menu{display:none}
.twgp.twgp-restricted{padding:50px;background:var(--twgp-bg);border-radius:13px;text-align:center}
.twgp a:focus-visible,.twgp button:focus-visible,.twgp input:focus-visible{outline:3px solid rgba(162,114,252,.45);outline-offset:3px}
@media (max-width:1120px){.twgp .twgp-topbar{padding:14px 21px}.twgp .twgp-content{padding:27px 22px}.twgp .twgp-account-details{display:none}.twgp .twgp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.twgp .twgp-settings-grid,.twgp .twgp-roles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:780px){.twgp.twgp-app{display:block;min-height:660px;width:min(100vw - 18px,1490px);margin:9px 0 20px}.twgp .twgp-sidebar{position:absolute;z-index:10;top:0;bottom:0;left:0;transform:translateX(-101%);width:260px;transition:transform .2s;box-shadow:10px 0 30px rgba(0,0,0,.1)}.twgp.twgp-menu-open .twgp-sidebar{transform:translateX(0)}.twgp .twgp-mobile-menu{display:inline-flex;background:var(--twgp-soft);border:0;border-radius:9px;color:var(--twgp-text);padding:9px}.twgp .twgp-overlay{display:none;position:absolute;inset:0;z-index:9;background:rgba(5,8,18,.5);border:0;width:100%;height:100%}.twgp.twgp-menu-open .twgp-overlay{display:block}.twgp .twgp-topbar{height:68px}.twgp .twgp-toggle-label,.twgp .twgp-top-rule,.twgp .twgp-logout span{display:none}.twgp .twgp-top-actions{gap:8px}.twgp .twgp-logout{padding:8px}.twgp .twgp-content{padding:23px 17px}.twgp .twgp-dash-grid{grid-template-columns:1fr}.twgp .twgp-view-head h1{font-size:24px}.twgp .twgp-view-head{align-items:flex-start}}
@media (max-width:530px){.twgp.twgp-auth{min-height:580px;margin:16px auto;padding:28px 12px}.twgp .twgp-auth-card{padding:28px 22px}.twgp .twgp-auth-card h1{font-size:27px}.twgp .twgp-auth-brand{margin-bottom:26px}.twgp .twgp-login-theme{bottom:10px;right:10px}.twgp .twgp-stat-grid{gap:10px}.twgp .twgp-stat{padding:14px 12px}.twgp .twgp-stat-value{font-size:20px}.twgp .twgp-stat:last-child .twgp-stat-value{font-size:13px}.twgp .twgp-hero{padding:25px 20px}.twgp .twgp-hero-art{right:-120px}.twgp .twgp-hero h2{font-size:21px}.twgp .twgp-settings-grid,.twgp .twgp-roles-grid{grid-template-columns:1fr}.twgp .twgp-view-head{flex-direction:column;gap:12px}.twgp .twgp-grid-form{grid-template-columns:1fr;padding:21px 17px}.twgp .twgp-form-actions{flex-wrap:wrap}.twgp .twgp-integrate>div{grid-template-columns:1fr}.twgp .twgp-card-head{padding:19px 18px 14px}.twgp .twgp-action-list{padding:0 17px 16px}.twgp .twgp-footer{flex-direction:column;gap:2px}.twgp .twgp-topbar{padding:11px 12px}.twgp .twgp-breadcrumb small{font-size:9px}.twgp .twgp-breadcrumb strong{font-size:13px}}
@media (prefers-reduced-motion:reduce){.twgp *{transition:none!important}}

/* ===========================================
   v0.3.0 — Full-width themed login and isolated portal
   =========================================== */
body.twgp-standalone-dashboard{margin:0!important;padding:0!important;overflow-x:hidden;background:#f5f7fb!important;min-width:320px}
body.twgp-standalone-dashboard #wpadminbar{display:none!important}
body.twgp-standalone-dashboard,body.twgp-standalone-dashboard *{scrollbar-color:#a7aac1 transparent}
body.twgp-standalone-dashboard .twgp-app{display:grid;grid-template-columns:260px minmax(0,1fr);width:100%;max-width:none;min-height:100vh;min-height:100dvh;height:auto;left:auto;right:auto;transform:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible}
body.twgp-standalone-dashboard .twgp-sidebar{position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto;align-self:start}
body.twgp-standalone-dashboard .twgp-main{min-width:0}
body.twgp-standalone-dashboard .twgp-topbar{position:sticky;top:0;z-index:8}
body.twgp-standalone-dashboard .twgp-content{max-width:1700px;width:100%;margin:0 auto;padding:35px 36px 28px}
.twgp-body-login #Subheader,.twgp-body-login .page-title-bar,.twgp-body-login .page-header-title,.twgp-body-login .mfn-header-tmpl-page-title{display:none!important}
.twgp-body-login #Content,.twgp-body-login #Content .content_wrapper,.twgp-body-login #Content .sections_group,.twgp-body-login #Content .section,.twgp-body-login .site-content{padding-top:0!important;padding-bottom:0!important;max-width:none!important;width:100%!important}
.twgp-login-page-main{display:block;width:100%;max-width:none!important;padding:28px;box-sizing:border-box;background:#faf9fb;clear:both}
.twgp-login-page-main .twgp.twgp-auth{margin:0;position:relative;transform:none;left:auto;width:100%;max-width:none;min-height:min(800px,calc(100dvh - 110px));display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);align-items:stretch;justify-content:stretch;padding:0;background:#fff;border:1px solid #ece7ee;border-radius:30px;overflow:hidden;box-shadow:0 4px 25px rgba(35,23,45,.04)}
.twgp .twgp-auth-story{background:radial-gradient(ellipse at 75% 22%,rgba(197,131,187,.25),transparent 47%),linear-gradient(143deg,#29162d 7%,#4a294c 58%,#703671 100%);color:#fff;min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(35px,5.3vw,75px);position:relative;isolation:isolate;overflow:hidden}
.twgp .twgp-auth-story:before{content:"";position:absolute;bottom:-210px;left:-225px;width:440px;height:440px;border-radius:50%;border:1px solid rgba(238,194,230,.24);box-shadow:0 0 0 67px rgba(228,165,216,.06),0 0 0 130px rgba(228,165,216,.045);pointer-events:none;z-index:-1}
.twgp .twgp-story-top .twgp-eyebrow{color:#f7a0db;letter-spacing:3px;font-size:11px}
.twgp .twgp-story-overline{display:block;color:#f7bfed;letter-spacing:3px;font-size:11px;font-weight:800;margin-bottom:32px}
.twgp .twgp-story-center{margin:50px 0 70px}
.twgp .twgp-story-center h1{font-size:clamp(45px,5.3vw,78px);line-height:1.05;letter-spacing:-3.5px;font-weight:800;color:#fff;margin:0 0 29px}
.twgp .twgp-story-center h1 em{font-style:normal;color:#f2c8f2}
.twgp .twgp-story-center>p{font-size:15px;color:#fcf0fc;max-width:415px;line-height:2;margin:0}
.twgp .twgp-story-bottom{position:relative;border-top:1px solid rgba(255,255,255,.25);padding-top:47px}
.twgp .twgp-story-bottom>span:first-child{font-size:11px;letter-spacing:2.5px;font-weight:800}
.twgp .twgp-story-arrow{position:absolute;top:34px;right:3px;color:#fff;font-weight:300;font-size:47px}
.twgp .twgp-story-bottom p{font-size:12px;line-height:1.8;color:#ebd2ed;max-width:350px;margin:31px 0 0}
.twgp .twgp-auth-pane{display:flex;flex-direction:column;min-width:0;padding:clamp(27px,5vw,72px);background:var(--twgp-card);color:var(--twgp-text)}
.twgp .twgp-auth-pane-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.twgp .twgp-auth-pane-top .twgp-auth-brand{margin:0}
.twgp .twgp-auth-pane .twgp-auth-card{width:min(100%,570px);margin:auto;padding:45px 0;background:transparent;border:0;border-radius:0;box-shadow:none}
.twgp .twgp-auth-pane .twgp-auth-card h2{font-size:clamp(34px,3.3vw,51px);font-weight:790;line-height:1.15;letter-spacing:-1.6px;margin:22px 0 14px}
.twgp .twgp-auth-pane .twgp-auth-card .twgp-muted{font-size:15px;color:var(--twgp-sub);line-height:1.8;margin:0 0 33px;max-width:440px}
.twgp .twgp-auth-pane .twgp-form label{font-size:13px;font-weight:760;margin-bottom:9px}
.twgp .twgp-auth-pane .twgp-form input:not([type="checkbox"]){min-height:55px;border-radius:12px;background:var(--twgp-bg);border-color:var(--twgp-edge);font-size:14px;padding:15px 17px;margin-bottom:22px}
.twgp .twgp-auth-pane .twgp-form input::placeholder{color:#9697a7;opacity:1}
.twgp .twgp-auth-pane .twgp-password .twgp-visibility{top:17px;right:16px}
.twgp .twgp-auth-pane .twgp-form-line{margin:5px 0 28px}
.twgp .twgp-auth-pane .twgp-primary{min-height:57px;font-size:14px;font-weight:800;border-radius:14px;background:linear-gradient(95deg,#682079,#a33f9d);box-shadow:none}
.twgp .twgp-auth-pane .twgp-primary:hover{background:linear-gradient(95deg,#562066,#8d3088)}
.twgp .twgp-auth-pane .twgp-auth-foot{font-size:12px;margin:24px 0 0!important}
.twgp .twgp-auth-pane-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--twgp-sub);font-size:11px}
.twgp .twgp-auth-pane .twgp-theme-toggle{font-size:11px;padding:8px 11px}
/* Full width when the shortcode is placed in a themed content column elsewhere. */
body:not(.twgp-body-login) .entry-content > .twgp-auth,body:not(.twgp-body-login) .post-content > .twgp-auth{width:100vw;max-width:100vw;left:50%;transform:translateX(-50%);margin:0;}
/* Portal quotations */
.twgp .twgp-quote-dash-line{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:center;margin:18px 0 22px;padding:17px 21px;background:var(--twgp-card);border:1px solid var(--twgp-edge);border-radius:14px}
.twgp .twgp-quote-dash-line>div{border-right:1px solid var(--twgp-edge)}
.twgp .twgp-quote-dash-line strong{font-size:21px;display:block;line-height:1.25}
.twgp .twgp-quote-dash-line span{font-size:11px;color:var(--twgp-sub)}
.twgp .twgp-quote-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.twgp .twgp-quote-tools p,.twgp .twgp-q-hint{color:var(--twgp-sub);font-size:12px;margin:0}
.twgp .twgp-q-filter{display:flex;gap:9px;align-items:center;font-size:12px}
.twgp .twgp-q-filter select{background:var(--twgp-card);border:1px solid var(--twgp-edge);color:var(--twgp-text);border-radius:9px;padding:9px 13px;font-size:12px}
.twgp .twgp-q-primary-link{color:var(--twgp-strong)!important;font-weight:800}
.twgp .twgp-q-table-sub{display:block;color:var(--twgp-sub);margin-top:3px;max-width:230px;white-space:normal}
.twgp .twgp-q-status{display:inline-block;font-size:10px;padding:6px 10px;border-radius:8px;background:var(--twgp-soft);font-weight:800;color:var(--twgp-strong);text-transform:capitalize}
.twgp .twgp-q-accepted{background:#e8f9ee;color:#117948}
.twgp .twgp-q-rejected{background:#fff1f1;color:#ad3540}
.twgp .twgp-q-sent{background:#eaf1ff;color:#3558a9}
.twgp .twgp-q-expired{background:#faf3e6;color:#a06d20}
.twgp .twgp-q-section{margin-bottom:20px;overflow:visible}
.twgp .twgp-q-section .twgp-card-head{border-bottom:1px solid var(--twgp-edge);padding:22px 27px}
.twgp .twgp-q-ref{font-size:12px;color:var(--twgp-strong);font-weight:800;white-space:nowrap}
.twgp .twgp-q-grid{padding:25px 27px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.twgp .twgp-q-grid label{font-size:12px;font-weight:780;display:block;min-width:0;color:var(--twgp-text)}
.twgp .twgp-q-grid label>span{color:#bc4462}
.twgp .twgp-q-grid input:not([type="checkbox"]),.twgp .twgp-q-grid select,.twgp .twgp-q-grid textarea,.twgp .twgp-q-items-table input,.twgp .twgp-q-items-table textarea,.twgp .twgp-q-totals input{font:inherit;font-size:13px;width:100%;border-radius:9px;outline:0;border:1px solid var(--twgp-edge);background:var(--twgp-bg);color:var(--twgp-text);padding:11px 12px;margin:8px 0 0;min-height:44px;box-shadow:none}
.twgp .twgp-q-grid textarea,.twgp .twgp-q-items-table textarea{resize:vertical;line-height:1.65}
.twgp .twgp-q-grid input:focus,.twgp .twgp-q-grid textarea:focus,.twgp .twgp-q-items-table input:focus,.twgp .twgp-q-items-table textarea:focus{border-color:var(--twgp-brand);box-shadow:0 0 0 3px rgba(145,94,196,.12)}
.twgp .twgp-q-wide{grid-column:1 / -1}
.twgp .twgp-q-items-table{width:100%;border-collapse:collapse;min-width:860px;color:var(--twgp-text);font-size:12px}
.twgp .twgp-q-items-table th{text-align:left;padding:12px 10px;font-weight:800;background:var(--twgp-bg);color:var(--twgp-sub);white-space:nowrap}
.twgp .twgp-q-items-table td{padding:9px 7px;border-top:1px solid var(--twgp-edge);vertical-align:middle}
.twgp .twgp-q-items-table td:first-child,.twgp .twgp-q-items-table th:first-child{padding-left:19px}
.twgp .twgp-q-items-table td:nth-child(1){width:40px}
.twgp .twgp-q-items-table td:nth-child(2){min-width:260px;width:45%}
.twgp .twgp-q-items-table td:nth-child(3){width:95px}
.twgp .twgp-q-items-table td:nth-child(4){width:104px}
.twgp .twgp-q-items-table td:nth-child(5){width:135px}
.twgp .twgp-q-items-table td:nth-child(6){min-width:95px;text-align:right;font-weight:800}
.twgp .twgp-q-items-table td:last-child{width:46px;text-align:center}
.twgp .twgp-q-items-table textarea,.twgp .twgp-q-items-table input{margin:0;min-height:38px;padding:8px 10px}
.twgp .twgp-q-remove{color:#c14b5b;border:0;background:transparent;font-size:25px;line-height:1;padding:7px}
.twgp .twgp-q-addbar{display:flex;align-items:center;gap:14px;padding:17px 22px;border-top:1px solid var(--twgp-edge)}
.twgp .twgp-q-addbar small{color:var(--twgp-sub)}
.twgp .twgp-q-totals{width:min(100%,410px);margin:0 26px 25px auto;padding:18px 20px;border:1px solid var(--twgp-edge);border-radius:12px;background:var(--twgp-bg)}
.twgp .twgp-q-totals>div,.twgp .twgp-q-totals label{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;font-size:12px;margin:0}
.twgp .twgp-q-totals label input{max-width:132px;min-height:36px;margin:0;text-align:right}
.twgp .twgp-q-totals strong{font-size:14px}
.twgp .twgp-q-totals .twgp-q-grand{border-top:1px solid var(--twgp-edge);padding-top:17px;margin-top:8px;color:var(--twgp-strong);font-weight:800}
.twgp .twgp-q-totals .twgp-q-grand strong{font-size:21px}
.twgp .twgp-q-submit{display:flex;justify-content:flex-end;gap:12px;margin:24px 0}
.twgp .twgp-q-uploaded img{max-width:300px;width:auto;height:auto;max-height:200px;object-fit:contain;background:white;border:1px solid var(--twgp-edge);margin:8px 0}
.twgp .twgp-q-uploaded label{display:flex;gap:9px;align-items:center}
.twgp .twgp-q-preview-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:flex-end;margin:0 0 22px}
.twgp .twgp-q-preview-actions form{margin:0}
.twgp .twgp-danger{color:#bf4054;background:var(--twgp-card);border:1px solid #eec3ca}
.twgp .twgp-q-paper{background:#fff;color:#25263b!important;max-width:1000px;width:100%;padding:clamp(25px,5vw,61px);margin:0 auto;border:1px solid #eceaf2;box-shadow:0 17px 45px rgba(24,20,45,.08);font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.65}
.twgp .twgp-q-paper *{box-sizing:border-box;color:inherit}
.twgp .twgp-q-letterhead{display:block;width:100%;height:auto;max-height:200px;object-fit:contain;object-position:left top;margin-bottom:27px}
.twgp .twgp-q-print-header{display:flex;justify-content:space-between;gap:24px;align-items:center;border-bottom:3px solid #77347f;padding:0 0 25px;margin-bottom:27px}
.twgp .twgp-q-print-brand{display:flex;align-items:center;gap:16px}
.twgp .twgp-q-print-brand h2{font-size:25px!important;line-height:1.15;margin:0;color:#38213e;font-weight:800}
.twgp .twgp-q-print-brand p{font-size:11px;margin:6px 0 0;color:#7c6a7d}
.twgp .twgp-q-print-logo{max-width:94px;max-height:85px;object-fit:contain;width:auto;height:auto}
.twgp .twgp-q-print-contact{text-align:right;font-size:11px;line-height:1.8;color:#656473;max-width:44%}
.twgp .twgp-q-doc-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 27px}
.twgp .twgp-q-doc-title>div:first-child>span{font-size:10px;letter-spacing:2px;font-weight:800;color:#893d92}
.twgp .twgp-q-doc-title h2{font-size:31px!important;margin:3px 0 0;color:#24172b!important;letter-spacing:-1px}
.twgp .twgp-q-doc-code{text-align:right}
.twgp .twgp-q-doc-code strong{display:block;font-size:15px;color:#39223f}
.twgp .twgp-q-doc-code span{display:inline-block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#7b4a80;margin-top:5px}
.twgp .twgp-q-print-info{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:22px;background:#f8f5f9;border-radius:9px;margin-bottom:23px}
.twgp .twgp-q-print-info small{display:block;font-size:10px;letter-spacing:1.4px;color:#765a79;font-weight:800;margin-bottom:9px}
.twgp .twgp-q-print-info strong{display:block;font-size:14px;margin-bottom:4px}
.twgp .twgp-q-print-info span{display:block;color:#5c5965;font-size:11px;line-height:1.65}
.twgp .twgp-q-print-info dl{display:grid;grid-template-columns:105px 1fr;gap:6px;margin:0;font-size:11px}
.twgp .twgp-q-print-info dt{color:#7a7783}
.twgp .twgp-q-print-info dd{margin:0;font-weight:700}
.twgp .twgp-q-print-subject{margin-bottom:18px}
.twgp .twgp-q-print-subject strong{font-size:14px}
.twgp .twgp-q-print-subject p{color:#615c68;margin:6px 0 0;font-size:11px}
.twgp .twgp-q-print-table{border-collapse:collapse;width:100%;font-size:11px;margin-bottom:12px}
.twgp .twgp-q-print-table th{background:#572b5d!important;color:#fff!important;text-align:left;padding:11px 10px;font-weight:800;white-space:nowrap}
.twgp .twgp-q-print-table th:nth-last-child(-n+3),.twgp .twgp-q-print-table td:nth-last-child(-n+3){text-align:right}
.twgp .twgp-q-print-table td{padding:11px 10px;border-bottom:1px solid #e5dde5;vertical-align:top;color:#44404e}
.twgp .twgp-q-print-table tr:nth-child(even){background:#faf8fb!important}
.twgp .twgp-q-print-totals{margin-left:auto;width:min(100%,340px);font-size:12px}
.twgp .twgp-q-print-totals>div{display:flex;justify-content:space-between;padding:9px 12px;gap:20px}
.twgp .twgp-q-print-totals span{color:#5e5868}
.twgp .twgp-q-print-grand{margin-top:4px;background:#eee5f0;border-top:2px solid #784280;font-weight:800}
.twgp .twgp-q-print-grand strong{font-size:17px;color:#4d2556}
.twgp .twgp-q-print-notes{margin-top:20px;padding-top:12px;border-top:1px solid #ebe5ed;break-inside:avoid}
.twgp .twgp-q-print-notes h3{font-size:12px;margin:0 0 5px;color:#48264d;font-weight:800}
.twgp .twgp-q-print-notes p{font-size:11px;margin:0;white-space:normal;color:#55505c}
.twgp .twgp-q-signature{display:flex;justify-content:space-between;gap:25px;margin-top:65px;break-inside:avoid}
.twgp .twgp-q-signature>div{width:45%;border-top:1px solid #bfb7c1;padding-top:10px}
.twgp .twgp-q-signature span{display:block;color:#77717e;font-size:10px}
.twgp .twgp-q-signature strong{display:block;font-size:12px;margin-top:5px}
.twgp .twgp-q-paper-footer{font-size:10px;letter-spacing:.1px;text-align:center;border-top:1px solid #e5dfe7;margin-top:38px;padding-top:15px;color:#77717e}
@media(max-width:970px){.twgp-login-page-main{padding:12px}.twgp .twgp-auth-story{padding:40px 32px}.twgp .twgp-story-center h1{letter-spacing:-2px;font-size:clamp(35px,5.2vw,55px)}.twgp .twgp-auth-pane{padding:32px}.twgp .twgp-auth-pane-top{flex-wrap:wrap}.twgp .twgp-story-bottom{padding-top:26px}.twgp .twgp-auth-pane .twgp-auth-card{padding:40px 0}body.twgp-standalone-dashboard .twgp-app{grid-template-columns:245px minmax(0,1fr)}}
@media(max-width:780px){body.twgp-standalone-dashboard .twgp-app{display:block;min-height:100dvh;width:100%;margin:0;border-radius:0}body.twgp-standalone-dashboard .twgp-sidebar{position:fixed;top:0;bottom:0;left:0;z-index:11;width:260px;height:100vh;height:100dvh;transform:translateX(-103%)}body.twgp-standalone-dashboard .twgp-menu-open .twgp-sidebar{transform:translateX(0)}body.twgp-standalone-dashboard .twgp-topbar{z-index:8}body.twgp-standalone-dashboard .twgp-overlay{position:fixed;z-index:10}.twgp-login-page-main .twgp.twgp-auth{grid-template-columns:1fr;min-height:0}.twgp .twgp-auth-story{min-height:240px;padding:28px 28px}.twgp .twgp-story-top{display:none}.twgp .twgp-story-center{margin:0}.twgp .twgp-story-center h1{font-size:37px;letter-spacing:-1.6px;margin:0 0 12px}.twgp .twgp-story-overline{font-size:9px;margin:0 0 13px}.twgp .twgp-story-center>p{font-size:12px;line-height:1.6}.twgp .twgp-story-bottom{display:none}.twgp .twgp-auth-pane{padding:25px 24px}.twgp .twgp-auth-pane .twgp-auth-card{margin:30px auto;padding:20px 0 35px}.twgp .twgp-auth-pane-footer{gap:9px}.twgp .twgp-quote-dash-line{grid-template-columns:repeat(3,1fr)}.twgp .twgp-quote-dash-line .twgp-btn{grid-column:1/-1}.twgp .twgp-q-grid{grid-template-columns:1fr;padding:18px}.twgp .twgp-q-preview-actions{justify-content:flex-start}}
@media(max-width:470px){.twgp-login-page-main{padding:7px}.twgp-login-page-main .twgp.twgp-auth{border-radius:15px}.twgp .twgp-auth-story{min-height:210px;padding:25px}.twgp .twgp-auth-pane{padding:22px 19px}.twgp .twgp-auth-brand strong{font-size:12px}.twgp .twgp-auth-pane-top .twgp-theme-toggle{font-size:0;padding:6px}.twgp .twgp-auth-pane-top .twgp-theme-toggle .dashicons{font-size:20px}.twgp .twgp-auth-pane .twgp-auth-card h2{font-size:32px}.twgp .twgp-q-totals{margin:8px auto 20px}.twgp .twgp-q-print-header{flex-direction:column;align-items:flex-start}.twgp .twgp-q-print-contact{text-align:left;max-width:100%}.twgp .twgp-q-print-info{gap:12px;grid-template-columns:1fr}.twgp .twgp-q-paper{padding:18px}.twgp .twgp-q-print-table{font-size:9px}}
@media print{
    @page{size:A4;margin:12mm}
    html,body.twgp-standalone-dashboard{background:#fff!important;width:100%!important;height:auto!important;overflow:visible!important}
    body.twgp-standalone-dashboard .twgp-sidebar,body.twgp-standalone-dashboard .twgp-topbar,body.twgp-standalone-dashboard .twgp-view-head,body.twgp-standalone-dashboard .twgp-footer,body.twgp-standalone-dashboard .twgp-q-preview-actions,body.twgp-standalone-dashboard .twgp-overlay,body.twgp-standalone-dashboard .twgp-notice{display:none!important}
    body.twgp-standalone-dashboard .twgp-app,body.twgp-standalone-dashboard .twgp-main,body.twgp-standalone-dashboard .twgp-content{display:block!important;position:static!important;width:100%!important;min-height:0!important;height:auto!important;padding:0!important;margin:0!important;overflow:visible!important;border:0!important;transform:none!important;box-shadow:none!important;background:#fff!important}
    body.twgp-standalone-dashboard .twgp-q-paper{display:block!important;position:static!important;box-shadow:none!important;border:0!important;max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;font-size:11px!important;overflow:visible!important}
    body.twgp-standalone-dashboard .twgp-q-print-table thead{display:table-header-group}
    body.twgp-standalone-dashboard .twgp-q-print-table tr{break-inside:avoid}
    body.twgp-standalone-dashboard .twgp-q-print-header,body.twgp-standalone-dashboard .twgp-q-doc-title{break-inside:avoid}
    body.twgp-standalone-dashboard .twgp-q-print-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v0.4 — Original brand identity; quotation wizard, multi-company directory and client drawer */
.twgp .twgp-side-brand .twgp-original-logo{width:53px;height:53px;max-width:53px;max-height:53px;display:block;object-fit:contain;padding:3px;background:#fff;border:1px solid rgba(255,255,255,.3);border-radius:50%;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.twgp .twgp-q-filter label{display:flex;gap:7px;align-items:center;white-space:nowrap}
.twgp .twgp-q-filter select{max-width:185px}
.twgp .twgp-wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0 22px}
.twgp .twgp-wizard-step{border:1px solid var(--twgp-edge);background:var(--twgp-card);color:var(--twgp-sub);min-height:66px;padding:11px 14px;text-align:left;border-radius:13px;display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.4;font-weight:800;cursor:pointer}
.twgp .twgp-wizard-step span{width:32px;height:32px;flex:0 0 32px;display:inline-flex;align-items:center;justify-content:center;background:var(--twgp-soft);border:1px solid var(--twgp-edge);color:var(--twgp-text);font-size:13px;border-radius:50%}
.twgp .twgp-wizard-step.is-current{border:1px solid #96318f;background:color-mix(in srgb, #91338c 8%, var(--twgp-card));color:var(--twgp-strong);box-shadow:0 3px 12px rgba(89,40,87,.08)}
.twgp .twgp-wizard-step.is-current span,.twgp .twgp-wizard-step.is-complete span{background:#7a2e82;color:#fff;border-color:#7a2e82}
.twgp .twgp-wizard-step.is-complete{color:var(--twgp-strong)}
.twgp .twgp-wizard-panel[hidden],.twgp .twgp-wizard-actions [hidden]{display:none!important}
.twgp .twgp-q-add-client{margin-top:8px;align-self:flex-start;display:inline-block;border:none;background:transparent;padding:4px 1px;color:#a33a9d!important;font-weight:800;cursor:pointer;text-align:left}
.twgp .twgp-client-summary{background:var(--twgp-soft);border:1px solid var(--twgp-edge);padding:15px 17px;border-radius:12px;color:var(--twgp-sub);align-self:end;min-height:83px;font-size:12px;line-height:1.6}
.twgp .twgp-client-summary strong{display:block;color:var(--twgp-strong);font-size:14px;margin-bottom:5px}
.twgp .twgp-client-summary span{display:block;overflow-wrap:anywhere}
.twgp .twgp-q-items-table select[data-q-item]{min-width:210px;width:100%;min-height:38px;padding:7px 10px;margin-bottom:8px;font-size:12px}
.twgp .twgp-q-items-table textarea{min-width:220px}
.twgp .twgp-q-taxes{margin:20px 26px;padding:20px 22px;background:var(--twgp-bg);border:1px solid var(--twgp-edge);border-radius:12px}
.twgp .twgp-q-taxes h3{font-size:15px;margin:0 0 12px;color:var(--twgp-strong)}
.twgp .twgp-q-taxes small{color:var(--twgp-sub);display:block;margin-top:8px}
.twgp .twgp-gst-options{display:flex;flex-wrap:wrap;gap:12px}
.twgp .twgp-gst-options label{display:flex;gap:9px;align-items:center;padding:11px 17px;border:1px solid var(--twgp-edge);background:var(--twgp-card);border-radius:10px;font-size:13px;cursor:pointer;color:var(--twgp-text)}
.twgp .twgp-gst-options input{width:16px;height:16px;margin:0;accent-color:#84328b}
.twgp #twgp-q-tax:disabled{opacity:.5;background:var(--twgp-soft);cursor:not-allowed}
.twgp .twgp-wizard-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;margin:23px 0 32px}
.twgp .twgp-wizard-finish{display:flex;gap:11px;flex-wrap:wrap}
.twgp .twgp-review-card{padding:9px 12px 24px;width:100%}
.twgp .twgp-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:20px 22px;border:1px solid var(--twgp-edge);border-radius:12px;background:var(--twgp-soft);margin:4px 0 22px}
.twgp .twgp-review-grid span{font-size:11px;color:var(--twgp-sub);display:block;margin-bottom:5px}
.twgp .twgp-review-grid strong{font-size:14px;color:var(--twgp-strong);overflow-wrap:anywhere}
.twgp .twgp-review-table th,.twgp .twgp-review-table td{padding:13px!important}
.twgp .twgp-review-table td:first-child{max-width:350px;overflow-wrap:anywhere}
.twgp .twgp-review-total{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:19px;border-top:1px solid var(--twgp-edge);font-size:17px}
.twgp .twgp-review-total small{color:var(--twgp-sub);font-size:12px}
.twgp .twgp-review-total strong{font-weight:850;color:var(--twgp-strong)}
.twgp .twgp-muted-small{font-size:12px;color:var(--twgp-sub);margin:0;line-height:1.6}
.twgp .twgp-print-switch{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--twgp-sub);font-weight:650}
.twgp .twgp-print-switch select{font-size:12px;max-width:250px;border-radius:9px;border:1px solid var(--twgp-edge);color:var(--twgp-text);background:var(--twgp-card);min-height:38px;padding:7px}
.twgp .twgp-print-hint{font-size:12px;color:var(--twgp-sub);line-height:1.65;margin:0 0 15px}
.twgp .twgp-q-paper.twgp-q-no-letterhead-preview .twgp-q-branding{display:none}
.twgp .twgp-q-paper.twgp-q-no-letterhead-preview:before{content:"Space reserved for pre-printed letterhead";display:flex;justify-content:center;align-items:center;text-align:center;min-height:110px;border:1px dashed #e3d0e7;color:#a88aae;background:#fdfbfe;margin-bottom:18px;font-size:11px}
body.twgp-client-drawer-open{overflow:hidden!important}
.twgp .twgp-client-layer[hidden]{display:none!important}
.twgp .twgp-client-layer{position:fixed;inset:0;z-index:10010}
.twgp .twgp-client-backdrop{position:absolute;inset:0;background:rgba(12,10,24,.55);backdrop-filter:blur(2px)}
.twgp .twgp-client-drawer{position:absolute;top:0;right:0;height:100%;height:100dvh;width:min(100%,510px);display:flex;flex-direction:column;background:var(--twgp-card);color:var(--twgp-text);box-shadow:-18px 0 50px rgba(0,0,0,.22);overflow-y:auto}
.twgp .twgp-client-drawer>header{padding:30px 33px 24px;border-bottom:1px solid var(--twgp-edge);display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.twgp .twgp-client-drawer h2{font-size:26px;color:var(--twgp-strong);margin:8px 0 0;font-weight:850}
.twgp .twgp-client-drawer .twgp-client-close{font-size:30px;line-height:1;padding:5px 10px;border:0;background:transparent;color:var(--twgp-sub);cursor:pointer}
.twgp .twgp-client-drawer form{display:flex;flex:1;flex-direction:column}
.twgp .twgp-client-fields{padding:27px 33px 33px;display:flex;flex-direction:column;gap:17px}
.twgp .twgp-client-fields p{font-size:12px;color:var(--twgp-sub);line-height:1.7;margin:0 0 6px}
.twgp .twgp-client-fields label{display:block;font-size:12px;font-weight:750;color:var(--twgp-text)}
.twgp .twgp-client-fields input,.twgp .twgp-client-fields textarea{display:block;width:100%;background:var(--twgp-bg);border:1px solid var(--twgp-edge);border-radius:10px;margin-top:9px;padding:12px 14px;color:var(--twgp-strong);font-size:14px;outline-offset:2px}
.twgp .twgp-client-fields input:focus,.twgp .twgp-client-fields textarea:focus{border-color:#8c328b}
.twgp .twgp-client-drawer footer{margin-top:auto;display:flex;justify-content:flex-end;gap:12px;position:sticky;bottom:0;border-top:1px solid var(--twgp-edge);padding:19px 33px;background:var(--twgp-card)}
.twgp .twgp-client-error{color:#bd334e;background:#fff4f6;border:1px solid #f2c4cc;border-radius:10px;padding:12px}
@media(max-width:850px){.twgp .twgp-wizard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.twgp .twgp-q-filter{flex-wrap:wrap}.twgp .twgp-q-filter label{flex-wrap:wrap}.twgp .twgp-wizard-step{min-height:52px}}
@media(max-width:560px){.twgp .twgp-wizard-steps{gap:7px}.twgp .twgp-wizard-step{font-size:10px;gap:7px;padding:8px}.twgp .twgp-wizard-step span{width:26px;height:26px;flex-basis:26px}.twgp .twgp-review-grid{grid-template-columns:1fr}.twgp .twgp-client-drawer>header,.twgp .twgp-client-fields{padding-left:22px;padding-right:22px}.twgp .twgp-client-drawer footer{padding:15px 20px}.twgp .twgp-q-taxes{margin:12px}.twgp .twgp-q-preview-actions{justify-content:stretch}.twgp .twgp-print-switch{flex:1 0 100%;justify-content:space-between}.twgp .twgp-print-switch select{max-width:210px}}
@media print{
  body.twgp-q-no-letterhead-print .twgp-q-paper .twgp-q-branding{display:none!important}
  body.twgp-q-no-letterhead-print .twgp-q-paper:before{display:block!important;content:""!important;height:var(--twgp-print-top,43mm)!important;min-height:var(--twgp-print-top,43mm)!important;background:transparent!important;border:0!important;margin:0!important}
  body.twgp-q-no-letterhead-print .twgp-q-doc-title{margin-top:0!important}
  body.twgp-standalone-dashboard .twgp-print-hint{display:none!important}
  body.twgp-standalone-dashboard .twgp-q-paper.twgp-q-no-letterhead-preview .twgp-q-branding{display:none!important}
}

.twgp .twgp-hero-art img{display:block;width:155px;height:155px;max-width:none;object-fit:contain;border-radius:50%;opacity:.27;transform:rotate(25deg)}
.twgp .twgp-side-brand .twgp-original-logo{max-width:53px!important;max-height:53px!important;border-radius:50%!important}

/* v0.5 — independent company stationery / print layouts and wizard utilities */
.twgp .twgp-custom-ref{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px;background:var(--twgp-soft);padding:11px 14px;border:1px solid var(--twgp-edge);border-radius:12px}
.twgp .twgp-custom-ref input[type=checkbox]{width:17px;height:17px;margin:0;flex:none}
.twgp .twgp-custom-ref input[data-q-custom-number]{max-width:270px;margin:0}
.twgp [data-q-client-search]{margin-bottom:9px}
.twgp .twgp-q-totals [hidden]{display:none!important}
.twgp .twgp-price-calculator{padding:22px 27px;margin:16px 26px 24px;background:var(--twgp-card);border:1px solid var(--twgp-edge)}
.twgp .twgp-price-calculator h3{font-size:17px;color:var(--twgp-strong);margin:0 0 7px}
.twgp .twgp-price-calculator p{font-size:12px;color:var(--twgp-sub);margin:0 0 15px}
.twgp .twgp-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:end}
.twgp .twgp-price-grid label{font-size:12px;color:var(--twgp-text);font-weight:650}
.twgp .twgp-price-grid input,.twgp .twgp-price-grid select{width:100%;display:block;margin-top:7px;background:var(--twgp-bg);color:var(--twgp-text);padding:10px;border:1px solid var(--twgp-edge);border-radius:8px}
.twgp .twgp-price-grid strong{display:block;padding:12px;color:var(--twgp-strong);border:1px solid var(--twgp-edge);border-radius:9px;font-size:12px}
.twgp .twgp-price-grid strong span{font-size:16px}
.twgp .twgp-status-form select{max-width:128px;border:1px solid var(--twgp-edge);background:var(--twgp-card);color:var(--twgp-text);border-radius:8px;padding:8px}
.twgp .twgp-print-config{padding:19px 24px;margin:0 0 19px;background:var(--twgp-card)}
.twgp .twgp-print-config h3{font-size:17px;margin:0;color:var(--twgp-strong)}
.twgp .twgp-print-config p{font-size:12px;color:var(--twgp-sub);margin:4px 0 13px}
.twgp .twgp-print-config>div{display:flex;flex-wrap:wrap;gap:10px 23px}
.twgp .twgp-print-config label{font-size:12px;font-weight:650;color:var(--twgp-text);display:flex;align-items:center;gap:7px}
.twgp .twgp-print-config input{margin:0;accent-color:#87377c}
.twgp .twgp-template-paper{--quote-color:#703174;position:relative;width:794px;min-height:1123px;box-sizing:border-box!important;margin:0 auto 34px;background:#fff;color:#2b2830!important;border:1px solid #e8e8eb;box-shadow:0 18px 45px rgba(0,0,0,.12);isolation:isolate;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.55;overflow:hidden}
.twgp .twgp-template-paper *{box-sizing:border-box;color:inherit}
.twgp .twgp-template-paper .twgp-template-stationery{position:absolute!important;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1;pointer-events:none;max-width:none}
.twgp .twgp-template-content{position:relative;padding:200px 55px 93px;min-height:1122px}
.twgp .twgp-template-techwise .twgp-template-content{padding-top:212px}
.twgp .twgp-template-innovative{--quote-color:#862047;font-family:Georgia,'Times New Roman',serif}
.twgp .twgp-template-innovative .twgp-template-content{padding-top:170px}
.twgp .twgp-template-pronexus{--quote-color:#19406a;font-family:'Trebuchet MS',Verdana,sans-serif}
.twgp .twgp-template-pronexus .twgp-template-content{padding-top:339px}
.twgp .twgp-template-pronexus .twgp-template-content:before{position:absolute;content:"";inset:330px 37px 90px;background:rgba(255,255,255,.94);z-index:-1;border-left:4px solid #458d66}
.twgp .twgp-template-classic .twgp-template-content{padding-top:45px}
.twgp .twgp-template-plainhead{position:absolute;top:33px;left:55px;right:55px;border-bottom:3px solid var(--quote-color);padding-bottom:18px}
.twgp .twgp-template-plainhead h2{font-size:29px;color:var(--quote-color);margin:0}
.twgp .twgp-template-plainhead p{font-size:11px;color:#666}
.twgp .twgp-document-title{display:block;margin:0 0 12px;font-size:28px;line-height:1.3;letter-spacing:.025em;color:var(--quote-color)!important;font-weight:900}
.twgp .twgp-template-techwise .twgp-document-title{position:absolute;top:40px;right:54px;text-align:right;font-family:Impact,'Arial Narrow',sans-serif;font-size:36px;color:#67666b!important}
.twgp .twgp-template-innovative .twgp-document-title{font-size:26px;border-bottom:3px solid #8b1c47;padding-bottom:11px}
.twgp .twgp-template-innovative .twgp-document-title span{font-size:11px;letter-spacing:3px;color:#aa7936}
.twgp .twgp-template-meta{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;border-bottom:1px solid #d9d9dc;padding-bottom:15px;margin-bottom:20px}
.twgp .twgp-template-meta small{display:block;font-size:9px;letter-spacing:1.5px;color:var(--quote-color);font-weight:900}
.twgp .twgp-template-meta strong{display:block;font-size:15px;margin:7px 0}
.twgp .twgp-template-meta span{display:block;margin:3px 0;font-size:11px}
.twgp .twgp-template-meta>div:nth-child(2){text-align:right}
.twgp .twgp-template-subject{margin:9px 0 10px;padding:9px 12px;background:#f5f5f5;border-left:3px solid var(--quote-color);font-size:12px;font-weight:500}
.twgp .twgp-template-intro{margin:13px 0 17px;font-size:11px}
.twgp .twgp-template-table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.5;table-layout:fixed}
.twgp .twgp-template-table th,.twgp .twgp-template-table td{border:1px solid #a7a7aa;padding:7px;vertical-align:top;overflow-wrap:anywhere}
.twgp .twgp-template-table th{background:#4d4a50!important;color:#fff!important;text-align:left;font-weight:750}
.twgp .twgp-template-table td:nth-child(1),.twgp .twgp-template-table td:nth-child(3),.twgp .twgp-template-table td:nth-child(4),.twgp .twgp-template-table td:nth-child(5),.twgp .twgp-template-table td:nth-child(6){text-align:center}
.twgp .twgp-template-table th:nth-child(1){width:8%}.twgp .twgp-template-table th:nth-child(2){width:39%}.twgp .twgp-template-table th:nth-child(3){width:10%}.twgp .twgp-template-table th:nth-child(4){width:9%}.twgp .twgp-template-table th:nth-child(5){width:17%}.twgp .twgp-template-table th:nth-child(6){width:17%}
.twgp .twgp-template-totals{width:min(370px,100%);margin:15px 0 20px auto;font-size:11px}
.twgp .twgp-template-totals>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px}
.twgp .twgp-template-grand{background:#4d4a50!important;color:white!important;font-weight:800;font-size:13px}
.twgp .twgp-template-notes{margin:15px 0 8px}
.twgp .twgp-template-notes h3{font-size:12px;color:var(--quote-color)!important;margin:0 0 5px;font-weight:850}
.twgp .twgp-template-notes p{white-space:normal;margin:0;font-size:10.5px}
.twgp .twgp-template-registrations{display:flex;flex-wrap:wrap;gap:20px;font-size:10px;margin-top:15px}
.twgp .twgp-template-signature{margin:40px 0 8px auto;max-width:198px;text-align:center;font-size:10px;font-weight:bold}
.twgp .twgp-template-signature div{height:1px;border-bottom:1px solid #888;margin:0 0 6px}
.twgp .twgp-template-plainfooter{border-top:1px solid #aaa;padding:7px 0;font-size:10px}
/* Substantially distinct layout variants, not recolored copies. */
.twgp .twgp-template-innovative .twgp-template-meta{border:0;background:#f9eff3;padding:15px;border-radius:0 16px 0 16px;box-shadow:inset 5px 0 #8d1e48}
.twgp .twgp-template-innovative .twgp-template-subject{background:none;border:0;border-bottom:2px solid #aa7d22;padding-left:0;font-size:13px}
.twgp .twgp-template-innovative .twgp-template-table th{background:#812345!important;color:#fff!important}
.twgp .twgp-template-innovative .twgp-template-table td{border:0;border-bottom:1px solid #d4a9b9}
.twgp .twgp-template-innovative .twgp-template-grand{background:#8d1e48!important;border-radius:8px 0 8px 0}
.twgp .twgp-template-innovative .twgp-template-notes h3{text-decoration:underline;text-decoration-color:#b89637;text-decoration-thickness:2px;text-underline-offset:5px}
.twgp .twgp-template-pronexus .twgp-template-subject{border-left:0;border-bottom:3px solid #419064;background:rgba(232,245,237,.95);font-weight:800;text-transform:uppercase;letter-spacing:.3px}
.twgp .twgp-template-pronexus .twgp-template-intro{color:#52657c}
.twgp .twgp-template-pronexus .twgp-template-table{border-collapse:separate;border-spacing:0 5px}
.twgp .twgp-template-pronexus .twgp-template-table th{background:#1c416c!important;color:#fff!important;border:0}
.twgp .twgp-template-pronexus .twgp-template-table td{border:0;border-bottom:1px solid #8ebc9e;background:#f2f7f6}
.twgp .twgp-template-pronexus .twgp-template-grand{background:linear-gradient(115deg,#183b67,#357554)!important}
.twgp .twgp-pronexus-customer,.twgp .twgp-pronexus-headrefs{position:absolute;z-index:2;font-size:10px;line-height:1.2;color:#20456a}
.twgp .twgp-pronexus-customer{top:145px;left:126px;width:155px;height:150px}
.twgp .twgp-pronexus-customer>div{margin-bottom:17px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:650}
.twgp .twgp-pronexus-headrefs{top:136px;right:54px;width:215px}
.twgp .twgp-pronexus-headrefs p{margin:0 0 20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.twgp .twgp-pronexus-headrefs b{display:inline-block;min-width:55px}
.twgp .twgp-template-paper.twgp-hide-bank [data-print-flag=bank],
.twgp .twgp-template-paper.twgp-hide-ntn [data-print-flag=ntn],
.twgp .twgp-template-paper.twgp-hide-gstnum [data-print-flag=gstnum]{display:none!important}
.twgp .twgp-template-paper.twgp-hide-date [data-print-flag=date]{visibility:hidden!important}
.twgp .twgp-template-paper.twgp-q-no-letterhead-preview .twgp-template-stationery{display:none!important}
.twgp .twgp-template-paper.twgp-q-no-letterhead-preview:before{display:none!important}
.twgp .twgp-template-paper.twgp-q-no-letterhead-preview .twgp-template-plainhead,.twgp .twgp-template-paper.twgp-q-no-letterhead-preview .twgp-template-plainfooter{display:none}
@media(max-width:860px){.twgp .twgp-template-paper{margin-left:0;margin-right:0}.twgp .twgp-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.twgp .twgp-price-grid{grid-template-columns:1fr}.twgp .twgp-price-calculator{margin:11px;padding:16px}.twgp .twgp-template-paper{min-width:794px}}
@media print{
  @page{size:A4;margin:0}
  body.twgp-standalone-dashboard .twgp-print-config{display:none!important}
  body.twgp-standalone-dashboard .twgp-template-paper{width:210mm!important;min-width:0!important;max-width:none!important;min-height:297mm!important;box-shadow:none!important;margin:0!important;border:0!important;overflow:visible!important;background:#fff!important;page-break-after:auto}
  body.twgp-standalone-dashboard .twgp-template-paper .twgp-template-stationery{position:fixed!important;inset:0!important;width:210mm!important;height:297mm!important;display:block;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.twgp-standalone-dashboard.twgp-q-no-letterhead-print .twgp-template-paper .twgp-template-stationery{display:none!important}
  body.twgp-standalone-dashboard .twgp-template-content{min-height:297mm!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.twgp-standalone-dashboard .twgp-template-paper table tr{break-inside:avoid}
  body.twgp-standalone-dashboard .twgp-template-paper table thead{display:table-header-group}
  body.twgp-standalone-dashboard .twgp-template-paper .twgp-template-notes{break-inside:avoid}
  body.twgp-standalone-dashboard .twgp-template-paper .twgp-pronexus-customer,body.twgp-standalone-dashboard .twgp-template-paper .twgp-pronexus-headrefs{visibility:visible}
}

/* v0.6.0 — quotation filtering, searchable shared clients, and visual company identification */
.twgp .twgp-quote-filters{padding:20px 24px;margin-bottom:16px}
.twgp .twgp-quote-filters .twgp-card-head{padding:0 0 17px;border:0;align-items:center}
.twgp .twgp-quote-filters h2{font-size:18px;margin:0 0 5px}
.twgp .twgp-quote-filters .twgp-card-head p{font-size:12px;color:var(--twgp-sub);margin:0;line-height:1.6}
.twgp .twgp-q-filter.twgp-q-filter-advanced{display:grid;grid-template-columns:minmax(180px,2.5fr) repeat(3,minmax(140px,1fr));gap:14px;align-items:end}
.twgp .twgp-q-filter-advanced label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:11px;font-weight:750;color:var(--twgp-text);white-space:normal}
.twgp .twgp-q-filter-advanced input,.twgp .twgp-q-filter-advanced select{display:block;max-width:none;width:100%;height:43px;padding:9px 11px;min-width:0;border:1px solid var(--twgp-edge);border-radius:9px;background:var(--twgp-bg);color:var(--twgp-text);font-size:12px}
.twgp .twgp-q-filter-advanced .twgp-btn{height:43px;padding:9px 16px;align-self:end;white-space:nowrap;justify-content:center}
.twgp .twgp-quotes-list{font-size:12px}
.twgp .twgp-quote-row td:first-child{border-left:4px solid transparent}
.twgp .twgp-quote-row-techwise td:first-child{border-left-color:#8b367f}
.twgp .twgp-quote-row-innovative td:first-child{border-left-color:#941f43}
.twgp .twgp-quote-row-pronexus td:first-child{border-left-color:#2c6b99}
.twgp .twgp-quote-row-classic td:first-child{border-left-color:#697483}
.twgp .twgp-company-badge{display:inline-flex;align-items:center;max-width:190px;border-radius:8px;padding:7px 10px;font-weight:790;font-size:11px;line-height:1.35;white-space:normal;border:1px solid transparent}
.twgp .twgp-company-badge-techwise{color:#6c1e67;background:#f8edf6;border-color:#ecd2e8}
.twgp .twgp-company-badge-innovative{color:#81173a;background:#f9eaf0;border-color:#f0c4d1}
.twgp .twgp-company-badge-pronexus{color:#1a4d79;background:#eaf3f9;border-color:#bcd7e9}
.twgp .twgp-company-badge-classic{color:#384c61;background:#eaf0f5;border-color:#ccd8e2}
.twgp[data-twg-theme=dark] .twgp-company-badge-techwise{background:#381c38;color:#f6c8ef;border-color:#63305c}
.twgp[data-twg-theme=dark] .twgp-company-badge-innovative{background:#3b1824;color:#ffb4cb;border-color:#64243d}
.twgp[data-twg-theme=dark] .twgp-company-badge-pronexus{background:#112b44;color:#b3dcf7;border-color:#2c597b}
.twgp[data-twg-theme=dark] .twgp-company-badge-classic{background:#25303b;color:#d5e3f2;border-color:#435265}
.twgp .twgp-quote-actions{min-width:208px;white-space:normal}
.twgp .twgp-quote-actions .twgp-inline-btn{display:inline-block;margin:3px}
.twgp .twgp-convert-form{display:inline-block;margin:0}
.twgp .twgp-convert-form button{cursor:pointer;color:#386e61!important}
.twgp .twgp-q-grid [data-q-custom-wrap][hidden]{display:none!important}
.twgp .twgp-client-suggestions[hidden]{display:none!important}
.twgp .twgp-client-suggestions{position:relative;z-index:7;max-height:250px;overflow-y:auto;margin:-2px 0 8px;border-radius:10px;border:1px solid var(--twgp-edge);background:var(--twgp-card);box-shadow:0 11px 25px rgba(18,24,35,.12)}
.twgp .twgp-client-suggestions button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:0;border-bottom:1px solid var(--twgp-edge);background:transparent;padding:11px 14px;width:100%;text-align:left;color:var(--twgp-text);cursor:pointer}
.twgp .twgp-client-suggestions button:hover,.twgp .twgp-client-suggestions button:focus{background:var(--twgp-soft);outline:2px solid var(--twgp-brand);outline-offset:-2px}
.twgp .twgp-client-suggestions small{font-size:10px;color:var(--twgp-sub);font-weight:400}
.twgp .twgp-client-no-result{padding:13px;font-weight:500;color:var(--twgp-sub);font-size:12px}

/* Draft invoice is intentionally separate from quotation stationery; invoice actions are first-stage only. */
.twgp .twgp-invoice-paper{background:#fff;color:#222;border:1px solid #dedfe6;box-shadow:0 14px 42px rgba(25,22,42,.11);margin:22px auto 35px;padding:45px;width:min(100%,820px);min-height:850px;font-family:Arial,sans-serif;line-height:1.55}
.twgp .twgp-invoice-paper header{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;padding-bottom:25px;border-bottom:3px solid #263d63}
.twgp .twgp-invoice-paper header>div:first-child{max-width:55%}
.twgp .twgp-invoice-paper h2{color:#243957;font-size:22px;margin:0 0 6px}
.twgp .twgp-invoice-paper h1{color:#263d63;font-size:32px;letter-spacing:2px;margin:0;text-align:right}
.twgp .twgp-invoice-paper header>div:last-child{text-align:right}
.twgp .twgp-invoice-paper header p,.twgp .twgp-invoice-paper header small{font-size:11px;margin:6px 0;color:#5b6672}
.twgp .twgp-invoice-details{display:flex;justify-content:space-between;gap:28px;margin:32px 0}
.twgp .twgp-invoice-details>div{flex:1}
.twgp .twgp-invoice-details b{display:block;font-size:11px;text-transform:uppercase;color:#5b6672}
.twgp .twgp-invoice-details strong{display:block;font-size:17px;color:#253e60;margin-top:6px}
.twgp .twgp-invoice-details p{font-size:12px;margin:5px 0;line-height:1.55}
.twgp .twgp-invoice-paper h3{font-size:15px;margin:15px 0;color:#243957}
.twgp .twgp-invoice-paper table{width:100%;border-collapse:collapse;font-size:11px}
.twgp .twgp-invoice-paper th{background:#283d5c;color:white;text-align:left;padding:10px 8px}
.twgp .twgp-invoice-paper td{border-bottom:1px solid #e0e5eb;padding:10px 8px;vertical-align:top}
.twgp .twgp-invoice-paper td:last-child,.twgp .twgp-invoice-paper th:last-child{text-align:right}
.twgp .twgp-invoice-totals{margin:24px 0 0 auto;max-width:350px}
.twgp .twgp-invoice-totals>div{display:flex;justify-content:space-between;gap:20px;padding:7px 10px;font-size:12px}
.twgp .twgp-invoice-totals>.twgp-invoice-grand{background:#253d5d;color:#fff;font-size:15px;font-weight:bold;padding:12px}
.twgp .twgp-invoice-terms{margin:60px 0 10px}
.twgp .twgp-invoice-terms h4{margin:0 0 5px;font-size:12px;color:#243957}
.twgp .twgp-invoice-terms p{margin:0;font-size:11px}
.twgp .twgp-invoice-paper footer{margin-top:60px;border-top:1px solid #d8dfeb;padding-top:10px;font-size:10px;color:#666}
@media(max-width:1100px){.twgp .twgp-q-filter.twgp-q-filter-advanced{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.twgp .twgp-q-filter.twgp-q-filter-advanced{grid-template-columns:1fr 1fr}.twgp .twgp-q-filter-advanced .twgp-filter-search{grid-column:1/-1}.twgp .twgp-invoice-paper{padding:22px;min-width:620px}.twgp .twgp-quote-filters{padding:16px}}
@media print{
  body.twgp-standalone-dashboard .twgp-invoice-paper{width:210mm!important;min-height:297mm!important;max-width:none!important;padding:17mm!important;margin:0!important;border:0!important;box-shadow:none!important;break-after:auto!important}
  body.twgp-standalone-dashboard .twgp-invoice-paper thead{display:table-header-group}
  body.twgp-standalone-dashboard .twgp-invoice-paper tr{break-inside:avoid}
  body.twgp-standalone-dashboard .twgp-invoice-paper h1{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.twgp-standalone-dashboard .twgp-invoice-paper th,body.twgp-standalone-dashboard .twgp-invoice-grand{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v0.7 catalogue, purchases, accounts, profile */
.twgp .twgp-catalog-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(120px,1fr)) auto;gap:12px;align-items:end;padding:18px 22px}
.twgp .twgp-catalog-filters label{font-size:12px;font-weight:700;color:var(--twgp-text)}
.twgp .twgp-catalog-filters input,.twgp .twgp-catalog-filters select{margin-top:7px;width:100%;min-height:42px;display:block;padding:9px;border:1px solid var(--twgp-edge);background:var(--twgp-bg);color:var(--twgp-text);border-radius:9px}
.twgp [data-lookup-layer][hidden]{display:none!important}
.twgp [data-lookup-layer]{position:fixed;inset:0;z-index:10030}
.twgp [data-lookup-parent-wrap][hidden]{display:none!important}
.twgp .twgp-cards-stats{padding:16px 4px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:13px}
.twgp .twgp-cards-stats>div{padding:18px;background:var(--twgp-bg);border:1px solid var(--twgp-edge);border-radius:12px}
.twgp .twgp-cards-stats h2{font-size:21px;margin:10px 0 0;color:var(--twgp-strong)}
.twgp .twgp-cards-stats small{color:var(--twgp-sub);font-weight:700}
.twgp .twgp-fin-lines input,.twgp .twgp-fin-lines select{width:100%;min-width:125px;min-height:41px;background:var(--twgp-bg);border:1px solid var(--twgp-edge);border-radius:8px;color:var(--twgp-text);padding:8px}
.twgp .twgp-fin-lines select{min-width:230px}
.twgp .twgp-profile-head{display:flex;gap:18px;align-items:center;padding:8px 25px 18px;border-bottom:1px solid var(--twgp-edge);margin:5px 0 10px}
.twgp .twgp-profile-head img{height:72px;width:72px;object-fit:cover;border-radius:18px}
.twgp .twgp-profile-head strong{display:block;color:var(--twgp-strong);font-size:21px}
.twgp .twgp-profile-head small{display:block;color:var(--twgp-sub)}
.twgp .twgp-avatar img{height:100%;width:100%;object-fit:cover;border-radius:inherit}
.twgp .twgp-catalog-filters .twgp-btn{white-space:nowrap}
@media(max-width:1000px){.twgp .twgp-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.twgp .twgp-catalog-filters>button{grid-column:span 2}}
@media(max-width:600px){.twgp .twgp-catalog-filters{grid-template-columns:1fr}.twgp .twgp-catalog-filters>button{grid-column:span 1}}

.twgp .twgp-client-fields select{display:block;width:100%;background:var(--twgp-bg);border:1px solid var(--twgp-edge);border-radius:10px;margin-top:9px;padding:12px 14px;color:var(--twgp-strong);font-size:14px;min-height:43px}
.twgp .twgp-client-fields .twgp-inline-btn{display:inline-block;font-size:11px;padding:2px 5px;margin-left:7px}
.twgp .twgp-q-grid label .twgp-inline-btn{font-size:11px;padding:3px 6px;margin:0 0 0 5px}


/* v0.7.1: isolate the workspace from theme layouts and resize to the viewport.
   All desktop panels, including Accounts, Quotes, Settings and Inventory, inherit
   this same root and grid. PDF print styles are intentionally left unchanged. */
@media screen {
 html:has(body.twgp-standalone-dashboard),
 body.twgp-standalone-dashboard {width:100%!important;max-width:none!important;min-width:320px!important;margin:0!important;padding:0!important}
 body.twgp-standalone-dashboard {display:block!important;overflow-x:hidden!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;line-height:1.55!important}
 body.twgp-standalone-dashboard > .twgp.twgp-app {width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;left:auto!important;right:auto!important;transform:none!important;display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;align-items:stretch!important}
 body.twgp-standalone-dashboard > .twgp.twgp-app > .twgp-main {width:100%!important;min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important}
 body.twgp-standalone-dashboard > .twgp.twgp-app > .twgp-main > .twgp-content {width:100%!important;max-width:1780px!important;min-width:0!important;flex:1 0 auto;margin:0 auto!important;overflow:visible!important}
 body.twgp-standalone-dashboard .twgp-stat-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 body.twgp-standalone-dashboard .twgp-stat-value {word-break:normal;overflow-wrap:normal;hyphens:none}
 body.twgp-standalone-dashboard .twgp-stat {min-width:0}
 body.twgp-standalone-dashboard .twgp-dash-grid {min-width:0;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
 body.twgp-standalone-dashboard .twgp-hero-art {right:4%;opacity:.38;pointer-events:none}
 body.twgp-standalone-dashboard .twgp-topbar {width:100%;min-width:0}
}
@media screen and (max-width:1270px){
 body.twgp-standalone-dashboard .twgp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.twgp-standalone-dashboard .twgp-hero-art{right:-90px;opacity:.18}
}
@media screen and (max-width:980px){
 body.twgp-standalone-dashboard .twgp-dash-grid{grid-template-columns:1fr}
 body.twgp-standalone-dashboard .twgp-topbar{padding:14px 18px}
}
@media screen and (max-width:780px){
 body.twgp-standalone-dashboard > .twgp.twgp-app {display:block!important;width:100%!important}
 body.twgp-standalone-dashboard > .twgp.twgp-app > .twgp-main > .twgp-content{padding:23px 17px 30px}
 body.twgp-standalone-dashboard .twgp-sidebar{position:fixed;top:0;bottom:0;left:0;width:260px;z-index:11;transform:translateX(-103%);box-shadow:10px 0 35px rgba(0,0,0,.20)}
 body.twgp-standalone-dashboard .twgp-menu-open .twgp-sidebar{transform:translateX(0)}
}
@media screen and (max-width:510px){
 body.twgp-standalone-dashboard .twgp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.twgp-standalone-dashboard .twgp-stat {padding:15px 12px}
 body.twgp-standalone-dashboard .twgp-stat-value{font-size:21px}
 body.twgp-standalone-dashboard .twgp-stat:last-child .twgp-stat-value{font-size:13px}
 body.twgp-standalone-dashboard .twgp-hero-art{display:none}
}

/* 0.7.2: cohesive workspace controls, full-width forms, stable action rows */
.twgp [hidden]{display:none!important}
.twgp .twgp-side-brand-mark-only{justify-content:center;padding:12px 8px 24px}
.twgp .twgp-side-brand-mark-only .twgp-original-logo{width:116px!important;height:116px!important;max-width:116px!important;max-height:116px!important;border-radius:17px!important;object-fit:contain;background:#fff;padding:6px}
.twgp .twgp-row-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;min-width:145px}
.twgp .twgp-row-actions form{display:inline-flex!important;align-items:center;margin:0!important;padding:0!important}
.twgp .twgp-row-actions .twgp-inline-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px!important;border:1px solid var(--twgp-edge)!important;border-radius:8px!important;background:var(--twgp-card)!important;color:var(--twgp-strong)!important;white-space:nowrap;line-height:1.2;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.twgp .twgp-row-actions form button{color:#b43859!important}
.twgp .twgp-row-actions .twgp-inline-btn:hover{border-color:var(--twgp-brand)!important}
.twgp .twgp-q-section>h2,.twgp .twgp-q-section>h3{margin:0;padding:24px 27px 4px;font-size:23px;color:var(--twgp-strong)}
.twgp .twgp-q-section>p{padding:0 27px;margin:9px 0 18px;max-width:980px}
.twgp .twgp-q-section>.twgp-q-grid{width:100%;box-sizing:border-box}
.twgp .twgp-q-grid{width:100%;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr))}
.twgp .twgp-q-grid>*{min-width:0;max-width:100%;box-sizing:border-box}
.twgp .twgp-q-grid input,.twgp .twgp-q-grid select,.twgp .twgp-q-grid textarea{max-width:100%;box-sizing:border-box}
.twgp .twgp-settings-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;padding:7px;border:1px solid var(--twgp-edge);border-radius:14px;background:var(--twgp-card)}
.twgp .twgp-settings-tabs button{border:0;background:transparent;padding:13px 17px;border-radius:10px;color:var(--twgp-text);font-size:13px;font-weight:740;cursor:pointer}
.twgp .twgp-settings-tabs button.is-active{color:#fff;background:var(--twgp-brand);box-shadow:0 6px 16px rgba(90,57,143,.20)}
.twgp [data-settings-panel]{min-width:0}
.twgp .twgp-notif-wrap{position:relative;display:inline-flex}
.twgp .twgp-notif-toggle{width:40px;height:40px;border:1px solid var(--twgp-edge);border-radius:10px;color:var(--twgp-strong);background:var(--twgp-card);cursor:pointer;position:relative}
.twgp .twgp-notif-count{position:absolute;right:-6px;top:-7px;min-width:20px;height:20px;border-radius:14px;display:flex;align-items:center;justify-content:center;padding:0 4px;color:#fff;background:#9f2b81;font-size:10px;font-weight:800}
.twgp .twgp-notif-panel{position:absolute;right:0;top:48px;z-index:120;width:min(360px,85vw);max-height:440px;overflow:auto;border-radius:14px;background:var(--twgp-card);color:var(--twgp-text);border:1px solid var(--twgp-edge);box-shadow:0 14px 48px rgba(10,15,38,.22);padding:12px}
.twgp .twgp-notif-head{display:flex;align-items:center;justify-content:space-between;padding:8px 9px 12px;border-bottom:1px solid var(--twgp-edge)}
.twgp .twgp-notif-head form{margin:0}.twgp .twgp-notif-head button{border:0;background:none;color:var(--twgp-brand);font-weight:750;cursor:pointer}
.twgp .twgp-notif-item{display:flex;flex-direction:column;gap:4px;padding:13px 10px;border-bottom:1px solid var(--twgp-edge);text-decoration:none;color:var(--twgp-text);font-size:12px}
.twgp .twgp-notif-item small{color:var(--twgp-sub)}.twgp .twgp-notif-item.is-unread{background:var(--twgp-soft);font-weight:760}
.twgp .twgp-role-edit{margin:9px 0 0;display:inline-flex}
.twgp .twgp-q-submit{display:flex;gap:14px;align-items:end;flex-wrap:wrap}
.twgp .twgp-q-submit label{font-size:12px;display:grid;gap:6px}
.twgp .twgp-q-submit input,.twgp .twgp-q-submit select{padding:10px 12px;border:1px solid var(--twgp-edge);border-radius:9px;max-width:220px;color:var(--twgp-text);background:var(--twgp-card)}
@media(max-width:780px){.twgp .twgp-side-brand-mark-only .twgp-original-logo{width:87px!important;height:87px!important;max-width:87px!important;max-height:87px!important}.twgp .twgp-q-grid{grid-template-columns:1fr}.twgp .twgp-settings-tabs button{padding:11px}.twgp .twgp-notif-toggle{width:35px;height:35px}}

/* Central banking module */
.twgp-bank-alert{margin:0 0 18px;padding:13px 16px;background:var(--twgp-panel,#fff);border:1px solid rgba(114,69,185,.25);border-left:4px solid #7950c7;border-radius:12px;font-weight:650}
.twgp-bank-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center;padding:18px 22px;margin:16px 0 22px;border-radius:15px;background:linear-gradient(110deg,#231a4e,#6249a8);color:#fff}
.twgp-bank-total small{color:#e8dcff;font-size:13px}.twgp-bank-total strong{font-size:clamp(19px,2vw,28px);font-variant-numeric:tabular-nums}
.twgp-bank-negative{color:#da3e55}.twgp-bank-help{display:block;font-size:12px;line-height:1.6;opacity:.78;margin-top:6px}.twgp-bank-export{display:flex;justify-content:flex-end;margin-top:18px}
.twgp [data-bank-select-wrap][hidden],.twgp [data-bank-destination-wrap][hidden]{display:none!important}
.twgp .twgp-row-actions form{display:inline-flex;margin:0}.twgp .twgp-bank-export .twgp-btn{max-width:100%}

/* v0.7.4 — customer receipts / central bank reconciliation */
.twgp .twgp-receipts-panel{margin-top:26px;overflow:hidden}
.twgp .twgp-receipt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:8px 24px 22px}
.twgp .twgp-receipt-stats>div{padding:16px;border:1px solid var(--twgp-edge);background:var(--twgp-soft);border-radius:12px;min-width:0}
.twgp .twgp-receipt-stats span{display:block;color:var(--twgp-sub);font-size:12px;font-weight:700;margin-bottom:6px}
.twgp .twgp-receipt-stats strong{display:block;font-size:clamp(15px,1.5vw,22px);color:var(--twgp-strong);overflow-wrap:anywhere}
.twgp .twgp-receipt-form{border-top:1px solid var(--twgp-edge);padding:22px 25px}
.twgp .twgp-receipt-form h3{margin:0 0 19px;color:var(--twgp-strong);font-size:19px}
.twgp .twgp-receipt-form .twgp-q-grid{padding:0}
.twgp .twgp-receipt-form .twgp-q-submit{padding:12px 0 0}
.twgp .twgp-receipt-void{opacity:.58;text-decoration:line-through}
.twgp .twgp-receipt-inline{display:inline-flex;margin:0}
.twgp .twgp-receipt-complete{padding:16px 25px;color:#059669;font-weight:800}
.twgp .twgp-receipts-panel>.twgp-bank-help{display:block;padding:0 25px 20px}
.twgp .twgp-pay-badge{display:inline-block;border-radius:50px;padding:5px 11px;font-size:11px;font-weight:800;background:#fff3dd;color:#8a4a0d}
.twgp .twgp-pay-paid{background:#d9f9e8;color:#0a6f45}
.twgp .twgp-pay-partially-paid{background:#e4eafa;color:#2349a7}
.twgp .twgp-invoice-balance{border-top:1px solid #d1dae7;font-weight:bold}
@media(max-width:900px){.twgp .twgp-receipt-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.twgp .twgp-receipt-stats{grid-template-columns:1fr;padding:10px 15px}.twgp .twgp-receipt-form{padding:18px}}
@media print{body.twgp-standalone-dashboard .twgp-receipts-panel{display:none!important}}
