.project-card{position:relative}
.card-options{position:absolute;left:18px;bottom:14px;z-index:30}
[dir="ltr"] .card-options{left:auto;right:18px}
.card-options-button{width:24px;height:24px;border:1px solid var(--line,#dce7e3);border-radius:8px;background:color-mix(in srgb,var(--surface,#fff) 94%,transparent);color:var(--muted,#697a75);display:grid;place-items:center;font-size:16px;font-weight:800;line-height:1;cursor:pointer;padding:0;box-shadow:0 2px 8px rgba(23,51,45,.05)}
.card-options-button:hover,.card-options-button[aria-expanded="true"]{color:var(--green,#0b7460);border-color:color-mix(in srgb,var(--green,#0b7460) 35%,var(--line,#dce7e3));background:var(--surface,#fff)}
.card-options-menu{position:absolute;bottom:30px;left:0;min-width:215px;padding:6px;background:var(--surface,#fff);border:1px solid var(--line,#dce7e3);border-radius:12px;box-shadow:0 14px 32px rgba(23,51,45,.16);z-index:40}
[dir="ltr"] .card-options-menu{left:auto;right:0}
.card-options-menu[hidden]{display:none!important}
.card-options-menu button{width:100%;border:0;background:transparent;color:var(--text,#17332d);padding:9px 10px;border-radius:8px;display:flex;align-items:center;gap:8px;text-align:start;cursor:pointer;font:inherit;font-size:13px;font-weight:700;white-space:nowrap}
.card-options-menu button:hover,.card-options-menu button.is-active{background:var(--pale,#eef7f4);color:var(--green,#0b7460)}
.card-options-menu button:disabled{opacity:.55;cursor:wait}
.card-options-divider{height:1px;background:var(--line,#dce7e3);margin:5px 4px}

/* Executive card is a separate presentation layer. The classic DOM remains only as the data source. */
.card-executive-view{display:none}
.project-card[data-card-style="executive"]{padding:0!important;border:1px solid #b9c6c2!important;border-radius:18px!important;background:#f7f8f7!important;box-shadow:0 12px 28px rgba(32,58,52,.13)!important;overflow:hidden!important;transform:none!important}
.project-card[data-card-style="executive"]:before{display:none!important}
.project-card[data-card-style="executive"]>:is(.card-top,.card-desc,.card-grid,.pcf-card-fields,.classic-card-progress,.card-executive-progress){display:none!important}
.project-card[data-card-style="executive"]>.card-executive-view{display:block}

.exec-identity{position:relative;min-height:102px;padding:18px 54px 17px 28px;overflow:hidden;background:linear-gradient(90deg,#e7eeeb 0%,#f8faf9 58%,#fff 100%);border-bottom:1px solid #cbd4d1}
[dir="ltr"] .exec-identity{padding:18px 28px 17px 54px}
.exec-identity-pattern{position:absolute;inset:0 28px 0 0;opacity:.34;background-image:linear-gradient(45deg,transparent 43%,#9fb4ae 44% 50%,transparent 51%),linear-gradient(-45deg,transparent 43%,#9fb4ae 44% 50%,transparent 51%);background-size:72px 72px;background-position:0 0,36px 0;pointer-events:none}
[dir="ltr"] .exec-identity-pattern{inset:0 0 0 28px}
.exec-identity-fade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.78) 62%,#fff 88%);pointer-events:none}
[dir="ltr"] .exec-identity-fade{background:linear-gradient(270deg,rgba(255,255,255,.05),rgba(255,255,255,.78) 62%,#fff 88%)}
.exec-rail{position:absolute;inset-block:0;inset-inline-end:0;width:28px;background-color:#006b5b;background-image:linear-gradient(45deg,transparent 34%,#fff 35% 42%,transparent 43% 57%,#fff 58% 65%,transparent 66%),linear-gradient(-45deg,transparent 34%,#fff 35% 42%,transparent 43% 57%,#fff 58% 65%,transparent 66%);background-size:28px 28px;background-position:0 0,0 14px;z-index:3}
.exec-identity-copy{position:relative;z-index:4;text-align:start}
.exec-dept{font-size:13px;font-weight:800;color:#0a6958;margin-bottom:4px}
.exec-title{font-size:23px;font-weight:900;line-height:1.35;color:#075e50;letter-spacing:-.01em}
.exec-title-accent{display:block;width:70px;height:3px;border-radius:99px;background:#d3a53b;margin-top:8px}

.exec-body{direction:rtl;display:grid;grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr);grid-template-areas:"info gauge extra";gap:12px;padding:16px 30px 14px 18px;align-items:stretch;background:#f7f8f7}
[dir="ltr"] .exec-body{direction:ltr;grid-template-areas:"info gauge extra";padding:16px 18px 14px 30px}
.exec-panel{min-width:0;border:1px solid #aeb8b5;border-radius:14px;background:#fff;box-shadow:0 5px 12px rgba(35,57,52,.12);padding:12px 14px}
.exec-info{grid-area:info}.exec-extra{grid-area:extra}.exec-gauge{grid-area:gauge;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px 6px}
.exec-panel-title{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:900;color:#4e504f;margin-bottom:7px;padding-bottom:7px;border-bottom:1px solid #e2e5e4}
.exec-panel-title:before{content:"◆";font-size:9px;color:#d0a13c}
.exec-rows{display:grid;gap:5px}
.exec-row{display:grid;grid-template-columns:minmax(78px,.8fr) minmax(0,1.2fr);gap:8px;align-items:start;font-size:11px;line-height:1.45}
.exec-row span{color:#5f6462;font-weight:700}.exec-row strong{color:#075f50;font-weight:900;overflow-wrap:anywhere}
.exec-empty{font-size:11px;line-height:1.6;color:#7a817e;padding:6px 0}

.exec-gauge-svg{width:144px;height:88px;overflow:visible;display:block}
.exec-gauge-track,.exec-gauge-value{fill:none;stroke-width:16;stroke-linecap:butt}
.exec-gauge-track{stroke:#d9dfdd}.exec-gauge-value{stroke:#006b5b}
.exec-gauge-number{margin-top:-15px;font-size:24px;font-weight:900;line-height:1;color:#555}
.exec-gauge-status{margin-top:7px;font-size:12px;font-weight:900;color:#006b5b}
.exec-gauge-label{margin-top:2px;font-size:10px;color:#7c817f}

.exec-description{margin:0 30px 14px 18px;padding:10px 13px;border:1px solid #d7dcda;border-radius:12px;background:#fff;box-shadow:0 2px 7px rgba(35,57,52,.05)}
[dir="ltr"] .exec-description{margin:0 18px 14px 30px}
.exec-description strong{display:block;font-size:11px;color:#565d5a;margin-bottom:4px}.exec-description p{margin:0;font-size:11px;line-height:1.7;color:#60716b}
.project-card[data-card-style="executive"]>.card-actions{margin:0!important;padding:12px 30px 13px 44px!important;border-top:1px solid #cdd5d2!important;background:#fff;position:relative;z-index:5}
[dir="ltr"] .project-card[data-card-style="executive"]>.card-actions{padding:12px 44px 13px 30px!important}
.project-card[data-card-style="executive"] .card-actions .btn{border-radius:8px}
.project-card[data-card-style="executive"] .card-options{left:10px;bottom:13px}
[dir="ltr"] .project-card[data-card-style="executive"] .card-options{left:auto;right:10px}

[data-theme="dark"] .project-card[data-card-style="executive"]{background:#17221f!important;border-color:#42534e!important}.exec-identity{background:linear-gradient(90deg,#263832,#1b2925 68%,#17211e)}[data-theme="dark"] .exec-identity-fade{background:linear-gradient(90deg,rgba(20,31,27,.08),rgba(20,31,27,.72) 62%,#17211e 88%)}[data-theme="dark"] .exec-body{background:#17221f}[data-theme="dark"] .exec-panel,[data-theme="dark"] .exec-description,[data-theme="dark"] .project-card[data-card-style="executive"]>.card-actions{background:#1e2c28;border-color:#42534e}[data-theme="dark"] .exec-panel-title,[data-theme="dark"] .exec-row span,[data-theme="dark"] .exec-description strong{color:#bdc8c4}[data-theme="dark"] .exec-row strong,[data-theme="dark"] .exec-title,[data-theme="dark"] .exec-dept{color:#8ed9c9}[data-theme="dark"] .exec-description p{color:#a7b6b1}

@media(max-width:760px){.exec-identity{padding-inline:42px 20px}.exec-body{grid-template-columns:1fr 132px;grid-template-areas:"info gauge" "extra extra";padding:14px 20px;gap:10px}.exec-gauge-svg{width:122px}.exec-description{margin:0 20px 12px}.project-card[data-card-style="executive"]>.card-actions{padding-inline:20px 42px!important}}
@media(max-width:520px){.card-options{left:12px;bottom:12px}[dir="ltr"] .card-options{left:auto;right:12px}.card-options-button{width:23px;height:23px}.exec-title{font-size:20px}.exec-body{grid-template-columns:1fr;grid-template-areas:"gauge" "info" "extra"}.exec-gauge{min-height:130px}.exec-row{grid-template-columns:1fr}.exec-row span{font-size:10px}.project-card[data-card-style="executive"]>.card-actions{padding-inline:16px 42px!important}}
