/* Hirentra Site Progress — Step 18: Executive Decisions & Governance */
.hsp18-open-button{white-space:nowrap}.hsp18-open-button span{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:rgba(255,191,0,.12);font-size:9px;letter-spacing:.04em}.hsp18-open-button.has-overdue{border-color:#e5484d!important;color:#ffd5d7!important}.hsp18-open-button.has-overdue span{background:rgba(229,72,77,.16);color:#ffb8bb}
.hsp18-modal{position:fixed;inset:0;z-index:10045;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(3,10,24,.74);backdrop-filter:blur(4px)}.hsp18-modal.hidden{display:none}.hsp18-dialog{width:min(1180px,96vw);max-height:90vh;overflow:auto;background:#f8fafc;color:#142033;border:1px solid #d9e2ef;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.42);padding:22px}.hsp18-dialog.hsp18-small{width:min(760px,94vw)}
.hsp18-head{border-bottom:1px solid #dce4ef;padding-bottom:16px;margin-bottom:16px}.hsp18-head p{color:#b37b00!important}.hsp18-head h3{color:#142033!important}.hsp18-head span{color:#64748b!important}.hsp18-head .hsp-close{color:#64748b!important}.hsp18-head .hsp-close:hover{color:#142033!important}
.hsp18-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 16px}.hsp18-summary>div{padding:13px 14px;border:1px solid #d9e2ef;border-radius:12px;background:#fff}.hsp18-summary span{display:block;color:#718096;font-size:9px;font-weight:800;letter-spacing:.08em}.hsp18-summary strong{display:block;margin-top:5px;font-size:22px;color:#142033}.hsp18-summary .problem{border-color:#efb4b7;background:#fff7f7}.hsp18-summary .problem strong{color:#b4232a}
.hsp18-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hsp18-toolbar>span{font-size:10px;color:#7a8798}.hsp18-filters{display:flex;gap:7px;flex-wrap:wrap}.hsp18-filters button{border:1px solid #d2ddea;background:#fff;color:#617087;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:800;letter-spacing:.06em;cursor:pointer}.hsp18-filters button.active{background:#142033;border-color:#142033;color:#fff}
.hsp18-list{display:grid;gap:10px}.hsp18-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:16px;border:1px solid #dce4ef;border-left-width:4px;border-radius:14px;background:#fff}.hsp18-card.normal{border-left-color:#8ba0b8}.hsp18-card.high{border-left-color:#d99a00}.hsp18-card.urgent{border-left-color:#d6383f}.hsp18-card.overdue{background:#fffafa}.hsp18-card.closed{opacity:.86}.hsp18-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.hsp18-card-head>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hsp18-card-head strong{font-size:15px;color:#142033}.hsp18-priority,.hsp18-overdue,.hsp18-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:900;letter-spacing:.08em}.hsp18-priority.normal{background:#eef2f7;color:#64748b}.hsp18-priority.high{background:#fff2cc;color:#8d5b00}.hsp18-priority.urgent{background:#ffe3e4;color:#a52329}.hsp18-overdue{background:#c92a31;color:#fff}.hsp18-status{background:#eef2f7;color:#56657a}.hsp18-status.decided{background:#e7f7ec;color:#19733b}.hsp18-status.cancelled{background:#f0f1f3;color:#6c7480}.hsp18-card-main>p{margin:10px 0;color:#39485d;line-height:1.55}.hsp18-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.hsp18-meta span{padding:8px 10px;border-radius:9px;background:#f6f8fb;color:#344256;font-size:11px}.hsp18-meta b{display:block;margin-bottom:3px;color:#8290a3;font-size:8px;letter-spacing:.08em}.hsp18-raised,.hsp18-action-link,.hsp18-decision{display:flex;gap:8px;align-items:flex-start;margin-top:10px;padding:8px 10px;border-radius:9px;background:#f8fafc;color:#5c6b7e;font-size:10px}.hsp18-raised b,.hsp18-action-link b,.hsp18-decision b{color:#8794a6;letter-spacing:.06em;white-space:nowrap}.hsp18-decision{display:grid;grid-template-columns:auto 1fr;column-gap:9px;background:#edf8f0;color:#315e40}.hsp18-decision small{grid-column:2;color:#6d8274}.hsp18-action-link{background:#eef5ff;color:#355a8b}.hsp18-card-actions{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:150px}.hsp18-card-actions button{width:100%}
.hsp18-rule{display:flex;gap:10px;margin-top:16px;padding:11px 13px;border-left:3px solid #e0a800;border-radius:8px;background:#fff8e5;color:#6b7280;font-size:11px}.hsp18-rule strong{color:#815b00;white-space:nowrap}.hsp18-empty,.hsp18-error,.hsp18-loading{display:flex;flex-direction:column;gap:5px;padding:22px;border:1px dashed #cbd7e6;border-radius:12px;color:#64748b;background:#fff}.hsp18-empty strong,.hsp18-error strong,.hsp18-loading strong{color:#243247}.hsp18-error{border-color:#efb4b7;background:#fff7f7;color:#a02b31}
.hsp18-request{padding:12px 13px;margin-bottom:14px;border-radius:10px;background:#f4f7fb;border:1px solid #dbe3ee}.hsp18-request b{display:block;margin-bottom:5px;color:#7c899b;font-size:8px;letter-spacing:.08em}.hsp18-request p{margin:0;color:#344256;line-height:1.55}.hsp18-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hsp18-form label{display:flex;flex-direction:column;gap:6px}.hsp18-form label>span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#66758a}.hsp18-form input,.hsp18-form select,.hsp18-form textarea{width:100%;border:1px solid #cfd9e6;border-radius:10px;background:#fff;color:#172235;padding:11px 12px;font:inherit;outline:none}.hsp18-form textarea{resize:vertical;line-height:1.45}.hsp18-form input:focus,.hsp18-form select:focus,.hsp18-form textarea:focus{border-color:#d9a400;box-shadow:0 0 0 3px rgba(217,164,0,.10)}.hsp18-form .wide{grid-column:1/-1}.hsp18-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.hsp18-form-message{min-height:18px;color:#ae252d;font-size:11px}
.hsp18-timeline{display:grid;gap:0;padding:4px 0 8px}.hsp18-timeline article{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;position:relative;padding:0 0 18px}.hsp18-timeline article:not(:last-child):before{content:"";position:absolute;left:5px;top:13px;bottom:0;width:1px;background:#d7e0eb}.hsp18-timeline i{width:11px;height:11px;margin-top:3px;border-radius:50%;background:#d9a400;box-shadow:0 0 0 3px #fff,0 0 0 4px #d7e0eb}.hsp18-timeline article>div{display:grid;gap:3px}.hsp18-timeline strong{color:#1d2b3f;font-size:12px}.hsp18-timeline span,.hsp18-timeline small{color:#7b8798;font-size:10px}.hsp18-timeline p{margin:4px 0;color:#3d4c61;font-size:11px}.hsp18-modal .hsp-modal-actions{border-top:1px solid #dce4ef;margin-top:16px;padding-top:14px}
@media(max-width:900px){.hsp18-summary{grid-template-columns:repeat(2,1fr)}.hsp18-card{grid-template-columns:1fr}.hsp18-card-actions{flex-direction:row;flex-wrap:wrap}.hsp18-card-actions button{width:auto}.hsp18-meta{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.hsp18-modal{padding:8px}.hsp18-dialog{padding:15px;border-radius:14px}.hsp18-summary,.hsp18-form,.hsp18-meta{grid-template-columns:1fr}.hsp18-toolbar{align-items:stretch;flex-direction:column}.hsp18-form .wide{grid-column:auto}.hsp18-card-head{align-items:flex-start;flex-direction:column}}
