/* Compact schedule card: title, grouped process, then the current/next tasks. */
body .project-functional.project-meter-card{
 --project-glass-ink:#f8faff;--meter-muted:#e3e7fa;--meter-accent:#f0eee8;--meter-light:#f0eee8;--meter-track:#14151c3d;
 --meter-haze:#5d6bb2;--meter-glow-a:#a7c0ff66;--meter-glow-b:#bbb2ff4d;--meter-glow-c:#e3d2ff33;--meter-base-start:#5d6bb2;--meter-base-end:#303d6a;
 --meter-rim:var(--project-rim);
 padding:14px 20px 13px;min-height:0;border:1px solid #ffffff70;border-radius:24px;
 color:var(--project-glass-ink);background:radial-gradient(ellipse 100% 115% at 0% 0% in oklab,var(--meter-base-end),transparent 88%),radial-gradient(ellipse 55% 70% at 94% 96% in oklab,var(--meter-glow-c),transparent 80%),radial-gradient(ellipse 80% 95% at 85% 55% in oklab,var(--meter-glow-a),transparent 85%),radial-gradient(ellipse 65% 80% at 20% 85% in oklab,var(--meter-glow-b),transparent 85%),linear-gradient(135deg,var(--meter-base-start),var(--meter-haze));box-shadow:var(--meter-rim);
}
body .project-functional.project-meter-card.project-type-order{--project-glass-ink:#f5faf8;--meter-muted:#dfebe7;--meter-haze:#527a7b;--meter-glow-a:#adcfc966;--meter-glow-b:#91b6b34d;--meter-glow-c:#d9e6db33;--meter-base-start:#527a7b;--meter-base-end:#233f42;}
body .project-meter-card>.mf-style-art{display:none;}
body:not(.look-original):not(.project-glass-off) .project-functional.project-meter-card.project-type-order{--project-glass-ink:#f5faf8;}
body .project-functional.project-meter-card .project-name{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;width:100%;margin:0;min-height:48px;color:var(--project-glass-ink);text-align:left;}
.project-meter-card .project-title-meta{display:flex;align-items:center;gap:6px;flex:none;align-self:center;margin:0;white-space:nowrap;font-weight:400;}
body .project-functional.project-meter-card .project-kind{font-size:10px;line-height:16px;font-weight:500;padding:0;background:none;opacity:1;}
.project-meter-card .meter-status{display:flex;align-items:center;gap:7px;font-size:10px;line-height:16px;color:var(--meter-muted);}
.project-meter-card .meter-status::before{content:'';width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.6;}
.meter-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;}
.project-meter-card .project-title-text{flex:1;min-width:0;font-size:18px;line-height:26px;font-weight:600;letter-spacing:0;overflow-wrap:anywhere;}
.project-meter-card .meter-title-row svg{width:14px;height:14px;flex:none;opacity:.7;}
.project-meter-card .meter-summary{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:12px 0 7px;min-height:18px;font-size:10px;line-height:18px;color:var(--meter-muted);}
.project-meter-card .meter-total{display:flex;align-items:baseline;gap:4px;font-variant-numeric:tabular-nums;white-space:nowrap;}
.project-meter-card .meter-total small{font-size:10px;line-height:18px;margin-right:2px;}
.project-meter-card .meter-total strong{font-size:14px;line-height:18px;font-weight:600;color:var(--project-glass-ink);}
.project-meter-card .meter-total>span{font-size:11px;line-height:18px;}
.project-meter-card .project-segment-meter{height:16px;position:relative;margin:0;}
.project-segment-meter>span{display:grid;grid-template-columns:repeat(36,minmax(0,1fr));gap:3px;height:100%;}
.project-segment-meter i{display:block;min-width:0;border-radius:999px;background:linear-gradient(to right,var(--meter-accent) 0 var(--tick-fill),var(--meter-track) var(--tick-fill) 100%);}
.project-segment-meter i[style="--tick-fill:100%"]{box-shadow:0 0 2px color-mix(in srgb,var(--meter-light) 50%,transparent),0 0 5px color-mix(in srgb,var(--meter-light) 20%,transparent);}
body .project-functional.project-meter-card .project-stages{margin:0;padding:0;border:0;}
body .project-functional.project-meter-card .project-stages button{justify-content:center;padding:0;min-height:44px;min-width:0;color:var(--meter-muted);}
body .project-functional.project-meter-card .stage-label{position:relative;font-size:11px;line-height:18px;font-weight:400;}
body .project-functional.project-meter-card .is-current .stage-label{font-weight:600;color:var(--project-glass-ink);}
body .project-functional.project-meter-card .is-done .stage-label{opacity:1;}
body .project-functional.project-meter-card .is-done .stage-label::after{content:none;}
body .project-functional.project-meter-card .is-current .stage-label::after{content:'';position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);width:16px;height:2px;border-radius:999px;background:var(--meter-accent);box-shadow:0 0 5px color-mix(in srgb,var(--meter-light) 45%,transparent);pointer-events:none;}
body .project-functional.project-meter-card .is-pending .stage-label{opacity:.85;}
body .project-meter-card .project-node-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1px 0 0;padding-top:10px;border-top:1px solid #ffffff1c;color:var(--project-glass-ink);}
body .project-meter-card .project-node-schedule>div{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left;}
body .project-meter-card .project-node-schedule>div:last-child{padding:0;border:0;text-align:right;}
body .project-meter-card .project-node-schedule>div>span{font-size:10px;line-height:16px;opacity:1;color:var(--meter-muted);}
body .project-meter-card .project-node-schedule .project-node-value{display:flex;justify-content:flex-start;align-items:baseline;flex-wrap:wrap;gap:0 7px;min-height:24px;}
body .project-meter-card .project-node-schedule>div:last-child .project-node-value{justify-content:flex-end;}
body .project-functional.project-meter-card .project-node-schedule strong{font-size:19px;line-height:24px;font-weight:600;letter-spacing:0;color:var(--project-glass-ink);}
body .project-functional.project-meter-card .project-node-schedule>div:last-child strong{font-size:16px;font-weight:500;}
body .project-meter-card .project-node-value time{font-size:11px;line-height:18px;opacity:1;color:var(--meter-muted);}
body .project-meter-card .project-node-value time::before{display:none;}
body .project-functional.project-meter-card :is(.project-name,.project-stages button):focus-visible{outline:2px solid var(--meter-accent);outline-offset:2px;border-radius:6px;}
body.__unused-original .project-functional.project-meter-card{--project-glass-ink:#f7f7f7;--meter-muted:#d6d8d8;--meter-accent:#f2f2f2;--meter-light:#fff;--meter-track:#f7f7f71f;background:linear-gradient(125deg,#444847,#252a2a);}
@media(max-width:360px){body .project-functional.project-meter-card{padding:12px 16px 11px;border-radius:22px;}.project-meter-card .project-title-text{font-size:16px;line-height:23px;}.project-segment-meter>span{gap:2px;}.project-meter-card .meter-summary{margin-top:10px;}body .project-meter-card .project-node-schedule{gap:10px;}body .project-functional.project-meter-card .project-node-schedule strong{font-size:17px;}body .project-functional.project-meter-card .project-node-schedule>div:last-child strong{font-size:15px;}body .project-meter-card .project-node-schedule .project-node-value{gap:0 5px;}}

/* Compact agenda: balanced heading, slimmer progress, then an aligned task summary. */
body .stitch-schedule .project-functional.project-meter-card{padding-block:9px 8px}
body .stitch-schedule .project-functional.project-meter-card .project-name{min-height:44px}
body .stitch-schedule .project-meter-card .project-title-text{font-size:16px;line-height:22px}
body .stitch-schedule .project-functional.project-meter-card .project-kind,body .stitch-schedule .project-meter-card .meter-status{font-size:11px;line-height:16px}
.stitch-schedule .project-meter-card .meter-summary{margin:0 0 3px}
body .stitch-schedule .project-meter-card .meter-summary,body .stitch-schedule .project-meter-card .meter-total :is(small,span){font-size:11px;line-height:18px}
body .stitch-schedule .project-meter-card .meter-total strong{font-size:12px;line-height:18px}
body .stitch-schedule .project-meter-card .project-segment-meter{height:10px}
body .stitch-schedule .project-functional.project-meter-card .stage-label{font-size:12px;line-height:18px}
body .stitch-schedule .project-meter-card .project-node-schedule{padding-top:5px}
body .stitch-schedule .project-meter-card .project-node-schedule>div{gap:4px}
body .stitch-schedule .project-meter-card .project-node-schedule>div>span{font-size:11px;line-height:16px}
body .stitch-schedule .project-meter-card .project-node-schedule .project-node-value{min-height:20px}
body .stitch-schedule .project-functional.project-meter-card .project-node-schedule>div strong{font-size:14px;line-height:20px;font-weight:600}
@media(max-width:360px){body .stitch-schedule .project-functional.project-meter-card{padding-block:8px 7px}body .stitch-schedule .project-meter-card .project-title-text{font-size:15px;line-height:21px}.stitch-schedule .project-meter-card .meter-summary{margin:0}}

/* Per-project appearance overrides type defaults without changing their meaning. */
body:not(.look-original) .project-custom-appearance{background:var(--project-surface);color:var(--project-glass-ink)}
body:not(.look-original) .project-custom-appearance>.mf-style-art{display:none}
.project-section-actions{display:flex;align-items:center;gap:12px}
.project-create-button{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:0;border-radius:999px;background:#202324;color:#fff;font-size:12px;font-weight:500}
.project-create-button svg{width:13px;height:13px}
.project-color-dialog,.project-create-dialog{width:min(430px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:24px;background:#fff;color:#202324;box-shadow:0 18px 70px #14191f24;overflow:hidden}
.project-color-dialog[open],.project-create-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.project-color-dialog::backdrop,.project-create-dialog::backdrop{background:#f5f5f52e;backdrop-filter:blur(3px)}
.pc-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 14px;border-bottom:1px solid #f0f0f2}
.pc-dialog-header p{margin:0 0 2px;font-size:11px;line-height:18px;color:#7b8088}
.pc-dialog-header h2{margin:0;font-size:16px;line-height:24px;font-weight:600}
.pc-close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:50%;background:#f3f4f5;color:#61666b}
.pc-close svg{width:18px;height:18px}
.pc-dialog-body{padding:16px 18px 8px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.pc-preview{user-select:none;pointer-events:none}
.project-color-dialog .pc-preview .project-meter-card{background:var(--project-surface);color:var(--project-glass-ink)}
.pc-preview .project-title-text{font-size:16px;line-height:23px}
.pc-color-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 10px}
.pc-selected-name{font-size:12px;line-height:20px;color:#62676d}
.pc-random{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e3e4e8;border-radius:999px;background:#f6f6f7;font-size:12px;color:#24272c;position:relative;box-sizing:border-box;min-width:44px;min-height:var(--mf-control-secondary);height:auto;padding:0 12px;line-height:20px;}
.pc-random::after{content:"";position:absolute;inset:calc((var(--mf-control-secondary) - var(--mf-control-hit))/2) 0;border-radius:inherit;}
.pc-random svg{width:16px;height:16px}
.pc-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px 6px}
.pc-preset{display:grid;justify-items:center;gap:7px;min-width:0;min-height:68px;padding:6px 0;border:0;border-radius:12px;background:transparent;color:#737780;font-size:11px;line-height:18px}
.pc-preset i,.pc-current-color i{display:block;flex:none;width:34px;height:34px;border-radius:50%;background:var(--project-surface);box-shadow:inset 0 0 6px #ffffff73}
.pc-preset[aria-pressed=true]{color:#18191c;font-weight:600;background:#f5f5f6}
.pc-preset[aria-pressed=true] i{outline:2px solid #282b31;outline-offset:3px}
.pc-preset:hover{background:#f5f5f6}
.pc-default{display:block;min-height:44px;margin:8px auto 0;padding:8px 12px;border:0;background:transparent;color:#737780;font-size:12px}
.pc-error{color:#aa4037;font-size:12px;line-height:20px;margin:6px 0}.pc-error:empty{display:none}
.pc-dialog-footer{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:10px;padding:12px 18px max(16px,env(safe-area-inset-bottom));border-top:1px solid #eeeef0;background:#fff}
.pc-dialog-footer button{border-radius:999px;font-size:13px;position:relative;box-sizing:border-box;min-width:44px;min-height:var(--mf-control-footer);height:auto;padding:0 14px;line-height:20px;}
.pc-dialog-footer button::after{content:"";position:absolute;inset:calc((var(--mf-control-footer) - var(--mf-control-hit))/2) 0;border-radius:inherit;}
.pc-cancel{border:1px solid #e1e3e7;background:#fff;color:#61666b}
.project-color-dialog button:focus-visible,.project-create-dialog :is(button,input,textarea):focus-visible{outline:2px solid #434b59;outline-offset:3px}
.project-color-dialog button:active,.project-create-dialog button:active{filter:brightness(.97)}
.project-create-dialog fieldset{padding:0;margin:22px 0;border:0;min-width:0}.project-create-dialog legend{font-size:13px;line-height:22px;font-weight:600}
.pc-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.pc-type-options label{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #dedfe3;border-radius:12px;font-size:13px;line-height:22px}
.pc-type-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0}
.pc-type-options label:has(:checked){background:#202324;border-color:#202324;color:#fff}.pc-type-options label:has(:focus-visible){outline:2px solid #434b59;outline-offset:3px}
.pc-appearance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;width:100%;padding:12px;border:1px solid #e5e6e9;border-radius:16px;background:#fafafb;text-align:left}
.pc-appearance-row strong{display:block;font-size:13px;line-height:22px;font-weight:500}.pc-appearance-row small{display:block;font-size:11px;line-height:18px;color:#858991}
.pc-current-color{display:flex;align-items:center;gap:7px;flex:none;font-size:11px;line-height:18px;color:#61666b}.pc-current-color i{width:24px;height:24px}.pc-current-color svg{width:12px;height:12px}
.project-create-dialog .v3-field input,.project-create-dialog .v3-field textarea,.project-create-dialog input[type=date]{font-size:16px;line-height:24px}
.project-create-dialog .v3-plan-row{grid-template-columns:65px minmax(0,1fr);gap:8px}.project-create-dialog .v3-plan-row label{font-size:13px}
.pc-sample-note{font-size:11px;line-height:19px;color:#858991;margin:16px 0 6px}
@media(max-width:360px){.pc-dialog-header{padding-inline:14px}.pc-dialog-body{padding-inline:14px}.pc-dialog-footer{padding-inline:14px}.pc-preview .project-title-meta{gap:4px}.pc-preview .meter-title-row{gap:8px}.pc-preview .project-title-text{font-size:15px;line-height:22px}.project-section-actions{gap:8px}.project-section-actions .mini{font-size:10px}.project-create-button{padding-inline:11px}}

/* One material for list cards and the project detail hero. */
.project-custom-appearance{--project-rim:none}
/* Separate the appearance action, title and execution summary. */
.project-hero-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;line-height:18px;min-width:0}
.project-hero-toolbar .project-hero-color{margin-block:-6px}
.project-detail-hero .project-hero-title{margin:16px 0 20px;font-size:22px;line-height:30px;font-weight:600;overflow-wrap:anywhere}
.project-hero-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.project-hero-plan{display:flex;flex-direction:column;gap:4px;min-width:0}
.project-hero-current{font-size:12px;line-height:20px;font-weight:500}
.project-hero-dates{font-size:11px;line-height:18px;opacity:.8}
.project-hero-payment{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.project-hero-payment>span{font-size:10px;line-height:18px;opacity:.8}
.project-hero-payment>strong{font-size:15px;line-height:20px;font-weight:500}
@media(max-width:360px){.project-detail-hero .project-hero-title{font-size:20px;line-height:28px;margin-block:14px 18px}}
.project-hero-color{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:44px;padding:0 11px;border:0;border-radius:999px;background:transparent;box-shadow:none;color:inherit;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap}
.project-hero-color::before{content:"";position:absolute;inset:6px 0;z-index:-1;pointer-events:none;border:1px solid #ffffff70;border-radius:inherit;background:#ffffff1f;box-shadow:inset 0 1px 0 #ffffff14}
.project-hero-color svg{width:14px;height:14px;flex:none}
.project-hero-color:hover::before{background:#ffffff30}
.project-hero-color:active::before{background:#ffffff3d}
.project-hero-color:focus-visible{outline:2px solid currentColor;outline-offset:1px;opacity:1}

/* Product integration: only the approved project components own this surface. */
body .mf-project-card,body .project-detail-hero{position:relative;isolation:isolate;overflow:hidden;width:100%;box-sizing:border-box;background:var(--project-surface);color:var(--project-glass-ink);margin:0 0 16px}
body .mf-project-card .project-frost,body .project-detail-hero .project-frost{display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit}
body .mf-project-card :is(button,time),body .project-detail-hero button{font-family:inherit}
body .mf-project-card button{appearance:none;border:0;background:transparent;color:inherit;cursor:pointer;box-shadow:none}
body .mf-project-card .project-stages{display:grid;grid-template-columns:repeat(var(--stage-count),minmax(0,1fr))}
body .mf-project-card .project-stages button{display:flex;align-items:center}
body .project-functional.project-meter-card{background:var(--project-surface)}
body .project-detail-hero{border-radius:24px;padding:22px 20px}
body .project-detail-hero svg,.project-color-dialog svg,.pc-appearance-row svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body .mf-project-card svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body .project-detail-hero .project-hero-title{color:inherit}
body .project-color-dialog .primary{background:#202324;color:white;border:0}
body .project-color-dialog .pc-preview .mf-project-card{margin:0}
.mf-project-agenda-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 14px}
.mf-project-agenda-heading h2{margin:0;font-size:18px;line-height:28px;font-weight:600}.mf-project-agenda-heading>span{font-size:11px;color:#737780}
@media(max-width:360px){body .project-detail-hero{padding:18px 16px}}

body .project-functional.project-meter-card .project-name{padding:0}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route] #appView.ui-view .project-detail-hero .project-hero-title{font-size:22px!important;line-height:30px!important;font-weight:600!important}
@media(max-width:360px){html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route] #appView.ui-view .project-detail-hero .project-hero-title{font-size:20px!important;line-height:28px!important}}

/* Empty schedule: compact, centered content with a quiet creation capsule. */
body .mf-project-empty{display:grid;justify-items:center;align-content:center;padding:28px 20px 24px;border:1px solid transparent;border-radius:24px;box-shadow:0 8px 26px #234a7512;text-align:center}
body .mf-project-empty .project-frost{background:linear-gradient(145deg,#ffffff0d,transparent 45%,#ffffff05);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body .mf-project-empty h3{margin:0;max-width:100%;color:inherit;font-size:18px;line-height:26px;font-weight:600}
body .mf-project-empty p{margin:8px 0 18px;max-width:100%;color:inherit;opacity:.76;font-size:12px;line-height:20px}
body .mf-project-empty .mf-project-empty-add{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:#343b46;font-size:12px;line-height:20px;font-weight:500}
body .mf-project-empty-add::before{content:"";position:absolute;inset:4px 0;z-index:-1;pointer-events:none;border:1px solid #ffffff80;border-radius:inherit;background:#fff}
body .mf-project-empty-add span{font-size:12px;line-height:20px}
body .mf-project-empty-add svg{width:14px;height:14px}
body .mf-project-empty-add:hover::before{background:#f0f2f5}
body .mf-project-empty-add:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:360px){body .mf-project-empty{padding:26px 16px 22px;border-radius:22px}}

html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route] #appView.ui-view .mf-project-empty h3{font-size:18px!important;line-height:26px!important;font-weight:600!important}

/* Day/month agenda only: retain the approved card material inside the restored fold. */
.mf-project-stack-group{--stack-reveal:16px;position:relative;isolation:isolate}
.mf-project-stack-group:has(>.mf-project-stack>.mf-project-card:nth-child(3)){--stack-reveal:24px}
.mf-project-stack-group:has(>.mf-project-stack>.mf-project-card:nth-child(4)){--stack-reveal:28px}
.mf-project-stack{position:relative;isolation:isolate;display:grid;gap:16px;overflow-anchor:none}
body .mf-project-stack>.mf-project-card{margin:0;min-width:0;position:relative;transition:opacity 160ms linear}
.mf-project-stack>.mf-project-card:first-child{z-index:5}
.mf-project-stack>.mf-project-card:nth-child(2){z-index:4}
.mf-project-stack>.mf-project-card:nth-child(3){z-index:3}
.mf-project-stack>.mf-project-card:nth-child(4){z-index:2}
.mf-project-stack>.mf-project-card:nth-child(n+5){z-index:1}
.mf-project-stack.stacked{display:block;padding-bottom:var(--stack-reveal)}
body .mf-project-stack.stacked>.mf-project-card:nth-child(n+2){--stack-offset:16px;--stack-inset:8px;position:absolute;top:var(--stack-offset);left:var(--stack-inset);right:var(--stack-inset);width:auto;height:calc(100% - var(--stack-reveal));pointer-events:none}
body .mf-project-stack.stacked>.mf-project-card:nth-child(3){--stack-offset:24px;--stack-inset:16px}
body .mf-project-stack.stacked>.mf-project-card:nth-child(n+4){--stack-offset:28px;--stack-inset:24px}
.mf-project-stack.stacked>.mf-project-card:nth-child(n+5){opacity:0}
.mf-project-stack>.mf-project-card:nth-child(n+2)>:not(.project-frost){transition:opacity 140ms linear}
.mf-project-stack.stacked>.mf-project-card:nth-child(n+2)>:not(.project-frost){opacity:0}
.mf-project-stack-toggle-row{display:flex;justify-content:center;margin:8px 0 0;min-height:44px;overflow-anchor:none}
.mf-project-stack-toggle-row .stack-toggle{position:relative;isolation:isolate;min-height:44px;padding:8px 16px;gap:8px;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-visual-mode="minimal"] body.theme-liquid #appView .stitch-schedule .mf-project-stack-toggle-row .stack-toggle::before{content:"";position:absolute;z-index:-1;inset:10px 0;width:auto;height:auto;transform:none;pointer-events:none;border:1px solid #ffffff70;border-radius:999px;background:#ffffff99;box-shadow:none;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.mf-project-stack-group:has(>.mf-project-stack.stacked)>.mf-project-stack-toggle-row{position:absolute;z-index:6;inset:auto 0 calc(var(--stack-reveal)/2 - 22px);margin:0;pointer-events:none}
.mf-project-stack-group:has(>.mf-project-stack.stacked)>.mf-project-stack-toggle-row .stack-toggle{pointer-events:auto}
.mf-project-stack-toggle-row .stack-toggle:focus-visible{outline:2px solid #292d2d;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body .mf-project-stack>.mf-project-card,.mf-project-stack>.mf-project-card:nth-child(n+2)>:not(.project-frost),.mf-project-stack-toggle-row .stack-toggle,.mf-project-stack-toggle-row .chevron{transition:none}}

/* Approved 2026-11-04 material: formal geometry and all original actions stay above. */
body:not(.look-original) :is(.project-functional.project-meter-card,.project-detail-hero.project-custom-appearance){
 --project-diffusion-ink:hsl(var(--project-diffusion-hue,225) 52% 23%);--project-diffusion-muted:hsl(var(--project-diffusion-hue,225) 34% 32%);--meter-accent:#fff;--meter-light:#fff;
 --project-diffusion-fade:linear-gradient(180deg,transparent 44%,#edf6fd18 56%,#f6faffdb 88%,#fafcff 100%);
 color:var(--project-diffusion-ink);border:1px solid transparent;
 background:var(--project-diffusion-fade),var(--project-diffusion-surface);
 background-origin:border-box;background-repeat:no-repeat;
 box-shadow:0 8px 26px #234a7512;
}
body:not(.look-original):not(.project-glass-off) .project-functional.project-meter-card{color:var(--project-diffusion-ink);box-shadow:0 8px 26px #234a7512;border:1px solid transparent}
body:not(.look-original) .project-functional.project-meter-card .project-frost{background:linear-gradient(130deg,#ffffff12,#ffffff04 60%);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body:not(.look-original) .project-functional.project-meter-card :is(.project-name,.project-title-text){color:#fff}
body:not(.look-original) .project-functional.project-meter-card :is(.project-title-meta,.project-kind,.meter-status,.meter-summary,.meter-total,.meter-total strong){color:#fff}
body:not(.look-original) .project-meter-card :is(.project-name,.meter-summary){text-shadow:0 1px 3px #17457440}
body:not(.look-original) .project-meter-card .project-segment-meter i{background:linear-gradient(to right,#fff 0 var(--tick-fill),#ffffff38 var(--tick-fill) 100%);box-shadow:none}
body:not(.look-original) .project-meter-card .project-segment-meter i[style="--tick-fill:100%"]{box-shadow:0 0 4px #ffffff99,0 0 10px #ffffff59}
body:not(.look-original) .project-functional.project-meter-card .project-stages button{color:#fff}
body:not(.look-original) .project-functional.project-meter-card .project-stages .stage-label{color:#fff}
body:not(.look-original) .project-functional.project-meter-card .is-current .stage-label::after{background:#fff;box-shadow:none}
body:not(.look-original) .project-meter-card .project-node-schedule{border-top:1px solid #38638b24}
body:not(.look-original) .project-functional.project-meter-card .project-node-schedule :is(strong,time),body:not(.look-original) .project-meter-card .project-node-schedule>div>span{color:var(--project-diffusion-ink)}
body:not(.look-original) .project-meter-card .project-node-value time{color:var(--project-diffusion-muted)}
body:not(.look-original) .project-functional.project-meter-card :is(.project-name,.project-stages button):focus-visible{outline-color:#11385e}
body.project-glass-off:not(.look-original) .project-functional.project-meter-card .project-frost{display:none}


/* Same material on the existing secondary page; business sections remain readable. */
body:not(.look-original) .project-detail-hero.project-custom-appearance{--project-diffusion-fade:linear-gradient(transparent,transparent);border:1px solid transparent;color:#fff;box-shadow:0 8px 26px #234a7512}
body:not(.look-original) .project-detail-hero.project-custom-appearance .project-frost{background:linear-gradient(130deg,#ffffff12,#ffffff04 60%);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body:not(.look-original) .project-detail-hero :is(.project-hero-toolbar,.project-hero-title,.project-hero-color){color:#fff}
body:not(.look-original) .project-detail-hero .project-hero-title{text-shadow:0 1px 3px #17457440}
body:not(.look-original) .project-detail-hero .project-hero-summary{color:#fff}
body:not(.look-original) .project-detail-hero :is(.project-hero-dates,.project-hero-payment>span){opacity:1;color:#fff}
body.project-glass-off:not(.look-original) .project-detail-hero .project-frost{display:none}

.pc-preset i,.pc-current-color i{background:var(--project-diffusion-surface);box-shadow:none}
