/* Employment Contract Center — design tokens match the Cainu SIS portal */
.ecc-admin,.ecc-wrap{
	--navy:#4F46E5;--navy-deep:#4338CA;--ok:#34B37A;--warn:#E3A73F;--danger:#D6604F;
	--paper:#fff;--section-bg:#F9FAFB;--hairline:#E5E7EB;--text:#111827;--muted:#6B7280;
	--shadow:0 1px 2px rgba(31,42,68,.04),0 8px 24px -12px rgba(31,42,68,.10);
	font-family:Arial,Helvetica,sans-serif;color:var(--text);
}
.ecc-admin{max-width:1280px}
.ecc-wrap{max-width:860px;margin:0 auto}
.ecc-wrap *,.ecc-admin *{box-sizing:border-box}
.ecc-admin h1{font-size:22px;font-weight:700;margin:0;color:var(--text)}
.ecc-admin h2,.ecc-admin h3{color:var(--text);font-weight:700}
.ecc-admin a,.ecc-wrap a{color:var(--navy)}
.ecc-admin code{background:var(--section-bg);padding:2px 6px;border-radius:4px;font-size:12px}

/* header */
.ecc-head{display:flex;align-items:center;gap:14px;margin:16px 0 22px;padding-bottom:18px;border-bottom:1px solid var(--hairline)}
.ecc-head-icon{width:44px;height:44px;border-radius:11px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);flex-shrink:0}
.ecc-head-icon .dashicons{font-size:22px;width:22px;height:22px}
.ecc-head-sub{font-size:12.5px;color:var(--muted);margin-top:2px}

/* tabs */
.ecc-admin .nav-tab-wrapper{border:0;padding:0;margin:0 0 6px;display:flex;gap:4px;flex-wrap:wrap}
.ecc-admin .nav-tab{border:0;background:transparent;color:var(--muted);font-size:13.5px;font-weight:500;padding:9px 14px;border-radius:9px;margin:0}
.ecc-admin .nav-tab:hover{background:var(--section-bg);color:var(--text)}
.ecc-admin .nav-tab-active,.ecc-admin .nav-tab-active:hover{background:var(--section-bg);color:var(--navy);font-weight:700}

/* stat cards */
.ecc-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:0 0 20px}
.ecc-stat{background:var(--paper);border:1px solid var(--hairline);border-radius:12px;padding:16px;box-shadow:var(--shadow)}
.ecc-stat-label{font-size:12px;color:var(--muted)}
.ecc-stat-value{font-size:26px;font-weight:700;margin-top:4px}

/* cards, tables, forms */
.ecc-card{background:var(--paper);border:1px solid var(--hairline);border-radius:14px;padding:20px;margin:0 0 18px;box-shadow:var(--shadow)}
.ecc-card h4{margin:0 0 4px;font-size:15px}
.ecc-admin table.widefat{border:1px solid var(--hairline);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.ecc-admin table.widefat th{background:var(--section-bg);color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.ecc-admin table.widefat td,.ecc-admin table.widefat th{padding:12px 14px;border-color:var(--hairline)}
.ecc-admin table.widefat.striped>tbody>tr:nth-child(odd){background:#fff}
.ecc-admin table.widefat tbody tr:hover{background:var(--section-bg)}
.ecc-admin input[type=text],.ecc-admin input[type=email],.ecc-admin select,.ecc-admin textarea,
.ecc-wrap input[type=text]{border:1px solid var(--hairline);border-radius:9px;padding:8px 12px;font-size:13.5px;box-shadow:none;background:#fff}
.ecc-admin input:focus,.ecc-admin select:focus,.ecc-admin textarea:focus,.ecc-wrap input:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(79,70,229,.12);outline:0}
.ecc-admin .button,.ecc-wrap button{border-radius:9px;font-size:13px;font-weight:600;padding:7px 16px;cursor:pointer;border:1px solid var(--hairline);background:#fff;color:var(--text)}
.ecc-admin .button-primary,.ecc-wrap button[type=submit]{background:var(--navy);border-color:var(--navy);color:#fff}
.ecc-admin .button-primary:hover,.ecc-wrap button[type=submit]:hover{background:var(--navy-deep);border-color:var(--navy-deep);color:#fff}

/* status pills */
.ecc-pill{display:inline-block;font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:20px;line-height:1.2}
.ecc-pill-draft{background:#EEF0F6;color:var(--muted)}
.ecc-pill-with_agent{background:#FBF1DC;color:#9A6B10}
.ecc-pill-issued{background:#E8E8FA;color:var(--navy)}
.ecc-pill-accepted{background:#E1F4EB;color:#1E8A5A}
.ecc-pill-revoked{background:#FBE7E3;color:var(--danger)}

/* portal pieces */
.ecc-body{background:var(--section-bg);border:1px solid var(--hairline);border-radius:10px;padding:16px;margin:12px 0;font-size:14px;line-height:1.65}
.ecc-qr{margin:12px 0}
.ecc-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}
.ecc-result{border-radius:14px;padding:18px 20px;margin:16px 0;border:1px solid var(--hairline);background:#fff;box-shadow:var(--shadow);border-left-width:5px}
.ecc-result.ok{border-left-color:var(--ok)}.ecc-result.bad{border-left-color:var(--danger)}
.ecc-result ul{margin:10px 0 0;padding-left:18px;line-height:1.8}
.ecc-vform{display:flex;gap:10px;flex-wrap:wrap}.ecc-vform input{flex:1;min-width:220px}
@media print{.ecc-noprint,.ecc-head{display:none!important}.ecc-card{box-shadow:none;border:0}}

.ecc-doc{width:100%;min-height:420px;border:1px solid var(--hairline);border-radius:10px;background:#fff;margin:12px 0;display:block}
.ecc-wrap .login-username input,.ecc-wrap .login-password input{width:100%;margin:4px 0 10px;border:1px solid var(--hairline);border-radius:9px;padding:9px 12px}
.ecc-wrap .login-submit input{background:var(--navy);color:#fff;border:0;border-radius:9px;padding:9px 20px;font-weight:600;cursor:pointer}
.ecc-wrap .login-remember label{font-size:12.5px;color:var(--muted)}
.ecc-split{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:1100px){.ecc-split{grid-template-columns:1fr}}

/* ================= Portal app (employee / agent) ================= */
html:has(.ecc-bodyapp){margin-top:0!important}
.ecc-bodyapp{margin:0;background:#fff;font-family:Arial,Helvetica,sans-serif;color:#111827}
.ecc-app{--navy:#4F46E5;--navy-deep:#4338CA;--ok:#34B37A;--warn:#E3A73F;--danger:#D6604F;--section-bg:#F9FAFB;--hairline:#E5E7EB;--text:#111827;--muted:#6B7280;
	--shadow:0 1px 2px rgba(31,42,68,.04),0 8px 24px -12px rgba(31,42,68,.10);display:flex;min-height:100vh;font-family:Arial,Helvetica,sans-serif;color:var(--text);font-size:14px;line-height:1.5}
.ecc-app *,.ecc-login *{box-sizing:border-box}
.ecc-app a{text-decoration:none;color:var(--navy)}
.ecc-app h2,.ecc-app h3,.ecc-app p{margin:0}
.ecc-side{width:248px;flex-shrink:0;background:#fff;border-right:1px solid var(--hairline);padding:24px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.ecc-side-logo{padding:4px 8px 26px;display:flex;align-items:center}
.ecc-brand-text{font-weight:700;font-size:17px;color:var(--navy)}
.ecc-nav{display:flex;flex-direction:column;gap:3px;flex:1}
.ecc-nav a,.ecc-side-foot a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;color:var(--muted);font-size:13.5px;font-weight:500;transition:background .12s,color .12s}
.ecc-nav a:hover,.ecc-side-foot a:hover{background:var(--section-bg);color:var(--text)}
.ecc-nav a.active{background:var(--section-bg);color:var(--navy);font-weight:700}
.ecc-side-foot{border-top:1px solid var(--hairline);padding-top:12px}
.ecc-main{flex:1;min-width:0;background:var(--section-bg)}
.ecc-top{height:68px;background:#fff;border-bottom:1px solid var(--hairline);display:flex;align-items:center;justify-content:space-between;padding:0 32px}
.ecc-top-title{font-size:16px;font-weight:700}
.ecc-user{display:flex;align-items:center;gap:10px}
.ecc-av{width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.ecc-user-meta{display:flex;flex-direction:column;line-height:1.2}.ecc-user-meta small{color:var(--muted);font-size:11.5px}
.ecc-content{padding:32px;max-width:1240px}
.ecc-h{font-size:24px;font-weight:700;letter-spacing:-.01em}
.ecc-sub{color:var(--muted);font-size:13.5px;margin:6px 0 22px}
.ecc-note{background:#E8E8FA;color:var(--navy);padding:12px 16px;border-radius:10px;margin-bottom:18px;font-weight:600;font-size:13px}
.ecc-note-bad{background:#FBE7E3;color:var(--danger)}
.ecc-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(120deg,var(--navy),var(--navy-deep));color:#fff;border-radius:16px;padding:22px 26px;margin-bottom:22px;box-shadow:var(--shadow)}
.ecc-banner b{display:block;font-size:16px;margin-bottom:3px}.ecc-banner span{opacity:.85;font-size:13px}
.ecc-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;border-radius:10px;border:1px solid var(--hairline);background:#fff;color:var(--text)!important;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}
.ecc-btn:hover{border-color:var(--navy);color:var(--navy)!important}
.ecc-btn-light{background:#fff;border-color:#fff;color:var(--navy)!important}
.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit]{background:var(--navy);border-color:var(--navy);color:#fff!important;border-radius:10px;padding:10px 20px;font-weight:700;cursor:pointer;font-family:inherit;font-size:13px;border-width:1px;border-style:solid}
.ecc-btn-primary:hover,.ecc-app .ecc-noprint button[type=submit]:hover{background:var(--navy-deep);border-color:var(--navy-deep)}
.ecc-btn-sm{padding:6px 12px;font-size:12px}
.ecc-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-bottom:22px}
.ecc-app .ecc-stat{display:flex;align-items:center;gap:14px;padding:18px}
.ecc-stat-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.ecc-stat-ico.warn{background:#FBF1DC;color:#9A6B10}.ecc-stat-ico.ok{background:#E1F4EB;color:#1E8A5A}.ecc-stat-ico.navy{background:#E8E8FA;color:var(--navy)}
.ecc-stat-value{font-size:26px;font-weight:700;line-height:1.1}
.ecc-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;align-items:start}
.ecc-grid-doc{grid-template-columns:1.8fr 1fr}
@media(max-width:1000px){.ecc-grid,.ecc-grid-doc{grid-template-columns:1fr}}
.ecc-app .ecc-card{background:#fff;border:1px solid var(--hairline);border-radius:16px;padding:20px;margin:0 0 18px;box-shadow:var(--shadow)}
.ecc-card-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.ecc-card-h h3,.ecc-card h3{font-size:15px;font-weight:700;margin-bottom:10px}.ecc-card-h h3{margin:0}
.ecc-card-h a{font-size:12.5px;font-weight:700}
.ecc-card-accent{border-color:var(--navy);box-shadow:0 0 0 3px rgba(79,70,229,.08),var(--shadow)}
.ecc-card-ok{border-color:#BFE6D3;background:#F4FBF7}
.ecc-center{text-align:center}.ecc-center .ecc-qr{display:flex;justify-content:center;margin:10px 0}
.ecc-row{display:flex;align-items:center;gap:14px;padding:14px 8px;border-top:1px solid var(--hairline);color:var(--text)!important;border-radius:10px;transition:background .12s}
.ecc-row:first-of-type{border-top:0}.ecc-row:hover{background:var(--section-bg)}
.ecc-row-ico{width:40px;height:40px;border-radius:11px;background:#E8E8FA;color:var(--navy);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ecc-row-main{flex:1;min-width:0;display:flex;flex-direction:column}.ecc-row-main b{font-size:14px}.ecc-row-main small{color:var(--muted);font-size:12px}
.ecc-row-go{color:var(--muted);font-size:22px}
.ecc-empty{text-align:center;color:var(--muted);padding:30px 10px}.ecc-empty svg{width:34px;height:34px;opacity:.5;margin-bottom:8px}
.ecc-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.ecc-title-row .ecc-pill{margin-top:6px}
.ecc-back{font-size:13px;font-weight:700}
.ecc-kv{display:grid;grid-template-columns:auto 1fr;gap:9px 16px;margin:0;font-size:13px}.ecc-kv dt{color:var(--muted)}.ecc-kv dd{margin:0;font-weight:600;word-break:break-word}
.ecc-tl{list-style:none;margin:0;padding:0 0 0 16px;border-left:2px solid var(--hairline);font-size:12.5px;color:var(--muted)}
.ecc-tl li{position:relative;padding:0 0 12px 14px}.ecc-tl li:before{content:"";position:absolute;left:-23px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--navy);border:2px solid #fff}
.ecc-app .ecc-doc{margin:0;min-height:520px}
.ecc-f{display:block;font-size:12.5px;font-weight:700;margin-bottom:14px}.ecc-f small{font-weight:400;color:var(--muted)}
.ecc-app input[type=text],.ecc-app input[type=password]{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid var(--hairline);border-radius:10px;font-size:14px;font-family:inherit;background:#fff}
.ecc-app input:focus{border-color:var(--navy);outline:0;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.ecc-app .ecc-noprint input[type=text]{margin:0 0 10px}
.ecc-app .ecc-pill{white-space:nowrap}
@media(max-width:860px){
	.ecc-app{flex-direction:column}
	.ecc-side{width:100%;height:auto;position:static;flex-direction:row;align-items:center;flex-wrap:wrap;padding:12px 16px;gap:8px}
	.ecc-side-logo{padding:0 8px 0 0}.ecc-nav{flex-direction:row;flex-wrap:wrap;flex:1}.ecc-side-foot{border:0;padding:0}
	.ecc-content{padding:20px 16px}.ecc-top{padding:0 16px}
}

/* ---------- Login screen ---------- */
.ecc-login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;font-family:Arial,Helvetica,sans-serif;color:#111827;
	background:radial-gradient(circle at 20% 15%,#E8E8FA 0,transparent 45%),radial-gradient(circle at 85% 85%,#DDF3EA 0,transparent 40%),#F9FAFB}
.ecc-login-card{width:100%;max-width:410px;background:#fff;border:1px solid #E5E7EB;border-radius:20px;padding:36px 32px;box-shadow:0 20px 50px -20px rgba(31,42,68,.25)}
.ecc-login-logo{margin-bottom:22px}
.ecc-login-card h1{font-size:23px;margin:0 0 4px;font-weight:700;color:#111827}
.ecc-login-card .ecc-sub{margin:0 0 22px}
.ecc-login-card form p{margin:0 0 14px}
.ecc-login-card label{font-size:12.5px;font-weight:700;display:block}
.ecc-login-card input[type=text],.ecc-login-card input[type=password]{width:100%;margin-top:6px;padding:11px 13px;border:1px solid #E5E7EB;border-radius:10px;font-size:14px}
.ecc-login-card input:focus{border-color:#4F46E5;outline:0;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.ecc-login-card .login-remember label{font-weight:400;color:#6B7280}
.ecc-login-card .login-submit input{width:100%;background:#4F46E5;color:#fff;border:0;border-radius:10px;padding:12px;font-weight:700;font-size:14px;cursor:pointer}
.ecc-login-card .login-submit input:hover{background:#4338CA}
.ecc-login-links{text-align:center;font-size:12.5px;margin:16px 0 0}.ecc-login-links a{color:#4F46E5;font-weight:600;text-decoration:none}
.ecc-login-card .ecc-note{margin-bottom:16px}
@media print{.ecc-side,.ecc-top,.ecc-back{display:none!important}}


/* ================= Portal buttons: colours + hover effects =================
   Colours come from --ecc-b / --ecc-bt / --ecc-bh (Logo & Branding), effect from data-fx="…" */
.ecc-fxbtn{font:inherit;font-size:14px;font-weight:700;padding:11px 22px;border-radius:10px;cursor:pointer}
[data-fx] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn){
	background-color:var(--ecc-b)!important;background-image:none;color:var(--ecc-bt)!important;border:1px solid var(--ecc-b)!important;
	transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .2s ease,box-shadow .25s ease,background-position .5s ease;position:relative}
[data-fx=color] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover,
[data-fx=lift] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover,
[data-fx=grow] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover,
[data-fx=press] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover,
[data-fx=pulse] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{
	background-color:var(--ecc-bh)!important;border-color:var(--ecc-bh)!important}
[data-fx=lift] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{
	transform:translateY(-3px);box-shadow:0 12px 22px -10px color-mix(in srgb,var(--ecc-b) 70%,transparent)}
[data-fx=grow] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{transform:scale(1.05)}
[data-fx=press] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{transform:scale(.96)}
[data-fx=glow] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{
	background-color:var(--ecc-bh)!important;border-color:var(--ecc-bh)!important;
	box-shadow:0 0 0 4px color-mix(in srgb,var(--ecc-bh) 22%,transparent),0 0 24px color-mix(in srgb,var(--ecc-bh) 60%,transparent)}
[data-fx=outline] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{
	background-color:transparent!important;color:var(--ecc-bh)!important;border-color:var(--ecc-bh)!important;box-shadow:inset 0 0 0 1px var(--ecc-bh)}
[data-fx=slide] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn){
	background-image:linear-gradient(to right,var(--ecc-bh) 50%,var(--ecc-b) 50%)!important;background-size:202% 100%!important;background-position:100% 0!important}
[data-fx=slide] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{background-position:0 0!important;border-color:var(--ecc-bh)!important}
[data-fx=shine] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn){
	background-image:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.5) 50%,transparent 65%)!important;background-size:250% 100%!important;background-repeat:no-repeat!important;background-position:150% 0!important}
[data-fx=shine] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{background-position:-60% 0!important;transition:background-position .9s ease}
@keyframes ecc-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--ecc-bh) 55%,transparent)}100%{box-shadow:0 0 0 14px transparent}}
[data-fx=pulse] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn):hover{animation:ecc-pulse 1.1s ease-out infinite}
@media (prefers-reduced-motion:reduce){[data-fx] :is(.ecc-btn-primary,.ecc-app .ecc-noprint button[type=submit],.ecc-login-card .login-submit input,.ecc-fxbtn){transition:none!important;animation:none!important;transform:none!important}}

/* ================= Instant tab switching (assets/ecc-portal.js) ================= */
.ecc-content{transition:opacity .16s ease,transform .16s ease}
.ecc-content.ecc-out{opacity:0;transform:translateY(4px)}
.ecc-content.ecc-in{opacity:0;transform:translateY(-4px);transition:none}
#ecc-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--ecc-b,#4F46E5);z-index:99999;opacity:0;pointer-events:none}
#ecc-progress.on{opacity:1;width:70%;transition:width 1.5s cubic-bezier(.1,.7,.3,1)}
#ecc-progress.done{opacity:0;width:100%;transition:width .2s ease,opacity .3s ease .15s}
@media (prefers-reduced-motion:reduce){.ecc-content{transition:none!important;transform:none!important}}

/* ================= Admin: Contracts menu (New contract form + list) ================= */
.ecc-admin input[type=date],.ecc-admin input[type=tel],.ecc-admin input[type=number],.ecc-admin input[type=search]{border:1px solid var(--hairline);border-radius:9px;padding:7px 11px;font-size:14px;min-height:38px;background:#fff;color:var(--text)}
.ecc-clayout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.ecc-cmain,.ecc-cside{display:flex;flex-direction:column;gap:18px;min-width:0}
.ecc-sec{background:var(--paper);border:1px solid var(--hairline);border-radius:14px;padding:20px 22px;box-shadow:var(--shadow)}
.ecc-sec-sm{padding:16px 18px}
.ecc-sec-sm h3{margin:0 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.ecc-sec-h{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}
.ecc-sec-h h2{margin:0;font-size:16px}
.ecc-sec-h p{margin:2px 0 0;color:var(--muted);font-size:12.5px}
.ecc-sec-ico{width:36px!important;height:36px!important;border-radius:10px;background:color-mix(in srgb,var(--navy) 10%,#fff);color:var(--navy);display:flex!important;align-items:center;justify-content:center;font-size:18px!important;flex-shrink:0}
.ecc-fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.ecc-fl{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0 0 14px}
.ecc-fgrid .ecc-fl{margin:0}
.ecc-fl.ecc-full{grid-column:1/-1}
.ecc-fl>span{font-size:12.5px;font-weight:700;color:var(--text)}
.ecc-fl>span i,.ecc-req-note i{color:var(--danger);font-style:normal}
.ecc-fl>span em{font-weight:400;color:var(--muted)}
.ecc-fl input,.ecc-fl select,.ecc-fl textarea{width:100%;max-width:none;margin:0}
.ecc-fl textarea{border:1px solid var(--hairline);border-radius:9px;padding:9px 11px;font-size:14px}
.ecc-fl small{color:var(--muted);font-size:12px;line-height:1.4}
.ecc-fl.ecc-bad input,.ecc-fl.ecc-bad select,.ecc-fl.ecc-bad textarea{border-color:var(--danger)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 15%,transparent)}
.ecc-fl.ecc-bad>span::after{content:" — required";color:var(--danger);font-weight:400}
.ecc-sticky{position:sticky;top:46px}
.ecc-cbtns{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.ecc-cbtns .button{width:100%;justify-content:center;text-align:center}
.ecc-admin .button-hero{padding:11px 16px!important;font-size:14px!important}
.ecc-req-note{margin:10px 0 0;color:var(--muted);font-size:12px;text-align:center}
.ecc-listbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 14px}
.ecc-listbar form{margin-left:auto}
.ecc-listbar input[type=search]{width:280px}
.ecc-filters{display:flex;gap:4px;flex-wrap:wrap}
.ecc-filters a{padding:7px 12px;border-radius:9px;text-decoration:none;color:var(--muted);font-weight:600;font-size:13px}
.ecc-filters a:hover{background:var(--section-bg);color:var(--text)}
.ecc-filters a.on{background:var(--section-bg);color:var(--navy)}
.ecc-acts a{white-space:nowrap}
.ecc-viewbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.ecc-kv{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--hairline);font-size:13px}
.ecc-kv:first-of-type{border-top:0}
.ecc-kv span{color:var(--muted)}
.ecc-kv b{text-align:right;font-weight:600;word-break:break-word}
.ecc-log{margin:0;padding-left:16px;font-size:12px;color:var(--muted)}
.ecc-log li{margin:0 0 6px}
.ecc-sec .ecc-doc{border:0;width:100%;display:block;min-height:500px}
.ecc-ph{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:6px 0 10px}
.ecc-ph div{background:#fff;border:1px solid var(--hairline);border-radius:10px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.ecc-ph b{width:100%;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.ecc-ph code{cursor:pointer}
.ecc-ph code.ok{background:#DFF5EA;color:#1D7A4E}
@media (max-width:1100px){.ecc-clayout{grid-template-columns:1fr}.ecc-sticky{position:static}}
@media (max-width:640px){.ecc-fgrid{grid-template-columns:1fr}.ecc-listbar form{margin-left:0;width:100%}.ecc-listbar input[type=search]{width:100%}}
.ecc-fl input:not([type=checkbox]):not([type=radio]),.ecc-fl select{height:42px;min-height:42px;padding:0 12px;line-height:40px;border:1px solid var(--hairline);border-radius:9px;font-size:14px;box-sizing:border-box}
.ecc-fl select{padding-right:30px}

/* ================= Admin: Employees (login account panel) ================= */
.ecc-admin [hidden]{display:none!important}
.ecc-acc .ecc-sec-h{margin-bottom:14px}
.ecc-switch{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--hairline);border-radius:10px;background:var(--section-bg);font-weight:600;cursor:pointer;margin-bottom:14px}
.ecc-switch input{margin:0!important}
.ecc-seg{display:flex;background:var(--section-bg);border:1px solid var(--hairline);border-radius:10px;padding:3px;gap:3px}
.ecc-seg label{position:relative;flex:1;text-align:center;padding:8px 6px;border-radius:8px;cursor:pointer;font-weight:600;color:var(--muted);font-size:13px}
.ecc-seg input{position:absolute!important;opacity:0;pointer-events:none;left:0;top:0;width:1px!important;height:1px!important;min-height:0!important;margin:0!important}
.ecc-seg label:has(input:checked){background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(31,42,68,.12)}
.ecc-pw{display:flex;gap:6px}
.ecc-pw input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.ecc-pw .button{height:42px;flex-shrink:0;display:inline-flex;align-items:center}
.ecc-pw .dashicons{margin:0}
.ecc-fl input[readonly]{background:var(--section-bg);color:var(--muted)}
.ecc-acc-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;background:#F1FAF5;border:1px solid #CDEBDC;margin-bottom:14px;font-size:13px}
.ecc-acc-note{color:var(--muted);font-size:12px;margin:10px 0 0;line-height:1.5}
.ecc-cbtns .button .dashicons{font-size:16px;width:16px;height:16px}
.ecc-clist{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.ecc-clist a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--hairline);border-radius:9px;text-decoration:none}
.ecc-clist a:hover{border-color:var(--navy)}

.ecc-pw input{font-size:13px!important;padding:0 9px!important}
.ecc-pw #ecc-pw-show{width:42px;justify-content:center;padding:0}

/* ================= Admin: AJAX save feedback ================= */
.ecc-toast{position:fixed;right:24px;bottom:24px;z-index:100000;display:flex;align-items:center;gap:10px;max-width:420px;padding:13px 16px;border-radius:12px;background:#fff;color:#111827;font:600 13.5px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;box-shadow:0 14px 34px -12px rgba(31,42,68,.35),0 0 0 1px rgba(31,42,68,.06);opacity:0;transform:translateY(12px);transition:opacity .22s ease,transform .22s ease}
.ecc-toast.in{opacity:1;transform:none}
.ecc-toast.ok{border-left:4px solid #1D9E64}.ecc-toast.ok .dashicons{color:#1D9E64}
.ecc-toast.bad{border-left:4px solid #D64545}.ecc-toast.bad .dashicons{color:#D64545}
.ecc-spin{display:inline-block;width:14px;height:14px;margin:0 8px -2px 0;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ecc-rot .7s linear infinite}
@keyframes ecc-rot{to{transform:rotate(360deg)}}
.ecc-busy{opacity:.85;cursor:progress!important}
.ecc-acc-none{background:var(--section-bg);border-color:var(--hairline)}
@media (prefers-reduced-motion:reduce){.ecc-toast{transition:none}.ecc-spin{animation-duration:2s}}

/* ================= Admin: delete card ================= */
.ecc-danger{border-color:#F3C9C9}
.ecc-danger .ecc-sec-ico{background:#FDECEC!important;color:#C03535!important}
.ecc-admin .ecc-btn-danger{width:100%;justify-content:center;background:#C03535!important;border-color:#C03535!important;color:#fff!important;min-height:40px}
.ecc-admin .ecc-btn-danger:hover:not(:disabled){background:#A12A2A!important;border-color:#A12A2A!important}
.ecc-admin .ecc-btn-danger:disabled{background:#F1D5D5!important;border-color:#F1D5D5!important;color:#fff!important;cursor:not-allowed}

/* ================= Portal: sign-in code ================= */
.ecc-login-card .ecc-code-in{width:100%;box-sizing:border-box;text-align:center;font-size:24px!important;letter-spacing:.5em;padding:12px 14px!important;font-variant-numeric:tabular-nums}

/* ================= Admin: Security tab lists ================= */
.ecc-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.ecc-card-head h2 .dashicons{color:var(--navy);margin-right:4px}
.ecc-head-btns{display:flex;gap:8px}
.ecc-head-btns .button{display:inline-flex;align-items:center;gap:4px}
.ecc-count{display:inline-block;min-width:22px;padding:1px 8px;border-radius:999px;background:var(--section-bg);color:var(--navy);font-size:12px;text-align:center;vertical-align:middle;margin-left:6px}
.ecc-empty-ok{display:flex;align-items:center;gap:8px;padding:18px;border:1px dashed var(--hairline);border-radius:10px;color:var(--muted)}
.ecc-empty-ok .dashicons-yes-alt{color:#1D9E64}
.ecc-locks td,.ecc-signlog td{vertical-align:middle}
.ecc-locks .dashicons{color:var(--muted);font-size:16px;width:16px;height:16px;vertical-align:-3px}
.ecc-unblock{display:inline-flex!important;align-items:center;gap:4px}
.ecc-res{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600}
.ecc-res.ok{background:#DFF5EA;color:#1D7A4E}.ecc-res.bad{background:#FDECEC;color:#B03030}
.ecc-signlog{max-height:none}

/* ================= Admin: Employees / Agents list — Edit & Delete buttons (AJAX delete) ================= */
.ecc-admin table.widefat .ecc-acts{text-align:right;white-space:nowrap;width:1%}
.ecc-admin .ecc-act-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;height:32px;min-height:32px;padding:0 12px!important;margin:0 0 0 6px;line-height:1;font-size:12.5px!important;text-decoration:none;vertical-align:middle;transition:background-color .15s,border-color .15s,color .15s}
.ecc-admin .ecc-act-btn .dashicons{font-size:15px;width:15px;height:15px;margin:0}
.ecc-admin .ecc-act-btn:not(.ecc-del-row):hover{border-color:var(--navy);color:var(--navy)}
.ecc-admin .ecc-del-row{min-width:132px;color:#C03535!important;border-color:#F3C9C9!important;background:#fff!important}
.ecc-admin .ecc-del-row:hover{background:#FDECEC!important;border-color:#E9A9A9!important}
.ecc-admin .ecc-del-row.is-armed{background:#C03535!important;border-color:#C03535!important;color:#fff!important;animation:ecc-nudge .3s ease}
.ecc-admin .ecc-del-row.is-busy{pointer-events:none;background:#FDECEC!important;color:#C03535!important}
.ecc-admin .ecc-del-row.is-done,.ecc-admin .ecc-btn-danger.is-done{pointer-events:none;background:#1D9E64!important;border-color:#1D9E64!important;color:#fff!important}
.ecc-admin .ecc-btn-danger{display:inline-flex!important;align-items:center;gap:6px}
.ecc-admin .ecc-btn-danger .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-admin .ecc-btn-danger.is-busy{pointer-events:none;opacity:.9}
.ecc-people tr.ecc-row-busy td:not(.ecc-acts){opacity:.55;transition:opacity .2s}
.ecc-people tr.ecc-row-gone{opacity:0;transform:translateX(12px);transition:opacity .4s ease,transform .4s ease}
@keyframes ecc-nudge{0%,100%{transform:none}30%{transform:translateX(-2px)}70%{transform:translateX(2px)}}
@media (prefers-reduced-motion:reduce){.ecc-people tr.ecc-row-gone{transition:none}.ecc-admin .ecc-del-row.is-armed{animation:none}}

/* ================= Admin: "Are you sure?" delete dialog ================= */
.ecc-modal{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(17,24,39,.45);opacity:0;transition:opacity .18s ease}
.ecc-modal.in{opacity:1}
.ecc-modal-box{width:100%;max-width:420px;background:#fff;border-radius:16px;padding:26px 26px 22px;box-shadow:0 24px 60px -18px rgba(17,24,39,.45);text-align:center;font-family:Arial,Helvetica,sans-serif;color:#111827;transform:translateY(10px) scale(.98);transition:transform .18s ease}
.ecc-modal.in .ecc-modal-box{transform:none}
.ecc-modal-ico{width:52px;height:52px;margin:0 auto 14px;border-radius:50%;background:#FDECEC;color:#C03535;display:flex;align-items:center;justify-content:center}
.ecc-modal-ico .dashicons{font-size:24px;width:24px;height:24px}
.ecc-modal-box h2{margin:0 0 8px;font-size:18px;line-height:1.3;color:#111827;word-break:break-word}
.ecc-modal-box p{margin:0 0 20px;font-size:13.5px;line-height:1.55;color:#6B7280}
.ecc-modal-btns{display:flex;gap:10px}
.ecc-modal-btns .button{flex:1;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;height:42px;border-radius:10px!important;font-size:14px!important;font-weight:600}
.ecc-modal-btns .ecc-m-no{background:#fff!important;border:1px solid #E5E7EB!important;color:#111827!important}
.ecc-modal-btns .ecc-m-no:hover{background:#F9FAFB!important}
.ecc-modal-btns .ecc-m-yes{background:#C03535!important;border:1px solid #C03535!important;color:#fff!important}
.ecc-modal-btns .ecc-m-yes:hover{background:#A12A2A!important;border-color:#A12A2A!important}
.ecc-modal-btns .ecc-m-yes.is-busy{pointer-events:none;opacity:.9}
.ecc-modal-btns .ecc-m-yes.is-done{pointer-events:none;background:#1D9E64!important;border-color:#1D9E64!important}
.ecc-modal-btns .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-modal :focus-visible{outline:2px solid #4F46E5;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.ecc-modal,.ecc-modal-box{transition:none}}

/* ================= Admin Settings: tab buttons inside one white card, instant switching ================= */
.ecc-settings{background:#fff;border:1px solid var(--hairline);border-radius:16px;box-shadow:var(--shadow);margin:0 0 24px}
.ecc-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:16px 20px;border-bottom:1px solid var(--hairline)}
.ecc-admin .ecc-tab{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 16px;border:1px solid var(--hairline);border-radius:10px;background:#fff;color:var(--text);font-size:13.5px;font-weight:600;text-decoration:none;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}
.ecc-admin .ecc-tab .dashicons{font-size:16px;width:16px;height:16px;color:var(--muted);transition:color .15s}
.ecc-admin .ecc-tab:hover{border-color:var(--navy);color:var(--navy)}
.ecc-admin .ecc-tab:hover .dashicons{color:var(--navy)}
.ecc-admin .ecc-tab.is-active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 4px 12px -4px rgba(79,70,229,.45)}
.ecc-admin .ecc-tab.is-active .dashicons{color:#fff}
.ecc-admin .ecc-tab:focus{box-shadow:none;outline:0}
.ecc-admin .ecc-tab:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ecc-tab-panel{padding:24px}
.ecc-tab-panel:not([hidden]){animation:ecc-panel-in .18s ease}
@keyframes ecc-panel-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.ecc-tab-panel .ecc-card{max-width:none!important;box-shadow:none;background:#fff}
.ecc-tab-panel > form:first-child > .ecc-card:first-child,.ecc-tab-panel > .ecc-card:first-child{margin-top:0}
.ecc-tab-panel .ecc-card:last-child{margin-bottom:0}
.ecc-panel-intro{margin:0 0 14px;color:var(--muted);font-size:13.5px}
.ecc-verify-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ecc-verify-form .button{display:inline-flex;align-items:center;gap:6px}
@media (max-width:782px){.ecc-tabs{padding:12px}.ecc-admin .ecc-tab{height:38px;padding:0 12px;font-size:13px}.ecc-tab-panel{padding:16px}}
@media (prefers-reduced-motion:reduce){.ecc-tab-panel:not([hidden]){animation:none}}

/* ================= Contract Template (works like Bank Statement) ================= */
.ecc-head-link{margin-left:auto!important;display:inline-flex!important;align-items:center;gap:4px;height:36px;border-radius:10px!important;font-weight:600}
.ecc-head-link .dashicons{font-size:16px;width:16px;height:16px}
.ecc-ctpl .ecc-tab-panel .ecc-card{border:1px solid var(--hairline)}
.ecc-ctpl .ecc-card h2{margin:0 0 6px;font-size:16px}
.ecc-type-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px;padding:6px;background:var(--section-bg);border-radius:12px}
.ecc-admin .ecc-type-tab{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border-radius:9px;color:var(--muted);font-weight:600;font-size:13px;text-decoration:none;transition:background-color .15s,color .15s,box-shadow .15s}
.ecc-admin .ecc-type-tab:hover{color:var(--text);background:#fff}
.ecc-admin .ecc-type-tab.is-active{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(31,42,68,.14)}
.ecc-admin .ecc-type-tab:focus{box-shadow:none;outline:0}
.ecc-admin .ecc-type-tab:focus-visible{outline:2px solid var(--navy);outline-offset:1px}
.ecc-dot{width:7px;height:7px;border-radius:50%;background:#C3C8D6}
.ecc-type-tab.is-active .ecc-dot{background:var(--navy)}
.ecc-edited{font-style:normal;font-size:10.5px;font-weight:700;color:#9A6B10;background:#FBF1DC;padding:1px 7px;border-radius:999px}
.ecc-ctpl-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.ecc-ctpl-main{margin:0!important}
.ecc-mode{display:flex;flex-direction:column;gap:8px;margin:14px 0 12px}
.ecc-mode-opt{display:flex;gap:10px;align-items:center;border:1px solid var(--hairline);border-radius:10px;padding:10px 13px;cursor:pointer;background:#fff;transition:border-color .15s,background-color .15s,box-shadow .15s}
.ecc-mode-opt:hover{border-color:#C3C8D6}
.ecc-mode-opt.is-on{border-color:var(--navy);background:#F7F7FE;box-shadow:inset 0 0 0 1px var(--navy)}
.ecc-admin .ecc-mode-opt input{margin:0}
.ecc-mode-opt span{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.ecc-mode-opt strong{font-size:13px;color:var(--text)}
.ecc-mode-opt em{font-style:normal;font-size:12px;color:var(--muted);line-height:1.4}
.ecc-admin textarea.ecc-ctpl-editor{display:block;width:100%;height:480px;font:12.5px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#1E2235;color:#E6E8F2;border:0;border-radius:10px;padding:14px;resize:vertical;tab-size:2;white-space:pre;overflow:auto}
.ecc-admin textarea.ecc-ctpl-editor:focus{box-shadow:0 0 0 3px rgba(79,70,229,.3)}
.ecc-ctpl-btns{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.ecc-admin .ecc-ctpl-btns .button,.ecc-admin #ecc-cset-save{display:inline-flex!important;align-items:center;gap:6px;height:38px;padding:0 14px!important;border-radius:10px!important;font-weight:600}
.ecc-admin .ecc-ctpl-btns .button .dashicons,.ecc-admin #ecc-cset-save .dashicons,.ecc-lib-acts .button .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-admin .ecc-ctpl-btns .button.is-done,.ecc-admin #ecc-cset-save.is-done,.ecc-admin .ecc-lib-copy.is-done{background:#1D9E64!important;border-color:#1D9E64!important;color:#fff!important}
.ecc-ctpl-state{font-size:12.5px;color:var(--muted);margin-left:4px}
.ecc-ctpl-state.is-dirty{color:#9A6B10}
.ecc-ctpl-state.is-dirty:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#E3A73F;margin-right:6px}
.ecc-lib{margin-top:24px;padding-top:18px;border-top:1px solid var(--hairline)}
.ecc-lib h3{margin:0 0 10px;font-size:14px}
.ecc-lib-empty{color:var(--muted);margin:0}
.ecc-lib-list{margin:0;display:flex;flex-direction:column;gap:8px}
.ecc-lib-item{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0;padding:10px 12px;border:1px solid var(--hairline);border-radius:10px;background:#fff;transition:opacity .3s,transform .3s}
.ecc-lib-item.is-busy{opacity:.55;pointer-events:none}
.ecc-lib-item.is-gone{opacity:0;transform:translateX(10px)}
.ecc-lib-meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.ecc-lib-meta strong{font-size:13.5px}
.ecc-lib-meta span{font-size:12px;color:var(--muted)}
.ecc-lib-acts{display:flex;gap:6px;flex-wrap:wrap}
.ecc-admin .ecc-lib-acts .button{display:inline-flex!important;align-items:center;gap:5px;height:32px;min-height:32px;padding:0 10px!important;font-size:12.5px!important;line-height:1}
.ecc-admin .ecc-lib-acts .ecc-lib-del{color:#C03535!important;border-color:#F3C9C9!important;background:#fff!important}
.ecc-admin .ecc-lib-acts .ecc-lib-del:hover{background:#FDECEC!important}
.ecc-ctpl-tokens{margin:0!important;position:sticky;top:46px;max-height:calc(100vh - 70px);overflow:auto}
.ecc-ctpl-tokens h4{margin:14px 0 6px;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}
.ecc-token-list{display:flex;flex-wrap:wrap;gap:4px}
.ecc-token{font-size:11.5px!important;background:var(--section-bg)!important;border:1px solid var(--hairline);border-radius:6px;padding:2px 6px!important;cursor:pointer;color:var(--text)}
.ecc-token:hover,.ecc-token:focus-visible{border-color:var(--navy);color:var(--navy);outline:0}
.ecc-token.ok{background:#E1F4EB!important;border-color:#1D9E64;color:#1E8A5A}
/* Contract Settings */
.ecc-cset .ecc-two{display:grid;grid-template-columns:1fr 1fr;gap:6px 28px}
.ecc-cset .form-table{margin:0}
.ecc-cset .form-table th{width:150px;padding:14px 10px 14px 0}
.ecc-cset .form-table td{padding:10px 0}
.ecc-cset textarea.regular-text{width:100%;max-width:25em}
.ecc-logo-pick{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.ecc-logo-box{width:150px;height:84px;border:1px dashed #CDD0E3;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden;color:var(--muted);font-size:12px}
.ecc-logo-box img{max-width:90%;max-height:70px;width:auto;height:auto}
/* dialog extras (on <body>) */
.ecc-modal-ico.is-info{background:#E8E8FA;color:#4F46E5}
.ecc-modal-btns .ecc-m-yes.is-primary{background:#4F46E5!important;border-color:#4F46E5!important}
.ecc-modal-btns .ecc-m-yes.is-primary:hover{background:#4338CA!important;border-color:#4338CA!important}
.ecc-modal-in{display:block;width:100%;height:42px;margin:-6px 0 18px;padding:0 12px;border:1px solid #E5E7EB;border-radius:10px;font-size:14px}
.ecc-modal-in:focus{border-color:#4F46E5;box-shadow:0 0 0 3px rgba(79,70,229,.15);outline:0}
@media (max-width:1180px){.ecc-ctpl-grid{grid-template-columns:1fr}.ecc-ctpl-tokens{position:static;max-height:none}}
@media (max-width:960px){.ecc-cset .ecc-two{grid-template-columns:1fr}}

/* ================= Messages ================= */
.ecc-msg-card .ecc-open-thread,.ecc-admin .ecc-send,.ecc-admin .ecc-attach,.ecc-admin #ecc-msgs-check,.ecc-admin .ecc-panel-profile,.ecc-admin #ecc-mailset-save,.ecc-admin #ecc-mailset-test{display:inline-flex!important;align-items:center;gap:6px}
.ecc-msg-card .ecc-open-thread{width:100%;justify-content:center;height:40px;border-radius:10px!important;font-weight:600}
.ecc-admin .ecc-open-thread .dashicons,.ecc-admin .ecc-send .dashicons,.ecc-admin .ecc-attach .dashicons,.ecc-admin #ecc-msgs-check .dashicons,#ecc-mailset .button .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-unread{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#D6604F;color:#fff;font-size:11px;font-weight:700;vertical-align:middle}
.ecc-msg-last{margin:0 0 12px!important}
/* inbox */
.ecc-msgs .ecc-head{flex-wrap:wrap}
.ecc-msgs-status{margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ecc-mstat{font-size:12.5px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.ecc-mstat:before{content:"";width:8px;height:8px;border-radius:50%;background:#B7BDCB}
.ecc-mstat.ok:before{background:#1D9E64}.ecc-mstat.bad{color:#C03535}.ecc-mstat.bad:before{background:#D6604F}
.ecc-msgs-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}
.ecc-msgs-list{padding:0!important;overflow:hidden;margin:0!important}
.ecc-msgs-new{padding:12px;border-bottom:1px solid var(--hairline)}
.ecc-msgs-new select{width:100%;max-width:none;height:38px;border-radius:9px}
#ecc-msgs-items{max-height:calc(100vh - 240px);overflow:auto}
.ecc-msgs-none{padding:16px;color:var(--muted);margin:0}
.ecc-admin a.ecc-conv{display:flex;align-items:center;gap:10px;padding:11px 12px;border-bottom:1px solid var(--hairline);color:var(--text);text-decoration:none;transition:background-color .12s}
.ecc-conv:hover{background:var(--section-bg)}
.ecc-conv.is-active{background:#EEEEFC;box-shadow:inset 3px 0 0 var(--navy)}
.ecc-av{width:36px;height:36px;border-radius:50%;background:#E8E8FA;color:var(--navy,#4F46E5);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12.5px;flex-shrink:0}
.ecc-conv-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ecc-conv-t b{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecc-conv-t small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecc-conv.is-unread .ecc-conv-t b,.ecc-conv.is-unread .ecc-conv-t small{color:var(--text);font-weight:700}
.ecc-conv-m{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.ecc-conv-m small{font-size:11.5px;color:var(--muted)}
.ecc-conv-m em{font-style:normal;background:#D6604F;color:#fff;font-size:10.5px;font-weight:700;border-radius:999px;padding:1px 7px}
.ecc-msgs-pane{padding:0!important;margin:0!important;min-height:520px;overflow:hidden}
.ecc-msgs-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:520px;color:var(--muted)}
.ecc-msgs-empty .dashicons{font-size:40px;width:40px;height:40px;color:#C3C8D6}
/* conversation panel */
.ecc-panel{display:flex;flex-direction:column;height:calc(100vh - 170px);min-height:520px}
.ecc-panel-h{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--hairline,#E5E7EB);background:#fff}
.ecc-panel-h > div{flex:1;min-width:0;display:flex;flex-direction:column}
.ecc-panel-h b{font-size:15px}.ecc-panel-h small{color:var(--muted,#6B7280);font-size:12.5px}
.ecc-thread{flex:1;overflow:auto;padding:18px 16px;background:#F7F8FC;display:flex;flex-direction:column;gap:12px}
.ecc-thread-empty{margin:auto;color:var(--muted,#6B7280)}
.ecc-msg{max-width:78%;padding:11px 14px;border-radius:14px;background:#fff;border:1px solid var(--hairline,#E5E7EB);align-self:flex-start;box-shadow:0 1px 2px rgba(31,42,68,.04);word-wrap:break-word;overflow-wrap:anywhere}
.ecc-msg.out{align-self:flex-end;background:#EEEEFC;border-color:#D9D9F7}
.ecc-msg.failed{background:#FDECEC;border-color:#F3C9C9}
.ecc-msg-meta{font-size:11.5px;color:var(--muted,#6B7280);margin-bottom:4px}
.ecc-msg-subj{font-weight:700;font-size:13px;margin-bottom:4px}
.ecc-msg-body{font-size:13.5px;line-height:1.55}
.ecc-msg-body p{margin:0 0 8px}.ecc-msg-body p:last-child{margin:0}
.ecc-msg-body ul,.ecc-msg-body ol{margin:4px 0 8px 20px}
.ecc-msg-body blockquote{margin:6px 0;padding-left:10px;border-left:3px solid #D0D4E2;color:#555}
.ecc-msg-body table{max-width:100%}
.ecc-msg-full{margin-top:8px;font-size:12.5px}
.ecc-msg-full summary{cursor:pointer;color:var(--navy,#4F46E5)}
.ecc-msg-full > div{margin-top:8px;padding-top:8px;border-top:1px dashed #D0D4E2;max-height:360px;overflow:auto}
.ecc-msg-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ecc-admin .ecc-msg-files a{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:8px;background:#fff;border:1px solid var(--hairline,#E5E7EB);font-size:12px;text-decoration:none}
.ecc-msg-files a:hover{border-color:var(--navy,#4F46E5)}
.ecc-msg-files .dashicons{font-size:15px;width:15px;height:15px}
.ecc-msg-files small{color:var(--muted,#6B7280)}
.ecc-msg-err{margin-top:8px;font-size:12px;color:#C03535;display:flex;gap:5px;align-items:flex-start}
.ecc-msg-err .dashicons{font-size:15px;width:15px;height:15px}
/* reply box */
.ecc-compose{border-top:1px solid var(--hairline,#E5E7EB);padding:12px 14px;background:#fff;display:flex;flex-direction:column;gap:8px}
.ecc-admin input.ecc-compose-subj{width:100%;max-width:none;height:36px;border-radius:9px}
.ecc-rt-bar{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.ecc-rt-bar button{width:30px;height:30px;border:0;background:transparent;border-radius:7px;cursor:pointer;color:#111827;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.ecc-rt-bar button:hover{background:#F0F1F7}
.ecc-rt-bar .dashicons{font-size:17px;width:17px;height:17px}
.ecc-admin .ecc-rt-ph{margin-left:auto;height:30px;min-height:30px;font-size:12.5px;border-radius:7px}
.ecc-rt{min-height:96px;max-height:260px;overflow:auto;border:1px solid var(--hairline,#E5E7EB);border-radius:10px;padding:10px 12px;font-size:13.5px;line-height:1.55;outline:0;background:#fff}
.ecc-rt:focus{border-color:var(--navy,#4F46E5);box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.ecc-rt:empty:before{content:attr(data-placeholder);color:#9AA2B4;pointer-events:none}
.ecc-rt p{margin:0 0 8px}.ecc-rt ul,.ecc-rt ol{margin:4px 0 8px 20px}
.ecc-compose-files{display:flex;flex-wrap:wrap;gap:6px}
.ecc-compose-files:empty{display:none}
.ecc-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 6px 4px 9px;border-radius:8px;background:#F9FAFB;border:1px solid var(--hairline,#E5E7EB);font-size:12px}
.ecc-chip .dashicons{font-size:14px;width:14px;height:14px}
.ecc-chip small{color:var(--muted,#6B7280)}
.ecc-chip button{border:0;background:transparent;cursor:pointer;font-size:15px;line-height:1;color:#C03535;padding:0 3px}
.ecc-compose-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ecc-admin .ecc-attach{height:36px;border-radius:9px!important;cursor:pointer}
.ecc-admin .ecc-compose-contract{height:36px;min-height:36px;border-radius:9px;max-width:270px}
.ecc-compose-hint{margin-left:auto;font-size:11.5px;color:var(--muted,#6B7280)}
.ecc-admin .ecc-send{height:38px;padding:0 18px!important;border-radius:10px!important;font-weight:700}
.ecc-admin .ecc-send.is-done,.ecc-admin #ecc-mailset-save.is-done{background:#1D9E64!important;border-color:#1D9E64!important;color:#fff!important}
/* side panel on employee page */
.ecc-drawer{position:fixed;inset:0;z-index:100000;pointer-events:none}
.ecc-drawer-bg{position:absolute;inset:0;background:rgba(17,24,39,.35);opacity:0;transition:opacity .2s}
.ecc-drawer-box{position:absolute;top:0;right:0;bottom:0;width:min(640px,100vw);background:#fff;box-shadow:-20px 0 50px -20px rgba(17,24,39,.4);transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column}
.ecc-drawer.in{pointer-events:auto}.ecc-drawer.in .ecc-drawer-bg{opacity:1}.ecc-drawer.in .ecc-drawer-box{transform:none}
.ecc-drawer-body{flex:1;min-height:0;display:flex;flex-direction:column}
.ecc-drawer-body .ecc-panel{height:100%;min-height:0}
.ecc-drawer-body .ecc-panel-h{padding-right:56px}
.ecc-drawer-x{position:absolute;top:14px;right:12px;z-index:2;width:36px;height:36px;border:0;border-radius:9px;background:transparent;cursor:pointer;color:#6B7280}
.ecc-drawer-x:hover{background:#F9FAFB;color:#111827}
.ecc-drawer-load{margin:auto;color:#6B7280;display:flex;align-items:center;gap:8px}
html.ecc-noscroll{overflow:hidden}
#wpadminbar ~ * .ecc-drawer-box,.admin-bar .ecc-drawer-box{top:32px}
/* settings */
.ecc-admin code.ecc-cronline,.ecc-cronline{display:block;padding:10px 12px;background:#1E2235!important;color:#E6E8F2!important;border-radius:8px;font-size:12px;word-break:break-all;user-select:all}
@media (max-width:960px){.ecc-msgs-grid{grid-template-columns:1fr}#ecc-msgs-items{max-height:280px}.ecc-msg{max-width:92%}}
@media (max-width:782px){.admin-bar .ecc-drawer-box{top:46px}}
@media (prefers-reduced-motion:reduce){.ecc-drawer-box,.ecc-drawer-bg{transition:none}}

/* ================= Own forgot / reset password pages (portal) ================= */
.ecc-pwform p{margin:0 0 14px}
.ecc-pwform label{font-size:12.5px;font-weight:700;display:block}
.ecc-login-card .ecc-pwform input[type=text],.ecc-login-card .ecc-pwform input[type=password]{width:100%;margin-top:6px;padding:11px 13px;border:1px solid #E5E7EB;border-radius:10px;font-size:14px;font-family:inherit}
.ecc-pwwrap{position:relative;display:block}
.ecc-login-card .ecc-pwwrap input{padding-right:46px!important}
.ecc-pweye{position:absolute;right:6px;top:calc(50% + 3px);transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#6B7280;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ecc-pweye:hover,.ecc-pweye.on{color:var(--ecc-b,#4F46E5);background:#F9FAFB}
.ecc-pwmeter{display:flex;align-items:center;gap:10px;margin:-6px 0 14px;min-height:16px}
.ecc-pwmeter span{flex:1;height:6px;border-radius:99px;background:#EEF0F6;position:relative;overflow:hidden}
.ecc-pwmeter span:after{content:"";position:absolute;left:0;top:0;bottom:0;width:0;border-radius:99px;transition:width .25s,background-color .25s}
.ecc-pwmeter em{font-style:normal;font-size:12px;font-weight:700;min-width:58px;text-align:right}
.ecc-pwmeter.s1 span:after{width:20%;background:#D6604F}.ecc-pwmeter.s1 em{color:#C03535}
.ecc-pwmeter.s2 span:after{width:40%;background:#E3A73F}.ecc-pwmeter.s2 em{color:#9A6B10}
.ecc-pwmeter.s3 span:after{width:60%;background:#E3C53F}.ecc-pwmeter.s3 em{color:#8A7410}
.ecc-pwmeter.s4 span:after{width:80%;background:#34B37A}.ecc-pwmeter.s4 em{color:#1E8A5A}
.ecc-pwmeter.s5 span:after{width:100%;background:#1D9E64}.ecc-pwmeter.s5 em{color:#1E8A5A}
.ecc-pwrules{font-size:12px;color:#6B7280;line-height:1.5}
.ecc-pwrow{display:flex;gap:10px}
.ecc-pwrow .ecc-pwgen{flex:0 0 auto;justify-content:center}
.ecc-pwbtn,.ecc-login-card a.ecc-pwbtn{display:flex;align-items:center;justify-content:center;width:100%;text-decoration:none;text-align:center;background:var(--ecc-b,#4F46E5);color:var(--ecc-bt,#fff)!important;border:1px solid var(--ecc-b,#4F46E5);box-sizing:border-box}
.ecc-pwrow .ecc-pwbtn{flex:1}
.ecc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* ================= Settings → Password reset ================= */
.ecc-pwr{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.ecc-pwr label{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--hairline);border-radius:10px;background:#fff;cursor:pointer;max-width:420px;transition:border-color .15s,background-color .15s}
.ecc-pwr label:hover{border-color:#C3C8D6}
.ecc-pwr label:has(input:checked){border-color:var(--navy);background:#F7F7FE}
.ecc-admin .ecc-pwr input[type=checkbox]{margin:0}
.ecc-pwr code{margin-left:auto;font-size:12px;background:var(--section-bg);padding:2px 7px;border-radius:6px}
.ecc-pwr .description{margin:4px 0 0}
.ecc-pwr-prev{display:inline-block;padding:10px 14px;border-radius:10px;background:#E8E8FA;color:var(--navy);font-weight:600;font-size:13px}

/* Settings: Save buttons while saving / saved */
.ecc-settings .submit .button.is-busy,.ecc-settings .submit input.is-busy{opacity:.85;pointer-events:none}
.ecc-settings .submit .button.is-done,.ecc-settings .submit input.is-done{background:#1D9E64!important;border-color:#1D9E64!important;color:#fff!important}

/* Settings → Email → Send as */
.ecc-as-scope{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ecc-as-scope label{display:block;line-height:1.5}
.ecc-admin #ecc-as-test{display:inline-flex!important;align-items:center;gap:6px}
.ecc-admin #ecc-as-test .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-admin .ecc-panel-check{display:inline-flex!important;align-items:center;gap:5px}
.ecc-admin .ecc-panel-check .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-panel-warn{padding:8px 16px;background:#FDECEC;color:#C03535;font-size:12.5px;border-bottom:1px solid #F3C9C9}
.ecc-admin input[name=as_test_to].is-saved{border-color:#1D9E64!important;box-shadow:0 0 0 3px rgba(29,158,100,.15)!important;transition:box-shadow .2s}
/* Settings → Email: the box that needs fixing */
#ecc-mailset tr.ecc-bad th{color:#C03535}
#ecc-mailset tr.ecc-bad input,#ecc-mailset tr.ecc-bad select{border-color:#D6604F!important;box-shadow:0 0 0 3px rgba(214,96,79,.18)!important}
#ecc-mailset tr.ecc-bad{background:#FFF6F5}

/* ================= Employee / agent page header: name left, Messages right ================= */
.ecc-phead{display:flex;align-items:stretch;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--hairline);border-radius:18px;box-shadow:var(--shadow);padding:18px 20px;margin:16px 0 22px}
.ecc-phead-main{display:flex;flex-direction:column;gap:12px;min-width:0;flex:1 1 380px}
.ecc-admin a.ecc-phead-back{display:inline-flex;align-items:center;gap:2px;align-self:flex-start;font-size:12.5px;font-weight:600;color:var(--muted);text-decoration:none;padding:3px 8px 3px 4px;border-radius:7px;margin:-4px 0 0 -4px}
.ecc-admin a.ecc-phead-back:hover{background:var(--section-bg);color:var(--navy)}
.ecc-phead-back .dashicons{font-size:16px;width:16px;height:16px}
.ecc-phead-who{display:flex;align-items:center;gap:16px;min-width:0}
.ecc-phead-av{width:58px;height:58px;border-radius:16px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--navy),#6A6AF0);color:#fff;font-weight:800;font-size:20px;letter-spacing:.5px;box-shadow:0 8px 18px -8px rgba(79,70,229,.55)}
.ecc-phead-txt{min-width:0}
.ecc-phead h1{margin:0 0 6px!important;padding:0!important;font-size:22px!important;line-height:1.25!important;font-weight:700;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecc-phead-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12.5px;color:var(--muted)}
.ecc-phead-meta > span:not(.ecc-pill){display:inline-flex;align-items:center;gap:4px}
.ecc-phead-kind{font-weight:700;color:var(--navy)}
.ecc-phead-kind .dashicons{font-size:15px;width:15px;height:15px}
.ecc-phead-meta .ecc-pill{font-size:11px}
/* Messages box */
.ecc-mhead{flex:0 1 380px;min-width:280px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--hairline);border-radius:14px;background:var(--section-bg)}
.ecc-mhead.has-new{background:#F4F4FF;border-color:#C9CBF3;box-shadow:inset 3px 0 0 var(--navy)}
.ecc-mhead-top{display:flex;gap:12px;align-items:flex-start;min-width:0}
.ecc-mhead-ico{width:38px;height:38px;border-radius:11px;background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--hairline)}
.ecc-mhead-ico .dashicons{font-size:19px;width:19px;height:19px}
.ecc-mhead-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.ecc-mhead-t b{font-size:14px;color:var(--text)}
.ecc-mhead-t small{font-size:12.5px;color:var(--muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ecc-mhead-t small em{font-style:normal;font-weight:700;color:var(--text)}
.ecc-admin .ecc-mhead .ecc-open-thread{display:flex!important;align-items:center;justify-content:center;gap:6px;width:100%;height:40px;border-radius:10px!important;font-weight:700}
.ecc-admin .ecc-mhead .ecc-open-thread .dashicons{font-size:16px;width:16px;height:16px;margin:0}
@media (max-width:782px){.ecc-phead{padding:14px}.ecc-mhead{flex-basis:100%}.ecc-phead h1{white-space:normal}}

/* ================= Employees / Agents list: Messages column + View panel ================= */
.ecc-people .ecc-rowmsg-cell{min-width:170px;max-width:240px}
.ecc-admin .ecc-rowmsg{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:10px;padding:7px 9px;margin:-7px -9px;cursor:pointer;font:inherit;color:var(--text);transition:background-color .15s,border-color .15s}
.ecc-admin .ecc-rowmsg:hover{background:var(--section-bg);border-color:var(--hairline)}
.ecc-admin .ecc-rowmsg.is-new{background:#FFF4F2;border-color:#F6CFC8}
.ecc-admin .ecc-rowmsg.is-new:hover{background:#FDE9E5}
.ecc-rowmsg-top{display:flex;align-items:center;gap:6px}
.ecc-rowmsg-top em{font-style:normal;background:#D6604F;color:#fff;font-size:10.5px;font-weight:700;border-radius:999px;padding:1px 8px}
.ecc-rowmsg-top .dashicons{font-size:15px;width:15px;height:15px;color:var(--muted)}
.ecc-rowmsg-top small{font-size:11.5px;color:var(--muted)}
.ecc-rowmsg-snip{font-size:12.5px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.ecc-rowmsg.is-new .ecc-rowmsg-snip{font-weight:700}
.ecc-admin .ecc-rowmsg.is-empty{flex-direction:row;align-items:center;gap:5px;width:auto;color:var(--muted);font-size:12.5px;font-weight:600}
.ecc-admin .ecc-rowmsg.is-empty:hover{color:var(--navy)}
.ecc-rowmsg.is-empty .dashicons{font-size:15px;width:15px;height:15px}
/* View panel */
.ecc-view{display:flex;flex-direction:column;height:100%;min-height:0}
.ecc-view-h{display:flex;align-items:center;gap:14px;padding:20px 60px 14px 20px}
.ecc-view-h .ecc-phead-av{width:50px;height:50px;font-size:17px;border-radius:14px}
.ecc-view-ht{display:flex;flex-direction:column;min-width:0}
.ecc-view-ht b{font-size:18px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecc-view-ht small{color:#6B7280;font-size:12.5px}
.ecc-view-btns{display:flex;gap:8px;padding:0 20px 16px;border-bottom:1px solid #E5E7EB}
.ecc-view-btns .button{display:inline-flex!important;align-items:center;gap:6px;height:38px;padding:0 14px!important;border-radius:10px!important;font-weight:600}
.ecc-view-btns .dashicons{font-size:16px;width:16px;height:16px;margin:0}
.ecc-view-body{flex:1;overflow:auto;padding:6px 20px 24px;background:#F7F8FC}
.ecc-view-body section{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:12px 14px;margin-top:12px}
.ecc-view-body h4{margin:0 0 8px;font-size:11.5px;text-transform:uppercase;letter-spacing:.6px;color:#6B7280}
.ecc-dl{display:grid;grid-template-columns:150px 1fr;gap:6px 12px;margin:0;font-size:13px}
.ecc-dl dt{color:#6B7280}
.ecc-dl dd{margin:0;color:#111827;font-weight:600;word-break:break-word}
.ecc-view-none{margin:0;color:#9AA2B4;font-size:12.5px}
@media (max-width:600px){.ecc-dl{grid-template-columns:1fr}.ecc-dl dt{margin-top:6px}}
.ecc-view-btns a.button,.ecc-acts a.button{text-decoration:none!important}

/* ================= Employees / Agents list: fits the page, never slides sideways ================= */
.ecc-admin{overflow-x:hidden}
.ecc-tablewrap{width:100%;overflow-x:auto;border-radius:16px}
.ecc-admin table.ecc-people{width:100%;min-width:0;table-layout:auto;font-size:13px}
.ecc-admin table.ecc-people th{padding:12px 10px!important;font-size:11px!important;white-space:nowrap}
.ecc-admin table.ecc-people td{padding:12px 10px!important;vertical-align:middle}
.ecc-people td:first-child{max-width:190px}
.ecc-people td:first-child b{display:block;overflow-wrap:anywhere;line-height:1.35}
.ecc-people .ecc-col-email{max-width:200px;overflow-wrap:anywhere;font-size:12.5px}
.ecc-col-sub{display:block;margin-top:4px;font-size:11.5px;color:var(--muted);max-width:170px;overflow-wrap:anywhere;line-height:1.3}
.ecc-people .ecc-rowmsg-cell{min-width:0!important;width:170px;max-width:170px!important}
.ecc-admin .ecc-rowmsg{padding:6px 8px;margin:-6px -8px}
.ecc-rowmsg-top small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-rowmsg-snip{font-size:12px;max-width:150px}
/* compact action buttons */
.ecc-admin table.ecc-people .ecc-acts{width:1%;white-space:nowrap}
.ecc-admin table.ecc-people .ecc-act-btn{height:30px;min-height:30px;padding:0 9px!important;margin-left:4px;font-size:12px!important;gap:4px;border-radius:8px!important}
.ecc-admin table.ecc-people .ecc-act-btn .dashicons{font-size:14px;width:14px;height:14px}
.ecc-admin table.ecc-people .ecc-del-row{min-width:0}
.ecc-admin table.ecc-people .ecc-del-row.is-armed,.ecc-admin table.ecc-people .ecc-del-row.is-busy,.ecc-admin table.ecc-people .ecc-del-row.is-done{min-width:118px}
/* narrower screens: drop the less important columns, then show icons only */
@media (max-width:1400px){.ecc-people .ecc-col-opt{display:none}}
@media (max-width:1180px){.ecc-admin table.ecc-people .ecc-act-btn{padding:0 8px!important;font-size:0!important;gap:0}.ecc-admin table.ecc-people .ecc-act-btn .dashicons{font-size:15px;width:15px;height:15px}.ecc-admin table.ecc-people .ecc-del-row.is-armed,.ecc-admin table.ecc-people .ecc-del-row.is-busy,.ecc-admin table.ecc-people .ecc-del-row.is-done{font-size:12px!important;gap:4px}}
.ecc-people .ecc-pill,.ecc-people .ecc-rowmsg-new,.ecc-people .ecc-rowmsg-top b{white-space:nowrap}

/* ================= Compose: Insert field menu ================= */
.ecc-ins{position:relative;margin-left:auto}
.ecc-rt-bar .ecc-ins-btn{width:auto!important;height:32px;padding:0 10px 0 8px;gap:6px;border:1px solid #D5D9E6!important;background:#fff!important;color:#111827;font-size:13px;font-weight:600;border-radius:8px}
.ecc-rt-bar .ecc-ins-btn:hover,.ecc-rt-bar .ecc-ins-btn[aria-expanded=true]{border-color:#4F46E5!important;color:#4F46E5;background:#F5F7FF!important}
.ecc-ins-code{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 4px;border-radius:5px;background:#EEF0FF;color:#4F46E5;font:700 11px/1 ui-monospace,Menlo,Consolas,monospace}
.ecc-rt-bar .ecc-ins-btn .dashicons{font-size:14px;width:14px;height:14px}
.ecc-ins-menu{position:absolute;right:0;bottom:calc(100% + 6px);z-index:100;width:290px;max-height:340px;overflow-y:auto;background:#fff;border:1px solid #E1E4EE;border-radius:12px;box-shadow:0 12px 32px rgba(20,25,60,.18);padding:6px}
.ecc-ins-menu[hidden]{display:none}
.ecc-ins-head{padding:8px 10px 10px;font-size:12px;line-height:1.4;color:#6B7280;border-bottom:1px solid #F0F1F5;margin-bottom:4px}
.ecc-rt-bar .ecc-ins-item{display:flex!important;width:100%!important;height:auto!important;justify-content:space-between!important;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;font-size:13.5px;color:#111827;text-align:left}
.ecc-rt-bar .ecc-ins-item:hover,.ecc-rt-bar .ecc-ins-item:focus{background:#F5F7FF;color:#4F46E5;outline:0}
.ecc-ins-item code{background:#F4F5F9;color:#4F46E5;border-radius:5px;padding:2px 6px;font-size:11.5px}
.ecc-rt-bar .ecc-ins{flex:0 0 auto;width:auto}.ecc-rt-bar .ecc-ins-btn{display:inline-flex!important;flex:0 0 auto}

/* ================= Settings → Message fields ================= */
.ecc-ins-cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.ecc-ins-cardhead h2{margin:0!important}
.ecc-ins-group{margin-top:18px}
.ecc-ins-group h4{margin:0 0 8px;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#6B7280}
.ecc-ins-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}
.ecc-ins-opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #E1E4EE;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
.ecc-ins-opt:hover{border-color:#B9BDF5}
.ecc-ins-opt:has(input:checked){border-color:#4F46E5;background:#F5F5FF}
.ecc-ins-opt input{margin:0!important}
.ecc-ins-opt span{flex:1;font-size:13px;color:#111827;font-weight:500}
.ecc-ins-opt code{font-size:11px;background:#F4F5F9;color:#4F46E5;border-radius:5px;padding:2px 6px;white-space:nowrap}
.ecc-ins-custom{margin-top:12px}
.ecc-ins-crow{display:grid;grid-template-columns:minmax(140px,1fr) minmax(170px,1fr) minmax(200px,2fr) 34px;gap:8px;align-items:start;margin-bottom:8px;padding:4px;border-radius:10px}
.ecc-ins-crow.ecc-bad{background:#FDECEC;outline:2px solid #E5A3A3}
.ecc-ins-chead{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#6B7280;margin-bottom:2px}
.ecc-ins-crow input,.ecc-ins-crow textarea{width:100%;min-height:36px;border-radius:8px!important;margin:0}
.ecc-ins-crow textarea{resize:vertical;padding:7px 8px}
.ecc-ins-codebox{display:flex;align-items:center;gap:2px;font:600 13px ui-monospace,Menlo,Consolas,monospace;color:#4F46E5}
.ecc-ins-codebox input{font:13px ui-monospace,Menlo,Consolas,monospace}
.ecc-ins-del{width:34px;height:36px;border:1px solid #F0C8C8;background:#fff;color:#C03535;border-radius:8px;font-size:20px;line-height:1;cursor:pointer}
.ecc-ins-del:hover{background:#FDECEC}
.ecc-ins-empty{padding:14px;border:1px dashed #D5D9E6;border-radius:10px;color:#6B7280;text-align:center;margin-bottom:10px}
#ecc-ins-add{display:inline-flex;align-items:center;gap:4px}
@media (max-width:782px){.ecc-ins-crow{grid-template-columns:1fr 34px}.ecc-ins-crow>*:not(.ecc-ins-del){grid-column:1}.ecc-ins-del{grid-column:2;grid-row:1}.ecc-ins-chead{display:none}}
/* Insert menu footer */
.ecc-ins-none{padding:12px 10px;color:#6B7280;font-size:13px}
.ecc-ins-manage{display:flex;align-items:center;gap:6px;margin-top:4px;padding:10px;border-top:1px solid #F0F1F5;color:#4F46E5;font-size:12.5px;font-weight:600;text-decoration:none}
.ecc-ins-manage:hover{background:#F5F7FF;border-radius:0 0 8px 8px}
.ecc-ins-manage .dashicons{font-size:15px;width:15px;height:15px}

/* ================= Settings → Signature ================= */
.ecc-sig-wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:1280px){.ecc-sig-wrap{grid-template-columns:1fr}}
.ecc-sig-preview{position:sticky;top:46px}
.ecc-sig-mail{border:1px solid #E1E4EE;border-radius:12px;background:#fff;padding:22px;overflow:hidden}
.ecc-sig-mailbody{font:14px/1.6 Arial,Helvetica,sans-serif;color:#9AA1B2}
.ecc-sig-mail img{max-width:100%;height:auto}
.ecc-sig-imgbox{display:flex;align-items:center;justify-content:center;min-height:90px;padding:12px;border:1px dashed #D5D9E6;border-radius:10px;background:#FAFBFD;max-width:560px}
.ecc-sig-imgbox img{max-width:100%;max-height:160px;height:auto}
.ecc-sig-imgbox span{color:#6B7280}
#ecc-sig-pick{display:inline-flex;align-items:center;gap:5px}
.ecc-sig-rm{color:#C03535!important;margin-left:8px}
#ecc-sig-w{width:260px;vertical-align:middle}
#ecc-sig-wout{display:inline-block;min-width:56px;font-weight:600;color:#4F46E5;margin-left:6px}
/* signature under the message box */
.ecc-compose-sig{margin-top:8px;border:1px solid #E1E4EE;border-radius:10px;background:#FAFBFD}
.ecc-compose-sighead{display:flex;align-items:center;gap:14px;padding:8px 12px;font-size:12.5px}
.ecc-compose-sighead label{display:flex;align-items:center;gap:6px;font-weight:600;color:#111827;margin-right:auto}
.ecc-compose-sighead a,.ecc-compose-sighead .button-link{font-size:12.5px;color:#4F46E5;text-decoration:none}
.ecc-compose-sigbody{padding:0 14px 12px;max-height:260px;overflow:auto}
.ecc-compose-sigbody img{max-width:100%;height:auto}
.ecc-compose-sig.is-off .ecc-compose-sigbody{opacity:.35}
.ecc-compose-sig.is-none{padding:8px 12px;border-style:dashed}
.ecc-compose-sig.is-none a{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:#4F46E5;text-decoration:none;font-weight:600}
.ecc-compose-sig.is-none .dashicons{font-size:15px;width:15px;height:15px}

/* ================= Settings → Email: one tab per email address ================= */
.ecc-acct-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 18px;padding:8px;background:#fff;border:1px solid #E5E7EB;border-radius:14px}
.ecc-acct-tab{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:6px 14px;border:1px solid transparent;border-radius:10px;background:transparent;cursor:pointer;text-align:left;color:#111827;font:inherit}
.ecc-acct-tab:hover{background:#F9FAFB}
.ecc-acct-tab.is-on{background:#EEF0FF;border-color:#C9CCF7;color:#4F46E5}
.ecc-acct-tt{display:flex;flex-direction:column;line-height:1.25}
.ecc-acct-tt b{font-size:13.5px;font-weight:600}
.ecc-acct-tt b em{font-style:normal;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#1E8A5A;background:#E6F6EE;border-radius:20px;padding:1px 7px;margin-left:4px;vertical-align:1px}
.ecc-acct-tt small{font-size:12px;color:#6B7280}
.ecc-acct-tab.is-on .ecc-acct-tt small{color:#5558C9}
.ecc-acct-dot{width:9px;height:9px;border-radius:50%;background:#C7CBD8;flex:0 0 9px}
.ecc-acct-dot.ok{background:#1E8A5A}.ecc-acct-dot.bad{background:#D04848}
.ecc-acct-tab.is-add,.ecc-acct-tab.is-gen{font-weight:600;font-size:13px;gap:6px}
.ecc-acct-tab.is-add{color:#4F46E5;border:1px dashed #C9CCF7}
.ecc-acct-tab.is-gen{margin-left:auto;color:#4B5368}
.ecc-acct-tab .dashicons{font-size:17px;width:17px;height:17px}
form.ecc-acct .ecc-card{margin-bottom:18px}
form.ecc-acct .ecc-card>h2{margin:0 0 4px}
form.ecc-acct[hidden]{display:none}
.ecc-acct-newnote{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin-bottom:18px;background:#F5F7FF;border:1px solid #D9DBFA;border-radius:12px;color:#2C3150;line-height:1.5}
.ecc-acct-newnote .dashicons{color:#4F46E5;margin-top:2px}
.ecc-acct-foot{display:flex;align-items:center;gap:10px;margin:4px 0 30px}
.ecc-acct-foot .button{display:inline-flex;align-items:center;gap:6px}
.ecc-acct-del{margin-left:auto!important;color:#C03535!important;border-color:#F0C8C8!important;background:#fff!important}
.ecc-acct-del:hover{background:#FDECEC!important}
.ecc-inl{margin-left:10px;white-space:nowrap}
.ecc-w160{width:160px}
.ecc-txt-ok{color:#1E8A5A!important}.ecc-txt-bad{color:#C03535!important}
.ecc-acct-out{margin-top:8px}
form.ecc-acct .ecc-sig-wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:1280px){form.ecc-acct .ecc-sig-wrap{grid-template-columns:1fr}}
.ecc-sig-ptitle{display:block;margin:14px 0 8px;font-size:13px;color:#4B5368}
@media (max-width:782px){.ecc-acct-tab.is-gen{margin-left:0}.ecc-acct-tab{flex:1 1 calc(50% - 8px)}}
/* message box: Send from */
.ecc-compose-from{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:13px}
.ecc-compose-from label{font-weight:600;color:#4B5368;white-space:nowrap}
.ecc-compose-from select{flex:1;min-width:0;max-width:100%;height:36px;border-radius:8px!important;border-color:#D5D9E6!important;font-size:13px}
.ecc-compose-from select:disabled{opacity:1;background:#F7F8FB;color:#111827}
.ecc-from-add{white-space:nowrap;font-size:12.5px;color:#4F46E5;text-decoration:none;font-weight:600}
.ecc-compose-from.is-none{padding:8px 10px;background:#F7F8FB;border-radius:8px;color:#4B5368;gap:6px}
.ecc-compose-from.is-none .dashicons{font-size:16px;width:16px;height:16px;color:#6B7280}
.ecc-compose-sig[hidden]{display:none!important}
/* thread: which address */
.ecc-msg-acct{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:20px;background:#EEF0FF;color:#4F46E5;font-size:11px;font-weight:600;vertical-align:1px}
.ecc-msg.in .ecc-msg-acct{background:#EAF6F0;color:#1E7A50}
/* Messages page: filter by address */
.ecc-msgs-filter{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #EEF0F5}
.ecc-msgs-filter button{border:1px solid #E1E4EE;background:#fff;border-radius:20px;padding:4px 12px;font-size:12.5px;font-weight:600;color:#4B5368;cursor:pointer}
.ecc-msgs-filter button:hover{border-color:#B9BDF5}
.ecc-msgs-filter button.is-on{background:#4F46E5;border-color:#4F46E5;color:#fff}
.ecc-sig-linkbox{display:flex;align-items:center;gap:6px;max-width:420px}
.ecc-sig-linkbox .dashicons{color:#4F46E5}
.ecc-sig-linkbox input{flex:1}
.ecc-sig-prev a img{outline:2px dashed transparent;transition:outline-color .15s}
.ecc-sig-prev a:hover img{outline-color:#4F46E5}
.ecc-ign{margin:0;padding:0;list-style:none;max-width:640px}
.ecc-ign li{padding:8px 10px;border:1px solid #F0E2C4;background:#FFFBF2;border-radius:8px;margin-bottom:6px;font-size:12.5px;line-height:1.45}
.ecc-ign li small{color:#8A8F9C}
.ecc-ign li span{display:block;color:#8A5A00}

/* ================= Check for replies: choose the mailbox, see what was found ================= */
.ecc-chk{display:inline-flex;align-items:center;gap:6px}
.ecc-chk-acct{height:36px;max-width:230px;border-radius:8px!important;border-color:#D5D9E6!important;font-size:12.5px}
.ecc-report{position:relative;margin:10px 14px 0;padding:10px 34px 10px 12px;background:#F7F8FC;border:1px solid #E1E4EE;border-radius:10px;font-size:12.5px;line-height:1.5}
.ecc-report ul{margin:4px 0 0;padding:0;list-style:none}
.ecc-report li{padding:2px 0 2px 14px;position:relative;margin:0}
.ecc-report li:before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;border-radius:50%;background:#B9BECC}
.ecc-report li.new:before{background:#1E8A5A}.ecc-report li.bad{color:#B42828}.ecc-report li.bad:before{background:#D04848}
.ecc-report small{color:#6B7280}
.ecc-report-x{position:absolute;top:6px;right:8px;border:0;background:none;font-size:18px;line-height:1;color:#8A8F9C;cursor:pointer}
.ecc-report-miss{margin-top:8px;padding:8px 10px;background:#FFFBF2;border:1px solid #F0E2C4;border-radius:8px}
.ecc-report-miss div{margin-top:4px}.ecc-report-miss span{display:block;color:#8A5A00}
/* the "to HR / from HR" tag can be corrected */
.ecc-msg-acctw{position:relative;display:inline-block}
button.ecc-msg-acct{border:0;cursor:pointer;font-family:inherit}
button.ecc-msg-acct:hover{filter:brightness(.95);text-decoration:underline}
.ecc-msg-acctmenu{position:absolute;z-index:20;top:calc(100% + 4px);right:0;min-width:240px;padding:6px;background:#fff;border:1px solid #E1E4EE;border-radius:10px;box-shadow:0 10px 26px rgba(20,25,60,.16)}
.ecc-msg-acctmenu[hidden]{display:none}
.ecc-msg-acctmenu small{display:block;padding:4px 8px 6px;color:#6B7280;font-size:11.5px}
.ecc-msg-acctmenu button{display:block;width:100%;text-align:left;border:0;background:none;padding:7px 8px;border-radius:6px;font-size:12.5px;color:#111827;cursor:pointer}
.ecc-msg-acctmenu button:hover{background:#F5F7FF;color:#4F46E5}
.ecc-msg.in .ecc-msg-acctmenu{left:0;right:auto}.ecc-panel-h .ecc-chk-acct{max-width:200px}

/* ================= Conversation header: compact buttons, tidy name ================= */
.ecc-panel-h{gap:10px;padding:12px 14px;flex-wrap:wrap}
.ecc-panel-who{flex:1 1 180px;min-width:0}
.ecc-panel-who b,.ecc-panel-who small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-panel-who b{font-size:15px;line-height:1.3}
.ecc-panel-h .button,.ecc-chk .button{height:34px!important;min-height:34px!important;padding:0 12px!important;font-size:13px!important;font-weight:600;border-radius:10px!important;display:inline-flex!important;align-items:center;gap:6px;line-height:1!important;box-shadow:none!important}
.ecc-panel-h .button .dashicons,.ecc-chk .button .dashicons{font-size:16px;width:16px;height:16px}
.ecc-panel-h .ecc-panel-profile{background:#fff!important;border:1px solid #D5D9E6!important;color:#111827!important}
.ecc-chk{gap:0;border:1px solid #D5D9E6;border-radius:10px;background:#fff;overflow:hidden}
.ecc-chk .button{border:0!important;border-radius:0!important;background:#fff!important;color:#4F46E5!important}
.ecc-chk .button:hover{background:#F5F7FF!important}
.ecc-chk select.ecc-chk-acct{border:0!important;border-right:1px solid #E5E7EB!important;border-radius:0!important;height:34px;max-width:190px!important;box-shadow:none!important}

/* ================= Nice dropdowns: Send from, mailbox, contract ================= */
.ecc-chk-acct,.ecc-from,.ecc-compose-contract{-webkit-appearance:none;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233232D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center!important;padding:0 32px 0 12px!important;font-size:13px!important;font-weight:500;color:#111827!important;cursor:pointer;text-overflow:ellipsis}
.ecc-from:focus,.ecc-chk-acct:focus,.ecc-compose-contract:focus{outline:2px solid #C9CCF7;outline-offset:-2px;border-color:#4F46E5!important}
.ecc-compose-from{gap:0;padding:0;margin-bottom:10px;border:1px solid #D5D9E6;border-radius:12px;background:#fff;overflow:hidden;transition:border-color .15s}
.ecc-compose-from:focus-within{border-color:#4F46E5;box-shadow:0 0 0 3px #EEF0FF}
.ecc-compose-from label{display:flex;align-items:center;gap:6px;height:40px;padding:0 14px;background:#F9FAFB;border-right:1px solid #E5E7EB;color:#4B5368;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ecc-compose-from label:before{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233232D4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") no-repeat center/contain}
.ecc-compose-from select.ecc-from{flex:1;height:40px!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;max-width:none}
.ecc-compose-from .ecc-from-add{padding:0 14px}
.ecc-compose-contract{height:34px;border:1px solid #D5D9E6!important;border-radius:10px!important}

/* ================= Look inside a mailbox ================= */
.ecc-look{margin-top:12px;padding:12px;border:1px solid #E1E4EE;border-radius:12px;background:#FAFBFD;max-width:760px}
.ecc-look>small{color:#6B7280}
.ecc-look-row{display:flex;align-items:center;gap:10px;margin-top:8px;padding:9px 11px;border-radius:9px;background:#fff;border:1px solid #ECEEF4;font-size:12.5px;line-height:1.45}
.ecc-look-row>div{flex:1;min-width:0}
.ecc-look-row small{color:#8A8F9C}
.ecc-look-row span{display:block;font-weight:600}
.ecc-look-row.ok span{color:#1E8A5A}.ecc-look-row.wait span{color:#4F46E5}.ecc-look-row.miss{border-color:#F0C8C8;background:#FFF6F6}.ecc-look-row.miss span{color:#C03535}.ecc-look-row.skip span{color:#8A8F9C;font-weight:500}
.ecc-report li a{margin-left:6px;font-size:12px;color:#4F46E5}

/* Conversation header: name + email get the whole first row, the check tools sit on their own row below */
.ecc-panel-h{row-gap:10px}
.ecc-panel-h .ecc-av{order:1}
.ecc-panel-h .ecc-panel-who{order:2;flex:1 1 0;min-width:0}
.ecc-panel-h .ecc-panel-profile{order:3}
.ecc-panel-h .ecc-chk{order:4;flex:1 1 100%;display:flex}
.ecc-panel-h .ecc-chk select.ecc-chk-acct{flex:1;max-width:none!important;min-width:0}
.ecc-panel-h .ecc-chk .button{flex:0 0 auto}
.ecc-panel-who b{white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:16px}
.ecc-panel-who small{white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:13.5px;color:#4B5368;margin-top:2px}
.ecc-acct-pullall{float:right;margin:-4px 0 6px 10px!important}

/* ================= Emails inbox ================= */
.wrap.ecc-admin .ecc-head{position:relative}
.ecc-inbox-btn{margin-left:auto;align-self:center;display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border:1px solid #D5D9E6;border-radius:12px;background:#fff;color:#111827;font:600 14px/1 inherit;cursor:pointer;box-shadow:0 1px 2px rgba(20,25,60,.06);transition:border-color .15s,box-shadow .15s}
.ecc-inbox-btn:hover{border-color:#4F46E5;color:#4F46E5;box-shadow:0 4px 14px rgba(79,70,229,.12)}
.ecc-inbox-btn .dashicons{color:#4F46E5}
.ecc-inbox-btn em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:20px;background:#D04848;color:#fff;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.ecc-inbox-btn em:empty,.ecc-inbox-btn em[hidden]{display:none}
html.ecc-noscroll,html.ecc-noscroll body{overflow:hidden}
.ecc-inbox{position:fixed;inset:0;z-index:100050;background:rgba(15,20,45,.45);display:none;align-items:center;justify-content:center;padding:2vh 2vw}
.ecc-inbox.in{display:flex}
.ecc-inbox-box{width:min(1320px,100%);height:100%;max-height:96vh;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(10,15,40,.35);display:flex;flex-direction:column;overflow:hidden}
.ecc-inbox-top{display:flex;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid #EEF0F5;flex-wrap:wrap}
.ecc-inbox-title{display:flex;align-items:center;gap:12px;margin-right:auto;min-width:0}
.ecc-inbox-title>.dashicons{width:40px;height:40px;font-size:22px;line-height:40px;text-align:center;border-radius:12px;background:#EEF0FF;color:#4F46E5}
.ecc-inbox-title b{display:block;font-size:18px;color:#111827}
.ecc-inbox-title small{display:block;color:#6B7280;font-size:12.5px}
.ecc-inbox-tools{display:flex;align-items:center;gap:8px}
.ecc-inbox-q{width:260px;height:36px;border:1px solid #D5D9E6!important;border-radius:10px!important;padding:0 12px!important;font-size:13px}
.ecc-inbox-close{width:36px;height:36px;border:0;background:#F3F4F8;border-radius:10px;font-size:22px;line-height:1;color:#4B5368;cursor:pointer}
.ecc-inbox-close:hover{background:#E8EAF2}
.ecc-inbox-filter{display:flex;gap:6px;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid #EEF0F5;background:#FAFBFD}
.ecc-inbox-filter button{display:inline-flex;align-items:center;gap:6px;border:1px solid #E1E4EE;background:#fff;border-radius:20px;padding:5px 12px;font-size:12.5px;font-weight:600;color:#4B5368;cursor:pointer}
.ecc-inbox-filter button small{font-weight:400;color:#8A8F9C}
.ecc-inbox-filter button em{font-style:normal;background:#D04848;color:#fff;border-radius:20px;padding:0 6px;font-size:11px;line-height:17px}
.ecc-inbox-filter button em:empty{display:none}
.ecc-inbox-filter button.is-on{background:#4F46E5;border-color:#4F46E5;color:#fff}
.ecc-inbox-filter button.is-on small{color:#D9DAFF}
.ecc-inbox-body{flex:1;display:grid;grid-template-columns:minmax(300px,400px) 1fr;min-height:0}
.ecc-inbox-list{overflow-y:auto;border-right:1px solid #EEF0F5;padding:6px}
.ecc-im{display:flex;gap:10px;width:100%;text-align:left;padding:11px 12px;border:0;border-radius:12px;background:none;cursor:pointer;color:#111827;font:inherit;margin-bottom:2px}
.ecc-im:hover{background:#F9FAFB}
.ecc-im.is-active{background:#EEF0FF}
.ecc-im .ecc-av{flex:0 0 36px;width:36px;height:36px;font-size:12px}
.ecc-im-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ecc-im-top{display:flex;align-items:center;gap:6px}
.ecc-im-top b{font-size:13.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-im-top small{margin-left:auto;color:#8A8F9C;font-size:11.5px;white-space:nowrap}
.ecc-im-kind{font-style:normal;font-size:10.5px;font-weight:700;color:#1E7A50;background:#EAF6F0;border-radius:20px;padding:0 7px;white-space:nowrap}
.ecc-im-subj{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2C3150}
.ecc-im-subj .dashicons{font-size:14px;width:14px;height:14px;color:#8A8F9C;vertical-align:-2px;margin-right:2px}
.ecc-im-snip{font-size:12.5px;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-im-acct{align-self:flex-start;margin-top:3px;font-size:10.5px;font-weight:600;color:#4F46E5;background:#EEF0FF;border-radius:20px;padding:1px 8px}
.ecc-im.is-unread .ecc-im-top b,.ecc-im.is-unread .ecc-im-subj{font-weight:700;color:#111735}
.ecc-im.is-unread{box-shadow:inset 3px 0 0 #4F46E5}
.ecc-inbox-more{display:block!important;margin:10px auto!important}
.ecc-inbox-pane{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.ecc-inbox-pane>.ecc-panel{flex:1;display:flex;flex-direction:column;min-height:0}
.ecc-inbox-pane .ecc-thread{flex:1;overflow-y:auto;min-height:120px}
.ecc-inbox-pane .ecc-panel-h{padding-right:64px}
.ecc-inbox-del{position:absolute;top:14px;right:14px;z-index:2;width:36px;height:36px;border:1px solid #F0C8C8;border-radius:10px;background:#fff;color:#C03535;cursor:pointer}
.ecc-inbox-del:hover{background:#FDECEC}
.ecc-inbox-back{display:none}
@media (max-width:900px){
 .ecc-inbox{padding:0}.ecc-inbox-box{border-radius:0;max-height:100vh}
 .ecc-inbox-body{grid-template-columns:1fr}
 .ecc-inbox-pane{display:none}
 .ecc-inbox.is-reading .ecc-inbox-list{display:none}
 .ecc-inbox.is-reading .ecc-inbox-pane{display:flex}
 .ecc-inbox-back{display:inline-flex;align-items:center;gap:4px;margin:10px 14px 0;border:0;background:none;color:#4F46E5;font-weight:600;cursor:pointer}
 .ecc-inbox-q{width:100%}.ecc-inbox-tools{width:100%}
}
@media (max-width:900px){.ecc-inbox-tools{flex-wrap:wrap}.ecc-inbox-q{flex:1 1 100%;order:3}.ecc-inbox-tools .ecc-chk{flex:1}.ecc-inbox-tools .ecc-chk .button{width:100%;justify-content:center}}

/* attachments: open in a new window, small download button beside */
.ecc-msg-files .ecc-file{display:inline-flex;align-items:stretch;border:1px solid #E1E4EE;border-radius:9px;background:#fff;overflow:hidden}
.ecc-msg-files .ecc-file:hover{border-color:#4F46E5}
.ecc-msg-files .ecc-file a,.ecc-admin .ecc-msg-files .ecc-file a{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:0;border-radius:0;background:none;font-size:12.5px;color:#111827;text-decoration:none}
.ecc-msg-files .ecc-file-open:hover{background:#F5F7FF;color:#4F46E5}
.ecc-msg-files .ecc-file .dashicons{font-size:16px;width:16px;height:16px;color:#4F46E5}
.ecc-msg-files .ecc-file small{color:#8A8F9C}
.ecc-msg-files .ecc-file-ext{font-size:13px!important;width:13px!important;height:13px!important;color:#8A8F9C!important}
.ecc-msg-files .ecc-file-dl{border-left:1px solid #E1E4EE!important;padding:6px 8px!important}
.ecc-msg-files .ecc-file-dl:hover{background:#F5F7FF}

/* Emails window: the reply box always fits — Attach files and Send stay visible */
.ecc-inbox-pane{overflow-y:auto}
.ecc-inbox-pane>.ecc-panel{flex:1 0 auto;height:100%;min-height:560px;display:flex;flex-direction:column}
.ecc-inbox-pane .ecc-panel-h{flex:0 0 auto}
.ecc-inbox-pane .ecc-thread{flex:1 1 0;min-height:160px;overflow-y:auto}
.ecc-inbox-pane .ecc-compose{flex:0 0 auto;padding:10px 16px 14px}
.ecc-inbox-pane .ecc-compose-from{margin-bottom:8px}
.ecc-inbox-pane .ecc-compose-subj{margin-bottom:6px}
.ecc-inbox-pane .ecc-rt{min-height:90px;max-height:220px;overflow-y:auto}
.ecc-inbox-pane .ecc-compose-sig{margin-top:6px}
.ecc-inbox-pane .ecc-compose-foot{position:sticky;bottom:0;background:#fff;padding-top:8px;margin-top:8px;z-index:1}
.ecc-inbox-pane>.ecc-panel{min-height:0}
@media (max-height:820px){
 .ecc-inbox-pane .ecc-thread{min-height:70px}
 .ecc-inbox-pane .ecc-rt{min-height:64px;max-height:140px}
 .ecc-inbox-pane .ecc-panel-h{padding-top:8px;padding-bottom:8px;row-gap:6px}
 .ecc-inbox-pane .ecc-compose{gap:6px;padding-top:8px}
 .ecc-inbox-pane .ecc-compose-subj{height:34px}
 .ecc-inbox-pane .ecc-compose-from label,.ecc-inbox-pane .ecc-compose-from select.ecc-from{height:34px!important}
 .ecc-inbox-filter{padding-top:6px;padding-bottom:6px}
 .ecc-inbox-top{padding-top:8px;padding-bottom:8px}
}

/* ================= Message box: Send + Attach files, same rounded design everywhere ================= */
.ecc-compose .ecc-compose-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ecc-compose .ecc-send,.ecc-compose .ecc-attach{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;height:44px!important;min-height:44px!important;padding:0 24px!important;border-radius:25px!important;font-size:14px!important;font-weight:600!important;line-height:1!important;cursor:pointer;transition:transform .12s,box-shadow .15s,background .15s,border-color .15s,color .15s;text-shadow:none!important}
.ecc-compose .ecc-send .dashicons,.ecc-compose .ecc-attach .dashicons{font-size:18px;width:18px;height:18px;line-height:18px}
.ecc-compose .ecc-send{margin-left:0;background:linear-gradient(135deg,#4F46E5 0%,#5B5BF0 100%)!important;border:0!important;color:#fff!important;box-shadow:0 6px 16px rgba(79,70,229,.28)!important;min-width:120px}
.ecc-compose .ecc-send:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(79,70,229,.34)!important}
.ecc-compose .ecc-send:active{transform:translateY(0);box-shadow:0 4px 10px rgba(79,70,229,.25)!important}
.ecc-compose .ecc-send:focus-visible,.ecc-compose .ecc-attach:focus-within{outline:3px solid #C9CCF7;outline-offset:2px}
.ecc-compose .ecc-send:disabled{background:#B9BCD8!important;box-shadow:none!important;transform:none;cursor:not-allowed}
.ecc-compose .ecc-send.is-done{background:linear-gradient(135deg,#1E8A5A 0%,#2FB67A 100%)!important;box-shadow:0 6px 16px rgba(30,138,90,.28)!important}
.ecc-compose .ecc-send .ecc-spin{border-color:rgba(255,255,255,.45);border-top-color:#fff}
.ecc-compose .ecc-attach{background:#fff!important;border:1.5px solid #C9CCF7!important;color:#4F46E5!important;box-shadow:none!important}
.ecc-compose .ecc-attach:hover{background:#F5F7FF!important;border-color:#4F46E5!important;transform:translateY(-1px)}
.ecc-compose .ecc-attach .dashicons{color:#4F46E5}
.ecc-compose .ecc-compose-hint{margin-left:auto;color:#8A8F9C;font-size:12px}
.ecc-compose .ecc-compose-contract{height:44px!important;border-radius:25px!important;padding-left:16px!important}
@media (max-width:600px){.ecc-compose .ecc-compose-hint{display:none}.ecc-compose .ecc-send{margin-left:auto}}
.ecc-compose .ecc-send:disabled:has(.ecc-spin){background:linear-gradient(135deg,#4F46E5 0%,#5B5BF0 100%)!important;opacity:.85;cursor:progress;box-shadow:0 6px 16px rgba(79,70,229,.2)!important}

/* ================= Choose-or-type fields (job title, contract type) ================= */
.ecc-fl>.ecc-fl-t{font-size:12.5px;font-weight:700;color:var(--text,#111827);cursor:pointer}
.ecc-fl>.ecc-fl-t i{color:var(--danger,#C03535);font-style:normal}
.ecc-combo{position:relative;display:block}
.ecc-combo input{padding-right:44px!important}
.ecc-combo-tg{position:absolute;top:1px;right:1px;bottom:1px;width:40px;border:0;border-left:1px solid #EEF0F5;background:transparent;border-radius:0 9px 9px 0;color:#4F46E5;cursor:pointer}
.ecc-combo-tg:hover{background:#F5F7FF}
.ecc-combo-tg .dashicons{transition:transform .15s}
.ecc-combo.is-open .ecc-combo-tg .dashicons{transform:rotate(180deg)}
.ecc-combo.is-open input{border-color:#4F46E5!important;box-shadow:0 0 0 3px #EEF0FF}
.ecc-combo-menu{position:fixed;z-index:100060;left:0;right:0;top:calc(100% + 6px);max-height:300px;overflow-y:auto;background:#fff;border:1px solid #E1E4EE;border-radius:12px;box-shadow:0 14px 34px rgba(20,25,60,.16);padding:6px}
.ecc-combo-menu[hidden]{display:none}
.ecc-combo-opt{display:flex;align-items:center;border-radius:8px}
.ecc-combo-opt:hover,.ecc-combo-opt.is-hi{background:#F5F7FF}
.ecc-combo-opt.is-cur .ecc-combo-pick{font-weight:700;color:#4F46E5}
.ecc-combo-opt.is-cur .ecc-combo-pick:after{content:" ✓";color:#4F46E5}
.ecc-combo-pick{flex:1;padding:9px 10px;font-size:14px;color:#111827;cursor:pointer}
.ecc-combo-del{width:30px;height:30px;margin-right:4px;border:0;border-radius:8px;background:none;color:#B4B8C6;font-size:18px;line-height:1;cursor:pointer;opacity:0;transition:opacity .12s}
.ecc-combo-opt:hover .ecc-combo-del,.ecc-combo-opt.is-hi .ecc-combo-del{opacity:1}
.ecc-combo-del:hover{background:#FDECEC;color:#C03535}
@media (hover:none){.ecc-combo-del{opacity:1}}
.ecc-combo-add{display:flex;align-items:center;gap:6px;padding:10px;border-radius:8px;color:#4F46E5;font-size:14px;cursor:pointer;border-bottom:1px solid #F0F1F5;margin-bottom:4px}
.ecc-combo-add:hover,.ecc-combo-add.is-hi{background:#F5F7FF}
.ecc-combo-add .dashicons{font-size:17px;width:17px;height:17px}
.ecc-combo-none{padding:12px 10px;color:#6B7280;font-size:13px}
.ecc-combo-foot{padding:8px 10px 4px;margin-top:4px;border-top:1px solid #F0F1F5;font-size:11.5px;color:#8A8F9C}
.ecc-combo-del{opacity:.55;color:#8A8F9C;font-size:20px}.ecc-combo-opt:hover .ecc-combo-del{color:#C03535}

/* ================= Interview card (employee page, admin) ================= */
.ecc-iv-body{display:flex;flex-direction:column;gap:16px}
.ecc-iv-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:12px 14px;border-radius:12px;background:#F7F8FC;border:1px solid #ECEEF4}
.ecc-iv-status small{color:#6B7280;font-size:12px}
.ecc-iv h4{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:13px;color:#111827}
.ecc-iv h4 small{background:#EEF0FF;color:#4F46E5;border-radius:20px;padding:1px 8px;font-size:11px}
.ecc-iv-hint{margin:0 0 10px;font-size:12.5px;color:#4B5368;background:#F5F7FF;border-radius:9px;padding:8px 10px}
.ecc-iv-hint.is-warn{background:#FFF7E6;color:#8A5A00}
.ecc-iv-list{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}
.ecc-iv-q{border:1px solid #E1E4EE;border-radius:12px;padding:10px;background:#fff;transition:border-color .15s}
.ecc-iv-q:focus-within{border-color:#4F46E5;box-shadow:0 0 0 3px #EEF0FF}
.ecc-iv-q-top{display:flex;gap:8px;align-items:flex-start}
.ecc-iv-n{font-weight:700;color:#4F46E5;padding-top:8px;min-width:18px}
.ecc-iv-q textarea{flex:1;width:100%;min-height:54px;border:0!important;box-shadow:none!important;padding:6px!important;resize:vertical;font-size:13.5px;line-height:1.45}
.ecc-iv-q-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px;padding-top:8px;border-top:1px solid #F0F1F5;font-size:12px;color:#4B5368}
.ecc-iv-q-bar input{width:58px!important;height:28px!important;min-height:28px!important;padding:0 6px!important;margin:0 2px!important;border-radius:7px!important;font-size:12.5px}
.ecc-iv-q-tools{margin-left:auto;display:flex;gap:2px}
.ecc-iv-q-tools button{width:28px;height:28px;border:0;border-radius:7px;background:none;color:#6B7280;cursor:pointer}
.ecc-iv-q-tools button:hover{background:#F5F7FF;color:#4F46E5}
.ecc-iv-q-tools .ecc-iv-del:hover{background:#FDECEC;color:#C03535}
.ecc-iv-q-tools .dashicons{font-size:16px;width:16px;height:16px}
.ecc-iv-add,.ecc-iv-btns .button{display:inline-flex!important;align-items:center;gap:6px}
.ecc-iv-add{border-style:dashed!important;width:100%;justify-content:center;height:38px}
.ecc-iv-voice{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;font-size:12.5px;font-weight:600;color:#111827}
.ecc-iv-voice select{height:34px;border-radius:9px!important;font-size:12.5px}
.ecc-iv-listen{display:inline-flex;align-items:center;gap:3px;color:#4F46E5!important;text-decoration:none!important;font-weight:600}
.ecc-iv-btns{display:flex;gap:8px;flex-wrap:wrap}
.ecc-iv-btns .button{height:40px;border-radius:25px!important;padding:0 18px!important}
.ecc-iv-save.is-dirty{border-color:#4F46E5!important;color:#4F46E5!important;box-shadow:0 0 0 3px #EEF0FF}
.ecc-iv-save.is-dirty:after{content:"•";color:#D04848;font-size:20px;line-height:0;margin-left:2px}
.ecc-iv-answers{display:flex;flex-direction:column;gap:12px}
.ecc-iv-ans-h{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ecc-iv-ans-h h4{margin:0}
.ecc-iv-cols{display:inline-flex;align-items:center;gap:4px;background:#F3F4F8;border:1px solid #E1E4EE;border-radius:999px;padding:3px}
.ecc-iv-cols>span{font-size:12px;color:#6B7280;padding:0 6px 0 8px}
.ecc-iv-col{width:28px;height:28px;border:0;border-radius:50%;background:transparent;font-weight:700;font-size:12.5px;color:#4B5563;cursor:pointer}
.ecc-iv-col:hover{background:#fff}
.ecc-iv-col.is-on{background:var(--a,#4F46E5);color:#fff;box-shadow:0 2px 6px rgba(79,70,229,.3)}
.ecc-iv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.ecc-iv-grid[data-cols="1"]{grid-template-columns:minmax(0,1fr)}
.ecc-iv-grid[data-cols="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.ecc-iv-grid[data-cols="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.ecc-iv-grid[data-cols="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.ecc-iv-grid[data-cols="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1100px){.ecc-iv-grid[data-cols="4"],.ecc-iv-grid[data-cols="5"],.ecc-iv-grid[data-cols="6"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:782px){.ecc-iv-grid[data-cols]:not([data-cols="1"]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.ecc-iv-grid[data-cols]{grid-template-columns:minmax(0,1fr)}}
.ecc-iv-grid .ecc-iv-ans{display:flex;flex-direction:column;min-width:0}
.ecc-iv-grid .ecc-iv-ans-q{line-height:1.4}
.ecc-iv-ans{border:1px solid #E1E4EE;border-radius:12px;padding:10px;background:#fff}
.ecc-iv-ans-q{font-size:13px;margin-bottom:8px;color:#111827}
.ecc-iv-ans video{width:100%;border-radius:9px;background:#0F1430;aspect-ratio:4/3;display:block;object-fit:contain}
.ecc-iv-ans small{display:block;margin-top:6px;color:#8A8F9C;font-size:11.5px}
.ecc-iv-miss{margin:0;color:#C03535;font-size:12.5px}
.ecc-iv-review{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ecc-iv-review>span{font-weight:700;font-size:12.5px;margin-right:2px}
.ecc-iv-review .button{display:inline-flex!important;align-items:center;gap:4px;height:36px;border-radius:25px!important;padding:0 14px!important;font-weight:600}
.ecc-iv-review .is-pass{color:#1E8A5A!important;border-color:#A8DBC3!important}.ecc-iv-review .is-pass:hover{background:#EAF6F0!important}
.ecc-iv-review .is-retake{color:#4F46E5!important;border-color:#C9CCF7!important}.ecc-iv-review .is-retake:hover{background:#F5F7FF!important}
.ecc-iv-review .is-fail{color:#C03535!important;border-color:#F0C8C8!important}.ecc-iv-review .is-fail:hover{background:#FDECEC!important}
.ecc-iv-mail{font-size:12.5px;color:#4B5368}
.ecc-iv-delrec{display:inline-flex;align-items:center;gap:3px;color:#C03535!important;text-decoration:none!important;font-size:12.5px;align-self:flex-start}

/* ================= Interview (employee portal) ================= */
.ecc-ivp{max-width:760px;margin:0 auto}
.ecc-ivp-step{background:#fff;border:1px solid var(--line,#E6E8F0);border-radius:18px;padding:28px;box-shadow:0 6px 24px rgba(20,25,60,.06)}
.ecc-ivp-tips{margin:14px 0 18px;padding-left:20px;line-height:1.7;color:#3C4257}
.ecc-ivp-check{display:flex;flex-direction:column;align-items:center;gap:10px;margin:18px 0;padding:16px;border-radius:14px;background:#F7F8FC}
.ecc-ivp-preview{width:100%;max-width:360px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#0F1430;transform:scaleX(-1)}
.ecc-ivp-checkmsg{font-size:14px;color:#4B5368;text-align:center}
.ecc-ivp-checkmsg.is-ok{color:#1E8A5A;font-weight:600}.ecc-ivp-checkmsg.is-bad{color:#B42828}
.ecc-ivp-consent{display:flex;gap:10px;align-items:flex-start;margin:6px 0 18px;padding:12px 14px;border:1px solid #E1E4EE;border-radius:12px;cursor:pointer;line-height:1.45}
.ecc-ivp-consent input{margin-top:3px;width:18px;height:18px;flex:0 0 18px}
.ecc-ivp .ecc-btn{border-radius:25px;min-height:46px;padding:0 26px;font-size:15px}
.ecc-ivp .ecc-btn:disabled{opacity:.45;cursor:not-allowed}
.ecc-ivp-note{min-height:20px;margin:12px 0 0;font-size:13px;color:#6B7280;text-align:center}
.ecc-ivp-note.is-bad{color:#B42828}
/* question steps: see "Interview question steps" further down */
.ecc-ivp-qnum{text-align:center;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6B7280}
.ecc-ivp-question{margin:10px 0 6px;text-align:center;font-size:21px;line-height:1.4;font-weight:700;color:#111827}
.ecc-ivp-phase{text-align:center;font-size:14px;color:#4F46E5;font-weight:600;margin-bottom:12px}
.ecc-ivp-stage{position:relative;max-width:460px;margin:0 auto;border-radius:16px;overflow:hidden;background:#0F1430;aspect-ratio:4/3}
.ecc-ivp-live{width:100%;height:100%;object-fit:cover;display:block;transform:scaleX(-1)}
.ecc-ivp-rec{position:absolute;top:10px;left:10px;background:#D04848;color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:20px;animation:eccPulse 1.2s infinite}
@keyframes eccPulse{50%{opacity:.55}}
.ecc-ivp-timer{position:absolute;right:10px;bottom:10px;background:rgba(15,20,48,.78);color:#fff;border-radius:12px;padding:6px 12px;font:700 22px/1 ui-monospace,Menlo,Consolas,monospace;text-align:right}
.ecc-ivp-timer:empty{display:none}
.ecc-ivp-timer small{display:block;font:600 10px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;opacity:.8}
.ecc-ivp-timer.is-low{background:#D04848}
.ecc-ivp.is-recording .ecc-ivp-stage{box-shadow:0 0 0 3px #D04848}
.ecc-ivp-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px}
.ecc-ivp-bar{height:12px;border-radius:8px;background:#E7E9F3;overflow:hidden;max-width:420px;margin:18px auto 6px}
.ecc-ivp-bar span{display:block;position:relative;overflow:hidden;height:100%;width:6%;border-radius:inherit;background:linear-gradient(90deg,var(--b1,#34B37A),var(--b2,#4F46E5));transition:width .6s}
/* movements you choose in Settings → Interview */
.ecc-ivp-bar.is-flow span{background:linear-gradient(90deg,var(--b1),var(--b2),var(--b1));background-size:200% 100%;animation:ecc-bar-flow 2s linear infinite}
@keyframes ecc-bar-flow{from{background-position:100% 0}to{background-position:-100% 0}}
.ecc-ivp-bar.is-stripes span{background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,.3) 0 8px,transparent 8px 16px),linear-gradient(90deg,var(--b1),var(--b2));background-size:22.63px 22.63px,100% 100%;animation:ecc-bar-stripes .7s linear infinite}
@keyframes ecc-bar-stripes{from{background-position:0 0,0 0}to{background-position:22.63px 0,0 0}}
.ecc-ivp-bar.is-shimmer span::after{content:"";position:absolute;top:0;bottom:0;left:0;width:60%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:ecc-bar-shine 1.5s ease-in-out infinite}
@keyframes ecc-bar-shine{from{transform:translateX(-120%)}to{transform:translateX(220%)}}
.ecc-ivp-bar.is-pulse span{animation:ecc-bar-pulse 1.4s ease-in-out infinite}
@keyframes ecc-bar-pulse{0%,100%{opacity:1;filter:brightness(1)}50%{opacity:.6;filter:brightness(1.25)}}
.ecc-ivp-bar.is-bounce span::after{content:"";position:absolute;top:0;bottom:0;width:30%;border-radius:inherit;background:radial-gradient(ellipse at center,rgba(255,255,255,.8),transparent 70%);animation:ecc-bar-bounce 1.3s ease-in-out infinite alternate}
@keyframes ecc-bar-bounce{from{left:-10%}to{left:80%}}
@media (prefers-reduced-motion:reduce){.ecc-ivp-bar span,.ecc-ivp-bar span::after{animation:none!important}}
/* Settings: upload bar look */
.ecc-ivlook-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:20px;align-items:center;margin:14px 0 18px}
@media (max-width:900px){.ecc-ivlook-top{grid-template-columns:1fr}}
.ecc-ivlook-colors{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ecc-ivlook-colors .ecc-ed-color{min-width:160px}
.ecc-ivlook-swap{display:inline-flex!important;align-items:center;gap:4px;border-radius:25px!important}
.ecc-ivlook-live{background:#F7F8FC;border:1px solid #E6E8F0;border-radius:14px;padding:16px 20px 10px;text-align:center}
.ecc-ivlook-live small{display:block;color:#8A93A6;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.ecc-ivlook-live .ecc-ivp-bar{margin:12px auto 6px}
.ecc-ivlook-anims{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.ecc-ivlook-opt{position:relative;display:flex;flex-direction:column;gap:3px;border:1px solid #E1E4EE;border-radius:12px;padding:14px;cursor:pointer;background:#fff}
.ecc-ivlook-opt:hover{border-color:#B9BEF5}
.ecc-ivlook-opt.is-on{border-color:#4F46E5;background:#F7F7FF;box-shadow:0 0 0 2px rgba(79,70,229,.12)}
.ecc-ivlook-opt input{position:absolute;opacity:0;pointer-events:none}
.ecc-ivlook-opt .ecc-ivp-bar{margin:0 0 10px;max-width:none}
.ecc-ivlook-opt b{font-size:13px}.ecc-ivlook-opt small{font-size:11.5px;color:#7A84A0;line-height:1.4}
.ecc-ivp-pct{text-align:center;font-weight:700;color:#4F46E5}
.ecc-ivp-fail{margin-top:16px;padding:12px 14px;border-radius:12px;background:#FDECEC;color:#8A2A1C;text-align:center}
.ecc-ivp-tick,.ecc-ivp-noticon{width:64px;height:64px;margin:0 auto 12px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:30px;background:#EAF6F0;color:#1E8A5A}
.ecc-ivp-noticon.is-clock{background:#EEF0FF;color:#4F46E5}
.ecc-ivp-step[data-step="done"],.ecc-ivp-step[data-step="saving"],.ecc-ivp-notice{text-align:center}
.ecc-ivp-notice{max-width:620px;margin:0 auto;padding:30px}
.ecc-nav-badge{margin-left:auto;font-style:normal;background:#D04848;color:#fff;border-radius:20px;font-size:11px;font-weight:700;padding:1px 7px}
@media (max-width:600px){.ecc-ivp-step{padding:18px}.ecc-ivp-question{font-size:18px}.ecc-ivp .ecc-btn{width:100%}}
.ecc-ivp [hidden],.ecc-iv [hidden]{display:none!important}

/* ================= Interview languages ================= */
.ecc-iv-trs{margin-top:8px;border-top:1px solid #F0F1F5;padding-top:6px}
.ecc-iv-trs summary{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:12px;font-weight:600;color:#4F46E5;list-style:none;padding:3px 0}
.ecc-iv-trs summary::-webkit-details-marker{display:none}
.ecc-iv-trs summary .dashicons{font-size:15px;width:15px;height:15px}
.ecc-iv-trs summary em{font-style:normal;background:#EEF0FF;border-radius:20px;padding:0 7px;font-size:11px}
.ecc-iv-trs summary em:empty{display:none}
.ecc-iv-trs summary small{font-weight:400;color:#8A8F9C}
.ecc-iv-trlist{display:flex;flex-direction:column;gap:8px;margin:8px 0}
.ecc-iv-tr{border:1px solid #ECEEF4;border-radius:9px;background:#FAFBFD;padding:6px 8px}
.ecc-iv-tr-h{display:flex;align-items:center;gap:6px;font-size:12px}
.ecc-iv-tr-by{color:#8A8F9C;font-size:11px;margin-right:auto}
.ecc-iv-tr[data-by="you"] .ecc-iv-tr-by{color:#1E8A5A}
.ecc-iv-tr-auto{display:inline-flex;align-items:center;gap:2px;border:0;background:none;color:#4F46E5;font-size:11.5px;font-weight:600;cursor:pointer;border-radius:6px;padding:2px 6px}
.ecc-iv-tr-auto:hover{background:#EEF0FF}
.ecc-iv-tr-auto .dashicons{font-size:13px;width:13px;height:13px}
.ecc-iv-tr-del{border:0;background:none;color:#B4B8C6;font-size:17px;line-height:1;cursor:pointer;border-radius:6px;width:24px;height:24px}
.ecc-iv-tr-del:hover{background:#FDECEC;color:#C03535}
.ecc-iv-tr textarea{width:100%;min-height:40px;margin-top:4px;border:0!important;box-shadow:none!important;background:transparent;padding:4px!important;font-size:13px;resize:vertical}
.ecc-iv-tr-add{height:30px!important;min-height:30px!important;font-size:12px!important;border-radius:8px!important;max-width:100%}
.ecc-iv-lang{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;color:#4F46E5;background:#EEF0FF;border-radius:20px;padding:1px 8px}
.ecc-iv-lang .dashicons{font-size:13px;width:13px;height:13px}
.ecc-iv-saw{display:block;margin-top:4px;font-size:12.5px;color:#4B5368;background:#F7F8FC;border-left:3px solid #C9CCF7;border-radius:4px;padding:4px 8px}
/* settings */
.ecc-tr-prov{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:8px 0 14px}
.ecc-tr-opt{display:flex;flex-direction:column;gap:4px;padding:12px 14px 12px 38px;position:relative;border:1px solid #E1E4EE;border-radius:12px;cursor:pointer;background:#fff}
.ecc-tr-opt input{position:absolute;left:14px;top:14px;margin:0}
.ecc-tr-opt span{font-size:12.5px;color:#6B7280;line-height:1.4}
.ecc-tr-opt.is-on{border-color:#4F46E5;background:#F5F5FF}
.ecc-tr-keyrow{display:flex;flex-direction:column;gap:6px;max-width:620px}
.ecc-tr-keyrow input{max-width:420px}
.ecc-tr-test{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #F0F1F5}
.ecc-tr-test .button{display:inline-flex;align-items:center;gap:5px}
.ecc-tr-out{flex-basis:100%;font-size:13.5px}
.ecc-tr-out.is-ok{color:#1E8A5A;font-weight:600}.ecc-tr-out.is-bad{color:#C03535}
.ecc-tr-langs{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin-top:10px}
.ecc-tr-lang{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #E1E4EE;border-radius:10px;cursor:pointer;background:#fff;position:relative}
.ecc-tr-lang:has(input:checked){border-color:#4F46E5;background:#F5F5FF}
.ecc-tr-lang span{display:flex;flex-direction:column;line-height:1.25}
.ecc-tr-lang b{font-size:13px;font-weight:600}.ecc-tr-lang small{font-size:12px;color:#6B7280}
.ecc-tr-no{display:none;margin-left:auto;font-style:normal;font-size:10.5px;color:#8A5A00;background:#FFF4DE;border-radius:20px;padding:1px 7px;white-space:nowrap}
.ecc-tr-lang.is-no .ecc-tr-no{display:inline-block}
.ecc-tr-lang.is-no{opacity:.75}
/* portal: language picker + right-to-left */
.ecc-ivp-lang{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-6px 0 18px;padding:10px 14px;border-radius:12px;background:#F9FAFB;border:1px solid #E6E8F0}
.ecc-ivp-lang label{display:flex;align-items:center;gap:6px;font-weight:700;color:#111827;font-size:14px}
.ecc-ivp-lang svg{color:var(--btn,#4F46E5)}
.ecc-ivp-langsel{flex:1;min-width:200px;height:42px;border:1px solid #D5D9E6;border-radius:10px;padding:0 12px;font-size:15px;background:#fff}
.ecc-ivp.is-translating .ecc-ivp-body{opacity:.45;transition:opacity .2s}
.ecc-ivp-count{margin:6px 0 0;color:#4B5368}
.ecc-ivp-voicenote{margin:10px auto 0;max-width:460px;text-align:center;font-size:13px;color:#8A5A00;background:#FFF7E6;border-radius:10px;padding:8px 12px}
.ecc-ivp[dir="rtl"] .ecc-ivp-tips{padding-left:0;padding-right:20px}
.ecc-ivp[dir="rtl"] .ecc-ivp-timer{right:auto;left:10px;text-align:left}
.ecc-ivp[dir="rtl"] .ecc-ivp-rec{left:auto;right:10px}
.ecc-ivp[dir="rtl"] .ecc-ivp-question,.ecc-ivp[dir="rtl"] .ecc-h,.ecc-ivp[dir="rtl"] .ecc-sub{font-family:inherit}
.ecc-pw-mail{display:flex;align-items:center;gap:8px;margin:-4px 0 14px;padding:9px 12px;border-radius:10px;background:#EEF0FF;color:#2C3150;font-size:13px;font-weight:600;cursor:pointer}.ecc-pw-mail[hidden]{display:none}.ecc-pw-mail input{margin:0!important}
/* translation rows: listen, hint, tidy "Add a language" */
.ecc-iv-tr-say{border:0;background:none;color:#4F46E5;cursor:pointer;border-radius:6px;width:26px;height:24px;padding:0}
.ecc-iv-tr-say:hover{background:#EEF0FF}
.ecc-iv-tr-say .dashicons{font-size:15px;width:15px;height:15px}
.ecc-iv-trhint{margin:6px 0;padding:7px 9px;border-radius:8px;background:#FFF7E6;color:#8A5A00;font-size:12px;line-height:1.45}
.ecc-iv-trhint a{color:#4F46E5;font-weight:600}
.ecc-admin .ecc-iv-tr-add,.ecc-iv-tr-add{height:34px!important;min-height:34px!important;line-height:1.2!important;padding:0 28px 0 10px!important;font-size:12.5px!important;color:#4F46E5!important;font-weight:600;border:1px dashed #C9CCF7!important;border-radius:9px!important;background-color:#fff!important;width:100%;max-width:none}
.ecc-iv-q-top textarea{min-height:66px}
.ecc-iv-hush{display:inline-flex;align-items:center;gap:3px;color:#C03535!important;text-decoration:none!important;font-weight:600}
.ecc-iv-hush[hidden],.ecc-iv-listen[hidden]{display:none!important}
.ecc-tr-ttsrow{display:flex;flex-direction:column;gap:6px;max-width:680px}
.ecc-tr-ttsrow input{max-width:420px}
.ecc-tr-ttsout{flex-basis:100%;font-size:13.5px}.ecc-tr-ttsout.is-ok{color:#1E8A5A;font-weight:600}.ecc-tr-ttsout.is-bad{color:#C03535}
.ecc-tr-test .button[hidden]{display:none!important}
.ecc-ivp .ecc-ivp-hush{background:#FDECEC;color:#B42828}
/* eye on portal password boxes */
.ecc-pwwrap.is-auto{position:relative;display:block}
.ecc-pwwrap.is-auto input{width:100%;padding-right:48px!important;box-sizing:border-box}
.ecc-pwwrap.is-auto .ecc-pweye{top:50%}
.ecc-pweye:focus-visible{outline:2px solid var(--ecc-b,#4F46E5);outline-offset:1px}

/* ---------- Settings → Email designs ---------- */
.ecc-ed{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start;margin-top:6px}
.ecc-ed-list{position:sticky;top:46px;display:flex;flex-direction:column;gap:3px;background:#F7F8FC;border:1px solid #E6E8F0;border-radius:16px;padding:10px;max-height:calc(100vh - 80px);overflow:auto}
.ecc-ed-grp{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8A93A6;padding:14px 10px 5px}
.ecc-ed-item{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:11px;padding:9px 10px;cursor:pointer;color:#111827;font:inherit;position:relative;transition:background .15s,border-color .15s}
.ecc-ed-item:hover{background:#fff;border-color:#E3E6F0}
.ecc-ed-item.is-on{background:#fff;border-color:#4F46E5;box-shadow:0 2px 8px rgba(79,70,229,.12)}
.ecc-ed-item .dashicons{color:#7A84A0;margin-top:1px;flex:none}
.ecc-ed-item.is-on .dashicons{color:#4F46E5}
.ecc-ed-item b{display:block;font-size:13px;font-weight:600;line-height:1.35}
.ecc-ed-item small{display:block;font-size:11.5px;color:#8A93A6;margin-top:2px}
.ecc-ed-item.is-dirty::after{content:"";position:absolute;right:10px;top:13px;width:8px;height:8px;border-radius:50%;background:#F59E0B}
.ecc-ed-pill{font-style:normal;display:inline-block;background:#E9E9FF;color:#4F46E5;font-weight:600;font-size:10.5px;padding:1px 8px;border-radius:20px}
.ecc-ed-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:1500px){.ecc-ed-work{grid-template-columns:1fr}}
@media (max-width:900px){.ecc-ed{grid-template-columns:1fr}.ecc-ed-list{position:static;max-height:none}}
.ecc-ed-pane{background:#fff;border:1px solid #E6E8F0;border-radius:16px;padding:22px 24px}
.ecc-ed-pane[hidden]{display:none!important}
.ecc-ed-head h2{margin:0 0 4px;font-size:18px}
.ecc-ed-head p{margin:0 0 16px;color:#6B7280;font-size:13px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ecc-ed-head p .dashicons{font-size:16px;width:16px;height:16px;color:#9AA2B6}
.ecc-ed-field{display:block;margin:0 0 16px}
.ecc-ed-field>b{display:inline-block;font-size:13px;margin-bottom:6px}
.ecc-ed-field small{color:#8A93A6;font-size:12px}
.ecc-ed-field input[type=text]{display:block;width:100%;padding:8px 12px;border:1px solid #D6DAE5;border-radius:10px;font-size:14px;margin-top:2px}
.ecc-ed-code{display:block;width:100%;font-family:ui-monospace,Menlo,Consolas,monospace!important;font-size:12.5px!important;line-height:1.6!important;padding:12px 14px!important;border:1px solid #D6DAE5!important;border-radius:0 0 12px 12px!important;background:#FBFBFE!important;tab-size:2;resize:vertical;color:#111827}
.ecc-ed-sec .ecc-ed-code,.ecc-ed-htmlbox .ecc-ed-code{border-radius:12px!important}
.ecc-ed-code:focus,.ecc-ed-field input:focus{border-color:#4F46E5!important;box-shadow:0 0 0 3px rgba(79,70,229,.12)!important;outline:0}
.ecc-ed-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ecc-ed-chip{border:1px dashed #B9BEF5;background:#F4F4FF;color:#4F46E5;border-radius:20px;padding:3px 10px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11.5px;cursor:pointer}
.ecc-ed-chip:hover{background:#4F46E5;color:#fff;border-style:solid}
.ecc-ed-chipnote{font-size:12px;color:#8A93A6}
.ecc-ed-tools{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:6px;border:1px solid #D6DAE5;border-bottom:0;border-radius:12px 12px 0 0;background:#F4F5FA}
.ecc-ed-htmlbox .ecc-ed-tools{border:0;background:none;padding:0 0 8px}
.ecc-ed-tool{min-width:32px;height:30px;border:1px solid transparent;background:none;border-radius:8px;cursor:pointer;color:#3C4257;font-size:13px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px}
.ecc-ed-tool:hover{background:#fff;border-color:#D6DAE5}
.ecc-ed-tool.is-txt{font-weight:600;font-size:12px;background:#fff;border-color:#E1E4EE}
.ecc-ed-tool.is-txt:hover{border-color:#4F46E5;color:#4F46E5}
.ecc-ed-tool .dashicons{font-size:17px;width:17px;height:17px}
.ecc-ed-sep{width:1px;height:20px;background:#D6DAE5;margin:0 4px}
.ecc-ed-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid #EEF0F5}
.ecc-ed-actions .button{display:inline-flex;align-items:center;gap:6px;border-radius:25px!important;padding:3px 16px!important;min-height:34px}
.ecc-ed-actions .dashicons{font-size:16px;width:16px;height:16px}
.ecc-ed-test{display:inline-flex;align-items:center;border:1px solid #D6DAE5;border-radius:25px;padding:2px 2px 2px 12px;background:#fff}
.ecc-ed-test input{border:0!important;box-shadow:none!important;width:200px;min-height:30px;padding:0!important;background:none}
.ecc-ed-test .button{min-height:30px!important}
.ecc-ed-msg{font-size:13px;font-weight:600}
.ecc-ed-msg.is-ok{color:#13834A}.ecc-ed-msg.is-bad{color:#C2410C}
.ecc-ed-sec{padding:16px 0;border-top:1px solid #EEF0F5}
.ecc-ed-head+.ecc-ed-sec{border-top:0;padding-top:0}
.ecc-ed-sec h3{margin:0 0 12px;font-size:14px}
.ecc-ed-heads{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
@media (max-width:700px){.ecc-ed-heads{grid-template-columns:1fr}}
.ecc-ed-opt{position:relative;display:flex;flex-direction:column;gap:3px;border:1px solid #E1E4EE;border-radius:12px;padding:12px;cursor:pointer;background:#fff}
.ecc-ed-opt.is-on{border-color:#4F46E5;background:#F7F7FF;box-shadow:0 0 0 2px rgba(79,70,229,.12)}
.ecc-ed-opt input{position:absolute;opacity:0;pointer-events:none}
.ecc-ed-opt b{font-size:13px}.ecc-ed-opt span{font-size:11.5px;color:#7A84A0;line-height:1.4}
.ecc-ed-mini{display:block;height:54px;border-radius:8px;background:#EEF0F6;margin-bottom:8px;position:relative;overflow:hidden}
.ecc-ed-mini em{position:absolute;left:22%;right:22%;top:8px;height:8px;border-radius:3px;background:#4F46E5;opacity:.75}
.ecc-ed-mini u{position:absolute;left:14%;right:14%;top:22px;bottom:0;border-radius:6px 6px 0 0;background:#fff;border-top:3px solid #4F46E5}
.ecc-ed-mini.is-band em{left:14%;right:14%;top:8px;height:16px;border-radius:6px 6px 0 0;opacity:1}
.ecc-ed-mini.is-band u{top:24px;border-top:0;border-radius:0}
.ecc-ed-mini.is-none em{display:none}.ecc-ed-mini.is-none u{top:10px}
.ecc-ed-row{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:flex-end}
.ecc-ed-logo{flex:1 1 280px}
.ecc-ed-logo>label,.ecc-ed-num>b{display:block;font-size:12.5px;margin-bottom:6px}
.ecc-ed-logobox{display:flex;gap:6px}
.ecc-ed-logobox input{flex:1;min-width:0;padding:6px 12px;border:1px solid #D6DAE5;border-radius:10px}
.ecc-ed-logobox .button{display:inline-flex;align-items:center;gap:4px;border-radius:10px}
.ecc-ed-num{display:block}
.ecc-ed-num span{display:flex;align-items:center;gap:8px}
.ecc-ed-num input[type=range]{width:120px;accent-color:#4F46E5}
.ecc-ed-num output{font-size:12px;color:#6B7280;min-width:40px}
.ecc-ed-num select{border-radius:10px;min-width:150px}
.ecc-ed-colors{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.ecc-ed-color{display:flex;align-items:center;gap:10px;border:1px solid #E1E4EE;border-radius:12px;padding:7px 10px;cursor:pointer;background:#fff}
.ecc-ed-color:hover{border-color:#B9BEF5}
.ecc-ed-color input{width:34px;height:34px;border:0;padding:0;border-radius:50%;background:none;cursor:pointer;flex:none}
.ecc-ed-color input::-webkit-color-swatch-wrapper{padding:0}.ecc-ed-color input::-webkit-color-swatch{border:1px solid rgba(0,0,0,.12);border-radius:50%}
.ecc-ed-color input::-moz-color-swatch{border:1px solid rgba(0,0,0,.12);border-radius:50%}
.ecc-ed-color span{font-size:12.5px;font-weight:600;display:flex;flex-direction:column}
.ecc-ed-color code{background:none;padding:0;font-size:11px;color:#8A93A6;font-weight:400}
.ecc-ed-check{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;font-size:13px;line-height:1.5;cursor:pointer}
.ecc-ed-check input{margin-top:3px}
.ecc-ed-htmlbox{margin-top:10px}
.ecc-ed-htmlbox[hidden]{display:none!important}
.ecc-ed-sample{border-radius:8px;min-height:28px;font-size:12.5px}
.ecc-ed-view{position:sticky;top:46px;background:#fff;border:1px solid #E6E8F0;border-radius:16px;overflow:hidden}
@media (max-width:1500px){.ecc-ed-view{position:static}}
.ecc-ed-viewbar{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #EEF0F5;background:#FAFBFD}
.ecc-ed-subj{flex:1;min-width:0;font-size:13px;color:#4B5368;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-ed-dev{display:inline-flex;background:#EEF0F6;border-radius:20px;padding:3px}
.ecc-ed-dev button{border:0;background:none;border-radius:16px;width:34px;height:28px;cursor:pointer;color:#6B7280;display:inline-flex;align-items:center;justify-content:center}
.ecc-ed-dev button.is-on{background:#fff;color:#4F46E5;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.ecc-ed-frame{position:relative;background:#E9ECF3;padding:0;max-height:calc(100vh - 140px);overflow:auto}
@media (max-width:1500px){.ecc-ed-frame{max-height:none}}
.ecc-ed-iframe{display:block;width:100%;height:600px;border:0;background:#fff;margin:0 auto;transition:width .25s}
.ecc-ed-frame.is-phone{padding:20px 0}
.ecc-ed-frame.is-phone .ecc-ed-iframe{width:375px;border-radius:24px;box-shadow:0 0 0 10px #111827,0 10px 30px rgba(0,0,0,.25)}
.ecc-ed-loading{position:absolute;top:10px;right:12px;font-size:12px;background:#111827;color:#fff;border-radius:20px;padding:3px 10px;opacity:0;transition:opacity .2s;pointer-events:none}
.ecc-ed.is-loading .ecc-ed-loading{opacity:.85}

/* ---------- Settings → Shortcodes: choose your own pages ---------- */
.ecc-sc-list{display:flex;flex-direction:column;gap:14px;margin:6px 0 16px}
.ecc-sc-row{padding:18px 20px!important}
.ecc-sc-code{display:inline-flex;align-items:center;gap:8px}
.ecc-sc-code code{font-size:14px;padding:5px 10px;border-radius:8px;background:#F1F2FF;color:#4F46E5}
.ecc-sc-copy,.ecc-sc-pick .button{display:inline-flex!important;align-items:center;gap:4px;border-radius:25px!important}
.ecc-sc-copy .dashicons,.ecc-sc-pick .button .dashicons{font-size:15px;width:15px;height:15px}
.ecc-sc-row p{margin:8px 0 0;color:#4B5368}
.ecc-sc-pick{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-top:14px}
.ecc-sc-pick label b{display:block;font-size:12.5px;margin-bottom:5px}
.ecc-sc-pick select{min-width:260px;border-radius:10px}
.ecc-sc-warn{display:flex;gap:6px;align-items:center;color:#B45309!important;font-weight:600}
.ecc-sc-opts{margin-top:14px}
.ecc-sc-opts summary{cursor:pointer;font-weight:600;color:#4F46E5}
.ecc-sc-opts table{margin-top:10px}
/* [ecc_verify] on your own page */
.ecc-verify-plain{max-width:640px}
.ecc-verify-plain.is-center,.ecc-wrap.is-center{margin-left:auto;margin-right:auto}
.ecc-verify-plain.is-center .ecc-vform,.ecc-wrap.is-center .ecc-vform{justify-content:center;text-align:center}
.ecc-verify-plain.is-center .ecc-head,.ecc-wrap.is-center .ecc-head{justify-content:center}
.ecc-sc-texts{margin-top:16px;padding-top:14px;border-top:1px solid #EEF0F5}
.ecc-sc-texts h4{margin:0 0 10px;font-size:13.5px}
.ecc-sc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px 16px}
.ecc-sc-f b{display:block;font-size:12.5px;margin-bottom:5px}
.ecc-sc-f input{width:100%;border-radius:10px;padding:5px 10px}
.ecc-sc-f small{display:block;margin-top:5px;color:#6B7280;font-size:11.5px;line-height:1.5}
.ecc-vlogo{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;margin:6px 0 4px 26px}
.ecc-vlogo-prev{min-width:200px;min-height:90px;max-width:340px;display:flex;align-items:center;justify-content:center;padding:14px;border:1px dashed #C9CEDD;border-radius:12px;background:repeating-conic-gradient(#F3F4F8 0 25%,#fff 0 50%) 0 0/16px 16px;overflow:hidden}
.ecc-vlogo-prev img{max-width:100%;width:auto;object-fit:contain}
.ecc-vlogo-prev span{color:#8A93A6;font-size:12px}
.ecc-vlogo-ctl{flex:1;min-width:240px}
.ecc-vlogo-ctl .button{display:inline-flex!important;align-items:center;gap:4px;border-radius:25px!important}
.ecc-vlogo-ctl .button[hidden]{display:none!important}
/* verify button: your colours, hover effect and corners */
.ecc-vform .ecc-vbtn{border-radius:var(--ecc-vr,10px)!important;padding:10px 24px;font-weight:700;font-size:15px;cursor:pointer;overflow:hidden}
.ecc-vform[data-fx=color] .ecc-vbtn:hover{background-color:var(--ecc-bh)!important;border-color:var(--ecc-bh)!important}
.ecc-vb{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(200px,1fr);gap:18px;align-items:center}
@media (max-width:900px){.ecc-vb{grid-template-columns:1fr}}
.ecc-vb-try{background:#F7F8FC;border:1px solid #E6E8F0;border-radius:14px;padding:16px;text-align:center}
.ecc-vb-try small{display:block;color:#8A93A6;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.ecc-vb-demo{justify-content:center}
/* the symbol next to the verify title: 8 looks */
.ecc-vi{color:var(--vif,#fff);background:var(--vi,#4F46E5);box-shadow:none}
.ecc-vi svg{width:26px;height:26px;display:block}
.ecc-vi.is-square{border-radius:12px;box-shadow:0 6px 16px color-mix(in srgb,var(--vi) 30%,transparent)}
.ecc-vi.is-circle{border-radius:50%;box-shadow:0 6px 16px color-mix(in srgb,var(--vi) 30%,transparent)}
.ecc-vi.is-soft{border-radius:14px;background:color-mix(in srgb,var(--vi) 13%,#fff);color:var(--vi)}
.ecc-vi.is-outline{border-radius:50%;background:transparent;border:2.5px solid var(--vi);color:var(--vi);box-sizing:border-box}
.ecc-vi.is-gradient{border-radius:14px;background:linear-gradient(135deg,color-mix(in srgb,var(--vi) 55%,#fff),var(--vi) 55%,color-mix(in srgb,var(--vi) 75%,#000));box-shadow:0 8px 18px color-mix(in srgb,var(--vi) 35%,transparent)}
.ecc-vi.is-glow{border-radius:50%;box-shadow:0 0 0 6px color-mix(in srgb,var(--vi) 18%,transparent),0 0 22px color-mix(in srgb,var(--vi) 55%,transparent)}
.ecc-vi.is-plain{background:transparent;color:var(--vi);width:auto}
.ecc-vi.is-plain svg{width:38px;height:38px}
.ecc-vi.is-none{background:repeating-linear-gradient(45deg,#F1F2F6 0 6px,#fff 6px 12px);color:#9AA2B6;border:1px dashed #C9CEDD;border-radius:12px;font-size:20px}
/* settings */
.ecc-vi-lbl{margin:14px 0 8px!important;font-weight:600;font-size:12.5px;color:#111827!important}
.ecc-vi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.ecc-vi-opt{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #E1E4EE;border-radius:12px;padding:14px 8px 10px;cursor:pointer;background:#fff;text-align:center}
.ecc-vi-opt:hover{border-color:#B9BEF5}
.ecc-vi-opt.is-on{border-color:#4F46E5;background:#F7F7FF;box-shadow:0 0 0 2px rgba(79,70,229,.12)}
.ecc-vi-opt input{position:absolute;opacity:0;pointer-events:none}
.ecc-vi-opt small{font-size:11.5px;color:#4B5368;line-height:1.3}
/* ---------- the verify card: 13 looks (Settings → Shortcodes) ---------- */
.ecc-vcard{max-width:var(--vcw,760px);background:var(--vcbg);padding:32px;border-radius:18px;box-shadow:0 10px 40px rgba(20,30,70,.08);margin-left:auto;margin-right:auto}
.ecc-vcard .ecc-head{margin-top:0}
@media (max-width:600px){.ecc-vcard{padding:22px 18px}}
.ecc-vcard[data-card=square]{border-radius:0;border:1px solid #E3E6EE;box-shadow:0 2px 8px rgba(20,30,70,.05)}
.ecc-vcard[data-card=pill]{border-radius:36px;padding:36px 40px}
.ecc-vcard[data-card=flat]{border-radius:12px;border:1px solid #E3E6EE;box-shadow:none}
.ecc-vcard[data-card=outline]{border-radius:16px;border:2px solid var(--vca);box-shadow:none}
.ecc-vcard[data-card=topbar]{border-radius:14px;border-top:6px solid var(--vca)}
.ecc-vcard[data-card=sidebar]{border-radius:14px;border-left:6px solid var(--vca)}
.ecc-vcard[data-card=gradient]{border-radius:18px;border:3px solid transparent;background:linear-gradient(var(--vcbg),var(--vcbg)) padding-box,linear-gradient(135deg,var(--vca),color-mix(in srgb,var(--vca) 25%,#fff),var(--vca)) border-box}
.ecc-vcard[data-card=dashed]{border-radius:16px;border:2px dashed var(--vca);box-shadow:none;outline:6px solid color-mix(in srgb,var(--vca) 8%,transparent)}
.ecc-vcard[data-card=floating]{border-radius:22px;box-shadow:0 30px 60px -14px rgba(20,30,70,.28),0 18px 36px -18px rgba(0,0,0,.22)}
.ecc-vcard[data-card=glass]{border-radius:22px;background:color-mix(in srgb,var(--vcbg) 55%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border:1px solid rgba(255,255,255,.7);box-shadow:0 12px 40px rgba(20,30,70,.12),inset 0 1px 0 rgba(255,255,255,.6)}
.ecc-vcard[data-card=dark]{background:#141B2D;color:#E8EBF5;box-shadow:0 18px 50px rgba(10,15,30,.35)}
.ecc-vcard[data-card=dark] h1,.ecc-vcard[data-card=dark] .ecc-result{color:#fff}
.ecc-vcard[data-card=dark] .ecc-head-sub{color:#A8B0C6}
.ecc-vcard[data-card=dark] .ecc-head{border-bottom-color:rgba(255,255,255,.1)}
.ecc-vcard[data-card=dark] input[type=text]{background:#1E2740;border-color:#2C3654;color:#fff}
.ecc-vcard[data-card=dark] input[type=text]::placeholder{color:#7D87A3}
.ecc-vcard[data-card=dark] .ecc-result{background:#1E2740;border-color:#2C3654}
.ecc-vcard[data-card=minimal]{background:transparent;box-shadow:none;padding:0}
/* settings: little pictures of each card */
.ecc-vc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-top:14px}
.ecc-vc-stage{display:block;width:100%;padding:14px 12px;border-radius:10px;background:linear-gradient(135deg,#EEF0F7,#E3E7F3)}
.ecc-vc-opt:has(input[value=glass]) .ecc-vc-stage{background:linear-gradient(135deg,color-mix(in srgb,var(--vca) 45%,#fff),#D9E4FF 60%,#FFE3D3)}
.ecc-vc-mini{display:block;padding:10px!important;max-width:none!important;margin:0!important}
.ecc-vc-mini[data-card=pill]{border-radius:16px!important}
.ecc-vc-mini[data-card=topbar]{border-top-width:4px}.ecc-vc-mini[data-card=sidebar]{border-left-width:4px}
.ecc-vc-mini[data-card=dashed]{outline-width:3px}
.ecc-vc-mini[data-card=minimal]{outline:1px dashed #C9CEDD;outline-offset:3px}
.ecc-vc-mini i,.ecc-vc-mini b{display:block;border-radius:3px}
.ecc-vc-t{height:6px;width:60%;background:#111827;opacity:.75}
.ecc-vc-s{height:4px;width:80%;background:#9AA2B6;margin:5px 0 8px;opacity:.6}
.ecc-vc-f{display:flex;gap:4px}
.ecc-vc-f i{flex:1;height:9px;border:1px solid #D6DAE5;background:#fff}
.ecc-vc-f b{width:18px;height:9px;background:var(--vca)}
.ecc-vc-mini[data-card=dark] .ecc-vc-t{background:#fff}.ecc-vc-mini[data-card=dark] .ecc-vc-f i{background:#1E2740;border-color:#2C3654}
/* ---------- verify button position ---------- */
.ecc-vform[data-pos=left]{flex-direction:row-reverse}
.ecc-vform[data-pos=inside]{position:relative;flex-wrap:nowrap}
.ecc-vform[data-pos=inside] input[type=text]{padding-right:140px!important;min-height:54px;border-radius:var(--ecc-vr,10px)}
.ecc-vform[data-pos=inside] .ecc-vbtn{position:absolute!important;right:6px;top:6px;bottom:6px;padding:0 22px}
.ecc-vform[data-pos^=below]{flex-direction:column}
.ecc-vform[data-pos^=below] input[type=text]{width:100%;min-width:0}
.ecc-vform[data-pos=below] .ecc-vbtn{align-self:flex-start}
.ecc-vform[data-pos=below_center] .ecc-vbtn{align-self:center}
.ecc-vform[data-pos=below_right] .ecc-vbtn{align-self:flex-end}
.ecc-vform[data-pos=below_full] .ecc-vbtn{align-self:stretch;padding:13px 24px}
@media (max-width:520px){.ecc-vform[data-pos=right],.ecc-vform[data-pos=left]{flex-direction:column}.ecc-vform[data-pos=right] .ecc-vbtn,.ecc-vform[data-pos=left] .ecc-vbtn{align-self:stretch}}
/* settings: square choice tiles */
.ecc-vi-grid .ecc-vi-opt,.ecc-bg-opt,.ecc-pos-opt,.ecc-vc-opt{aspect-ratio:1/1;justify-content:center}
.ecc-bg-grid,.ecc-pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.ecc-bg-sw{display:block;width:70%;aspect-ratio:1/1;border-radius:10px;border:1px solid rgba(0,0,0,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.ecc-bg-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:18px;align-items:start;margin-top:14px}
@media (max-width:900px){.ecc-bg-row{grid-template-columns:1fr}}
.ecc-bg-row [hidden]{display:none!important}
.ecc-bg-dir{max-width:260px;margin-top:10px}
.ecc-bg-imgrow{margin-top:10px}.ecc-bg-imgrow .button{display:inline-flex!important;align-items:center;gap:4px;border-radius:25px!important}
.ecc-bg-prev small{display:block;color:#8A93A6;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.ecc-bg-box{height:170px;border-radius:14px;border:1px solid #E1E4EE;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ecc-bg-box span{width:46%;height:42%;background:#fff;border-radius:10px;box-shadow:0 8px 24px rgba(20,30,70,.18)}
@keyframes ecc-bg-move{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.ecc-pos-mini{display:flex;gap:4px;width:80%;padding:10px 8px;border-radius:8px;background:#F1F3F8}
.ecc-pos-mini i{flex:1;height:14px;border:1px solid #CDD2DF;background:#fff;border-radius:4px}
.ecc-pos-mini b{width:26px;height:14px;border-radius:4px;background:var(--ecc-b,#4F46E5)}
.ecc-pos-mini[data-pos=left]{flex-direction:row-reverse}
.ecc-pos-mini[data-pos=inside]{position:relative}.ecc-pos-mini[data-pos=inside] i{height:18px}.ecc-pos-mini[data-pos=inside] b{position:absolute;right:11px;top:13px;height:12px;width:22px}
.ecc-pos-mini[data-pos^=below]{flex-direction:column}.ecc-pos-mini[data-pos^=below] i{flex:none;width:100%}
.ecc-pos-mini[data-pos=below] b{align-self:flex-start}.ecc-pos-mini[data-pos=below_center] b{align-self:center}.ecc-pos-mini[data-pos=below_right] b{align-self:flex-end}.ecc-pos-mini[data-pos=below_full] b{width:100%}

/* =====================================================================
   Dashboard styles (Settings → Logo & Branding → Dashboard style)
   Every style uses your accent (--navy), text and button colours.
   ===================================================================== */
.ecc-app[data-theme] .ecc-top{background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0;z-index:5}
.ecc-app[data-theme] .ecc-stat{transition:transform .2s ease,box-shadow .2s ease}
.ecc-app[data-theme] .ecc-stat:hover{transform:translateY(-2px)}
.ecc-app[data-theme] .ecc-row{transition:background .15s,transform .15s}
.ecc-app[data-theme] .ecc-row:hover{transform:translateX(2px)}

/* Modern: soft round cards, coloured menu pill */
.ecc-app[data-theme=modern] .ecc-side{border-right:0;box-shadow:4px 0 24px -12px rgba(31,42,68,.15)}
.ecc-app[data-theme=modern] .ecc-nav a{border-radius:14px;padding:12px 14px}
.ecc-app[data-theme=modern] .ecc-nav a.active{background:var(--navy);color:#fff;box-shadow:0 8px 18px -8px var(--navy)}
.ecc-app[data-theme=modern] .ecc-top{border-bottom:0;background:transparent}
.ecc-app[data-theme=modern] .ecc-card,.ecc-app[data-theme=modern] .ecc-stat{border:0;border-radius:22px;box-shadow:0 10px 30px -14px rgba(31,42,68,.18)}
.ecc-app[data-theme=modern] .ecc-stat-ico{border-radius:50%}
.ecc-app[data-theme=modern] .ecc-banner{border-radius:22px}
.ecc-app[data-theme=modern] .ecc-row-ico{border-radius:50%}

/* Dark sidebar */
.ecc-app[data-theme=navyside] .ecc-side{background:#141B2D;border-right:0}
.ecc-app[data-theme=navyside] .ecc-nav a,.ecc-app[data-theme=navyside] .ecc-side-foot a{color:#A8B0C6}
.ecc-app[data-theme=navyside] .ecc-nav a:hover,.ecc-app[data-theme=navyside] .ecc-side-foot a:hover{background:rgba(255,255,255,.06);color:#fff}
.ecc-app[data-theme=navyside] .ecc-nav a.active{background:var(--navy);color:#fff}
.ecc-app[data-theme=navyside] .ecc-side-foot{border-top-color:rgba(255,255,255,.08)}
.ecc-app[data-theme=navyside] .ecc-side-logo{background:#fff;border-radius:12px;padding:10px 12px;margin-bottom:18px}

/* Brand sidebar */
.ecc-app[data-theme=brandside] .ecc-side{background:linear-gradient(180deg,var(--navy),var(--navy-deep));border-right:0}
.ecc-app[data-theme=brandside] .ecc-nav a,.ecc-app[data-theme=brandside] .ecc-side-foot a{color:rgba(255,255,255,.78)}
.ecc-app[data-theme=brandside] .ecc-nav a:hover,.ecc-app[data-theme=brandside] .ecc-side-foot a:hover{background:rgba(255,255,255,.12);color:#fff}
.ecc-app[data-theme=brandside] .ecc-nav a.active{background:#fff;color:var(--navy)}
.ecc-app[data-theme=brandside] .ecc-side-foot{border-top-color:rgba(255,255,255,.15)}
.ecc-app[data-theme=brandside] .ecc-side-logo{background:#fff;border-radius:12px;padding:10px 12px;margin-bottom:18px}
.ecc-app[data-theme=brandside] .ecc-card,.ecc-app[data-theme=brandside] .ecc-stat{border-radius:18px}

/* Floating */
.ecc-app[data-theme=floating]{padding:16px;gap:16px}
.ecc-app[data-theme=floating] .ecc-side{top:16px;height:calc(100vh - 32px);border:0;border-radius:24px;box-shadow:0 18px 40px -18px rgba(31,42,68,.3)}
.ecc-app[data-theme=floating] .ecc-top{border:0;border-radius:20px;margin-bottom:6px;box-shadow:0 10px 30px -16px rgba(31,42,68,.25);top:16px}
.ecc-app[data-theme=floating] .ecc-nav a.active{background:color-mix(in srgb,var(--navy) 12%,#fff)}
.ecc-app[data-theme=floating] .ecc-card,.ecc-app[data-theme=floating] .ecc-stat{border:0;border-radius:22px;box-shadow:0 22px 44px -22px rgba(31,42,68,.35)}
.ecc-app[data-theme=floating] .ecc-content{padding:24px 8px}

/* Glass */
.ecc-app[data-theme=glass] .ecc-side,.ecc-app[data-theme=glass] .ecc-top{background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);border-color:rgba(255,255,255,.6)}
.ecc-app[data-theme=glass] .ecc-card,.ecc-app[data-theme=glass] .ecc-stat{background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border:1px solid rgba(255,255,255,.7);border-radius:20px;box-shadow:0 10px 30px rgba(31,42,68,.08),inset 0 1px 0 rgba(255,255,255,.7)}
.ecc-app[data-theme=glass] .ecc-nav a.active{background:rgba(255,255,255,.8);box-shadow:0 4px 14px -6px rgba(31,42,68,.2)}
.ecc-app[data-theme=glass] .ecc-row:hover{background:rgba(255,255,255,.5)}

/* Minimal */
.ecc-app[data-theme=minimal] .ecc-side{border-right:1px solid transparent;background:transparent}
.ecc-app[data-theme=minimal] .ecc-top{background:transparent;border-bottom:1px solid var(--hairline)}
.ecc-app[data-theme=minimal] .ecc-card,.ecc-app[data-theme=minimal] .ecc-stat{box-shadow:none;border-radius:12px;background:rgba(255,255,255,.7)}
.ecc-app[data-theme=minimal] .ecc-nav a.active{background:transparent;color:var(--navy);box-shadow:inset 3px 0 0 var(--navy);border-radius:0 10px 10px 0}
.ecc-app[data-theme=minimal] .ecc-stat-ico{background:transparent!important;border:1px solid var(--hairline)}
.ecc-app[data-theme=minimal] .ecc-banner{box-shadow:none}
.ecc-app[data-theme=minimal] .ecc-content{padding:44px 48px}

/* Bold */
.ecc-app[data-theme=bold] .ecc-h{font-size:32px;letter-spacing:-.02em}
.ecc-app[data-theme=bold] .ecc-nav a.active{background:var(--navy);color:#fff}
.ecc-app[data-theme=bold] .ecc-stat{border:0;border-radius:20px;color:#fff;box-shadow:0 14px 30px -16px rgba(31,42,68,.45)}
.ecc-app[data-theme=bold] .ecc-stat:nth-child(1){background:linear-gradient(135deg,#F2A93B,#E07B39)}
.ecc-app[data-theme=bold] .ecc-stat:nth-child(2){background:linear-gradient(135deg,#34B37A,#1E8A5A)}
.ecc-app[data-theme=bold] .ecc-stat:nth-child(3){background:linear-gradient(135deg,var(--navy),var(--navy-deep))}
.ecc-app[data-theme=bold] .ecc-stat-label{color:rgba(255,255,255,.85)}
.ecc-app[data-theme=bold] .ecc-stat-value{font-size:32px}
.ecc-app[data-theme=bold] .ecc-stat-ico{background:rgba(255,255,255,.2)!important;color:#fff!important}
.ecc-app[data-theme=bold] .ecc-card{border:0;border-radius:20px}
.ecc-app[data-theme=bold] .ecc-banner{padding:30px 32px;border-radius:22px}
.ecc-app[data-theme=bold] .ecc-banner b{font-size:20px}

/* Pastel */
.ecc-app[data-theme=pastel] .ecc-side{background:color-mix(in srgb,var(--navy) 5%,#fff)}
.ecc-app[data-theme=pastel] .ecc-nav a.active{background:color-mix(in srgb,var(--navy) 16%,#fff);color:var(--navy)}
.ecc-app[data-theme=pastel] .ecc-card,.ecc-app[data-theme=pastel] .ecc-stat{border:0;border-radius:20px;box-shadow:none}
.ecc-app[data-theme=pastel] .ecc-stat:nth-child(1){background:#FFF3DF}
.ecc-app[data-theme=pastel] .ecc-stat:nth-child(2){background:#E3F6EC}
.ecc-app[data-theme=pastel] .ecc-stat:nth-child(3){background:color-mix(in srgb,var(--navy) 10%,#fff)}
.ecc-app[data-theme=pastel] .ecc-stat-ico{background:#fff!important}
.ecc-app[data-theme=pastel] .ecc-banner{background:linear-gradient(120deg,color-mix(in srgb,var(--navy) 70%,#fff),var(--navy));border-radius:20px}

/* Top menu (no sidebar) */
.ecc-app[data-theme=topnav]{flex-direction:column}
.ecc-app[data-theme=topnav] .ecc-side{width:100%;height:auto;position:sticky;top:0;z-index:6;flex-direction:row;align-items:center;gap:16px;padding:10px 28px;border-right:0;border-bottom:1px solid var(--hairline);background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.ecc-app[data-theme=topnav] .ecc-side-logo{padding:0 18px 0 0}
.ecc-app[data-theme=topnav] .ecc-nav{flex-direction:row;flex-wrap:wrap;gap:4px;flex:1 1 auto;min-width:0}
.ecc-app[data-theme=topnav] .ecc-side-logo{flex:0 0 auto;width:auto}
.ecc-app[data-theme=topnav] .ecc-nav a,.ecc-app[data-theme=topnav] .ecc-side-foot a{white-space:nowrap;width:auto}
.ecc-app[data-theme=topnav] .ecc-nav a{padding:9px 14px;border-radius:30px}
.ecc-app[data-theme=topnav] .ecc-nav a.active{background:var(--navy);color:#fff}
.ecc-app[data-theme=topnav] .ecc-side-foot{border:0;padding:0}
.ecc-app[data-theme=topnav] .ecc-top{position:static;background:transparent;border:0;height:auto;padding:26px 32px 0;max-width:1240px;width:100%;margin:0 auto}
.ecc-app[data-theme=topnav] .ecc-main{width:100%}
.ecc-app[data-theme=topnav] .ecc-content{margin:0 auto;width:100%}
.ecc-app[data-theme=topnav] .ecc-card,.ecc-app[data-theme=topnav] .ecc-stat{border-radius:18px}

/* Corporate */
.ecc-app[data-theme=corporate] .ecc-side{border-right:1px solid #D9DDE7}
.ecc-app[data-theme=corporate] .ecc-nav a{border-radius:4px}
.ecc-app[data-theme=corporate] .ecc-nav a.active{background:color-mix(in srgb,var(--navy) 10%,#fff);box-shadow:inset 3px 0 0 var(--navy)}
.ecc-app[data-theme=corporate] .ecc-top{border-top:4px solid var(--navy)}
.ecc-app[data-theme=corporate] .ecc-card,.ecc-app[data-theme=corporate] .ecc-stat{border-radius:4px;border-color:#D9DDE7;box-shadow:0 1px 2px rgba(31,42,68,.06)}
.ecc-app[data-theme=corporate] .ecc-stat-ico,.ecc-app[data-theme=corporate] .ecc-row-ico,.ecc-app[data-theme=corporate] .ecc-av{border-radius:4px}
.ecc-app[data-theme=corporate] .ecc-banner{border-radius:4px}
.ecc-app[data-theme=corporate] .ecc-btn,.ecc-app[data-theme=corporate] .ecc-btn-primary{border-radius:4px}

/* Midnight (dark mode) */
.ecc-bodyapp:has(.ecc-app[data-theme=midnight]),.ecc-bodyapp:has(.ecc-login[data-theme=midnight]){background:#0B1020!important}
.ecc-app[data-theme=midnight]{--text:#E8EBF5;--muted:#8D96B0;--hairline:#232C45;--section-bg:#141B2D;color:var(--text)}
.ecc-app[data-theme=midnight] .ecc-side{background:#0F1527;border-right-color:#1C2440}
.ecc-app[data-theme=midnight] .ecc-top{background:rgba(15,21,39,.85);border-bottom-color:#1C2440}
.ecc-app[data-theme=midnight] .ecc-top-title,.ecc-app[data-theme=midnight] .ecc-user-meta b,.ecc-app[data-theme=midnight] .ecc-h,.ecc-app[data-theme=midnight] h3,.ecc-app[data-theme=midnight] .ecc-stat-value,.ecc-app[data-theme=midnight] .ecc-row-main b{color:#fff}
.ecc-app[data-theme=midnight] .ecc-card,.ecc-app[data-theme=midnight] .ecc-stat{background:#161D31;border-color:#232C45;box-shadow:0 10px 30px -18px rgba(0,0,0,.6)}
.ecc-app[data-theme=midnight] .ecc-nav a.active{background:var(--navy);color:#fff}
.ecc-app[data-theme=midnight] .ecc-nav a:hover{background:#1A2238;color:#fff}
.ecc-app[data-theme=midnight] .ecc-row{color:var(--text)!important}
.ecc-app[data-theme=midnight] .ecc-row:hover{background:#1C2440}
.ecc-app[data-theme=midnight] .ecc-row-ico,.ecc-app[data-theme=midnight] .ecc-stat-ico{background:#1F2842!important}
.ecc-app[data-theme=midnight] .ecc-btn:not(.ecc-btn-light){background:#1F2842;border-color:#2C3654;color:#E8EBF5!important}
.ecc-app[data-theme=midnight] input[type=text],.ecc-app[data-theme=midnight] input[type=password],.ecc-app[data-theme=midnight] select,.ecc-app[data-theme=midnight] textarea{background:#0F1527;border-color:#2C3654;color:#fff}
.ecc-login[data-theme=midnight] .ecc-login-card{background:#161D31;border-color:#232C45;color:#E8EBF5}
.ecc-login[data-theme=midnight] .ecc-login-card h1,.ecc-login[data-theme=midnight] .ecc-login-card label{color:#fff}
.ecc-login[data-theme=midnight] .ecc-login-card input[type=text],.ecc-login[data-theme=midnight] .ecc-login-card input[type=password]{background:#0F1527;border-color:#2C3654;color:#fff}

/* sign-in card per style */
.ecc-login[data-theme=modern] .ecc-login-card,.ecc-login[data-theme=floating] .ecc-login-card,.ecc-login[data-theme=bold] .ecc-login-card,.ecc-login[data-theme=pastel] .ecc-login-card{border:0;border-radius:26px;box-shadow:0 30px 60px -24px rgba(31,42,68,.35)}
.ecc-login[data-theme=glass] .ecc-login-card{background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);border:1px solid rgba(255,255,255,.7)}
.ecc-login[data-theme=minimal] .ecc-login-card{box-shadow:none}
.ecc-login[data-theme=corporate] .ecc-login-card{border-radius:4px;border-top:4px solid var(--navy)}
.ecc-login[data-theme=navyside] .ecc-login-card,.ecc-login[data-theme=brandside] .ecc-login-card{border-top:5px solid var(--navy)}
@media(max-width:860px){
	.ecc-app[data-theme=floating]{padding:0;gap:0}
	.ecc-app[data-theme=floating] .ecc-side{height:auto;border-radius:0}
	.ecc-app[data-theme=floating] .ecc-top{border-radius:0;top:0}
	.ecc-app[data-theme=topnav] .ecc-side{padding:10px 16px;position:static}
}
@media (prefers-reduced-motion:reduce){.ecc-app[data-theme] .ecc-stat:hover,.ecc-app[data-theme] .ecc-row:hover{transform:none}}

/* Settings: little pictures of each dashboard style */
.ecc-th-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:12px 0 4px}
.ecc-th-opt{aspect-ratio:auto!important;padding:12px!important;gap:4px!important}
.ecc-th-name{font-size:13px;margin-top:6px}
.ecc-th-mini{display:flex;width:100%;height:96px;border-radius:10px;overflow:hidden;background:#EEF0F6;border:1px solid #E1E4EE}
.ecc-th-mini .m-side{width:28%;background:#fff;border-right:1px solid #E5E7EB;padding:10px 6px;display:flex;flex-direction:column;gap:5px}
.ecc-th-mini .m-side i{height:6px;border-radius:3px;background:#D9DDE8}
.ecc-th-mini .m-side i.on{background:color-mix(in srgb,var(--a) 25%,#fff)}
.ecc-th-mini .m-main{flex:1;display:flex;flex-direction:column;padding:0 7px 7px;gap:6px}
.ecc-th-mini .m-top{height:14px;margin:0 -7px;background:#fff;border-bottom:1px solid #E5E7EB}
.ecc-th-mini .m-stats{display:flex;gap:4px}.ecc-th-mini .m-stats b{flex:1;height:18px;border-radius:5px;background:#fff;border:1px solid #E5E7EB}
.ecc-th-mini .m-cards{display:flex;gap:4px;flex:1}.ecc-th-mini .m-cards u{flex:1.6;border-radius:6px;background:#fff;border:1px solid #E5E7EB}.ecc-th-mini .m-cards u+u{flex:1}
.ecc-th-mini[data-theme=modern] .m-side{border:0;box-shadow:2px 0 8px rgba(0,0,0,.06)}.ecc-th-mini[data-theme=modern] .m-side i.on{background:var(--a)}.ecc-th-mini[data-theme=modern] .m-top{background:transparent;border:0}.ecc-th-mini[data-theme=modern] b,.ecc-th-mini[data-theme=modern] u{border:0!important;border-radius:9px!important;box-shadow:0 3px 8px rgba(0,0,0,.07)}
.ecc-th-mini[data-theme=navyside] .m-side{background:#141B2D;border:0}.ecc-th-mini[data-theme=navyside] .m-side i{background:#2C3654}.ecc-th-mini[data-theme=navyside] .m-side i.on{background:var(--a)}
.ecc-th-mini[data-theme=brandside] .m-side{background:var(--a);border:0}.ecc-th-mini[data-theme=brandside] .m-side i{background:rgba(255,255,255,.35)}.ecc-th-mini[data-theme=brandside] .m-side i.on{background:#fff}
.ecc-th-mini[data-theme=floating]{padding:5px;gap:5px}.ecc-th-mini[data-theme=floating] .m-side{border:0;border-radius:8px;box-shadow:0 4px 10px rgba(0,0,0,.1)}.ecc-th-mini[data-theme=floating] .m-top{margin:0;border:0;border-radius:6px;box-shadow:0 3px 8px rgba(0,0,0,.08)}.ecc-th-mini[data-theme=floating] b,.ecc-th-mini[data-theme=floating] u{border:0!important;box-shadow:0 5px 10px rgba(0,0,0,.12)}
.ecc-th-mini[data-theme=glass]{background:linear-gradient(135deg,#C9D6FF,#F6D5E8,#D5F2E6)}.ecc-th-mini[data-theme=glass] .m-side,.ecc-th-mini[data-theme=glass] .m-top,.ecc-th-mini[data-theme=glass] b,.ecc-th-mini[data-theme=glass] u{background:rgba(255,255,255,.55)!important;border-color:rgba(255,255,255,.8)!important}
.ecc-th-mini[data-theme=minimal]{background:#fff}.ecc-th-mini[data-theme=minimal] .m-side{border-color:transparent}.ecc-th-mini[data-theme=minimal] .m-side i.on{background:transparent;box-shadow:inset 2px 0 0 var(--a)}.ecc-th-mini[data-theme=minimal] .m-top{background:transparent}
.ecc-th-mini[data-theme=bold] .m-stats b{border:0}.ecc-th-mini[data-theme=bold] .m-stats b:nth-child(1){background:#E9933A}.ecc-th-mini[data-theme=bold] .m-stats b:nth-child(2){background:#2BA06B}.ecc-th-mini[data-theme=bold] .m-stats b:nth-child(3){background:var(--a)}.ecc-th-mini[data-theme=bold] .m-side i.on{background:var(--a)}
.ecc-th-mini[data-theme=pastel] .m-side{background:color-mix(in srgb,var(--a) 6%,#fff)}.ecc-th-mini[data-theme=pastel] b,.ecc-th-mini[data-theme=pastel] u{border:0!important}.ecc-th-mini[data-theme=pastel] .m-stats b:nth-child(1){background:#FFF0D6}.ecc-th-mini[data-theme=pastel] .m-stats b:nth-child(2){background:#DDF3E7}.ecc-th-mini[data-theme=pastel] .m-stats b:nth-child(3){background:color-mix(in srgb,var(--a) 14%,#fff)}
.ecc-th-mini[data-theme=topnav]{flex-direction:column}.ecc-th-mini[data-theme=topnav] .m-side{width:100%;height:16px;flex-direction:row;padding:5px 8px;border-right:0;border-bottom:1px solid #E5E7EB}.ecc-th-mini[data-theme=topnav] .m-side i{width:14%;height:6px}.ecc-th-mini[data-theme=topnav] .m-side i.on{background:var(--a)}.ecc-th-mini[data-theme=topnav] .m-top{display:none}.ecc-th-mini[data-theme=topnav] .m-main{padding-top:7px}
.ecc-th-mini[data-theme=corporate] *{border-radius:1px!important}.ecc-th-mini[data-theme=corporate] .m-top{border-top:3px solid var(--a)}.ecc-th-mini[data-theme=corporate] .m-side i.on{box-shadow:inset 2px 0 0 var(--a)}
.ecc-th-mini[data-theme=midnight]{background:#0B1020;border-color:#1C2440}.ecc-th-mini[data-theme=midnight] .m-side{background:#0F1527;border-color:#1C2440}.ecc-th-mini[data-theme=midnight] .m-side i{background:#232C45}.ecc-th-mini[data-theme=midnight] .m-side i.on{background:var(--a)}.ecc-th-mini[data-theme=midnight] .m-top{background:#0F1527;border-color:#1C2440}.ecc-th-mini[data-theme=midnight] b,.ecc-th-mini[data-theme=midnight] u{background:#161D31!important;border-color:#232C45!important}
/* settings Save buttons: Saving… → ✓ Saved */
.ecc-admin .ecc-savebtn{display:inline-flex!important;align-items:center;gap:6px}
.ecc-admin .ecc-savebtn .dashicons{font-size:17px;width:17px;height:17px}
.ecc-admin .ecc-savebtn.is-busy{pointer-events:none;opacity:.9}
.ecc-admin .ecc-savebtn.is-done{background:#1E8A5A!important;border-color:#1E8A5A!important;color:#fff!important}
/* "Back to home" on the verify page */
.ecc-home-link{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;line-height:1;text-decoration:none!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease}
.ecc-home-link svg{flex:none;transition:transform .15s ease}
.ecc-home-link:hover svg{transform:translateX(-3px)}
.ecc-home-link.is-pill{background:#fff;color:#111827!important;padding:11px 18px 11px 14px;border-radius:30px;box-shadow:0 6px 18px rgba(20,30,70,.14)}
.ecc-home-link.is-pill:hover{box-shadow:0 10px 24px rgba(20,30,70,.2);transform:translateY(-1px)}
.ecc-home-link.is-solid{background:var(--hb);color:var(--ht)!important;padding:11px 18px 11px 14px;border-radius:30px;box-shadow:0 6px 18px color-mix(in srgb,var(--hb) 35%,transparent)}
.ecc-home-link.is-solid:hover{transform:translateY(-1px);filter:brightness(1.06)}
.ecc-home-link.is-outline{border:2px solid var(--hb);color:var(--hb)!important;padding:9px 16px 9px 12px;border-radius:30px;background:rgba(255,255,255,.75)}
.ecc-home-link.is-outline:hover{background:var(--hb);color:var(--ht)!important}
.ecc-home-link.is-link{color:var(--hb)!important;padding:4px 0}
.ecc-home-link.is-link:hover span{text-decoration:underline}
.ecc-home-top{position:absolute;top:22px;left:24px;z-index:5}
.admin-bar .ecc-home-top{top:54px}
.ecc-home-top.is-right{left:auto;right:24px}
.ecc-home-below{text-align:center;margin-top:22px}
.ecc-home-in{margin-top:22px;padding-top:16px;border-top:1px solid var(--hairline,#E5E7EB)}
.ecc-vcard[data-card=dark] .ecc-home-in{border-top-color:rgba(255,255,255,.1)}
@media (max-width:600px){.ecc-home-top{position:static;padding:14px 16px 0}.ecc-home-top.is-right{text-align:right}}
/* "Back to home" on the sign-in screens */
.ecc-login.has-home{position:relative}
.ecc-login-col{display:flex;flex-direction:column;align-items:center;width:100%}
.ecc-login-col>.ecc-login-card{width:100%}
.ecc-login .ecc-home-top{position:absolute}
.admin-bar .ecc-login .ecc-home-top{top:22px}
@media (max-width:600px){.ecc-login.has-home{flex-direction:column}.ecc-login .ecc-home-top{position:static;align-self:stretch;padding:0 0 14px}}
/* password eye: keep its own look even when the website theme styles every <button> */
.ecc-pwwrap .ecc-pweye{position:absolute!important;right:6px!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;min-width:0!important;max-width:36px!important;height:36px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#6B7280!important;line-height:1!important;font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important;text-transform:none!important;letter-spacing:0!important}
.ecc-pwwrap .ecc-pweye:hover,.ecc-pwwrap .ecc-pweye.on{background:#F1F3F9!important;color:var(--ecc-b,#4F46E5)!important}
.ecc-pwwrap .ecc-pweye svg{display:block!important;width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important;flex:none}
.ecc-app[data-theme=midnight] .ecc-pwwrap .ecc-pweye:hover,.ecc-login[data-theme=midnight] .ecc-pwwrap .ecc-pweye:hover{background:#1F2842!important}
/* password eye v2: a clean icon inside the box — no grey square, perfectly centred */
.ecc-pwwrap{position:relative!important;display:block!important}
.ecc-pwwrap input{margin:0!important;width:100%!important;padding-right:52px!important;box-sizing:border-box!important}
.ecc-pwwrap .ecc-pweye{top:0!important;bottom:0!important;right:8px!important;margin:auto 0!important;transform:none!important;width:38px!important;max-width:38px!important;height:38px!important;border-radius:50%!important;background:transparent!important;color:#9AA2B6!important;opacity:1!important;transition:color .18s ease,background-color .18s ease,transform .18s ease!important}
.ecc-pwwrap .ecc-pweye:hover{background:transparent!important;color:#4B5368!important;transform:scale(1.08)!important}
.ecc-pwwrap .ecc-pweye.on{background:transparent!important;color:var(--ecc-b,#4F46E5)!important}
.ecc-pwwrap .ecc-pweye:active{transform:scale(.92)!important}
.ecc-pwwrap .ecc-pweye:focus{outline:none!important;box-shadow:none!important}
.ecc-pwwrap .ecc-pweye:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--ecc-b,#4F46E5) 35%,transparent)!important}
.ecc-pwwrap .ecc-pweye svg{width:19px!important;height:19px!important;stroke-width:1.8!important}
.ecc-app[data-theme=midnight] .ecc-pwwrap .ecc-pweye:hover,.ecc-login[data-theme=midnight] .ecc-pwwrap .ecc-pweye:hover{background:transparent!important;color:#fff!important}
/* choose required fields (★) on Add / Manage employee and agent */
.ecc-reqbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 14px}
.ecc-req-edit{display:inline-flex;align-items:center;gap:7px;border:1px dashed #C3C8F5;background:#F6F6FF;color:#4F46E5;border-radius:25px;padding:8px 16px;font-weight:600;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}
.ecc-req-edit:hover{background:#ECECFF;border-style:solid}
.ecc-req-edit[hidden]{display:none}
.ecc-req-help{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;background:#FFF9E8;border:1px solid #F5DFA0;border-radius:14px;padding:10px 14px;font-size:13px;color:#5B4A12}
.ecc-req-help[hidden]{display:none}
.ecc-req-help>span{flex:1;min-width:240px}
.ecc-req-help .button{border-radius:25px!important;display:inline-flex!important;align-items:center;gap:5px}
.ecc-req-on{color:#D97706}.ecc-req-off{color:#9AA2B6}
.ecc-req-star{border:0;background:none;padding:0 2px;margin-left:4px;font-size:17px;line-height:1;cursor:pointer;color:#B8BECC;vertical-align:-1px;transition:transform .15s,color .15s}
.ecc-req-star:hover{transform:scale(1.25);color:#D97706}
.ecc-req-star.is-on{color:#F59E0B}
.ecc-req-star.is-locked{cursor:not-allowed;opacity:.65}
.ecc-req-star.is-locked:hover{transform:none}
#ecc-emp.is-req-edit .ecc-fl{outline:1px dashed transparent;border-radius:10px;transition:outline-color .15s}
#ecc-emp.is-req-edit .ecc-fl:hover{outline-color:#F5DFA0}

/* required chooser v2: circles — green = required, red = not required */
.ecc-req-star{display:inline-block;width:14px;height:14px;padding:0!important;margin:0 0 0 7px;border-radius:50%;border:0;background:#EF4444;box-shadow:0 0 0 3px rgba(239,68,68,.18);font-size:0;vertical-align:-2px;cursor:pointer;transition:transform .15s,background .15s,box-shadow .15s}
.ecc-req-star.is-on{background:#22C55E;box-shadow:0 0 0 3px rgba(34,197,94,.2)}
.ecc-req-star:hover{transform:scale(1.25);color:inherit}
.ecc-req-star.is-locked{cursor:not-allowed;opacity:.6}
.ecc-req-star.is-locked:hover{transform:none}
.ecc-req-key{display:inline-flex;align-items:center;gap:6px;margin-right:12px;font-weight:600;color:#3C4257}
.ecc-req-key .ecc-req-star{margin:0;cursor:default;width:12px;height:12px}
.ecc-req-key .ecc-req-star:hover{transform:none}
.ecc-req-dots{display:inline-flex;gap:3px;font-style:normal}
.ecc-req-dots i{width:9px;height:9px;border-radius:50%;background:#22C55E}
.ecc-req-dots i+i{background:#EF4444}
.ecc-req-key{margin-left:8px}
/* password: Set it myself / Generate one */
.ecc-pwmode{margin-bottom:0}
.ecc-pwbox{margin-top:-6px}
.ecc-pw #ecc-pw-copy,.ecc-pw #ecc-pw-gen{width:42px;justify-content:center;padding:0}
.ecc-pw #ecc-pw-copy[hidden],.ecc-pw #ecc-pw-gen[hidden]{display:none!important}
.ecc-pw #ecc-pw-copy.is-done{background:#E7F7EE!important;border-color:#22C55E!important;color:#15803D!important}
.ecc-pw #ecc-pw-gen:hover .dashicons{transform:rotate(180deg)}
.ecc-pw #ecc-pw-gen .dashicons{transition:transform .35s ease}
.ecc-pwbox.is-gen #ecc-pw{background:#F6F6FF!important;border-color:#C9CCF5!important;color:#111827;letter-spacing:.04em;cursor:default}
.ecc-pw-genmsg{color:#15803D}
.ecc-pw #ecc-pw-show[hidden]{display:none!important}
/* password box uses the same font as the email box (Arial) */
.ecc-pw input,.ecc-pw input::placeholder{font-family:Arial,Helvetica,sans-serif!important}
.ecc-pw input{font-size:14px!important;padding:0 12px!important;letter-spacing:normal!important}
.ecc-pwbox.is-gen #ecc-pw{letter-spacing:.02em!important}
.ecc-acc input[type=email],.ecc-acc input[type=text]{font-family:Arial,Helvetica,sans-serif}
/* Email designs: on / off switch for each email */
.ecc-ed-row{position:relative}
.ecc-ed-row .ecc-ed-item{padding-right:56px}
.ecc-ed-row .ecc-sw{position:absolute;right:10px;top:12px}
.ecc-sw{display:inline-block;width:36px;height:20px;cursor:pointer}
.ecc-sw input{position:absolute;opacity:0;width:0;height:0}
.ecc-sw span{position:absolute;inset:0;border-radius:20px;background:#E25555;transition:background .2s}
.ecc-sw span::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.ecc-sw input:checked+span{background:#22C55E}
.ecc-sw input:checked+span::after{transform:translateX(16px)}
.ecc-sw input:disabled+span{opacity:.55;cursor:not-allowed}
.ecc-sw input:focus-visible+span{box-shadow:0 0 0 3px rgba(79,70,229,.25)}
.ecc-ed-offnote{display:none!important;color:#DC2626!important;font-weight:600}
.ecc-ed-row.is-off .ecc-ed-offnote{display:block!important}
.ecc-ed-row.is-off .ecc-ed-state{display:none!important}
.ecc-ed-row.is-off .ecc-ed-item b{color:#8A93A6}
.ecc-ed-row.is-off .ecc-ed-item .dashicons{color:#C5CAD6}
.ecc-ed.is-err .ecc-ed-subj{color:#B45309}
/* ---------- agent: Confirm & sign / employee: agreement with the agent ---------- */
.ecc-pill-agent_declined{background:#FDE8E8;color:#B42318}
.ecc-pill-with_agent{background:#FBF1DC;color:#9A6B10}
.ecc-sign .ecc-f input[type=text],.ecc-sign .ecc-f textarea{display:block;width:100%;margin-top:6px;box-sizing:border-box;font-weight:400}
.ecc-check{display:flex;gap:10px;align-items:flex-start;background:#F6F7FC;border:1px solid var(--hairline,#E5E7EB);border-radius:12px;padding:12px 14px;margin:0 0 16px;font-size:13.5px;line-height:1.5;cursor:pointer}
.ecc-check input{margin:3px 0 0;width:17px;height:17px;flex:none;accent-color:var(--navy,#4F46E5)}
.ecc-check:has(input:checked){background:#EEF9F2;border-color:#9ED9B6}
.ecc-fee{display:grid;grid-template-columns:1fr;gap:0;padding:12px 14px 2px;border:1px dashed var(--hairline,#E5E7EB);border-radius:12px;margin:0 0 16px}
.ecc-fee-row{display:flex;gap:8px;margin-top:6px}
.ecc-fee-row input:first-child{flex:1;min-width:0}
.ecc-fee-row input:last-child{width:80px;text-transform:uppercase;text-align:center}
.ecc-sign-meta{font-size:12px;color:var(--muted,#6B7280);margin:-6px 0 14px}
.ecc-btn-block{width:100%;justify-content:center}
.ecc-decline{margin-top:16px;border-top:1px solid var(--hairline,#E5E7EB);padding-top:12px}
.ecc-decline summary{cursor:pointer;color:#B42318;font-weight:600;font-size:13px;list-style:none}
.ecc-decline summary::-webkit-details-marker{display:none}
.ecc-decline summary::before{content:"✕ ";}
.ecc-decline[open] summary{margin-bottom:12px}
.ecc-btn-danger{background:#C03535!important;border-color:#C03535!important;color:#fff!important}
.ecc-btn-danger:hover{background:#A12A2A!important}
.ecc-card-bad{border-color:#F3C7C7;background:#FFF6F6}
.ecc-viaagent{display:flex;flex-direction:column;gap:3px;background:#F2F2FF;border-left:4px solid var(--navy,#4F46E5);border-radius:10px;padding:10px 14px;margin:0 0 14px;font-size:13px}
.ecc-viaagent span{color:var(--muted,#6B7280)}
.ecc-agentbox{border-left:4px solid var(--navy,#4F46E5)}
.ecc-ok-t{color:#15803D}.ecc-bad-t{color:#B42318}
/* portal summary lists (<dl>) — the admin's .ecc-kv rows must not change them */
dl.ecc-kv{display:grid!important;grid-template-columns:auto 1fr;gap:9px 16px;margin:0;padding:0;border:0;font-size:13px;justify-content:initial}
dl.ecc-kv dt{color:var(--muted)}
dl.ecc-kv dd{margin:0;font-weight:600;word-break:break-word;text-align:left}
/* agent sign form fields */
.ecc-sign .ecc-fee-row input[type=text]{display:block;margin-top:0}
.ecc-sign .ecc-fee-row input[type=text]:first-child{flex:1;width:auto}
.ecc-sign .ecc-fee-row input[type=text]:last-child{width:84px;flex:none}
.ecc-sign input[type=text],.ecc-sign textarea{font-family:inherit!important;font-size:14px;padding:10px 12px;border:1px solid var(--hairline,#E5E7EB);border-radius:10px;background:#fff;color:var(--text,#111827)}
.ecc-sign textarea{resize:vertical}
.ecc-sign input[type=text]:focus,.ecc-sign textarea:focus{outline:none;border-color:var(--navy,#4F46E5);box-shadow:0 0 0 3px color-mix(in srgb,var(--navy,#4F46E5) 15%,transparent)}
.ecc-sign .ecc-btn-block{margin-top:2px}
/* ---------- the employee's agent message ---------- */
.ecc-viaagent-card{border-left:4px solid var(--navy,#4F46E5)}
.ecc-viaagent-card h3{display:flex;align-items:center;gap:8px}
.ecc-viaagent-card h3 svg{width:18px;height:18px;color:var(--navy,#4F46E5)}
.ecc-viaagent-card p{margin:0 0 12px;line-height:1.55;font-size:13.5px}
.ecc-agent-state{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:13px;padding:7px 12px;border-radius:20px}
.ecc-agent-state.is-wait{background:#FBF1DC;color:#9A6B10}
.ecc-agent-state.is-ok{background:#E6F6EC;color:#15803D}
/* ---------- work permit: employee view (view only) ---------- */
.ecc-permit-card{margin-top:22px}
.ecc-permit-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:#FDE8E8;color:#B42318;padding:4px 10px;border-radius:20px}
.ecc-permit{position:relative;display:flex;flex-direction:column;gap:14px;background:#EEF0F6;border-radius:12px;padding:14px;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.ecc-permit-page{display:block;width:100%;height:auto;border-radius:4px;box-shadow:0 2px 10px rgba(20,30,70,.12);pointer-events:none;-webkit-user-drag:none;user-select:none;background:#fff;min-height:200px}
.ecc-permit-shield{position:absolute;inset:0;z-index:2;background:transparent}
.ecc-permit-hidden{display:none;position:absolute;inset:0;z-index:3;align-items:center;justify-content:center;text-align:center;padding:20px;font-weight:700;color:#4B5368;font-size:14px}
.ecc-permit.is-hidden .ecc-permit-page{filter:blur(22px);opacity:.35}
.ecc-permit.is-hidden .ecc-permit-hidden{display:flex}
@media print{ .ecc-permit,.ecc-permit-card{display:none!important} body:has(.ecc-permit)::after{content:"Printing is not allowed for the work permit.";display:block;padding:40px;font:600 16px Arial} }
.ecc-banner-permit{background:linear-gradient(120deg,#0E7C66,#14A37F)}
/* ---------- work permit: admin box ---------- */
.ecc-permit-drop{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:20px 14px;border:2px dashed #C3C8F5;border-radius:12px;background:#F7F7FF;cursor:pointer;transition:background .15s,border-color .15s}
.ecc-permit-drop:hover,.ecc-permit-drop.is-over{background:#EEEEFF;border-color:#4F46E5}
.ecc-permit-drop .dashicons{font-size:30px;width:30px;height:30px;color:#4F46E5}
.ecc-permit-drop b{font-size:13.5px}.ecc-permit-drop small{color:#6B7280;font-size:11.5px}
.ecc-permit-file{display:flex;gap:10px;align-items:center;padding:8px 0 10px}
.ecc-permit-file .dashicons{font-size:28px;width:28px;height:28px;color:#C03535}
.ecc-permit-file b{display:block;font-size:13px;word-break:break-all}.ecc-permit-file small{color:#6B7280}
.ecc-permit-btns{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 6px}
.ecc-permit-btns .button{display:inline-flex!important;align-items:center;gap:4px;border-radius:20px!important;font-size:12px!important}
.ecc-permit-btns .dashicons{font-size:15px;width:15px;height:15px}
.ecc-permit-prog{margin-top:10px}
.ecc-permit-prog[hidden]{display:none}
.ecc-permit-prog i{display:block;height:8px;border-radius:8px;background:#E8EAF3;overflow:hidden}
.ecc-permit-prog u{display:block;height:100%;width:4%;background:linear-gradient(90deg,#34B37A,#4F46E5);transition:width .3s;text-decoration:none}
.ecc-permit-prog span{display:block;font-size:12px;color:#4B5368;margin-top:5px}
.ecc-permit-box.is-busy .ecc-permit-drop,.ecc-permit-box.is-busy .ecc-permit-btns{opacity:.5;pointer-events:none}
/* Save employee / agent under the details */
.ecc-formsave{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid var(--hairline,#E5E7EB);border-radius:16px;padding:18px 22px;margin-top:4px;position:sticky;bottom:12px;z-index:5;box-shadow:0 -6px 24px -12px rgba(31,42,68,.25)}
.ecc-formsave .ecc-save-main{display:inline-flex!important;align-items:center;gap:8px;min-width:220px;justify-content:center;border-radius:12px!important}
.ecc-formsave .ecc-save-main .dashicons{font-size:20px;width:20px;height:20px}
.ecc-formsave span:not(.dashicons){color:var(--muted,#6B7280);font-size:13px}

/* ===== v72: signature pad (portal) ===== */
.ecc-sigpad{margin:12px 0 8px}
.ecc-sigpad-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.ecc-sigpad-h b{font-size:13.5px}
.ecc-sigpad-h small{color:#6B7280;font-size:12px}
.ecc-sigpad-box{position:relative;border:1.5px dashed #C9CFDD;border-radius:12px;background:#fff;background-image:linear-gradient(transparent calc(100% - 38px),#AEB6C8 calc(100% - 38px),#AEB6C8 calc(100% - 37px),transparent calc(100% - 37px));transition:border-color .2s}
.ecc-sigpad-box canvas{display:block;width:100%;height:170px;touch-action:none;cursor:crosshair;border-radius:12px}
.ecc-sigpad-hint{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);color:#A3ABBD;font-size:15px;pointer-events:none;transition:opacity .2s}
.ecc-sigpad-x{position:absolute;left:14px;bottom:42px;color:#8D96AA;font-size:18px;pointer-events:none}
.ecc-sigpad.is-signed .ecc-sigpad-hint{opacity:0}
.ecc-sigpad.is-signed .ecc-sigpad-box{border-color:#4F46E5;border-style:solid}
.ecc-sigpad-f{display:flex;align-items:center;gap:10px;margin-top:6px}
.ecc-sigpad-clear{display:inline-flex;align-items:center;gap:6px;background:#fff!important;border:1.5px solid #D5DAE6!important;color:#111827!important;font-weight:600;cursor:pointer;padding:7px 14px!important;font-size:13px;border-radius:9px!important;line-height:1.2;box-shadow:0 1px 2px rgba(16,24,40,.06)!important;transition:border-color .15s,color .15s,background .15s;min-height:0!important;width:auto!important;text-transform:none!important}
.ecc-sigpad-clear svg{width:15px;height:15px}
.ecc-sigpad-clear:hover{border-color:#C62828!important;color:#C62828!important;background:#FFF5F5!important}
.ecc-sigpad-clear:focus-visible{outline:2px solid #4F46E5;outline-offset:2px}
.ecc-sigpad-err{color:#C62828;font-size:12.5px;font-weight:600}
.ecc-sigpad.is-shake .ecc-sigpad-box{animation:eccShake .4s;border-color:#C62828}
@keyframes eccShake{0%,100%{transform:none}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.ecc-sigshow{margin-top:10px;padding:8px 12px;background:#fff;border:1px solid #E5E7EB;border-radius:10px;text-align:center}
.ecc-sigshow img{max-height:80px;max-width:100%;width:auto}

/* ===== v72: reference & contract ID ===== */
.ecc-refparts{display:flex;align-items:flex-end;gap:6px;flex-wrap:wrap}
.ecc-refparts label{display:flex;flex-direction:column;gap:3px;width:92px}
.ecc-refparts label.is-wide{width:auto;flex:1;min-width:200px}
.ecc-refparts label span,.ecc-refparts label small{font-size:11.5px;color:#6B7280;font-weight:600}
.ecc-refparts input{width:100%;text-transform:uppercase;font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.5px}
.ecc-refparts i{font-style:normal;font-weight:700;color:#8D96AA;padding-bottom:7px}
.ecc-refprev{margin:8px 0 0;font-size:12.5px;color:#4A5568}
.ecc-refprev code{font-size:13px;font-weight:700;background:#EEF2FF;color:#4338CA;padding:3px 8px;border-radius:6px}
.ecc-refprev small{color:#8D96AA}
.ecc-refh{margin:0 0 6px;font-size:14px}
.ecc-cid-code{display:flex;gap:6px}
.ecc-cid-code input{flex:1}
.ecc-cid-code .button{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.ecc-cid-code .dashicons{font-size:16px;width:16px;height:16px}
.ecc-cnew .ecc-fl{margin-bottom:14px}
.ecc-cnew .ecc-fl > span{display:block}
.ecc-sig-box{width:220px;background:#fff repeating-conic-gradient(#F1F2F6 0 25%,#fff 0 50%) 0 0/14px 14px}
.ecc-sig-box img{max-height:70px}

/* ===== v72: contracts report ===== */
.ecc-rep-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:14px 0 18px}
.ecc-rep-stat{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:14px 16px;text-decoration:none;color:inherit;display:block}
.ecc-rep-stat:hover,.ecc-rep-stat.is-on{border-color:#4F46E5;box-shadow:0 0 0 2px rgba(79,70,229,.12)}
.ecc-rep-stat b{display:block;font-size:24px;line-height:1.1;color:#111827}
.ecc-rep-stat span{font-size:12.5px;color:#6B7280}
.ecc-rep-stat.is-bad b{color:#C62828}
.ecc-rep-stat.is-ok b{color:#1E7B4F}
.ecc-rep-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #E5E7EB;border-radius:12px;overflow:hidden}
.ecc-rep-table th{background:#F6F7FB;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#6B7280;padding:10px 12px;border-bottom:1px solid #E5E7EB}
.ecc-rep-table td{padding:12px;border-bottom:1px solid #EEF0F5;vertical-align:top;font-size:13px}
.ecc-rep-table tr:last-child td{border-bottom:0}
.ecc-rep-table code{font-size:12px}
.ecc-rep-reason{background:#FFF4F4;border-left:3px solid #C62828;padding:7px 10px;border-radius:6px;color:#5B1E1E;max-width:380px;white-space:pre-wrap}
.ecc-rep-sub{display:block;color:#6B7280;font-size:12px;margin-top:2px}
.ecc-rep-acts{display:flex;gap:6px;flex-wrap:wrap}
.ecc-rep-empty{background:#fff;border:1px dashed #C9CFDD;border-radius:12px;padding:30px;text-align:center;color:#6B7280}
.ecc-rep-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.ecc-rep-bar input[type=search]{min-width:260px}
.ecc-refedit .ecc-refparts{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:4px;align-items:end}
.ecc-refedit .ecc-refparts label{width:auto;min-width:0}
.ecc-refedit .ecc-refparts input{padding:4px 6px;font-size:12.5px}
.ecc-refedit .ecc-refparts i{padding-bottom:6px}
/* v75: reference parts / ID start are dropdown lists */
.ecc-refparts .ecc-rp{display:flex;flex-direction:column;gap:3px;width:118px;min-width:0}
.ecc-refparts .ecc-rp > span,.ecc-refparts .ecc-rp > small{font-size:11.5px;color:#6B7280;font-weight:600}
.ecc-combo-code input{padding-right:30px!important;text-transform:uppercase}
.ecc-combo-code .ecc-combo-tg{width:28px}
.ecc-combo-code .ecc-combo-tg .dashicons{font-size:16px;width:16px;height:16px}
.ecc-refedit .ecc-refparts .ecc-rp{width:auto}
.ecc-refedit .ecc-combo-code input{padding-right:24px!important}
.ecc-refedit .ecc-combo-code .ecc-combo-tg{width:22px}
/* v77: contract ID stays until Renew ID; action buttons; edit page */
.ecc-cid-code input[readonly]{background:#F6F7FB!important;color:#4A5568}
.ecc-cidf.is-new .ecc-cid-code input{border-color:#E08A00!important;background:#FFFBF2!important}
.ecc-cidf.is-new .ecc-cid-out{background:#FFF1D6;color:#8A5300}
.ecc-cid-undo{white-space:nowrap;font-size:12.5px}
.ecc-actbtns{display:inline-flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ecc-actbtns .button{margin:0!important}
.ecc-actbtns .button.disabled{opacity:.45;cursor:not-allowed;pointer-events:auto}
.ecc-actbtns .ecc-btn-del{color:#B32D2E!important;border-color:#E3A4A4!important}
.ecc-actbtns .ecc-btn-del:hover{background:#FCF0F1!important;border-color:#B32D2E!important}
.ecc-admin table.widefat td.ecc-acts:has(.ecc-actbtns){white-space:nowrap;width:1%}
.ecc-acts .ecc-actbtns{flex-wrap:nowrap}
.ecc-acts .ecc-actbtns .button-small{padding:0 10px;min-height:28px;line-height:26px}
.ecc-cedit{max-width:760px}
.ecc-cedit .ecc-fl{display:block;margin-bottom:16px}
.ecc-cedit .ecc-fl > span{display:block;font-weight:600;margin-bottom:6px}
.ecc-cedit select,.ecc-cedit textarea{width:100%;max-width:100%}
.ecc-cedit .ecc-refparts .ecc-rp,.ecc-cedit .ecc-refparts label{width:130px}
.ecc-cedit .ecc-refparts label.is-wide{width:auto}
.ecc-cedit-btns{display:flex;gap:8px;margin:6px 0 12px}
.ecc-admin table.widefat td code{white-space:nowrap}
/* v78: verify result lines editor */
.ecc-vrows{display:flex;flex-direction:column;gap:6px;margin:8px 0}
.ecc-vrow{display:grid;grid-template-columns:auto auto minmax(120px,1fr) minmax(170px,1.2fr) auto;gap:8px;align-items:center;background:#fff;border:1px solid #E5E7EB;border-radius:10px;padding:6px 8px;transition:opacity .18s,transform .18s}
.ecc-vrow:has(.ecc-vrow-text:not([hidden])){grid-template-columns:auto auto minmax(110px,.8fr) minmax(150px,1fr) minmax(170px,1.4fr) auto}
.ecc-vrow.is-off{background:#F7F8FA}
.ecc-vrow.is-off .ecc-vrow-label,.ecc-vrow.is-off .ecc-vrow-src,.ecc-vrow.is-off .ecc-vrow-text{opacity:.5}
.ecc-vrow.is-gone{opacity:0;transform:translateX(20px)}
.ecc-vrow input[type=text],.ecc-vrow select{width:100%;min-width:0;margin:0}
.ecc-vrow-mv{display:flex;flex-direction:column}
.ecc-vrow-mv button{border:0;background:none;color:#8D96AA;cursor:pointer;font-size:9px;line-height:1;padding:2px 4px}
.ecc-vrow-mv button:hover{color:#4F46E5}
.ecc-vrow-sw{position:relative;display:inline-block;width:36px;height:20px;cursor:pointer}
.ecc-vrow-sw input{position:absolute;opacity:0;width:0;height:0}
.ecc-vrow-sw i{position:absolute;inset:0;background:#C9CFDD;border-radius:20px;transition:background .15s}
.ecc-vrow-sw i:after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.ecc-vrow-sw input:checked + i{background:#1E9E62}
.ecc-vrow-sw input:checked + i:after{transform:translateX(16px)}
.ecc-vrow-sw input:focus-visible + i{outline:2px solid #4F46E5;outline-offset:2px}
.ecc-vrow-del{border:0;background:none;color:#B32D2E;cursor:pointer;padding:4px;border-radius:6px}
.ecc-vrow-del:hover{background:#FCF0F1}
.ecc-vrows-foot{display:flex;gap:12px;align-items:center}
.ecc-vrows-foot .button{display:inline-flex;align-items:center;gap:4px}
.ecc-vtok{margin-top:8px;font-size:12px;color:#4A5568}
.ecc-vtok p{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11.5px;word-spacing:6px;line-height:1.7}
@media (max-width:782px){.ecc-vrow,.ecc-vrow:has(.ecc-vrow-text:not([hidden])){grid-template-columns:auto auto 1fr auto}.ecc-vrow-src,.ecc-vrow-text{grid-column:1/-1}}
.ecc-result .ecc-vr-v{font-weight:600}
.ecc-sc-moved{display:flex;align-items:center;gap:8px;background:#F5F7FF;border:1px solid #DCDCF7;border-radius:10px;padding:10px 12px;margin:12px 0 0}
.ecc-sc-moved .dashicons{color:#4F46E5}
.ecc-vcheck{margin-bottom:16px}
/* v81: contract signers */
.ecc-signers{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px;margin:6px 0 12px}
.ecc-signer{display:flex;gap:14px;background:#fff;border:1px solid #E5E7EB;border-radius:14px;padding:14px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.ecc-signer:has(input[type=radio]:checked){border-color:#4F46E5;box-shadow:0 0 0 2px rgba(79,70,229,.12)}
.ecc-signer-sig{width:150px;flex:none;display:flex;flex-direction:column;gap:8px}
.ecc-signer-prev{height:84px;border:1.5px dashed #C9CFDD;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fff repeating-conic-gradient(#F4F5F8 0 25%,#fff 0 50%) 0 0/14px 14px;overflow:hidden}
.ecc-signer-prev img{max-width:92%;max-height:74px}
.ecc-signer-prev span{font-size:12px;color:#8D96AA}
.ecc-signer-sbtn{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.ecc-signer-sbtn .button{display:inline-flex;align-items:center;gap:4px;font-size:12px}
.ecc-signer-sbtn .dashicons{font-size:15px;width:15px;height:15px}
.ecc-signer-f{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}
.ecc-signer-f label span{display:block;font-size:11.5px;font-weight:600;color:#6B7280;margin-bottom:3px}
.ecc-signer-f input[type=text]{width:100%}
.ecc-signer-row{display:flex;justify-content:space-between;align-items:center;margin-top:auto}
.ecc-signer-def{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;cursor:pointer}
.ecc-signer-def span{display:inline!important;margin:0!important;color:#111827!important;font-size:12.5px!important}
.ecc-signer-del{color:#B32D2E!important;display:inline-flex;align-items:center;gap:2px;font-size:12.5px;text-decoration:none!important}
.ecc-signer-del .dashicons{font-size:16px;width:16px;height:16px}
.ecc-signers-empty{background:#fff;border:1px dashed #C9CFDD;border-radius:12px;padding:22px;text-align:center;color:#6B7280}
.ecc-signer-pos > span{display:block;font-size:11.5px;font-weight:600;color:#6B7280;margin-bottom:3px}
.ecc-signer-pos .ecc-combo{display:block}
.ecc-signer-pos .ecc-combo input{width:100%}
.ecc-signer-pos{min-width:0}
.ecc-signer-pos .ecc-combo{position:relative;max-width:100%}
.ecc-signer-pos .ecc-combo input{box-sizing:border-box;max-width:100%;padding-right:30px}
.ecc-signer-f input[type=text]{box-sizing:border-box;max-width:100%}
/* v83: who signs this contract? */
.ecc-sigpick-box{max-width:560px!important;width:calc(100vw - 32px);text-align:left!important}
.ecc-sigpick-box h2{margin:0 0 6px!important}
.ecc-sigpick-box > p{margin:0 0 14px!important;color:#4A5568}
.ecc-sigpick-list{display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow:auto;margin-bottom:16px}
.ecc-sigpick-o{display:flex;align-items:center;gap:12px;border:1.5px solid #E5E7EB;border-radius:12px;padding:10px 12px;cursor:pointer;transition:border-color .15s,background .15s}
.ecc-sigpick-o:hover{border-color:#B9BEF2}
.ecc-sigpick-o:has(input:checked){border-color:#4F46E5;background:#F5F5FF}
.ecc-sigpick-o input{margin:0}
.ecc-sigpick-img{width:120px;height:52px;flex:none;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #EEF0F5;border-radius:8px;overflow:hidden}
.ecc-sigpick-img img{max-width:94%;max-height:46px}
.ecc-sigpick-img em{font-size:11px;color:#A3ABBD;font-style:normal;text-align:center}
.ecc-sigpick-t{display:flex;flex-direction:column;min-width:0}
.ecc-sigpick-t b{font-size:14px;color:#111827}
.ecc-sigpick-t small{font-size:12.5px;color:#6B7280}
.ecc-sigpick-none{background:#FFF8EC;border:1px solid #F3DDB3;border-radius:10px;padding:12px;margin:0}
.ecc-sigpick .ecc-m-yes{background:#4F46E5!important;border-color:#4F46E5!important;color:#fff!important}.ecc-sigpick .ecc-m-yes:hover{background:#4338CA!important}
/* v85: an employee's contracts — manage/edit; a new one only on purpose */
.ecc-chave{display:flex;flex-direction:column;gap:8px;margin:0 0 14px}
.ecc-chave-i{border:1px solid #E5E7EB;border-radius:12px;padding:10px 12px;background:#fff}
.ecc-chave-t{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.ecc-chave-t b{font-size:13.5px;color:#111827}
.ecc-chave-m{font-size:12px;color:#6B7280;margin:3px 0 8px}
.ecc-chave-m code{font-size:11.5px}
.ecc-chave-b{display:flex;gap:6px;flex-wrap:wrap}
.ecc-chave-b .button{margin:0!important}
.ecc-newc-open{border-top:1px dashed #E5E7EB;padding-top:12px}
.ecc-newc-btn{display:inline-flex!important;align-items:center;gap:4px}
.ecc-newc-h{display:flex;justify-content:space-between;align-items:center;margin:4px 0 12px;font-size:14px;border-top:1px dashed #E5E7EB;padding-top:12px}
.ecc-newc-x{font-size:12.5px}
/* v86: edit a contract right inside the employee page */
.ecc-chave-i.is-editing{border-color:#4F46E5;box-shadow:0 0 0 2px rgba(79,70,229,.10)}
.ecc-chave-edit{margin-top:12px;padding-top:12px;border-top:1px dashed #E5E7EB}
.ecc-cedit-in .ecc-fl{display:block;margin-bottom:12px}
.ecc-cedit-in .ecc-fl > span{display:block;font-weight:600;margin-bottom:5px;font-size:13px}
.ecc-cedit-in select,.ecc-cedit-in textarea{width:100%;max-width:100%}
.ecc-cedit-in .notice p{font-size:12.5px;margin:6px 0}
.ecc-cedit-in .ecc-cedit-btns{display:flex;gap:8px}
/* placeholders must not look like real values */
.ecc-refparts input::placeholder,.ecc-cid-code input::placeholder{text-transform:none;font-family:Arial,sans-serif;font-style:italic;color:#B3BACB;letter-spacing:0;font-weight:400}
.ecc-cedit-in textarea,.ecc-cedit-in select{box-sizing:border-box}
/* ===== v87: employee page tabs + contracts workspace ===== */
.ecc-etabs{display:flex;gap:6px;margin:4px 0 18px;border-bottom:1px solid #E5E7EB}
.ecc-etab-b{display:inline-flex;align-items:center;gap:6px;background:none;border:0;border-bottom:3px solid transparent;padding:10px 14px;font-size:14px;font-weight:600;color:#4A5568;cursor:pointer;margin-bottom:-1px}
.ecc-etab-b:hover{color:#111827}
.ecc-etab-b.is-on{color:#4F46E5;border-bottom-color:#4F46E5}
.ecc-etab-b i{font-style:normal;background:#EEF2FF;color:#4F46E5;border-radius:10px;padding:1px 8px;font-size:12px}
.ecc-etab-b .dashicons{font-size:17px;width:17px;height:17px}
.ecc-cws{display:grid;grid-template-columns:330px minmax(0,1fr);gap:20px;align-items:start}
@media (max-width:1100px){.ecc-cws{grid-template-columns:1fr}}
.ecc-cws-side{display:flex;flex-direction:column;gap:10px;position:sticky;top:44px}
@media (max-width:1100px){.ecc-cws-side{position:static}}
.ecc-cws-sh{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ecc-cws-sh h2{margin:0;font-size:17px;display:flex;align-items:center;gap:8px}
.ecc-cws-n{background:#EEF2FF;color:#4F46E5;border-radius:10px;padding:1px 9px;font-size:12px}
.ecc-cws-sh .button{display:inline-flex;align-items:center;gap:4px}
.ecc-cws-none{background:#fff;border:1px dashed #C9CFDD;border-radius:12px;padding:16px;color:#6B7280;margin:0}
.ecc-cws-card{background:#fff;border:1.5px solid #E5E7EB;border-radius:14px;padding:12px 14px;transition:border-color .15s,box-shadow .15s}
.ecc-cws-card:hover{border-color:#C9CFF2}
.ecc-cws-card.is-active{border-color:#4F46E5;box-shadow:0 0 0 3px rgba(79,70,229,.10)}
.ecc-cws-ct{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ecc-cws-ct b{font-size:14.5px;color:#111827}
.ecc-cws-cp{font-size:13px;color:#4A5568;margin:2px 0 6px}
.ecc-cws-cl{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#4A5568;margin:2px 0}
.ecc-cws-cl .dashicons{font-size:15px;width:15px;height:15px;color:#8D96AA}
.ecc-cws-cl code{font-size:11.5px;background:none;padding:0}
.ecc-cws-cs{margin:8px 0;font-size:12.5px;font-weight:600}
.ecc-cws-ok{color:#1E7B4F}.ecc-cws-wait{color:#A86200}.ecc-cws-draft{color:#6B7280}
.ecc-cws-cb{display:flex;gap:5px;flex-wrap:wrap}
.ecc-cws-cb .button{display:inline-flex!important;align-items:center;gap:3px;margin:0!important}
.ecc-cws-cb .dashicons{font-size:14px;width:14px;height:14px}
.ecc-cws-del{color:#B32D2E!important;border-color:#E3A4A4!important;margin-left:auto!important}
.ecc-cws-main{min-width:0}
.ecc-cws-form{background:#fff;border:1px solid #E5E7EB;border-radius:16px;padding:22px 24px}
.ecc-cws-form fieldset{border:0;margin:0;padding:0;min-width:0}
.ecc-cws-form fieldset[disabled]{opacity:.75}
.ecc-cws-fh{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.ecc-cws-fh h2{margin:0;font-size:20px}
.ecc-cws-fh p{margin:3px 0 0;color:#6B7280;font-size:13px}
.ecc-cws-sec{border-top:1px solid #EEF0F5;padding-top:14px;margin-top:14px}
.ecc-cws-sec h3{margin:0 0 10px;font-size:14px;text-transform:uppercase;letter-spacing:.4px;color:#6B7280}
.ecc-cws-sec > textarea{width:100%;box-sizing:border-box}
.ecc-cws-form .ecc-fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
@media (max-width:700px){.ecc-cws-form .ecc-fgrid{grid-template-columns:1fr}}
.ecc-cws-form .ecc-fl{display:flex;flex-direction:column;gap:5px;min-width:0}
.ecc-cws-form .ecc-fl > span,.ecc-cws-form .ecc-fl-t{font-weight:600;font-size:13px}
.ecc-cws-form .ecc-fl > span > i,.ecc-cws-form .ecc-fl-t > i{color:#C62828;font-style:normal}
.ecc-cws-form .ecc-full{grid-column:1/-1}
.ecc-cws-form input[type=text],.ecc-cws-form input[type=number],.ecc-cws-form input[type=date],.ecc-cws-form input[type=email],.ecc-cws-form select,.ecc-cws-form textarea{width:100%;max-width:100%;box-sizing:border-box}
.ecc-cws-form .ecc-fl small{color:#6B7280;font-size:12px}
.ecc-cws-years > div{display:flex;gap:5px;flex-wrap:wrap}
.ecc-cws-years .button{margin:0!important}
.ecc-cws-btns{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-top:1px solid #EEF0F5;margin-top:18px;padding-top:16px}
.ecc-cws-btns .button{display:inline-flex!important;align-items:center;gap:4px}
.ecc-cws-lock,.ecc-cws-info,.ecc-cws-warn{display:flex;align-items:center;gap:10px;border-radius:10px;padding:10px 12px;margin:0 0 12px;font-size:13px}
.ecc-cws-lock{background:#EEF7F1;border:1px solid #BFE3CC;color:#174D33}
.ecc-cws-lock div{flex:1}
.ecc-cws-info{background:#F5F7FF;border:1px solid #DCDCF7}
.ecc-cws-warn{background:#FFF8EC;border:1px solid #F3DDB3}
.ecc-cws-view{position:fixed;inset:0;background:rgba(15,20,35,.55);z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
.ecc-cws-view[hidden]{display:none}
.ecc-cws-view-box{background:#fff;border-radius:14px;width:min(900px,100%);height:min(92vh,1200px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.ecc-cws-view-h{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #EEF0F5}
.ecc-cws-view iframe{flex:1;border:0;width:100%;background:#F4F5F8}
.ecc-csum{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left;background:#fff;border:1px solid #E5E7EB;border-radius:10px;padding:8px 10px;margin:0 0 6px;cursor:pointer;font-size:13px}
.ecc-csum:hover{border-color:#4F46E5}
.ecc-csum-open{display:inline-flex!important;align-items:center;gap:4px;margin-top:4px!important}

/* =====================================================================
   v88 — admin look, same family as a clean modern app:
   indigo accent, neutral greys, 10–14px corners, 40px fields and buttons,
   white cards with a hairline border, soft focus rings, dotted badges.
   (Admin only — the employee/agent portal keeps its own theme.)
   ===================================================================== */
.wp-admin .ecc-admin{
	--a:#4F46E5;--a-dark:#4338CA;--a-soft:#EEF2FF;--a-ring:rgba(79,70,229,.16);
	--t:#111827;--t2:#374151;--m:#6B7280;--b:#E5E7EB;--b2:#D1D5DB;--bg:#F9FAFB;--danger:#DC2626;--ok:#047857;
	--navy:var(--a);--navy-deep:var(--a-dark);--hairline:var(--b);--text:var(--t);--muted:var(--m);--section-bg:var(--bg);
	--shadow:0 1px 2px rgba(16,24,40,.05);
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	color:var(--t);font-size:14px;
}
.wp-admin .ecc-admin h1{font-size:24px;font-weight:700;letter-spacing:-.01em}
.wp-admin .ecc-admin h2{font-size:16px;letter-spacing:-.005em}
.wp-admin .ecc-admin h3{font-size:14px}
.wp-admin .ecc-admin a{color:var(--a)}
.wp-admin .ecc-admin [hidden]{display:none!important}

/* buttons */
.wp-admin .ecc-admin .button,.wp-admin .ecc-admin button.button,.wp-admin .ecc-admin a.button{
	display:inline-flex!important;align-items:center;justify-content:center;gap:6px;height:38px;min-height:0!important;line-height:1!important;
	padding:0 15px!important;border-radius:10px!important;border:1px solid var(--b)!important;background:#fff!important;color:var(--t)!important;
	font-size:13.5px!important;font-weight:600!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important;text-decoration:none!important;
	white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s,transform .05s;vertical-align:middle;width:auto}
.wp-admin .ecc-admin .button:hover{background:var(--bg)!important;border-color:var(--b2)!important;color:var(--t)!important}
.wp-admin .ecc-admin .button:active{transform:translateY(1px)}
.wp-admin .ecc-admin .button:focus-visible{outline:none!important;box-shadow:0 0 0 3px var(--a-ring)!important}
.wp-admin .ecc-admin .button .dashicons{font-size:17px;width:17px;height:17px;margin:0!important;line-height:1}
.wp-admin .ecc-admin .button-primary,.wp-admin .ecc-admin .button.button-primary{background:var(--a)!important;border-color:var(--a)!important;color:#fff!important;box-shadow:0 1px 2px rgba(79,70,229,.35)!important}
.wp-admin .ecc-admin .button-primary:hover{background:var(--a-dark)!important;border-color:var(--a-dark)!important;color:#fff!important}
.wp-admin .ecc-admin .button-small{height:30px;padding:0 10px!important;font-size:12.5px!important;border-radius:8px!important;gap:4px}
.wp-admin .ecc-admin .button-small .dashicons{font-size:15px;width:15px;height:15px}
.wp-admin .ecc-admin .button-hero{height:42px;padding:0 20px!important;font-size:14px!important}
.wp-admin .ecc-admin .button.disabled,.wp-admin .ecc-admin .button:disabled{opacity:.5!important;cursor:not-allowed!important;transform:none}
.wp-admin .ecc-admin .button-link{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;height:auto;color:var(--a)!important;font-weight:600;cursor:pointer}
.wp-admin .ecc-admin .ecc-btn-del,.wp-admin .ecc-admin .ecc-cws-del{color:var(--danger)!important;border-color:#FECACA!important}
.wp-admin .ecc-admin .ecc-btn-del:hover,.wp-admin .ecc-admin .ecc-cws-del:hover{background:#FEF2F2!important;border-color:#FCA5A5!important}

/* fields */
.wp-admin .ecc-admin input[type=text],.wp-admin .ecc-admin input[type=email],.wp-admin .ecc-admin input[type=tel],.wp-admin .ecc-admin input[type=number],
.wp-admin .ecc-admin input[type=date],.wp-admin .ecc-admin input[type=url],.wp-admin .ecc-admin input[type=search],.wp-admin .ecc-admin input[type=password],.wp-admin .ecc-admin select{
	height:40px;min-height:40px;padding:0 12px;border:1px solid var(--b2);border-radius:10px;background-color:#fff;font-size:14px;color:var(--t);box-shadow:none;line-height:1.2}
.wp-admin .ecc-admin select{padding-right:32px}
.wp-admin .ecc-admin textarea{padding:10px 12px;border:1px solid var(--b2);border-radius:10px;font-size:14px;line-height:1.5;color:var(--t);box-shadow:none}
.wp-admin .ecc-admin input::placeholder,.wp-admin .ecc-admin textarea::placeholder{color:#9CA3AF}
.wp-admin .ecc-admin input:focus,.wp-admin .ecc-admin select:focus,.wp-admin .ecc-admin textarea:focus{border-color:var(--a)!important;box-shadow:0 0 0 3px var(--a-ring)!important;outline:none!important}
.wp-admin .ecc-admin input[readonly]{background:#F3F4F6;color:var(--t2)}
.wp-admin .ecc-admin fieldset[disabled] input,.wp-admin .ecc-admin fieldset[disabled] select,.wp-admin .ecc-admin fieldset[disabled] textarea{background:#F3F4F6;color:var(--t2);cursor:not-allowed}
.wp-admin .ecc-admin .ecc-fl > span,.wp-admin .ecc-admin .ecc-fl-t{font-size:13px;font-weight:600;color:var(--t2)}
.wp-admin .ecc-admin .ecc-fl small,.wp-admin .ecc-admin .description{color:var(--m);font-size:12.5px}
.wp-admin .ecc-admin .ecc-combo-tg{border-left:1px solid var(--b)!important;border-radius:0 10px 10px 0!important;color:var(--m)}
.wp-admin .ecc-admin .ecc-combo-tg:hover{color:var(--a);background:var(--a-soft)}

/* cards & sections */
.wp-admin .ecc-admin .ecc-sec,.wp-admin .ecc-admin .ecc-card,.wp-admin .ecc-admin .ecc-cws-form,.wp-admin .ecc-admin .ecc-settings,.wp-admin .ecc-admin .ecc-stat{
	background:#fff;border:1px solid var(--b);border-radius:14px;box-shadow:var(--shadow)}
.wp-admin .ecc-admin .ecc-sec{padding:20px 22px}
.wp-admin .ecc-admin .ecc-sec-h{gap:12px;margin-bottom:16px}
.wp-admin .ecc-admin .ecc-sec-ico{width:36px;height:36px;border-radius:10px;background:var(--a-soft)!important;color:var(--a)!important;display:inline-flex;align-items:center;justify-content:center;font-size:18px;box-shadow:none}
.wp-admin .ecc-admin .ecc-sec-h h2{margin:0;font-size:16px}
.wp-admin .ecc-admin .ecc-sec-h p{margin:2px 0 0;color:var(--m);font-size:13px}
.wp-admin .ecc-admin .ecc-head{border-bottom:0;margin:18px 0 18px;padding-bottom:0}
.wp-admin .ecc-admin .ecc-head-icon{background:var(--a);border-radius:12px;box-shadow:0 4px 12px -4px rgba(79,70,229,.5)}
.wp-admin .ecc-admin table.widefat{border:1px solid var(--b);border-radius:14px;box-shadow:var(--shadow)}
.wp-admin .ecc-admin table.widefat th{background:var(--bg);color:var(--m);font-size:11.5px;letter-spacing:.04em}
.wp-admin .ecc-admin table.widefat td{font-size:13.5px;vertical-align:middle}
.wp-admin .ecc-admin table.widefat tbody tr:hover{background:#FAFAFF}

/* badges (status) — dotted, like the example */
.wp-admin .ecc-admin .ecc-pill,.ecc-cws .ecc-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap}
.wp-admin .ecc-admin .ecc-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.wp-admin .ecc-admin .ecc-pill-draft{background:#F3F4F6;color:#4B5563}
.wp-admin .ecc-admin .ecc-pill-issued{background:var(--a-soft);color:var(--a-dark)}
.wp-admin .ecc-admin .ecc-pill-accepted{background:#ECFDF5;color:var(--ok)}
.wp-admin .ecc-admin .ecc-pill-with_agent,.wp-admin .ecc-admin .ecc-pill-agent_declined{background:#FFFBEB;color:#B45309}
.wp-admin .ecc-admin .ecc-pill-revoked{background:#FEF2F2;color:var(--danger)}

/* tabs — Settings tabs and the employee page tabs as a segmented control */
.wp-admin .ecc-admin .ecc-tabs{gap:6px!important;background:var(--bg);border:1px solid var(--b);border-radius:12px;padding:5px!important;margin-bottom:6px}
.wp-admin .ecc-admin .ecc-tab{border:0!important;background:transparent!important;color:var(--m)!important;border-radius:8px!important;height:36px;padding:0 14px!important;display:inline-flex!important;align-items:center;gap:6px;font-size:13.5px!important;font-weight:600!important;box-shadow:none!important}
.wp-admin .ecc-admin .ecc-tab:hover{color:var(--t)!important;background:#fff!important}
.wp-admin .ecc-admin .ecc-tab.is-active{background:#fff!important;color:var(--a)!important;box-shadow:0 1px 3px rgba(16,24,40,.10)!important}
.wp-admin .ecc-admin .ecc-tab .dashicons{font-size:16px;width:16px;height:16px}
.wp-admin .ecc-admin .ecc-etabs{display:inline-flex;gap:4px;background:#F3F4F6;border:1px solid var(--b);border-radius:12px;padding:4px;margin:6px 0 20px}
.wp-admin .ecc-admin .ecc-etab-b{height:38px;border:0;border-radius:9px;padding:0 16px;margin:0;color:var(--m);font-size:14px}
.wp-admin .ecc-admin .ecc-etab-b.is-on{background:#fff;color:var(--t);box-shadow:0 1px 3px rgba(16,24,40,.12)}
.wp-admin .ecc-admin .ecc-etab-b.is-on .dashicons{color:var(--a)}
.wp-admin .ecc-admin .ecc-etab-b i{background:var(--a-soft);color:var(--a)}

/* contracts workspace polish */
.wp-admin .ecc-admin .ecc-cws{grid-template-columns:320px minmax(0,1fr);gap:22px}
.wp-admin .ecc-admin .ecc-cws-sh h2{font-size:18px}
.wp-admin .ecc-admin .ecc-cws-card{border:1px solid var(--b);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow);cursor:default;transition:border-color .15s,box-shadow .15s,transform .15s}
.wp-admin .ecc-admin .ecc-cws-card:hover{border-color:#C7D2FE;box-shadow:0 6px 18px rgba(17,24,39,.07);transform:translateY(-1px)}
.wp-admin .ecc-admin .ecc-cws-card.is-active{border-color:var(--a);box-shadow:0 0 0 3px var(--a-ring)}
.wp-admin .ecc-admin .ecc-cws-ct b{font-size:15px}
.wp-admin .ecc-admin .ecc-cws-cl{color:var(--t2)}
.wp-admin .ecc-admin .ecc-cws-cl .dashicons{color:#9CA3AF}
.wp-admin .ecc-admin .ecc-cws-cb{border-top:1px solid #F3F4F6;padding-top:10px;margin-top:10px}
.wp-admin .ecc-admin .ecc-cws-form{padding:26px 28px}
.wp-admin .ecc-admin .ecc-cws-fh h2{font-size:22px;font-weight:700}
.wp-admin .ecc-admin .ecc-cws-sec{border-top:1px solid var(--b);padding-top:20px;margin-top:20px}
.wp-admin .ecc-admin .ecc-cws-sec h3{display:flex;align-items:center;gap:8px;font-size:15px;text-transform:none;letter-spacing:0;color:var(--t);margin-bottom:14px}
.wp-admin .ecc-admin .ecc-cws-sec h3::before{content:"";width:4px;height:16px;border-radius:2px;background:var(--a)}
.wp-admin .ecc-admin .ecc-cws-form .ecc-fgrid{gap:14px 18px}
.wp-admin .ecc-admin .ecc-cws-info{background:var(--a-soft);border-color:#C7D2FE;color:#3730A3}
.wp-admin .ecc-admin .ecc-cws-lock{background:#ECFDF5;border-color:#A7F3D0;color:#065F46}
.wp-admin .ecc-admin .ecc-cws-warn{background:#FFFBEB;border-color:#FDE68A;color:#92400E}
.wp-admin .ecc-admin .ecc-cws-btns{position:sticky;bottom:0;background:linear-gradient(to top,#fff 75%,rgba(255,255,255,0));padding:16px 0 4px;margin-bottom:-4px;z-index:2}
.wp-admin .ecc-admin .ecc-refparts input,.wp-admin .ecc-admin .ecc-cid-code input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13.5px}
.wp-admin .ecc-admin .ecc-refprev code,.wp-admin .ecc-admin .ecc-cid-out{background:var(--a-soft);color:var(--a-dark)}
.wp-admin .ecc-admin .ecc-refparts i{color:#9CA3AF}

/* notices & toasts */
.wp-admin .ecc-admin .notice{border-radius:12px;border:1px solid var(--b);border-left-width:4px;box-shadow:var(--shadow)}
.ecc-toast{border-radius:12px!important;box-shadow:0 10px 30px -10px rgba(17,24,39,.35)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
.ecc-modal-box{border-radius:16px!important}
/* v88 — sizes win over the element-specific base rule */
.wp-admin .ecc-admin a.button-small,.wp-admin .ecc-admin button.button-small,.wp-admin .ecc-admin span.button-small{height:30px;padding:0 10px!important;font-size:12.5px!important;border-radius:8px!important}
.wp-admin .ecc-admin a.button-hero,.wp-admin .ecc-admin button.button-hero{height:42px;padding:0 20px!important;font-size:14px!important}
.wp-admin .ecc-admin .ecc-cws-del{padding:0 8px!important}
/* All Contracts: filters as chips, tidy table */
.wp-admin .ecc-admin .ecc-listbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.wp-admin .ecc-admin .ecc-filters{display:flex;gap:6px;flex-wrap:wrap;flex:1}
.wp-admin .ecc-admin .ecc-filters a{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--b);background:#fff;color:var(--m);font-size:13px;font-weight:600;text-decoration:none}
.wp-admin .ecc-admin .ecc-filters a:hover{color:var(--t);border-color:var(--b2)}
.wp-admin .ecc-admin .ecc-filters a.on{background:var(--t);border-color:var(--t);color:#fff}
.wp-admin .ecc-admin .ecc-listbar input[type=search]{min-width:260px}
.wp-admin .ecc-admin table.widefat td a{text-decoration:none;font-weight:600}
.wp-admin .ecc-admin table.widefat td:nth-child(2){white-space:nowrap}
.wp-admin .ecc-admin .ecc-stat{padding:16px 18px}
.wp-admin .ecc-admin .ecc-stat-label{font-size:12.5px;color:var(--m);font-weight:600}
.wp-admin .ecc-admin .ecc-stat-value{font-size:28px;letter-spacing:-.02em}
.wp-admin .ecc-admin .ecc-actbtns{gap:6px}
.wp-admin .ecc-admin a.ecc-btn-del,.wp-admin .ecc-admin a.ecc-cws-del{color:var(--danger)!important;border-color:#FECACA!important}
.wp-admin .ecc-admin a.ecc-btn-del:hover,.wp-admin .ecc-admin a.ecc-cws-del:hover{background:#FEF2F2!important;border-color:#FCA5A5!important}
.wp-admin .ecc-admin .ecc-settings{padding:0;overflow:hidden}
.wp-admin .ecc-admin .ecc-settings > .ecc-tabs{border-radius:0;border-width:0 0 1px;background:var(--bg);padding:10px!important;margin:0}
.wp-admin .ecc-admin .ecc-tab-panel{padding:22px 24px}
.wp-admin .ecc-admin .ecc-rep-table th{background:var(--bg)}
.wp-admin .ecc-admin input:not([type]){height:40px;padding:0 12px;border:1px solid var(--b2);border-radius:10px;background:#fff;font-size:14px;color:var(--t);box-shadow:none}
.wp-admin .ecc-admin hr.wp-header-end{border:0;margin:0;height:0}
.wp-admin .ecc-admin .ecc-verify-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.wp-admin .ecc-admin .ecc-verify-form input{min-width:280px}
/* =====================================================================
   v89 — employee page like the example: one white panel, segmented tabs
   (active = indigo), colourful contract cards, form footer bar.
   ===================================================================== */
.wp-admin .ecc-admin .ecc-epanel{background:#fff;border:1px solid var(--b);border-radius:18px;box-shadow:0 1px 3px rgba(16,24,40,.06);padding:22px 24px 26px;margin-top:4px}
.wp-admin .ecc-admin .ecc-etabs{display:flex;width:max-content;max-width:100%;gap:4px;padding:4px;margin:0 0 22px;background:#fff;border:1px solid var(--b);border-radius:12px;box-shadow:0 1px 2px rgba(17,24,39,.05)}
.wp-admin .ecc-admin .ecc-etab-b{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 20px;border:0;border-radius:9px;background:transparent;color:#4B5563;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s;margin:0}
.wp-admin .ecc-admin .ecc-etab-b .dashicons{font-size:18px;width:18px;height:18px;color:inherit!important}
.wp-admin .ecc-admin .ecc-etab-b:hover:not(.is-on){background:var(--bg);color:var(--t)}
.wp-admin .ecc-admin .ecc-etab-b.is-on{background:var(--a);color:#fff;box-shadow:0 2px 8px rgba(79,70,229,.35)}
.wp-admin .ecc-admin .ecc-etab-b i{font-style:normal;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 6px;font-size:11.5px;background:var(--a-soft);color:var(--a)}
.wp-admin .ecc-admin .ecc-etab-b.is-on i{background:rgba(255,255,255,.22);color:#fff}
/* inside the white panel: sections are flat, separated by hairlines */
.wp-admin .ecc-admin .ecc-epanel .ecc-sec{box-shadow:none;border-color:#EEF0F4;background:#fff}
.wp-admin .ecc-admin .ecc-epanel .ecc-clayout{margin:0}
/* contracts workspace inside the panel */
.wp-admin .ecc-admin .ecc-epanel .ecc-cws{grid-template-columns:300px minmax(0,1fr);gap:24px}
.wp-admin .ecc-admin .ecc-cws-side{background:var(--bg);border:1px solid #EEF0F4;border-radius:14px;padding:14px;top:40px}
.wp-admin .ecc-admin .ecc-cws-sh h2{display:flex;align-items:center;gap:8px;font-size:16px}
.wp-admin .ecc-admin .ecc-cws-ico{width:30px;height:30px;border-radius:9px;background:var(--a-soft);color:var(--a);display:inline-flex!important;align-items:center;justify-content:center;font-size:17px}
.wp-admin .ecc-admin .ecc-cws-none{background:#fff}
.wp-admin .ecc-admin .ecc-cwc{display:flex;flex-direction:column;gap:6px;padding:13px 14px;background:#fff;border:1.5px solid var(--b);border-radius:12px;box-shadow:0 1px 2px rgba(17,24,39,.04);transform:none}
.wp-admin .ecc-admin .ecc-cwc:hover{border-color:#C7D2FE;transform:none}
.wp-admin .ecc-admin .ecc-cwc.is-active{border-color:var(--a);background:linear-gradient(180deg,#fff 0%,var(--a-soft) 100%);box-shadow:0 6px 16px rgba(79,70,229,.14)}
.ecc-cwc-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.ecc-cwc-no{font-size:14px;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.2px;color:#111827;overflow:hidden;text-overflow:ellipsis}
.ecc-cwc-amt{font-size:15px;font-weight:700;color:#4338CA;white-space:nowrap;font-variant-numeric:tabular-nums}
.ecc-cwc-kind{align-self:flex-start;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.2px;background:#F3F4F6;color:#4B5563}
.ecc-cwc-kind.is-green{background:#ECFDF5;color:#047857}
.ecc-cwc-kind.is-indigo{background:#EEF2FF;color:#4338CA}
.ecc-cwc-kind.is-sky{background:#E0F2FE;color:#0369A1}
.ecc-cwc-kind.is-amber{background:#FEF3C7;color:#92400E}
.ecc-cwc-kind.is-orange{background:#FFF7ED;color:#C2410C}
.ecc-cwc-kind.is-pink{background:#FDF2F8;color:#BE185D}
.ecc-cwc-line{display:flex;align-items:flex-start;gap:6px;font-size:12.5px;line-height:1.4;color:#4B5563}
.ecc-cwc-line .dashicons{flex:0 0 15px;font-size:15px;width:15px;height:15px;margin-top:1px;color:#9CA3AF}
.ecc-cwc-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px}
.ecc-cwc-foot .ecc-pill{display:none}
.ecc-cwc-st{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}
.ecc-cwc-st.is-wait{color:#92400E;background:#FEF3C7}
.ecc-cwc-st.is-ok{color:#047857;background:#ECFDF5}
.ecc-cwc-st.is-draft{color:#4B5563;background:#F3F4F6}
.wp-admin .ecc-admin .ecc-cwc-acts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin-top:6px;padding-top:10px;border-top:1px dashed var(--b)}
.wp-admin .ecc-admin .ecc-cwc-acts .button{width:100%!important;justify-content:center;padding:0 6px!important;gap:3px}
.wp-admin .ecc-admin .ecc-cwc-acts .ecc-cws-del{width:34px!important;justify-self:end}
.wp-admin .ecc-admin .ecc-cwc.is-active .ecc-cws-edit{border-color:var(--a)!important;color:var(--a-dark)!important;background:#fff!important}
/* the form: no second card inside the panel, footer bar like the example */
.wp-admin .ecc-admin .ecc-epanel .ecc-cws-form{border:0;box-shadow:none;padding:4px 0 0;border-radius:0}
.wp-admin .ecc-admin .ecc-epanel .ecc-cws-btns{background:var(--bg);border:1px solid #EEF0F4;border-radius:12px;padding:14px 16px;margin-top:22px;position:sticky;bottom:12px;box-shadow:0 -4px 16px rgba(17,24,39,.04)}
.wp-admin .ecc-admin .ecc-cws-new{gap:4px}
@media (max-width:1100px){.wp-admin .ecc-admin .ecc-epanel .ecc-cws{grid-template-columns:1fr}}
.wp-admin .ecc-admin .ecc-cwc-foot .ecc-pill{display:none}
/* v90: work permit downloadable once the agent has signed */
.ecc-permit-tag.is-ok{background:#ECFDF5!important;color:#047857!important}
.ecc-permit-dl{display:inline-flex!important;align-items:center;gap:8px}
.ecc-permit-free{user-select:auto}
.ecc-permit-free .ecc-permit-page{pointer-events:auto}
.ecc-permit-free{display:flex;flex-direction:column;gap:14px;background:#EEF0F6;border-radius:12px;padding:14px}
/* v91: work permit & additional documents */
.ecc-dm{border:1px solid #E5E7EB;border-radius:12px;padding:10px 12px;margin:0 0 10px;background:#fff}
.ecc-dm-h{display:flex;gap:10px;align-items:flex-start}
.ecc-dm-ico{width:34px!important;height:34px!important;border-radius:9px;background:#FEF2F2;color:#DC2626;display:inline-flex!important;align-items:center;justify-content:center;font-size:18px!important;flex:none}
.ecc-dm-t{min-width:0}
.ecc-dm-t b{display:block;font-size:13.5px;color:#111827}
.ecc-dm-t small{display:block;font-size:12px;color:#6B7280;word-break:break-all}
.ecc-dm-s{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#374151;margin:8px 0}
.ecc-dm-s span{background:#F3F4F6;border-radius:999px;padding:2px 9px}
.ecc-dm .ecc-permit-btns{display:flex;gap:6px;flex-wrap:wrap}
.ecc-dm-add{border:1px dashed #C7D2FE;border-radius:12px;padding:12px;background:#FAFAFF;margin:4px 0 10px}
.ecc-dm-add-h{display:block;font-size:13px;margin-bottom:8px}
.ecc-dm-add .ecc-fl{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}
.ecc-dm-add .ecc-fl > span{font-size:12.5px;font-weight:600}
.ecc-dm-add .ecc-combo,.ecc-dm-add .ecc-combo input{width:100%;box-sizing:border-box}
/* portal: one fold-out per document */
.ecc-pdoc{border:1px solid var(--ecc-line,#E5E7EB);border-radius:12px;margin:0 0 10px;background:#fff;overflow:hidden}
.ecc-pdoc > summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;list-style:none}
.ecc-pdoc > summary::-webkit-details-marker{display:none}
.ecc-pdoc > summary::after{content:"▾";margin-left:6px;color:#9CA3AF;transition:transform .2s}
.ecc-pdoc[open] > summary::after{transform:rotate(180deg)}
.ecc-pdoc-ico{font-size:20px}
.ecc-pdoc-t{flex:1;min-width:0;display:flex;flex-direction:column}
.ecc-pdoc-t b{font-size:14px}
.ecc-pdoc-t small{font-size:12px;color:#6B7280}
.ecc-pdoc .ecc-permit,.ecc-pdoc .ecc-permit-free{border-radius:0;margin:0}
/* v92: a chosen file waits for the Upload button */
.ecc-pstage{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border:1.5px solid #C7D2FE;background:#F5F7FF;border-radius:12px;animation:eccIn .2s ease}
@keyframes eccIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.ecc-pstage-ico{flex:none;width:38px;height:44px;border-radius:6px;background:#DC2626;color:#fff;font-size:10.5px;font-weight:800;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px;box-sizing:border-box;letter-spacing:.5px}
.ecc-pstage-t{flex:1;min-width:140px;display:flex;flex-direction:column}
.ecc-pstage-t b{font-size:13px;word-break:break-all;color:#111827}
.ecc-pstage-t small{font-size:12px;color:#4B5563}
.ecc-pstage-b{display:flex;gap:6px}
/* v94: Settings → Portal summary */
.ecc-psum-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(460px,1fr));gap:16px}
@media (max-width:1000px){.ecc-psum-grid{grid-template-columns:1fr}}
.ecc-psum-h{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}
.ecc-psum-h .dashicons{width:34px;height:34px;border-radius:10px;background:#EEF2FF;color:#4F46E5;display:inline-flex;align-items:center;justify-content:center;font-size:18px}
.ecc-psum-h h3{margin:0;font-size:15px}
.ecc-psum-h p{margin:2px 0 0;color:#6B7280;font-size:12.5px}
.ecc-psum .ecc-vrow{grid-template-columns:auto auto minmax(90px,1fr) minmax(130px,1.1fr) auto}
.ecc-psum .ecc-vrow:has(.ecc-vrow-text:not([hidden])){grid-template-columns:auto auto minmax(80px,.8fr) minmax(110px,1fr) minmax(130px,1.3fr) auto}
/* v95: work schedule — days + hours */
.ecc-sched{display:flex;flex-direction:column;gap:10px;border:1px solid #E5E7EB;border-radius:12px;padding:12px 14px;background:#FAFAFB}
.ecc-sched-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ecc-sched-l{width:52px;font-size:12.5px;font-weight:600;color:#6B7280}
.ecc-sched-days{display:flex;gap:6px;flex-wrap:wrap}
.ecc-sched-d{height:36px;min-width:48px;padding:0 10px;border-radius:9px;border:1px solid #D1D5DB;background:#fff;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.ecc-sched-d:hover{border-color:#A5B4FC}
.ecc-sched-d[aria-pressed=true]{background:#4F46E5;border-color:#4F46E5;color:#fff;box-shadow:0 1px 3px rgba(79,70,229,.35)}
.ecc-sched-quick{font-size:12.5px;color:#9CA3AF}
.ecc-sched-quick .button-link{font-size:12.5px!important}
.ecc-sched-t{display:flex;flex-direction:column;gap:3px}
.ecc-sched-t small{font-size:11.5px;color:#6B7280;font-weight:600}
.ecc-sched-t select{min-width:130px}
.ecc-sched-to{padding-top:16px;color:#9CA3AF;font-weight:700}
.ecc-sched-out{margin:0;font-size:12.5px;color:#4B5563}
.ecc-sched-out b{color:#3730A3}
/* v96: company offices */
.ecc-offices{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;margin:6px 0 12px}
.ecc-office{background:#fff;border:1px solid #E5E7EB;border-left:4px solid #4F46E5;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.ecc-office.is-branch{border-left-color:#0EA5E9}
.ecc-office-h{display:flex;align-items:center;gap:8px}
.ecc-office-ico{width:32px!important;height:32px!important;border-radius:9px;background:#EEF2FF;color:#4F46E5;display:inline-flex!important;align-items:center;justify-content:center;font-size:17px!important}
.ecc-office.is-branch .ecc-office-ico{background:#E0F2FE;color:#0369A1}
.ecc-office-type{flex:1}
.ecc-office-del{color:#B91C1C!important;display:inline-flex;align-items:center;gap:2px;text-decoration:none!important;font-size:12.5px}
.ecc-office .ecc-fl{display:flex;flex-direction:column;gap:4px}
.ecc-office .ecc-fl > span{font-size:12px;font-weight:600;color:#6B7280}
.ecc-office textarea,.ecc-office input[type=text]{width:100%;box-sizing:border-box}
.ecc-office-def{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600}
.ecc-offpick{display:flex;flex-direction:column;gap:8px}
.ecc-offpick-o{display:flex;align-items:center;gap:10px;border:1.5px solid #E5E7EB;border-radius:10px;padding:10px 12px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.ecc-offpick-o:has(input:checked){border-color:#4F46E5;background:#F5F7FF}
.ecc-offpick-o input{margin:0}
.ecc-offpick-b{flex:none;font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 9px;background:#EEF2FF;color:#4338CA}
.ecc-offpick-o.is-branch .ecc-offpick-b{background:#E0F2FE;color:#0369A1}
.ecc-offpick-a{font-size:13px;color:#111827}
.wp-admin .ecc-admin .ecc-office-del{color:#B91C1C!important}.wp-admin .ecc-admin textarea{font-family:inherit}
/* v97: show the word per office */
.ecc-offpick-o{justify-content:space-between;flex-wrap:wrap}
.ecc-offpick-m{display:flex;align-items:center;gap:10px;flex:1;min-width:240px;cursor:pointer}
.ecc-offpick-w{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#4B5563;background:#F9FAFB;border:1px solid #E5E7EB;border-radius:999px;padding:4px 10px;cursor:pointer;white-space:nowrap}
.ecc-offpick-w input{margin:0}
.ecc-offpick-o:not(:has(.ecc-offpick-m input:checked)) .ecc-offpick-w{opacity:.45}
.ecc-offpick-o:has(input:checked){border-color:#E5E7EB;background:#fff}.ecc-offpick-o:has(.ecc-offpick-m input:checked){border-color:#4F46E5;background:#F5F7FF}
/* v98: office country */
.ecc-office .ecc-combo,.ecc-office .ecc-combo input{width:100%;box-sizing:border-box}
.ecc-offpick-c{display:none}
.ecc-signer-pos em{font-style:normal;font-weight:400;color:#9CA3AF}.ecc-signer-pos select{width:100%;box-sizing:border-box}.ecc-sigpick-m{color:#4F46E5!important}

/* v100/101 — Notify me of new emails: two choice cards */
.ecc-fwd-card .ecc-fwd-opts{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:12px;margin:2px 0 10px}
@media (max-width:782px){.ecc-fwd-card .ecc-fwd-opts{grid-template-columns:1fr}}
.ecc-fwd-card label.ecc-fwd-opt{position:relative;display:flex!important;align-items:flex-start;gap:12px;margin:0!important;padding:14px 40px 14px 14px;background:#fff;border:1.5px solid #E5E7EB;border-radius:14px;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;line-height:1.4}
.ecc-fwd-card label.ecc-fwd-opt:hover{border-color:#C7D2FE;box-shadow:0 4px 14px rgba(17,24,39,.06)}
.ecc-fwd-card label.ecc-fwd-opt input[type=radio]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
.ecc-fwd-card .ecc-fwd-ico{flex:0 0 40px;width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center}
.ecc-fwd-card .ecc-fwd-ico .dashicons{font-size:20px;width:20px;height:20px}
.ecc-fwd-card .ecc-fwd-a .ecc-fwd-ico{background:#FEF3C7;color:#B45309}
.ecc-fwd-card .ecc-fwd-b .ecc-fwd-ico{background:#E0E7FF;color:#4338CA}
.ecc-fwd-card .ecc-fwd-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.ecc-fwd-card .ecc-fwd-txt b{font-size:14px;color:#111827}
.ecc-fwd-card .ecc-fwd-txt small{font-size:12.5px;color:#6B7280}
.ecc-fwd-card .ecc-fwd-tick{position:absolute;top:12px;right:12px;width:20px;height:20px;border-radius:50%;border:1.5px solid #D1D5DB;background:#fff;display:flex;align-items:center;justify-content:center;transition:all .15s}
.ecc-fwd-card .ecc-fwd-tick .dashicons{font-size:16px;width:16px;height:16px;color:#fff;opacity:0}
.ecc-fwd-card label.ecc-fwd-opt:has(input:checked){border-color:#4F46E5;background:#F5F7FF;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.ecc-fwd-card label.ecc-fwd-opt:has(input:checked) .ecc-fwd-tick{background:#4F46E5;border-color:#4F46E5}
.ecc-fwd-card label.ecc-fwd-opt:has(input:checked) .ecc-fwd-tick .dashicons{opacity:1}
.ecc-fwd-card label.ecc-fwd-opt:has(input:focus-visible){outline:2px solid #6366F1;outline-offset:2px}

/* v103 — notification colour (same picker as Email design) */
.ecc-fwd-card .ecc-fwd-colors{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ecc-fwd-card .ecc-fwd-colors .ecc-ed-color{min-width:170px;margin:0}
.ecc-fwd-card .ecc-fwd-colors .ecc-ed-color code{font-weight:500;color:#6B7280;background:none;padding:0;margin-top:2px;text-transform:uppercase}
.ecc-fwd-card .ecc-fwd-prev{min-width:220px;padding:12px 16px;border-radius:10px;color:#fff;font-weight:700;font-size:14px;box-shadow:0 2px 8px rgba(17,24,39,.08)}

/* ============ v104 — Portal messages (chat) ============ */
#ecc-chat-items{max-height:620px;overflow:auto}
.ecc-av.is-agent{background:#FEF3C7;color:#B45309}
.ecc-chat-kind{display:inline-block;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;padding:2px 7px;border-radius:999px;background:#EEF2FF;color:#4338CA;vertical-align:1px;margin-right:6px}
.ecc-chat-kind.is-agent{background:#FEF3C7;color:#B45309}
.ecc-conv-t b .ecc-chat-kind{margin:0 0 0 4px}

.ecc-chat{--cc:#4F46E5;display:flex;flex-direction:column;height:640px;max-height:calc(100vh - 220px);min-height:440px}
.ecc-chat-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #EEF0F5;background:#fff}
.ecc-chat-head > div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ecc-chat-head b{font-size:15px;color:#111827}
.ecc-chat-head small{color:#6B7280;font-size:12.5px}
.ecc-chat-head .ecc-chat-profile{display:inline-flex;align-items:center;gap:5px}
.ecc-chat-head .ecc-chat-profile .dashicons{font-size:16px;width:16px;height:16px}
.ecc-chat-warn{display:flex;gap:8px;align-items:center;margin:12px 18px 0;padding:10px 12px;border-radius:10px;background:#FFFBEB;color:#92400E;font-size:13px;border:1px solid #FDE68A}
.ecc-chat-thread{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,#F8F9FC,#F3F5FA)}
.ecc-chat-none{margin:auto;max-width:360px;text-align:center;color:#6B7280;font-size:13.5px;line-height:1.55;padding:24px}
.ecc-cb{display:flex}
.ecc-cb.is-me{justify-content:flex-end}
.ecc-cb-in{max-width:min(72%,560px);padding:10px 14px 8px;border-radius:16px;box-shadow:0 1px 2px rgba(17,24,39,.06);position:relative}
.ecc-cb.is-them .ecc-cb-in{background:#fff;border:1px solid #E8EAF1;border-bottom-left-radius:5px;color:#111827}
.ecc-cb.is-me .ecc-cb-in{background:var(--cc);color:#fff;border-bottom-right-radius:5px}
.ecc-cb-text{font-size:14px;line-height:1.5;word-wrap:break-word;overflow-wrap:anywhere}
.ecc-cb.is-me .ecc-cb-text a{color:#fff;text-decoration:underline}
.ecc-cb-meta{display:flex;align-items:center;gap:6px;justify-content:flex-end;margin-top:4px;font-size:11px;opacity:.75}
.ecc-cb.is-them .ecc-cb-meta{justify-content:flex-start;color:#6B7280}
.ecc-cb-seen,.ecc-cb-sent{font-weight:700;letter-spacing:-2px}
.ecc-cb-seen{color:#A7F3D0}
.ecc-cb-del{border:0;background:none;padding:0;margin:0;cursor:pointer;color:inherit;opacity:0;transition:opacity .15s;line-height:1}
.ecc-cb-del .dashicons{font-size:14px;width:14px;height:14px}
.ecc-cb:hover .ecc-cb-del,.ecc-cb-del:focus{opacity:.9}
.ecc-cb.is-new .ecc-cb-in{animation:eccCbIn .25s ease-out}
@keyframes eccCbIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.ecc-chat-form{display:flex;align-items:flex-end;gap:10px;padding:12px 14px 4px;border-top:1px solid #EEF0F5;background:#fff;margin:0}
.ecc-chat-form textarea{flex:1;resize:none;min-height:46px;max-height:160px;padding:11px 14px!important;border:1.5px solid #E1E4EE!important;border-radius:14px!important;font-family:inherit;font-size:14px;line-height:1.45;box-shadow:none!important;background:#F9FAFB}
.ecc-chat-form textarea:focus{border-color:var(--cc)!important;background:#fff;outline:0}
.ecc-chat-send{display:inline-flex;align-items:center;gap:7px;height:46px;padding:0 18px;border:0;border-radius:14px;background:var(--cc);color:#fff;font-family:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;transition:filter .15s,transform .1s;white-space:nowrap}
.ecc-chat-send:hover{filter:brightness(1.08)}
.ecc-chat-send:active{transform:scale(.97)}
.ecc-chat-send[disabled]{opacity:.7;cursor:default}
.ecc-chat-send.is-done{background:#16A34A}
.ecc-chat-hint{margin:0;padding:0 16px 10px;background:#fff;color:#9CA3AF;font-size:11.5px}

/* portal */
.ecc-app .ecc-chat{--cc:var(--navy,#4F46E5)}
.ecc-pchat{padding:0!important;overflow:hidden;margin-top:16px}
.ecc-pchat .ecc-chat{height:600px;max-height:calc(100vh - 230px);min-height:420px}
.ecc-top-r{display:flex;align-items:center;gap:14px}
.ecc-bell{position:relative}
@keyframes eccRing{0%,60%,100%{transform:rotate(0)}64%{transform:rotate(14deg)}70%{transform:rotate(-12deg)}76%{transform:rotate(9deg)}82%{transform:rotate(-6deg)}88%{transform:rotate(3deg)}}
@media (prefers-reduced-motion:reduce){.ecc-bell.has-new .ecc-bell-btn svg{animation:none}}
.ecc-bell-pop{position:absolute;right:0;top:calc(100% + 10px);width:330px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #E5E7EB;border-radius:16px;box-shadow:0 18px 40px rgba(17,24,39,.16);z-index:50;overflow:hidden}
.ecc-bell-pop::before{content:"";position:absolute;top:-6px;right:15px;width:12px;height:12px;background:#fff;border-left:1px solid #E5E7EB;border-top:1px solid #E5E7EB;transform:rotate(45deg)}
.ecc-bell-h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid #F1F2F6}
.ecc-bell-h b{font-size:14px;color:var(--text,#111827)}
.ecc-bell-h span{font-size:11.5px;font-weight:700;color:var(--navy,#4F46E5);background:color-mix(in srgb,var(--navy,#4F46E5) 10%,#fff);padding:3px 9px;border-radius:999px}
.ecc-bell-list{max-height:320px;overflow:auto}
.ecc-bell-item{display:flex;gap:10px;padding:11px 16px;text-decoration:none!important;color:inherit;border-bottom:1px solid #F5F6F9;transition:background .12s}
.ecc-bell-item:hover{background:#F9FAFB}
.ecc-bell-item.is-new{background:color-mix(in srgb,var(--navy,#4F46E5) 5%,#fff)}
.ecc-bell-ico{flex:0 0 32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--navy,#4F46E5) 12%,#fff);color:var(--navy,#4F46E5)}
.ecc-bell-item > span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.ecc-bell-item b{font-size:13px;color:var(--text,#111827)}
.ecc-bell-item small{font-size:12.5px;color:#4B5563;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ecc-bell-item i{font-style:normal;font-size:11px;color:#9CA3AF}
.ecc-bell-item.is-new b::after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#EF4444;margin-left:6px;vertical-align:1px}
.ecc-bell-none{margin:0;padding:22px 16px;text-align:center;color:#9CA3AF;font-size:13px}
.ecc-bell-all{display:block;padding:12px;text-align:center;font-weight:600;font-size:13px;color:var(--navy,#4F46E5)!important;text-decoration:none!important;background:#FAFBFD}
.ecc-bell-all:hover{background:#F3F4F8}
@media (max-width:640px){.ecc-top-r{gap:8px}.ecc-cb-in{max-width:88%}.ecc-chat-send span{display:none}.ecc-chat-send{padding:0 14px}}

/* v105 — Messages button beside Emails + Messages popup */
.ecc-topbtns{margin-left:auto;align-self:center;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ecc-topbtns .ecc-inbox-btn{margin-left:0}
.ecc-chat-btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border:1px solid #D5D9E6;border-radius:12px;background:#fff;color:#111827;font-family:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 1px 2px rgba(20,25,60,.06);transition:border-color .15s,box-shadow .15s,color .15s}
.ecc-chat-btn:hover{border-color:#4F46E5;color:#4F46E5;box-shadow:0 4px 14px rgba(79,70,229,.12)}
.ecc-chat-btn:focus-visible{outline:2px solid #4F46E5;outline-offset:2px}
.ecc-chat-btn .dashicons{color:#4F46E5}
.ecc-chat-btn em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:20px;background:#D04848;color:#fff;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.ecc-chat-btn em:empty,.ecc-chat-btn em[hidden]{display:none}
.ecc-chatbox .ecc-inbox-tools select{height:36px;border:1px solid #D5D9E6;border-radius:10px;padding:0 30px 0 12px;font-size:13px;min-width:230px}
.ecc-chatbox .ecc-inbox-list{padding:0}
.ecc-chatbox #ecc-chat-items{max-height:none}
.ecc-chatbox .ecc-inbox-pane{overflow:hidden}
.ecc-chatbox .ecc-chat{height:100%;max-height:none;min-height:0}
.ecc-chatbox .ecc-inbox-pane > .ecc-msgs-empty{flex:1}
.ecc-chatbox a.ecc-conv{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #EEF0F5;color:#111827;text-decoration:none!important;transition:background-color .12s}
.ecc-chatbox a.ecc-conv:hover{background:#F7F8FB}
.ecc-chatbox a.ecc-conv.is-active{background:#EEEEFC;box-shadow:inset 3px 0 0 #4F46E5}
.ecc-chatbox .ecc-conv-t small,.ecc-chatbox .ecc-conv-m small{color:#6B7280}
.ecc-chatbox .ecc-conv.is-unread .ecc-conv-t small{color:#111827}
.ecc-chatbox .ecc-chat-head a.button{text-decoration:none}

/* v106 — notification bell: your design + colours, safe from theme button styles */
.ecc-bell{--bell-c:var(--navy,#4F46E5);--bell-bg:#fff;--bell-n:#EF4444;--bell-nt:#fff}
.ecc-bell .ecc-bell-btn,.ecc-app .ecc-bell button.ecc-bell-btn{all:unset;box-sizing:border-box!important;position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:50%!important;border:1px solid color-mix(in srgb,var(--bell-c) 22%,#E5E7EB)!important;background:var(--bell-bg)!important;color:var(--bell-c)!important;cursor:pointer;box-shadow:0 2px 8px rgba(17,24,39,.06)!important;transition:transform .15s,box-shadow .15s!important;text-decoration:none!important;line-height:1!important}
.ecc-bell .ecc-bell-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px color-mix(in srgb,var(--bell-c) 22%,transparent)!important}
.ecc-bell .ecc-bell-btn:focus-visible{outline:2px solid var(--bell-c)!important;outline-offset:2px!important}
.ecc-bell .ecc-bell-btn svg{display:block!important;width:21px!important;height:21px!important;color:var(--bell-c)!important;stroke:currentColor!important;flex:none}
.ecc-bell.has-new .ecc-bell-btn svg{animation:eccRing 2.4s ease-in-out infinite;transform-origin:50% 4px}
.ecc-bell .ecc-bell-n{position:absolute!important;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--bell-n)!important;color:var(--bell-nt)!important;font-family:inherit;font-size:11px;font-weight:700;font-style:normal;line-height:20px;text-align:center;box-shadow:0 0 0 2px #fff;box-sizing:border-box}
.ecc-bell .ecc-bell-n[hidden]{display:none!important}
/* settings: bell chooser */
.ecc-bellpick{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;max-width:620px}
.ecc-bellopt{display:flex!important;flex-direction:column;align-items:center;gap:6px;padding:12px 6px 10px;border:1.5px solid #E5E7EB;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s;margin:0!important}
.ecc-bellopt:hover{border-color:#C7D2FE}
.ecc-bellopt input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
.ecc-bellopt-i{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bell-bg);color:var(--bell-c);border:1px solid color-mix(in srgb,var(--bell-c) 22%,#E5E7EB)}
.ecc-bellopt small{font-size:11.5px;color:#4B5563;text-align:center}
.ecc-bellopt:has(input:checked){border-color:#4F46E5;background:#F5F7FF;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.ecc-bellopt:has(input:checked) small{color:#4338CA;font-weight:700}
.ecc-bellcols{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;max-width:620px}
.ecc-bellprev{display:flex;align-items:center;gap:16px;margin-top:14px;padding:16px 20px;border:1px solid #E4E6F0;border-radius:12px;background:#F5F6FB;max-width:580px}
.ecc-bellprev > span{font-size:12px;font-weight:600;color:#6B7280;text-transform:uppercase;letter-spacing:.04em}
.ecc-bellsub{margin:16px 0 8px;font-size:13px;font-weight:600;color:#374151}

/* v108 — chat: attachments + emojis */
.ecc-chat-form{flex-direction:column;align-items:stretch;gap:8px}
.ecc-chat-row{display:flex;align-items:flex-end;gap:8px}
.ecc-chat-tools{position:relative;display:flex;gap:2px;padding-bottom:5px}
.ecc-chat-emo,.ecc-chat-att{all:unset;box-sizing:border-box;width:36px;height:36px;border-radius:10px;display:inline-flex!important;align-items:center;justify-content:center;color:#6B7280;cursor:pointer;transition:background .15s,color .15s}
.ecc-chat-emo:hover,.ecc-chat-att:hover,.ecc-chat-emo.is-on{background:color-mix(in srgb,var(--cc) 10%,#fff);color:var(--cc)}
.ecc-chat-emo:focus-visible,.ecc-chat-att:focus-within{outline:2px solid var(--cc);outline-offset:1px}
.ecc-chat-emo svg,.ecc-chat-att svg{display:block;width:20px;height:20px}
.ecc-chat-att input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.ecc-emo-pop{position:absolute;bottom:calc(100% + 10px);left:0;width:320px;max-width:calc(100vw - 40px);max-height:300px;overflow:auto;background:#fff;border:1px solid #E5E7EB;border-radius:16px;box-shadow:0 18px 40px rgba(17,24,39,.18);padding:10px;z-index:60}
.ecc-emo-g + .ecc-emo-g{margin-top:8px}
.ecc-emo-g > b{display:block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#9CA3AF;margin:0 4px 4px}
.ecc-emo-g > div{display:grid;grid-template-columns:repeat(8,1fr);gap:2px}
.ecc-emo{all:unset;box-sizing:border-box;height:34px;display:flex!important;align-items:center;justify-content:center;font-size:21px;line-height:1;border-radius:8px;cursor:pointer;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.ecc-emo:hover,.ecc-emo:focus-visible{background:#F3F4F6;transform:scale(1.15)}
.ecc-chat-chips{display:flex;flex-wrap:wrap;gap:8px}
.ecc-chat-chips[hidden]{display:none}
.ecc-chip{display:inline-flex;align-items:center;gap:8px;max-width:260px;padding:6px 8px 6px 6px;border:1px solid #E5E7EB;border-radius:12px;background:#F9FAFB}
.ecc-chip img{width:36px;height:36px;object-fit:cover;border-radius:8px;flex:none}
.ecc-chip-ext{width:36px;height:36px;border-radius:8px;flex:none;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;color:#fff;background:var(--cc)}
.ecc-chip-t{display:flex;flex-direction:column;min-width:0}
.ecc-chip-t b{font-size:12.5px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-chip-t small{font-size:11px;color:#6B7280}
.ecc-chip-x{all:unset;width:22px;height:22px;border-radius:50%;display:flex!important;align-items:center;justify-content:center;color:#6B7280;cursor:pointer;font-size:16px;flex:none}
.ecc-chip-x:hover{background:#FEE2E2;color:#B91C1C}
.ecc-chat.is-drop .ecc-chat-thread{outline:2px dashed var(--cc);outline-offset:-10px;background:color-mix(in srgb,var(--cc) 5%,#fff)}
.ecc-cb-files{display:flex;flex-direction:column;gap:6px;margin-bottom:4px}
.ecc-cb-files + .ecc-cb-text{margin-top:6px}
.ecc-cb-img{display:block;border-radius:12px;overflow:hidden;max-width:280px;line-height:0}
.ecc-cb-img img{display:block;width:100%;height:auto;max-height:260px;object-fit:cover}
.ecc-cb-file{display:flex!important;align-items:center;gap:10px;padding:8px 12px 8px 8px;border-radius:12px;text-decoration:none!important;min-width:200px;max-width:320px}
.ecc-cb.is-them .ecc-cb-file{background:#F3F4F6;color:#111827!important}
.ecc-cb.is-me .ecc-cb-file{background:rgba(255,255,255,.16);color:#fff!important}
.ecc-cb-file:hover{filter:brightness(.97)}
.ecc-cb-ext{width:38px;height:38px;border-radius:9px;flex:none;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;color:#fff;background:#6B7280;letter-spacing:.02em}
.ecc-ext-pdf{background:#DC2626}.ecc-ext-doc,.ecc-ext-docx,.ecc-ext-odt,.ecc-ext-rtf{background:#2563EB}.ecc-ext-xls,.ecc-ext-xlsx,.ecc-ext-ods,.ecc-ext-csv{background:#16A34A}.ecc-ext-ppt,.ecc-ext-pptx{background:#EA580C}.ecc-ext-zip{background:#7C3AED}
.ecc-cb-fn{display:flex;flex-direction:column;min-width:0}
.ecc-cb-fn b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-cb-fn small{font-size:11px;opacity:.75}

/* v109 — Settings → Portal texts */
.ecc-ptx-cards{margin-bottom:16px}
.ecc-ptx-cards h3{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.ecc-ptx-sw{display:flex;flex-wrap:wrap;gap:8px 22px}
.ecc-ptx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:16px;align-items:start}
.ecc-ptx-f{padding:12px 0;border-top:1px solid #EEF0F5}
.ecc-ptx-f:first-of-type{border-top:0}
.ecc-ptx-l{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.ecc-ptx-l label{font-weight:600;color:#111827;font-size:13px}
.ecc-ptx-reset{all:unset;font-size:11.5px;color:#6B7280;cursor:pointer;padding:2px 8px;border-radius:999px}
.ecc-ptx-reset:hover{background:#F3F4F6;color:#4F46E5}
.ecc-ptx-f input[type=text],.ecc-ptx-f textarea{width:100%;max-width:none}
.ecc-ptx-tok{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ecc-ptx-w{all:unset;font:500 11.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;padding:5px 8px;border-radius:7px;background:#EEF2FF;color:#4338CA;cursor:pointer}
.ecc-ptx-w:hover{background:#E0E7FF}
.ecc-ptx-acts{display:flex;align-items:center;gap:4px}
.ecc-ptx-b{all:unset;width:26px;height:24px;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #E1E4EE;border-radius:7px;background:#fff;font:800 13px/1 Georgia,"Times New Roman",serif;color:#111827;cursor:pointer}
.ecc-ptx-b:hover{border-color:#4F46E5;color:#4F46E5;background:#F5F7FF}
.ecc-ptx-b:focus-visible{outline:2px solid #4F46E5;outline-offset:1px}
.ecc-ptx-prev{margin-top:6px;padding:8px 10px;border-radius:8px;background:#F9FAFB;border:1px dashed #E1E4EE;font-size:12.5px;line-height:1.5;color:#374151}
.ecc-ptx-prev::before{content:"Looks like: ";color:#9CA3AF;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.ecc-ptx-prev[hidden]{display:none}
.ecc-ptx-prev b{color:#111827}
.ecc-ptx-prev i{font-style:normal;background:#EEF2FF;color:#4338CA;border-radius:5px;padding:0 5px;font-size:11.5px}
.ecc-ptx-ed{min-height:40px;padding:9px 12px;border:1px solid #D5D9E6;border-radius:10px;background:#fff;font-size:14px;line-height:1.5;color:#111827;outline:0;white-space:pre-wrap;word-wrap:break-word;cursor:text;transition:border-color .15s,box-shadow .15s}
.ecc-ptx-ed.is-multi{min-height:76px}
.ecc-ptx-ed:focus{border-color:#4F46E5;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
.ecc-ptx-ed:empty::before{content:attr(data-ph);color:#9CA3AF}
.ecc-ptx-ed b,.ecc-ptx-ed strong{font-weight:700}

/* v112 — Remove login account button */
.ecc-rmlogin-wrap{margin-top:14px;padding-top:14px;border-top:1px dashed #F1D4D4}
a.ecc-rmlogin{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:11px 14px;border:1.5px solid #F3C5C5;border-radius:12px;background:#FFF7F7;color:#B42318!important;text-decoration:none!important;transition:background .15s,border-color .15s,box-shadow .15s,transform .1s}
a.ecc-rmlogin:hover{background:#FEECEC;border-color:#E5484D;box-shadow:0 4px 14px rgba(229,72,77,.15)}
a.ecc-rmlogin:active{transform:scale(.99)}
a.ecc-rmlogin:focus-visible{outline:2px solid #E5484D;outline-offset:2px}
a.ecc-rmlogin > .dashicons{flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#FEE2E2;color:#D92D20;display:flex;align-items:center;justify-content:center;font-size:18px}
a.ecc-rmlogin > span:last-child{display:flex;flex-direction:column;gap:2px;font-weight:600;font-size:14px}
a.ecc-rmlogin small{font-weight:400;font-size:12px;color:#B54708;opacity:.85}

/* v116 — the clicked button keeps its colour while working; the other button is untouched */
.ecc-admin .button.ecc-busy,.ecc-admin .button.ecc-busy:hover{opacity:1!important;cursor:progress!important;pointer-events:none;filter:none!important}
.ecc-admin .button.ecc-done{pointer-events:none}
.ecc-admin .button-primary.ecc-done,.wrap.ecc-admin .button.button-primary.ecc-done,.wrap.ecc-admin button.button-primary.ecc-done:hover{background:#16A34A!important;border-color:#16A34A!important;color:#fff!important}
.ecc-admin .button:not(.button-primary).ecc-done{border-color:#16A34A!important;color:#15803D!important}
.ecc-pwkept{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#ECFDF3;border:1px solid #ABEFC6;color:#067647;font-size:12.5px;line-height:1.45}
.ecc-pwkept .dashicons{font-size:16px;width:16px;height:16px;margin-top:1px}

/* v119 — interview timing (same for all / each question) */
.ecc-iv-timing{margin:4px 0 12px;padding:12px;border:1px solid #E4E6F0;border-radius:12px;background:#F9FAFC}
.ecc-iv-timing-l{display:block;font-size:12.5px;font-weight:600;color:#374151;margin-bottom:8px}
.ecc-iv-seg{display:flex;gap:4px;padding:3px;border-radius:10px;background:#EEF0F5}
.ecc-iv-seg label{flex:1;margin:0!important;cursor:pointer}
.ecc-iv-seg input{position:absolute;opacity:0;pointer-events:none}
.ecc-iv-seg span{display:block;text-align:center;padding:7px 8px;border-radius:8px;font-size:12.5px;color:#4B5563;transition:background .15s,color .15s,box-shadow .15s}
.ecc-iv-seg input:checked + span{background:#fff;color:#4F46E5;font-weight:600;box-shadow:0 1px 3px rgba(17,24,39,.1)}
.ecc-iv-seg input:focus-visible + span{outline:2px solid #4F46E5;outline-offset:1px}
.ecc-iv-allbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:10px}
.ecc-iv-allbar[hidden]{display:none}
.ecc-iv-allbar label{display:inline-flex;align-items:center;gap:6px;font-size:13px}
.ecc-iv-allbar input{width:70px}
.ecc-iv-allbar small{color:#6B7280}
.ecc-iv-qs.is-all .ecc-iv-q-bar > label{display:none}
.ecc-iv-qs.is-all .ecc-iv-q-bar{justify-content:flex-end}
.ecc-flash{animation:eccFlash 1.6s ease-out}
@keyframes eccFlash{0%,40%{box-shadow:0 0 0 4px rgba(79,70,229,.35)}100%{box-shadow:0 0 0 0 rgba(79,70,229,0)}}

/* ============ v120 — Requests: documents + payment ============ */
.ecc-etab-b i.is-todo{background:#F59E0B!important;color:#fff!important}
.ecc-rq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:18px;align-items:start}
@media (max-width:900px){.ecc-rq-grid{grid-template-columns:1fr}}
.ecc-rq-warn{display:flex;gap:8px;align-items:center;margin:0 0 14px;padding:11px 14px;border-radius:12px;background:#FFFBEB;border:1px solid #FDE68A;color:#92400E;font-size:13px}
.ecc-rq-none{color:#6B7280;font-size:13px;margin:4px 0 14px}
.ecc-rq-docs{display:flex;flex-direction:column;gap:10px;margin:0 0 16px}
.ecc-rq-doc{border:1px solid #E5E7EB;border-radius:14px;padding:12px 14px;background:#fff}
.ecc-rq-doc.is-uploaded{border-color:#FCD34D;background:#FFFDF5}
.ecc-rq-doc.is-verified{border-color:#A7F3D0;background:#F6FEF9}
.ecc-rq-doc.is-rejected{border-color:#E5E7EB;background:#fff}
.ecc-rq-doc-h{display:flex;align-items:center;gap:12px}
.ecc-rq-doc-h > div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ecc-rq-doc-h b{font-size:14px;color:#111827}
.ecc-rq-doc-h small{font-size:12.5px;color:#6B7280}
.ecc-rq-ico{flex:0 0 38px;height:38px;border-radius:10px;background:#FEE2E2;color:#DC2626;font-size:10.5px;font-weight:800;display:flex;align-items:center;justify-content:center;letter-spacing:.03em}
.ecc-rq-file{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#F9FAFB;font-size:13px}
.ecc-rq-file a{display:inline-flex;align-items:center;gap:5px;font-weight:600;text-decoration:none}
.ecc-rq-file a .dashicons{font-size:16px;width:16px;height:16px}
.ecc-rq-file small{color:#6B7280}
.ecc-rq-reason{margin:8px 0 0;font-size:12.5px;color:#B42318}
.ecc-rq-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.ecc-rq-acts .button{display:inline-flex;align-items:center;gap:4px}
.ecc-rq-acts .button .dashicons{font-size:16px;width:16px;height:16px}
.ecc-rq-act.is-ok{color:#067647!important;border-color:#A7F3D0!important}
.ecc-rq-act.is-no{color:#B54708!important;border-color:#FED7AA!important}
.ecc-rq-act.is-del{color:#B42318!important;border-color:#FECACA!important}
.ecc-rq-add{display:grid;gap:8px;padding:14px;border:1px dashed #C7D2FE;border-radius:14px;background:#FAFAFF}
.ecc-rq-add label{font-weight:600;font-size:13px;color:#374151}
.ecc-rq-add .button{justify-self:start;display:inline-flex;align-items:center;gap:4px}
.ecc-rq-feelist{display:flex;flex-direction:column;gap:8px}
.ecc-rq-fee{display:grid;grid-template-columns:1fr 130px 30px;gap:8px;align-items:center}
.ecc-rq-fee input{width:100%;box-sizing:border-box}
.ecc-rq-fee input.ecc-rq-famount{text-align:right;font-variant-numeric:tabular-nums}
.ecc-rq-fdel{all:unset;width:28px;height:28px;border-radius:50%;display:flex!important;align-items:center;justify-content:center;color:#9CA3AF;cursor:pointer;font-size:18px}
.ecc-rq-fdel:hover{background:#FEE2E2;color:#B42318}
.ecc-rq-addfee{margin-top:8px!important;display:inline-flex!important;align-items:center;gap:4px}
.ecc-rq-tot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 10px;padding:12px 14px;border-radius:12px;background:#EEF2FF}
.ecc-rq-tot > span{font-size:13px;color:#4338CA}
.ecc-rq-tot b{font-size:18px;margin-left:6px;font-variant-numeric:tabular-nums;color:#1E1B4B}
.ecc-rq-paynote{width:100%;box-sizing:border-box}
.ecc-rq-bkhint{font-size:12.5px;color:#6B7280;margin:12px 0 0}
.ecc-rq-mail{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px}
.ecc-rq-mail .button{display:inline-flex;align-items:center;gap:5px}
.ecc-rq-mail small{color:#6B7280}
/* both sides */
table.ecc-rq-fees{width:100%;border-collapse:collapse;margin:6px 0 14px;font-size:14px}
table.ecc-rq-fees td{padding:9px 2px;border-bottom:1px solid #EEF0F5}
table.ecc-rq-fees td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.ecc-rq-fees tfoot td{border-bottom:0;border-top:2px solid #111827;font-weight:800;font-size:16px;padding-top:11px}
.ecc-rq-bank{border:1px solid var(--hairline,#E5E7EB);border-radius:14px;padding:14px;background:#FAFBFD;margin:0 0 14px}
.ecc-rq-bank h4{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:#6B7280}
.ecc-rq-bk{display:grid;grid-template-columns:150px 1fr auto;gap:10px;align-items:center;padding:7px 0;border-bottom:1px solid #EEF0F5}
.ecc-rq-bk:last-of-type{border-bottom:0}
.ecc-rq-bk span{font-size:12.5px;color:#6B7280}
.ecc-rq-bk b{font-size:14px;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:600;color:#111827}
.ecc-rq-bk.is-ref b{color:var(--navy,#4F46E5)}
.ecc-rq-copy{all:unset;font-size:12px;font-weight:600;padding:5px 10px;border-radius:8px;border:1px solid #E5E7EB;background:#fff;cursor:pointer;color:#374151}
.ecc-rq-copy:hover{border-color:var(--navy,#4F46E5);color:var(--navy,#4F46E5)}
.ecc-rq-bnote{margin:10px 0 0;font-size:12.5px;color:#6B7280}
@media (max-width:560px){.ecc-rq-bk{grid-template-columns:1fr auto}.ecc-rq-bk span{grid-column:1/-1}}
/* portal */
.ecc-rq .ecc-rq-up{margin-top:10px}
.ecc-rq .ecc-rq-pick{cursor:pointer;display:inline-flex}
.ecc-rq .ecc-rq-pick[hidden]{display:none}
.ecc-rq-stage{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border:1px dashed var(--navy,#4F46E5);border-radius:12px;background:color-mix(in srgb,var(--navy,#4F46E5) 5%,#fff)}
.ecc-rq-stage[hidden]{display:none}
.ecc-rq-sname{flex:1;min-width:140px;font-size:13px;font-weight:600;word-break:break-all}
.ecc-rq-proof{margin-top:4px;padding-top:12px;border-top:1px solid #EEF0F5;font-size:13.5px}
.ecc-rq-empty p{margin:0;color:#6B7280}

/* v121 — Requests: combos fill their box, the arrow sits inside as a neat button */
.ecc-rq .ecc-combo{display:block;width:100%}
.ecc-rq .ecc-combo input{width:100%!important;max-width:none!important;box-sizing:border-box;height:44px;padding:0 52px 0 14px!important;border:1px solid #D5D9E6!important;border-radius:12px!important;background:#fff;font-size:14px}
.ecc-rq .ecc-combo input:focus{border-color:#4F46E5!important;box-shadow:0 0 0 3px rgba(79,70,229,.12)!important;outline:0}
.ecc-rq .ecc-combo-tg{top:6px;right:6px;bottom:6px;width:32px;border:0;border-radius:9px;background:#EEF2FF;color:#4F46E5;display:flex;align-items:center;justify-content:center;transition:background .15s}
.ecc-rq .ecc-combo-tg:hover{background:#E0E7FF}
.ecc-rq .ecc-combo-tg .dashicons{font-size:16px;width:16px;height:16px}
.ecc-rq .ecc-rq-note,.ecc-rq .ecc-rq-famount{height:44px;border:1px solid #D5D9E6;border-radius:12px;padding:0 14px;box-sizing:border-box;font-size:14px}
.ecc-rq .ecc-rq-note{width:100%}
.ecc-rq-fname-w{display:block;min-width:0}
.ecc-rq-fee{grid-template-columns:1fr 140px 30px}
.ecc-rq-curl{display:flex;align-items:center;gap:10px;font-size:13px;color:#4338CA}
.ecc-rq-cur-w{display:block;width:300px;max-width:100%}
.ecc-rq-tot .ecc-combo input{height:40px}

/* ============ v127 — "Not accepted": white card + reason popup ============ */
.ecc-rq-doc.is-rejected{background:#fff!important;border-color:#E5E7EB!important;box-shadow:0 1px 2px rgba(17,24,39,.04)}
.ecc-rq-why{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:12px 14px;background:#fff;border:1px solid #F1D5D5;border-left:4px solid #D92D20;border-radius:12px}
.ecc-rq-why-i{flex:0 0 28px;height:28px;border-radius:50%;background:#FEF3F2;color:#D92D20;display:flex;align-items:center;justify-content:center}
.ecc-rq-why > div{flex:1;min-width:0}
.ecc-rq-why b{display:block;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#B42318;margin:0 0 3px}
.ecc-rq-why p{margin:0;font-size:14px;line-height:1.5;color:#111827;word-break:break-word}
.ecc-rq-why p em{color:#6B7280}
.ecc-rq-why small{display:block;margin-top:6px;font-size:12.5px;color:#6B7280}
.ecc-why-m .ecc-modal-box{max-width:460px;text-align:left}
.ecc-why-m .ecc-modal-ico{margin:0 0 14px}
.ecc-why-m .ecc-why-sub{margin:0 0 16px}
.ecc-why-l{display:block;font-size:13px;font-weight:600;color:#374151;margin:0 0 6px}
.ecc-why-t{display:block;width:100%;box-sizing:border-box;min-height:96px;padding:10px 12px;border:1px solid #E5E7EB!important;border-radius:10px!important;font:14px/1.5 Arial,Helvetica,sans-serif;color:#111827;resize:vertical;background:#fff}
.ecc-why-t:focus{border-color:#4F46E5!important;box-shadow:0 0 0 3px rgba(79,70,229,.15)!important;outline:0}
.ecc-why-t.is-bad{border-color:#D92D20!important;box-shadow:0 0 0 3px rgba(217,45,32,.12)!important}
.ecc-why-meta{display:flex;justify-content:space-between;gap:10px;margin:6px 0 18px;font-size:12px;color:#9CA3AF}
.ecc-why-n{margin-left:auto;font-variant-numeric:tabular-nums}
.ecc-why-err{color:#B42318}

/* ============ v127 — bank fields: name, add, delete, show/hide ============ */
.ecc-bkf{margin:4px 0 6px}
.ecc-bkf-head,.ecc-bkf-row{display:grid;grid-template-columns:52px minmax(160px,240px) minmax(200px,1fr) 108px;gap:10px;align-items:center}
.ecc-bkf-head{padding:0 10px 6px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6B7280}
.ecc-bkf-list{display:flex;flex-direction:column;gap:8px}
.ecc-bkf-row{padding:8px 10px;border:1px solid #E5E7EB;border-radius:12px;background:#fff;transition:background .15s,opacity .15s}
.ecc-bkf-row input[type=text]{width:100%;box-sizing:border-box;height:40px;border-radius:9px!important;border:1px solid #E5E7EB!important;padding:0 11px;font-size:14px}
.ecc-bkf-row input[type=text]:focus{border-color:#4F46E5!important;box-shadow:0 0 0 3px rgba(79,70,229,.15)!important;outline:0}
.ecc-bkf-l{font-weight:600}
.ecc-bkf-v.is-mono,.ecc-rq-bk b.is-mono{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.02em}
.ecc-bkf-row.is-off{background:#F9FAFB}
.ecc-bkf-row.is-off input[type=text]{color:#9CA3AF;background:#F9FAFB}
.ecc-bkf-sw{position:relative;display:inline-block;width:40px;height:22px;cursor:pointer}
.ecc-bkf-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
.ecc-bkf-sw i{position:absolute;inset:0;border-radius:22px;background:#D1D5DB;transition:background .15s}
.ecc-bkf-sw i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s}
.ecc-bkf-sw input:checked + i{background:#4F46E5}
.ecc-bkf-sw input:checked + i:after{transform:translateX(18px)}
.ecc-bkf-sw input:focus-visible + i{outline:2px solid #4F46E5;outline-offset:2px}
.ecc-bkf-acts{display:flex;gap:4px;justify-content:flex-end}
.ecc-bkf-acts button{all:unset;box-sizing:border-box;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#6B7280;cursor:pointer;font-size:15px;border:1px solid transparent}
.ecc-bkf-acts button:hover{background:#F3F4F6;color:#111827}
.ecc-bkf-acts button:focus-visible{outline:2px solid #4F46E5;outline-offset:1px}
.ecc-bkf-acts .ecc-bkf-del:hover{background:#FEF3F2;color:#B42318}
.ecc-bkf-acts .dashicons{font-size:17px;width:17px;height:17px}
.ecc-bkf-row:first-child .ecc-bkf-mv[data-d="-1"],.ecc-bkf-row:last-child .ecc-bkf-mv[data-d="1"]{opacity:.3;pointer-events:none}
.ecc-bkf-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:12px}
.ecc-bkf-foot .button{display:inline-flex;align-items:center;gap:4px}
.ecc-bkf-foot small{color:#6B7280;font-size:12.5px}
@media (max-width:782px){.ecc-bkf-head{display:none}.ecc-bkf-row{grid-template-columns:44px 1fr;}.ecc-bkf-v{grid-column:1/-1}.ecc-bkf-acts{grid-column:1/-1}}
.ecc-bkf-v::placeholder{font-family:Arial,Helvetica,sans-serif;letter-spacing:0}

/* ============ v129 — several bank accounts ============ */
.ecc-bka-list{display:flex;flex-direction:column;gap:16px;margin:0 0 14px}
.ecc-bka{border:1px solid #E5E7EB;border-radius:14px;padding:14px;background:#FCFCFD}
.ecc-bka.is-def{border-color:#C7D2FE;background:#FAFAFF}
.ecc-bka-h{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.ecc-bka-ico{flex:0 0 36px;width:36px!important;height:36px!important;border-radius:10px;background:#EEF2FF;color:#4F46E5;display:inline-flex!important;align-items:center;justify-content:center;font-size:18px!important}
.ecc-bka-name{flex:1;min-width:0;max-width:360px;height:40px;border-radius:9px!important;border:1px solid #E5E7EB!important;padding:0 11px;font-size:15px;font-weight:700}
.ecc-bka-name:focus{border-color:#4F46E5!important;box-shadow:0 0 0 3px rgba(79,70,229,.15)!important;outline:0}
.ecc-bka-def{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #E5E7EB;border-radius:999px;background:#fff;font-size:12.5px;font-weight:600;color:#374151;cursor:pointer}
.ecc-bka-def input{margin:0!important}
.ecc-bka.is-def .ecc-bka-def{border-color:#4F46E5;color:#4F46E5;background:#EEF2FF}
.ecc-bkf.is-one .ecc-bka-def{display:none}
.ecc-bka-used{font-size:12px;color:#6B7280;background:#F3F4F6;border-radius:999px;padding:4px 9px}
.ecc-bka-del{all:unset;box-sizing:border-box;margin-left:auto;width:34px;height:34px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:#9CA3AF;cursor:pointer}
.ecc-bka-del:hover{background:#FEF3F2;color:#B42318}
.ecc-bka-del:focus-visible{outline:2px solid #4F46E5;outline-offset:1px}
.ecc-bka-add{display:inline-flex!important;align-items:center;gap:4px}
.ecc-rq-bankpick{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding:10px 12px;border:1px solid #E5E7EB;border-radius:12px;background:#fff}
.ecc-rq-bankpick > span{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:#374151;white-space:nowrap}
.ecc-rq-bankpick .dashicons{color:#4F46E5;font-size:18px;width:18px;height:18px}
.ecc-rq-bankpick select{flex:1;min-width:0;max-width:none!important;height:38px;border-radius:9px!important;border-color:#E5E7EB!important;font-size:14px}

/* ============ v130 — edit the "Not accepted" reason ============ */
.ecc-rq-why-top{display:flex;align-items:center;gap:10px;margin:0 0 3px}
.ecc-rq-why-top b{margin:0!important}
.ecc-rq-why-ed{all:unset;box-sizing:border-box;margin-left:auto;display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:#374151;font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;cursor:pointer}
.ecc-rq-why-ed:hover{border-color:#C7D2FE;color:#4F46E5;background:#F5F7FF}
.ecc-rq-why-ed:focus-visible{outline:2px solid #4F46E5;outline-offset:2px}
.ecc-rq-why-ed .ecc-spin{width:12px;height:12px}

/* ============ v131 — employee tabs: Interview tab, drag to reorder ============ */
.ecc-etabs .ecc-etab-b{cursor:pointer}
.ecc-etabs .ecc-etab-b[draggable="true"]{-webkit-user-drag:element}
.ecc-etabs.is-sorting .ecc-etab-b{cursor:grabbing}
.ecc-etabs .ecc-etab-b.is-drag{opacity:.45;outline:2px dashed #A5B4FC;outline-offset:-2px}
.wp-admin .ecc-admin .ecc-etabs-hint,.ecc-etabs-hint{margin:-14px 0 18px 4px;font-size:12px;color:#9CA3AF}
.ecc-ivtab{max-width:980px}
.ecc-ivtab .ecc-iv{margin:0}

/* ============ v133 — interview question sets ============ */
.ecc-iv-sets{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;border:1px solid #C7D2FE;border-radius:12px;background:#F5F7FF}
.ecc-iv-sets-l{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px;color:#312E81}
.ecc-iv-sets-l .dashicons{color:#4F46E5;font-size:18px;width:18px;height:18px}
.ecc-iv-setsel{flex:1;min-width:200px;max-width:none!important;height:36px;border-radius:9px!important;border-color:#C7D2FE!important;font-size:13.5px}
.ecc-iv-sets .button{height:36px;border-radius:9px!important}
.ecc-iv-sets-none{font-size:12.5px;color:#4B5368}
.ecc-iv-sets .ecc-iv-sets-manage{margin-left:auto;display:inline-flex!important;align-items:center;gap:5px;text-decoration:none}
.ecc-iv-sets-manage .dashicons{font-size:16px;width:16px;height:16px}
.ecc-ivsets-h{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 14px}
.ecc-ivsets-h .description{margin:6px 0 0;max-width:720px}
.ecc-ivsets-h .button,.ecc-ivs-foot .button,.ecc-ivs-addq{display:inline-flex!important;align-items:center;gap:4px}
.ecc-ivs-list{display:flex;flex-direction:column;gap:14px}
.ecc-ivs-none{color:#6B7280;font-size:13px}
.ecc-ivs{border:1px solid #E5E7EB;border-radius:14px;background:#FCFCFD;padding:12px 14px}
.ecc-ivs-top{display:flex;align-items:center;gap:10px}
.ecc-ivs-ico{flex:0 0 34px;width:34px!important;height:34px!important;border-radius:10px;background:#EEF2FF;color:#4F46E5;display:inline-flex!important;align-items:center;justify-content:center}
.ecc-ivs-name{flex:1;min-width:0;max-width:420px;height:40px;border-radius:9px!important;border:1px solid #E5E7EB!important;padding:0 11px;font-size:15px;font-weight:700}
.ecc-ivs-name:focus,.ecc-ivs-q textarea:focus{border-color:#4F46E5!important;box-shadow:0 0 0 3px rgba(79,70,229,.15)!important;outline:0}
.ecc-ivs-count{font-size:12px;color:#6B7280;background:#F3F4F6;border-radius:999px;padding:4px 9px;white-space:nowrap}
.ecc-ivs-fold,.ecc-ivs-delset,.ecc-ivs-tools button{all:unset;box-sizing:border-box;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#6B7280;cursor:pointer}
.ecc-ivs-fold{margin-left:auto}
.ecc-ivs-fold:hover,.ecc-ivs-tools button:hover{background:#F3F4F6;color:#111827}
.ecc-ivs-delset:hover,.ecc-ivs-tools .ecc-ivs-delq:hover{background:#FEF3F2;color:#B42318}
.ecc-ivs-fold:focus-visible,.ecc-ivs-delset:focus-visible,.ecc-ivs-tools button:focus-visible{outline:2px solid #4F46E5;outline-offset:1px}
.ecc-ivs-fold .dashicons{transition:transform .15s}
.ecc-ivs.is-folded .ecc-ivs-fold .dashicons{transform:rotate(180deg)}
.ecc-ivs.is-folded .ecc-ivs-body{display:none}
.ecc-ivs-body{margin-top:12px}
.ecc-ivs-opts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 10px;font-size:12.5px;color:#4B5368}
.ecc-ivs-opts input[type=number],.ecc-ivs-time input{width:64px}
.ecc-ivs-alltime{display:none;gap:10px}
.ecc-ivs.is-all .ecc-ivs-alltime{display:inline-flex}
.ecc-ivs.is-all .ecc-ivs-time{display:none}
.ecc-ivs-qs{display:flex;flex-direction:column;gap:8px;margin:0 0 10px}
.ecc-ivs-q{display:grid;grid-template-columns:26px 1fr auto auto auto;gap:8px;align-items:center;padding:8px 10px;border:1px solid #E5E7EB;border-radius:12px;background:#fff}
.ecc-ivs-n{font-weight:700;color:#4F46E5;font-size:13px;text-align:right}
.ecc-ivs-q textarea{width:100%;box-sizing:border-box;min-height:44px;border-radius:9px!important;border:1px solid #E5E7EB!important;padding:8px 10px;font-size:13.5px;resize:vertical}
.ecc-ivs-time{display:inline-flex;gap:8px;font-size:12px;color:#4B5368}
.ecc-ivs-tr{display:inline-flex;align-items:center;gap:2px;font-size:12px;color:#4F46E5}
.ecc-ivs-tr .dashicons{font-size:16px;width:16px;height:16px}
.ecc-ivs-tools{display:inline-flex}
.ecc-ivs-q:first-child .ecc-ivs-up,.ecc-ivs-q:last-child .ecc-ivs-down{opacity:.3;pointer-events:none}
.ecc-ivs-foot{margin:16px 0 0}
@media (max-width:782px){.ecc-ivs-q{grid-template-columns:22px 1fr}.ecc-ivs-time,.ecc-ivs-tools,.ecc-ivs-tr{grid-column:2}}

/* ============ v134 — file safety ============ */
.ecc-fsafe{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:7px}
.ecc-fsafe li{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.5;color:#374151}
.ecc-fsafe .dashicons{flex:0 0 20px;margin-top:1px}
#ecc-scan-out{margin:10px 0}
#ecc-scan-out table{margin-top:8px}

/* ============ v135 — Security menu ============ */
.ecc-settings-solo{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.ecc-settings-solo > .ecc-card,.ecc-settings-solo > form > .ecc-card{background:#fff}
.ecc-sec-h th{padding:18px 0 4px!important}
.ecc-sec-h h3{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;color:#111827}
.ecc-sec-h h3 .dashicons{color:#4F46E5}
.ecc-sec-h:first-child th{padding-top:4px!important}

/* ============ v141 — cancellation and replacement ============ */
.ecc-cx{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:20px;align-items:start}
@media (max-width:1100px){.ecc-cx{grid-template-columns:1fr}}
.ecc-cx .ecc-sec{margin:0}
.ecc-cx-none{color:#6B7280;font-size:13px;margin:4px 0 0}
.ecc-sec-i.is-red{background:#FEF3F2!important;color:#D92D20!important}
.ecc-cx-card{border:1px solid #E5E7EB;border-radius:14px;padding:12px 14px;margin:0 0 10px;background:#fff}
.ecc-cx-card.is-done{background:#FCFCFD}
.ecc-cx-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.ecc-cx-top b{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;color:#374151}
.ecc-cx-pill{font-size:11.5px;font-weight:600;border-radius:999px;padding:3px 9px;white-space:nowrap}
.ecc-cx-pill.is-ok{background:#ECFDF3;color:#027A48}
.ecc-cx-pill.is-wait{background:#FFFAEB;color:#B54708}
.ecc-cx-swap{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 6px}
.ecc-cx-swap span{display:flex;flex-direction:column;font-weight:700;font-size:13px;color:#111827}
.ecc-cx-swap small{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#9CA3AF}
.ecc-cx-swap .is-old{text-decoration:line-through;text-decoration-color:#D92D20;color:#6B7280}
.ecc-cx-arrow{color:#4F46E5!important;font-size:16px!important;flex-direction:row!important}
.ecc-cx-reason{margin:0 0 6px;font-size:12.5px;color:#4B5368;line-height:1.5}
.ecc-cx-meta{margin:0 0 8px;font-size:12px;color:#6B7280}
.ecc-cx-acts{display:flex;gap:6px;flex-wrap:wrap}
.ecc-cx-acts .button{display:inline-flex!important;align-items:center;gap:3px}
.ecc-cx-acts .dashicons{font-size:15px;width:15px;height:15px}
.ecc-cx-form select,.ecc-cx-form textarea,.ecc-cx-form input[type=number]{width:100%;max-width:none!important}
.ecc-cx-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ecc-cx-row select{flex:1;min-width:220px}
.ecc-cx-row .button,.ecc-cx-new + .button{display:inline-flex!important;align-items:center;gap:4px;white-space:nowrap}
.ecc-cx-chips{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.ecc-cx-chip{all:unset;box-sizing:border-box;cursor:pointer;font-size:12.5px;font-weight:600;color:#4338CA;background:#EEF2FF;border:1px solid #C7D2FE;border-radius:999px;padding:5px 11px}
.ecc-cx-chip:hover{background:#E0E7FF}
.ecc-cx-chip:focus-visible{outline:2px solid #4F46E5;outline-offset:2px}
.ecc-cx-fee{display:flex;align-items:center;gap:8px}
.ecc-cx-fee input{flex:1}
.ecc-cx-fee b{font-size:13px;color:#374151}
.ecc-cx-frame{width:100%;height:70vh;min-height:520px;border:1px solid #E5E7EB;border-radius:12px;background:#fff}
.ecc-cx-note{margin-bottom:18px}

/* ---------- Contract: "Show in employee portal" switch + Notify (version 144) ---------- */
.ecc-share{display:flex;flex-direction:column;gap:10px;border:1px solid #E3E6EF;border-radius:12px;padding:12px 14px;margin:0 0 14px;background:#FAFBFE}
.ecc-share-row{display:flex;align-items:center;gap:12px;cursor:pointer}
.ecc-share-row .ecc-sw{position:relative;flex:none}
.ecc-share-t{display:flex;flex-direction:column;line-height:1.35}
.ecc-share-t b{font-size:13.5px;color:#1F2A44}
.ecc-share-t small{font-size:12px;color:#6B7280}
.ecc-share-n{flex-wrap:wrap;cursor:default;padding-top:10px;border-top:1px dashed #E3E6EF}
.ecc-share-n .button{display:inline-flex;align-items:center;gap:6px}
.ecc-share-n .button .dashicons{font-size:16px;width:16px;height:16px}
.ecc-share-n small{color:#6B7280;font-size:12px}
.ecc-cside .ecc-share{border:0;padding:0;margin:0;background:none}
.ecc-share-new{border:1px solid #E3E6EF;border-radius:10px;padding:10px 12px;background:#FAFBFE}
.ecc-cwc-flags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ecc-cwc-flag{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}
.ecc-cwc-flag .dashicons{font-size:14px;width:14px;height:14px}
.ecc-cwc-flag.is-hid{color:#B42318;background:#FDE8E8}
.ecc-cwc-flag.is-mail{color:#3730A3;background:#EEF0FF}

/* ---------- Login account: the saved password, under the password box (version 145) ---------- */
.ecc-pwk{display:flex;align-items:flex-start;gap:10px;margin:-4px 0 14px;padding:10px 12px;border-radius:10px;background:#ECFDF3;border:1px solid #ABEFC6;color:#067647}
.ecc-pwk>.dashicons{font-size:18px;width:18px;height:18px;margin-top:2px;flex:none}
.ecc-pwk-m{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.ecc-pwk-l{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ecc-pwk-row{display:flex;align-items:center;gap:6px}
.ecc-pwk-v{font-size:15px;font-weight:700;color:#05603A;background:#fff;border:1px solid #ABEFC6;border-radius:8px;padding:5px 10px;letter-spacing:.06em;word-break:break-all;flex:1;min-width:0}
.ecc-pwk.is-shown .ecc-pwk-v{letter-spacing:.02em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.ecc-pwk-eye,.ecc-pwk-copy{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;border:1px solid #ABEFC6;background:#fff;color:#067647;cursor:pointer;padding:0}
.ecc-pwk-eye:hover,.ecc-pwk-copy:hover{background:#D1FADF}
.ecc-pwk small{font-size:12px;line-height:1.45;color:#067647}


/* ================= Interview question steps — 13 designs, 3 colours (Settings → Interview → Question steps) ================= */
.ecc-ivp-dots{--sd:#2FB67A;--sc:#4F46E5;--st:#E1E4EE;display:flex;gap:6px;justify-content:center;align-items:center;flex-wrap:wrap;margin:0 auto 12px;position:relative}
.ecc-ivp-dots span{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:6px;border-radius:6px;background:var(--st);transition:all .35s ease;box-sizing:border-box}
.ecc-ivp-dots span.is-done{background:var(--sd)}
.ecc-ivp-dots span.is-cur{background:var(--sc)}
.ecc-ivp-dots span i{display:none;font-style:normal;font-weight:700;font-size:12px;line-height:1;color:#5B647A}
/* 2 dots */
.ecc-ivp-dots[data-d=dots]{gap:10px}
.ecc-ivp-dots[data-d=dots] span{width:10px;height:10px;border-radius:50%}
.ecc-ivp-dots[data-d=dots] span.is-cur{width:12px;height:12px;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--sc)}
/* 3 numbers */
.ecc-ivp-dots[data-d=numbers]{gap:8px}
.ecc-ivp-dots[data-d=numbers] span{width:28px;height:28px;border-radius:50%}
.ecc-ivp-dots[data-d=numbers] span i,.ecc-ivp-dots[data-d=stepper] span i,.ecc-ivp-dots[data-d=blocks] span i{display:block}
.ecc-ivp-dots[data-d=numbers] span.is-cur i,.ecc-ivp-dots[data-d=stepper] span.is-cur i,.ecc-ivp-dots[data-d=blocks] span.is-cur i,.ecc-ivp-dots[data-d=blocks] span.is-done i{color:#fff}
.ecc-ivp-dots[data-d=numbers] span.is-cur{transform:scale(1.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.ecc-ivp-dots[data-d=numbers] span.is-done i,.ecc-ivp-dots[data-d=stepper] span.is-done i{font-size:0}
.ecc-ivp-dots[data-d=numbers] span.is-done i::after,.ecc-ivp-dots[data-d=stepper] span.is-done i::after{content:"✓";font-size:14px;color:#fff}
/* 4 stepper */
.ecc-ivp-dots[data-d=stepper]{gap:0}
.ecc-ivp-dots[data-d=stepper] span{width:26px;height:26px;border-radius:50%}
.ecc-ivp-dots[data-d=stepper] span:not(:first-child){margin-left:22px}
.ecc-ivp-dots[data-d=stepper] span:not(:first-child)::before{content:"";position:absolute;right:100%;top:50%;width:22px;height:3px;margin-top:-1.5px;background:var(--st)}
.ecc-ivp-dots[data-d=stepper] span.is-done::before,.ecc-ivp-dots[data-d=stepper] span.is-cur::before{background:var(--sd)}
.ecc-ivp-dots[data-d=stepper] span.is-cur{box-shadow:0 0 0 4px #fff,0 0 0 6px var(--sc)}
/* 5 segments */
.ecc-ivp-dots[data-d=segments]{gap:3px;flex-wrap:nowrap;max-width:420px}
.ecc-ivp-dots[data-d=segments] span{flex:1 1 0;width:auto;min-width:8px;height:10px;border-radius:0}
.ecc-ivp-dots[data-d=segments] span:first-child{border-radius:10px 0 0 10px}
.ecc-ivp-dots[data-d=segments] span:last-child{border-radius:0 10px 10px 0}
/* 6 progress line */
.ecc-ivp-dots[data-d=line]{justify-content:space-between;flex-wrap:nowrap;width:min(100%,420px);height:18px}
.ecc-ivp-dots[data-d=line]::before,.ecc-ivp-dots[data-d=line]::after{content:"";position:absolute;left:7px;top:50%;height:4px;margin-top:-2px;border-radius:4px}
.ecc-ivp-dots[data-d=line]::before{right:7px;background:var(--st)}
.ecc-ivp-dots[data-d=line]::after{width:calc((100% - 14px) * var(--pf,0));background:var(--sd);transition:width .5s ease}
.ecc-ivp-dots[data-d=line] span{z-index:1;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--st)}
.ecc-ivp-dots[data-d=line] span.is-done{background:var(--sd);border-color:var(--sd)}
.ecc-ivp-dots[data-d=line] span.is-cur{background:#fff;border-color:var(--sc);transform:scale(1.3)}
/* 7 growing pill */
.ecc-ivp-dots[data-d=pill]{gap:7px}
.ecc-ivp-dots[data-d=pill] span{width:9px;height:9px;border-radius:9px}
.ecc-ivp-dots[data-d=pill] span.is-cur{width:34px}
/* 8 rising bars */
.ecc-ivp-dots[data-d=signal]{gap:5px;align-items:flex-end;min-height:34px}
.ecc-ivp-dots[data-d=signal] span{width:9px;height:calc(8px + var(--k,0) * 3.5px);max-height:44px;border-radius:3px}
.ecc-ivp-dots[data-d=signal] span.is-cur{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--sc)}
/* 9 diamonds */
.ecc-ivp-dots[data-d=diamonds]{gap:13px;padding:4px 0}
.ecc-ivp-dots[data-d=diamonds] span{width:12px;height:12px;border-radius:2px;transform:rotate(45deg)}
.ecc-ivp-dots[data-d=diamonds] span.is-cur{transform:rotate(45deg) scale(1.45)}
/* 10 arrows */
.ecc-ivp-dots[data-d=chevrons]{gap:0;flex-wrap:nowrap}
.ecc-ivp-dots[data-d=chevrons] span{width:36px;height:16px;border-radius:0;margin-left:-5px;clip-path:polygon(0 0,78% 0,100% 50%,78% 100%,0 100%,22% 50%)}
.ecc-ivp-dots[data-d=chevrons] span:first-child{margin-left:0;clip-path:polygon(0 0,78% 0,100% 50%,78% 100%,0 100%)}
/* 11 glow */
.ecc-ivp-dots[data-d=glow] span{height:7px}
.ecc-ivp-dots[data-d=glow] span.is-done{box-shadow:0 0 6px var(--sd)}
.ecc-ivp-dots[data-d=glow] span.is-cur{animation:ecc-step-glow 1.4s ease-in-out infinite}
@keyframes ecc-step-glow{0%,100%{box-shadow:0 0 4px 0 var(--sc)}50%{box-shadow:0 0 14px 3px var(--sc)}}
/* 12 blocks */
.ecc-ivp-dots[data-d=blocks]{gap:6px}
.ecc-ivp-dots[data-d=blocks] span{width:28px;height:28px;border-radius:7px}
.ecc-ivp-dots[data-d=blocks] span.is-cur{transform:translateY(-3px);box-shadow:0 6px 14px rgba(0,0,0,.18)}
/* 13 ring */
.ecc-ivp-dots[data-d=ring]{width:72px;height:72px;border-radius:50%;background:conic-gradient(var(--sd) var(--q,0%),var(--st) 0);transition:background .5s}
.ecc-ivp-dots[data-d=ring] span{display:none}
.ecc-ivp-dots[data-d=ring]::after{content:attr(data-label);position:absolute;inset:8px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;color:var(--sc)}
@media (prefers-reduced-motion:reduce){.ecc-ivp-dots span,.ecc-ivp-dots::after{transition:none!important;animation:none!important}}
/* settings card */
.ecc-ivst-live{padding:20px 20px 14px}
.ecc-ivst-live .ecc-ivp-dots{margin-top:10px}
.ecc-ivst-q{margin-top:6px;font-size:12px;font-weight:700;letter-spacing:.12em;color:#5B647A}
.ecc-ivst-mini{display:flex;align-items:center;justify-content:center;min-height:46px;margin-bottom:8px;overflow:hidden}
.ecc-ivst-mini .ecc-ivp-dots{margin:0;transform:scale(.8)}
.ecc-ivst-mini .ecc-ivp-dots[data-d=ring]{transform:scale(.6)}
.ecc-ivst-mini .ecc-ivp-dots[data-d=line],.ecc-ivst-mini .ecc-ivp-dots[data-d=segments]{width:100%;transform:none}

/* ---------- Requests → Payment: the chosen account's details under "Pay to" (version 149) ---------- */
.ecc-rq-bkcards{margin:8px 0 0}
.ecc-rq-bkcard{border:1px solid #DCE3F5;border-radius:12px;background:#F7F9FF;padding:12px 14px}
.ecc-rq-bkcard-h{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6B7280;margin:0 0 8px}
.ecc-rq-bkcard dl{margin:0;display:flex;flex-direction:column;gap:2px}
.ecc-rq-bkrow{display:grid;grid-template-columns:minmax(110px,38%) minmax(0,1fr);gap:10px;align-items:center;padding:5px 0;border-top:1px dashed #E1E6F3}
.ecc-rq-bkrow:first-child{border-top:0}
.ecc-rq-bkrow dt{font-size:12.5px;color:#6B7280}
.ecc-rq-bkrow dd{margin:0;display:flex;align-items:center;gap:6px;min-width:0;font-weight:600;color:#111827;font-size:13.5px}
.ecc-rq-bkrow dd>span{word-break:break-all}
.ecc-rq-bkrow dd.is-mono>span{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.03em}
.ecc-rq-bkcopy{flex:none;margin-left:auto;width:28px;height:28px;border:1px solid #DCE3F5;border-radius:7px;background:#fff;color:#4F46E5;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
.ecc-rq-bkcopy:hover{background:#EEF0FF}
.ecc-rq-bkcopy .dashicons{font-family:dashicons!important;font-size:15px;width:15px;height:15px;letter-spacing:0;word-break:normal}
.ecc-rq-bkempty{margin:0;font-size:13px;color:#B42318}
@media (max-width:600px){.ecc-rq-bkrow{grid-template-columns:1fr;gap:2px}}

/* Cancellation tab: "There is no new contract yet" (version 155) */
.ecc-cx-nonew{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px;padding:12px 14px;border-radius:12px;background:#FFF7E6;border:1px solid #F5D9A8;color:#7A4B00;font-size:13px;line-height:1.5}
.ecc-cx-nonew>.dashicons{color:#D97706;flex:none}
.ecc-cx-nonew>div{flex:1;min-width:220px}
.ecc-cx-nonew .button{display:inline-flex!important;align-items:center;gap:4px}

/* Cancellation tab: next steps after the employee signed (version 156) */
.ecc-cx-next{margin-top:10px;padding:10px 12px;border-radius:10px;background:#F5F7FF;border:1px solid #DCDCF7;font-size:13px}
.ecc-cx-next>b{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#4F46E5;margin-bottom:4px}
.ecc-cx-next ol{margin:0 0 0 18px;padding:0;display:flex;flex-direction:column;gap:6px}
.ecc-cx-next li{line-height:2}
.ecc-cx-next li.is-done{color:#067647;font-weight:600}
.ecc-cx-next .button{display:inline-flex!important;align-items:center;gap:3px;margin-left:6px;vertical-align:middle}

/* Employee portal: "You have cancelled your employment contract" (version 159) */
.ecc-cx-done{display:flex;gap:14px;align-items:flex-start;border:1px solid #ABEFC6;background:#F3FBF6;margin-bottom:16px}
.ecc-cx-done h3{margin:0 0 6px}
.ecc-cx-done .ecc-btn{margin-top:12px}
.ecc-cx-done-i{flex:none;width:38px;height:38px;border-radius:50%;background:#12B76A;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}

/* Cancellation agreements: delete button (version 163) */
.ecc-cx-acts .ecc-cx-del{margin-left:auto;color:#D92D20!important;border-color:#F4C7C3!important}
.ecc-cx-acts .ecc-cx-del:hover{background:#FEF3F2!important}
.ecc-cx-acts .ecc-cx-del .dashicons{margin:0}

/* Employee page → Work permit tab (version 164) */
.ecc-wp-tab{display:flex;flex-direction:column;gap:16px}
.ecc-wp-intro{margin:0}
.ecc-wp-none{margin:0;color:#6B7280}
.ecc-wp-c{border:1px solid #E5E7EB;border-radius:14px;background:#fff;padding:14px}
.ecc-wp-ch{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px}
.ecc-wp-ch .dashicons{color:#4F46E5}
.ecc-wp-ch .ecc-pill{margin-left:auto}
.ecc-wp-c .ecc-permit-box{margin:0;border:0;padding:0;box-shadow:none}

/* Emails window: New email (version 165) */
.ecc-inbox-new{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 16px;border:0;border-radius:999px;background:#4F46E5;color:#fff;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap}
.ecc-inbox-new:hover{background:#4338CA}
.ecc-inbox-new .dashicons{font-size:17px;width:17px;height:17px}

/* ---------- New Message window — like Gmail (version 166) ---------- */
.ecc-nm{position:fixed;right:24px;bottom:0;z-index:100100;width:min(560px,calc(100vw - 32px));height:min(600px,calc(100vh - 80px));display:flex;flex-direction:column;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2);font-family:"Google Sans",Roboto,Arial,sans-serif;color:#1F1F1F;transform:translateY(16px);opacity:0;transition:transform .18s ease,opacity .18s ease}
.ecc-nm.in{transform:none;opacity:1}
.ecc-nm.is-min{height:auto;width:280px}
.ecc-nm.is-min .ecc-nm-in,.ecc-nm.is-min .ecc-nm-f{display:none}
.ecc-nm.is-max{right:50%;bottom:50%;transform:translate(50%,50%);width:min(1100px,calc(100vw - 80px));height:min(860px,calc(100vh - 80px));border-radius:12px}
.ecc-nm-h{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 16px;background:#F2F6FC;border-radius:12px 12px 0 0;cursor:pointer;user-select:none}
.ecc-nm.is-max .ecc-nm-h{border-radius:12px 12px 0 0}
.ecc-nm-h b{font-size:14px;font-weight:500}
.ecc-nm-h button{width:28px;height:28px;border:0;background:none;border-radius:50%;font-size:18px;line-height:1;color:#444;cursor:pointer}
.ecc-nm-h button:hover{background:rgba(0,0,0,.08)}
.ecc-nm-in{flex:1;display:flex;flex-direction:column;min-height:0;padding:0 16px}
.ecc-nm-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #E8EAED;min-height:40px;font-size:14px}
.ecc-nm-row>span{color:#5E5E5E;min-width:34px}
.ecc-nm-row select,.ecc-nm-row input{flex:1;border:0!important;box-shadow:none!important;outline:0;background:none!important;font-size:14px;padding:6px 0!important;min-width:0;color:#1F1F1F}
.ecc-nm-row select{cursor:pointer;-webkit-appearance:none;appearance:none;max-width:none!important}
.ecc-nm-ccb{border:0;background:none;color:#5E5E5E;font-size:14px;cursor:pointer;padding:4px}
.ecc-nm-ccb:hover{text-decoration:underline}
.ecc-nm-subj{border:0!important;border-bottom:1px solid #E8EAED!important;border-radius:0!important;box-shadow:none!important;outline:0;font-size:14px;padding:10px 0!important;min-height:40px;background:none!important}
.ecc-nm-body{flex:1;min-height:120px;overflow:auto;padding:12px 0;font-size:14px;line-height:1.55;outline:0}
.ecc-nm-body a{color:#0B57D0}
.ecc-nm-files{display:flex;flex-wrap:wrap;gap:6px;padding:6px 0}
.ecc-nm-chip{display:inline-flex;align-items:center;gap:4px;background:#F2F2F2;border-radius:6px;padding:4px 6px 4px 8px;font-size:13px;font-weight:500;color:#0B57D0}
.ecc-nm-chip small{color:#5E5E5E;font-weight:400}
.ecc-nm-chip .dashicons{font-size:15px;width:15px;height:15px;color:#5E5E5E}
.ecc-nm-chip button{border:0;background:none;cursor:pointer;font-size:16px;color:#5E5E5E;padding:0 2px}
.ecc-nm-fmt{display:flex;gap:2px;padding:4px 6px;margin:0 0 6px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.2);width:max-content}
.ecc-nm-fmt button{min-width:30px;height:30px;border:0;background:none;border-radius:4px;cursor:pointer;font-size:14px;color:#444}
.ecc-nm-fmt button:hover{background:#F1F3F4}
.ecc-nm-f{display:flex;align-items:center;gap:4px;padding:12px 16px 14px}
.ecc-nm-send{height:40px;padding:0 24px;border:0;border-radius:20px;background:#0B57D0;color:#fff;font-size:14px;font-weight:500;cursor:pointer;margin-right:8px;display:inline-flex;align-items:center;gap:6px}
.ecc-nm-send:hover{background:#0A4CB8;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.ecc-nm-send:disabled{opacity:.7;cursor:default}
.ecc-nm-ic{width:36px;height:36px;border:0;background:none;border-radius:50%;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#444;font-size:16px;font-weight:500;margin:0}
.ecc-nm-ic:hover{background:#F1F3F4}
.ecc-nm-ic.is-on{background:#E8F0FE;color:#0B57D0}
.ecc-nm-ic .dashicons{font-size:19px;width:19px;height:19px}
.ecc-nm-sp{flex:1}
@media (max-width:600px){.ecc-nm{right:0;width:100vw;height:100vh;border-radius:0}.ecc-nm-h{border-radius:0}}

/* New Message inside the Emails window (version 167) */
.ecc-nm.is-inline{position:relative;right:auto;bottom:auto;z-index:auto;width:100%;height:100%;max-height:none;border-radius:0;box-shadow:none;transform:none;opacity:1}
.ecc-nm.is-inline .ecc-nm-h{border-radius:0;cursor:default;gap:8px;justify-content:flex-start;background:#F8FAFD;border-bottom:1px solid #E8EAED}
.ecc-nm.is-inline .ecc-nm-h>span{margin-left:auto}
.ecc-nm.is-inline .ecc-nm-h b{font-size:16px}
.ecc-nm-back{margin:0!important}
.ecc-nm-fromrow select{font-weight:500}
.ecc-nm-fromrow.is-need{background:#FEF3F2;border-bottom-color:#F04438;margin:0 -16px;padding:0 16px}
.ecc-nm-fromrow.is-need span{color:#B42318}
.ecc-inbox-pane>.ecc-nm.is-inline{flex:1;height:auto;min-height:0}


/* Employee portal: payment bar — your colours (version 169) */
.ecc-paybar{--pb-bg:#FFF4E5;--pb-line:#F08C00;--pb-title:#7A3E00;--pb-text:#8A5A1F;--pb-btn:#F08C00;--pb-btxt:#fff;display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:16px 20px;border-radius:14px;background:var(--pb-bg);border:1px solid color-mix(in srgb,var(--pb-line) 45%,transparent);border-left:6px solid var(--pb-line)}
.ecc-paybar-t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.ecc-paybar-t b{font-size:16px;color:var(--pb-title)}
.ecc-paybar-t small{font-size:13px;color:var(--pb-text)}
.ecc-paybar .ecc-paybar-b{flex:none;white-space:nowrap;background:var(--pb-btn)!important;color:var(--pb-btxt)!important;border-color:var(--pb-btn)!important}
.ecc-paybar.is-proof{--pb-bg:#EEF4FF;--pb-line:#4F46E5;--pb-title:#1E2A78;--pb-text:#3E4A8C}
.ecc-rq-pay.is-due{border:2px solid color-mix(in srgb,var(--pb-line,#F08C00) 40%,transparent)}
@media (max-width:600px){.ecc-paybar{flex-wrap:wrap}.ecc-paybar .ecc-btn{width:100%;text-align:center}}

/* your message on the payment — 12 designs */
.ecc-pnote{--na:#4F46E5;position:relative;margin:4px 0 16px;font-size:15px;line-height:1.55;color:#1F2A44}
.ecc-pnote p{margin:0}
.ecc-pnote-l{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--na);margin-bottom:4px}
.ecc-pnote[data-d=plain]{color:#5B647A}
.ecc-pnote[data-d=callout]{padding:4px 0 4px 14px;border-left:4px solid var(--na)}
.ecc-pnote[data-d=tinted]{padding:12px 16px;border-radius:12px;background:color-mix(in srgb,var(--na) 10%,#fff)}
.ecc-pnote[data-d=bubble]{display:inline-block;max-width:90%;padding:12px 16px;border-radius:16px 16px 16px 4px;background:var(--na);color:#fff}
.ecc-pnote[data-d=bubble] .ecc-pnote-l{color:rgba(255,255,255,.85)}
.ecc-pnote[data-d=sticky]{display:inline-block;max-width:90%;padding:14px 16px;background:#FFF6B8;box-shadow:0 6px 14px rgba(0,0,0,.12);transform:rotate(-1deg);border-top:6px solid var(--na)}
.ecc-pnote[data-d=banner]{border:1px solid color-mix(in srgb,var(--na) 30%,#fff);border-radius:12px;overflow:hidden}
.ecc-pnote[data-d=banner] .ecc-pnote-l{margin:0;padding:7px 14px;background:var(--na);color:#fff}
.ecc-pnote[data-d=banner] p{padding:12px 14px}
.ecc-pnote[data-d=quote]{padding:6px 0 6px 44px;font-style:italic;font-size:16px}
.ecc-pnote[data-d=quote]::before{content:"\201C";position:absolute;left:0;top:-14px;font-size:64px;line-height:1;color:var(--na);font-style:normal;font-family:Georgia,serif}
.ecc-pnote[data-d=letter]{padding:16px 18px;border:1px solid #E5E7EB;border-radius:4px;background:#FFFDF8;font-family:Georgia,serif;box-shadow:0 2px 0 #EEE}
.ecc-pnote-sig{display:block;margin-top:8px;text-align:right;color:var(--na);font-style:italic}
.ecc-pnote[data-d=tag] .ecc-pnote-l{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--na);color:#fff;margin-bottom:8px}
.ecc-pnote[data-d=outline]{padding:12px 16px;border:2px dashed var(--na);border-radius:12px}
.ecc-pnote[data-d=marker] p{display:inline;background:linear-gradient(transparent 55%,color-mix(in srgb,var(--na) 35%,transparent) 55%);padding:0 2px}
.ecc-pnote[data-d=alert]{padding:12px 16px 12px 52px;border-radius:12px;background:color-mix(in srgb,var(--na) 12%,#fff);border:1px solid var(--na);font-weight:600}
.ecc-pnote[data-d=alert]::before{content:"!";position:absolute;left:14px;top:12px;width:26px;height:26px;border-radius:50%;background:var(--na);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}

/* settings card */
.ecc-rqlook h4{margin:18px 0 10px}
.ecc-rqlook-colors,.ecc-rqlook-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ecc-rqlook-prev{margin:14px 0 4px}
.ecc-rqlook-lbl{display:flex;align-items:center;gap:8px;font-weight:600}
.ecc-rqlook-lbl input{width:240px}
.ecc-rqlook-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:14px 0}
.ecc-rqlook-opt{display:flex;flex-direction:column;gap:4px;padding:12px;border:2px solid #E5E7EB;border-radius:12px;cursor:pointer;background:#fff}
.ecc-rqlook-opt.is-on{border-color:#4F46E5;box-shadow:0 0 0 3px rgba(79,70,229,.15)}
.ecc-rqlook-opt input{position:absolute;opacity:0;pointer-events:none}
.ecc-rqlook-mini{min-height:96px;display:block;padding:6px 4px;font-size:13px;overflow:hidden}
.ecc-rqlook-mini .ecc-pnote{font-size:13px;margin:0}
.ecc-rqlook-opt small{color:#6B7280}

/* Settings: live preview of the employee's payment (version 170) */
.ecc-rqlook-live{position:sticky;top:40px;z-index:5;margin:14px 0;padding:14px;border-radius:14px;background:#F3F4F8;border:1px solid #E1E4EE;box-shadow:0 8px 20px rgba(15,20,45,.08)}
.ecc-rqlook-live-t{display:block;margin:0 0 10px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6B7280}
.ecc-rqlook-portal{max-width:760px}
.ecc-rqlook-portal .ecc-paybar{margin-bottom:10px}
.ecc-rqlook-card{background:#fff;border-radius:14px;padding:14px 18px}
.ecc-rqlook-ch{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;font-size:16px}
.ecc-rqlook-pv .ecc-pnote{margin:0 0 12px}
.ecc-rqlook-fees{width:100%;border-collapse:collapse;font-size:14px}
.ecc-rqlook-fees td,.ecc-rqlook-fees th{padding:8px 4px;border-top:1px solid #E5E7EB;text-align:left}
.ecc-rqlook-fees td:last-child,.ecc-rqlook-fees th:last-child{text-align:right}
.ecc-rqlook-fees th{border-top:2px solid #1F2A44;font-size:16px}

.ecc-rqlook-sw{display:inline-flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}
.ecc-rqlook-sw .ecc-sw{position:relative}
.ecc-rqlook-lbl input:read-only{opacity:.5}
.ecc-pnote-l[hidden]{display:none!important}

/* Requests: your fonts for the fees / total and the bank details (version 173) */
table.ecc-rq-fees td{font-family:var(--rq-ft,inherit)}
.ecc-rq-bk b,.ecc-rq-bk b.is-mono{font-family:var(--rq-fb,ui-monospace,SFMono-Regular,Menlo,monospace)}
.ecc-rqlook-portal .ecc-rq-bank{margin:12px 0 0}
.ecc-rqlook-portal .ecc-rq-bk{display:grid;grid-template-columns:150px 1fr;gap:10px;padding:7px 0;border-top:1px solid #EEF0F5;font-size:13px}
.ecc-rqlook-portal .ecc-rq-bk:first-of-type{border-top:0}
.ecc-rqlook-portal .ecc-rq-bk span{color:#6B7280}
.ecc-rqlook-fonts select{min-width:240px}

/* Contract: employee and agent each have their own switch + Notify (version 175) */
.ecc-share{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}
.ecc-share-part{display:flex;flex-direction:column;gap:10px;padding:12px 14px;border:1px solid #E3E6EF;border-radius:10px;background:#fff}
.ecc-share-who{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#4F46E5}
.ecc-share-part[data-who=agent] .ecc-share-who{color:#B54708}
.ecc-cside .ecc-share{grid-template-columns:1fr}

.ecc-ptx-swf .ecc-rqlook-sw{font-weight:600;line-height:1.4}
.ecc-ptx-swf .ecc-sw{flex:none}
/* v181 — work permit: notify button, themed bar, top-part preview */
.ecc-permit-notify{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 4px;padding:10px 12px;border:1px dashed #D5D9E8;border-radius:10px;background:#FAFBFF}
.ecc-permit-notify .button .dashicons{margin:4px 5px 0 -2px;font-size:16px;width:16px;height:16px}
.ecc-permit-notify small{color:#4B5368}
.ecc-permit-prog .ecc-ivp-bar{max-width:none;margin:0 0 5px}
.ecc-permit-prog>span{display:block;font-size:12px;color:#4B5368;margin-top:5px}
.ecc-permit-cut{margin:8px 2px 2px;font-size:13px;color:#6B7280;text-align:center}
.ecc-permit-prog .ecc-ivp-bar span{margin:0}
/* v182 — choose how much of the work permit the employee sees */
.ecc-cut-toggle.is-on{background:#EEF0FF;border-color:#4F46E5;color:#3730A3}
.ecc-cut{margin:10px 0;padding:12px;border:1px solid #E0E3F0;border-radius:12px;background:#F8F9FD}
.ecc-cut[hidden]{display:none}
.ecc-cut-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.ecc-cut-bar input[type=range]{flex:1;min-width:140px}
.ecc-cut-bar output{color:#4F46E5}
.ecc-cut-quick{display:flex;gap:4px}
.ecc-cut-stage{position:relative;max-width:520px;margin:0 auto;border:1px solid #D5D9E8;background:#fff;cursor:ns-resize;user-select:none;touch-action:none;box-shadow:0 4px 18px rgba(20,24,60,.08)}
.ecc-cut-stage img{display:block;width:100%;min-height:200px;pointer-events:none}
.ecc-cut-hide{position:absolute;left:0;right:0;bottom:0;background:repeating-linear-gradient(135deg,rgba(17,24,39,.72) 0 12px,rgba(17,24,39,.62) 12px 24px);display:flex;align-items:center;justify-content:center}
.ecc-cut-hide[hidden]{display:none}
.ecc-cut-hide span{color:#fff;font-weight:600;font-size:13px;background:rgba(0,0,0,.35);padding:4px 10px;border-radius:20px}
.ecc-cut-line{position:absolute;left:-6px;right:-6px;height:0;border-top:3px solid #4F46E5;transform:translateY(-1px)}
.ecc-cut-line i{position:absolute;right:8px;top:-13px;background:#4F46E5;color:#fff;font-style:normal;font-size:11px;padding:3px 8px;border-radius:12px}
.ecc-cut-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0}
.ecc-cut-foot small{color:#4B5368}
/* v183 — the cut top part keeps its real shape (no forced height = no stretching) */
.ecc-permit .ecc-permit-page,.ecc-permit-free .ecc-permit-page{min-height:0;height:auto!important;object-fit:contain;max-width:100%}
.ecc-permit .ecc-permit-page:not([src]){min-height:120px}
/* v186 — the employee fills in their address before signing (only when it is missing) */
.ecc-addr{margin:14px 0;padding:14px 16px;border:1px solid #F3D9A4;background:#FFFBF0;border-radius:12px}
.ecc-addr-h{display:block;font-size:15px;margin-bottom:2px}
.ecc-addr-t{margin:0 0 10px;font-size:13px;color:#6B5A2E}
.ecc-addr-g{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ecc-addr-f{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:#374151}
.ecc-addr-f.is-full{grid-column:1/-1}
.ecc-addr-f i{color:#DC2626;font-style:normal}
.ecc-addr-f input{padding:10px 12px;border:1px solid #D1D5DB;border-radius:9px;font:inherit;font-weight:400;background:#fff}
.ecc-addr-f input:focus{outline:none;border-color:#E8762C;box-shadow:0 0 0 3px rgba(232,118,44,.15)}
@media(max-width:640px){.ecc-addr-g{grid-template-columns:1fr}}
/* v189 — address switch in the contract form */
.ecc-addr-opt{margin-top:4px;padding:12px 14px;border:1px solid #E5E7F0;border-radius:12px;background:#FAFBFF}
.ecc-addr-opt .ecc-share-t small{display:block;color:#6B7280;margin-top:2px}
/* v190 — interview: retake all, or answer by answer */
.ecc-iv-ans{position:relative}
.ecc-iv-pick{display:inline-flex;align-items:center;gap:5px;margin:0 0 6px;padding:3px 9px 3px 6px;border:1px solid #E1E4EE;border-radius:20px;font-size:12px;color:#4B5368;cursor:pointer;background:#fff;user-select:none}
.ecc-iv-pick input{margin:0}
.ecc-iv-pick .dashicons{font-size:14px;width:14px;height:14px}
.ecc-iv-ans.is-picked{outline:2px solid #F59E0B;outline-offset:3px;border-radius:10px}
.ecc-iv-ans.is-picked .ecc-iv-pick{background:#FEF3C7;border-color:#F59E0B;color:#92400E}
.ecc-iv-retake-some i{font-style:normal;display:inline-block;min-width:18px;margin-left:4px;padding:0 5px;border-radius:9px;background:rgba(0,0,0,.08);font-size:11px;line-height:18px;text-align:center}
.ecc-ivp-again{margin:12px 0;padding:12px 14px;border:1px solid #F3D9A4;background:#FFFBF0;border-radius:12px}
.ecc-ivp-again p{margin:0 0 8px;font-size:14px}
.ecc-ivp-againq{display:flex;flex-wrap:wrap;gap:6px}
.ecc-ivp-againq>span{padding:3px 10px;border-radius:20px;background:#fff;border:1px solid #F3D9A4;font-weight:600;font-size:13px}
/* v191 — interview: the employee can watch an answer and record it again */
.ecc-ivp.is-reviewing .ecc-ivp-stage,.ecc-ivp.is-reviewing .ecc-ivp-actions,.ecc-ivp.is-reviewing .ecc-ivp-phase{display:none!important}
.ecc-ivp-review{max-width:620px;margin:10px auto 0;text-align:center}
.ecc-ivp-review[hidden]{display:none}
.ecc-ivp-rvtag{font-size:13px;font-weight:600;color:#4F46E5;margin-bottom:8px}
.ecc-ivp-playback{display:block;width:100%;border-radius:16px;background:#0B0F1A;max-height:420px}
.ecc-ivp-rvbtns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 0 6px}
.ecc-ivp-rvleft{color:#6B7280;font-size:13px}
.ecc-ivp-fin{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:18px 0;text-align:left}
.ecc-ivp-fincard{border:1px solid #E5E7F0;border-radius:14px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:8px}
.ecc-ivp-finq{font-size:13px;line-height:1.4;color:#1F2937}
.ecc-ivp-fincard video{width:100%;border-radius:10px;background:#0B0F1A;aspect-ratio:4/3;object-fit:cover}
.ecc-ivp-finsaved{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;border-radius:10px;background:#ECFDF5;color:#047857;font-weight:600;font-size:14px}
.ecc-ivp-fincard .ecc-btn{padding:8px 12px;font-size:13px}
.ecc-ivp-fincard small{color:#6B7280;font-size:12px}
.ecc-ivp-finbtns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.ecc-ivp-finbtns [hidden]{display:none}
/* v192 — retakes per employee interview */
.ecc-iv-rt{margin-top:12px}
.ecc-iv-rt .ecc-iv-seg label{flex:1}
.ecc-iv-rtnum input{width:80px;margin-left:6px}
.ecc-iv-rtopts{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-size:13px}
.ecc-iv-rtopts[hidden],.ecc-iv-rtnum[hidden]{display:none}
/* v193 — each kept answer uploads straight away; its progress is shown */
.ecc-ivp-uptray{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:10px}
.ecc-ivp-uptray span,.ecc-ivp-finup{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600;background:#EEF0F5;color:#4B5368}
.ecc-ivp-uptray span b{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.08);font-size:11px}
.ecc-ivp-uptray .is-up,.ecc-ivp-finup.is-up{background:#EEF2FF;color:#4338CA}
.ecc-ivp-uptray .is-ok,.ecc-ivp-finup.is-ok{background:#ECFDF5;color:#047857}
.ecc-ivp-uptray .is-bad,.ecc-ivp-finup.is-bad{background:#FEF2F2;color:#B91C1C}
.ecc-ivp-finup.is-none{display:none}
.ecc-ivp-finup{align-self:flex-start}
/* v194 — upload problems from the employee's device */
.ecc-iv-uplog{margin:10px 0;padding:10px 14px;border:1px solid #FCD9A8;background:#FFF8EC;border-radius:10px}
.ecc-iv-uplog summary{cursor:pointer;font-weight:600;color:#9A5B00;display:flex;align-items:center;gap:6px}
.ecc-iv-uplog ul{margin:8px 0;padding-left:18px}
.ecc-iv-uplog li{margin:4px 0;font-size:13px}
.ecc-iv-uplog li small{color:#6B7280}
/* v195 — typing interview / let them choose */
.ecc-iv-modeseg label{flex:1}
.ecc-iv-modeseg label>span{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.ecc-iv-modeseg label>span small{font-size:11px;font-weight:400;opacity:.75}
.ecc-iv-chose{display:block;margin-top:8px;color:#4B5368}
.ecc-iv-typed{background:#F8F9FD;border:1px solid #E5E7F0;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.55;white-space:normal;max-height:260px;overflow:auto;color:#1F2937}
.ecc-iv-typed-tag{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#4F46E5;margin-bottom:6px}
.ecc-iv-typed-tag .dashicons{font-size:14px;width:14px;height:14px}
.ecc-ivp .ecc-only-text{display:none}
.ecc-ivp.is-typing .ecc-only-text{display:inline}
.ecc-ivp.is-typing .ecc-only-video{display:none!important}
.ecc-ivp.is-picking .ecc-ivp-check,.ecc-ivp.is-picking .ecc-ivp-consent{display:none}
.ecc-ivp-typebox{display:none;max-width:720px;margin:14px auto 0;text-align:left}
.ecc-ivp.is-typing .ecc-ivp-typebox{display:block}
.ecc-ivp.is-typing [data-step=run] .ecc-ivp-stage,.ecc-ivp.is-typing [data-step=run] .ecc-ivp-actions,.ecc-ivp.is-typing [data-step=run] .ecc-ivp-phase,.ecc-ivp.is-typing [data-step=run] .ecc-ivp-timer,.ecc-ivp.is-typing .ecc-ivp-uptray{display:none!important}
.ecc-ivp-typed{width:100%;box-sizing:border-box;padding:14px 16px;border:1.5px solid #D5D9E8;border-radius:14px;font:inherit;font-size:16px;line-height:1.55;resize:vertical;min-height:170px;background:#fff}
.ecc-ivp-typed:focus{outline:none;border-color:#4F46E5;box-shadow:0 0 0 4px rgba(79,70,229,.12)}
.ecc-ivp-typebar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:10px}
.ecc-ivp-typebar span{display:flex;gap:8px;flex-wrap:wrap}
.ecc-ivp-typecount{color:#6B7280}
.ecc-ivp-typenote{min-height:18px;margin:8px 0 0;font-size:13px;color:#4B5368}
.ecc-ivp-typenote.is-bad{color:#B91C1C}
.ecc-ivp-modes{margin:16px 0}
.ecc-ivp-modes-h{display:block;margin-bottom:8px}
.ecc-ivp-modes-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ecc-ivp-mode{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 12px;border:2px solid #E5E7F0;border-radius:16px;background:#fff;cursor:pointer;font:inherit;transition:.15s}
.ecc-ivp-mode:hover{border-color:#C7CBE0}
.ecc-ivp-mode.is-on{border-color:#4F46E5;background:#EEF0FF;box-shadow:0 0 0 4px rgba(79,70,229,.10)}
.ecc-ivp-mode-i{font-size:28px;line-height:1}
.ecc-ivp-mode small{color:#6B7280}
.ecc-ivp-fincard.is-typed .ecc-ivp-fintext{white-space:pre-wrap;font-size:14px;line-height:1.5;background:#F8F9FD;border-radius:10px;padding:10px 12px;max-height:180px;overflow:auto}
@media(max-width:560px){.ecc-ivp-modes-g{grid-template-columns:1fr}}
/* v198 — upload a video from the phone */
.ecc-ivp .ecc-only-file{display:none}
.ecc-ivp.is-file .ecc-only-file{display:inline}
.ecc-ivp.is-file .ecc-only-video{display:none!important}
.ecc-ivp-filebox{display:none;max-width:620px;margin:16px auto 0;text-align:center}
.ecc-ivp.is-file .ecc-ivp-filebox{display:block}
.ecc-ivp.is-file [data-step=run] .ecc-ivp-stage,.ecc-ivp.is-file [data-step=run] .ecc-ivp-actions,.ecc-ivp.is-file [data-step=run] .ecc-ivp-timer{display:none!important}
.ecc-ivp-filepick{display:inline-flex;align-items:center;gap:8px;padding:16px 26px;font-size:17px;cursor:pointer;position:relative}
.ecc-ivp-filepick[hidden]{display:none}
.ecc-ivp-filepick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.ecc-ivp-filehint{color:#6B7280;font-size:13px;margin:10px 0}
.ecc-ivp-filepv{display:block;width:100%;max-height:420px;border-radius:16px;background:#0B0F1A;margin:6px auto 0}
.ecc-ivp-filebar{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.ecc-ivp-filebar[hidden]{display:none}
.ecc-ivp-filenote{min-height:18px;margin:8px 0 0;font-size:13px;color:#4B5368}
.ecc-ivp-filenote.is-bad{color:#B91C1C}
.ecc-ivp-modes-g{grid-template-columns:repeat(3,1fr)}
.ecc-iv-modeseg{flex-wrap:wrap}
.ecc-iv-modeseg label{min-width:140px}
.ecc-iv-src{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:#0F766E;background:#E6F7F4;border-radius:20px;padding:2px 8px;margin:0 0 6px}
.ecc-iv-src .dashicons{font-size:13px;width:13px;height:13px}
@media(max-width:640px){.ecc-ivp-modes-g{grid-template-columns:1fr}}
/* v199 — live photo before a typing interview */
.ecc-ivp-snap{position:relative;max-width:420px;margin:14px auto 0;border-radius:18px;overflow:hidden;background:#0B0F1A;aspect-ratio:3/4}
.ecc-ivp-snap video,.ecc-ivp-snap img{width:100%;height:100%;object-fit:cover;display:block;transform:scaleX(-1)}
.ecc-ivp-snap img{transform:none}
.ecc-ivp-snap [hidden]{display:none}
.ecc-ivp-snapframe{position:absolute;left:50%;top:46%;width:58%;aspect-ratio:3/4;transform:translate(-50%,-50%);border:3px dashed rgba(255,255,255,.75);border-radius:50%;pointer-events:none}
.ecc-ivp-snapnote{min-height:18px;margin:10px 0 0;font-size:13px;color:#4B5368;text-align:center}
.ecc-ivp-snapbtns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.ecc-ivp-snapbtns [hidden]{display:none}
.ecc-ivp-snapfile{position:relative;cursor:pointer}
.ecc-ivp-snapfile input{position:absolute;inset:0;opacity:0;cursor:pointer}
.ecc-iv-photo{display:flex;align-items:center;gap:14px;margin:12px 0;padding:10px 12px;border:1px solid #E5E7F0;border-radius:12px;background:#FAFBFF}
.ecc-iv-photo img{width:84px;height:84px;object-fit:cover;border-radius:12px;display:block}
.ecc-iv-photo b{display:flex;align-items:center;gap:5px}
.ecc-iv-photo small{display:block;color:#6B7280;margin-top:3px}
/* v200 — the live photo is on the first screen of a typing interview */
.ecc-ivp.is-typing div.ecc-only-text{display:block}
.ecc-ivp-introsnap{margin:16px 0;padding:14px;border:1px solid #E5E7F0;border-radius:16px;background:#FAFBFF;text-align:center}
.ecc-ivp-snaph{display:block;font-size:16px}
.ecc-ivp-snapsub{margin:4px 0 0;font-size:13px;color:#6B7280}
.ecc-ivp-introsnap .ecc-ivp-snap{max-width:300px}
.ecc-ivp-snap[hidden]{display:none}
.ecc-ivp-snapnote.is-ok{color:#047857;font-weight:600}
/* v201 — the live photo sits with the answers */
.ecc-iv-photo.ecc-iv-ans{flex-direction:column;align-items:stretch;margin:0;gap:8px}
.ecc-iv-photo.ecc-iv-ans img{width:100%;height:auto;aspect-ratio:3/4;max-height:260px}
/* v203 — clear the upload problems list */
.ecc-iv-uplog summary{justify-content:flex-start}
.ecc-iv-uplog-clear{margin-left:auto;display:inline-flex;align-items:center;gap:3px;color:#B91C1C!important;font-size:12px;font-weight:600;text-decoration:none}
.ecc-iv-uplog-clear .dashicons{font-size:15px;width:15px;height:15px}
