/* V40 is scoped to Production and its dialogs; the V38 chrome shell is preserved. */
#production .pc, dialog.pc-dialog { --pc-bg:#060606; --pc-panel:#0d0d0d; --pc-line:#383838; --pc-text:#e3e3e3; --pc-muted:#a9a9a9; --pc-good:#75d8a7; --pc-bad:#f1959b; --pc-warn:#e7c184; font-family:Avenir,"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--pc-text); font-size:15px; line-height:1.5; letter-spacing:0; text-align:left; color-scheme:dark; }
#production .pc *, dialog.pc-dialog * { box-sizing:border-box; }
#production .pc h2, dialog.pc-dialog h2 { margin:0; font-size:clamp(23px,2.2vw,30px); font-weight:600; letter-spacing:-.6px; color:var(--pc-text); }
#production .pc h3, dialog.pc-dialog h3 { margin:0; font-size:17px; font-weight:600; color:var(--pc-text); }
#production .pc p, dialog.pc-dialog p { margin:6px 0 0; color:var(--pc-muted); }
#production .pc strong, #production .pc b, dialog.pc-dialog b,dialog.pc-dialog strong { font-weight:600; }
#production .pc .good, dialog.pc-dialog .good { color:var(--pc-good)!important; }
#production .pc .bad, dialog.pc-dialog .bad { color:var(--pc-bad)!important; }
#production .pc .warn, dialog.pc-dialog .warn { color:var(--pc-warn)!important; }
.pc-eyebrow { display:block; color:#9e9e9e; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:1.7px; margin-bottom:8px; }
#production .pc .pc-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 16px; padding:10px 0 8px; }
.pc-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#production .pc button, dialog.pc-dialog button { font:inherit; cursor:pointer; }
#production .pc .pc-btn, dialog.pc-dialog .pc-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:38px; padding:8px 13px; border:1px solid #4b4b4b; border-radius:8px; background:linear-gradient(160deg,#242424,#151515); color:#dfdfdf; font-size:13px; font-weight:600; line-height:1.35; text-transform:none; letter-spacing:0; white-space:nowrap; box-shadow:inset 0 1px 0 #ffffff0a; text-decoration:none; }
#production .pc .pc-btn.primary, dialog.pc-dialog .pc-btn.primary { background:linear-gradient(150deg,#404040,#232323 58%,#323232); border-color:#818181; color:#f2f2f2; }
#production .pc .pc-btn.danger, dialog.pc-dialog .pc-btn.danger { background:#211315; border-color:#795059; color:#efa0a5; }
#production .pc .pc-btn:hover,dialog.pc-dialog .pc-btn:hover { border-color:#adadad; background:#363636; color:#f3f3f3; }
#production .pc .pc-btn:disabled, dialog.pc-dialog .pc-btn:disabled { opacity:.45; cursor:not-allowed; }
#production .pc button:focus-visible,#production .pc input:focus-visible,#production .pc select:focus-visible,dialog.pc-dialog button:focus-visible,dialog.pc-dialog input:focus-visible,dialog.pc-dialog select:focus-visible,dialog.pc-dialog textarea:focus-visible { outline:2px solid #b7b7b7!important; outline-offset:3px; box-shadow:none; }
#production .pc .pc-connection { padding:10px 14px; border:1px solid var(--pc-line); border-radius:8px; background:#0e0e0e; color:var(--pc-muted); font-size:12px; margin-bottom:16px; overflow-wrap:anywhere; }
#production .pc .pc-tabs { display:flex; align-items:center; gap:4px; overflow-x:auto; border-bottom:1px solid #4b4b4b; padding-bottom:8px; margin-bottom:16px; }
#production .pc .pc-tabs button { flex:0 0 auto; border:1px solid transparent; background:transparent; color:#b5b5b5; padding:10px 14px; border-radius:8px; font-size:14px; font-weight:500; }
#production .pc .pc-tabs button.active { background:linear-gradient(135deg,#2f2f2f,#191919); color:#f0f0f0; border-color:#727272; box-shadow:inset 0 1px 0 #cacaca26; }
#production .pc .pc-tabs button:hover { background:#1f1f1f; color:#f0f0f0; }
#production .pc input,#production .pc select,dialog.pc-dialog input,dialog.pc-dialog select,dialog.pc-dialog textarea { font:inherit; font-size:14px; line-height:1.4; border:1px solid #585858; border-radius:7px; background:#121212!important; color:#e6e6e6!important; padding:9px 11px; min-height:40px; max-width:100%; box-shadow:none; outline:none; }
#production .pc input::placeholder,dialog.pc-dialog input::placeholder,dialog.pc-dialog textarea::placeholder { color:#9a9a9a; }
#production .pc select option,dialog.pc-dialog select option { background:#191919!important; color:#e6e6e6!important; }
#production .pc input[type=date],#production .pc input[type=month],dialog.pc-dialog input[type=date] { color-scheme:dark; }
#production .pc .pc-filterbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
#production .pc .pc-filterbar>label { display:flex; flex-direction:column; gap:4px; font-size:12px; color:var(--pc-muted); }
#production .pc .pc-search { flex:1; min-width:210px; }
#production .pc .pc-search input { width:100%; }
#production .pc .pc-period { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:14px 16px; background:#101010; border:1px solid var(--pc-line); border-radius:10px; margin-bottom:20px; }
#production .pc .pc-period>div:first-child { flex:1; min-width:190px; }
#production .pc .pc-period span { display:block; color:var(--pc-muted); font-size:12px; margin-top:4px; }
#production .pc .pc-period label { display:flex; flex-direction:column; gap:4px; color:var(--pc-muted); font-size:12px; }
#production .pc .pc-kpis,dialog.pc-dialog .pc-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:20px; }
#production .pc .pc-kpi,dialog.pc-dialog .pc-kpi { min-width:0; border:1px solid var(--pc-line); border-top-color:#707070; background:linear-gradient(140deg,#161616,#0b0b0b 75%); padding:20px; border-radius:12px; }
#production .pc .pc-kpi>span,dialog.pc-dialog .pc-kpi>span { display:block; font-size:13px; color:#bbbbbb; }
#production .pc .pc-kpi>strong,dialog.pc-dialog .pc-kpi>strong { display:block; font-variant-numeric:tabular-nums; font-size:clamp(24px,2.3vw,31px); line-height:1.2; letter-spacing:-.6px; margin:10px 0; white-space:normal; overflow-wrap:anywhere; }
#production .pc .pc-kpi>small,dialog.pc-dialog .pc-kpi>small { display:block; font-size:12px; color:#aeaeae; line-height:1.5; }
#production .pc .pc-two,dialog.pc-dialog .pc-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:20px; margin-bottom:20px; }
#production .pc .pc-panel,dialog.pc-dialog .pc-panel { min-width:0; background:var(--pc-panel); border:1px solid var(--pc-line); border-radius:12px; padding:20px; margin-bottom:20px; box-shadow:0 8px 24px #0000001a; }
#production .pc .pc-two>.pc-panel,dialog.pc-dialog .pc-two>.pc-panel { margin-bottom:0; height:100%; }
.pc-panel-head { display:flex; gap:15px; align-items:start; justify-content:space-between; margin-bottom:16px; }
#production .pc .pc-panel-head p, dialog.pc-dialog .pc-panel-head p { font-size:13px; }
#production .pc .pc-metrics>div,dialog.pc-dialog .pc-metrics>div { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:12px 0; border-bottom:1px solid #2b2b2b; font-size:14px; }
#production .pc .pc-metrics>div>span,dialog.pc-dialog .pc-metrics>div>span { color:var(--pc-muted); }
.pc-metrics b { font-variant-numeric:tabular-nums; white-space:nowrap; }
#production .pc p.pc-note,dialog.pc-dialog p.pc-note,.pc-note { color:#ababab; font-size:12.5px; line-height:1.6; margin:12px 0; }
#production .pc .pc-table-scroll,dialog.pc-dialog .pc-table-scroll { width:100%; max-width:100%; overflow:auto; border:1px solid #363636; border-radius:8px; }
#production .pc .pc-table,dialog.pc-dialog .pc-table { width:100%; border-collapse:collapse; background:#0d0d0d; min-width:650px; color:#dbdbdb; }
#production .pc .pc-table th,dialog.pc-dialog .pc-table th { background:#202020!important; color:#c6c6c6!important; padding:12px 14px; font-size:11.5px; font-weight:600; letter-spacing:.15px; text-transform:none; border-bottom:1px solid #555555; text-align:left; white-space:nowrap; }
#production .pc .pc-table td,dialog.pc-dialog .pc-table td { padding:14px; border-bottom:1px solid #2d2d2d; font-size:13px; line-height:1.45; background:transparent!important; color:inherit; vertical-align:top; }
#production .pc .pc-table tr,dialog.pc-dialog .pc-table tr { background:#0e0e0e!important; }
#production .pc .pc-table tr:nth-child(even),dialog.pc-dialog .pc-table tr:nth-child(even) { background:#141414!important; }
#production .pc .pc-table tbody tr:hover,dialog.pc-dialog .pc-table tbody tr:hover { background:#1f1f1f!important; }
#production .pc .pc-table td small,dialog.pc-dialog .pc-table td small { display:block; color:#a7a7a7; font-size:11.5px; margin-top:4px; overflow-wrap:anywhere; }
#production .pc .pc-table td .pc-btn,dialog.pc-dialog .pc-table td .pc-btn { margin:0 5px 5px 0; font-size:12px; min-height:32px; padding:6px 9px; }
#production .pc .pc-number,dialog.pc-dialog .pc-number { font-variant-numeric:tabular-nums; white-space:nowrap; }
#production .pc .pc-link,dialog.pc-dialog .pc-link { color:#dfdfdf; background:none; border:0; padding:0; font-size:13.5px; font-weight:600; text-align:left; text-decoration:underline; text-decoration-color:#727272; text-underline-offset:3px; }
#production .pc .pc-badge,dialog.pc-dialog .pc-badge { display:inline-block; font-size:11px; padding:3px 8px; border:1px solid #585858; border-radius:6px; background:#1a1a1a; color:#cbcbcb; font-weight:500; line-height:1.5; }
#production .pc .pc-badge.good,dialog.pc-dialog .pc-badge.good { background:#0d251e; border-color:#335f4e; }
#production .pc .pc-badge.warn,dialog.pc-dialog .pc-badge.warn { background:#292117; border-color:#6c5537; }
#production .pc .pc-badge.bad,dialog.pc-dialog .pc-badge.bad { background:#2a171b; border-color:#76434c; }
#production .pc .pc-empty,dialog.pc-dialog .pc-empty { text-align:center; padding:38px 20px!important; color:var(--pc-muted)!important; }
.pc-pagination { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:12px; padding:12px 0; color:#b8b8b8; font-size:13px; }
.pc-pagination label { margin-right:auto; display:flex; align-items:center; gap:8px; }
.pc-monthbar { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; margin:18px 0; }
#production .pc .pc-monthbar h3 { font-size:22px; }
#production .pc .pc-monthbar p { font-size:13px; }
#production .pc .pc-calendar { border:1px solid #3f3f3f; background:#0d0d0d; border-radius:12px; padding:12px; margin-bottom:20px; overflow-x:auto; }
.pc-weekdays,.pc-cal-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; min-width:530px; }
.pc-weekdays { text-align:left; padding:6px 8px 12px; color:#b1b1b1; font-size:12px; }
#production .pc .pc-cal-day { min-height:95px; padding:10px; display:flex; flex-direction:column; gap:4px; align-items:flex-start; background:#141414; border:1px solid #343434; border-radius:8px; color:#d9d9d9; font-size:13px; text-align:left; }
#production .pc .pc-cal-day b { font-variant-numeric:tabular-nums; font-size:12px; }
#production .pc .pc-cal-day small { color:#a1a1a1; font-size:10.5px; }
#production .pc .pc-cal-day.today { border-color:#838383; }
#production .pc .pc-cal-day.selected,#production .pc .pc-cal-day:hover { background:linear-gradient(140deg,#3a3a3a,#232323); border-color:#aeaeae; }
.pc-spaced { margin-top:16px; margin-bottom:16px; }
.pc-retention { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.pc-retention>div { border-left:2px solid #616161; padding-left:16px; }
.pc-retention span,.pc-retention small { display:block; color:#acacac; font-size:12px; }
.pc-retention strong { display:block; font-size:28px; color:#e0e0e0; margin:8px 0; }
.pc-visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
#pcLegacyGoals { margin-top:22px; border:1px solid #464646; border-radius:10px; padding:18px; background:#0e0e0e; color:#dadada; }
#pcLegacyGoals[hidden] { display:none!important; }
#pcLegacyGoals summary { cursor:pointer; margin-bottom:14px; font-weight:600; }
dialog.pc-dialog { width:min(1100px,calc(100vw - 40px)); max-height:calc(100dvh - 40px); margin:auto; padding:0; border:1px solid #757575; border-radius:14px; background:#0c0c0c; overflow:auto; box-shadow:0 28px 80px #000b; }
dialog.pc-dialog:not(.wide) { width:min(650px,calc(100vw - 40px)); }
dialog.pc-dialog::backdrop { background:rgba(0,0,0,.78); backdrop-filter:blur(3px); }
.pc-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 26px; background:linear-gradient(125deg,#272727,#0f0f0f); border-bottom:1px solid #4c4c4c; }
.pc-dialog-body { padding:24px 26px; }
.pc-form-section { padding:0 0 24px; margin:0 0 24px; border-bottom:1px solid #424242; }
dialog.pc-dialog .pc-form-section p { margin-bottom:16px; font-size:13px; }
.pc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 22px; }
.pc-field { display:flex; flex-direction:column; align-items:stretch; gap:6px; font-size:13px; color:#d0d0d0; margin:0; }
.pc-field>span { font-weight:500; }
.pc-field input,.pc-field select,.pc-field textarea { width:100%; }
.pc-field small { color:#a5a5a5; font-size:11.5px; line-height:1.5; }
.pc-span2 { grid-column:span 2; }
.pc-check { display:flex; gap:10px; align-items:center; color:#dadada; }
dialog.pc-dialog input[type=checkbox] { accent-color:#c1c1c1; min-height:20px; width:20px; margin:0; }
.pc-form-foot { display:flex; gap:18px; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-top:20px; padding-top:20px; border-top:1px solid #454545; }
.pc-form-foot p { font-size:12px; max-width:70%; }
.pc-estimate { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:20px; background:#1e1e1e; border:1px solid #5e5e5e; padding:16px; border-radius:10px; }
.pc-estimate span { display:block; font-size:12px; color:#b4b4b4; }.pc-estimate b { display:block; font-size:24px; color:#e0e0e0; margin-top:5px; font-variant-numeric:tabular-nums; }.pc-estimate>small { grid-column:1/-1; color:#b0b0b0; font-size:11.5px; }
.pc-detail-head { display:flex; justify-content:space-between; align-items:start; gap:20px; margin-bottom:22px; }
.pc-notes { white-space:pre-wrap; overflow-wrap:anywhere; }
.pc-error { padding:14px 20px; border:1px solid #a46672; background:#2e171e; color:#fac1ca; margin:16px 24px 0; border-radius:8px; }
.pc-error[hidden] { display:none!important; }
.pc-danger-zone { border:1px solid #784d5a; padding:14px; border-radius:8px; }.pc-danger-zone summary { cursor:pointer; color:#df9ead; }.pc-danger-zone p { margin:12px 0!important; }
.pc-void { opacity:.6; }
@media(max-width:1250px){#production .pc .pc-hero{align-items:flex-start;flex-direction:column}#production .pc .pc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#production .pc .pc-two{grid-template-columns:1fr}}
@media(max-width:750px){#production .pc .pc-filterbar{align-items:stretch}#production .pc .pc-filterbar>label{flex:1;min-width:140px}#production .pc .pc-kpi,dialog.pc-dialog .pc-kpi{padding:14px}#production .pc .pc-panel,dialog.pc-dialog .pc-panel{padding:14px}dialog.pc-dialog .pc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-form-grid{grid-template-columns:1fr}.pc-span2{grid-column:auto}.pc-estimate{grid-template-columns:1fr}.pc-estimate>small{grid-column:auto}.pc-dialog-head{padding:16px}.pc-dialog-body{padding:18px}.pc-detail-head{flex-direction:column}.pc-retention{grid-template-columns:1fr}dialog.pc-dialog .pc-two{grid-template-columns:1fr}.pc-form-foot p{max-width:100%}}
@media(prefers-reduced-motion:reduce){#production .pc *,dialog.pc-dialog *{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:560px){#production .pc .pc-kpis,dialog.pc-dialog .pc-kpis{grid-template-columns:1fr}#production .pc .pc-kpi strong,dialog.pc-dialog .pc-kpi strong{white-space:nowrap;font-size:clamp(22px,7vw,30px)}}

/* Isolate the finance forms from legacy uppercase labels and full-width inputs. */
#production .pc .pc-monthbar .pc-actions{flex-wrap:nowrap;max-width:100%;width:auto}
#production .pc .pc-monthbar input[type=month]{width:178px;min-width:140px;flex:0 1 178px;margin:0}
#production .pc .pc-monthbar .pc-btn{white-space:nowrap;flex:0 0 auto}
dialog.pc-dialog .pc-field,dialog.pc-dialog .pc-field>span,dialog.pc-dialog .pc-field>small{text-transform:none;letter-spacing:normal}
dialog.pc-dialog .pc-field>span{font-size:13px;font-weight:550}
dialog.pc-dialog .pc-field>small{font-size:12px;font-weight:400;line-height:1.55}
dialog.pc-dialog .pc-dialog-head{position:sticky;top:0;z-index:2;background:#101010;border-bottom:1px solid #444444}
@media(max-width:560px){#production .pc .pc-monthbar{align-items:flex-start;flex-direction:column}#production .pc .pc-monthbar .pc-actions{flex-wrap:wrap}#production .pc .pc-monthbar input[type=month]{min-width:130px}}

/* V40 everyday workflow: quiet hierarchy, progressive disclosure, no floating menus. */
#production .pc {--pc-panel:#0b0b0c;--pc-line:#323235;--pc-text:#dedee0;--pc-muted:#a4a4aa;}
#production .pc .pc-hero {margin:0 0 8px;}
#production .pc .pc-hero h2 {font-size:27px;letter-spacing:-.4px;}
#production .pc .pc-hero p {font-size:14px;}
#production .pc .pc-connection {background:transparent;border:0;border-bottom:1px solid #29292c;border-radius:0;padding:8px 0 14px;font-size:12px;}
#production .pc .pc-navigation {display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:20px;}
#production .pc .pc-navigation .pc-tabs {flex:1;margin:0;min-width:0;}
#production .pc details summary, dialog.pc-dialog details summary {cursor:pointer;line-height:1.5;color:#c9c9cf;font-size:13px;font-weight:550;padding:10px 12px;list-style-position:inside;}
#production .pc details summary:hover, dialog.pc-dialog details summary:hover {color:#efeff1;background:#1b1b1e;border-radius:7px;}
#production .pc details summary:focus-visible,dialog.pc-dialog details summary:focus-visible {outline:2px solid #b8b8be;outline-offset:2px;}
#production .pc .pc-more-nav {border:1px solid #333336;border-radius:8px;min-width:85px;max-width:100%;}
#production .pc .pc-more-nav>div {display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-top:1px solid #333336;}
#production .pc .pc-more-nav[open] {flex:1 1 100%;}
#production .pc .pc-more-nav button {background:#18181b;border:1px solid #424246;border-radius:7px;padding:8px 12px;color:#bdbdc4;font-size:13px;}
#production .pc .pc-more-nav button.active {border-color:#b1b1b8;color:#eeeeef;}
#production .pc .pc-filter-menu {border:1px solid #38383b;border-radius:8px;}
#production .pc .pc-filter-menu[open] {flex:1 1 100%;}
#production .pc .pc-filter-fields {display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:12px;}
#production .pc .pc-filter-fields label {display:flex;flex:1;flex-direction:column;gap:5px;min-width:145px;font-size:12px;color:#acacb3;text-transform:none;letter-spacing:0;}
#production .pc .pc-filter-fields select,#production .pc .pc-filter-fields input {width:100%;}
#production .pc .pc-simple-period {background:transparent;border:0;border-bottom:1px solid #313135;border-radius:0;padding:0 0 14px;margin:0 0 20px;align-items:start;}
#production .pc .pc-simple-period details[open] {flex:1 1 100%;}
#production .pc .pc-simple-period b {font-size:14px;}
#production .pc .pc-simple-period span {font-size:12px;}
#production .pc .pc-kpis {gap:14px;}
#production .pc .pc-kpi {padding:21px;background:linear-gradient(150deg,#151518,#0b0b0c);border:1px solid #36363b;box-shadow:inset 0 1px 0 #ffffff09;min-width:0;}
#production .pc .pc-kpi>span {font-size:13px;text-transform:none;letter-spacing:0;line-height:1.45;}
#production .pc .pc-kpi>strong {font-size:clamp(24px,2.4vw,32px);line-height:1.25;}
#production .pc .pc-kpi small {line-height:1.6;font-size:12px;}
#production .pc .pc-kpis-three {grid-template-columns:repeat(3,minmax(0,1fr));}
#production .pc .pc-panel {background:#0b0b0d;border-color:#343438;margin-bottom:22px;}
#production .pc .pc-two .pc-panel {margin-bottom:0;}
#production .pc .pc-two {gap:18px;margin-bottom:22px;}
#production .pc .pc-panel-head {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
#production .pc .pc-panel-head p {font-size:12px;}
#production .pc .pc-two .pc-table {min-width:0;}
#production .pc .pc-two .pc-table td:first-child {overflow-wrap:anywhere;}
#production .pc .pc-table {background:#0c0c0e;}
#production .pc .pc-table th,dialog.pc-dialog .pc-table th {background:#19191c!important;color:#bfbfc5!important;font-size:12px;}
#production .pc .pc-table tr,dialog.pc-dialog .pc-table tr {background:#0d0d0f!important;}
#production .pc .pc-table tr:nth-child(even),dialog.pc-dialog .pc-table tr:nth-child(even) {background:#121215!important;}
#production .pc .pc-table tbody tr:hover,dialog.pc-dialog .pc-table tbody tr:hover {background:#1b1b1f!important;}
#production .pc .pc-table td {padding:16px 14px;font-size:13px;}
#production .pc .pc-attention {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;margin:0 0 22px;border:1px solid #514634;border-radius:9px;background:#171410;}
#production .pc .pc-attention b {display:block;font-size:13px;color:var(--pc-warn);}
#production .pc .pc-attention span {display:block;font-size:12px;color:#b6afa4;line-height:1.6;}
#production .pc .pc-formula-note {display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px 20px;border:1px solid #36363b;border-radius:10px;margin:16px 0 22px;background:linear-gradient(120deg,#1b1b1f,#101012);}
#production .pc .pc-formula-note b {font-size:13px;}
#production .pc .pc-formula-note span {flex:1;min-width:220px;color:#aaaab1;font-size:12.5px;line-height:1.65;}
.pc-disclosure {border:1px solid #37373c;border-radius:9px;margin:14px 0 20px;background:#0d0d10;}
.pc-disclosure>summary {padding:14px 16px!important;}
.pc-disclosure[open]>summary {border-bottom:1px solid #353539;}
.pc-detail-content {padding:18px;}
.pc-detail-content>.pc-panel:last-child {margin-bottom:0!important;}
#production .pc .pc-small-disclosure {background:transparent;border-color:#2b2b30;}
#production .pc .pc-small-disclosure>summary {padding:8px 12px!important;}
#production .pc .pc-payout-switch {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0;}
#production .pc .pc-segmented {display:flex;gap:4px;background:#0b0b0e;border:1px solid #3c3c42;border-radius:9px;padding:4px;}
#production .pc .pc-segmented .pc-btn {background:transparent;border-color:transparent;box-shadow:none;color:#a5a5ad;}
#production .pc .pc-segmented .pc-btn.active {background:linear-gradient(150deg,#323238,#1e1e23);border-color:#676770;color:#e4e4e9;}
dialog.pc-dialog {background:#0b0b0e;border-color:#6a6a73;max-width:980px;}
dialog.pc-dialog .pc-dialog-head {background:linear-gradient(150deg,#1b1b20,#0f0f12);border-color:#3d3d43;}
dialog.pc-dialog .pc-field>span {color:#c7c7cd;font-size:13px;}
dialog.pc-dialog .pc-field small {color:#a1a1aa;}
dialog.pc-dialog .pc-form-grid {gap:16px 22px;margin-top:16px;}
dialog.pc-dialog .pc-form-section {padding-bottom:8px;margin-bottom:16px;border:0;}
dialog.pc-dialog .pc-field.pc-span2 {margin-top:16px;}
dialog.pc-dialog #pcCustomTerms {margin:16px 0 0;padding:0;border:0;min-width:0;}
dialog.pc-dialog [hidden] {display:none!important;}
dialog.pc-dialog .pc-estimate-live {background:linear-gradient(125deg,#202026,#101013);border-color:#63636d;border-radius:11px;padding:20px;grid-template-columns:1.4fr 1fr 1fr;}
dialog.pc-dialog .pc-estimate-live span {color:#b6b6be;line-height:1.5;font-size:12px;}
dialog.pc-dialog .pc-estimate-live b {color:#ceced7;font-size:24px;}
dialog.pc-dialog .pc-estimate-live .pc-estimate-primary b {color:#75d8a7;font-size:34px;line-height:1.25;}
dialog.pc-dialog .pc-estimate-live small {font-size:12px;line-height:1.6;color:#aeafb7;}
dialog.pc-dialog .pc-form-foot {border-color:#3a3a41;}
@media(max-width:1250px){#production .pc .pc-kpis-three{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#production .pc .pc-kpis-three{grid-template-columns:1fr}#production .pc .pc-attention{align-items:flex-start;flex-direction:column}#production .pc .pc-hero h2{font-size:24px}#production .pc .pc-formula-note{align-items:flex-start}#production .pc .pc-navigation{gap:8px}#production .pc .pc-navigation .pc-tabs{flex:1 1 100%}#production .pc .pc-more-nav{flex:1 1 100%}dialog.pc-dialog .pc-estimate-live{grid-template-columns:1fr}dialog.pc-dialog .pc-estimate-live .pc-estimate-primary b{font-size:32px}.pc-detail-content{padding:14px}.pc-segmented{max-width:100%;flex-wrap:wrap}}

dialog.pc-dialog .pc-kpis.pc-kpis-three {grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:750px){dialog.pc-dialog .pc-kpis.pc-kpis-three{grid-template-columns:1fr}}

/* V41 — small, explicit date contexts; original black/chrome styling retained. */
#pcRoot .pc-date-context {margin:0 0 18px;border:1px solid #34383f;border-radius:12px;background:#0b0d10;overflow:visible}
#pcRoot .pc-date-context .pc-period, #pcRoot .pc-date-context .pc-monthbar {margin:0;padding:16px 18px;border:0;background:transparent;box-shadow:none}
#pcRoot .pc-period-copy {display:flex;flex-direction:column;gap:4px;min-width:0}
#pcRoot .pc-period-copy .pc-eyebrow, #pcRoot .pc-calendar-context .pc-eyebrow {color:#b6bdc7;letter-spacing:.06em;font-size:11px}
#pcRoot .pc-period-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap}
#pcRoot .pc-basis-control {display:flex;flex-direction:column;gap:5px;color:#bbc2cc;font-size:12px}
#pcRoot .pc-basis-control select {min-width:180px;min-height:40px}
#pcRoot .pc-date-context-note {border-top:1px solid #2c3037;margin:0;padding:11px 18px;color:#bac1ca;font-size:12px;line-height:1.55}
#pcRoot .pc-date-context-note>span {display:block;margin-top:5px;color:#d3b16e}
#pcRoot .pc-date-explainer {padding:11px 14px;margin:0 0 16px;border-left:2px solid #818994;background:#101317;border-radius:0 8px 8px 0;color:#bfc6cf;font-size:12px;line-height:1.6}
#pcRoot .pc-date-explainer b {color:#d9dfe7;font-weight:600}
#pcRoot .pc-policy-dates {margin:0;min-width:180px;font-size:12px;line-height:1.5;display:grid;gap:5px}
#pcRoot .pc-policy-dates>div {display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:baseline}
#pcRoot .pc-policy-dates dt {color:#a2aab6;font-size:11px;font-weight:450}
#pcRoot .pc-policy-dates dd {margin:0;color:#cbd2dc;white-space:nowrap}
#pcRoot .pc-policy-dates .pc-report-date dt,#pcRoot .pc-policy-dates .pc-report-date dd {color:#e4e8ef;font-weight:650}
.pc-dialog .pc-date-fields {margin-top:20px;padding:18px;border:1px solid #34383f;background:#0b0e12;border-radius:10px}
.pc-dialog .pc-date-fields h3 {margin:0 0 14px;color:#d9dfe7;font-size:14px;font-weight:600}
.pc-dialog .pc-date-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pc-dialog .pc-date-grid small {font-size:12px;line-height:1.5;min-height:36px;color:#aeb7c5}
@media (max-width:760px){
 #pcRoot .pc-date-context .pc-period,#pcRoot .pc-date-context .pc-monthbar {align-items:flex-start;gap:15px;flex-direction:column;padding:14px}
 #pcRoot .pc-period-actions {width:100%;gap:12px;align-items:flex-start}
 #pcRoot .pc-period-actions details {min-width:0}
 #pcRoot .pc-date-context-note {padding:11px 14px}
 .pc-dialog .pc-date-grid {grid-template-columns:1fr;gap:14px}
 .pc-dialog .pc-date-grid small {min-height:0}
}
