.e360-main{max-width:1010px;margin:auto;padding:27px 24px 70px;color:#263f50}
.e360-back{font-size:13px;text-decoration:none;color:#627d90}.e360-hero{margin:22px 0 18px;padding:29px 31px;background:linear-gradient(115deg,#19394d,#2f5a70);color:#fff;border-radius:17px}
.e360-hero h1{font-size:32px;letter-spacing:-.035em;margin:8px 0 12px}.e360-hero p{color:#d6e5ec;max-width:670px;line-height:1.7;margin:0}
.e360-eyebrow,.e360-step{font-size:11px;font-weight:800;letter-spacing:.11em;color:#e7884e}.e360-eyebrow{color:#ffbd8a}
.e360-status,.e360-banner,.e360-alert{padding:13px 17px;border-radius:11px;font-size:13px;line-height:1.7;border:1px solid #d7e5ee;background:#f5f9fb;color:#3b657e}
.e360-banner{background:#fff7ee;border-color:#f0dec9;color:#896241;margin:17px 0}.e360-alert{background:#fff9f1;border-color:#efdbbc;color:#775b3a;margin-top:17px}
.e360-panel{background:#fff;border:1px solid #e0e8ee;border-radius:16px;padding:27px;margin-top:18px}
.e360-panel-heading h2{font-size:22px;margin:6px 0}.e360-panel-heading p{font-size:13px;color:#637f90;margin:7px 0 20px}
.e360-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 22px}
.e360-main button{border:0;border-radius:9px;padding:11px 16px;background:#d0703f;color:white;cursor:pointer;font:inherit;font-size:13px;font-weight:750}
.e360-main button:disabled{opacity:.55;cursor:not-allowed}.e360-main button.e360-ghost{background:#edf4f7;border:1px solid #cadfe8;color:#416277}
.e360-file-label{display:flex;gap:22px;justify-content:space-between;align-items:center;padding:19px;border:1px dashed #a9c3d2;border-radius:12px;background:#f8fbfc}
.e360-file-label span{display:grid;gap:5px;font-size:14px}.e360-file-label small{font-size:11px;color:#678295}
.e360-file-label input{width:min(250px,45%);font-size:12px}
.e360-paste-box{border:1px solid #dce7ed;border-radius:12px;margin:16px 0 22px}
.e360-paste-box summary{cursor:pointer;padding:15px;font-size:13px;font-weight:800;color:#3c6178}
.e360-paste-box>p,.e360-paste-box>label{display:block;margin:10px 16px;color:#58788a;font-size:12px;line-height:1.65}
.e360-paste-box textarea{margin:0 16px 12px;width:calc(100% - 32px);box-sizing:border-box;border:1px solid #b8cdd9;border-radius:9px;padding:12px;font-size:12px}
.e360-paste-box button{margin:0 16px 15px}
.e360-muted{color:#668092;font-size:12px;line-height:1.7}.e360-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}
.e360-stats>div{border:1px solid #e1eaef;background:#f6fafb;padding:16px;border-radius:11px}
.e360-stats strong{font-size:25px;display:block;line-height:1.3}.e360-stats span{font-size:11px;color:#678091}
.e360-data{margin-top:26px}.e360-subheading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e3edf1;margin-bottom:13px}
.e360-subheading h3{font-size:17px;margin:0 0 11px}.e360-subheading>span{font-size:11px;color:#768c9a}
.e360-issue{padding:10px 12px;border-left:3px solid #d58b58;background:#fff8f1;color:#765c43;font-size:12px;margin:7px 0;border-radius:5px}
.e360-field{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:10px 0;padding:12px;border:1px solid #e0eaef;border-radius:10px}
.e360-field small{display:block;color:#698095;margin-top:5px}.e360-field label{font-size:12px;color:#385a6e;font-weight:700;white-space:nowrap}
.e360-table-scroll{overflow-x:auto}.e360-table{width:100%;border-collapse:collapse;font-size:12px;min-width:750px}
.e360-table th{text-align:left;background:#f1f6f8;color:#4b6779}.e360-table th,.e360-table td{padding:9px;border-bottom:1px solid #e2ebf0}
.e360-main footer{margin-top:46px;color:#8396a4;font-size:11px}
@media(max-width:650px){.e360-main{padding:17px 12px 55px}.e360-hero{padding:21px}.e360-hero h1{font-size:26px}.e360-panel{padding:17px}.e360-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.e360-file-label{display:block}.e360-file-label input{display:block;margin-top:10px;width:100%}.e360-field{display:block}.e360-field label{display:block;margin-top:9px}}

/* v0.56 — explicit, server-gated staged import confirmation */
.e360-save-panel{margin-top:23px;border:1px solid #c5dce7;border-radius:13px;background:#f8fbfd;padding:20px}
.e360-save-panel h3{margin:0 0 8px;font-size:19px;color:#2d4f63}
.e360-save-panel p{font-size:13px;color:#547083;line-height:1.7}
.e360-save-confirm{display:flex;align-items:flex-start;gap:10px;margin:18px 0 12px;font-size:13px;line-height:1.55;color:#34596d;font-weight:650;cursor:pointer}
.e360-save-confirm input{margin-top:3px;min-width:16px;min-height:16px;accent-color:#c76b3c}
.e360-save-panel button:disabled{opacity:.48}
.e360-save-panel .e360-status{margin:12px 0 0}

/* v0.57: history/review paging, no bulk PII rendering */
.e360-history-list{display:grid;gap:10px;margin:12px 0}
.e360-history-row{display:flex;align-items:center;justify-content:space-between;
 gap:14px;padding:12px 14px;border:1px solid #dbe7ee;border-radius:10px;background:#f9fcfd}
.e360-history-row strong{display:block;font-size:13px;color:#315368}
.e360-history-row small{display:block;font-size:11px;color:#6a8496;margin-top:5px}
.e360-history-row button{white-space:nowrap}
#enterprise-history-detail{margin-top:22px}
@media(max-width:620px){.e360-history-row{display:block}.e360-history-row button{margin-top:10px}}

/* v0.58 — explicit recovery of an interrupted enterprise import */
.e360-resume-bar{margin:13px 0}
.e360-resume-bar .e360-alert{margin:8px 0 12px}
.e360-resume-bar button{margin:0 0 12px}
.e360-history-row button+button{margin-left:8px}
@media(max-width:620px){.e360-history-row button+button{margin-left:8px}}


/* Fix: "Revisar personas" is an available read-only action, not a disabled control. */
.e360-main button.e360-review-button{
 background:#245a78;color:#fff;border:1px solid #184660;
 box-shadow:0 2px 6px rgba(24,70,96,.17);
}
.e360-main button.e360-review-button:hover:not(:disabled){
 background:#173f59;
}
.e360-main button.e360-review-button:focus-visible{
 outline:3px solid #eeaa54;outline-offset:3px;
}
.e360-main button.e360-review-button:disabled{
 opacity:.7;cursor:progress;
}

/* v0.62 · RH review of a saved import page; advisory only. */
.e360-rh-review{background:#f8fafb;border:1px solid #d6e6ed;border-radius:11px;padding:15px 17px;margin:14px 0}
.e360-rh-review h4{margin:0 0 8px;font-size:15px;color:#294e63}
.e360-rh-review>p{margin:7px 0;font-size:13px;line-height:1.6}
.e360-rh-review p[data-kind="warning"]{color:#8a431e;font-weight:750}
.e360-rh-review p[data-kind="success"]{color:#27634d;font-weight:650}
.e360-rh-review ul{margin:10px 0;padding-left:20px}
.e360-rh-issue{color:#8a431e;font-size:13px;margin:5px 0}
.e360-rh-badge{display:inline-block;font-size:11px;font-weight:700;line-height:1.4;
 padding:5px 8px;border-radius:7px;background:#e8f3ef;color:#2b614d;white-space:nowrap}
.e360-rh-badge-alert{background:#fff0e4;color:#854519}

/* v0.66 — Display only for a server-enabled RH audit capability. */
.e360-rh-global-panel{
 margin:16px 0;padding:18px;border:1px solid #cadfe7;
 border-radius:14px;background:#f7fbfd;
}
.e360-rh-global-panel h3{margin:0 0 9px;font-size:16px;color:#294e63}
.e360-rh-global-panel .e360-stats{margin:14px 0}
.e360-rh-global-panel>ul{padding-left:20px;margin:12px 0}
.e360-rh-global-panel>p{font-size:13px;line-height:1.65}
.e360-audit-button{white-space:normal;line-height:1.3}

/* v0.69 · RH controlled assignment previews */
.e360-assignment-options{display:flex;flex-wrap:wrap;gap:12px 18px;margin:14px 0}
.e360-assignment-options label{display:flex;align-items:center;gap:8px;
 font-size:14px;color:#2b4959;cursor:pointer}
.e360-assignment-options input{width:17px;height:17px;accent-color:#186e88}
.e360-assignment-options input:focus-visible{outline:2px solid #186e88;outline-offset:3px}
#enterprise-assignments-panel .e360-stats{margin-top:18px}

/* v0.74 · explicit pending-only RH review request */
#enterprise-rh-request-panel .e360-rh-request-label{
 display:block;font-weight:700;font-size:13px;color:#315368;margin:14px 0 7px
}
#enterprise-rh-request-statement{
 box-sizing:border-box;width:100%;min-height:105px;resize:vertical;
 padding:11px 12px;border-radius:9px;border:1px solid #b9d2df;
 background:#fff;color:#1c394a;font:inherit;font-size:13px;line-height:1.6
}
#enterprise-rh-request-statement:focus-visible{
 outline:2px solid #186e88;outline-offset:2px
}
#enterprise-rh-request-submit:disabled{opacity:.5;cursor:not-allowed}
#enterprise-rh-request-status[data-kind="warning"]{color:#8a431e}
#enterprise-rh-request-status[data-kind="success"]{color:#27634d}

/* v0.76 · RH formal approval and revocation, always separate from launch */
#enterprise-rh-approval-panel .e360-rh-request-label{
 display:block;font-weight:700;font-size:13px;color:#315368;margin:14px 0 7px
}
#enterprise-rh-approval-declaration,
#enterprise-rh-revoke-declaration{
 box-sizing:border-box;width:100%;min-height:94px;resize:vertical;
 padding:11px 12px;border-radius:9px;border:1px solid #b9d2df;
 background:#fff;color:#1c394a;font:inherit;font-size:13px;line-height:1.6
}
#enterprise-rh-approval-declaration:focus-visible,
#enterprise-rh-revoke-declaration:focus-visible{
 outline:2px solid #186e88;outline-offset:2px
}
#enterprise-rh-approval-submit:disabled,
#enterprise-rh-revoke-submit:disabled{opacity:.5;cursor:not-allowed}
#enterprise-rh-approval-status[data-kind="warning"]{color:#8a431e}
#enterprise-rh-approval-status[data-kind="success"]{color:#27634d}

/* v0.77: RH approval is the fifth action; never clip the action row.
 * Place the import identity on its own line and wrap actions on any viewport.
 */
.e360-history-row{
 display:flex;flex-wrap:wrap;justify-content:flex-start;
 align-items:center;gap:9px 10px;min-width:0;max-width:100%;
 box-sizing:border-box;
}
.e360-history-row>div:first-child{
 flex:1 1 100%;min-width:0;overflow-wrap:anywhere;
}
.e360-history-row button,
.e360-history-row button+button{
 max-width:100%;min-width:0;margin:0;
 white-space:normal;overflow-wrap:anywhere;
}
@media(max-width:620px){
 .e360-history-row{display:flex;align-items:stretch}
 .e360-history-row button{width:100%;margin:0}
}

/* v0.80 · Private 360 draft: separate preview from human-confirmed persistence. */
#enterprise-private-draft-panel .e360-rh-request-label{
 display:block;font-weight:700;font-size:13px;color:#315368;margin:14px 0 7px
}
#enterprise-private-draft-declaration{
 box-sizing:border-box;width:100%;min-height:98px;resize:vertical;
 padding:11px 12px;border-radius:9px;border:1px solid #b9d2df;
 background:#fff;color:#1c394a;font:inherit;font-size:13px;line-height:1.6
}
#enterprise-private-draft-declaration:focus-visible{
 outline:2px solid #186e88;outline-offset:2px
}
#enterprise-private-draft-status[data-kind="warning"]{color:#8a431e}
#enterprise-private-draft-status[data-kind="success"]{color:#27634d}
#enterprise-private-draft-save:disabled{opacity:.5;cursor:not-allowed}
#enterprise-private-draft-panel [hidden],
#enterprise-assignment-readiness-panel [hidden]{display:none!important}

/* v0.81 Operational people checkpoint, independent of campaign and email. */
#enterprise-people-panel .e360-rh-request-label{
 display:block;font-weight:700;font-size:13px;color:#315368;margin:14px 0 7px
}
#enterprise-people-declaration{
 box-sizing:border-box;width:100%;min-height:98px;resize:vertical;
 padding:11px 12px;border-radius:9px;border:1px solid #b9d2df;
 background:#fff;color:#1c394a;font:inherit;font-size:13px;line-height:1.6
}
#enterprise-people-declaration:focus-visible{
 outline:2px solid #186e88;outline-offset:2px
}
#enterprise-people-status[data-kind="warning"]{color:#8a431e}
#enterprise-people-status[data-kind="success"]{color:#27634d}
#enterprise-people-save:disabled{opacity:.5;cursor:not-allowed}
#enterprise-people-panel [hidden]{display:none!important}

/* v0.85 · Operational assignment conversion: separate step after people. */
#enterprise-material-panel .e360-rh-request-label{
 display:block;font-weight:700;font-size:13px;color:#315368;margin:14px 0 7px
}
#enterprise-material-declaration{box-sizing:border-box;width:100%;min-height:98px;resize:vertical;
 padding:11px 12px;border-radius:9px;border:1px solid #b9d2df;background:#fff;
 color:#1c394a;font:inherit;font-size:13px;line-height:1.6}
#enterprise-material-declaration:focus-visible{outline:2px solid #186e88;outline-offset:2px}
#enterprise-material-status[data-kind="warning"]{color:#8a431e}
#enterprise-material-status[data-kind="success"]{color:#27634d}
#enterprise-material-save:disabled{opacity:.5;cursor:not-allowed}
#enterprise-material-panel [hidden]{display:none!important}
