:root{--aidn-navy:#0b2341;--aidn-blue:#0b5fd3;--aidn-sky:#eaf4ff;--aidn-teal:#1f7a8c;--aidn-text:#1f2f3a;--aidn-muted:#6d8392;--aidn-line:#dfeaf2;--aidn-bg:#f5f8fb;--aidn-green:#18a058;--aidn-red:#c7362f}
.aidn-payroll,.aidn-payroll-admin{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;color:var(--aidn-text)}
.aidn-payroll{max-width:1120px;margin:34px auto;padding:0 18px}.aidn-card{background:#fff;border:1px solid var(--aidn-line);border-radius:22px;padding:26px;box-shadow:0 16px 45px rgba(20,50,70,.08);margin:18px 0}.aidn-auth{max-width:540px;margin:44px auto;text-align:center}.aidn-auth h1{font-size:30px;margin:0 0 12px;letter-spacing:-.02em}.aidn-auth p{color:var(--aidn-muted);line-height:1.9;font-weight:600}.aidn-auth input{width:100%;box-sizing:border-box;border:1px solid #cfdde6;border-radius:16px;padding:16px 18px;font-size:18px;margin:14px 0;background:#fff}.aidn-auth input:focus{outline:3px solid rgba(11,95,211,.13);border-color:var(--aidn-blue)}.aidn-auth button,.aidn-payroll button{background:linear-gradient(135deg,var(--aidn-teal),#1565c0);color:#fff;border:0;border-radius:999px;padding:14px 28px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(31,122,140,.18)}.aidn-auth input[name="code"]{font-size:34px;letter-spacing:.32em;text-align:center;font-weight:900;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.aidn-auth input[name="code"]::placeholder{letter-spacing:normal;font-size:17px;font-weight:500;font-family:inherit;text-align:left}.aidn-alert{border-radius:16px;padding:14px 16px;margin:14px 0;text-align:left;font-weight:700;line-height:1.5}.aidn-alert-error{background:#fff3f2;color:#a42520;border:1px solid #ffc4bf}.aidn-alert-success{background:#effaf4;color:#0e7139;border:1px solid #bdeccb}.aidn-small{font-size:13px;color:var(--aidn-muted)}
/* Front portal v2 */
.aidn-portal-v2{max-width:980px}.aidn-v2-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#071f3c,#0b5fd3);color:#fff;border-radius:28px;padding:34px 38px;margin:26px 0 22px;box-shadow:0 22px 55px rgba(11,95,211,.22);position:relative;overflow:hidden}.aidn-v2-hero:after{content:"";position:absolute;right:-80px;top:-90px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.12)}.aidn-v2-kicker{margin:0 0 12px!important;color:#bfe6ff!important;letter-spacing:.16em;text-transform:uppercase;font-size:13px;font-weight:900}.aidn-v2-hero h1{font-size:42px;color:#fff;margin:0 0 12px;line-height:1.12;letter-spacing:-.04em}.aidn-v2-hero p{margin:0;color:#dbeeff;font-weight:700}.aidn-v2-logout{background:#fff!important;color:#0b2341!important;box-shadow:none!important;min-width:150px}.aidn-v2-summary{display:grid;grid-template-columns:170px 1fr;gap:16px;margin:20px 0}.aidn-v2-stat,.aidn-v2-note{background:#fff;border:1px solid var(--aidn-line);border-radius:20px;padding:22px;box-shadow:0 10px 28px rgba(20,50,70,.06)}.aidn-v2-stat span{display:block;color:var(--aidn-muted);font-weight:800;font-size:13px}.aidn-v2-stat strong{font-size:42px;letter-spacing:-.04em;color:var(--aidn-blue)}.aidn-v2-stat em{font-style:normal;color:var(--aidn-muted);font-weight:800;margin-left:4px}.aidn-v2-note{color:#526b7b;line-height:1.8;font-weight:700;display:flex;align-items:center}.aidn-v2-list{background:#fff;border:1px solid var(--aidn-line);border-radius:24px;padding:26px;box-shadow:0 14px 38px rgba(20,50,70,.07)}.aidn-v2-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.aidn-v2-list-head h2{font-size:28px;margin:0}.aidn-v2-list-head span{background:var(--aidn-sky);color:#2e69a4;border-radius:999px;padding:7px 14px;font-weight:900}.aidn-v2-slip-cards{display:grid;gap:12px}.aidn-v2-slip-card{display:grid;grid-template-columns:1.3fr 1.2fr .8fr .8fr auto;gap:14px;align-items:center;border:1px solid #e5eef5;background:linear-gradient(180deg,#fff,#fbfdff);border-radius:18px;padding:18px}.aidn-v2-period{font-size:18px;font-weight:900;color:var(--aidn-text)}.aidn-v2-slip-card p{margin:6px 0 0;color:var(--aidn-muted);font-size:13px}.aidn-v2-amount span,.aidn-v2-mini span{display:block;color:var(--aidn-muted);font-size:12px;font-weight:900;margin-bottom:4px}.aidn-v2-amount strong{font-size:24px;color:#123c69}.aidn-v2-mini b{font-size:15px}.aidn-v2-slip-card button{box-shadow:none;background:#eaf1f7;color:#789;cursor:not-allowed}.aidn-v2-empty{border:1.5px dashed #d1e0ea;border-radius:20px;text-align:center;padding:42px 18px;background:#fbfdff}.aidn-v2-empty-icon{width:56px;height:56px;border-radius:18px;background:var(--aidn-sky);color:#266da8;font-weight:900;font-size:28px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center}.aidn-v2-empty h3{margin:0 0 8px;font-size:22px}.aidn-v2-empty p{margin:0;color:var(--aidn-muted);font-weight:700}
/* Admin app */
.aidn-payroll-admin{max-width:1220px}.aidn-payroll-admin .button{border-radius:12px;font-weight:800}.aidn-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:#fff;border:1px solid var(--aidn-line);border-radius:24px;padding:28px;margin:20px 0;box-shadow:0 14px 35px rgba(20,50,70,.06)}.aidn-admin-head h1{margin:0 0 8px;font-size:34px;letter-spacing:-.04em;color:var(--aidn-text)}.aidn-admin-head p{margin:0;color:var(--aidn-muted);line-height:1.8;font-weight:700}.aidn-kicker{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#256fb4!important;margin:0 0 9px!important}.aidn-head-actions{display:flex;gap:10px;flex-wrap:wrap}.aidn-head-actions .button{border-radius:999px!important;padding:8px 17px!important}.aidn-payroll-admin .aidn-card{border-radius:24px;max-width:none}.aidn-section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.aidn-section-title h2,.aidn-admin-form h2{margin:0 0 8px;font-size:24px;letter-spacing:-.02em}.aidn-section-title p{margin:0;color:var(--aidn-muted);font-weight:650}.aidn-import-box{border-left:5px solid var(--aidn-blue);background:linear-gradient(180deg,#fff,#fbfdff)}.aidn-import-form{display:flex;gap:14px;align-items:center;margin-top:18px;flex-wrap:wrap}.aidn-file-drop{display:flex;flex-direction:column;gap:5px;border:1.6px dashed #b8cddd;border-radius:18px;background:#f7fbff;padding:18px 20px;min-width:360px;cursor:pointer;transition:.15s}.aidn-file-drop:hover{border-color:var(--aidn-blue);background:#f2f8ff}.aidn-file-drop input{margin-bottom:6px}.aidn-file-drop strong{color:var(--aidn-blue);font-size:16px}.aidn-file-drop span{font-size:12px;color:var(--aidn-muted)}.aidn-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}.aidn-form-grid label span{display:block;font-size:12px;font-weight:900;color:#607d8b;margin-bottom:7px}.aidn-form-grid input,.aidn-form-grid select{width:100%;border:1px solid #d9e5ec;border-radius:14px;padding:12px 14px;box-sizing:border-box;background:#fff}.aidn-form-grid input:focus,.aidn-form-grid select:focus{outline:3px solid rgba(11,95,211,.12);border-color:var(--aidn-blue)}.aidn-form-actions{display:flex;gap:8px;align-items:center}.aidn-admin-toolbar{display:flex;justify-content:space-between;align-items:center;margin:28px 0 16px}.aidn-admin-toolbar h2{margin:0;font-size:28px;letter-spacing:-.03em}.aidn-search-form{display:flex;gap:8px}.aidn-search-form input{min-width:280px;border:1px solid #d9e5ec;border-radius:999px;padding:10px 16px}.aidn-employee-cards{display:grid;gap:12px}.aidn-employee-card{display:grid;grid-template-columns:56px 1fr auto auto;gap:15px;align-items:center;background:#fff;border:1px solid #e2edf4;border-radius:20px;padding:18px 20px;box-shadow:0 9px 26px rgba(20,50,70,.055);transition:.15s}.aidn-employee-card:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(20,50,70,.08)}.aidn-emp-avatar{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#eaf4ff,#d9ecff);color:#0b5fd3;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:22px}.aidn-emp-name{font-size:17px;font-weight:900}.aidn-emp-name span{font-size:12px;color:#607d8b;background:#f1f7fb;border-radius:999px;padding:4px 10px;margin-left:8px}.aidn-emp-meta{font-size:13px;color:#607d8b;margin-top:5px}.aidn-emp-status{border-radius:999px;padding:6px 13px;font-size:12px;font-weight:900}.aidn-status-active{background:#e6f7ee;color:#137a3d}.aidn-status-inactive{background:#fff4dc;color:#9c6500}.aidn-status-retired{background:#f1f3f5;color:#607d8b}.aidn-emp-actions{display:flex;gap:8px}.aidn-emp-actions form{margin:0}.aidn-danger{color:var(--aidn-red)!important;border-color:#ffc6c2!important;background:#fff!important}.aidn-payroll-admin .notice,.aidn-payroll-admin .updated{border-radius:14px;margin:14px 0;padding:10px 14px}.aidn-payroll-admin .updated,.aidn-payroll-admin .notice-success{border-left-color:var(--aidn-green)!important;background:#f0fff4!important}.aidn-payroll-admin .aidn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.aidn-num{font-size:42px;font-weight:900;margin:0;color:var(--aidn-blue)}
@media(max-width:900px){.aidn-v2-hero{display:block;padding:28px}.aidn-v2-hero h1{font-size:34px}.aidn-v2-logout{margin-top:18px}.aidn-v2-summary{grid-template-columns:1fr}.aidn-v2-slip-card{grid-template-columns:1fr;align-items:start}.aidn-admin-head{display:block;padding:22px}.aidn-head-actions{margin-top:14px}.aidn-form-grid{grid-template-columns:1fr}.aidn-admin-toolbar{display:block}.aidn-search-form{margin-top:12px}.aidn-search-form input{min-width:0;width:100%}.aidn-file-drop{min-width:0}.aidn-employee-card{grid-template-columns:48px 1fr}.aidn-emp-avatar{width:48px;height:48px;border-radius:16px}.aidn-emp-status,.aidn-emp-actions{grid-column:2}.aidn-emp-actions{flex-wrap:wrap}.aidn-payroll-admin .aidn-grid{grid-template-columns:1fr}}
/* v2.1 security / notification UI */
.aidn-security-box{margin-top:22px;text-align:left;background:#f7fbff;border:1px solid #dbeaf5;border-radius:18px;padding:18px 20px;color:#315367}
.aidn-security-box strong{display:block;margin-bottom:10px;color:#0b2341}.aidn-security-box ul{margin:0;padding-left:20px}.aidn-security-box li{margin:6px 0;font-size:13px;line-height:1.6;color:#526b7b}
.aidn-countdown{background:#fff8e8;border:1px solid #f1d599;color:#825b00;border-radius:14px;padding:12px 14px;margin:12px 0 8px;font-weight:800;text-align:center}.aidn-countdown strong{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:18px}
.aidn-period-list{display:grid;gap:12px;margin-top:18px}.aidn-period-card{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #e2edf4;border-radius:18px;background:#fff;padding:18px 20px;box-shadow:0 8px 22px rgba(20,50,70,.05)}.aidn-period-card strong{font-size:18px;color:#123c69}.aidn-period-card p{margin:6px 0 0;color:#607d8b;font-weight:700}.aidn-period-actions{display:flex;gap:8px;flex-wrap:wrap}.aidn-period-actions form{margin:0}
@media(max-width:760px){.aidn-period-card{display:block}.aidn-period-actions{margin-top:14px}}

/* AidPayroll v3.0 - minimal web app design */
.aidp-shell,.aidp-app{--ink:#101827;--sub:#6b7c8d;--line:#e5edf4;--blue:#0b5fd3;--teal:#0f6b7a;--bg:#fbfdff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP",sans-serif;color:var(--ink)}
.aidp-login-shell{max-width:720px;margin:64px auto 80px;padding:0 22px;background:transparent!important}.aidp-login-brand{display:flex;gap:13px;align-items:center;margin:0 0 54px}.aidp-logo-dot{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#0f6b7a,#0b5fd3);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center}.aidp-login-brand p{margin:0;font-size:18px;font-weight:900;letter-spacing:-.02em}.aidp-login-brand span{display:block;color:var(--sub);font-size:12px;font-weight:700;margin-top:2px}.aidp-login-panel{max-width:560px;margin:0 auto}.aidp-kicker{margin:0 0 14px!important;text-transform:uppercase;letter-spacing:.18em;color:#0b5fd3!important;font-size:11px;font-weight:900}.aidp-login-panel h1{margin:0 0 14px;font-size:44px;line-height:1.08;letter-spacing:-.055em;color:var(--ink)}.aidp-lead{margin:0 0 34px;color:var(--sub);font-size:16px;line-height:1.95;font-weight:650}.aidp-form{display:grid;gap:22px}.aidp-form label span{display:block;color:#415465;font-size:13px;font-weight:900;margin-bottom:10px}.aidp-form input{width:100%;box-sizing:border-box;border:0;border-bottom:1.5px solid #cddae4;border-radius:0;background:transparent;padding:15px 4px;font-size:20px;color:var(--ink);box-shadow:none!important}.aidp-form input:focus{outline:none;border-bottom-color:var(--blue)}.aidp-primary{justify-self:start;border:0;background:linear-gradient(135deg,#0f6b7a,#0b5fd3);color:#fff;border-radius:12px;padding:14px 28px;font-size:15px;font-weight:900;box-shadow:0 14px 28px rgba(11,95,211,.18);cursor:pointer}.aidp-security{margin-top:54px;border-top:1px solid var(--line);padding-top:26px}.aidp-security h2{margin:0 0 18px;font-size:17px;letter-spacing:-.02em}.aidp-security ul{list-style:none;margin:0;padding:0;display:grid;gap:15px}.aidp-security li{display:grid;grid-template-columns:1fr;gap:3px}.aidp-security strong{font-size:14px}.aidp-security span{color:var(--sub);font-size:13px;line-height:1.6}.aidp-alert{border-radius:14px;padding:13px 15px;margin:0 0 20px;font-weight:800;line-height:1.55}.aidp-alert-error{background:#fff3f2;color:#a42520;border:1px solid #ffc4bf}.aidp-alert-success{background:#effaf4;color:#0e7139;border:1px solid #bdeccb}.aidp-code-panel{text-align:left}.aidp-countdown{display:inline-flex;gap:8px;align-items:center;background:#f7fbff;border:1px solid var(--line);border-radius:999px;padding:9px 14px;margin:0 0 22px;color:#405769;font-weight:900}.aidp-countdown strong{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#0b5fd3}.aidp-code-input{font-size:42px!important;letter-spacing:.34em!important;text-align:center!important;font-weight:900!important;border:1px solid #d8e4ed!important;border-radius:18px!important;background:#fff!important;padding:18px 10px!important}.aidp-sub-actions{margin-top:24px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:var(--sub);font-size:13px}.aidp-sub-actions a{color:#0b5fd3;text-decoration:none;font-weight:900}.aidp-app{max-width:880px;margin:48px auto 80px;padding:0 22px}.aidp-app-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:28px;border-bottom:1px solid var(--line)}.aidp-app-head p{margin:0 0 8px;color:#0b5fd3;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.18em}.aidp-app-head h1{margin:0;font-size:40px;letter-spacing:-.055em}.aidp-ghost{border:1px solid var(--line);background:#fff;color:#22313f;border-radius:999px;padding:10px 18px;font-weight:900;cursor:pointer}.aidp-welcome{padding:34px 0 28px}.aidp-welcome p{margin:0 0 6px;color:var(--sub);font-weight:800}.aidp-welcome h2{margin:0;font-size:32px;letter-spacing:-.04em}.aidp-welcome span{display:inline-block;margin-top:14px;border:1px solid var(--line);border-radius:999px;padding:8px 13px;color:#405769;font-weight:900;font-size:13px}.aidp-slip-list{display:grid;gap:0;border-top:1px solid var(--line)}.aidp-slip-row{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:18px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.aidp-slip-row time{font-size:20px;font-weight:900}.aidp-slip-row p{margin:5px 0 0;color:var(--sub);font-size:13px}.aidp-net span{display:block;color:var(--sub);font-size:12px;font-weight:900;margin-bottom:3px}.aidp-net strong{font-size:28px;letter-spacing:-.03em}.aidp-split{display:grid;gap:4px;color:#52687a;font-size:13px;font-weight:800}.aidp-slip-row button{border:1px solid var(--line);background:#f7fbff;color:#8191a0;border-radius:999px;padding:10px 16px;font-weight:900}.aidp-empty{text-align:center;padding:68px 18px;border-bottom:1px solid var(--line)}.aidp-empty div{width:54px;height:54px;margin:0 auto 15px;border-radius:18px;background:#f3f8fc;color:#0b5fd3;font-weight:900;font-size:27px;display:flex;align-items:center;justify-content:center}.aidp-empty h3{margin:0 0 8px;font-size:23px}.aidp-empty p{margin:0;color:var(--sub);font-weight:700}.aidp-footnote{color:var(--sub);font-size:12px;margin-top:24px}.aidn-payroll-admin .aidn-admin-head{background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:none;border-radius:18px}.aidn-payroll-admin .aidn-card{box-shadow:none;border-radius:18px}.aidn-payroll-admin .aidn-employee-card{box-shadow:none;border-radius:16px}.aidn-payroll-admin .aidn-admin-head h1{font-size:30px}
@media(max-width:760px){.aidp-login-shell{margin:44px auto 70px}.aidp-login-brand{margin-bottom:42px}.aidp-login-panel h1{font-size:34px}.aidp-lead{font-size:15px}.aidp-primary{width:100%;justify-self:stretch}.aidp-code-input{font-size:32px!important;letter-spacing:.25em!important}.aidp-app{margin:36px auto 70px}.aidp-app-head{align-items:center}.aidp-app-head h1{font-size:32px}.aidp-welcome h2{font-size:28px}.aidp-slip-row{grid-template-columns:1fr;padding:22px 0}.aidp-net strong{font-size:25px}}

/* AidPayroll v3.1 - subdomain / standalone product skin */
body.aidp-portal-standalone header,
body.aidp-portal-standalone .site-header,
body.aidp-portal-standalone #masthead,
body.aidp-portal-standalone .l-header,
body.aidp-portal-standalone .p-header,
body.aidp-portal-standalone .global-header,
body.aidp-portal-standalone .header,
body.aidp-portal-standalone nav,
body.aidp-portal-standalone .site-footer,
body.aidp-portal-standalone footer,
body.aidp-portal-standalone #footer,
body.aidp-portal-standalone .breadcrumb,
body.aidp-portal-standalone .entry-title,
body.aidp-portal-standalone .page-title,
body.aidp-portal-standalone .sidebar,
body.aidp-portal-standalone #sidebar{display:none!important}
body.aidp-portal-standalone{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 58%,#f6f9fc 100%)!important}
body.aidp-portal-standalone .site,
body.aidp-portal-standalone #page,
body.aidp-portal-standalone main,
body.aidp-portal-standalone .content,
body.aidp-portal-standalone .entry-content{margin:0!important;padding:0!important;max-width:none!important;background:transparent!important;box-shadow:none!important;border:0!important}
body.aidp-portal-standalone .aidp-login-shell{min-height:calc(100vh - 40px);display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:760px;margin:0 auto!important;padding:56px 24px 70px!important}
.aidp-brand-final{display:flex!important;justify-content:center!important;align-items:center!important;gap:18px!important;margin:0 0 54px!important;width:100%}
.aidp-brand-final .aidp-mark{display:block;width:82px;height:62px;filter:drop-shadow(0 14px 22px rgba(11,95,211,.12))}
.aidp-brand-final .aidp-mark svg{width:100%;height:100%;display:block}
.aidp-brand-final p{font-size:44px!important;line-height:1!important;font-weight:400!important;letter-spacing:-.055em!important;color:#101827!important;margin:0!important}
.aidp-brand-final p span{font-weight:300!important;color:#172238!important}
.aidp-brand-final p:not(span){font-weight:850!important}
.aidp-brand-final > div > span{display:block!important;text-align:center!important;color:#8a98a8!important;font-size:17px!important;font-weight:800!important;letter-spacing:.02em!important;margin-top:10px!important}
.aidp-login-panel{width:100%;max-width:560px!important;text-align:center!important;margin:0 auto!important}
.aidp-login-panel .aidp-kicker{text-align:center!important;letter-spacing:.22em!important;font-size:13px!important;margin-bottom:26px!important;color:#1d65d8!important}
.aidp-login-panel h1{text-align:center!important;font-size:42px!important;letter-spacing:-.05em!important;margin-bottom:22px!important}
.aidp-login-panel .aidp-lead{text-align:center!important;font-size:18px!important;line-height:2!important;margin-bottom:38px!important;color:#6e7f90!important}
.aidp-login-panel .aidp-countdown{margin:0 auto 26px!important;background:#f7fbff!important;border:1px solid #dfeaf4!important;color:#273544!important;font-size:18px!important;padding:10px 24px!important}
.aidp-login-panel .aidp-countdown:before{content:'◷';font-size:18px;color:#718294;margin-right:2px}.aidp-login-panel .aidp-countdown strong{font-size:20px!important;color:#0b5fd3!important}
.aidp-alert-success{max-width:460px;margin:0 auto 34px!important;text-align:left!important;background:#f1fbf5!important;border:1px solid #bfeccf!important;color:#176b3a!important;border-radius:10px!important;padding:18px 22px!important;font-size:16px!important;line-height:1.8!important}.aidp-alert-success:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#35a853;color:white;font-weight:900;margin-right:14px}.aidp-alert-error{max-width:460px;margin:0 auto 24px!important;text-align:left!important;border-radius:10px!important}
.aidp-code-input{max-width:520px;margin:0 auto!important;height:92px!important;border-radius:10px!important;background:#fff!important;border:1px solid #d8e4ed!important;box-shadow:0 8px 26px rgba(20,50,70,.05)!important;letter-spacing:.42em!important;text-indent:.42em!important;font-size:40px!important;color:#3f4f5f!important}
.aidp-form{align-items:center!important}.aidp-form label{text-align:left;width:100%}.aidp-form label span{font-size:13px!important;color:#637889!important}.aidp-form input:not(.aidp-code-input){max-width:520px;margin:0 auto;border:1px solid #d8e4ed!important;border-radius:10px!important;padding:18px 18px!important;background:#fff!important;font-size:18px!important;box-shadow:0 8px 26px rgba(20,50,70,.04)!important}.aidp-primary{justify-self:center!important;width:100%;max-width:520px!important;border-radius:10px!important;padding:18px 28px!important;font-size:18px!important;background:linear-gradient(135deg,#48a4f2,#0b5fd3)!important;box-shadow:0 18px 34px rgba(11,95,211,.18)!important}.aidp-sub-actions{justify-content:center!important;margin-top:32px!important}.aidp-security{width:100%;max-width:650px;margin:72px auto 0!important;padding-top:32px!important;text-align:center!important}.aidp-security h2{font-size:15px!important;color:#5d6f7f!important;font-weight:800!important}.aidp-security ul{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:16px!important}.aidp-security li{align-items:center!important}.aidp-security strong{font-size:14px!important;color:#7a8997!important}.aidp-security span{display:none!important}
@media(max-width:760px){body.aidp-portal-standalone .aidp-login-shell{justify-content:flex-start;padding-top:78px!important}.aidp-brand-final{gap:14px!important;margin-bottom:48px!important}.aidp-brand-final .aidp-mark{width:62px;height:48px}.aidp-brand-final p{font-size:36px!important}.aidp-brand-final > div > span{font-size:14px!important}.aidp-login-panel h1{font-size:32px!important}.aidp-login-panel .aidp-lead{font-size:16px!important}.aidp-code-input{height:78px!important;font-size:34px!important;letter-spacing:.32em!important;text-indent:.32em!important}.aidp-security ul{grid-template-columns:1fr!important;gap:10px!important}.aidp-security{margin-top:54px!important}.aidp-primary{border-radius:12px!important}}

/* AidPayroll v3.2 - refined brand / cleaner lower area */
.aidp-brand-final{gap:20px!important;margin-bottom:60px!important;}
.aidp-brand-final .aidp-mark{width:76px!important;height:58px!important;filter:drop-shadow(0 18px 28px rgba(11,95,211,.14))!important;}
.aidp-brand-final p{font-size:46px!important;font-weight:400!important;letter-spacing:-.06em!important;white-space:nowrap!important;}
.aidp-brand-final p span{display:inline!important;font-size:inherit!important;line-height:inherit!important;font-weight:300!important;color:#111827!important;margin:0!important;}
.aidp-brand-final p{font-weight:850!important;color:#0f172a!important;}
.aidp-brand-final > div > span{font-size:16px!important;margin-top:9px!important;color:#8a96a5!important;letter-spacing:.015em!important;}
.aidp-login-panel .aidp-kicker{font-size:12px!important;letter-spacing:.24em!important;margin-bottom:24px!important;}
.aidp-login-panel h1{font-size:39px!important;margin-bottom:18px!important;}
.aidp-login-panel .aidp-lead{max-width:520px;margin-left:auto!important;margin-right:auto!important;font-size:17px!important;line-height:1.9!important;margin-bottom:36px!important;}
.aidp-form input:not(.aidp-code-input){height:64px!important;border-radius:10px!important;box-shadow:0 10px 30px rgba(20,50,70,.035)!important;}
.aidp-primary{height:64px!important;border-radius:10px!important;}
.aidp-security{margin-top:76px!important;padding-top:34px!important;}
.aidp-security h2{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;margin-bottom:28px!important;}
.aidp-security h2:before{content:'▣';font-size:13px;color:#718294;transform:rotate(45deg);display:inline-block;}
.aidp-security ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:start!important;}
.aidp-security li:before{display:block!important;margin:0 auto 10px!important;color:#7b8b9b!important;font-size:26px!important;line-height:1!important;}
.aidp-security li:nth-child(1):before{content:'◇';}
.aidp-security li:nth-child(2):before{content:'□';}
.aidp-security li:nth-child(3):before{content:'○';}
.aidp-security strong{font-size:13px!important;font-weight:700!important;color:#768696!important;white-space:nowrap!important;}
.aidp-alert-success{display:flex!important;align-items:center!important;justify-content:flex-start!important;max-width:460px!important;margin-bottom:34px!important;padding:18px 24px!important;}
.aidp-alert-success:before{flex:0 0 28px!important;}
.aidp-code-input{height:88px!important;box-shadow:0 10px 30px rgba(20,50,70,.035)!important;}
.aidp-sub-actions span{display:none!important;}

@media(max-width:760px){
  body.aidp-portal-standalone .aidp-login-shell{padding-top:60px!important;padding-bottom:78px!important;}
  .aidp-brand-final{gap:16px!important;margin-bottom:52px!important;}
  .aidp-brand-final .aidp-mark{width:70px!important;height:54px!important;}
  .aidp-brand-final p{font-size:40px!important;}
  .aidp-brand-final p span{display:inline!important;font-size:inherit!important;}
  .aidp-brand-final > div > span{font-size:15px!important;}
  .aidp-login-panel .aidp-kicker{font-size:12px!important;margin-bottom:22px!important;}
  .aidp-login-panel h1{font-size:34px!important;margin-bottom:18px!important;}
  .aidp-login-panel .aidp-lead{font-size:16px!important;line-height:1.85!important;margin-bottom:32px!important;}
  .aidp-form input:not(.aidp-code-input){height:60px!important;font-size:16px!important;}
  .aidp-primary{height:62px!important;font-size:17px!important;}
  .aidp-security{margin-top:70px!important;padding-top:30px!important;}
  .aidp-security ul{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
  .aidp-security li:before{font-size:23px!important;margin-bottom:8px!important;}
  .aidp-security strong{font-size:11px!important;letter-spacing:-.03em!important;white-space:normal!important;line-height:1.4!important;}
  .aidp-code-input{height:78px!important;font-size:34px!important;}
}

/* AidPayroll v3.4 - 5 minute auth code expiry */
html:has(body.aidp-portal-standalone){margin-top:0!important;}
body.aidp-portal-standalone #wpadminbar{display:none!important;}
body.aidp-portal-standalone{overflow-x:hidden!important;}
body.aidp-portal-standalone .aidn-payroll,
body.aidp-portal-standalone .aidp-shell{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.aidp-portal-standalone .aidp-login-shell{
  width:100%!important;
  max-width:760px!important;
  padding-left:24px!important;
  padding-right:24px!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.aidp-brand-final{
  width:100%!important;
  max-width:520px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:18px!important;
}
.aidp-brand-final .aidp-mark{
  flex:0 0 auto!important;
  width:74px!important;
  height:58px!important;
}
.aidp-brand-final .aidp-wordmark{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  line-height:.96!important;
  white-space:nowrap!important;
  color:#0f172a!important;
  letter-spacing:-.065em!important;
  font-size:46px!important;
  font-weight:400!important;
}
.aidp-brand-final .aidp-wordmark .aidp-word-aid,
.aidp-brand-final .aidp-wordmark .aidp-word-payroll{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  font-size:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
  color:inherit!important;
}
.aidp-brand-final .aidp-wordmark .aidp-word-aid{font-weight:300!important;}
.aidp-brand-final .aidp-wordmark .aidp-word-payroll{font-weight:850!important;}
.aidp-brand-final .aidp-byline{
  display:block!important;
  text-align:center!important;
  color:#8a96a5!important;
  font-size:16px!important;
  font-weight:800!important;
  letter-spacing:.015em!important;
  margin-top:10px!important;
}
.aidp-login-panel,
.aidp-login-panel .aidp-form,
.aidp-login-panel .aidp-form label,
.aidp-login-panel .aidp-form input,
.aidp-login-panel .aidp-primary{
  box-sizing:border-box!important;
}
.aidp-login-panel .aidp-form label,
.aidp-login-panel .aidp-form input:not(.aidp-code-input),
.aidp-login-panel .aidp-primary{width:100%!important;max-width:520px!important;}
.aidp-login-panel .aidp-form label{margin-left:auto!important;margin-right:auto!important;}
.aidp-security{
  max-width:640px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.aidp-security h2:before{content:''!important;display:inline-block!important;width:18px!important;height:18px!important;background-repeat:no-repeat!important;background-size:18px 18px!important;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2' stroke='%237A8997' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='5' y='10' width='14' height='10' rx='2.5' stroke='%237A8997' stroke-width='2'/%3E%3C/svg%3E")!important;transform:none!important;}
.aidp-security li:before{
  content:''!important;
  width:28px!important;
  height:28px!important;
  display:block!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:28px 28px!important;
}
.aidp-security li:nth-child(1):before{background-image:url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3 19 6v5c0 4.5-2.9 8.4-7 10-4.1-1.6-7-5.5-7-10V6l7-3Z' stroke='%237A8997' stroke-width='1.8'/%3E%3Cpath d='m9 12 2 2 4-5' stroke='%237A8997' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;}
.aidp-security li:nth-child(2):before{background-image:url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2' stroke='%237A8997' stroke-width='1.8' stroke-linecap='round'/%3E%3Crect x='5' y='10' width='14' height='10' rx='2.5' stroke='%237A8997' stroke-width='1.8'/%3E%3C/svg%3E")!important;}
.aidp-security li:nth-child(3):before{background-image:url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4' stroke='%237A8997' stroke-width='1.8'/%3E%3Cpath d='M4.5 21c1.4-4.2 4.1-6 7.5-6s6.1 1.8 7.5 6' stroke='%237A8997' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")!important;}

@media(max-width:760px){
  body.aidp-portal-standalone .aidp-login-shell{
    max-width:100%!important;
    padding-left:22px!important;
    padding-right:22px!important;
    align-items:center!important;
  }
  .aidp-brand-final{max-width:360px!important;gap:14px!important;margin-bottom:54px!important;}
  .aidp-brand-final .aidp-mark{width:66px!important;height:52px!important;}
  .aidp-brand-final .aidp-wordmark{font-size:38px!important;}
  .aidp-brand-final .aidp-byline{font-size:14px!important;margin-top:8px!important;}
  .aidp-login-panel{max-width:100%!important;width:100%!important;}
  .aidp-login-panel h1{font-size:33px!important;}
  .aidp-login-panel .aidp-lead{max-width:330px!important;}
  .aidp-login-panel .aidp-form label,
  .aidp-login-panel .aidp-form input:not(.aidp-code-input),
  .aidp-login-panel .aidp-primary{max-width:100%!important;}
  .aidp-security{max-width:100%!important;margin-top:68px!important;}
  .aidp-security ul{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
  .aidp-security li:before{width:26px!important;height:26px!important;background-size:26px 26px!important;}
  .aidp-security strong{font-size:11px!important;line-height:1.35!important;}
}

/* AidPayroll v3.5 - refined logged-in portal header and product UI */
.aidp-app-v35{
  max-width:760px!important;
  margin:0 auto 80px!important;
  padding:0 22px!important;
  color:#0f172a!important;
  background:transparent!important;
}
.aidp-topbar{
  position:sticky;
  top:0;
  z-index:5;
  margin:0 -22px 52px!important;
  padding:18px 22px 16px!important;
  min-height:68px;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid #e6edf4!important;
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
}
.aidp-mini-brand{display:flex;align-items:center;gap:10px;min-width:0;}
.aidp-mini-mark{width:34px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;filter:drop-shadow(0 8px 14px rgba(11,95,211,.12));}
.aidp-mini-mark svg{width:100%;height:100%;display:block;}
.aidp-mini-text{display:flex;flex-direction:column;line-height:1.05;min-width:0;}
.aidp-mini-text b{font-size:18px;font-weight:850;letter-spacing:-.045em;color:#0f172a;white-space:nowrap;}
.aidp-mini-text small{font-size:10px;color:#7f8ea0;font-weight:800;letter-spacing:.01em;margin-top:4px;white-space:nowrap;}
.aidp-logout{display:inline-flex!important;align-items:center!important;gap:7px!important;border:0!important;background:transparent!important;color:#0b5fd3!important;border-radius:999px!important;padding:10px 4px!important;font-weight:900!important;box-shadow:none!important;cursor:pointer!important;font-size:14px!important;white-space:nowrap!important;}
.aidp-logout svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.aidp-welcome{padding:0 0 32px!important;border-bottom:1px solid #e6edf4!important;}
.aidp-welcome p{margin:0 0 10px!important;color:#758597!important;font-size:22px!important;font-weight:800!important;letter-spacing:-.035em!important;}
.aidp-welcome h2{font-size:42px!important;line-height:1.22!important;letter-spacing:-.055em!important;margin:0!important;color:#111827!important;font-weight:500!important;}
.aidp-welcome span{display:inline-flex!important;align-items:center!important;gap:8px!important;margin-top:22px!important;padding:9px 16px!important;border-radius:999px!important;background:#f2f7fd!important;border:1px solid #dbe9f5!important;color:#1d5eae!important;font-size:14px!important;font-weight:900!important;}
.aidp-welcome span svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.aidp-slip-list{border-top:0!important;margin-top:44px!important;}
.aidp-empty{border:0!important;padding:72px 18px 94px!important;text-align:center!important;}
.aidp-empty div{width:72px!important;height:72px!important;border-radius:24px!important;background:#f5f8fc!important;color:#0b5fd3!important;font-size:34px!important;margin-bottom:28px!important;box-shadow:0 14px 38px rgba(15,23,42,.035)!important;}
.aidp-empty h3{font-size:31px!important;line-height:1.35!important;font-weight:500!important;letter-spacing:-.055em!important;margin-bottom:16px!important;color:#111827!important;}
.aidp-empty p{font-size:18px!important;line-height:1.8!important;color:#7a8796!important;font-weight:800!important;max-width:520px;margin-left:auto!important;margin-right:auto!important;}
.aidp-slip-row{border:1px solid #e3ecf5!important;border-radius:18px!important;background:#fff!important;margin-bottom:12px!important;padding:18px 20px!important;grid-template-columns:1.2fr .9fr auto!important;box-shadow:0 10px 28px rgba(15,23,42,.035)!important;}
.aidp-slip-row time{font-size:18px!important;color:#111827!important;}
.aidp-slip-row .aidp-split{display:none!important;}
.aidp-slip-row button{background:#f8fbff!important;color:#0b5fd3!important;border-color:#dbe8f5!important;}
.aidp-session-note{margin:26px 0 36px!important;padding:22px 24px!important;border:1px solid #dbe9f5!important;border-radius:18px!important;background:linear-gradient(180deg,#fbfdff,#f7fbff)!important;display:flex!important;align-items:center!important;gap:18px!important;color:#68798d!important;}
.aidp-session-note span{width:48px;height:48px;border-radius:18px;background:#eef6ff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.aidp-session-note svg{width:26px;height:26px;fill:none;stroke:#0b5fd3;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.aidp-session-note p{margin:0!important;font-size:17px!important;line-height:1.8!important;font-weight:700!important;}
.aidp-sp{display:none;}
.aidp-app-security{margin:0 -22px!important;padding:18px 22px calc(18px + env(safe-area-inset-bottom))!important;border-top:1px solid #e6edf4!important;background:rgba(255,255,255,.92)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;color:#728295!important;font-size:13px!important;font-weight:800!important;}
.aidp-app-security span{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important;white-space:nowrap!important;}
.aidp-app-security svg{width:18px;height:18px;fill:none;stroke:#0b5fd3;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.75;}
@media(max-width:760px){
  .aidp-app-v35{padding:0 20px!important;margin-bottom:72px!important;}
  .aidp-topbar{margin:0 -20px 48px!important;padding:16px 20px 14px!important;}
  .aidp-mini-mark{width:32px;height:26px;}
  .aidp-mini-text b{font-size:17px;}
  .aidp-mini-text small{font-size:9.5px;}
  .aidp-logout{font-size:14px!important;padding-right:0!important;}
  .aidp-welcome p{font-size:21px!important;}
  .aidp-welcome h2{font-size:40px!important;}
  .aidp-welcome span{font-size:14px!important;padding:8px 15px!important;}
  .aidp-empty{padding:70px 8px 88px!important;}
  .aidp-empty div{width:66px!important;height:66px!important;border-radius:22px!important;font-size:32px!important;}
  .aidp-empty h3{font-size:29px!important;}
  .aidp-empty p{font-size:17px!important;line-height:1.7!important;}
  .aidp-session-note{padding:20px 18px!important;gap:15px!important;}
  .aidp-session-note p{font-size:16px!important;}
  .aidp-sp{display:block;}
  .aidp-app-security{margin-left:-20px!important;margin-right:-20px!important;padding-left:14px!important;padding-right:14px!important;font-size:12px!important;gap:4px!important;}
  .aidp-app-security span{gap:5px!important;letter-spacing:-.02em!important;}
  .aidp-app-security svg{width:17px;height:17px;}
}

/* AidPayroll v3.6 - finalized payslip list design */
body.aidp-portal-standalone,
body.aidp-portal-standalone *{box-sizing:border-box!important;}
body.aidp-portal-standalone{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  min-height:100vh!important;
}
.aidp-app-v36{
  width:100%!important;
  max-width:760px!important;
  margin:0 auto!important;
  padding:0 24px 86px!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
  color:#0f172a!important;
  min-height:100vh!important;
}
.aidp-app-v36 .aidp-topbar{
  position:sticky!important;
  top:0!important;
  z-index:50!important;
  margin:0 -24px 48px!important;
  padding:20px 24px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:78px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(226,234,242,.92)!important;
  box-shadow:0 8px 26px rgba(15,23,42,.035)!important;
  backdrop-filter:saturate(160%) blur(16px)!important;
  -webkit-backdrop-filter:saturate(160%) blur(16px)!important;
}
.aidp-app-v36 .aidp-mini-brand{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;}
.aidp-app-v36 .aidp-mini-mark{width:42px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;}
.aidp-app-v36 .aidp-mini-mark svg{width:42px!important;height:34px!important;display:block!important;}
.aidp-app-v36 .aidp-mini-text{display:flex!important;flex-direction:column!important;line-height:1!important;min-width:0!important;}
.aidp-app-v36 .aidp-mini-text b{font-size:21px!important;line-height:1!important;font-weight:860!important;letter-spacing:-.055em!important;color:#0f172a!important;white-space:nowrap!important;}
.aidp-app-v36 .aidp-mini-text small{font-size:10px!important;line-height:1!important;margin-top:6px!important;font-weight:800!important;color:#7f8ea0!important;white-space:nowrap!important;letter-spacing:.01em!important;}
.aidp-app-v36 .aidp-logout{display:inline-flex!important;align-items:center!important;gap:6px!important;border:0!important;background:transparent!important;color:#0b5fd3!important;padding:10px 0 10px 8px!important;font-size:15px!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important;box-shadow:none!important;}
.aidp-app-v36 .aidp-logout svg{width:20px!important;height:20px!important;stroke:currentColor!important;stroke-width:2!important;fill:none!important;}
.aidp-app-v36 .aidp-welcome{
  padding:0 0 34px!important;
  margin:0!important;
  border-bottom:1px solid #e6edf4!important;
  text-align:left!important;
}
.aidp-app-v36 .aidp-welcome p{margin:0 0 10px!important;color:#758597!important;font-size:22px!important;line-height:1.35!important;font-weight:800!important;letter-spacing:-.035em!important;}
.aidp-app-v36 .aidp-welcome h2{margin:0!important;font-size:43px!important;line-height:1.22!important;font-weight:520!important;color:#111827!important;letter-spacing:-.058em!important;}
.aidp-app-v36 .aidp-welcome span{display:inline-flex!important;align-items:center!important;gap:8px!important;margin-top:22px!important;padding:9px 16px!important;border:1px solid #dbe9f5!important;border-radius:999px!important;background:#f2f7fd!important;color:#1d5eae!important;font-size:14px!important;font-weight:900!important;}
.aidp-app-v36 .aidp-welcome span svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;}
.aidp-app-v36 .aidp-slip-list{margin-top:38px!important;border:0!important;}
.aidp-app-v36 .aidp-slip-list:before{content:'公開中の給与明細';display:block;margin:0 0 18px!important;color:#0f172a!important;font-size:22px!important;line-height:1.35!important;font-weight:900!important;letter-spacing:-.035em!important;}
.aidp-app-v36 .aidp-slip-list:has(.aidp-empty):before{content:'';display:none;}
.aidp-app-v36 .aidp-slip-row{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:12px!important;
  align-items:center!important;
  position:relative!important;
  margin:0 0 13px!important;
  padding:20px 44px 20px 22px!important;
  border:1px solid #e3ecf5!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
  overflow:hidden!important;
}
.aidp-app-v36 .aidp-slip-row:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:5px;border-radius:0 999px 999px 0;background:#0b5fd3;}
.aidp-app-v36 .aidp-slip-row:after{content:'›';position:absolute;right:22px;top:50%;transform:translateY(-50%);font-size:42px;line-height:1;color:#7c8a9b;font-weight:400;}
.aidp-app-v36 .aidp-slip-row time{display:block!important;margin:0 0 6px!important;color:#0f172a!important;font-size:22px!important;line-height:1.25!important;font-weight:900!important;letter-spacing:-.035em!important;}
.aidp-app-v36 .aidp-slip-row p{margin:0!important;color:#7a8796!important;font-size:15px!important;line-height:1.4!important;font-weight:800!important;}
.aidp-app-v36 .aidp-slip-row .aidp-net,
.aidp-app-v36 .aidp-slip-row .aidp-split,
.aidp-app-v36 .aidp-slip-row button{display:none!important;}
.aidp-app-v36 .aidp-empty{padding:82px 8px 100px!important;text-align:center!important;border:0!important;background:transparent!important;}
.aidp-app-v36 .aidp-empty div{width:70px!important;height:70px!important;margin:0 auto 30px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:24px!important;background:#f5f8fc!important;color:#0b5fd3!important;font-size:34px!important;font-weight:800!important;box-shadow:0 14px 36px rgba(15,23,42,.035)!important;}
.aidp-app-v36 .aidp-empty h3{max-width:560px!important;margin:0 auto 16px!important;font-size:32px!important;line-height:1.35!important;font-weight:520!important;letter-spacing:-.055em!important;color:#111827!important;}
.aidp-app-v36 .aidp-empty p{max-width:500px!important;margin:0 auto!important;color:#7a8796!important;font-size:18px!important;line-height:1.75!important;font-weight:800!important;}
.aidp-app-v36 .aidp-session-note{margin:30px 0 34px!important;padding:22px 24px!important;border:1px solid #dbe9f5!important;border-radius:18px!important;background:linear-gradient(180deg,#fbfdff,#f7fbff)!important;display:flex!important;align-items:center!important;gap:18px!important;box-shadow:none!important;}
.aidp-app-v36 .aidp-session-note span{width:48px!important;height:48px!important;border-radius:18px!important;background:#eef6ff!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;}
.aidp-app-v36 .aidp-session-note svg{width:26px!important;height:26px!important;fill:none!important;stroke:#0b5fd3!important;stroke-width:1.9!important;}
.aidp-app-v36 .aidp-session-note p{margin:0!important;color:#68798d!important;font-size:17px!important;line-height:1.8!important;font-weight:800!important;}
.aidp-app-v36 .aidp-app-security{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:40!important;margin:0!important;padding:15px 20px calc(15px + env(safe-area-inset-bottom))!important;border-top:1px solid #e6edf4!important;background:rgba(255,255,255,.94)!important;backdrop-filter:saturate(160%) blur(14px)!important;-webkit-backdrop-filter:saturate(160%) blur(14px)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;color:#728295!important;font-size:13px!important;font-weight:800!important;}
.aidp-app-v36 .aidp-app-security span{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important;white-space:nowrap!important;}
.aidp-app-v36 .aidp-app-security svg{width:18px!important;height:18px!important;fill:none!important;stroke:#0b5fd3!important;stroke-width:1.8!important;opacity:.82!important;}
@media(max-width:760px){
  .aidp-app-v36{padding:0 28px 110px!important;max-width:100%!important;}
  .aidp-app-v36 .aidp-topbar{margin:0 -28px 48px!important;padding:18px 28px 16px!important;min-height:76px!important;}
  .aidp-app-v36 .aidp-mini-mark{width:43px!important;height:34px!important;}
  .aidp-app-v36 .aidp-mini-mark svg{width:43px!important;height:34px!important;}
  .aidp-app-v36 .aidp-mini-text b{font-size:22px!important;}
  .aidp-app-v36 .aidp-mini-text small{font-size:10px!important;}
  .aidp-app-v36 .aidp-logout{font-size:15px!important;gap:6px!important;}
  .aidp-app-v36 .aidp-logout svg{width:19px!important;height:19px!important;}
  .aidp-app-v36 .aidp-welcome p{font-size:22px!important;}
  .aidp-app-v36 .aidp-welcome h2{font-size:42px!important;}
  .aidp-app-v36 .aidp-slip-list{margin-top:36px!important;}
  .aidp-app-v36 .aidp-slip-list:before{font-size:22px!important;margin-bottom:18px!important;}
  .aidp-app-v36 .aidp-slip-row{border-radius:14px!important;padding:20px 42px 20px 20px!important;}
  .aidp-app-v36 .aidp-slip-row time{font-size:22px!important;}
  .aidp-app-v36 .aidp-empty{padding:78px 0 96px!important;}
  .aidp-app-v36 .aidp-empty h3{font-size:31px!important;}
  .aidp-app-v36 .aidp-empty p{font-size:17px!important;}
  .aidp-app-v36 .aidp-session-note{padding:20px 18px!important;gap:15px!important;}
  .aidp-app-v36 .aidp-session-note p{font-size:16px!important;}
  .aidp-app-v36 .aidp-sp{display:block!important;}
  .aidp-app-v36 .aidp-app-security{font-size:12px!important;gap:4px!important;padding-left:12px!important;padding-right:12px!important;}
  .aidp-app-v36 .aidp-app-security span{gap:5px!important;letter-spacing:-.02em!important;}
  .aidp-app-v36 .aidp-app-security svg{width:17px!important;height:17px!important;}
}

/* AidPayroll v4.1 - TKC payslip import and detail UI */
.aidn-tkc-head .aidn-kicker{color:#0b5fd3!important;}
.aidn-tkc-import{border:1px solid #e7eef6!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;}
.aidn-tkc-drop{border:1.5px dashed #9bbce8!important;background:#f6f9ff!important;border-radius:18px!important;padding:28px!important;text-align:center!important;}
.aidn-period-card-v41{border-left:4px solid #0b5fd3!important;}
.aidn-period-total{font-weight:700;color:#0f172a!important;margin-top:4px!important;}
.aidp-app-v41{max-width:760px;margin:0 auto 80px;padding:0 22px;color:#0f172a;}
.aidp-slip-list-v41{display:grid;gap:14px;margin-top:24px;}
.aidp-slip-row-v41{display:grid!important;grid-template-columns:1fr auto 24px;gap:14px;align-items:center;text-decoration:none!important;background:#fff;border:1px solid #e6edf4;border-radius:18px;padding:18px 16px;box-shadow:0 10px 30px rgba(15,23,42,.045);color:#0f172a!important;}
.aidp-slip-row-v41:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(15,23,42,.08);}
.aidp-slip-main time{display:block;font-size:18px;font-weight:800;letter-spacing:-.02em;color:#0f172a;}
.aidp-slip-main p{margin:6px 0 0;color:#64748b;font-size:13px;}
.aidp-slip-row-v41 .aidp-net{text-align:right;}
.aidp-slip-row-v41 .aidp-net span{display:block;color:#64748b;font-size:12px;font-weight:700;margin-bottom:4px;}
.aidp-slip-row-v41 .aidp-net strong{font-size:20px;color:#0b5fd3;letter-spacing:-.03em;}
.aidp-chevron{font-size:30px;color:#94a3b8;line-height:1;}
.aidp-detail-hero{margin-top:30px;padding:28px 0 18px;border-bottom:1px solid #e6edf4;}
.aidp-detail-hero p{margin:0 0 6px;color:#64748b;font-weight:700;}
.aidp-detail-hero h1{margin:0;font-size:32px;letter-spacing:-.05em;}
.aidp-detail-net{margin-top:24px;background:linear-gradient(135deg,#0b5fd3,#33a6e8);border-radius:22px;padding:24px;color:#fff;box-shadow:0 16px 40px rgba(11,95,211,.25);}
.aidp-detail-net span{display:block;font-weight:700;opacity:.85;margin-bottom:8px;}
.aidp-detail-net strong{font-size:38px;letter-spacing:-.06em;}
.aidp-detail-meta{margin:18px 0 20px;background:#fff;border:1px solid #e6edf4;border-radius:18px;padding:14px 18px;}
.aidp-detail-meta dl{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin:0;}
.aidp-detail-meta dt{font-size:12px;color:#64748b;font-weight:700;margin-bottom:4px;}
.aidp-detail-meta dd{margin:0;font-weight:700;color:#0f172a;}
.aidp-detail-section{margin-top:18px;background:#fff;border:1px solid #e6edf4;border-radius:18px;overflow:hidden;}
.aidp-detail-section h2{font-size:18px;margin:0;padding:18px 18px 14px;border-bottom:1px solid #edf2f7;}
.aidp-detail-table{display:grid;}
.aidp-detail-table>div{display:flex;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid #f1f5f9;}
.aidp-detail-table>div:last-child{border-bottom:0;}
.aidp-detail-table span{color:#475569;font-size:14px;}
.aidp-detail-table strong{font-size:15px;color:#0f172a;text-align:right;}
.aidp-payments h2{color:#0b5fd3;}
.aidp-deductions h2{color:#475569;}
.aidp-total-panel{margin-top:18px;background:#0f172a;color:#fff;border-radius:22px;padding:18px;display:grid;gap:12px;}
.aidp-total-panel>div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:10px;}
.aidp-total-panel>div:last-child{border-bottom:0;padding-bottom:0;}
.aidp-total-panel span{color:#cbd5e1;font-weight:700;}
.aidp-total-panel strong{font-size:20px;}
.aidp-total-panel .aidp-total-net strong{font-size:30px;color:#8bd7ff;letter-spacing:-.04em;}
.aidp-detail-actions{display:flex;gap:12px;justify-content:center;margin:24px 0 40px;}
.aidp-detail-actions button,.aidp-detail-actions a{border:1px solid #dbe6f0;background:#fff;border-radius:999px;padding:12px 22px;font-weight:800;color:#0f172a;text-decoration:none;}
@media(max-width:640px){.aidp-slip-row-v41{grid-template-columns:1fr;}.aidp-slip-row-v41 .aidp-net{text-align:left}.aidp-chevron{display:none}.aidp-detail-meta dl{grid-template-columns:1fr}.aidp-detail-net strong{font-size:32px}.aidp-detail-table>div{padding:12px 14px}.aidp-detail-section h2{padding:16px 14px}.aidp-total-panel .aidp-total-net strong{font-size:26px}}
@media print{.aidp-topbar,.aidp-detail-actions,.aidp-app-security{display:none!important}.aidp-app-v41{max-width:none;margin:0;padding:0}.aidp-detail-net{box-shadow:none;background:#fff;color:#000;border:2px solid #111}.aidp-detail-section,.aidp-detail-meta,.aidp-total-panel{box-shadow:none;break-inside:avoid}.aidp-total-panel{background:#fff;color:#000;border:2px solid #111}.aidp-total-panel span{color:#111}.aidp-total-panel .aidp-total-net strong{color:#000}}
.aidn-notify-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.aidn-notify-summary span{display:inline-flex;align-items:center;border:1px solid #dbe7f5;background:#f7fbff;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;color:#34506b}

/* AidPayroll v4.7 - payslip wording, navigation and refined detail UI */
.aidp-app-v47 .aidp-slip-row-v47 time{font-size:20px!important;line-height:1.3!important;}
.aidp-app-v47 .aidp-slip-row-v47{border-left:5px solid #0b5fd3!important;}
.aidp-detail-v47{padding-bottom:110px!important;}
.aidp-detail-v47 .aidp-detail-topbar{position:sticky!important;top:0!important;z-index:60!important;margin:0 -22px 30px!important;padding:14px 22px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e6edf4!important;box-shadow:0 8px 26px rgba(15,23,42,.035)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.aidp-back-link{display:inline-flex!important;align-items:center!important;color:#0b5fd3!important;text-decoration:none!important;font-size:14px!important;font-weight:900!important;white-space:nowrap!important;}
.aidp-detail-top-actions{display:flex!important;gap:8px!important;align-items:center!important;}
.aidp-detail-top-actions a,.aidp-detail-top-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #dbe7f5!important;background:#fff!important;color:#0b5fd3!important;border-radius:999px!important;padding:9px 13px!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important;line-height:1!important;box-shadow:none!important;}
.aidp-detail-v47 .aidp-detail-hero{margin-top:0!important;padding:8px 0 24px!important;border-bottom:1px solid #e6edf4!important;}
.aidp-detail-v47 .aidp-detail-hero p{font-size:15px!important;font-weight:900!important;color:#7a8796!important;margin-bottom:6px!important;}
.aidp-detail-v47 .aidp-detail-hero h1{font-size:34px!important;line-height:1.25!important;font-weight:850!important;letter-spacing:-.055em!important;margin-bottom:20px!important;}
.aidp-detail-v47 .aidp-detail-net{margin-top:18px!important;border-radius:24px!important;padding:26px 28px!important;background:linear-gradient(135deg,#006ce5 0%,#39b8ee 100%)!important;box-shadow:0 18px 42px rgba(11,95,211,.22)!important;}
.aidp-detail-v47 .aidp-detail-net span{font-size:16px!important;font-weight:900!important;opacity:.95!important;}
.aidp-detail-v47 .aidp-detail-net strong{font-size:42px!important;font-weight:600!important;letter-spacing:-.06em!important;}
.aidp-detail-v47 .aidp-detail-meta{margin:22px 0!important;padding:22px 24px!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.04)!important;}
.aidp-detail-v47 .aidp-detail-meta h2{margin:0 0 18px!important;font-size:20px!important;letter-spacing:-.03em!important;}
.aidp-detail-v47 .aidp-detail-meta dl{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px 22px!important;}
.aidp-detail-v47 .aidp-detail-meta dt{font-size:13px!important;color:#7a8796!important;font-weight:900!important;}
.aidp-detail-v47 .aidp-detail-meta dd{font-size:18px!important;font-weight:850!important;letter-spacing:-.025em!important;}
.aidp-detail-v47 .aidp-detail-section{border-radius:22px!important;border:1px solid #e4edf6!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.035)!important;margin-top:22px!important;}
.aidp-detail-v47 .aidp-detail-section h2{font-size:22px!important;padding:21px 24px 18px!important;font-weight:850!important;letter-spacing:-.035em!important;color:#0f172a!important;}
.aidp-detail-v47 .aidp-detail-table>div{padding:16px 24px!important;border-bottom:1px solid #eff4f8!important;}
.aidp-detail-v47 .aidp-detail-table span{font-size:16px!important;color:#5d6f82!important;}
.aidp-detail-v47 .aidp-detail-table strong{font-size:17px!important;color:#111827!important;font-weight:750!important;}
.aidp-detail-v47 .aidp-total-panel{margin-top:26px!important;border-radius:26px!important;padding:24px 28px!important;background:#0f172a!important;box-shadow:0 18px 42px rgba(15,23,42,.18)!important;}
.aidp-detail-v47 .aidp-total-panel>div{padding:14px 0!important;}
.aidp-detail-v47 .aidp-total-panel span{font-size:19px!important;font-weight:900!important;color:#d7e1eb!important;}
.aidp-detail-v47 .aidp-total-panel strong{font-size:26px!important;font-weight:700!important;}
.aidp-detail-v47 .aidp-total-panel .aidp-total-net strong{font-size:34px!important;color:#8bd7ff!important;}
.aidp-detail-v47 .aidp-detail-actions{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:10px!important;margin:26px 0 42px!important;}
.aidp-detail-v47 .aidp-detail-actions a,.aidp-detail-v47 .aidp-detail-actions button{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;border-radius:14px!important;padding:14px 12px!important;border:1px solid #dbe7f5!important;background:#fff!important;color:#0b5fd3!important;text-decoration:none!important;font-size:14px!important;font-weight:900!important;box-shadow:none!important;}
.aidp-detail-v47 .aidp-detail-actions .aidp-download-primary{background:#0b5fd3!important;color:#fff!important;border-color:#0b5fd3!important;}
@media(max-width:640px){
  .aidp-detail-v47 .aidp-detail-topbar{margin-left:-22px!important;margin-right:-22px!important;padding-left:20px!important;padding-right:20px!important;}
  .aidp-detail-top-actions a,.aidp-detail-top-actions button{font-size:12px!important;padding:8px 10px!important;}
  .aidp-detail-v47 .aidp-detail-hero h1{font-size:30px!important;}
  .aidp-detail-v47 .aidp-detail-net strong{font-size:38px!important;}
  .aidp-detail-v47 .aidp-detail-meta dl{grid-template-columns:1fr!important;}
  .aidp-detail-v47 .aidp-detail-table>div{padding:15px 18px!important;}
  .aidp-detail-v47 .aidp-detail-actions{grid-template-columns:1fr!important;}
}
@media print{.aidp-detail-v47 .aidp-detail-topbar{display:none!important}}

/* AidPayroll v4.11 - restore product header / logout reliably */
.aidp-app-v49{
  max-width:760px!important;
  margin:0 auto!important;
  padding:0 24px 96px!important;
  min-height:100vh!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
}
.aidp-app-v49 .aidp-v49-header{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:sticky!important;
  top:0!important;
  z-index:999!important;
  margin:0 -24px 42px!important;
  padding:18px 24px 16px!important;
  min-height:78px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e6edf4!important;
  box-shadow:0 8px 26px rgba(15,23,42,.035)!important;
  -webkit-backdrop-filter:saturate(160%) blur(16px)!important;
  backdrop-filter:saturate(160%) blur(16px)!important;
}
.aidp-app-v49 .aidp-mini-brand{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;}
.aidp-app-v49 .aidp-mini-mark{width:42px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;}
.aidp-app-v49 .aidp-mini-mark svg{width:42px!important;height:34px!important;display:block!important;}
.aidp-app-v49 .aidp-mini-text{display:flex!important;flex-direction:column!important;line-height:1!important;min-width:0!important;}
.aidp-app-v49 .aidp-mini-text b{font-size:21px!important;line-height:1!important;font-weight:860!important;letter-spacing:-.055em!important;color:#0f172a!important;white-space:nowrap!important;}
.aidp-app-v49 .aidp-mini-text small{font-size:10px!important;line-height:1!important;margin-top:6px!important;font-weight:800!important;color:#7f8ea0!important;white-space:nowrap!important;letter-spacing:.01em!important;}
.aidp-app-v49 .aidp-logout{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:0!important;background:transparent!important;color:#0b5fd3!important;padding:10px 0 10px 8px!important;font-size:15px!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important;box-shadow:none!important;border-radius:999px!important;}
.aidp-app-v49 .aidp-logout:before{content:'↪';font-size:20px;line-height:1;margin-right:6px;color:#0b5fd3;}
.aidp-app-v49 .aidp-welcome{padding-top:0!important;margin-top:0!important;}
.aidp-app-v49 .aidp-session-note{margin-top:40px!important;}
.aidp-app-v49 .aidp-v49-detail-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 28px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .aidp-app-v49{padding-left:20px!important;padding-right:20px!important;}
  .aidp-app-v49 .aidp-v49-header{margin-left:-20px!important;margin-right:-20px!important;padding:16px 20px 14px!important;min-height:74px!important;}
  .aidp-app-v49 .aidp-mini-mark{width:38px!important;height:31px!important;}
  .aidp-app-v49 .aidp-mini-mark svg{width:38px!important;height:31px!important;}
  .aidp-app-v49 .aidp-mini-text b{font-size:20px!important;}
  .aidp-app-v49 .aidp-logout{font-size:14px!important;}
}


/* AidPayroll v4.11 - secure 10min session / simplified detail actions */
.aidp-detail-top-actions,.aidp-download-link,.aidp-download-primary{display:none!important;}
.aidp-detail-actions{display:flex!important;grid-template-columns:1fr!important;}
.aidp-detail-actions a{width:100%!important;text-align:center!important;}

/* AidPayroll v5.0 - final brand, centered login, stronger security */
body.aidp-portal-standalone .aidn-payroll.aidp-shell,
body.aidp-portal-standalone .aidn-payroll.aidp-login-shell,
body.aidp-portal-standalone .aidp-login-shell{
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  max-width:760px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-login-brand,
body.aidp-portal-standalone .aidp-login-panel{
  margin-left:auto!important;
  margin-right:auto!important;
}
.aidp-v50-header .aidp-mini-text,
.aidp-app-v49 .aidp-mini-text{line-height:1!important;}
.aidp-v50-header .aidp-mini-word,
.aidp-app-v49 .aidp-mini-word{
  display:block!important;
  font-size:21px!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
  color:#0f172a!important;
  white-space:nowrap!important;
}
.aidp-v50-header .aidp-logo-aid,
.aidp-app-v49 .aidp-logo-aid{font-weight:300!important;}
.aidp-v50-header .aidp-logo-payroll,
.aidp-app-v49 .aidp-logo-payroll{font-weight:850!important;}
.aidp-v50-header .aidp-mini-text small,
.aidp-app-v49 .aidp-mini-text small{
  display:block!important;
  font-size:10px!important;
  line-height:1!important;
  margin-top:6px!important;
  font-weight:700!important;
  color:#7f8ea0!important;
  letter-spacing:.01em!important;
}
.aidp-security-panel{
  margin:34px 0 54px!important;
  padding:24px 22px 20px!important;
  border:1px solid #dbe9f5!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)!important;
  box-shadow:0 10px 30px rgba(15,23,42,.035)!important;
}
.aidp-security-panel h2{
  margin:0 0 18px!important;
  font-size:18px!important;
  line-height:1.4!important;
  color:#0f172a!important;
  letter-spacing:-.03em!important;
}
.aidp-security-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.aidp-security-grid div{
  min-width:0!important;
  padding:16px 14px!important;
  border:1px solid #e5eef7!important;
  border-radius:18px!important;
  background:#fff!important;
}
.aidp-security-grid svg{
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:#0b5fd3!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  margin-bottom:10px!important;
}
.aidp-security-grid strong{display:block!important;font-size:14px!important;line-height:1.45!important;color:#203040!important;font-weight:900!important;margin-bottom:5px!important;}
.aidp-security-grid span{display:block!important;font-size:12px!important;line-height:1.65!important;color:#6b7c8d!important;font-weight:650!important;}
.aidp-security-panel p{
  margin:18px 0 0!important;
  padding-top:14px!important;
  border-top:1px solid #e6eef7!important;
  color:#8191a0!important;
  font-size:12px!important;
  text-align:center!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
}
@media(max-width:640px){
  .aidp-v50-header .aidp-mini-word,
  .aidp-app-v49 .aidp-mini-word{font-size:20px!important;}
  .aidp-security-panel{padding:22px 18px 18px!important;margin-bottom:42px!important;}
  .aidp-security-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .aidp-security-grid div{display:grid!important;grid-template-columns:30px 1fr!important;column-gap:10px!important;align-items:center!important;padding:14px!important;}
  .aidp-security-grid svg{grid-row:1 / span 2!important;margin:0!important;width:23px!important;height:23px!important;}
  .aidp-security-grid strong{margin:0!important;font-size:14px!important;}
  .aidp-security-grid span{font-size:12px!important;}
}


/* AidPayroll 1.0 RC2 security/history refinements */
.aidp-login-shell{display:flex!important;flex-direction:column;align-items:center!important;justify-content:flex-start;margin-left:auto!important;margin-right:auto!important;text-align:center;}
.aidp-login-panel{margin-left:auto!important;margin-right:auto!important;}
.aidp-login-history-box{background:#ffffff;border:1px solid #dfeaf2;border-radius:18px;padding:16px 18px;margin:14px 0 18px;box-shadow:0 8px 22px rgba(20,50,70,.05);}
.aidp-login-history-box strong{display:block;color:#183B56;font-size:14px;margin-bottom:8px;}
.aidp-login-history-box p{margin:0;color:#607d8b;font-size:13px;line-height:1.7;}
.aidp-login-history-line{display:flex;flex-wrap:wrap;gap:8px 12px;color:#486575;font-size:13px;line-height:1.7;}
.aidp-login-warning{margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff7e6;border:1px solid #ffe0a3;color:#8a5a00;font-size:13px;line-height:1.7;}
@media(max-width:640px){.aidp-login-history-line{display:block}.aidp-login-history-line span{display:block;margin:2px 0}.aidp-login-history-box{margin-left:0;margin-right:0}}

/* AidPayroll 1.0.0-rc3: login history spacing / compact mobile layout */
.aidp-login-history-box{
  margin:18px 0 22px;
  padding:20px 22px;
  border:1px solid rgba(13,95,211,.14);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,35,70,.04);
}
.aidp-login-history-box>strong{
  display:block;
  margin-bottom:10px;
  color:#0f172a;
  font-size:15px;
  letter-spacing:.02em;
}
.aidp-login-history-line{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#64748b;
  font-size:15px;
  line-height:1.45;
}
.aidp-login-warning{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff7ed;
  color:#9a3412;
  font-weight:700;
  line-height:1.55;
}
.aidp-welcome{margin-bottom:18px!important;}
.aidp-welcome + .aidp-login-history-box{margin-top:8px;}
@media (max-width: 640px){
  .aidp-app{padding-top:0!important;}
  .aidp-welcome{padding-top:34px!important;margin-bottom:14px!important;}
  .aidp-welcome h2{margin-bottom:20px!important;}
  .aidp-login-history-box{margin:10px 0 20px;padding:18px 18px;border-radius:16px;}
  .aidp-slip-list{margin-top:18px!important;}
}

/* AidPayroll 1.0.0-rc4: current/previous login information */
.aidp-login-section{margin-top:12px;padding-top:10px;border-top:1px solid rgba(15,23,42,.07);}
.aidp-login-section:first-of-type{border-top:0;margin-top:0;padding-top:0;}
.aidp-login-section em{display:block;margin-bottom:6px;color:#2563eb;font-style:normal;font-weight:800;font-size:13px;letter-spacing:.04em;}
.aidp-login-prev em{color:#64748b;}
.aidp-login-note{margin:10px 0 0!important;color:#64748b!important;font-size:13px!important;}
@media (max-width:640px){
  .aidp-login-section{margin-top:10px;padding-top:9px;}
  .aidp-login-history-line span{font-size:14px;}
}

/* AidPayroll 1.0.0-rc5: compact login information layout */
.aidp-login-history-box{
  padding:16px 18px!important;
  margin:10px 0 18px!important;
}
.aidp-login-section{
  display:grid!important;
  grid-template-columns:52px 1fr!important;
  align-items:start!important;
  column-gap:10px!important;
  margin-top:10px!important;
  padding-top:10px!important;
}
.aidp-login-section:first-of-type{margin-top:0!important;padding-top:0!important;}
.aidp-login-section em{
  margin:0!important;
  padding-top:1px!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
.aidp-login-history-line{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  gap:5px 12px!important;
  align-items:center!important;
  min-width:0!important;
  font-size:14px!important;
  line-height:1.45!important;
}
.aidp-login-history-line span{
  display:inline-flex!important;
  align-items:center!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.aidp-login-warning{margin-top:12px!important;}
@media(max-width:640px){
  .aidp-login-history-box{padding:15px 16px!important;margin:8px 0 18px!important;}
  .aidp-login-section{grid-template-columns:48px 1fr!important;column-gap:8px!important;}
  .aidp-login-history-line{gap:4px 9px!important;font-size:13.5px!important;}
  .aidp-login-history-line span{display:inline-flex!important;margin:0!important;}
}

/* v1.0.0-rc6: email change request */
.aidp-email-change-panel{margin:18px 0;padding:18px;border:1px solid #dbe7f5;background:#fff;border-radius:18px;box-shadow:0 8px 22px rgba(20,50,70,.05)}
.aidp-email-change-panel h2{font-size:17px;margin:0 0 12px;color:#102a43}
.aidp-email-change-panel p{font-size:13px;line-height:1.7;color:#607d8b;margin:6px 0}
.aidp-email-change-note{background:#eef7ff;border:1px solid #cfe8ff;border-radius:14px;padding:13px 14px;margin:12px 0 16px;color:#17476f}
.aidp-email-change-note strong{display:block;font-size:13px;margin:0 0 6px;color:#0f3b66}
.aidp-email-change-note p{margin:0;color:#315b76;font-size:13px;line-height:1.65;word-break:normal;overflow-wrap:break-word}
.aidp-email-current{border-top:1px solid #edf2f7;border-bottom:1px solid #edf2f7;padding:13px 0;margin:10px 0 16px}
.aidp-email-current span{display:block;font-size:12px;color:#78909c;margin-bottom:5px}
.aidp-email-current strong{font-size:14px;color:#102a43;word-break:break-all}
.aidp-email-change-form label span{font-size:12px;color:#78909c;margin-bottom:6px}
.aidp-email-change-status{background:#fff8e6;border:1px solid #f4d27a;border-radius:14px;padding:13px 14px;margin:12px 0;color:#6b4e00}
.aidp-email-change-status strong{display:block;font-size:13px;margin-bottom:6px}
.aidp-email-change-status span{display:block;font-weight:700;color:#4a3a00;word-break:break-all}
.aidp-email-change-status p{margin:5px 0 0;color:#806000}
.aidp-inline-form{display:grid;gap:10px;margin-top:12px}
.aidp-inline-form label span{display:block;font-size:12px;font-weight:700;color:#486581;margin-bottom:6px}
.aidp-inline-form input{width:100%;box-sizing:border-box;border:1px solid #c9d8e5;border-radius:12px;padding:12px 13px;font-size:16px;background:#fbfdff}
.aidp-secondary{border:1px solid #0b5fd3;background:#fff;color:#0b5fd3;border-radius:999px;padding:11px 18px;font-weight:700;cursor:pointer}
.aidp-secondary:hover{background:#f0f7ff}


/* AidPayroll 1.0.0-rc9: iPhone/Safari login layout correction */
html, body,
body.aidp-portal-standalone,
body.aidp-portal-standalone * ,
body.aidp-portal-standalone *::before,
body.aidp-portal-standalone *::after{
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-login-shell{
  max-width:680px!important;
  min-height:100dvh!important;
  justify-content:flex-start!important;
  padding-top:72px!important;
  padding-bottom:72px!important;
}
body.aidp-portal-standalone .aidp-brand-final{
  max-width:430px!important;
  margin-bottom:34px!important;
  gap:16px!important;
}
body.aidp-portal-standalone .aidp-brand-final .aidp-mark{
  width:58px!important;
  height:44px!important;
}
body.aidp-portal-standalone .aidp-brand-final .aidp-wordmark{
  font-size:42px!important;
  line-height:1!important;
}
body.aidp-portal-standalone .aidp-brand-final .aidp-byline{
  margin-top:6px!important;
  font-size:14px!important;
}
body.aidp-portal-standalone .aidp-login-panel{
  width:100%!important;
  max-width:500px!important;
  margin:0 auto!important;
  text-align:center!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-kicker{
  margin:0 auto 20px!important;
  text-align:center!important;
  font-size:12px!important;
  letter-spacing:.30em!important;
  line-height:1.4!important;
}
body.aidp-portal-standalone .aidp-login-panel h1{
  text-align:center!important;
  font-size:36px!important;
  line-height:1.25!important;
  letter-spacing:-.045em!important;
  margin:0 auto 22px!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-lead{
  max-width:440px!important;
  margin:0 auto 34px!important;
  text-align:center!important;
  font-size:16px!important;
  line-height:1.9!important;
}
body.aidp-portal-standalone .aidp-form{
  width:100%!important;
  max-width:460px!important;
  margin:0 auto!important;
  align-items:stretch!important;
  gap:20px!important;
}
body.aidp-portal-standalone .aidp-form label,
body.aidp-portal-standalone .aidp-login-panel .aidp-form input:not(.aidp-code-input),
body.aidp-portal-standalone .aidp-login-panel .aidp-primary{
  width:100%!important;
  max-width:460px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-form input:not(.aidp-code-input){
  display:block!important;
  padding:17px 18px!important;
  line-height:1.4!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-primary{
  display:block!important;
  padding:18px 22px!important;
}
body.aidp-portal-standalone .aidp-security{
  max-width:520px!important;
  margin:54px auto 0!important;
  padding-top:26px!important;
}
body.aidp-portal-standalone .aidp-security h2{
  margin-bottom:24px!important;
}
body.aidp-portal-standalone .aidp-security ul{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body.aidp-portal-standalone .aidp-security li{
  min-width:0!important;
}
body.aidp-portal-standalone .aidp-security strong{
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
  font-size:12px!important;
  line-height:1.45!important;
}
@media(max-width:760px){
  body.aidp-portal-standalone .aidp-login-shell{
    max-width:100%!important;
    padding:58px 24px 78px!important;
  }
  body.aidp-portal-standalone .aidp-brand-final{
    max-width:320px!important;
    margin-bottom:32px!important;
    gap:12px!important;
  }
  body.aidp-portal-standalone .aidp-brand-final .aidp-mark{
    width:56px!important;
    height:42px!important;
  }
  body.aidp-portal-standalone .aidp-brand-final .aidp-wordmark{
    font-size:34px!important;
  }
  body.aidp-portal-standalone .aidp-brand-final .aidp-byline{
    font-size:13px!important;
    margin-top:5px!important;
  }
  body.aidp-portal-standalone .aidp-login-panel{
    max-width:100%!important;
  }
  body.aidp-portal-standalone .aidp-login-panel .aidp-kicker{
    margin-bottom:18px!important;
    font-size:11px!important;
    letter-spacing:.28em!important;
  }
  body.aidp-portal-standalone .aidp-login-panel h1{
    font-size:32px!important;
    margin-bottom:20px!important;
  }
  body.aidp-portal-standalone .aidp-login-panel .aidp-lead{
    max-width:330px!important;
    font-size:15px!important;
    line-height:1.9!important;
    margin-bottom:30px!important;
  }
  body.aidp-portal-standalone .aidp-form{
    max-width:100%!important;
  }
  body.aidp-portal-standalone .aidp-form label,
  body.aidp-portal-standalone .aidp-login-panel .aidp-form input:not(.aidp-code-input),
  body.aidp-portal-standalone .aidp-login-panel .aidp-primary{
    max-width:100%!important;
  }
  body.aidp-portal-standalone .aidp-security{
    max-width:100%!important;
    margin-top:52px!important;
  }
  body.aidp-portal-standalone .aidp-security ul{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body.aidp-portal-standalone .aidp-security li:before{
    width:24px!important;
    height:24px!important;
    background-size:24px 24px!important;
    margin-bottom:7px!important;
  }
  body.aidp-portal-standalone .aidp-security strong{
    font-size:11px!important;
    letter-spacing:-.04em!important;
    line-height:1.45!important;
  }
}
@media(max-width:380px){
  body.aidp-portal-standalone .aidp-brand-final .aidp-wordmark{font-size:31px!important;}
  body.aidp-portal-standalone .aidp-login-panel h1{font-size:30px!important;}
  body.aidp-portal-standalone .aidp-login-shell{padding-left:20px!important;padding-right:20px!important;}
}


/* AidPayroll 1.0.0-rc10 - mobile login layout hard fix */
html:has(body.aidp-portal-standalone),
body.aidp-portal-standalone{
  width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  background:#fff!important;
}
body.aidp-portal-standalone .aidn-payroll{
  margin:0 auto!important;
  padding:0 20px!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-shell,
body.aidp-portal-standalone .aidp-login-shell{
  width:100%!important;
  max-width:720px!important;
  margin:0 auto!important;
  padding:28px 22px 64px!important;
  box-sizing:border-box!important;
  transform:none!important;
}
body.aidp-portal-standalone .aidp-brand-final{
  width:100%!important;
  max-width:320px!important;
  margin:0 auto 24px!important;
  padding:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:12px!important;
}
body.aidp-portal-standalone .aidp-brand-final .aidp-mark{
  width:54px!important;
  height:42px!important;
}
body.aidp-portal-standalone .aidp-brand-final .aidp-wordmark{
  font-size:34px!important;
  line-height:1!important;
  letter-spacing:-.065em!important;
}
body.aidp-portal-standalone .aidp-brand-final .aidp-byline{
  margin-top:4px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
body.aidp-portal-standalone .aidp-login-panel{
  width:100%!important;
  max-width:520px!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-kicker{
  margin:0 auto 16px!important;
  font-size:11px!important;
  line-height:1.25!important;
  letter-spacing:.27em!important;
  text-align:center!important;
}
body.aidp-portal-standalone .aidp-login-panel h1{
  margin:0 auto 18px!important;
  font-size:30px!important;
  line-height:1.25!important;
  letter-spacing:-.045em!important;
  text-align:center!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-lead{
  max-width:100%!important;
  margin:0 auto 26px!important;
  text-align:center!important;
  font-size:15px!important;
  line-height:1.8!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body.aidp-portal-standalone .aidp-form{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-form label,
body.aidp-portal-standalone .aidp-login-panel .aidp-form input:not(.aidp-code-input),
body.aidp-portal-standalone .aidp-login-panel .aidp-primary{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-form label span{
  display:block!important;
  text-align:left!important;
  margin-bottom:10px!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-form input:not(.aidp-code-input){
  height:58px!important;
  padding:15px 16px!important;
  border-radius:12px!important;
  font-size:16px!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-primary{
  height:60px!important;
  padding:0 18px!important;
  border-radius:12px!important;
  font-size:17px!important;
}
body.aidp-portal-standalone .aidp-security{
  width:100%!important;
  max-width:100%!important;
  margin:42px auto 0!important;
  padding-top:24px!important;
  box-sizing:border-box!important;
}
body.aidp-portal-standalone .aidp-security h2{
  margin:0 0 22px!important;
  font-size:17px!important;
  line-height:1.4!important;
}
body.aidp-portal-standalone .aidp-security ul{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.aidp-portal-standalone .aidp-security li{
  min-width:0!important;
  text-align:center!important;
}
body.aidp-portal-standalone .aidp-security li:before{
  width:23px!important;
  height:23px!important;
  background-size:23px 23px!important;
  margin:0 auto 7px!important;
}
body.aidp-portal-standalone .aidp-security strong{
  display:block!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  letter-spacing:-.04em!important;
  word-break:keep-all!important;
}
body.aidp-portal-standalone .aidp-security span{
  display:none!important;
}
@media(max-width:380px){
  body.aidp-portal-standalone .aidp-login-shell{padding-left:18px!important;padding-right:18px!important;}
  body.aidp-portal-standalone .aidp-brand-final{max-width:300px!important;gap:10px!important;}
  body.aidp-portal-standalone .aidp-brand-final .aidp-mark{width:50px!important;height:39px!important;}
  body.aidp-portal-standalone .aidp-brand-final .aidp-wordmark{font-size:31px!important;}
  body.aidp-portal-standalone .aidp-login-panel h1{font-size:28px!important;}
  body.aidp-portal-standalone .aidp-security strong{font-size:10px!important;}
}


/* AidPayroll Enterprise Manager */
.aidp-manager-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr;background:#f4f8fb;color:#142f3a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.aidp-manager-side{background:#fff;border-right:1px solid #dce9f1;padding:24px 18px;display:flex;flex-direction:column;gap:24px;position:sticky;top:0;height:100vh;box-sizing:border-box;}
.aidp-manager-logo .aidp-logo{justify-content:flex-start;}
.aidp-manager-side nav{display:grid;gap:6px;}
.aidp-manager-side nav a,.aidp-manager-logout{display:block;text-decoration:none;color:#31505b;border-radius:14px;padding:12px 14px;font-weight:750;}
.aidp-manager-side nav a.is-active,.aidp-manager-side nav a:hover{background:#eef6fb;color:#0b5fd3;}
.aidp-manager-logout{margin-top:auto;background:#f7fafc;color:#607d8b;text-align:center;}
.aidp-manager-main{padding:28px;max-width:1180px;width:100%;box-sizing:border-box;}
.aidp-manager-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px;gap:16px;}
.aidp-manager-top p{margin:0 0 6px;color:#1f7a8c;font-weight:800;letter-spacing:.08em;font-size:12px;}
.aidp-manager-top h1{margin:0;font-size:28px;color:#122f3a;}
.aidp-manager-top span{background:#fff;border:1px solid #dce9f1;border-radius:999px;padding:9px 13px;color:#607d8b;font-size:12px;font-weight:700;}
.aidp-manager-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#0f3d4a,#0b5fd3);color:#fff;border-radius:28px;padding:28px;box-shadow:0 18px 48px rgba(11,95,211,.22);margin-bottom:18px;}
.aidp-manager-hero p{margin:0 0 6px;opacity:.86;font-weight:700;}
.aidp-manager-hero h2{margin:0;font-size:30px;}
.aidp-manager-hero a{background:#fff;color:#0b5fd3;border-radius:999px;padding:13px 20px;text-decoration:none;font-weight:900;white-space:nowrap;}
.aidp-manager-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0;}
.aidp-manager-stats div{background:#fff;border:1px solid #dce9f1;border-radius:22px;padding:20px;box-shadow:0 10px 28px rgba(15,61,74,.06);}
.aidp-manager-stats span{display:block;color:#607d8b;font-size:13px;font-weight:700;margin-bottom:8px;}
.aidp-manager-stats strong{font-size:34px;color:#12313c;}
.aidp-manager-stats small{margin-left:4px;color:#78909c;}
.aidp-manager-card{background:#fff;border:1px solid #dce9f1;border-radius:24px;padding:22px;box-shadow:0 12px 32px rgba(15,61,74,.06);margin:16px 0;}
.aidp-manager-card h2,.aidp-manager-card h3{margin-top:0;color:#12313c;}
.aidp-manager-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;}
.aidp-manager-card-head a{background:#eef6fb;color:#0b5fd3;text-decoration:none;padding:9px 13px;border-radius:999px;font-weight:800;}
.aidp-manager-table{width:100%;border-collapse:collapse;font-size:14px;}
.aidp-manager-table th{text-align:left;color:#607d8b;font-size:12px;border-bottom:1px solid #e5eef4;padding:10px;}
.aidp-manager-table td{border-bottom:1px solid #eef4f8;padding:12px 10px;color:#263f49;}
.aidp-manager-drop{border:2px dashed #c7ddeb;border-radius:24px;background:#f7fbfd;padding:28px;text-align:center;display:grid;gap:12px;place-items:center;}
.aidp-manager-drop input{background:#fff;border:1px solid #dce9f1;border-radius:12px;padding:12px;width:100%;max-width:420px;}
.aidp-manager-drop strong{font-size:20px;color:#12313c;}
.aidp-manager-drop span{color:#607d8b;}
.aidp-manager-drop button,.aidp-manager-settings button{border:0;border-radius:999px;background:#0b5fd3;color:#fff;padding:13px 22px;font-weight:900;}
.aidp-manager-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.aidp-manager-settings label{display:grid;gap:7px;font-weight:800;color:#31505b;font-size:13px;}
.aidp-manager-settings input{border:1px solid #d3e3ec;border-radius:14px;padding:13px;background:#fbfdfe;font-size:15px;}
.aidp-manager-settings button{grid-column:1/-1;justify-self:start;}
.aidp-security-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0;}
.aidp-security-grid div{background:#f5fafc;border:1px solid #dce9f1;border-radius:18px;padding:16px;}
.aidp-security-grid strong{display:block;color:#12313c;margin-bottom:8px;}
.aidp-security-grid span{color:#0b5fd3;font-weight:900;}
.aidp-manager-saved{background:#eafaf1;border:1px solid #bfe8cf;color:#157347;border-radius:14px;padding:12px 14px;margin-bottom:16px;font-weight:800;}
@media(max-width:820px){.aidp-manager-shell{grid-template-columns:1fr}.aidp-manager-side{position:relative;height:auto}.aidp-manager-side nav{grid-template-columns:repeat(2,1fr)}.aidp-manager-main{padding:18px}.aidp-manager-hero{display:block}.aidp-manager-hero a{display:inline-block;margin-top:18px}.aidp-manager-stats,.aidp-security-grid,.aidp-manager-settings{grid-template-columns:1fr}.aidp-manager-table{font-size:13px}.aidp-manager-table th:nth-child(3),.aidp-manager-table td:nth-child(3){display:none}}
.aidp-manager-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.aidp-manager-actions form{margin:0}.aidp-manager-actions button{border:1px solid #dbe7f2;background:#fff;border-radius:10px;padding:8px 10px;font-weight:800;color:#1f63c8}.aidp-manager-actions button.danger{color:#b42318;border-color:#f3c7c2;background:#fff7f6}@media(max-width:760px){.aidp-manager-actions{flex-direction:column;align-items:stretch}.aidp-manager-actions button{width:100%}}

/* AidPayroll Enterprise Manager RC12: standalone visual reset */
html body.aidp-company-standalone{
  margin:0!important;
  padding:0!important;
  background:#f5f9fc!important;
  color:#102334!important;
  overflow-x:hidden!important;
}
body.aidp-company-standalone #wpadminbar,
body.aidp-company-standalone header,
body.aidp-company-standalone footer,
body.aidp-company-standalone .wp-site-blocks > header,
body.aidp-company-standalone .wp-site-blocks > footer,
body.aidp-company-standalone .wp-block-template-part,
body.aidp-company-standalone .site-header,
body.aidp-company-standalone .site-footer,
body.aidp-company-standalone .entry-header,
body.aidp-company-standalone .entry-footer,
body.aidp-company-standalone .wp-block-navigation,
body.aidp-company-standalone .post-navigation,
body.aidp-company-standalone .comments-area{
  display:none!important;
}
body.aidp-company-standalone .wp-site-blocks,
body.aidp-company-standalone main,
body.aidp-company-standalone .entry-content,
body.aidp-company-standalone .wp-block-post-content,
body.aidp-company-standalone .is-layout-constrained,
body.aidp-company-standalone .is-layout-flow{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  width:100%!important;
}
body.aidp-company-standalone .entry-content > *,
body.aidp-company-standalone .wp-block-post-content > *{
  margin-block-start:0!important;
  margin-block-end:0!important;
}
body.aidp-company-standalone .aidp-company-login,
body.aidp-company-standalone .aidp-manager-shell{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  min-height:100dvh!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans JP',sans-serif!important;
}
body.aidp-company-standalone .aidp-company-login,
body.aidp-company-standalone .aidp-company-login *{box-sizing:border-box!important;}
body.aidp-company-standalone .aidp-company-login{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:radial-gradient(circle at 50% 0%,#ffffff 0%,#f7fbff 45%,#eef6fb 100%)!important;
  padding:32px 20px!important;
}
body.aidp-company-standalone .aidp-company-login-panel{
  width:100%!important;
  max-width:520px!important;
  margin:0 auto!important;
  background:#fff!important;
  border:1px solid #dce9f1!important;
  border-radius:30px!important;
  padding:38px 30px!important;
  box-shadow:0 26px 70px rgba(15,61,74,.12)!important;
  color:#102334!important;
}
body.aidp-company-standalone .aidp-company-login-panel .aidp-logo,
body.aidp-company-standalone .aidp-company-login-panel .aidp-brand-final,
body.aidp-company-standalone .aidp-company-login-panel .aidpMgrLogo{
  margin:0 auto 26px!important;
  justify-content:center!important;
}
body.aidp-company-standalone .aidp-company-kicker{
  margin:0 0 8px!important;
  color:#1976d2!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
  text-align:center!important;
}
body.aidp-company-standalone .aidp-company-login-panel h1{
  margin:0 0 14px!important;
  color:#101828!important;
  font-size:38px!important;
  line-height:1.12!important;
  letter-spacing:-.05em!important;
  text-align:center!important;
}
body.aidp-company-standalone .aidp-company-login-panel p{
  margin:0 0 26px!important;
  color:#667789!important;
  font-size:15px!important;
  line-height:1.75!important;
  font-weight:700!important;
  text-align:center!important;
}
body.aidp-company-standalone .aidp-company-login-panel form{
  display:grid!important;
  gap:16px!important;
  margin:0!important;
}
body.aidp-company-standalone .aidp-company-login-panel label{
  display:grid!important;
  gap:8px!important;
  color:#334e5c!important;
  font-size:13px!important;
  font-weight:900!important;
  margin:0!important;
}
body.aidp-company-standalone .aidp-company-login-panel input{
  width:100%!important;
  min-height:54px!important;
  border:1px solid #d8e6ee!important;
  border-radius:16px!important;
  background:#fbfdff!important;
  padding:12px 15px!important;
  color:#102334!important;
  font-size:16px!important;
  line-height:1.4!important;
  box-shadow:none!important;
  outline:none!important;
}
body.aidp-company-standalone .aidp-company-login-panel input:focus{
  border-color:#1976d2!important;
  box-shadow:0 0 0 4px rgba(25,118,210,.12)!important;
}
body.aidp-company-standalone .aidp-company-login-panel button{
  width:100%!important;
  min-height:56px!important;
  border:0!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#28a8e8,#0b5fd3)!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  box-shadow:0 18px 36px rgba(11,95,211,.22)!important;
}
body.aidp-company-standalone .aidp-company-note{
  margin-top:18px!important;
  padding:14px 16px!important;
  border-radius:16px!important;
  background:#f4f9fd!important;
  color:#607789!important;
  font-size:13px!important;
  line-height:1.7!important;
  font-weight:700!important;
  text-align:left!important;
}
body.aidp-company-standalone .aidp-alert{
  margin:0 0 16px!important;
  background:#fff4f2!important;
  border:1px solid #ffc9c2!important;
  color:#a42520!important;
}
body.aidp-company-standalone .aidp-manager-shell,
body.aidp-company-standalone .aidp-manager-shell *{box-sizing:border-box!important;}
body.aidp-company-standalone .aidp-manager-shell{
  display:grid!important;
  grid-template-columns:270px minmax(0,1fr)!important;
  background:#f4f8fb!important;
  color:#142f3a!important;
}
body.aidp-company-standalone .aidp-manager-side{
  height:100dvh!important;
  background:#fff!important;
  border-right:1px solid #dce9f1!important;
  padding:24px 18px!important;
  position:sticky!important;
  top:0!important;
}
body.aidp-company-standalone .aidp-manager-main{
  padding:28px!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
@media(max-width:760px){
  body.aidp-company-standalone .aidp-company-login{align-items:flex-start!important;padding:28px 18px!important;}
  body.aidp-company-standalone .aidp-company-login-panel{padding:30px 22px!important;border-radius:26px!important;}
  body.aidp-company-standalone .aidp-company-login-panel h1{font-size:32px!important;}
  body.aidp-company-standalone .aidp-manager-shell{grid-template-columns:1fr!important;}
  body.aidp-company-standalone .aidp-manager-side{position:relative!important;height:auto!important;border-right:0!important;border-bottom:1px solid #dce9f1!important;}
  body.aidp-company-standalone .aidp-manager-side nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.aidp-company-standalone .aidp-manager-main{padding:18px!important;}
}

/* AidPayroll rc13: company manager email-change approvals */
.aidp-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-weight:800;font-size:12px;border:1px solid #dce9f1;background:#f7fbfd;color:#31505b;white-space:nowrap;}
.aidp-status-pending_admin{background:#fff8e6;border-color:#f1d48a;color:#8a5a00;}
.aidp-status-pending_confirm{background:#eef6ff;border-color:#bddbff;color:#1f63c8;}
.aidp-status-approved{background:#eafaf1;border-color:#bfe8cf;color:#157347;}
.aidp-status-rejected{background:#fff1f0;border-color:#f3c7c2;color:#b42318;}
.aidp-muted{color:#78909c;font-weight:700;font-size:13px;}
.aidp-email-change-table td{vertical-align:middle;}
@media(max-width:760px){
  .aidp-email-change-table th:nth-child(3),.aidp-email-change-table td:nth-child(3){display:none!important;}
  .aidp-email-change-table th:nth-child(1),.aidp-email-change-table td:nth-child(1){display:none!important;}
}

/* AidPayroll 1.0.0-rc15: 年度別給与明細一覧 */
.aidp-year-panel{
  margin:18px 0 14px;
  padding:18px;
  border:1px solid rgba(18, 70, 110, .10);
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff,#f7fbff);
  box-shadow:0 10px 28px rgba(15,47,80,.07);
}
.aidp-year-panel>div:first-child{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px;}
.aidp-year-panel p{margin:0;color:#6b7f90;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
.aidp-year-panel h3{margin:0;color:#102a43;font-size:20px;line-height:1.35;font-weight:800;}
.aidp-year-tabs{display:flex;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 2px 4px;scrollbar-width:thin;}
.aidp-year-tabs a{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid rgba(11,95,211,.14);background:#fff;color:#24506b;border-radius:999px;padding:9px 14px;font-size:14px;font-weight:800;box-shadow:0 4px 12px rgba(15,47,80,.05);}
.aidp-year-tabs a span{font-size:11px;color:#6b7f90;font-weight:700;}
.aidp-year-tabs a.is-active{background:linear-gradient(135deg,#0b5fd3,#1f7a8c);color:#fff;border-color:transparent;}
.aidp-year-tabs a.is-active span{color:rgba(255,255,255,.85);}
@media (max-width: 520px){
  .aidp-year-panel{margin:14px 0 12px;padding:16px;border-radius:18px;}
  .aidp-year-panel>div:first-child{display:block;margin-bottom:12px;}
  .aidp-year-panel h3{font-size:18px;margin-top:3px;}
  .aidp-year-tabs{gap:8px;}
  .aidp-year-tabs a{padding:8px 12px;font-size:13px;}
}

/* AidPayroll 1.0.0-rc16: 支給日順の自動整理 */
.aidp-year-panel small{
  display:block;
  margin-top:4px;
  color:#78909c;
  font-size:12px;
  font-weight:700;
}
@media (max-width:640px){
  .aidp-year-panel small{font-size:11px;margin-top:3px;}
}

/* AidPayroll Phase1 / 1.0.0-rc18: 明細詳細・印刷導線 */
.aidp-detail-phase1{max-width:980px!important;margin:0 auto!important;}
.aidp-detail-phase1 .aidp-detail-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 14px;}
.aidp-detail-tools{display:flex;gap:10px;}
.aidp-print-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:10px 18px!important;border-radius:14px!important;background:linear-gradient(135deg,#22a8e8,#0b5fd3)!important;color:#fff!important;text-decoration:none!important;font-weight:900!important;box-shadow:0 10px 24px rgba(11,95,211,.18)!important;}
.aidp-detail-phase1 .aidp-detail-hero{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:24px!important;padding:26px 28px!important;border-radius:24px!important;background:linear-gradient(145deg,#ffffff,#f5faff)!important;border:1px solid #dce9f2!important;box-shadow:0 16px 40px rgba(15,47,80,.09)!important;}
.aidp-detail-phase1 .aidp-detail-hero h1{font-size:28px!important;margin:4px 0 8px!important;color:#102a43!important;}
.aidp-paydate{display:inline-block;color:#6b8090;font-size:13px;font-weight:800;}
.aidp-detail-phase1 .aidp-detail-net{min-width:250px!important;padding:20px 24px!important;border-radius:20px!important;background:linear-gradient(135deg,#0b5fd3,#1f7a8c)!important;color:#fff!important;text-align:right!important;}
.aidp-detail-phase1 .aidp-detail-net span{display:block!important;font-size:13px!important;font-weight:800!important;opacity:.9!important;}
.aidp-detail-phase1 .aidp-detail-net strong{display:block!important;margin-top:4px!important;font-size:34px!important;line-height:1.15!important;color:#fff!important;}
.aidp-month-nav{display:flex;justify-content:space-between;gap:12px;margin:12px 2px 18px;}
.aidp-month-nav a{color:#0b5fd3;text-decoration:none;font-weight:800;font-size:13px;}
.aidp-detail-phase1 .aidp-detail-meta,.aidp-detail-phase1 .aidp-detail-section{border:1px solid #dce8f0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,47,80,.06)!important;overflow:hidden!important;}
.aidp-detail-phase1 .aidp-detail-meta{margin:0 0 18px!important;padding:0!important;}
.aidp-detail-phase1 .aidp-detail-meta h2,.aidp-detail-phase1 .aidp-detail-section h2{margin:0!important;padding:15px 18px!important;background:#f3f8fc!important;color:#14364c!important;font-size:17px!important;border-bottom:1px solid #e1ebf2!important;}
.aidp-detail-phase1 .aidp-detail-meta dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 24px!important;margin:0!important;padding:8px 18px 14px!important;}
.aidp-detail-phase1 .aidp-detail-meta dl>div{display:flex!important;justify-content:space-between!important;gap:20px!important;padding:11px 0!important;border-bottom:1px solid #edf2f5!important;}
.aidp-detail-phase1 .aidp-detail-meta dt{color:#718796!important;font-size:13px!important;font-weight:800!important;}
.aidp-detail-phase1 .aidp-detail-meta dd{margin:0!important;font-weight:900!important;text-align:right!important;}
.aidp-detail-phase1 .aidp-detail-columns{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;margin-top:18px!important;align-items:start!important;}
.aidp-detail-phase1 .aidp-detail-columns .aidp-detail-section{margin:0!important;}
.aidp-detail-phase1>.aidp-attendance{margin-top:18px!important;}
.aidp-detail-phase1 .aidp-detail-table{padding:4px 18px 12px!important;}
.aidp-detail-phase1 .aidp-detail-table>div{display:flex!important;justify-content:space-between!important;gap:20px!important;padding:12px 0!important;border-bottom:1px solid #edf2f5!important;}
.aidp-detail-phase1 .aidp-detail-table>div:last-child{border-bottom:0!important;}
.aidp-detail-phase1 .aidp-detail-table span{color:#526b7b!important;}
.aidp-detail-phase1 .aidp-detail-table strong{white-space:nowrap!important;color:#102334!important;}
.aidp-detail-phase1 .aidp-total-panel{margin-top:18px!important;padding:18px 20px!important;border-radius:20px!important;background:#fff!important;border:1px solid #dce8f0!important;box-shadow:0 10px 28px rgba(15,47,80,.06)!important;}
.aidp-detail-phase1 .aidp-total-panel>div{display:flex!important;justify-content:space-between!important;gap:20px!important;padding:9px 2px!important;}
.aidp-detail-phase1 .aidp-total-net{margin-top:8px!important;padding:18px 20px!important;border-radius:16px!important;background:linear-gradient(135deg,#0b5fd3,#1f7a8c)!important;color:#fff!important;}
.aidp-detail-phase1 .aidp-total-net strong{font-size:27px!important;color:#fff!important;}
.aidp-detail-phase1 .aidp-detail-actions{display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:center!important;margin:20px 0!important;}
@media(max-width:720px){
  .aidp-detail-phase1 .aidp-detail-topbar{margin:14px 0 10px;}
  .aidp-detail-phase1 .aidp-detail-hero{grid-template-columns:1fr!important;padding:20px!important;border-radius:20px!important;}
  .aidp-detail-phase1 .aidp-detail-hero h1{font-size:23px!important;}
  .aidp-detail-phase1 .aidp-detail-net{min-width:0!important;width:100%!important;text-align:center!important;}
  .aidp-detail-phase1 .aidp-detail-net strong{font-size:31px!important;}
  .aidp-detail-phase1 .aidp-detail-meta dl{grid-template-columns:1fr!important;}
  .aidp-detail-phase1 .aidp-detail-columns{grid-template-columns:1fr!important;gap:14px!important;}
  .aidp-detail-phase1 .aidp-detail-actions{display:grid!important;grid-template-columns:1fr!important;}
  .aidp-detail-phase1 .aidp-detail-actions>a{width:100%!important;text-align:center!important;}
}


/* ===== rc19 login visual refinement ===== */
body.aidp-portal-standalone .aidp-login-shell{
  max-width:760px!important;
  padding-top:44px!important;
  padding-bottom:34px!important;
}
body.aidp-portal-standalone .aidp-brand-final{
  margin-bottom:38px!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-kicker{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:0 28px!important;
  margin:0 auto 34px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#f2f7ff,#eaf2ff)!important;
  color:#2469d8!important;
  letter-spacing:.28em!important;
  font-size:13px!important;
  box-shadow:inset 0 0 0 1px rgba(36,105,216,.05)!important;
}
body.aidp-portal-standalone .aidp-login-panel h1{
  font-size:46px!important;
  margin-bottom:24px!important;
}
body.aidp-portal-standalone .aidp-login-panel .aidp-lead{
  max-width:620px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  line-height:1.9!important;
}
.aidp-input-wrap{position:relative!important;display:block!important;width:100%!important;}
.aidp-input-wrap svg{position:absolute!important;left:20px!important;top:50%!important;transform:translateY(-50%)!important;width:28px!important;height:28px!important;color:#75869a!important;z-index:2!important;}
body.aidp-portal-standalone .aidp-login-panel .aidp-input-wrap input:not(.aidp-code-input){padding-left:64px!important;min-height:76px!important;border-radius:18px!important;font-size:20px!important;}
body.aidp-portal-standalone .aidp-login-panel .aidp-primary{min-height:78px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:15px!important;font-size:20px!important;}
body.aidp-portal-standalone .aidp-login-panel .aidp-primary svg{width:29px!important;height:29px!important;flex:0 0 auto!important;}
body.aidp-portal-standalone .aidp-security{margin-top:64px!important;padding-top:38px!important;position:relative!important;}
body.aidp-portal-standalone .aidp-security h2{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;font-size:22px!important;color:#101827!important;margin-bottom:30px!important;}
.aidp-security-title-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border:2px solid #1d73e8!important;border-radius:50%!important;color:#1d73e8!important;font-size:17px!important;transform:rotate(45deg)!important;}
body.aidp-portal-standalone .aidp-security ul{gap:0!important;}
body.aidp-portal-standalone .aidp-security li{padding:10px 18px 4px!important;min-width:0!important;position:relative!important;}
body.aidp-portal-standalone .aidp-security li+li{border-left:1px solid #e1e8f0!important;}
body.aidp-portal-standalone .aidp-security strong{font-size:15px!important;color:#101827!important;margin-bottom:8px!important;}
body.aidp-portal-standalone .aidp-security span:not(.aidp-security-title-icon){display:block!important;font-size:13px!important;line-height:1.65!important;color:#718096!important;}
.aidp-lock-note{max-width:560px!important;margin:26px auto 0!important;padding:13px 16px!important;border-radius:12px!important;background:#fff8e8!important;border:1px solid #f1d58d!important;color:#775115!important;font-size:13px!important;line-height:1.7!important;font-weight:700!important;}
.aidp-login-footer{margin-top:38px!important;padding-top:22px!important;border-top:1px solid #e4ebf2!important;color:#8a97a6!important;font-size:12px!important;display:flex!important;justify-content:center!important;gap:14px!important;flex-wrap:wrap!important;}
@media(max-width:760px){
  body.aidp-portal-standalone .aidp-login-shell{padding-top:54px!important;padding-left:28px!important;padding-right:28px!important;}
  body.aidp-portal-standalone .aidp-brand-final{margin-bottom:34px!important;}
  body.aidp-portal-standalone .aidp-login-panel .aidp-kicker{min-height:38px!important;padding:0 20px!important;margin-bottom:28px!important;font-size:11px!important;letter-spacing:.24em!important;}
  body.aidp-portal-standalone .aidp-login-panel h1{font-size:34px!important;margin-bottom:20px!important;}
  body.aidp-portal-standalone .aidp-login-panel .aidp-lead{font-size:15px!important;line-height:1.9!important;margin-bottom:34px!important;}
  body.aidp-portal-standalone .aidp-login-panel .aidp-input-wrap input:not(.aidp-code-input){min-height:66px!important;padding-left:56px!important;font-size:17px!important;border-radius:16px!important;}
  .aidp-input-wrap svg{left:18px!important;width:25px!important;height:25px!important;}
  body.aidp-portal-standalone .aidp-login-panel .aidp-primary{min-height:68px!important;font-size:18px!important;border-radius:16px!important;}
  body.aidp-portal-standalone .aidp-security{margin-top:56px!important;padding-top:32px!important;}
  body.aidp-portal-standalone .aidp-security h2{font-size:20px!important;margin-bottom:22px!important;}
  body.aidp-portal-standalone .aidp-security ul{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.aidp-portal-standalone .aidp-security li{padding:8px 8px 2px!important;}
  body.aidp-portal-standalone .aidp-security strong{font-size:12px!important;line-height:1.45!important;}
  body.aidp-portal-standalone .aidp-security span:not(.aidp-security-title-icon){font-size:11px!important;line-height:1.55!important;}
  .aidp-lock-note{font-size:12px!important;margin-top:22px!important;}
}
@media(max-width:390px){
  body.aidp-portal-standalone .aidp-login-shell{padding-left:20px!important;padding-right:20px!important;}
  body.aidp-portal-standalone .aidp-login-panel h1{font-size:30px!important;}
  body.aidp-portal-standalone .aidp-security ul{grid-template-columns:1fr!important;gap:8px!important;}
  body.aidp-portal-standalone .aidp-security li{padding:13px 14px!important;border:1px solid #e3ebf3!important;border-radius:14px!important;}
  body.aidp-portal-standalone .aidp-security li+li{border-left:1px solid #e3ebf3!important;}
}

/* ===== AidPayroll 1.0.0-rc20 final login & verification UI ===== */
body.aidp-portal-standalone .aidp-login-v20,
body.aidp-portal-standalone .aidp-verify-v20{
  max-width:780px!important;
  min-height:100vh!important;
  padding:72px 32px 36px!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final,
body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final{
  margin:0 auto 30px!important;
  gap:18px!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-mark,
body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-mark{
  width:96px!important;height:74px!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-wordmark,
body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-wordmark{
  font-size:54px!important;line-height:.94!important;letter-spacing:-.065em!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-byline,
body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-byline{
  font-size:19px!important;margin-top:8px!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-kicker,
body.aidp-portal-standalone .aidp-verify-v20 .aidp-kicker{
  margin-bottom:34px!important;
}
body.aidp-portal-standalone .aidp-login-v20 h1{
  font-size:48px!important;line-height:1.35!important;margin-bottom:26px!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-lead{
  max-width:650px!important;font-size:17px!important;line-height:2!important;margin-bottom:42px!important;
}
body.aidp-portal-standalone .aidp-login-v20 .aidp-security{margin-top:58px!important;}
body.aidp-portal-standalone .aidp-login-v20 .aidp-security h2{margin-bottom:30px!important;}
.aidp-shield-mini{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;color:#1d73e8;font-size:19px;transform:rotate(45deg)}
.aidp-verify-v20{position:relative!important;}
.aidp-verify-back{position:absolute;top:34px;left:34px;color:#0b5fd3!important;font-weight:800;text-decoration:none!important;font-size:16px;}
body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final{margin-top:20px!important;margin-bottom:24px!important;}
body.aidp-portal-standalone .aidp-verify-v20 .aidp-login-panel h1{font-size:38px!important;margin-bottom:24px!important;}
.aidp-code-sent{display:grid;grid-template-columns:58px 1fr;gap:16px;text-align:left;background:#f8fbff;border:1px solid #cfe0f7;border-radius:18px;padding:20px;margin:0 auto 26px;max-width:560px;}
.aidp-code-sent-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#5aa8f5,#1f63d8);color:#fff;font-size:25px;}
.aidp-code-sent strong{display:block;color:#1464d2;font-size:18px;margin-bottom:6px;}
.aidp-code-sent p{margin:0;color:#213348;line-height:1.7;font-size:14px;}
.aidp-code-sent .aidp-code-expiry{margin-top:7px;font-weight:800;}
.aidp-code-form{max-width:560px!important;margin:0 auto!important;}
.aidp-code-label{display:block!important;text-align:left!important;font-weight:800!important;margin:0 0 12px!important;color:#102034!important;}
.aidp-code-boxes{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:18px;}
.aidp-code-boxes .aidp-digit{width:100%!important;min-width:0!important;height:72px!important;margin:0!important;padding:0!important;border:1px solid #cbd9e8!important;border-radius:13px!important;background:#fff!important;font-size:30px!important;font-weight:900!important;text-align:center!important;box-sizing:border-box!important;}
.aidp-code-boxes .aidp-digit:focus{outline:3px solid rgba(11,95,211,.13)!important;border-color:#0b5fd3!important;}
.aidp-lock-warning{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;text-align:left;background:#fff9eb;border:1px solid #efd58d;border-radius:14px;padding:14px 16px;margin:0 0 20px;color:#5e4a1a;}
.aidp-lock-warning span{font-size:23px;}
.aidp-lock-warning p{margin:0;font-size:14px;line-height:1.65;font-weight:700;}
body.aidp-portal-standalone .aidp-verify-v20 .aidp-verify-submit{margin-top:0!important;}
body.aidp-portal-standalone .aidp-verify-v20 .aidp-verify-submit:disabled{background:linear-gradient(135deg,#dce8f7,#cbdaf0)!important;color:#fff!important;box-shadow:none!important;cursor:not-allowed!important;}
body.aidp-portal-standalone .aidp-verify-v20 .aidp-countdown{display:inline-flex!important;margin:18px auto 8px!important;font-size:14px!important;background:transparent!important;border:0!important;padding:0!important;color:#6d7f92!important;}
.aidp-restart-link{display:block;text-align:center;margin:10px auto 24px;color:#0b5fd3!important;font-weight:800;text-decoration:none!important;}
.aidp-mail-help{display:grid;grid-template-columns:42px 1fr;gap:14px;text-align:left;max-width:560px;margin:0 auto;background:#f8fbff;border:1px solid #d5e3f3;border-radius:17px;padding:18px;}
.aidp-mail-help>span{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#2a72da;color:#fff;font-weight:900;font-size:20px;}
.aidp-mail-help strong{display:block;color:#1764c9;margin-bottom:5px;}
.aidp-mail-help p{margin:0;color:#5e7186;font-size:13px;line-height:1.7;}
body.aidp-portal-standalone .aidp-verify-v20 .aidp-login-footer{margin-top:28px!important;}
@media(max-width:760px){
  body.aidp-portal-standalone .aidp-login-v20,
  body.aidp-portal-standalone .aidp-verify-v20{padding:58px 24px 28px!important;}
  body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-mark,
  body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-mark{width:78px!important;height:60px!important;}
  body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-wordmark,
  body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-wordmark{font-size:43px!important;}
  body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-byline,
  body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-byline{font-size:16px!important;}
  body.aidp-portal-standalone .aidp-login-v20 h1{font-size:35px!important;line-height:1.45!important;}
  body.aidp-portal-standalone .aidp-login-v20 .aidp-lead{font-size:15px!important;}
  .aidp-verify-back{top:20px;left:22px;}
  body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final{margin-top:28px!important;}
  body.aidp-portal-standalone .aidp-verify-v20 .aidp-login-panel h1{font-size:31px!important;}
  .aidp-code-sent{grid-template-columns:48px 1fr;padding:16px;gap:12px;}
  .aidp-code-sent-icon{width:48px;height:48px;font-size:21px;}
  .aidp-code-sent strong{font-size:16px;}
  .aidp-code-boxes{gap:7px;}
  .aidp-code-boxes .aidp-digit{height:62px!important;font-size:26px!important;border-radius:11px!important;}
}
@media(max-width:390px){
  body.aidp-portal-standalone .aidp-login-v20,
  body.aidp-portal-standalone .aidp-verify-v20{padding-left:18px!important;padding-right:18px!important;}
  body.aidp-portal-standalone .aidp-login-v20 .aidp-brand-final .aidp-wordmark,
  body.aidp-portal-standalone .aidp-verify-v20 .aidp-brand-final .aidp-wordmark{font-size:38px!important;}
  body.aidp-portal-standalone .aidp-login-v20 h1{font-size:31px!important;}
  .aidp-code-boxes{gap:5px;}
  .aidp-code-boxes .aidp-digit{height:56px!important;font-size:23px!important;}
}

/* AidPayroll 1.0.0-rc21: security heading icon cleanup */
body.aidp-portal-standalone .aidp-security h2::before,
body.aidp-portal-standalone .aidp-security h2:before{
  content:none!important;
  display:none!important;
}
body.aidp-portal-standalone .aidp-security h2{
  position:relative!important;
  gap:10px!important;
}
body.aidp-portal-standalone .aidp-shield-mini{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  color:#1d73e8!important;
  transform:none!important;
  font-size:0!important;
  line-height:1!important;
}
body.aidp-portal-standalone .aidp-shield-mini svg{
  display:block!important;
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.aidp-portal-standalone .aidp-security li::before,
body.aidp-portal-standalone .aidp-security li:before{
  transform:none!important;
}
@media(max-width:760px){
  body.aidp-portal-standalone .aidp-security h2{gap:8px!important;margin-bottom:24px!important;}
  body.aidp-portal-standalone .aidp-shield-mini{flex-basis:24px!important;width:24px!important;height:24px!important;}
  body.aidp-portal-standalone .aidp-shield-mini svg{width:22px!important;height:22px!important;}
}

/* rc22: iOSワンタイムコード・連続入力対応 */
.aidp-code-entry{position:relative;max-width:100%;margin-bottom:18px;}
.aidp-code-native{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:.01!important;z-index:3!important;caret-color:transparent!important;color:transparent!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;font-size:16px!important;letter-spacing:0!important;}
.aidp-code-entry .aidp-code-boxes{margin-bottom:0!important;pointer-events:none;}
.aidp-code-entry .aidp-digit{display:flex!important;align-items:center!important;justify-content:center!important;}
.aidp-code-entry.is-focused .aidp-digit.is-active{outline:3px solid rgba(11,95,211,.13)!important;border-color:#0b5fd3!important;}
.aidp-code-entry .aidp-digit.is-filled{color:#0f172a!important;}
.aidp-code-assist{margin:12px 0 16px!important;color:#6f8196!important;font-size:13px!important;line-height:1.7!important;text-align:center!important}.aidp-code-native{touch-action:manipulation}@media(max-width:480px){.aidp-code-assist{font-size:12px!important}}


/* AidPayroll rc24 - finalized payslip statement format */
.aidp-detail-phase1 .aidp-detail-hero{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;
  padding:26px 28px!important;border:1px solid #dce8f5!important;border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
}
.aidp-detail-phase1 .aidp-detail-title p{margin:0 0 8px!important;color:#0b5fd3!important;font-size:13px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.aidp-detail-phase1 .aidp-detail-title h1{margin:0!important;color:#0f172a!important;font-size:30px!important;line-height:1.3!important;letter-spacing:-.04em!important}
.aidp-detail-phase1 .aidp-detail-net{min-width:260px!important;padding:18px 22px!important;border:1px solid #cfe1fb!important;border-radius:18px!important;background:linear-gradient(135deg,#eef6ff 0%,#f7fbff 100%)!important;color:#0b5fd3!important;text-align:right!important;box-shadow:none!important}
.aidp-detail-phase1 .aidp-detail-net span{display:block!important;color:#6e8196!important;font-size:13px!important;font-weight:900!important;margin-bottom:4px!important}
.aidp-detail-phase1 .aidp-detail-net strong{display:block!important;color:#0b5fd3!important;font-size:38px!important;line-height:1.1!important;font-weight:750!important;letter-spacing:-.055em!important}
.aidp-statement-overview{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:16px 0 18px!important;border:1px solid #e0eaf4!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important}
.aidp-statement-overview>div{padding:15px 18px!important;border-right:1px solid #edf2f7!important}
.aidp-statement-overview>div:last-child{border-right:0!important}
.aidp-statement-overview span{display:block!important;font-size:12px!important;color:#7a8b9d!important;font-weight:850!important;margin-bottom:5px!important}
.aidp-statement-overview strong{display:block!important;font-size:15px!important;color:#172033!important;font-weight:850!important;line-height:1.45!important}
.aidp-detail-phase1 .aidp-month-nav{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:14px 0 22px!important}
.aidp-detail-phase1 .aidp-month-nav a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;border:1px solid #d9e5f2!important;border-radius:12px!important;background:#fff!important;color:#0b5fd3!important;font-weight:850!important;text-decoration:none!important}
.aidp-detail-phase1 .aidp-detail-meta{border:1px solid #e0eaf4!important;box-shadow:none!important}
.aidp-detail-phase1 .aidp-detail-meta h2{display:flex!important;align-items:center!important;gap:9px!important;color:#122033!important}
.aidp-detail-phase1 .aidp-detail-meta h2:before{content:''!important;width:10px!important;height:10px!important;border-radius:50%!important;background:#0b5fd3!important;box-shadow:0 0 0 5px #eaf3ff!important}
.aidp-statement-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;margin-top:18px!important}
.aidp-statement-grid .aidp-detail-section{margin-top:0!important;min-width:0!important;border-radius:18px!important;overflow:hidden!important;box-shadow:none!important}
.aidp-statement-grid .aidp-detail-section h2{padding:14px 16px!important;font-size:17px!important;border-bottom:1px solid #e7eef6!important;background:#f5f9fd!important}
.aidp-statement-grid .aidp-attendance h2{color:#0b5fd3!important;background:#eef6ff!important}
.aidp-statement-grid .aidp-payments h2{color:#147c5d!important;background:#eefaf5!important}
.aidp-statement-grid .aidp-deductions h2{color:#d0445c!important;background:#fff2f5!important}
.aidp-statement-grid .aidp-detail-table>div{padding:12px 14px!important}
.aidp-statement-grid .aidp-detail-table span{font-size:13px!important;line-height:1.45!important;min-width:0!important;padding-right:8px!important}
.aidp-statement-grid .aidp-detail-table strong{font-size:14px!important;white-space:nowrap!important}
.aidp-detail-phase1 .aidp-total-panel{display:grid!important;grid-template-columns:1fr 1fr 1.35fr!important;gap:0!important;margin-top:18px!important;padding:0!important;border:1px solid #dce8f5!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
.aidp-detail-phase1 .aidp-total-panel>div{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;padding:18px 20px!important;border-right:1px solid #e8eff6!important}
.aidp-detail-phase1 .aidp-total-panel>div:last-child{border-right:0!important}
.aidp-detail-phase1 .aidp-total-panel span{font-size:12px!important;color:#75869a!important;font-weight:850!important}
.aidp-detail-phase1 .aidp-total-panel strong{font-size:21px!important;color:#172033!important;font-weight:800!important}
.aidp-detail-phase1 .aidp-total-panel .aidp-total-net{background:linear-gradient(135deg,#edf6ff,#f8fbff)!important}
.aidp-detail-phase1 .aidp-total-panel .aidp-total-net span{color:#0b5fd3!important}
.aidp-detail-phase1 .aidp-total-panel .aidp-total-net strong{font-size:32px!important;color:#0b5fd3!important;letter-spacing:-.05em!important}
.aidp-detail-phase1 .aidp-detail-actions{grid-template-columns:1fr 1fr!important}
@media(max-width:760px){
  .aidp-detail-phase1 .aidp-detail-hero{display:block!important;padding:22px 20px!important}
  .aidp-detail-phase1 .aidp-detail-title h1{font-size:27px!important}
  .aidp-detail-phase1 .aidp-detail-net{min-width:0!important;margin-top:18px!important;text-align:center!important}
  .aidp-detail-phase1 .aidp-detail-net strong{font-size:36px!important}
  .aidp-statement-overview{grid-template-columns:1fr!important}
  .aidp-statement-overview>div{border-right:0!important;border-bottom:1px solid #edf2f7!important}
  .aidp-statement-overview>div:last-child{border-bottom:0!important}
  .aidp-statement-grid{grid-template-columns:1fr!important;gap:12px!important}
  .aidp-detail-phase1 .aidp-total-panel{grid-template-columns:1fr 1fr!important}
  .aidp-detail-phase1 .aidp-total-panel .aidp-total-net{grid-column:1/-1!important;border-top:1px solid #e8eff6!important;text-align:center!important}
  .aidp-detail-phase1 .aidp-detail-actions{grid-template-columns:1fr!important}
}
@media(max-width:420px){
  .aidp-detail-phase1 .aidp-total-panel{grid-template-columns:1fr!important}
  .aidp-detail-phase1 .aidp-total-panel>div{border-right:0!important;border-bottom:1px solid #e8eff6!important}
  .aidp-detail-phase1 .aidp-total-panel>div:last-child{border-bottom:0!important}
}


/* rc26: Contact / Support / 404 */
.aidp-support-shell{width:min(760px,calc(100% - 32px));margin:42px auto 64px;color:#18324a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}
.aidp-support-brand{text-align:center;margin-bottom:20px}.aidp-support-logo{font-size:30px;font-weight:800;letter-spacing:-1px;color:#153956}.aidp-support-brand>span{display:inline-block;margin-top:8px;padding:5px 14px;border:1px solid #c9d9e8;border-radius:999px;color:#50718d;font-size:11px;font-weight:800;letter-spacing:.18em}
.aidp-support-card{background:#fff;border:1px solid #e0e9f1;border-radius:22px;box-shadow:0 16px 42px rgba(26,70,105,.10);padding:34px}.aidp-support-heading{text-align:center;margin-bottom:28px}.aidp-support-heading>p{margin:0 0 5px;color:#3c7fbd;font-size:11px;font-weight:800;letter-spacing:.2em}.aidp-support-heading h1{margin:0 0 10px;font-size:28px;color:#153956}.aidp-support-heading span{color:#657f94;line-height:1.8}
.aidp-support-form{display:grid;gap:18px}.aidp-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.aidp-support-form label{display:grid;gap:8px;color:#27475f;font-size:13px;font-weight:750}.aidp-support-form em{font-style:normal;color:#fff;background:#e05f66;border-radius:5px;padding:2px 6px;font-size:10px;margin-left:4px}.aidp-support-form small{color:#71899c;font-weight:500}.aidp-support-form input:not([type=checkbox]),.aidp-support-form select,.aidp-support-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd9e5;border-radius:11px;background:#fff;padding:13px 14px;font:inherit;color:#17384f;outline:none}.aidp-support-form input:focus,.aidp-support-form select:focus,.aidp-support-form textarea:focus{border-color:#3887c8;box-shadow:0 0 0 3px rgba(56,135,200,.12)}
.aidp-support-company{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#f3f8fc;border-radius:11px}.aidp-support-company span{color:#6e879a;font-size:12px}.aidp-support-company strong{color:#214a68}.aidp-support-privacy{padding:15px 17px;background:#fff9eb;border:1px solid #f2dfad;border-radius:12px}.aidp-support-privacy strong{font-size:13px;color:#66511b}.aidp-support-privacy p{margin:5px 0 0;color:#756434;font-size:12px;line-height:1.75}.aidp-support-consent{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px!important;font-weight:500!important;line-height:1.6}.aidp-support-consent input{margin-top:4px}.aidp-support-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:11px;background:linear-gradient(135deg,#286fae,#53a4dd);color:#fff!important;text-decoration:none;font-weight:800;box-shadow:0 8px 20px rgba(41,119,180,.20);cursor:pointer}.aidp-support-back{text-align:center;color:#56758d;text-decoration:none;font-size:13px}.aidp-support-error{margin-bottom:18px;padding:12px 15px;border-radius:10px;background:#fff0f1;color:#ad3c45}.aidp-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}.aidp-support-complete{text-align:center;padding:20px 0}.aidp-support-check{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:#e9f7ef;color:#22945a;font-size:32px;font-weight:900}.aidp-support-complete h1{color:#153956}.aidp-support-complete p{color:#607c91}.aidp-support-complete .aidp-support-primary{margin-top:15px;padding:0 28px}
.aidp-standalone-body{margin:0;min-height:100vh;background:linear-gradient(180deg,#f7fbfe,#eef5fa);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;color:#18324a;display:grid;place-items:center}.aidp-404-shell{text-align:center;width:min(560px,calc(100% - 38px));padding:46px 28px;background:#fff;border:1px solid #e0e9f1;border-radius:24px;box-shadow:0 18px 48px rgba(25,70,103,.11)}.aidp-404-code{font-size:84px;line-height:1;font-weight:900;letter-spacing:-5px;color:#dceaf4}.aidp-404-mark{width:54px;height:54px;margin:-18px auto 18px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#2a78b8,#57a8dc);color:#fff;font-size:28px;font-weight:900;transform:rotate(-5deg)}.aidp-404-shell h1{margin:0 0 12px;font-size:25px;color:#153956}.aidp-404-shell p{color:#6a8295;line-height:1.8}.aidp-404-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0 22px}.aidp-404-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #bfd1df;border-radius:11px;color:#315d7d;text-decoration:none;font-weight:750}.aidp-404-shell>span{color:#8ba0af;font-size:12px;font-weight:700}
@media(max-width:620px){.aidp-support-shell{width:min(100% - 20px,760px);margin:18px auto 36px}.aidp-support-card{padding:24px 17px;border-radius:18px}.aidp-support-grid{grid-template-columns:1fr}.aidp-support-heading h1{font-size:24px}.aidp-support-company{align-items:flex-start;gap:8px;flex-direction:column}.aidp-404-actions{grid-template-columns:1fr}.aidp-404-shell{padding:38px 19px}.aidp-404-code{font-size:72px}.aidp-404-shell h1{font-size:22px}}

/* rc28: AidPayroll standalone support UI / theme chrome is intentionally excluded */
.aidp-support-standalone{margin:0;background:#f8fbfe;color:#10243b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;-webkit-font-smoothing:antialiased}
.aidp-support-standalone *{box-sizing:border-box}
.aidp-support-standalone .aidp-support-shell{width:100%;max-width:none;margin:0;min-height:100vh;padding:0 18px 34px}
.aidp-support-topbar{height:76px;display:flex;align-items:center;max-width:760px;margin:0 auto;border-bottom:1px solid #e4edf5}
.aidp-support-wordmark{font-size:22px;font-weight:850;letter-spacing:-.04em;color:#173a59;text-decoration:none}
.aidp-support-standalone .aidp-support-card{max-width:680px;margin:38px auto 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.aidp-support-heading{text-align:center;margin:0 0 28px}
.aidp-support-heading h1{margin:0 0 18px;font-size:42px;line-height:1.2;letter-spacing:.02em;color:#111827;font-weight:500}
.aidp-support-product{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px}
.aidp-support-product strong{font-size:28px;line-height:1;color:#244663;letter-spacing:-.035em}
.aidp-support-product span{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 14px;border:1px solid #b7cee1;border-radius:999px;color:#607a91;font-size:10px;font-weight:850;letter-spacing:.2em;background:#fff}
.aidp-support-heading>p{margin:0;color:#70889c;font-size:16px;line-height:1.9;font-weight:500;letter-spacing:0}
.aidp-support-form{display:grid;gap:22px;padding:30px;background:#fff;border:1px solid #dbe7f1;border-radius:22px;box-shadow:0 18px 50px rgba(22,61,92,.08)}
.aidp-support-company{display:block;padding:18px 20px;background:#f2f7fb;border-radius:14px}
.aidp-support-company span{display:block;margin-bottom:8px;color:#7990a3;font-size:12px}
.aidp-support-company strong{display:block;color:#244663;font-size:20px;line-height:1.45}
.aidp-support-form label{display:grid;gap:9px;color:#24445f;font-size:14px;font-weight:800}
.aidp-support-form em{justify-self:start;font-style:normal;color:#fff;background:#cf6267;border-radius:5px;padding:2px 7px;font-size:10px;margin-left:5px}
.aidp-support-form input:not([type=checkbox]),.aidp-support-form select,.aidp-support-form textarea{min-height:50px;width:100%;border:1px solid #cbdbe8;border-radius:12px;background:#fff;padding:13px 15px;font:inherit;font-weight:500;color:#17364f;outline:none;box-shadow:none}
.aidp-support-form textarea{min-height:170px;resize:vertical;line-height:1.7}
.aidp-support-form input[type=file]{padding:10px;background:#f8fbfe}
.aidp-support-form input:focus,.aidp-support-form select:focus,.aidp-support-form textarea:focus{border-color:#3e86c6;box-shadow:0 0 0 4px rgba(62,134,198,.11)}
.aidp-support-privacy{padding:18px 20px;background:#fffaf0;border:1px solid #ead8a6;border-radius:14px}
.aidp-support-privacy strong{display:block;margin-bottom:7px;color:#655020;font-size:13px}
.aidp-support-privacy p{margin:0;color:#79683e;font-size:12px;line-height:1.85}
.aidp-support-consent{display:flex!important;align-items:flex-start;gap:12px!important;color:#274a66!important;font-weight:700!important;line-height:1.65}
.aidp-support-consent input{flex:0 0 auto;width:20px;height:20px;margin-top:2px;accent-color:#377ebd}
.aidp-support-primary{width:100%;min-height:56px;border-radius:13px;background:linear-gradient(135deg,#347bb9,#5ea6dc);font-size:15px;box-shadow:0 12px 28px rgba(52,123,185,.20)}
.aidp-support-back{display:block;padding:3px;text-align:center;color:#668197;text-decoration:none;font-size:14px}
.aidp-support-error{margin:0 0 20px;padding:14px 16px;border:1px solid #efc8cc;border-radius:12px;background:#fff4f5;color:#a63c47;line-height:1.65}
.aidp-support-shell:after{content:"© 2026 AidNetwork Inc. All rights reserved.";display:block;max-width:680px;margin:26px auto 0;text-align:center;color:#7990a3;font-size:12px}
.aidp-support-complete{padding:40px 26px;background:#fff;border:1px solid #dbe7f1;border-radius:22px;box-shadow:0 18px 50px rgba(22,61,92,.08)}
.aidp-support-complete .aidp-support-primary{max-width:320px}
@media(max-width:620px){
 .aidp-support-standalone .aidp-support-shell{padding:0 14px 28px}
 .aidp-support-topbar{height:64px}
 .aidp-support-wordmark{font-size:20px}
 .aidp-support-standalone .aidp-support-card{margin-top:30px}
 .aidp-support-heading h1{font-size:34px;margin-bottom:16px}
 .aidp-support-product strong{font-size:26px}
 .aidp-support-heading>p{font-size:15px;line-height:1.85}
 .aidp-support-form{padding:22px 18px;gap:20px;border-radius:18px}
 .aidp-support-grid{grid-template-columns:1fr}
 .aidp-support-company strong{font-size:18px}
}


/* rc30: contact links across login and portal */
.aidp-support-link-wrap{margin:18px 0 0;text-align:center}.aidp-support-link{display:inline-flex;align-items:center;justify-content:center;color:#2f64d5!important;text-decoration:none!important;font-size:13px;font-weight:800}.aidp-support-link:hover{text-decoration:underline!important}.aidp-support-link-app{margin:22px 0}.aidp-mail-help a{color:#2f64d5;font-weight:800;text-decoration:none}.aidp-mail-help a:hover{text-decoration:underline}

.aidp-policy-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.aidp-policy-links a{color:#67809a;text-decoration:none;font-size:12px;font-weight:700}.aidp-policy-page{min-height:100vh;background:#f4f8fb;padding:40px 18px}.aidp-policy-card{max-width:860px;margin:0 auto;background:#fff;border:1px solid #dce8f5;border-radius:22px;padding:34px;box-shadow:0 16px 45px rgba(20,50,70,.08)}.aidp-policy-card h1{font-size:30px;color:#172033;margin:8px 0 30px}.aidp-policy-card h2{font-size:18px;color:#234268;margin:28px 0 8px}.aidp-policy-card p{line-height:1.9;color:#52687e}.aidp-policy-updated{margin-top:34px!important;padding-top:20px;border-top:1px solid #e6edf4;font-size:12px;color:#8293a5!important}

/* rc40: support page brand alignment and copy refresh */
.aidp-support-wordmark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#0f1d38}
.aidp-support-logo-mark{display:block;width:52px;height:39px;flex:0 0 auto}
.aidp-support-logo-mark svg{display:block;width:100%;height:100%}
.aidp-support-logo-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1}
.aidp-support-logo-text strong{display:block;font-size:27px;letter-spacing:-.055em;white-space:nowrap}
.aidp-support-logo-aid{font-weight:300}
.aidp-support-logo-payroll{font-weight:850}
.aidp-support-logo-text small{display:block;margin-top:5px;color:#8793a6;font-size:12px;font-weight:800;letter-spacing:.01em}
@media(max-width:620px){
 .aidp-support-logo-mark{width:44px;height:33px}
 .aidp-support-logo-text strong{font-size:23px}
 .aidp-support-logo-text small{font-size:10px;margin-top:4px}
}

/* rc60: AidPayroll Plus enhanced employee dashboard */
.aidp-dashboard-plus{max-width:900px!important}.aidp-plus-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 34px 22px;background:linear-gradient(135deg,#f7fbff 0%,#f4fbf7 100%);border:1px solid #e3ecf6;border-radius:22px;margin:18px 0 20px}.aidp-plus-hero h1{font-size:30px;line-height:1.2;margin:0 0 7px;color:#12213f}.aidp-plus-hero h2{font-size:21px;margin:0 0 10px;color:#12213f}.aidp-plus-hero p{margin:0;color:#6b7890;font-size:14px}.aidp-plus-hero-art{width:150px;height:110px;border-radius:55% 45% 50% 40%;background:linear-gradient(145deg,#dcefe5,#eef8f2);position:relative;flex:0 0 auto}.aidp-plus-hero-art:before{content:"";position:absolute;width:52px;height:66px;border-radius:26px 26px 18px 18px;background:#52ad7d;left:48px;top:30px;box-shadow:0 -18px 0 -5px #153f69}.aidp-plus-hero-art span{position:absolute;right:8px;top:8px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#2d9a62;font-weight:900;box-shadow:0 5px 16px rgba(25,74,53,.1)}.aidp-plus-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.aidp-plus-nav-card{min-height:150px;display:grid;grid-template-columns:54px 1fr 20px;align-items:center;gap:15px;padding:24px;border:1px solid #dbe7f5;border-radius:19px;text-decoration:none!important;background:#f8fbff;color:#17264a;box-shadow:0 8px 26px rgba(31,64,112,.04)}.aidp-plus-nav-card.is-account{grid-column:1/-1;min-height:92px;background:#fbf9ff;border-color:#e6dcf8}.aidp-plus-nav-card strong{display:block;font-size:21px;margin-bottom:7px}.aidp-plus-nav-card small{display:block;font-size:13px;line-height:1.55;color:#66758e}.aidp-plus-nav-card b{font-size:30px;font-weight:400}.aidp-plus-nav-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#3976e5,#2253c0);color:#fff;font-size:25px;font-weight:800}.aidp-plus-nav-card.is-account .aidp-plus-nav-icon{background:linear-gradient(145deg,#9b77db,#7654bd)}.aidp-dashboard-plus .aidp-security-panel{margin-top:0}.aidp-dashboard-plus .aidp-security-panel h2{font-size:18px}.aidp-dashboard-plus .aidp-security-grid>div{background:#fff}.aidp-dashboard-plus .aidp-email-change-panel{margin-top:22px}
@media(max-width:620px){.aidp-dashboard-plus{padding-left:14px!important;padding-right:14px!important}.aidp-plus-hero{padding:22px 18px 18px;gap:10px}.aidp-plus-hero h1{font-size:25px}.aidp-plus-hero h2{font-size:19px}.aidp-plus-hero p{font-size:12.5px;max-width:220px}.aidp-plus-hero-art{width:98px;height:86px}.aidp-plus-hero-art:before{left:30px;top:27px;width:38px;height:50px}.aidp-plus-nav-grid{grid-template-columns:1fr;gap:12px}.aidp-plus-nav-card,.aidp-plus-nav-card.is-account{grid-column:auto;min-height:108px;padding:17px 16px;grid-template-columns:46px 1fr 16px}.aidp-plus-nav-icon{width:44px;height:44px}.aidp-plus-nav-card strong{font-size:18px}.aidp-plus-nav-card small{font-size:12px}.aidp-dashboard-plus .aidp-security-grid{grid-template-columns:1fr!important}.aidp-dashboard-plus .aidp-security-grid>div{display:grid!important;grid-template-columns:40px 1fr!important}.aidp-dashboard-plus .aidp-security-grid>div span{grid-column:2}}


/* rc61: AidPayroll Plus home — navigation only, no duplicated feeds/settings. */
.aidp-dashboard-plus{max-width:760px!important}
.aidp-dashboard-plus .aidp-plus-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 27px 20px;background:linear-gradient(135deg,#f8fbff 0%,#f5fbf8 100%);border:1px solid #dfeaf5;border-radius:20px;margin:18px 0 18px;overflow:hidden}
.aidp-dashboard-plus .aidp-plus-hero h1{font-size:27px;line-height:1.25;margin:0 0 5px;color:#12213f}
.aidp-dashboard-plus .aidp-plus-hero h2{font-size:20px;margin:0 0 9px;color:#12213f}
.aidp-dashboard-plus .aidp-plus-hero p{margin:0;color:#66758c;font-size:13.5px;line-height:1.65}
.aidp-dashboard-plus .aidp-plus-hero-art{width:165px;height:122px;flex:0 0 auto;background:none;border-radius:0;overflow:hidden;position:relative}
.aidp-dashboard-plus .aidp-plus-hero-art:before,.aidp-dashboard-plus .aidp-plus-hero-art span{display:none!important}
.aidp-dashboard-plus .aidp-plus-hero-art img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.aidp-dashboard-plus .aidp-plus-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}
.aidp-dashboard-plus .aidp-plus-nav-card{min-height:150px;display:grid;grid-template-columns:54px 1fr 18px;align-items:center;gap:14px;padding:22px 20px;border:1px solid #d9e6f6;border-radius:18px;text-decoration:none!important;background:#f8fbff;color:#17264a;box-shadow:none}
.aidp-dashboard-plus .aidp-plus-nav-card strong{display:block;font-size:20px;margin-bottom:7px}
.aidp-dashboard-plus .aidp-plus-nav-card small{display:block;font-size:13px;line-height:1.55;color:#66758e}
.aidp-dashboard-plus .aidp-plus-nav-card b{font-size:28px;font-weight:400}
.aidp-dashboard-plus .aidp-plus-nav-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#3976e5,#2253c0);color:#fff;font-size:25px;font-weight:800}
.aidp-security-summary{display:grid;grid-template-columns:26px 1fr 18px;align-items:center;gap:11px;padding:19px 20px;border:1px solid #dce6f1;border-radius:17px;background:#fff;text-decoration:none!important;color:#17243e}
.aidp-security-summary>span{font-size:20px;color:#2563c8}.aidp-security-summary strong{display:block;font-size:16px;margin-bottom:6px}.aidp-security-summary small{display:block;color:#64738a;font-size:12.5px;line-height:1.6}.aidp-security-summary>b{font-size:25px;font-weight:400}
.aidp-dashboard-powered{text-align:center;color:#8995a8;font-size:12px;font-weight:600;margin:34px 0 6px}
@media(max-width:620px){
 .aidp-dashboard-plus{padding-left:14px!important;padding-right:14px!important}
 .aidp-dashboard-plus .aidp-plus-hero{padding:19px 16px 16px;gap:7px}
 .aidp-dashboard-plus .aidp-plus-hero h1{font-size:23px}.aidp-dashboard-plus .aidp-plus-hero h2{font-size:18px}.aidp-dashboard-plus .aidp-plus-hero p{font-size:12px;max-width:200px}
 .aidp-dashboard-plus .aidp-plus-hero-art{width:112px;height:96px;margin-right:-7px}
 .aidp-dashboard-plus .aidp-plus-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .aidp-dashboard-plus .aidp-plus-nav-card{min-height:152px;padding:16px 13px;grid-template-columns:1fr 16px;gap:8px;align-content:center}
 .aidp-dashboard-plus .aidp-plus-nav-icon{grid-column:1/-1;width:46px;height:46px;margin-bottom:4px}
 .aidp-dashboard-plus .aidp-plus-nav-card strong{font-size:18px}.aidp-dashboard-plus .aidp-plus-nav-card small{font-size:11.5px}.aidp-dashboard-plus .aidp-plus-nav-card b{grid-column:2;grid-row:2/4;align-self:center}
 .aidp-security-summary{padding:17px 15px}.aidp-security-summary strong{font-size:15px}.aidp-security-summary small{font-size:11.5px}
}

/* rc62: clear list navigation, transparent hero art, functional security guide. */
.aidp-list-backbar{display:grid;grid-template-columns:96px 1fr 96px;align-items:center;margin:10px 0 16px;padding:8px 2px 14px;border-bottom:1px solid #e5edf5}
.aidp-list-backbar a{display:inline-flex;align-items:center;gap:5px;color:#17305c;text-decoration:none!important;font-size:15px;font-weight:800}
.aidp-list-backbar a span{font-size:30px;line-height:.7;font-weight:400}
.aidp-list-backbar strong{text-align:center;color:#15233f;font-size:19px}.aidp-list-backbar i{display:block}
.aidp-dashboard-plus .aidp-plus-hero-art{background:transparent!important;overflow:visible!important}
.aidp-dashboard-plus .aidp-plus-hero-art img{object-fit:contain!important;object-position:center bottom!important}
.aidp-security-summary:focus-visible{outline:3px solid rgba(37,99,200,.25);outline-offset:3px}
@media(max-width:620px){.aidp-list-backbar{grid-template-columns:76px 1fr 76px;margin-top:4px}.aidp-list-backbar a{font-size:14px}.aidp-list-backbar strong{font-size:17px}.aidp-dashboard-plus .aidp-plus-hero-art{width:112px!important;height:96px!important}}

/* rc63: standalone security guide inside the employee portal */
.aidp-security-page{padding-bottom:30px}
.aidp-security-hero{position:relative;overflow:hidden;margin:8px 0 18px;padding:30px 26px 28px;border:1px solid #dce8f7;border-radius:24px;background:linear-gradient(145deg,#f7fbff 0%,#edf5ff 100%);box-shadow:0 12px 34px rgba(31,78,142,.07)}
.aidp-security-hero:after{content:"";position:absolute;right:-42px;top:-54px;width:180px;height:180px;border-radius:50%;background:rgba(61,116,213,.08)}
.aidp-security-hero-icon{position:absolute;right:28px;top:28px;z-index:1;display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#fff;color:#2865ca;font-size:27px;font-weight:900;box-shadow:0 8px 24px rgba(31,78,142,.12)}
.aidp-security-hero p{margin:0 0 10px;color:#2865ca;font-size:13px;font-weight:800;letter-spacing:.12em}
.aidp-security-hero h1{position:relative;z-index:1;margin:0;color:#12213e;font-size:34px;line-height:1.25;letter-spacing:-.03em}
.aidp-security-hero small{display:block;position:relative;z-index:1;margin-top:15px;max-width:480px;color:#64748b;font-size:14px;line-height:1.8}
.aidp-security-detail-list{display:grid;gap:12px;margin:0 0 18px}
.aidp-security-detail-list article{display:grid;grid-template-columns:48px 1fr;gap:16px;align-items:start;padding:20px 20px;border:1px solid #e2eaf4;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(31,51,83,.045)}
.aidp-security-detail-list article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#edf4ff;color:#2865ca;font-size:12px;font-weight:900}
.aidp-security-detail-list h2{margin:1px 0 7px;color:#17243e;font-size:18px}
.aidp-security-detail-list p{margin:0;color:#66758c;font-size:14px;line-height:1.85}
.aidp-security-help{margin:0 0 18px;padding:22px;border:1px solid #dfe8f3;border-radius:18px;background:#f9fbfd}
.aidp-security-help h2{margin:0 0 12px;color:#17243e;font-size:17px}
.aidp-security-help ul{margin:0;padding-left:1.25em;color:#65758a;font-size:13.5px;line-height:1.9}
.aidp-security-back-home{display:flex;justify-content:center;align-items:center;min-height:52px;border-radius:16px;background:#1f62cd;color:#fff!important;text-decoration:none!important;font-weight:800;box-shadow:0 10px 24px rgba(31,98,205,.18)}
@media(max-width:620px){.aidp-security-hero{padding:24px 20px 22px;border-radius:20px}.aidp-security-hero h1{font-size:28px}.aidp-security-hero-icon{right:20px;top:22px;width:46px;height:46px;border-radius:15px}.aidp-security-detail-list article{grid-template-columns:40px 1fr;gap:13px;padding:17px 15px}.aidp-security-detail-list article>span{width:38px;height:38px;border-radius:12px}.aidp-security-detail-list h2{font-size:16px}.aidp-security-detail-list p{font-size:13px}.aidp-list-backbar{position:relative;z-index:5}}

/* rc64: AidNetwork mascot and clearly visible list navigation */
.aidp-dashboard-plus .aidp-plus-hero-art{width:170px!important;height:132px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;margin-right:-4px!important}
.aidp-dashboard-plus .aidp-plus-hero-art img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;filter:none!important}
.aidp-list-backbar{position:relative!important;z-index:50!important;display:grid!important;grid-template-columns:104px minmax(0,1fr) 104px!important;align-items:center!important;min-height:54px!important;margin:4px 0 18px!important;padding:5px 4px 12px!important;background:#fff!important;border-bottom:1px solid #e4edf7!important}
.aidp-list-backbar a{display:inline-flex!important;align-items:center!important;gap:7px!important;width:max-content!important;visibility:visible!important;opacity:1!important;color:#1467d8!important;text-decoration:none!important;font-size:15px!important;font-weight:800!important;line-height:1!important}
.aidp-list-backbar a span{display:inline-block!important;font-size:31px!important;line-height:.7!important}
.aidp-list-backbar strong{display:block!important;text-align:center!important;color:#132440!important;font-size:19px!important;font-weight:800!important;white-space:nowrap!important}
@media(max-width:620px){
 .aidp-dashboard-plus .aidp-plus-hero-art{width:128px!important;height:108px!important;margin-right:-8px!important}
 .aidp-list-backbar{grid-template-columns:82px minmax(0,1fr) 82px!important;min-height:50px!important;margin-top:2px!important}
 .aidp-list-backbar a{font-size:14px!important}.aidp-list-backbar strong{font-size:17px!important}
}

/* rc65: approved AidNetwork character and persistent list navigation */
.aidp-dashboard-plus .aidp-plus-hero-art{
  width:154px!important;
  height:132px!important;
  align-self:flex-end!important;
  overflow:visible!important;
  background:transparent!important;
}
.aidp-dashboard-plus .aidp-plus-hero-art img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.aidp-app .aidp-list-backbar{
  position:relative!important;
  top:auto!important;
  z-index:100!important;
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
}
.aidp-app .aidp-list-backbar>a{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
@media(max-width:620px){
  .aidp-dashboard-plus .aidp-plus-hero-art{width:126px!important;height:112px!important;margin-right:-2px!important}
}

/* rc66: unified document-card dashboard for every employee */
.aidp-dashboard-plus .aidp-plus-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1{grid-template-columns:minmax(0,1fr)}
.aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card{min-height:172px}
.aidp-dashboard-plus .aidp-plus-nav-card{box-sizing:border-box;min-width:0}
.aidp-dashboard-empty{display:flex;flex-direction:column;gap:7px;margin:0 0 18px;padding:24px;border:1px solid #dce6ef;border-radius:20px;background:#fff;color:#17243e}
.aidp-dashboard-empty strong{font-size:17px}.aidp-dashboard-empty span{font-size:13px;line-height:1.7;color:#7a8798}
@media(max-width:620px){
 .aidp-dashboard-plus .aidp-plus-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1{grid-template-columns:minmax(0,1fr)}
 .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card{min-height:154px}
}


/* rc67: unified dashboard cards and top-level email change */
.aidp-dashboard-plus .aidp-plus-nav-grid{align-items:stretch}
.aidp-dashboard-plus .aidp-plus-nav-card{height:100%;min-height:168px!important}
.aidp-dashboard-plus .aidp-plus-nav-card>span:nth-child(2){align-self:center;min-width:0}
.aidp-dashboard-plus .aidp-plus-nav-card.is-payroll,
.aidp-dashboard-plus .aidpp-dashboard-card.is-visit{min-height:168px!important}
.aidp-dashboard-action{display:grid;grid-template-columns:46px 1fr 18px;align-items:center;gap:14px;margin:0 0 14px;padding:17px 20px;border:1px solid #dfE5ef;border-radius:18px;background:#fff;text-decoration:none!important;color:#17264a;box-sizing:border-box}
.aidp-dashboard-action-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#7c8ba3,#56657d);color:#fff;font-size:20px;font-weight:800}
.aidp-dashboard-action strong{display:block;font-size:17px;margin-bottom:4px;color:#17264a}
.aidp-dashboard-action small{display:block;font-size:12.5px;line-height:1.5;color:#718096}
.aidp-dashboard-action b{font-size:27px;font-weight:400;color:#17264a}
.aidp-email-page{max-width:760px!important}
.aidp-email-page .aidp-email-change-panel{margin-top:16px}
@media(max-width:620px){
 .aidp-dashboard-plus .aidp-plus-nav-card,
 .aidp-dashboard-plus .aidp-plus-nav-card.is-payroll,
 .aidp-dashboard-plus .aidpp-dashboard-card.is-visit{min-height:160px!important;height:auto!important}
 .aidp-dashboard-action{grid-template-columns:42px 1fr 16px;padding:15px 16px;gap:12px}
 .aidp-dashboard-action-icon{width:40px;height:40px}
}

/* rc68: dedicated email-change page */
.aidp-email-page .aidp-email-change-panel{margin:20px 0 18px;padding:24px;border:1px solid #dce6f2;border-radius:22px;background:#fff;box-shadow:0 10px 32px rgba(31,64,112,.05)}
.aidp-email-page .aidp-email-change-panel>h2{margin:0 0 18px;font-size:22px;color:#142440}
.aidp-email-page .aidp-email-change-note{padding:16px 18px;border-radius:16px;background:#f4f8fd;border:1px solid #dfebf8;margin-bottom:18px}
.aidp-email-page .aidp-email-change-note strong{display:block;margin-bottom:6px;color:#245bb9}
.aidp-email-page .aidp-email-change-note p{margin:0;color:#66758c;line-height:1.7;font-size:13px}
.aidp-email-page .aidp-email-current{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:1px solid #e4eaf2;border-radius:15px;margin-bottom:16px}
.aidp-email-page .aidp-email-current span{font-size:12px;color:#7a8799}
.aidp-email-page .aidp-email-current strong{font-size:16px;color:#142440;overflow-wrap:anywhere}
.aidp-email-page .aidp-email-change-form{display:grid;gap:14px}
.aidp-email-page .aidp-email-change-form label span{display:block;font-size:13px;font-weight:700;color:#263a58;margin-bottom:7px}
.aidp-email-page .aidp-email-change-form input[type=email]{width:100%;min-height:52px;border:1px solid #ccd8e7;border-radius:14px;padding:0 15px;font-size:16px;background:#fff;box-sizing:border-box}
.aidp-email-page .aidp-email-change-form button{min-height:50px;border:0;border-radius:14px;background:#2563cf;color:#fff;font-size:15px;font-weight:800;padding:0 20px}
.aidp-email-page .aidp-email-change-status{padding:16px 18px;border:1px solid #f0d8a8;border-radius:15px;background:#fffaf0;margin-bottom:16px}
.aidp-email-page .aidp-email-change-status strong,.aidp-email-page .aidp-email-change-status span{display:block;margin-bottom:5px}
.aidp-email-page .aidp-email-change-status p{margin:0;color:#7f6b42;font-size:13px}
@media(max-width:620px){.aidp-email-page .aidp-email-change-panel{padding:19px 16px;border-radius:18px;margin-top:14px}.aidp-email-page .aidp-email-change-panel>h2{font-size:19px}.aidp-email-page .aidp-list-backbar{margin-bottom:4px}}

/* rc70: balanced single-card dashboard and consistent document card sizing */
.aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1{
  grid-template-columns:minmax(0,1fr)!important;
  max-width:none!important;
}
.aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card{
  min-height:132px!important;
  height:auto!important;
  grid-template-columns:56px minmax(0,1fr) 18px!important;
  align-items:center!important;
  align-content:normal!important;
  padding:20px 22px!important;
}
.aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-icon{
  grid-column:1!important;
  grid-row:auto!important;
  width:52px!important;
  height:52px!important;
  margin:0!important;
}
.aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card>b{
  grid-column:3!important;
  grid-row:auto!important;
  align-self:center!important;
}
@media(max-width:620px){
  .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card{
    min-height:126px!important;
    grid-template-columns:54px minmax(0,1fr) 18px!important;
    padding:18px 18px!important;
    gap:14px!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-icon{
    width:50px!important;
    height:50px!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card strong{font-size:19px!important}
  .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1 .aidp-plus-nav-card small{font-size:12px!important}
}

/* rc71: dashboard contact action and resilient green document card styling. */
.aidp-dashboard-action.aidp-contact-action .aidp-dashboard-action-icon{
  background:linear-gradient(145deg,#5a78a7,#344f78);
  color:#fff;
  font-size:22px;
  font-weight:800;
}
.aidp-dashboard-plus .aidp-plus-nav-card.is-visit{
  background:linear-gradient(145deg,#f7fcf8 0%,#edf8f1 100%)!important;
  border-color:#b8dbc5!important;
  color:#185d39!important;
}
.aidp-dashboard-plus .aidp-plus-nav-card.is-visit .aidp-plus-nav-icon{
  background:linear-gradient(145deg,#45a369,#23804b)!important;
  color:#fff!important;
}
.aidp-dashboard-plus .aidp-plus-nav-card.is-visit strong,
.aidp-dashboard-plus .aidp-plus-nav-card.is-visit b{color:#185d39!important}
.aidp-dashboard-plus .aidp-plus-nav-card.is-visit small{color:#6f8177!important}
.aidpp-folder-glyph{position:relative;display:block;width:27px;height:20px;border:2px solid currentColor;border-radius:2px}
.aidpp-folder-glyph:before{content:"";position:absolute;left:1px;top:-7px;width:11px;height:7px;border:2px solid currentColor;border-bottom:0;border-radius:3px 3px 0 0;background:transparent}

/* rc72: time-based greeting is displayed only on the dashboard hero. */
.aidp-dashboard-plus .aidp-time-greeting{display:block;margin:0 0 5px;color:#64748b;font-size:15px;font-weight:700;line-height:1.35}
@media(max-width:620px){.aidp-dashboard-plus .aidp-time-greeting{font-size:13px;margin-bottom:4px}}
/* rc73: source withholding and print center */
.aidp-plus-nav-card.is-tax{border-color:#f1bd7a;background:linear-gradient(145deg,#fffaf2,#fff4e3);color:#8b4b00}.aidp-plus-nav-card.is-tax .aidp-plus-nav-icon{background:linear-gradient(145deg,#ff9e26,#f27a00);color:#fff}.aidp-list-backbar.is-tax a{color:#d66c00}.aidp-tax-list{padding-top:22px}.aidp-tax-row{border-left-color:#f28a14!important}.aidp-tax-pdf{margin-left:auto;color:#d66c00;font-weight:800;font-size:14px}.aidp-print-center-intro{margin:18px 32px;padding:20px 22px;border:1px solid #dbe6f2;border-radius:20px;background:#f8fbff}.aidp-print-center-intro h2{margin:0 0 6px;font-size:22px}.aidp-print-center-intro p{margin:0;color:#718197;line-height:1.7}.aidp-print-center form{padding:0 32px 34px}.aidp-print-center fieldset{border:0;margin:20px 0;padding:0}.aidp-print-center legend{font-size:18px;font-weight:800;margin-bottom:10px}.aidp-print-center fieldset label{display:flex;align-items:center;gap:14px;padding:15px 16px;margin:9px 0;border:1px solid #dce5ef;border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(31,58,88,.04)}.aidp-print-center fieldset input{width:22px;height:22px}.aidp-print-center fieldset span{display:flex;flex-direction:column;gap:3px}.aidp-print-center fieldset strong{font-size:16px}.aidp-print-center fieldset small{color:#718197}.aidp-print-center-actions{position:sticky;bottom:10px;display:flex;gap:10px;padding:12px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid #dce5ef;border-radius:18px}.aidp-print-center-actions button{border:0;border-radius:999px;padding:13px 18px;font-weight:800}.aidp-print-center-actions .aidp-select-all{background:#edf3fa;color:#24568f}.aidp-print-center-actions .aidp-print-selected{flex:1;background:#2563d9;color:#fff}.aidp-print-center-action .aidp-dashboard-action-icon{background:linear-gradient(145deg,#315fcb,#1848ab);color:#fff}
@media(max-width:640px){.aidp-print-center-intro{margin:14px 18px}.aidp-print-center form{padding:0 18px 28px}.aidp-tax-pdf{font-size:12px}}
.aidp-print-package-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 18px;padding:18px;border:1px solid #dce6f2;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(28,47,74,.06)}
.aidp-print-package-card div{min-width:0}.aidp-print-package-card strong{display:block;color:#173d72;font-size:15px}.aidp-print-package-card small{display:block;margin-top:4px;color:#77869b}.aidp-print-package-card a{flex:0 0 auto;padding:10px 14px;border-radius:10px;background:#1667d9;color:#fff!important;text-decoration:none;font-weight:700;font-size:13px}.aidp-print-package-card.is-tax a{background:#e58a2b}.aidp-print-package-card.is-external a{background:#2e9b6e}

/* rc76 Print Center refinement */
.aidp-print-center-hero{margin:18px 32px 14px;padding:28px;border:1px solid #d9e5f3;border-radius:24px;background:linear-gradient(145deg,#f8fbff,#eef5ff)}
.aidp-print-center-hero>span{display:block;color:#2563d9;font-size:11px;font-weight:900;letter-spacing:.16em;margin-bottom:8px}
.aidp-print-center-hero h2{margin:0 0 8px;font-size:26px;color:#142b4a}.aidp-print-center-hero p{margin:0;color:#687b91;line-height:1.8}
.aidp-print-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;list-style:none;margin:0 32px 24px;padding:0}.aidp-print-steps li{position:relative;display:flex;align-items:center;gap:8px;color:#8493a5;font-weight:700}.aidp-print-steps li:not(:last-child):after{content:"";position:absolute;left:calc(100% - 8px);right:-8px;height:1px;background:#d7e1ec}.aidp-print-steps b{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf2f7;color:#6d7e91}.aidp-print-steps .is-current{color:#1f57b6}.aidp-print-steps .is-current b{background:#2563d9;color:#fff}.aidp-print-steps .is-done{color:#25804e}.aidp-print-steps .is-done b{background:#e4f6eb;color:#25804e}
.aidp-print-settings-preview{margin:22px 0;padding:20px;border:1px solid #dce6f1;border-radius:18px;background:#f9fbfd}.aidp-print-settings-preview h3{margin:0 0 12px;font-size:18px}.aidp-print-settings-preview label{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:8px 0!important;padding:14px!important}.aidp-print-settings-preview input{margin-top:3px}.aidp-selected-count{display:flex;align-items:baseline;gap:5px;white-space:nowrap;color:#566a82}.aidp-selected-count b{font-size:22px;color:#1d4f9f}.aidp-selected-count span{font-size:12px}
.aidp-print-package-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 32px;padding:18px 20px;background:#fff;border:1px solid #dce6f0;border-radius:18px;box-shadow:0 6px 18px rgba(29,58,91,.05)}.aidp-print-package-card div{display:flex;flex-direction:column;gap:4px}.aidp-print-package-card small{color:#75869a}.aidp-print-package-card a{padding:11px 16px;border-radius:10px;background:#2563d9;color:#fff;text-decoration:none;font-weight:800}.aidp-print-package-card.is-tax a,.aidp-print-package-card.is-external a{background:#fff;color:#245b9e;border:1px solid #cdddf0}
@media(max-width:640px){.aidp-print-center-hero{margin:14px 18px;padding:20px}.aidp-print-steps{margin:0 18px 18px}.aidp-print-steps span{font-size:10px}.aidp-print-steps li{gap:4px;flex-direction:column;align-items:flex-start}.aidp-print-center-actions{display:grid;grid-template-columns:auto 1fr;}.aidp-print-center-actions .aidp-print-selected{grid-column:1/-1}.aidp-selected-count{justify-self:end}.aidp-print-package-card{margin:10px 18px;align-items:flex-start;flex-direction:column}.aidp-print-package-card a{width:100%;text-align:center}}

/* rc77 Print Center flow */
.aidp-print-settings-form{padding:0 32px 34px}.aidp-print-summary,.aidp-print-option-card,.aidp-generation-card,.aidp-print-ready-card{margin:14px 32px;padding:20px;border:1px solid #dce6f1;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(31,58,88,.05)}.aidp-print-summary{display:flex;flex-direction:column;gap:5px}.aidp-print-summary strong{font-size:20px;color:#17365d}.aidp-print-summary small{color:#748499}.aidp-print-option-card h3{margin:0 0 12px;font-size:18px}.aidp-print-option-card label{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-top:1px solid #edf1f5}.aidp-print-option-card label:first-of-type{border-top:0}.aidp-print-option-card input{width:21px;height:21px;margin-top:2px}.aidp-print-option-card span{display:flex;flex-direction:column;gap:4px}.aidp-print-option-card small{color:#78899d;line-height:1.55}.aidp-print-flow-actions{display:flex;justify-content:space-between;gap:12px;margin:18px 32px}.aidp-print-flow-actions a,.aidp-print-flow-actions button{border-radius:14px;padding:14px 20px;font-weight:800;text-decoration:none}.aidp-print-flow-actions a{border:1px solid #cbd8e7;color:#355678;background:#fff}.aidp-print-flow-actions button{border:0;background:#2563d9;color:#fff;min-width:190px}.aidp-generation-card{text-align:center;padding:44px 20px;display:flex;flex-direction:column;align-items:center;gap:10px}.aidp-generation-spinner{width:58px;height:58px;border:6px solid #e4ecf7;border-top-color:#2563d9;border-radius:50%;animation:aidpSpin .8s linear infinite}.aidp-generation-card strong{font-size:21px}.aidp-generation-card small{color:#78899d}@keyframes aidpSpin{to{transform:rotate(360deg)}}.aidp-print-ready-card{text-align:center;padding:30px}.aidp-ready-check{width:58px;height:58px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#e5f8eb;color:#159447;font-size:31px;font-weight:900}.aidp-print-ready-card h3{margin:0 0 6px;font-size:22px}.aidp-print-ready-card p{margin:0 0 18px;color:#748499}.aidp-primary-cta{display:block;border-radius:14px;padding:15px;background:#2563d9;color:#fff!important;font-weight:900;text-decoration:none;text-align:center}.aidp-print-package-card a{min-height:46px;display:flex;align-items:center;justify-content:center}
@media(max-width:640px){.aidp-print-settings-form{padding:0 18px 28px}.aidp-print-summary,.aidp-print-option-card,.aidp-generation-card,.aidp-print-ready-card{margin:12px 18px}.aidp-print-flow-actions{margin:16px 18px;flex-direction:column-reverse}.aidp-print-flow-actions a,.aidp-print-flow-actions button{width:100%;text-align:center}.aidp-print-center-hero p{font-size:14px;line-height:1.7}}
/* rc79: print center CTA visibility */
.aidp-print-package-card .aidp-doc-print-cta{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:170px!important;min-height:48px!important;padding:12px 18px!important;
  border:0!important;border-radius:14px!important;background:#2563d9!important;
  color:#fff!important;text-decoration:none!important;font-weight:900!important;
  box-shadow:0 8px 20px rgba(37,99,217,.18)!important;
}
.aidp-print-package-card.is-tax .aidp-doc-print-cta{background:#e58a2b!important;color:#fff!important}
.aidp-print-package-card.is-external .aidp-doc-print-cta{background:#2e9b6e!important;color:#fff!important}
@media(max-width:640px){.aidp-print-package-card .aidp-doc-print-cta{width:100%!important;min-width:0!important}}

/* rc80: dashboard announcement CTA */
.aidp-new-announcement-cta{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:14px;margin:18px 32px;padding:17px 20px;border:1px solid #f0c979;border-radius:20px;background:linear-gradient(135deg,#fff9e9,#fff4d8);color:#27364d!important;text-decoration:none!important;box-shadow:0 8px 22px rgba(150,105,20,.08)}
.aidp-new-announcement-cta .aidp-announcement-bell{width:46px;height:46px;border-radius:14px;background:#f59e0b;color:#fff;display:grid;place-items:center;font-weight:900;font-size:23px}
.aidp-new-announcement-cta div{display:flex;flex-direction:column;gap:4px}.aidp-new-announcement-cta strong{font-size:18px}.aidp-new-announcement-cta small{color:#7b6a48;font-size:13px}.aidp-new-announcement-cta>b{font-size:30px;color:#b77900}
.aidp-announcement-list{padding:16px 32px 30px}.aidp-announcement-row{display:grid;grid-template-columns:12px 1fr auto;gap:13px;align-items:center;padding:18px 16px;border-bottom:1px solid #e6edf5;color:#17304f!important;text-decoration:none!important;background:#fff}.aidp-announcement-row:first-child{border-radius:18px 18px 0 0}.aidp-announcement-row:last-child{border-radius:0 0 18px 18px;border-bottom:0}.aidp-announcement-row.is-unread{background:#fffaf0}.aidp-announcement-dot{width:9px;height:9px;border-radius:50%;background:#d4dbe4}.aidp-announcement-row.is-unread .aidp-announcement-dot{background:#f59e0b}.aidp-announcement-row div{display:flex;flex-direction:column;gap:5px}.aidp-announcement-row strong{font-size:16px}.aidp-announcement-row small{font-size:12px;color:#8390a2}.aidp-announcement-row>b{font-size:26px}.aidp-announcement-card{margin:18px 32px 30px;padding:24px;border:1px solid #dce6f1;border-radius:22px;background:#fff}.aidp-announcement-card time{color:#8190a4;font-size:13px}.aidp-announcement-card h1{font-size:24px;line-height:1.45;margin:10px 0 18px}.aidp-announcement-card>div{font-size:16px;line-height:1.9;color:#35465f}
@media(max-width:640px){.aidp-new-announcement-cta{margin:16px 20px;padding:15px 16px;grid-template-columns:48px 1fr auto}.aidp-new-announcement-cta .aidp-announcement-bell{width:42px;height:42px}.aidp-new-announcement-cta strong{font-size:16px}.aidp-announcement-list{padding:14px 20px 26px}.aidp-announcement-card{margin:16px 20px 28px;padding:20px}}


/* rc81 Personal Security Center */
.aidp-security-center{padding-bottom:36px}.aidp-security-flash{margin:14px 18px;padding:13px 15px;border-radius:12px;font-weight:700}.aidp-security-flash.is-ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.aidp-security-flash.is-warn{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.aidp-sec-status{margin:18px;display:flex;gap:16px;align-items:center;padding:20px;border:1px solid #cfe7ff;background:linear-gradient(135deg,#eef8ff,#fff);border-radius:18px}.aidp-sec-shield{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#dff7ea;color:#079455;font-size:28px;font-weight:900}.aidp-sec-status span,.aidp-sec-heading span{color:#64748b;font-size:12px;font-weight:700}.aidp-sec-status h1{margin:2px 0 4px;font-size:23px;color:#0f172a}.aidp-sec-status p{margin:0;color:#64748b}.aidp-sec-summary-grid{margin:0 18px 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.aidp-sec-summary-grid article{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:14px}.aidp-sec-summary-grid span{display:block;color:#64748b;font-size:11px}.aidp-sec-summary-grid strong{display:block;margin-top:5px;color:#0f62c7;font-size:16px}.aidp-sec-section{margin:16px 18px;padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.aidp-sec-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:14px}.aidp-sec-heading h2{margin:2px 0 0;font-size:19px;color:#0f172a}.aidp-sec-heading small{max-width:230px;color:#64748b;text-align:right}.aidp-device-card{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:14px 0;border-top:1px solid #edf2f7}.aidp-device-card:first-of-type{border-top:0}.aidp-device-card.is-current{background:#f6fbff;margin:0 -8px;padding:14px 8px;border-radius:12px}.aidp-device-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e8f3ff;color:#1473e6;font-size:23px}.aidp-device-main>div{display:flex;gap:8px;align-items:center}.aidp-device-main strong{font-size:15px}.aidp-device-main em{font-style:normal;font-size:10px;padding:3px 7px;border-radius:20px;background:#dff7ea;color:#078451}.aidp-device-main p{margin:3px 0;color:#475569;font-size:12px}.aidp-device-main small{color:#94a3b8}.aidp-device-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.aidp-device-actions form{display:flex;gap:6px;flex:1}.aidp-device-actions input{min-width:120px;flex:1;border:1px solid #dbe5ef;border-radius:9px;padding:9px 10px}.aidp-device-actions button,.aidp-sec-emergency button{border:0;border-radius:9px;padding:9px 12px;background:#e8f3ff;color:#075fb7;font-weight:800}.aidp-device-actions button.is-danger{background:#fff1f2;color:#be123c}.aidp-sec-log{display:flex;gap:11px;padding:12px 0;border-top:1px solid #edf2f7}.aidp-sec-log:first-of-type{border-top:0}.aidp-sec-log-dot{width:9px;height:9px;margin-top:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.aidp-sec-log.is-warning .aidp-sec-log-dot{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.aidp-sec-log strong{font-size:14px}.aidp-sec-log p{margin:2px 0;font-size:12px;color:#475569}.aidp-sec-log small{color:#94a3b8}.aidp-sec-change{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #edf2f7}.aidp-sec-change:first-of-type{border-top:0}.aidp-sec-change strong,.aidp-sec-change small{display:block}.aidp-sec-change small,.aidp-sec-change span{color:#94a3b8;font-size:11px}.aidp-sec-empty{color:#94a3b8;text-align:center;padding:18px}.aidp-sec-emergency{margin:18px;padding:18px;border:1px solid #fed7aa;background:#fffaf5;border-radius:18px}.aidp-sec-emergency h2{font-size:18px;margin:0 0 6px}.aidp-sec-emergency p{font-size:13px;color:#64748b}.aidp-sec-emergency form{margin-top:9px}.aidp-sec-emergency button{width:100%;padding:12px;background:#fff;border:1px solid #f59e0b;color:#b45309}.aidp-sec-emergency button.is-report{background:#be123c;border-color:#be123c;color:#fff}@media(max-width:600px){.aidp-sec-summary-grid{grid-template-columns:1fr}.aidp-sec-heading{display:block}.aidp-sec-heading small{display:block;text-align:left;margin-top:4px}.aidp-device-actions{display:block}.aidp-device-actions form{margin-top:7px}.aidp-device-actions button{white-space:nowrap}}

/* rc87: 非常勤向け収入目安サポート */
.aidp-income-support{margin:14px 0 18px;padding:18px;border:1px solid #dbe7f1;border-radius:18px;background:linear-gradient(145deg,#fff 0%,#f6fbff 100%);box-shadow:0 8px 24px rgba(35,73,107,.06)}
.aidp-income-support-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
.aidp-income-support-head span{display:block;color:#56809f;font-size:12px;font-weight:800;letter-spacing:.08em}
.aidp-income-support-head h2{margin:3px 0 0;font-size:18px;color:#163854}
.aidp-income-support-head>strong{font-size:24px;color:#2377b7}
.aidp-income-support-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.aidp-income-support-values>div{padding:12px 10px;border:1px solid #e2edf5;border-radius:13px;background:#fff}
.aidp-income-support-values small{display:block;color:#6b7f8f;font-size:11px;line-height:1.4}
.aidp-income-support-values b{display:block;margin-top:5px;color:#183b56;font-size:16px;white-space:nowrap}
.aidp-income-support-meter{height:9px;margin:15px 0 10px;border-radius:999px;background:#e5edf3;overflow:hidden}
.aidp-income-support-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3e9ed8,#1b6fb0)}
.aidp-income-support-notice{margin:0;color:#38586f;font-weight:700;font-size:13px;line-height:1.7}
.aidp-income-support-note{margin:9px 0 0;color:#778795;font-size:10px;line-height:1.65}
.aidp-income-support.is-warning{border-color:#f0d296;background:linear-gradient(145deg,#fff 0%,#fffaf0 100%)}
.aidp-income-support.is-warning .aidp-income-support-head>strong,.aidp-income-support.is-warning .aidp-income-support-notice{color:#a96b00}
.aidp-income-support.is-warning .aidp-income-support-meter i{background:linear-gradient(90deg,#f3b340,#df8b00)}
.aidp-income-support.is-danger{border-color:#efb6b6;background:linear-gradient(145deg,#fff 0%,#fff5f5 100%)}
.aidp-income-support.is-danger .aidp-income-support-head>strong,.aidp-income-support.is-danger .aidp-income-support-notice{color:#b43b3b}
.aidp-income-support.is-danger .aidp-income-support-meter i{background:linear-gradient(90deg,#e97575,#c94747)}
@media(max-width:600px){.aidp-income-support-values{grid-template-columns:1fr}.aidp-income-support-values>div{display:flex;align-items:center;justify-content:space-between}.aidp-income-support-values b{margin:0;font-size:17px}}

/* rc88 働き方サポート */
.aidp-income-support{display:block;margin:16px 0;padding:20px;border:1px solid #dbe5ef;border-radius:18px;background:#f8fbff;color:#17233b;text-decoration:none!important;box-shadow:0 8px 24px rgba(35,63,94,.06)}
.aidp-income-support.is-notice{background:#fffbea;border-color:#eadb87}.aidp-income-support.is-warning{background:#fff5e8;border-color:#efbd76}.aidp-income-support.is-danger{background:#fff0f0;border-color:#efaaaa}
.aidp-income-support-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.aidp-income-support-head span{font-size:13px;font-weight:800;color:#47709e}.aidp-income-support-head h2{font-size:18px;margin:4px 0 0}.aidp-income-support-head>strong{font-size:26px;color:#1769d2}
.aidp-income-support-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.aidp-income-support-values div{background:#fff;border:1px solid rgba(80,110,145,.14);border-radius:12px;padding:12px}.aidp-income-support-values small{display:block;color:#718096;font-size:11px}.aidp-income-support-values b{display:block;margin-top:5px;font-size:16px}
.aidp-income-support-meter{height:10px;border-radius:99px;background:#dfe8f2;overflow:hidden}.aidp-income-support-meter i{display:block;height:100%;background:#2a78dc;border-radius:99px}.is-notice .aidp-income-support-meter i{background:#d7aa25}.is-warning .aidp-income-support-meter i{background:#e98b24}.is-danger .aidp-income-support-meter i{background:#da4d4d}
.aidp-income-support-notice{margin:12px 0 4px;font-weight:700}.aidp-income-support-more{display:block;margin-top:10px;color:#1769d2;font-size:13px;font-weight:800}
.aidp-income-page{max-width:760px}.aidp-income-saved{margin:14px 0;padding:12px 15px;border-radius:12px;background:#eaf8ef;color:#167443;font-weight:700}.aidp-income-detail,.aidp-income-chart,.aidp-income-setting{margin:16px 0;padding:22px;border:1px solid #dce5ef;border-radius:18px;background:#fff}.aidp-income-detail>span{color:#66758b}.aidp-income-detail>strong{display:block;font-size:34px;margin-top:5px;color:#17233b}.aidp-income-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.aidp-income-detail-grid div{padding:14px;background:#f5f8fc;border-radius:12px}.aidp-income-detail-grid small{display:block;color:#718096}.aidp-income-detail-grid b{display:block;margin-top:6px}
.aidp-income-bars{height:220px;display:grid;grid-template-columns:repeat(12,1fr);gap:6px;align-items:end;border-bottom:1px solid #d9e1eb;padding-top:30px}.aidp-income-bars>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.aidp-income-bars i{width:70%;min-height:3px;background:#4c8ee8;border-radius:5px 5px 0 0}.aidp-income-bars span,.aidp-income-bars small{font-size:10px;color:#6f7d91;white-space:nowrap}
.aidp-income-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}.aidp-income-presets label input{position:absolute;opacity:0}.aidp-income-presets label span{display:block;padding:13px;border:1px solid #cfdbe8;border-radius:12px;text-align:center;font-weight:700}.aidp-income-presets input:checked+span{border-color:#1769d2;background:#edf5ff;color:#1769d2}.aidp-income-custom{width:100%;padding:13px!important;border-radius:10px!important}.aidp-income-save{width:100%;margin-top:14px;padding:14px;border:0;border-radius:12px;background:#1769d2;color:#fff;font-weight:800}.aidp-admin-income-status{display:inline-block;padding:5px 10px;border-radius:99px;background:#eaf3ff;color:#1769d2;font-weight:800}.aidp-admin-income-status.is-notice{background:#fff5c9;color:#806000}.aidp-admin-income-status.is-warning{background:#ffead0;color:#a95600}.aidp-admin-income-status.is-danger{background:#ffe0e0;color:#b42323}
@media(max-width:600px){.aidp-income-support-values,.aidp-income-detail-grid{grid-template-columns:1fr}.aidp-income-bars{gap:2px;height:180px;overflow-x:auto}.aidp-income-bars>div{min-width:24px}.aidp-income-presets{grid-template-columns:1fr 1fr}}

/* rc89 働き方サポート管理 */
.aidn-income-settings{max-width:920px}.aidn-income-setting-row{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #dce6ef;border-radius:12px;background:#f8fbff}.aidn-income-setting-row span{display:flex;flex-direction:column;gap:4px}.aidn-income-setting-row small,.aidn-income-dest small{color:#68798a}.aidn-income-thresholds{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:18px 0}.aidn-income-dest{display:flex;flex-direction:column;gap:7px;max-width:680px}.aidn-income-dest textarea{width:100%}.aidn-income-test{margin-top:10px}.aidn-income-list{overflow-x:auto}.aidn-income-person{max-width:920px}.aidn-income-person-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0 20px}.aidn-income-person-grid>div{padding:16px;border:1px solid #dfe7ef;border-radius:13px;background:#fafcff}.aidn-income-person-grid small{display:block;color:#718096}.aidn-income-person-grid strong{display:block;margin-top:5px;font-size:21px}.aidp-income-setting.is-locked{background:#f8fafc}.aidp-income-locked-value{font-size:28px;font-weight:800;color:#1d4f91;margin:12px 0}
@media(max-width:782px){.aidn-income-person-grid{grid-template-columns:1fr}.aidn-income-thresholds{align-items:flex-start;flex-direction:column;gap:10px}.aidn-income-settings .button{min-height:42px}}

/* rc92: 働き方サポートの年間収入目安を単一入力UIへ統一 */
.aidp-income-limit-form{margin-top:16px}
.aidp-income-limit-field{display:block}
.aidp-income-limit-field>span:first-child{display:block;margin-bottom:8px;color:#44566b;font-size:13px;font-weight:800}
.aidp-income-limit-inputwrap{display:flex;align-items:center;gap:8px;padding:0 15px;border:1px solid #cbd9e7;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(41,73,104,.05)}
.aidp-income-limit-input{width:100%;min-width:0;padding:15px 0!important;border:0!important;outline:0!important;background:transparent!important;color:#17233b;font-size:24px!important;font-weight:800;letter-spacing:.01em;box-shadow:none!important}
.aidp-income-limit-inputwrap b{color:#607387;font-size:14px;white-space:nowrap}
.aidp-income-quick{margin-top:17px}
.aidp-income-quick>span{display:block;margin-bottom:9px;color:#6c7b8d;font-size:12px;font-weight:800}
.aidp-income-quick>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.aidp-income-quick-btn{min-height:44px;padding:10px 8px;border:1px solid #cfdbe8;border-radius:12px;background:#f8fbff;color:#255d91;font-weight:800;cursor:pointer;-webkit-appearance:none;appearance:none}
.aidp-income-quick-btn:active{transform:translateY(1px);background:#eaf4ff}
.aidp-income-live{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.aidp-income-live>div{padding:12px 13px;border-radius:12px;background:#f5f8fc}
.aidp-income-live small{display:block;color:#758497;font-size:11px}
.aidp-income-live strong{display:block;margin-top:5px;color:#203a56;font-size:17px}
.aidp-income-input-help{margin:12px 0 0;color:#68798b;font-size:12px;line-height:1.65}
@media(max-width:480px){.aidp-income-quick>div{grid-template-columns:1fr}.aidp-income-live{grid-template-columns:1fr}.aidp-income-limit-input{font-size:22px!important}}


/* rc99: 給与明細ヘッダーのブランド優先度を調整 */
.aidp-detail-phase1 .aidp-detail-hero{border-radius:18px!important;}
.aidp-detail-phase1 .aidp-detail-title p{font-size:13px!important;letter-spacing:.08em!important;color:#1769d2!important;}
.aidp-detail-phase1 .aidp-detail-title h1{font-size:30px!important;}
.aidp-detail-phase1 .aidp-detail-net strong{font-variant-numeric:tabular-nums!important;}

/* v1.1.0-alpha9: PC専用ログインレイアウト */
@media (min-width: 961px){
  body.aidp-portal-standalone{background:#f3f6fb!important;}
  body.aidp-portal-standalone .aidp-login-shell{
    width:min(1180px,calc(100vw - 72px))!important;
    max-width:1180px!important;
    min-height:calc(100vh - 48px)!important;
    margin:24px auto!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(390px,44%) minmax(500px,56%)!important;
    align-items:stretch!important;
    border:1px solid #dfe7f1!important;
    border-radius:24px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 24px 70px rgba(28,55,90,.12)!important;
    text-align:left!important;
  }
  body.aidp-portal-standalone .aidp-login-brand{
    grid-column:1!important;
    grid-row:1!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:58px 54px!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    background:linear-gradient(145deg,#edf7ff 0%,#f6fbff 58%,#eef3ff 100%)!important;
    border-right:1px solid #e2eaf3!important;
  }
  body.aidp-portal-standalone .aidp-login-panel{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:64px 76px 48px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  body.aidp-portal-standalone .aidp-login-panel h1{font-size:40px!important;line-height:1.22!important;}
  body.aidp-portal-standalone .aidp-login-panel .aidp-lead{max-width:560px!important;margin-bottom:30px!important;}
  body.aidp-portal-standalone .aidp-form{max-width:560px!important;}
  body.aidp-portal-standalone .aidp-primary{min-width:220px!important;min-height:52px!important;}
  body.aidp-portal-standalone .aidp-security{max-width:560px!important;margin-top:38px!important;}
  body.aidp-portal-standalone .aidp-security ul{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
  body.aidp-portal-standalone .aidp-security li{padding:14px!important;border:1px solid #e2eaf3!important;border-radius:12px!important;background:#f8fbfe!important;}
  body.aidp-portal-standalone .aidp-login-footer{margin-top:30px!important;text-align:left!important;}
  body.aidp-portal-standalone .aidp-code-input{max-width:500px!important;}
}

/* =========================================================
   AidPayroll v1.1.0-alpha10 — Login landing + bottom sheet
   ========================================================= */
body.aidp-portal-standalone{background:#f7faff!important;overflow-x:hidden}
html.aidp-sheet-open,html.aidp-sheet-open body{overflow:hidden!important}
body.aidp-portal-standalone .aidp-login-landing-v21{position:relative;min-height:100svh;overflow:hidden;background:linear-gradient(155deg,#fbfdff 0%,#f1f7ff 48%,#eef2ff 100%);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;color:#0d1b35}
body.aidp-portal-standalone .aidp-login-landing-v21:before{content:"";position:absolute;inset:auto -20% -18% -20%;height:48%;background:radial-gradient(ellipse at center,rgba(44,116,235,.23),rgba(68,181,239,.08) 45%,transparent 72%);filter:blur(10px)}
body.aidp-portal-standalone .aidp-ambient{position:absolute;border-radius:50%;filter:blur(10px);pointer-events:none}
body.aidp-portal-standalone .aidp-ambient-one{width:420px;height:420px;right:-180px;top:-120px;background:radial-gradient(circle,rgba(119,129,255,.23),transparent 68%)}
body.aidp-portal-standalone .aidp-ambient-two{width:360px;height:360px;left:-170px;bottom:50px;background:radial-gradient(circle,rgba(54,190,234,.18),transparent 68%)}
body.aidp-portal-standalone .aidp-login-hero{position:relative;z-index:2;width:min(100%,620px);min-height:100svh;margin:0 auto;padding:clamp(42px,7vh,82px) 28px 28px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center}
body.aidp-portal-standalone .aidp-login-hero .aidp-login-brand{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 32px!important}
body.aidp-portal-standalone .aidp-login-hero .aidp-mark{width:66px!important;height:52px!important;display:block!important}
body.aidp-portal-standalone .aidp-login-hero .aidp-mark svg{width:100%;height:100%;display:block}
body.aidp-portal-standalone .aidp-login-hero .aidp-wordmark{margin:0!important;font-size:42px!important;line-height:1!important;letter-spacing:-.055em!important;font-weight:500!important;color:#111d36!important}
body.aidp-portal-standalone .aidp-login-hero .aidp-word-payroll{font-weight:850!important}
body.aidp-portal-standalone .aidp-login-hero .aidp-byline{margin-top:7px!important;text-align:left;color:#7b89a0!important;font-size:14px!important;font-weight:800!important}
body.aidp-portal-standalone .aidp-login-eyebrow{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 17px;margin:0 0 28px;border:1px solid rgba(45,111,222,.14);border-radius:999px;background:rgba(255,255,255,.58);box-shadow:0 8px 30px rgba(35,79,150,.06);color:#286ad6;font-size:11px;font-weight:900;letter-spacing:.24em}
body.aidp-portal-standalone .aidp-login-hero h1{margin:0 0 18px!important;font-size:clamp(38px,6vw,58px)!important;line-height:1.2!important;letter-spacing:-.06em!important;color:#101c35!important}
body.aidp-portal-standalone .aidp-login-copy{max-width:430px;margin:0 0 38px!important;color:#677991!important;font-size:16px!important;line-height:1.9!important;font-weight:650!important}
body.aidp-portal-standalone .aidp-login-actions{width:100%;display:grid;gap:15px;margin-bottom:28px}
body.aidp-portal-standalone .aidp-role-card{width:100%;min-height:105px;box-sizing:border-box;display:grid;grid-template-columns:58px 1fr 28px;align-items:center;gap:17px;padding:20px 22px;border:1px solid rgba(165,190,224,.46);border-radius:25px;background:rgba(255,255,255,.76);box-shadow:0 20px 46px rgba(28,69,133,.11),inset 0 1px 0 rgba(255,255,255,.95);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);text-decoration:none!important;text-align:left;color:#101d36!important;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.aidp-portal-standalone button.aidp-role-card{font:inherit}
body.aidp-portal-standalone .aidp-role-card:hover{transform:translateY(-2px);border-color:rgba(61,123,229,.45);box-shadow:0 24px 55px rgba(28,69,133,.16)}
body.aidp-portal-standalone .aidp-role-icon{width:58px;height:58px;border-radius:19px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e6f3ff,#edf0ff);color:#2467d5}
body.aidp-portal-standalone .aidp-role-admin .aidp-role-icon{background:linear-gradient(145deg,#f1eaff,#e9edff);color:#7950e8}
body.aidp-portal-standalone .aidp-role-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.aidp-portal-standalone .aidp-role-card strong{display:block;margin-bottom:5px;font-size:20px;letter-spacing:-.025em}
body.aidp-portal-standalone .aidp-role-card small{display:block;color:#75859a;font-size:13px;font-weight:700}
body.aidp-portal-standalone .aidp-role-arrow{font-size:35px;font-weight:300;color:#3977dc;line-height:1}
body.aidp-portal-standalone .aidp-role-admin .aidp-role-arrow{color:#8058df}
body.aidp-portal-standalone .aidp-login-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 18px;margin:0 auto 28px;color:#6f8095;font-size:12px;font-weight:750}
body.aidp-portal-standalone .aidp-login-trust b{color:#2a78d7}
body.aidp-portal-standalone .aidp-login-hero .aidp-login-footer{margin-top:auto!important;padding-top:24px!important;color:#8b98aa!important;font-size:11px!important;line-height:1.8!important}
body.aidp-portal-standalone .aidp-login-hero .aidp-login-footer span{display:block!important}
body.aidp-portal-standalone .aidp-sheet-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(10,21,42,.56);opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
body.aidp-portal-standalone .aidp-sheet-backdrop.is-open{opacity:1;visibility:visible}
body.aidp-portal-standalone .aidp-login-sheet{position:fixed;z-index:99999;left:50%;bottom:0;width:min(100%,620px);max-height:92svh;overflow-y:auto;box-sizing:border-box;padding:18px 30px max(28px,env(safe-area-inset-bottom));border-radius:30px 30px 0 0;background:rgba(255,255,255,.98);box-shadow:0 -24px 70px rgba(9,24,52,.22);transform:translate(-50%,105%);transition:transform .34s cubic-bezier(.22,.8,.24,1);text-align:center}
body.aidp-portal-standalone .aidp-login-sheet.is-open{transform:translate(-50%,0)}
body.aidp-portal-standalone .aidp-sheet-handle{width:48px;height:5px;border-radius:999px;background:#d9e1ec;margin:0 auto 22px}
body.aidp-portal-standalone .aidp-sheet-close{position:absolute;right:22px;top:20px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5fa;color:#53657c;font-size:25px;line-height:1;cursor:pointer}
body.aidp-portal-standalone .aidp-sheet-icon{width:66px;height:66px;margin:2px auto 15px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e4f2ff,#eeeeff);color:#2b6bd9;box-shadow:0 12px 30px rgba(49,104,205,.13)}
body.aidp-portal-standalone .aidp-sheet-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
body.aidp-portal-standalone .aidp-sheet-kicker{margin:0 0 7px!important;color:#3774d5!important;font-size:10px!important;font-weight:900!important;letter-spacing:.22em!important}
body.aidp-portal-standalone .aidp-login-sheet h2{margin:0 0 10px!important;color:#101c34!important;font-size:28px!important;letter-spacing:-.04em!important}
body.aidp-portal-standalone .aidp-sheet-lead{margin:0 auto 22px!important;max-width:430px;color:#718196!important;font-size:13px!important;line-height:1.75!important;font-weight:650!important}
body.aidp-portal-standalone .aidp-sheet-form{max-width:480px;margin:0 auto;gap:16px!important;text-align:left}
body.aidp-portal-standalone .aidp-sheet-form label>span:first-child{font-size:12px!important;margin-bottom:8px!important;color:#52657c!important}
body.aidp-portal-standalone .aidp-sheet-form .aidp-input-wrap{position:relative;display:block}
body.aidp-portal-standalone .aidp-sheet-form .aidp-input-wrap svg{position:absolute;left:20px;top:50%;transform:translateY(-50%);width:24px;height:24px;color:#8292a7;z-index:2}
body.aidp-portal-standalone .aidp-sheet-form input:not(.aidp-code-input){width:100%!important;min-height:66px!important;box-sizing:border-box!important;border:1px solid #dbe5f0!important;border-radius:17px!important;background:#fbfdff!important;padding:0 18px 0 58px!important;font-size:17px!important;box-shadow:0 7px 22px rgba(29,68,126,.06)!important}
body.aidp-portal-standalone .aidp-sheet-form input:focus{outline:none!important;border-color:#4f8be5!important;box-shadow:0 0 0 4px rgba(55,118,218,.10)!important}
body.aidp-portal-standalone .aidp-sheet-form .aidp-primary{width:100%!important;max-width:none!important;min-height:66px!important;border-radius:17px!important;justify-content:center!important;margin:0!important;background:linear-gradient(135deg,#55a6ee,#2d67d6)!important;box-shadow:0 17px 34px rgba(45,103,214,.24)!important;font-size:17px!important}
body.aidp-portal-standalone .aidp-sheet-note{margin:18px 0 0!important;color:#8290a3!important;font-size:11px!important;font-weight:700!important}
body.aidp-portal-standalone .aidp-login-sheet .aidp-alert{max-width:480px;margin:0 auto 16px!important;text-align:left}
@media(max-width:640px){body.aidp-portal-standalone .aidp-login-hero{padding:46px 20px 22px}body.aidp-portal-standalone .aidp-login-hero .aidp-mark{width:55px!important;height:43px!important}body.aidp-portal-standalone .aidp-login-hero .aidp-wordmark{font-size:34px!important}body.aidp-portal-standalone .aidp-login-hero .aidp-byline{font-size:12px!important}body.aidp-portal-standalone .aidp-login-eyebrow{margin-bottom:23px;font-size:9px;letter-spacing:.20em}body.aidp-portal-standalone .aidp-login-hero h1{font-size:39px!important;margin-bottom:15px!important}body.aidp-portal-standalone .aidp-login-copy{font-size:14px!important;margin-bottom:30px!important}body.aidp-portal-standalone .aidp-role-card{min-height:92px;padding:16px 17px;grid-template-columns:52px 1fr 22px;border-radius:21px}body.aidp-portal-standalone .aidp-role-icon{width:52px;height:52px;border-radius:17px}body.aidp-portal-standalone .aidp-role-card strong{font-size:18px}body.aidp-portal-standalone .aidp-role-card small{font-size:11px}body.aidp-portal-standalone .aidp-login-trust{font-size:10px;gap:7px 12px}body.aidp-portal-standalone .aidp-login-sheet{padding:14px 20px max(22px,env(safe-area-inset-bottom));border-radius:26px 26px 0 0}body.aidp-portal-standalone .aidp-login-sheet h2{font-size:25px!important}body.aidp-portal-standalone .aidp-sheet-lead br{display:none}}
/* v1.1.0-alpha11 login visual */
body.aidp-portal-standalone .aidp-login-landing-v22{min-height:100svh;position:relative;overflow:hidden;background:linear-gradient(145deg,#fafdff 0%,#edf6ff 45%,#dcecff 100%);color:#14213a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}
body.aidp-portal-standalone .aidp-login-landing-v22:before,body.aidp-portal-standalone .aidp-login-landing-v22:after{content:"";position:absolute;left:-12%;right:-12%;height:48%;border-radius:50%;background:rgba(255,255,255,.58);filter:blur(1px);transform:rotate(-8deg)}
body.aidp-portal-standalone .aidp-login-landing-v22:before{top:10%}body.aidp-portal-standalone .aidp-login-landing-v22:after{bottom:-20%;background:rgba(87,157,244,.18)}
body.aidp-portal-standalone .aidp-login-stage{position:relative;z-index:2;width:min(100% - 36px,620px);min-height:100svh;margin:auto;padding:70px 24px 28px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{margin:0 0 26px!important}body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{font-size:18px!important;color:#1667d8!important;font-weight:750!important;margin:0 0 66px!important}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-actions{width:100%;gap:18px}.aidp-passkey-box{max-width:480px;margin:auto;text-align:left}.aidp-passkey-box label span{display:block;margin:0 0 8px;font-size:12px;font-weight:800;color:#52657c}.aidp-passkey-box input{width:100%;min-height:62px;box-sizing:border-box;border:1px solid #d8e3ef;border-radius:16px;padding:0 18px;font-size:18px;background:#fbfdff}.aidp-passkey-login{width:100%!important;margin-top:14px!important;justify-content:center!important}.aidp-passkey-status{min-height:22px;margin:10px 0 0;color:#52657c;font-size:12px;text-align:center}.aidp-login-divider{display:flex;align-items:center;gap:12px;max-width:480px;margin:18px auto;color:#8a98aa;font-size:11px}.aidp-login-divider:before,.aidp-login-divider:after{content:"";height:1px;flex:1;background:#e2e9f1}
.aidp-passkey-enroll-wrap{position:relative;z-index:20;max-width:1180px;margin:14px auto -2px;padding:0 20px;display:flex;align-items:center;gap:12px}.aidp-passkey-enroll{border:1px solid #b9d2f3;border-radius:999px;background:#fff;color:#1766cf;padding:10px 16px;font-weight:800;cursor:pointer}.aidp-passkey-enroll-status{font-size:12px;color:#52657c}
.aidp-passkey-hint{margin:10px 0 0;text-align:center;font-size:12px;font-weight:700;color:#55708f}.aidp-passkey-box .aidp-passkey-login{margin-top:0!important}

/* v1.1.0-alpha13 futuristic login visual */
body.aidp-portal-standalone .aidp-login-landing-v22{background:
 radial-gradient(circle at 50% 8%,rgba(255,255,255,.98) 0 12%,rgba(255,255,255,.35) 32%,transparent 53%),
 linear-gradient(155deg,#f8fcff 0%,#deefff 34%,#86bbf4 68%,#0d4fae 100%);isolation:isolate}
body.aidp-portal-standalone .aidp-login-landing-v22:before{inset:-8% -20% auto;height:63%;border-radius:42% 58% 48% 52%;background:repeating-radial-gradient(ellipse at 50% 55%,rgba(255,255,255,.5) 0 1px,transparent 2px 12px),linear-gradient(115deg,rgba(255,255,255,.72),rgba(106,178,255,.15) 46%,rgba(255,255,255,.54));filter:blur(.2px);transform:rotate(-5deg);opacity:.82;z-index:-2;animation:aidpAurora 14s ease-in-out infinite alternate}
body.aidp-portal-standalone .aidp-login-landing-v22:after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;border-radius:0;background:
 linear-gradient(to top,rgba(4,42,102,.9),rgba(25,96,177,.16) 66%,transparent),
 repeating-linear-gradient(90deg,transparent 0 19px,rgba(255,255,255,.28) 20px 22px,transparent 23px 42px);clip-path:polygon(0 58%,4% 58%,4% 27%,7% 27%,7% 50%,11% 50%,11% 18%,14% 18%,14% 54%,18% 54%,18% 35%,22% 35%,22% 62%,28% 62%,28% 22%,32% 22%,32% 56%,39% 56%,39% 38%,45% 38%,45% 65%,52% 65%,52% 28%,57% 28%,57% 56%,63% 56%,63% 41%,69% 41%,69% 62%,75% 62%,75% 24%,80% 24%,80% 52%,86% 52%,86% 33%,91% 33%,91% 58%,96% 58%,96% 45%,100% 45%,100% 100%,0 100%);opacity:.52;z-index:-1}
body.aidp-portal-standalone .aidp-sky-orb{display:block;position:absolute;border-radius:50%;pointer-events:none;z-index:0}.aidp-sky-orb-a{width:240px;height:240px;top:21%;left:-110px;background:radial-gradient(circle,rgba(114,210,255,.52),transparent 68%);filter:blur(4px)}.aidp-sky-orb-b{width:300px;height:300px;right:-160px;top:43%;background:radial-gradient(circle,rgba(100,112,255,.36),transparent 70%);filter:blur(5px)}
body.aidp-portal-standalone .aidp-login-stage{width:min(100% - 28px,660px);padding:58px 22px 32px}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{filter:drop-shadow(0 10px 24px rgba(23,84,170,.16));animation:aidpBrandIn .7s ease both}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{margin:0 0 8px!important;font-size:21px!important;text-shadow:0 2px 15px rgba(255,255,255,.9)}
body.aidp-portal-standalone .aidp-login-subcopy{margin:0 0 42px!important;color:#445d80!important;font-size:13px!important;font-weight:750!important;letter-spacing:.08em!important}
body.aidp-portal-standalone .aidp-login-actions{gap:15px!important}
body.aidp-portal-standalone .aidp-role-card{position:relative;overflow:hidden;min-height:118px;grid-template-columns:68px 1fr 34px;gap:18px;padding:19px 22px;border:1px solid rgba(255,255,255,.78);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(232,244,255,.65));box-shadow:0 24px 54px rgba(12,62,137,.22),inset 0 1px 0 #fff,inset 0 -1px 0 rgba(72,139,222,.16);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%)}
body.aidp-portal-standalone .aidp-role-card:before{content:"";position:absolute;inset:-60% auto -60% -30%;width:38%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.78),transparent);transform:rotate(18deg);transition:left .65s ease}
body.aidp-portal-standalone .aidp-role-card:hover:before{left:115%}
body.aidp-portal-standalone .aidp-role-employee{border-color:rgba(176,219,255,.9);box-shadow:0 28px 64px rgba(13,83,181,.28),0 0 0 1px rgba(255,255,255,.6) inset}
body.aidp-portal-standalone .aidp-role-icon{width:68px;height:68px;border-radius:22px;background:rgba(255,255,255,.68);box-shadow:0 10px 28px rgba(43,102,190,.14),inset 0 0 0 1px rgba(255,255,255,.9);display:grid;place-items:center;color:#176bd7}
body.aidp-portal-standalone .aidp-role-admin .aidp-role-icon{color:#7548e8;background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(230,220,255,.72))}
body.aidp-portal-standalone .aidp-role-icon svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
body.aidp-portal-standalone .aidp-role-card strong{font-size:22px!important}.aidp-role-card em{display:block;margin-top:7px;color:#41617f;font-size:10px;font-style:normal;font-weight:750;line-height:1.45}.aidp-role-arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.72);box-shadow:0 5px 16px rgba(30,90,171,.12);font-size:32px!important;line-height:1;transition:transform .2s ease}.aidp-role-card:hover .aidp-role-arrow{transform:translateX(3px)}
body.aidp-portal-standalone .aidp-login-trust{width:100%;display:grid!important;grid-template-columns:repeat(3,1fr);gap:0!important;margin:30px auto 24px!important;padding:16px 0;border-top:1px solid rgba(255,255,255,.4);border-bottom:1px solid rgba(255,255,255,.25);color:#eef7ff!important;text-shadow:0 1px 8px rgba(4,47,106,.34)}
body.aidp-portal-standalone .aidp-login-trust>span{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;padding:0 12px;border-right:1px solid rgba(255,255,255,.28)}body.aidp-portal-standalone .aidp-login-trust>span:last-child{border-right:0}.aidp-login-trust svg{grid-row:1/3;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.aidp-login-trust b{color:#fff!important;font-size:12px}.aidp-login-trust small{font-size:9px;color:#d9ebff}
body.aidp-portal-standalone .aidp-login-footer{margin-top:auto!important;padding-top:14px!important;border-top:0!important;color:rgba(255,255,255,.78)!important;text-shadow:0 1px 8px rgba(3,38,89,.35)}
body.aidp-portal-standalone .aidp-login-footer a{color:rgba(255,255,255,.9)!important}
body.aidp-portal-standalone .aidp-sheet-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
@keyframes aidpAurora{from{transform:translate3d(-2%,0,0) rotate(-5deg) scale(1)}to{transform:translate3d(3%,2%,0) rotate(-2deg) scale(1.06)}}
@keyframes aidpBrandIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:640px){body.aidp-portal-standalone .aidp-login-stage{padding:54px 14px 24px}body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{margin-bottom:24px!important}body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{font-size:19px!important}body.aidp-portal-standalone .aidp-login-subcopy{margin-bottom:36px!important;font-size:12px!important}body.aidp-portal-standalone .aidp-role-card{min-height:104px;grid-template-columns:60px 1fr 30px;padding:16px;border-radius:24px}body.aidp-portal-standalone .aidp-role-icon{width:60px;height:60px;border-radius:20px}body.aidp-portal-standalone .aidp-role-icon svg{width:35px;height:35px}body.aidp-portal-standalone .aidp-role-card strong{font-size:20px!important}.aidp-role-card em{font-size:9px}.aidp-role-arrow{width:30px;height:30px}.aidp-login-trust b{font-size:10px}.aidp-login-trust small{font-size:8px}.aidp-login-trust svg{width:20px;height:20px}body.aidp-portal-standalone .aidp-login-trust>span{grid-template-columns:24px 1fr;padding:0 6px}}
@media(prefers-reduced-motion:reduce){body.aidp-portal-standalone .aidp-login-landing-v22:before,body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{animation:none}}

/* AidPayroll v1.1.0-alpha16: passkey setup placement/status */
.aidp-passkey-setup,.aidp-passkey-ready{max-width:1180px;margin:18px auto 20px;box-sizing:border-box}
.aidp-passkey-setup{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 20px;border:1px solid rgba(64,132,230,.28);border-radius:20px;background:linear-gradient(135deg,rgba(239,247,255,.98),rgba(255,255,255,.98));box-shadow:0 12px 28px rgba(38,91,163,.10);overflow:hidden}
.aidp-passkey-setup:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#56a7f2,#3266dc)}
.aidp-passkey-setup-icon{width:54px;height:54px;border-radius:17px;background:linear-gradient(145deg,#e4f2ff,#eef0ff);display:grid;place-items:center;color:#286bdc}
.aidp-passkey-setup-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.aidp-passkey-setup-copy{display:flex;flex-direction:column;min-width:0}.aidp-passkey-setup-copy>span{font-size:11px;font-weight:900;letter-spacing:.08em;color:#2770d8;margin-bottom:3px}.aidp-passkey-setup-copy strong{font-size:18px;color:#17233b;line-height:1.4}.aidp-passkey-setup-copy small{font-size:13px;color:#687b94;line-height:1.65;margin-top:3px}
.aidp-passkey-setup .aidp-passkey-enroll{border:0;border-radius:13px;background:linear-gradient(135deg,#58a1ed,#3467d9);color:#fff;padding:13px 19px;font-weight:900;white-space:nowrap;box-shadow:0 8px 18px rgba(48,102,210,.20)}
.aidp-passkey-setup .aidp-passkey-enroll-status{grid-column:2/-1;margin:0;font-size:12px;color:#52657c;min-height:0}
.aidp-passkey-ready{display:flex;align-items:center;gap:11px;padding:11px 16px;border:1px solid #cce8dc;border-radius:15px;background:#f5fcf8;color:#297255}
.aidp-passkey-ready-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#def4e8;font-weight:900}.aidp-passkey-ready div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.aidp-passkey-ready strong{font-size:14px}.aidp-passkey-ready small{font-size:12px;color:#617c70}
@media(max-width:720px){.aidp-passkey-setup,.aidp-passkey-ready{margin:14px 18px 16px}.aidp-passkey-setup{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px}.aidp-passkey-setup-icon{width:46px;height:46px;border-radius:15px}.aidp-passkey-setup-copy strong{font-size:16px}.aidp-passkey-setup-copy small{font-size:12px}.aidp-passkey-setup .aidp-passkey-enroll{grid-column:1/-1;width:100%;padding:13px}.aidp-passkey-setup .aidp-passkey-enroll-status{grid-column:1/-1;text-align:center}.aidp-passkey-ready{align-items:flex-start}.aidp-passkey-ready div{display:block}.aidp-passkey-ready strong,.aidp-passkey-ready small{display:block}.aidp-passkey-ready small{margin-top:2px;line-height:1.5}}

/* AidPayroll v1.1.0-alpha17: reload layout stabilization */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.aidp-portal-standalone{width:100%;min-width:0;overflow-x:hidden}
body.aidp-portal-standalone .aidp-app,
body.aidp-portal-standalone .aidn-payroll{transform:none!important;animation:none!important;transition:none!important;will-change:auto!important}
body.aidp-portal-standalone .aidp-topbar,
body.aidp-portal-standalone .aidp-passkey-setup,
body.aidp-portal-standalone .aidp-passkey-ready,
body.aidp-portal-standalone .aidp-plus-hero,
body.aidp-portal-standalone .aidp-plus-nav-grid{transform:none!important;animation:none!important}

/* AidPayroll v1.1.0-alpha18: passkey management */
.aidp-passkey-manager{position:relative}
.aidp-passkey-manage-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;margin-top:12px;border:1px solid #dce8f5;border-radius:17px;background:linear-gradient(135deg,#f7fbff,#fff);box-shadow:0 8px 22px rgba(39,83,143,.07)}
.aidp-passkey-manage-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#eaf4ff;color:#2470d6;font-size:25px;font-weight:900}
.aidp-passkey-manage-copy{display:flex;flex-direction:column;gap:4px}.aidp-passkey-manage-copy strong{font-size:15px;color:#17233b}.aidp-passkey-manage-copy small{font-size:12px;color:#708198}
.aidp-passkey-revoke{border:1px solid #e6b8bd;border-radius:12px;background:#fff;color:#b33b49;padding:10px 14px;font-weight:800;cursor:pointer}.aidp-passkey-revoke:disabled{opacity:.55;cursor:wait}
.aidp-passkey-revoke-status{grid-column:2/-1;margin:0;min-height:0;font-size:12px;color:#536b87}.aidp-passkey-revoke-status.is-error{color:#b42336}
.aidp-passkey-empty{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:18px;border:1px dashed #ccdcec;border-radius:16px;background:#f8fbff}.aidp-passkey-empty strong{display:block;color:#26364f}.aidp-passkey-empty p{margin:4px 0 0;font-size:12px;color:#73839a}.aidp-passkey-empty a{white-space:nowrap;text-decoration:none;font-weight:800;color:#1766cf}
@media(max-width:720px){.aidp-passkey-manage-card{grid-template-columns:44px minmax(0,1fr);padding:15px}.aidp-passkey-revoke{grid-column:1/-1;width:100%}.aidp-passkey-revoke-status{grid-column:1/-1;text-align:center}.aidp-passkey-empty{align-items:flex-start;flex-direction:column}.aidp-passkey-empty a{width:100%;text-align:center;padding:10px 0;border:1px solid #d5e4f5;border-radius:11px;background:#fff}}

/* AidPayroll v1.1.0-alpha20: continuous login background on mobile Safari */
html:has(body.aidp-portal-standalone),
body.aidp-portal-standalone{
  min-height:100%;
  background:#0d4fae!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22{
  min-height:100dvh!important;
  height:auto!important;
  background:
    radial-gradient(circle at 50% 8%,rgba(255,255,255,.98) 0 12%,rgba(255,255,255,.35) 32%,transparent 53%),
    linear-gradient(155deg,#f8fcff 0%,#deefff 34%,#86bbf4 68%,#0d4fae 100%)!important;
  background-color:#0d4fae!important;
  margin:0!important;
  padding:0!important;
}
body.aidp-portal-standalone .aidp-login-stage{
  min-height:100dvh!important;
  padding-bottom:max(44px,env(safe-area-inset-bottom))!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22:after{
  bottom:-1px!important;
  height:38%!important;
  clip-path:polygon(0 58%,4% 58%,4% 27%,7% 27%,7% 50%,11% 50%,11% 18%,14% 18%,14% 54%,18% 54%,18% 35%,22% 35%,22% 62%,28% 62%,28% 22%,32% 22%,32% 56%,39% 56%,39% 38%,45% 38%,45% 65%,52% 65%,52% 28%,57% 28%,57% 56%,63% 56%,63% 41%,69% 41%,69% 62%,75% 62%,75% 24%,80% 24%,80% 52%,86% 52%,86% 33%,91% 33%,91% 58%,96% 58%,96% 45%,100% 45%,100% 100%,0 100%)!important;
}
body.aidp-portal-standalone .aidp-login-trust{
  margin-top:24px!important;
}
@media(max-width:640px){
  body.aidp-portal-standalone .aidp-login-stage{
    padding-bottom:max(34px,env(safe-area-inset-bottom))!important;
  }
  body.aidp-portal-standalone .aidp-login-trust{
    margin-top:22px!important;
    margin-bottom:18px!important;
  }
}

/* AidPayroll v1.1.0-alpha21: iPhone Safari top-area and motion stability */
html:has(body.aidp-portal-standalone),
body.aidp-portal-standalone{
  min-height:100%;
  margin:0!important;
  background:#f7fbff!important;
  overscroll-behavior-y:none;
}
body.aidp-portal-standalone .aidp-login-landing-v22{
  min-height:100svh!important;
  height:auto!important;
  margin:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:
    repeating-radial-gradient(circle at 50% 29%,rgba(255,255,255,.42) 0 1px,transparent 2px 20px),
    radial-gradient(circle at 50% 8%,#ffffff 0 11%,rgba(255,255,255,.55) 30%,transparent 50%),
    linear-gradient(155deg,#f7fbff 0%,#dceeff 37%,#79b0ee 70%,#0d4fae 100%)!important;
  background-color:#f7fbff!important;
  isolation:isolate;
}
body.aidp-portal-standalone .aidp-login-stage{
  min-height:100svh!important;
  height:auto!important;
  padding-top:max(54px,env(safe-area-inset-top))!important;
  padding-bottom:max(38px,env(safe-area-inset-bottom))!important;
}
/* Heavy animated/filter layers caused Safari toolbar resize jank. */
body.aidp-portal-standalone .aidp-login-landing-v22:before{
  animation:none!important;
  transform:none!important;
  filter:none!important;
  inset:0!important;
  height:58%!important;
  border-radius:0!important;
  opacity:.44!important;
  background:radial-gradient(ellipse at 50% 22%,rgba(255,255,255,.78),rgba(178,218,255,.18) 55%,transparent 75%)!important;
  will-change:auto!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22:after{
  transform:none!important;
  filter:none!important;
  will-change:auto!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{
  animation:none!important;
  transform:none!important;
  filter:none!important;
}
body.aidp-portal-standalone .aidp-sky-orb{display:none!important}
body.aidp-portal-standalone .aidp-role-card,
body.aidp-portal-standalone .aidp-role-arrow{
  transition:none!important;
  will-change:auto!important;
}
@media(max-width:640px){
  body.aidp-portal-standalone .aidp-role-card{
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(232,244,255,.84))!important;
  }
  body.aidp-portal-standalone .aidp-role-card:before{display:none!important}
  body.aidp-portal-standalone .aidp-role-card:hover .aidp-role-arrow,
  body.aidp-portal-standalone .aidp-role-card:active .aidp-role-arrow{transform:none!important}
}

/* AidPayroll v1.1.0-alpha22: keep the login background blue through the bottom edge */
html:has(body.aidp-portal-standalone),
html:has(body.aidp-portal-standalone) body,
body.aidp-portal-standalone,
body.aidp-portal-standalone .site,
body.aidp-portal-standalone #page,
body.aidp-portal-standalone main,
body.aidp-portal-standalone .content,
body.aidp-portal-standalone .entry-content,
body.aidp-portal-standalone .aidn-payroll{
  min-height:100%!important;
  background-color:#0d4fae!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22{
  min-height:100lvh!important;
  min-height:100dvh!important;
  background:
    repeating-radial-gradient(circle at 50% 29%,rgba(255,255,255,.34) 0 1px,transparent 2px 20px),
    radial-gradient(circle at 50% 8%,#fff 0 11%,rgba(255,255,255,.54) 30%,transparent 50%),
    linear-gradient(155deg,#f7fbff 0%,#dceeff 37%,#79b0ee 69%,#0d4fae 92%,#0d4fae 100%)!important;
  background-color:#0d4fae!important;
  box-sizing:border-box!important;
  padding-bottom:max(1px,env(safe-area-inset-bottom))!important;
}
body.aidp-portal-standalone .aidp-login-stage{
  min-height:100lvh!important;
  min-height:100dvh!important;
  box-sizing:border-box!important;
  padding-bottom:max(52px,calc(env(safe-area-inset-bottom) + 28px))!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22:after{
  bottom:-2px!important;
  height:40%!important;
  background-color:#0d4fae!important;
}
@supports (-webkit-touch-callout:none){
  html:has(body.aidp-portal-standalone),
  body.aidp-portal-standalone,
  body.aidp-portal-standalone .site,
  body.aidp-portal-standalone #page{
    background:#0d4fae!important;
  }
  body.aidp-portal-standalone .aidp-login-landing-v22,
  body.aidp-portal-standalone .aidp-login-stage{
    min-height:100lvh!important;
  }
}


/* AidPayroll v1.1.0-alpha25: fixed mobile login viewport and calm status-bar area */
html:has(body.aidp-portal-standalone),
html:has(body.aidp-portal-standalone) body,
body.aidp-portal-standalone{
  margin:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#f7fbff!important;
}
body.aidp-portal-standalone .site,
body.aidp-portal-standalone #page,
body.aidp-portal-standalone main,
body.aidp-portal-standalone .content,
body.aidp-portal-standalone .entry-content,
body.aidp-portal-standalone .aidn-payroll{
  height:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  background:transparent!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  touch-action:manipulation;
  background:
    repeating-radial-gradient(circle at 50% 30%,rgba(255,255,255,.25) 0 1px,transparent 2px 21px),
    radial-gradient(circle at 50% 4%,#fff 0 13%,rgba(255,255,255,.66) 31%,transparent 52%),
    linear-gradient(155deg,#f9fcff 0%,#e8f4ff 39%,#80b5ef 70%,#0d4fae 94%,#0d4fae 100%)!important;
  background-color:#0d4fae!important;
}
body.aidp-portal-standalone .aidp-login-stage{
  width:min(100% - 28px,660px)!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  margin:0 auto!important;
  padding-top:max(34px,env(safe-area-inset-top))!important;
  padding-bottom:max(18px,env(safe-area-inset-bottom))!important;
  justify-content:flex-start!important;
}
body.aidp-portal-standalone .aidp-login-footer{display:none!important}
body.aidp-portal-standalone .aidp-login-sheet{overscroll-behavior:contain!important}
@media(max-width:640px){
  body.aidp-portal-standalone .aidp-login-stage{padding-left:14px!important;padding-right:14px!important}
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{margin-bottom:18px!important}
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{margin-bottom:6px!important}
  body.aidp-portal-standalone .aidp-login-subcopy{margin-bottom:24px!important}
  body.aidp-portal-standalone .aidp-login-actions{gap:12px!important}
  body.aidp-portal-standalone .aidp-role-card{min-height:96px!important;padding:14px 16px!important}
  body.aidp-portal-standalone .aidp-login-trust{margin:18px auto 0!important;padding:13px 0!important}
}
@media(max-width:640px) and (max-height:760px){
  body.aidp-portal-standalone .aidp-login-stage{padding-top:max(22px,env(safe-area-inset-top))!important}
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{margin-bottom:12px!important;transform:scale(.92)!important}
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{font-size:17px!important}
  body.aidp-portal-standalone .aidp-login-subcopy{margin-bottom:16px!important}
  body.aidp-portal-standalone .aidp-role-card{min-height:84px!important}
  body.aidp-portal-standalone .aidp-login-trust{margin-top:12px!important;padding:10px 0!important}
}

/* AidPayroll v1.1.0-alpha25: final abstract login background and balanced mobile spacing */
body.aidp-portal-standalone .aidp-login-landing-v22{
  background:
    radial-gradient(circle at 50% 5%,rgba(255,255,255,.98) 0 18%,rgba(255,255,255,.72) 38%,rgba(231,244,255,.40) 58%,transparent 72%),
    linear-gradient(180deg,#fbfdff 0%,#f4f9ff 46%,#dceeff 72%,#3b83dc 100%)!important;
  background-color:#3b83dc!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22:before{
  content:""!important;
  position:absolute!important;
  inset:auto 0 0!important;
  height:43%!important;
  border-radius:0!important;
  background:url('login-abstract-bottom.svg') center bottom/100% 100% no-repeat!important;
  opacity:1!important;
  transform:none!important;
  filter:none!important;
  animation:none!important;
  z-index:0!important;
  pointer-events:none!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  height:auto!important;
  border-radius:0!important;
  clip-path:none!important;
  background:
    radial-gradient(circle at 89% 28%,rgba(99,164,240,.20) 0 2px,transparent 3px) 0 0/18px 18px no-repeat,
    radial-gradient(circle at 12% 70%,rgba(255,255,255,.46) 0 2px,transparent 3px) 0 0/22px 22px no-repeat!important;
  opacity:.8!important;
  transform:none!important;
  filter:none!important;
  z-index:0!important;
  pointer-events:none!important;
}
body.aidp-portal-standalone .aidp-login-stage{
  position:relative!important;
  z-index:2!important;
  justify-content:center!important;
  padding-top:max(64px,calc(env(safe-area-inset-top) + 34px))!important;
  padding-bottom:max(38px,calc(env(safe-area-inset-bottom) + 22px))!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{
  margin-bottom:34px!important;
}
body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{
  margin-bottom:10px!important;
}
body.aidp-portal-standalone .aidp-login-subcopy{
  margin-bottom:42px!important;
}
body.aidp-portal-standalone .aidp-login-actions{
  gap:20px!important;
}
body.aidp-portal-standalone .aidp-role-card{
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(245,250,255,.82))!important;
  border-color:rgba(171,211,252,.78)!important;
  box-shadow:0 18px 42px rgba(42,91,154,.14),inset 0 1px 0 rgba(255,255,255,.95)!important;
}
body.aidp-portal-standalone .aidp-login-trust{
  margin:34px auto 0!important;
  color:#1d5eac!important;
  text-shadow:none!important;
  border-top:1px solid rgba(79,138,207,.22)!important;
  border-bottom:1px solid rgba(79,138,207,.16)!important;
}
body.aidp-portal-standalone .aidp-login-trust b{color:#235b9e!important}
body.aidp-portal-standalone .aidp-login-trust small{color:#55769b!important}
@media(max-width:640px){
  body.aidp-portal-standalone .aidp-login-stage{
    width:min(100% - 24px,620px)!important;
    padding-left:18px!important;
    padding-right:18px!important;
    padding-top:max(72px,calc(env(safe-area-inset-top) + 42px))!important;
    padding-bottom:max(34px,calc(env(safe-area-inset-bottom) + 18px))!important;
  }
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{margin-bottom:30px!important}
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-copy{font-size:20px!important;margin-bottom:12px!important}
  body.aidp-portal-standalone .aidp-login-subcopy{font-size:13px!important;margin-bottom:38px!important}
  body.aidp-portal-standalone .aidp-role-card{min-height:106px!important;padding:17px 18px!important}
  body.aidp-portal-standalone .aidp-login-trust{margin-top:30px!important;padding:15px 0!important}
}
@media(max-width:640px) and (max-height:760px){
  body.aidp-portal-standalone .aidp-login-stage{
    justify-content:flex-start!important;
    padding-top:max(38px,calc(env(safe-area-inset-top) + 18px))!important;
  }
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand{margin-bottom:18px!important;transform:scale(.95)!important}
  body.aidp-portal-standalone .aidp-login-subcopy{margin-bottom:22px!important}
  body.aidp-portal-standalone .aidp-login-actions{gap:12px!important}
  body.aidp-portal-standalone .aidp-role-card{min-height:88px!important;padding:13px 15px!important}
  body.aidp-portal-standalone .aidp-login-trust{margin-top:16px!important;padding:10px 0!important}
  body.aidp-portal-standalone .aidp-login-landing-v22:before{height:36%!important}
}

/* AidPayroll v1.1.0-alpha26: mobile login vertical balance */
@media (max-width: 640px) {
  body.aidp-portal-standalone .aidp-login-stage {
    justify-content: center !important;
    min-height: 100svh !important;
    box-sizing: border-box !important;
    padding-top: max(112px, calc(env(safe-area-inset-top) + 76px)) !important;
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand {
    margin-bottom: 32px !important;
  }
  body.aidp-portal-standalone .aidp-login-subcopy {
    margin-bottom: 40px !important;
  }
  body.aidp-portal-standalone .aidp-login-trust {
    margin-top: 32px !important;
  }
}
@media (max-width: 640px) and (max-height: 760px) {
  body.aidp-portal-standalone .aidp-login-stage {
    justify-content: flex-start !important;
    padding-top: max(64px, calc(env(safe-area-inset-top) + 38px)) !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
  body.aidp-portal-standalone .aidp-login-landing-v22 .aidp-login-brand {
    margin-bottom: 20px !important;
    transform: scale(.95) !important;
  }
  body.aidp-portal-standalone .aidp-login-subcopy {
    margin-bottom: 24px !important;
  }
  body.aidp-portal-standalone .aidp-login-trust {
    margin-top: 18px !important;
  }
}


/* AidPayroll v1.1.0-alpha27: restore scrolling after employee login */
html:has(body.aidp-portal-authenticated),
html:has(body.aidp-portal-authenticated) body,
body.aidp-portal-standalone.aidp-portal-authenticated{
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:auto!important;
  background:#f7fbff!important;
}
body.aidp-portal-standalone.aidp-portal-authenticated .site,
body.aidp-portal-standalone.aidp-portal-authenticated #page,
body.aidp-portal-standalone.aidp-portal-authenticated main,
body.aidp-portal-standalone.aidp-portal-authenticated .content,
body.aidp-portal-standalone.aidp-portal-authenticated .entry-content,
body.aidp-portal-standalone.aidp-portal-authenticated .aidn-payroll{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  touch-action:auto!important;
}
body.aidp-portal-standalone.aidp-portal-authenticated .aidp-app,
body.aidp-portal-standalone.aidp-portal-authenticated .aidp-dashboard,
body.aidp-portal-standalone.aidp-portal-authenticated .aidp-security-center{
  overflow:visible!important;
  touch-action:auto!important;
}
/* The viewport lock belongs to the unauthenticated landing page only. */
body.aidp-portal-standalone.aidp-portal-login .aidp-login-landing-v22{
  position:fixed!important;
  inset:0!important;
  overflow:hidden!important;
}

/* AidPayroll v1.1.0-alpha29: OTP scrolling + mobile landing vertical balance */
/* The fixed viewport is only for the first login landing. Verification pages must scroll. */
html:has(body.aidp-portal-login .aidp-verify-v20),
html:has(body.aidp-portal-login .aidp-verify-v20) body,
body.aidp-portal-login:has(.aidp-verify-v20){
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:auto!important;
  background:#f7fbff!important;
}
body.aidp-portal-login:has(.aidp-verify-v20) .site,
body.aidp-portal-login:has(.aidp-verify-v20) #page,
body.aidp-portal-login:has(.aidp-verify-v20) main,
body.aidp-portal-login:has(.aidp-verify-v20) .content,
body.aidp-portal-login:has(.aidp-verify-v20) .entry-content,
body.aidp-portal-login:has(.aidp-verify-v20) .aidn-payroll{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  touch-action:auto!important;
}
body.aidp-portal-login .aidp-verify-v20{
  min-height:100dvh!important;
  height:auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  padding-bottom:max(120px,calc(env(safe-area-inset-bottom) + 96px))!important;
  -webkit-overflow-scrolling:touch;
}

/* Move the full mobile landing composition slightly lower for better visual balance. */
@media (max-width:640px) and (min-height:761px){
  body.aidp-portal-login .aidp-login-landing-v22 .aidp-login-stage{
    transform:translateY(clamp(34px,4.6vh,56px))!important;
  }
}
@media (max-width:640px) and (max-height:760px){
  body.aidp-portal-login .aidp-login-landing-v22 .aidp-login-stage{
    transform:translateY(14px)!important;
  }
}

/* v1.1.0-alpha39 — employee login face ID + circular close control */
body.aidp-portal-standalone .aidp-login-sheet .aidp-sheet-close{
  width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;
  min-height:44px!important;max-height:44px!important;aspect-ratio:1/1!important;
  padding:0!important;margin:0!important;border-radius:50%!important;box-sizing:border-box!important;
  display:grid!important;place-items:center!important;line-height:1!important;
}
body.aidp-portal-standalone .aidp-faceid-icon{
  width:72px!important;height:72px!important;border-radius:22px!important;
  background:linear-gradient(145deg,#edf7ff 0%,#f0f2ff 100%)!important;
  box-shadow:0 12px 30px rgba(49,104,205,.11)!important;
}
body.aidp-portal-standalone .aidp-faceid-icon svg{
  width:38px!important;height:38px!important;stroke-width:2.35!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}

/* AidPayroll v1.1.0-alpha40 — refined biometric icon + unified bottom-sheet login */
body.aidp-portal-standalone .aidp-role-face-scan svg,
body.aidp-portal-standalone .aidp-faceid-icon svg{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.aidp-portal-standalone .aidp-faceid-icon{
  width:70px!important;height:70px!important;border-radius:21px!important;
  color:#276ed8!important;
  background:linear-gradient(145deg,#edf7ff 0%,#f2f3ff 100%)!important;
  box-shadow:0 10px 26px rgba(49,104,205,.09)!important;
}
body.aidp-portal-standalone .aidp-faceid-icon svg{width:40px!important;height:40px!important}
body.aidp-portal-standalone .aidp-login-sheet .aidp-sheet-close{
  position:absolute!important;top:18px!important;right:18px!important;
  width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;
  min-height:40px!important;max-height:40px!important;aspect-ratio:1/1!important;
  flex:0 0 40px!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:999px!important;-webkit-appearance:none!important;appearance:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#f3f7fb!important;color:#596b83!important;box-sizing:border-box!important;
  overflow:hidden!important;
}
body.aidp-portal-standalone .aidp-login-sheet .aidp-sheet-close svg{
  display:block!important;width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:2.8!important;stroke-linecap:round!important;
}
body.aidp-portal-standalone .aidp-admin-sheet-icon{
  width:70px;height:70px;margin:12px auto 16px;border-radius:21px;display:grid;place-items:center;
  color:#7548e8;background:linear-gradient(145deg,#f3edff,#eef1ff);box-shadow:0 10px 26px rgba(104,74,210,.10)
}
body.aidp-portal-standalone .aidp-admin-sheet-icon svg{width:39px;height:39px;fill:none;stroke:currentColor;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round}
body.aidp-portal-standalone .aidp-admin-sheet-form{max-width:480px;margin:22px auto 0;text-align:left}
body.aidp-portal-standalone .aidp-admin-sheet-form label{display:block;margin:0 0 14px}
body.aidp-portal-standalone .aidp-admin-sheet-form label>span:first-child{display:block;margin:0 0 7px;color:#425673;font-size:13px;font-weight:800}
body.aidp-portal-standalone .aidp-admin-login-submit{margin-top:6px!important}
@media(max-width:640px){
  body.aidp-portal-standalone .aidp-admin-login-sheet{padding-top:14px!important}
  body.aidp-portal-standalone .aidp-admin-sheet-icon{width:66px;height:66px;margin-top:14px;margin-bottom:14px}
  body.aidp-portal-standalone .aidp-admin-sheet-icon svg{width:36px;height:36px}
}

/* AidPayroll v1.1.0-alpha41 — consistent Face ID icon + softer admin person icon */
body.aidp-portal-standalone .aidp-role-face-scan svg,
body.aidp-portal-standalone .aidp-faceid-icon svg{
  fill:none!important;stroke:currentColor!important;stroke-width:2.2!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.aidp-portal-standalone .aidp-role-face-scan svg circle,
body.aidp-portal-standalone .aidp-faceid-icon svg circle{
  fill:currentColor!important;stroke:none!important;
}
body.aidp-portal-standalone .aidp-role-admin .aidp-role-icon svg,
body.aidp-portal-standalone .aidp-admin-sheet-icon svg{
  fill:none!important;stroke:currentColor!important;stroke-width:2.15!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}

/* AidPayroll v1.1.0-alpha42: passkey migration / OTP revoke fallback */
.aidp-passkey-setup.is-warning{border-color:#efd8a8;background:linear-gradient(135deg,#fffaf0,#fff)}
.aidp-passkey-setup.is-warning .aidp-passkey-setup-copy span{color:#9a6a18}
.aidp-passkey-manage-card.is-legacy{border-color:#efd8a8;background:linear-gradient(135deg,#fffaf0,#fff)}
.aidp-passkey-manage-card.is-legacy .aidp-passkey-manage-copy strong{color:#7a5414}
.aidp-passkey-otp-box{grid-column:1/-1;margin-top:4px;padding:12px;border:1px solid #d9e7f6;border-radius:12px;background:#f8fbff}
.aidp-passkey-otp-note{margin:0 0 8px;font-size:12px;color:#5f7188}
.aidp-passkey-otp-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.aidp-passkey-otp-row input{min-width:0;height:44px;border:1px solid #cddced;border-radius:10px;padding:0 14px;font-size:18px;letter-spacing:.16em;background:#fff;color:#18243a}
.aidp-passkey-otp-confirm{height:44px;border:0;border-radius:10px;padding:0 16px;background:#2269d4;color:#fff;font-weight:800;cursor:pointer}
.aidp-passkey-otp-confirm:disabled{opacity:.55;cursor:wait}
@media(max-width:560px){.aidp-passkey-otp-row{grid-template-columns:1fr}.aidp-passkey-otp-confirm{width:100%}}

/* AidPayroll v1.1.0-alpha43: reliable non-AJAX legacy passkey revocation */
.aidp-passkey-form-message{margin:12px 0;padding:12px 14px;border:1px solid #cfe0f3;border-radius:12px;background:#f7fbff;color:#35516f;font-size:13px;font-weight:700}
.aidp-passkey-form-message.is-error{border-color:#f1c8c8;background:#fff7f7;color:#b33d3d}
.aidp-passkey-form-message.is-success{border-color:#cce7d8;background:#f5fcf8;color:#2d7a55}
.aidp-passkey-revoke-form{grid-column:1/-1;margin:0;width:100%}
.aidp-passkey-revoke-form .aidp-passkey-revoke{width:100%}
.aidp-passkey-code-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:12px;border:1px solid #d9e7f6;border-radius:12px;background:#f8fbff}
.aidp-passkey-code-form label{display:grid;gap:6px;color:#5f7188;font-size:12px;font-weight:800}
.aidp-passkey-code-form input{width:100%;height:46px;box-sizing:border-box;border:1px solid #cddced;border-radius:10px;padding:0 14px;background:#fff;color:#18243a;font-size:20px;letter-spacing:.16em}
.aidp-passkey-code-form .aidp-passkey-revoke{height:46px;padding:0 18px}
@media(max-width:560px){.aidp-passkey-code-form{grid-template-columns:1fr}.aidp-passkey-code-form .aidp-passkey-revoke{width:100%}}
/* alpha44: security-center icons use stable inline SVGs instead of font glyphs. */
.aidp-passkey-manage-icon svg,.aidp-device-icon svg{width:26px;height:26px;display:block;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.aidp-passkey-manage-icon svg circle{fill:currentColor;stroke:none}
.aidp-device-icon svg{width:24px;height:24px;stroke-width:2.2}

/* v1.1.0-alpha47: in-app browser passkey guidance */
.aidp-inapp-passkey-notice{max-width:480px;margin:0 auto 16px;padding:16px 18px;border:1px solid #cfe0f7;border-radius:18px;background:#f5f9ff;text-align:left;color:#40566f;box-sizing:border-box}
.aidp-inapp-passkey-notice[hidden]{display:none!important}
.aidp-inapp-passkey-notice strong{display:block;margin-bottom:5px;color:#17385f;font-size:14px}
.aidp-inapp-passkey-notice p{margin:0 0 12px!important;font-size:12px!important;line-height:1.7!important;color:#58708b!important}
.aidp-inapp-passkey-notice small{display:block;margin-top:9px;font-size:10px;line-height:1.55;color:#7a8da4}


/* AidPayroll v1.1.0-alpha48 — unified Face ID-style passkey icon */
body.aidp-portal-standalone .aidp-role-face-scan svg,
body.aidp-portal-standalone .aidp-faceid-icon svg,
.aidp-passkey-manage-icon svg{
  fill:none!important;stroke:currentColor!important;stroke-width:2.35!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.aidp-portal-standalone .aidp-role-face-scan svg circle,
body.aidp-portal-standalone .aidp-faceid-icon svg circle,
.aidp-passkey-manage-icon svg circle{
  fill:currentColor!important;stroke:none!important;
}
/* Employee portal SSO step-up authentication. */
.aidp-sso-stepup{position:relative;isolation:isolate;min-height:100svh;display:grid;place-items:center;overflow:hidden;padding:28px 18px;background:radial-gradient(circle at 50% 6%,rgba(88,169,255,.15),transparent 32%),linear-gradient(155deg,#f3f7fc 0%,#fbfdff 52%,#eef5fd 100%)}
.aidp-sso-stepup:before{content:"";position:absolute;z-index:-1;left:-10%;right:-10%;bottom:9%;height:210px;opacity:.5;background:url("login-abstract-bottom.svg") center/cover no-repeat;transform:rotate(-3deg)}
.aidp-sso-glow{position:absolute;z-index:-1;border-radius:50%;filter:blur(2px)}
.aidp-sso-glow-a{width:220px;height:220px;top:-90px;right:-80px;background:rgba(57,151,255,.09)}
.aidp-sso-glow-b{width:170px;height:170px;bottom:-75px;left:-55px;background:rgba(46,200,218,.09)}
.aidp-sso-stepup-card{width:min(480px,100%);padding:27px 30px 25px;border:1px solid rgba(176,201,229,.72);border-radius:28px;background:rgba(255,255,255,.94);box-shadow:0 28px 70px rgba(18,57,102,.14),inset 0 1px 0 #fff;text-align:center;backdrop-filter:blur(12px)}
.aidp-sso-brand{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:17px;color:#143d72;text-align:left}
.aidp-sso-brandmark{display:grid;width:40px}.aidp-sso-brandmark svg{display:block;width:100%;height:auto}
.aidp-sso-brand>span:last-child{display:grid}.aidp-sso-brand strong{font-size:20px;line-height:1;letter-spacing:-.035em}.aidp-sso-brand strong b{color:#0b69d8}.aidp-sso-brand small{margin-top:4px;color:#7589a1;font-size:8px;letter-spacing:.08em}
.aidp-sso-secure-icon{position:relative;display:grid;place-items:center;width:66px;height:66px;margin:0 auto 11px;border:1px solid #d7e6f6;border-radius:22px;color:#1670df;background:linear-gradient(145deg,#fff,#edf6ff);box-shadow:0 13px 28px rgba(22,112,223,.15)}
.aidp-sso-secure-icon svg{width:38px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.aidp-sso-secure-icon i{position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border:4px solid #fff;border-radius:50%;background:#27b99a}.aidp-sso-secure-icon i:after{content:"";position:absolute;left:4px;top:2px;width:4px;height:7px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.aidp-sso-stepup-card .aidp-login-kicker{margin:0;color:#347cc8;font-size:9px;font-weight:850;letter-spacing:.22em;line-height:1.3}
.aidp-sso-stepup-card h1{margin:7px 0 10px;color:#102f5b;font-size:clamp(25px,5vw,31px);font-weight:650;line-height:1.42;letter-spacing:.015em}.aidp-sso-stepup-card h1 strong{font-weight:850}
.aidp-sso-stepup-card .aidp-sso-description{max-width:390px;margin:0 auto;color:#667c96;font-size:13px;line-height:1.75}
.aidp-sso-stepup-card form{margin:0}
.aidp-trusted-device-note{display:flex;align-items:center;gap:11px;margin:17px 0;padding:12px 14px;border:1px solid #cbe9df;border-radius:14px;background:linear-gradient(90deg,#effaf6,#f7fcfb);text-align:left;color:#176d5b}
.aidp-trusted-check{flex:0 0 auto;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:#fff!important;background:#27aa8d;font-size:16px!important;font-weight:900}
.aidp-trusted-device-note>span:last-child{display:grid;gap:2px}.aidp-trusted-device-note strong{color:#176d5b;font-size:12px;line-height:1.4}.aidp-trusted-device-note small{color:#628a80;font-size:9px;line-height:1.4}
.aidp-sso-stepup-card .aidp-primary,.aidp-sso-otp{box-sizing:border-box;width:100%;min-height:66px;border-radius:15px;cursor:pointer}
.aidp-sso-passkey{display:grid!important;grid-template-columns:39px 1fr 12px;align-items:center;gap:11px;padding:9px 15px!important;border:0!important;color:#fff!important;background:linear-gradient(135deg,#238be9,#0863d4)!important;box-shadow:0 13px 28px rgba(9,102,211,.25);text-align:left!important}
.aidp-sso-button-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:rgba(255,255,255,.14)}.aidp-sso-button-icon svg{width:27px;fill:none;stroke:#fff;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.aidp-sso-passkey>span:nth-child(2),.aidp-sso-otp>span{display:grid;gap:3px}.aidp-sso-passkey strong,.aidp-sso-otp strong{font-size:14px}.aidp-sso-passkey small{color:rgba(255,255,255,.76);font-size:9px}.aidp-sso-passkey b,.aidp-sso-otp b{font-size:24px;font-weight:300}
.aidp-sso-divider{display:flex;align-items:center;gap:12px;margin:10px 0;color:#91a2b5;font-size:9px}.aidp-sso-divider:before,.aidp-sso-divider:after{content:"";height:1px;flex:1;background:#dfe7f0}
.aidp-sso-otp{display:grid;grid-template-columns:1fr 12px;align-items:center;gap:10px;padding:9px 16px;border:1px solid #b8cce3;color:#123f77;background:#fff;text-align:left}.aidp-sso-otp small{color:#7890a9;font-size:9px}
.aidp-sso-stepup-card .aidp-passkey-status{min-height:0;margin:6px 0 0;color:#526a84;font-size:10px}.aidp-sso-stepup-card .aidp-passkey-status:empty{display:none}
.aidp-sso-stepup-card .aidp-login-note{display:flex;justify-content:center;gap:5px;margin:12px 0 0;color:#7b8da1;font-size:9px;line-height:1.5}
@media(max-width:560px){.aidp-sso-stepup{align-items:center;padding:14px}.aidp-sso-stepup-card{padding:22px 19px 20px;border-radius:24px}.aidp-sso-brand{margin-bottom:13px}.aidp-sso-secure-icon{width:58px;height:58px;margin-bottom:9px;border-radius:19px}.aidp-sso-secure-icon svg{width:34px}.aidp-sso-stepup-card h1{font-size:25px}.aidp-sso-stepup-card .aidp-sso-description{font-size:11px}.aidp-trusted-device-note{margin:14px 0}.aidp-sso-stepup-card .aidp-primary,.aidp-sso-otp{min-height:61px}}
@media(max-height:700px) and (max-width:560px){.aidp-sso-stepup-card{padding-top:17px;padding-bottom:16px}.aidp-sso-brand{margin-bottom:9px}.aidp-sso-secure-icon{width:50px;height:50px;margin-bottom:7px}.aidp-sso-secure-icon svg{width:30px}.aidp-sso-stepup-card h1{margin:5px 0 7px;font-size:22px}.aidp-trusted-device-note{margin:10px 0;padding:9px 11px}.aidp-sso-stepup-card .aidp-primary,.aidp-sso-otp{min-height:56px}.aidp-sso-stepup-card .aidp-login-note{margin-top:8px}}

/* AidPayroll v1.1.0-alpha58: desktop dashboard composition
 * Desktop only. Mobile/tablet layouts and application logic are unchanged.
 */
@media (min-width: 960px){
  body.aidp-portal-standalone.aidp-portal-authenticated{
    background:#f4f8fd!important;
  }
  body.aidp-portal-standalone.aidp-portal-authenticated .aidp-dashboard-plus{
    width:min(1240px,calc(100% - 72px))!important;
    max-width:1240px!important;
    margin:0 auto!important;
    padding:28px 0 54px!important;
    box-sizing:border-box!important;
  }
  .aidp-dashboard-plus .aidp-passkey-ready,
  .aidp-dashboard-plus .aidp-passkey-setup{
    margin:0 0 20px!important;
    border-radius:18px!important;
  }
  .aidp-dashboard-plus .aidp-plus-hero{
    min-height:190px!important;
    margin:0 0 22px!important;
    padding:32px 38px!important;
    border-radius:26px!important;
    border:1px solid #dce8f4!important;
    background:linear-gradient(135deg,#fff 0%,#f5f9ff 58%,#eef8f5 100%)!important;
    box-shadow:0 14px 36px rgba(31,67,108,.07)!important;
  }
  .aidp-dashboard-plus .aidp-plus-hero>div:first-child{max-width:720px!important}
  .aidp-dashboard-plus .aidp-plus-hero h1{font-size:32px!important;margin-bottom:6px!important}
  .aidp-dashboard-plus .aidp-plus-hero h2{font-size:20px!important;margin-bottom:10px!important}
  .aidp-dashboard-plus .aidp-plus-hero p{font-size:14px!important;line-height:1.75!important}
  .aidp-dashboard-plus .aidp-plus-hero-art{
    width:210px!important;height:158px!important;margin:0 4px 0 30px!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
    margin:0 0 22px!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-1{
    grid-template-columns:minmax(0,400px)!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-grid.aidp-card-count-2{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-card,
  .aidp-dashboard-plus .aidp-plus-nav-card.is-payroll,
  .aidp-dashboard-plus .aidpp-dashboard-card.is-visit{
    min-height:174px!important;
    height:auto!important;
    padding:24px 24px!important;
    border-radius:22px!important;
    grid-template-columns:58px 1fr 20px!important;
    gap:16px!important;
    box-shadow:0 10px 28px rgba(34,68,105,.055)!important;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-card:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 16px 34px rgba(34,68,105,.10)!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-icon{
    width:54px!important;height:54px!important;border-radius:16px!important;font-size:24px!important;
  }
  .aidp-dashboard-plus .aidp-plus-nav-card strong{font-size:20px!important;margin-bottom:8px!important}
  .aidp-dashboard-plus .aidp-plus-nav-card small{font-size:13px!important;line-height:1.6!important}

  /* Secondary actions become a compact utility grid instead of full-width strips. */
  .aidp-dashboard-plus .aidp-dashboard-action{
    display:inline-grid!important;
    vertical-align:top!important;
    width:calc(33.333% - 12px)!important;
    min-height:104px!important;
    margin:0 14px 14px 0!important;
    padding:18px 19px!important;
    grid-template-columns:44px 1fr 16px!important;
    gap:13px!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 7px 22px rgba(34,68,105,.045)!important;
  }
  .aidp-dashboard-plus .aidp-dashboard-action:nth-of-type(3n){margin-right:0!important}
  .aidp-dashboard-plus .aidp-dashboard-action-icon{width:42px!important;height:42px!important;border-radius:13px!important}
  .aidp-dashboard-plus .aidp-dashboard-action strong{font-size:16px!important;margin-bottom:4px!important}
  .aidp-dashboard-plus .aidp-dashboard-action small{font-size:12px!important;line-height:1.5!important}
  .aidp-dashboard-plus .aidp-dashboard-action b{font-size:23px!important}
  .aidp-dashboard-plus .aidp-security-summary{
    clear:both!important;
    margin:4px 0 0!important;
    border-radius:18px!important;
  }
  .aidp-dashboard-plus .aidp-dashboard-powered{margin-top:28px!important}
}

@media (min-width: 1280px){
  .aidp-dashboard-plus .aidp-dashboard-action{width:calc(25% - 12px)!important;margin-right:16px!important}
  .aidp-dashboard-plus .aidp-dashboard-action:nth-of-type(3n){margin-right:16px!important}
  .aidp-dashboard-plus .aidp-dashboard-action:nth-of-type(4n){margin-right:0!important}
}
