
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/dm-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/dm-sans-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/syne-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/syne-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/syne-800.ttf) format('truetype');
}
#pm-production{--wine:#6b2943;--ink:#37262e;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:linear-gradient(125deg,#87415a 0%,#c68b90 19%,#ecd1b9 39%,#f3e2cf 50%,#ecd1b9 61%,#c68b90 81%,#87415a 100%);border-radius:18px;position:relative;isolation:isolate;overflow:hidden}
#pm-production *{box-sizing:border-box}
#pm-production button{font-family:inherit;cursor:pointer;line-height:1.3}
#pm-production .bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 34px;border-bottom:1px solid #73485828;background:#fff9ef2b;position:relative;z-index:4}
#pm-production h1{font:800 clamp(23px,3.3vw,35px)/1.1 Syne,Arial,sans-serif;letter-spacing:-.055em;margin:0;color:#552b3d}
#pm-production .bar-right{display:flex;align-items:center;gap:18px}
#pm-production .overview-button{background:#fff3e86b;border:1px solid #7f415236;border-radius:30px;padding:9px 17px;color:#623346;font-size:12px;font-weight:600}
#pm-production .avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#6b2943;color:#fff0df;font-size:11px;font-weight:600;line-height:1}
#pm-production .scene{position:relative;min-height:555px}
#pm-production .watermark{position:absolute;top:58%;left:50%;width:max-content;max-width:none;white-space:nowrap;z-index:0;pointer-events:none;user-select:none;font:800 100px/1.15 Syne,Arial,sans-serif;letter-spacing:-.055em;text-transform:uppercase;color:#65253e22;transform:translate(-50%,-50%) rotate(-24deg) scale(var(--watermark-scale,.45));transform-origin:center;text-align:center}
#pm-production .layout{position:relative;z-index:1;display:flex;flex-direction:column;gap:12px;padding:18px 34px 29px;align-items:center}
#pm-production .orbit-space{position:relative;height:570px;width:100%;min-width:0;touch-action:pan-y}
#pm-production .orbit{position:absolute;width:min(480px,calc(100% - 218px));aspect-ratio:1;left:50%;top:50%;transform:translate(-50%,-50%)}
#pm-production .track{position:absolute;inset:0;border:1px solid #80425565;border-radius:50%;box-shadow:0 0 0 14px #fff7e51f,0 0 0 29px #fff7e512}
#pm-production .track-inner{position:absolute;inset:17%;border-radius:50%;border:1px dashed #89556960}
#pm-production .sweep{position:absolute;inset:8%;border-radius:50%;border:1px solid transparent;border-top-color:#8e4a61a1;border-bottom-color:#fff5e6c4;animation:none}
#pm-production .sweep:after{content:'';width:5px;height:5px;border-radius:50%;background:#7a3f55;position:absolute;left:14%;top:14%;box-shadow:0 0 0 4px #fff5e670}
#pm-production .hub{position:absolute;left:50%;top:50%;width:178px;height:178px;transform:translate(-50%,-50%);border-radius:50%;background:linear-gradient(145deg,#79384f,#5a243b);box-shadow:0 12px 30px #54223b30,0 0 0 8px #fff7e558;display:grid;place-items:center;padding:0}
#pm-production .hub-label{display:block;flex:none;margin:0;padding:0;color:#fff4e5;font:600 19px/1 'DM Sans',Arial,sans-serif;letter-spacing:.015em;text-align:center;white-space:nowrap}
#pm-production .node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:9px;background:#fff7ec;color:#603247;border:1px solid #93617259;border-radius:40px;padding:13px 20px;min-height:49px;max-width:250px;white-space:nowrap;font-size:16px;font-weight:600;box-shadow:0 5px 13px #51243a0f;transition:background .2s,color .2s,box-shadow .2s;z-index:2}
#pm-production .node:hover{background:#fffdf7;box-shadow:0 8px 22px #51243a30}
#pm-production .node[aria-pressed=true]{background:#703148;color:#fff4e4;border-color:#703148;box-shadow:0 8px 20px #51243a2d}
#pm-production .node-index{font-size:9px;opacity:.55;font-weight:600;letter-spacing:.02em}
#pm-production .open{background:#693047;color:#fff4e9;border:0;border-radius:8px;padding:12px 18px;min-height:44px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;transition:background .2s}
#pm-production .open:hover{background:#87445c}
#pm-production .foot{position:relative;display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 34px;padding:17px 0 23px;border-top:1px solid #7844572a;color:#694551;font-size:10px;letter-spacing:.08em}
#pm-production .foot .hint{color:#6c4654;display:flex;gap:8px;align-items:center}
#pm-production .mini-dot{width:4px;height:4px;background:#81516a;border-radius:50%}
#pm-production .category{display:grid;grid-template-columns:195px 1fr;min-height:555px;background:#f9f1e9e8;animation:none}
#pm-production .category-nav{background:#663047;padding:28px 15px;display:flex;flex-direction:column;gap:6px}
#pm-production .category-nav .nav-caption{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#d7b5c2;padding:0 10px 20px}
#pm-production .category-nav button{background:transparent;color:#e6cad6;border:0;border-radius:7px;text-align:left;padding:12px 10px;font-size:12px;min-height:42px}
#pm-production .category-nav button[aria-current=page],#pm-production .category-nav button:hover{background:#fff2e4;color:#633147}
#pm-production .category-body{padding:35px 42px;display:flex;flex-direction:column}
#pm-production .breadcrumb{font-size:11px;color:#9c727e}
#pm-production .category h2{font:700 clamp(30px,4vw,44px)/1.1 Syne,Arial,sans-serif;letter-spacing:-.045em;color:#5d2e42;margin:30px 0}
#pm-production .blank{flex:1;min-height:230px;border:1px solid #e0ced0;border-radius:12px;background:#fff9f1b3;display:grid;place-items:center;padding:25px;text-align:center;color:#a17e88;font-size:13px}
#pm-production .back{margin-top:23px;align-self:flex-start;background:transparent;border:0;color:#793a52;font-size:12px;padding:8px 0}
@keyframes pm-production-turn{to{transform:rotate(360deg)}}
@keyframes pm-production-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#pm-production .sweep,#pm-production .category{animation:none}#pm-production button{transition:none}}

#pm-production .entry-bar{display:flex;align-items:center;justify-content:center;gap:24px;padding:7px 7px 7px 22px;border:1px solid #fff5e58c;background:#fff4e5c4;border-radius:12px;box-shadow:0 8px 24px #6a2e400d;max-width:100%}
#pm-production .selection{font:600 14px/1.3 'DM Sans',Arial,sans-serif;color:#63364b;min-width:90px;text-align:center}
@media(max-width:740px){#pm-production .layout{padding:18px 24px 28px}#pm-production .orbit-space{height:510px}#pm-production .orbit{width:calc(100% - 170px)}#pm-production .hub{width:156px;height:156px}#pm-production .hub-label{font-size:17px}#pm-production .node{font-size:14px;padding:12px 15px;max-width:200px}#pm-production .node-index{display:none}#pm-production .category{grid-template-columns:1fr}#pm-production .category-nav{flex-direction:row;overflow:auto;padding:10px}#pm-production .category-nav button{white-space:nowrap}#pm-production .category-nav .nav-caption{display:none}}
@media(max-width:520px){#pm-production .bar{padding:20px}#pm-production .bar-right .overview-button{display:none}#pm-production .layout{padding:0 18px 25px;gap:0}#pm-production .orbit-space{height:390px}#pm-production .orbit{width:calc(100% - 98px)}#pm-production .hub{width:116px;height:116px}#pm-production .hub-label{font-size:13px}#pm-production .node{font-size:13px;padding:10px 12px;max-width:133px;white-space:normal;line-height:1.2;text-align:center;min-height:45px;gap:0}#pm-production .node:last-child{width:133px}#pm-production .entry-bar{padding:7px;gap:10px;width:100%}#pm-production .selection{font-size:12px;min-width:0;flex:1;padding:0 3px}#pm-production .open{font-size:12px;padding:12px 13px;gap:10px;flex-shrink:0}#pm-production .foot{margin:0 20px;flex-wrap:wrap;font-size:10px}#pm-production .category-body{padding:25px}}
@media(max-width:380px){#pm-production .hub{width:92px;height:92px}#pm-production .hub-label{font-size:11px}#pm-production .node:last-child{width:113px}#pm-production .node{font-size:12px;padding:10px}}

#pm-production .foot{display:block;overflow:hidden;padding:16px 0 20px;margin:0 24px}
#pm-production .motto-track{position:relative;height:22px;width:100%;overflow:hidden}
#pm-production .moving-motto{position:absolute;left:0;top:50%;white-space:nowrap;font:500 11px/1.2 'DM Sans',Arial,sans-serif;letter-spacing:.12em;color:#633344;animation:pm-motto-right 20s linear infinite}
#pm-production .bar{background:#fff9ef4d}
@keyframes pm-motto-right{from{left:0;transform:translate(-100%,-50%)}to{left:100%;transform:translate(0,-50%)}}
@media(prefers-reduced-motion:reduce){#pm-production .moving-motto{animation:none;left:50%;transform:translate(-50%,-50%)}}

#pm-production .theme-toggle{width:36px;height:36px;flex:none;border:1px solid #86516566;border-radius:50%;padding:0;display:grid;place-items:center;background:#fff3e873;color:#633247}
#pm-production .theme-toggle svg{width:17px;height:17px}
#pm-production .theme-toggle .sun{display:none}
#pm-production[data-theme=dark]{color-scheme:dark;--ink:#eadbce;background:linear-gradient(125deg,#45182e 0%,#4c2c3a 19%,#40332e 39%,#493b32 50%,#40332e 61%,#4c2c3a 81%,#45182e 100%)}
#pm-production[data-theme=light]{color-scheme:light}
#pm-production[data-theme=dark] .bar{background:#25131d38;border-bottom-color:#d2a2ac26}
#pm-production[data-theme=dark] h1{color:#f3e1cc}
#pm-production[data-theme=dark] .overview-button{background:#37252d8c;border-color:#aa7b8b59;color:#e5cccd}
#pm-production[data-theme=dark] .avatar{background:#70314c;color:#f9e8d4}
#pm-production[data-theme=dark] .theme-toggle{background:#38242e;border-color:#a4748969;color:#eacbb5}
#pm-production[data-theme=dark] .theme-toggle .sun{display:block}
#pm-production[data-theme=dark] .theme-toggle .moon{display:none}
#pm-production[data-theme=dark] .watermark{color:#e4b4ba24}
#pm-production[data-theme=dark] .track{border-color:#c293a168;box-shadow:0 0 0 14px #e5c5ad0a,0 0 0 29px #e5c5ad06}
#pm-production[data-theme=dark] .track-inner{border-color:#cf9eb45c}
#pm-production[data-theme=dark] .sweep{border-top-color:#c791a585;border-bottom-color:#e6c9ac78}
#pm-production[data-theme=dark] .sweep:after{background:#c28a9e;box-shadow:0 0 0 4px #e4c9bb1c}
#pm-production[data-theme=dark] .hub{background:linear-gradient(145deg,#71334e,#462032);box-shadow:0 12px 30px #16081066,0 0 0 8px #d4afa622}
#pm-production[data-theme=dark] .hub-label{color:#f8e8d4}
#pm-production[data-theme=dark] .node{background:#33242c;color:#f0dfce;border-color:#98718475;box-shadow:0 5px 13px #180b1426}
#pm-production[data-theme=dark] .node:hover{background:#4b3040;box-shadow:0 8px 22px #14090f47}
#pm-production[data-theme=dark] .node[aria-pressed=true]{background:#793b54;color:#fff0df;border-color:#be8d9f9e;box-shadow:0 8px 20px #22091455}
#pm-production[data-theme=dark] .entry-bar{background:#2b2028d9;border-color:#bf90a23d;box-shadow:0 8px 24px #14071125}
#pm-production[data-theme=dark] .selection{color:#ecdbce}
#pm-production[data-theme=dark] .open{background:#82405b;color:#fff0df}
#pm-production[data-theme=dark] .open:hover{background:#985570}
#pm-production[data-theme=dark] .foot{border-top-color:#c091a52c}
#pm-production[data-theme=dark] .moving-motto{color:#dec4b3}
#pm-production[data-theme=dark] .category{background:#292126f5}
#pm-production[data-theme=dark] .category-nav{background:#3b2030}
#pm-production[data-theme=dark] .category-nav .nav-caption{color:#c798b0}
#pm-production[data-theme=dark] .category-nav button{color:#e5cbd5}
#pm-production[data-theme=dark] .category-nav button[aria-current=page],#pm-production[data-theme=dark] .category-nav button:hover{background:#79415b;color:#ffeddd}
#pm-production[data-theme=dark] .breadcrumb{color:#c69aac}
#pm-production[data-theme=dark] .category h2{color:#f2dfcc}
#pm-production[data-theme=dark] .blank{border-color:#78516170;background:#362932a3;color:#c8aeb7}
#pm-production[data-theme=dark] .back{color:#e1aec3}
@media(max-width:520px){#pm-production .bar-right{gap:0}#pm-production .bar-right .avatar{display:none}#pm-production .bar{gap:12px}}

#pm-production[data-page=workspace] > .bar{display:none}
#pm-production[data-page=workspace] .scene{min-height:680px}
#pm-production .workspace-page{min-height:680px;padding:32px clamp(24px,5vw,64px) 45px;display:flex;flex-direction:column;position:relative}
#pm-production .workspace-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid #82506536}
#pm-production .workspace-back{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#6b344b;font-size:12px;font-weight:600;padding:9px 0;min-height:40px}
#pm-production .workspace-page h2{font:700 clamp(33px,5vw,56px)/1.08 Syne,Arial,sans-serif;letter-spacing:-.05em;color:#5b293f;margin:45px 0 0;overflow-wrap:break-word}
#pm-production .workspace-canvas{flex:1;min-height:390px}
#pm-production[data-theme=dark] .workspace-top{border-bottom-color:#c396a638}
#pm-production[data-theme=dark] .workspace-back{color:#e8c6d2}
#pm-production[data-theme=dark] .workspace-page h2{color:#f2dfcc}
@media(max-width:520px){#pm-production .workspace-page{padding:22px;min-height:600px}#pm-production[data-page=workspace] .scene{min-height:600px}}
#pm-production{--p-panel:#fff7ec;--p-soft:#f3e5dc;--p-line:#d9bfc4;--p-text:#532c3b;--p-muted:#886574;--p-top:#9b4668;--p-trouser:#a47a44;--p-active:#6e3049;--p-on:#fff1df;--p-good:#42644f}
#pm-production[data-theme=dark]{--p-panel:#2c2429;--p-soft:#362b31;--p-line:#5b414e;--p-text:#f0dfcc;--p-muted:#c09da9;--p-top:#c784a0;--p-trouser:#dfbe8e;--p-active:#82415f;--p-on:#fff1df;--p-good:#b3c9aa}
#pm-production .production-page{padding:24px clamp(20px,4vw,44px) 32px;color:var(--p-text);min-height:710px}
#pm-production .production-page button,#pm-production .production-page input,#pm-production .production-page select{font-family:'DM Sans',Arial,sans-serif}
#pm-production .p-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:19px;border-bottom:1px solid var(--p-line)}
#pm-production .p-back{border:0;background:transparent;color:var(--p-muted);font-size:12px;padding:7px 0;min-height:36px;text-align:left}
#pm-production .p-topright{display:flex;align-items:center;gap:14px}
#pm-production .p-demo{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--p-muted);border:1px solid var(--p-line);padding:5px 8px;border-radius:5px;white-space:nowrap}
#pm-production .p-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin:25px 0 24px}
#pm-production .p-kicker{color:var(--p-muted);font-size:10px;letter-spacing:.15em;text-transform:uppercase;margin:0 0 8px;font-weight:600}
#pm-production .p-heading h2{font:700 clamp(30px,4vw,44px)/1.06 Syne,Arial,sans-serif;letter-spacing:-.045em;margin:0;color:var(--p-text)}
#pm-production .p-sub{color:var(--p-muted);font-size:12px;line-height:1.5;margin:10px 0 0}
#pm-production .p-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
#pm-production .p-select{background:var(--p-panel);color:var(--p-text);border:1px solid var(--p-line);border-radius:7px;padding:9px 11px;min-height:38px;font-size:12px;max-width:100%}
#pm-production .p-btn{border:1px solid var(--p-line);border-radius:7px;background:var(--p-panel);color:var(--p-text);font-size:12px;font-weight:600;min-height:38px;padding:10px 13px}
#pm-production .p-btn:hover{background:var(--p-soft)}
#pm-production .p-btn.primary{background:var(--p-active);color:var(--p-on);border-color:var(--p-active)}
#pm-production .p-split{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:19px;align-items:start}
#pm-production .p-block{background:var(--p-panel);border:1px solid var(--p-line);border-radius:12px;padding:22px;min-width:0}
#pm-production .p-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:19px}
#pm-production h3.p-section-title{font:600 15px/1.2 'DM Sans',Arial,sans-serif;color:var(--p-text);margin:0}
#pm-production .p-micro{font-size:11px;color:var(--p-muted)}
#pm-production .p-total{display:flex;align-items:baseline;gap:11px;margin-bottom:16px}
#pm-production .p-total strong{font:700 39px/1 Syne,Arial,sans-serif;letter-spacing:-.055em;color:var(--p-text)}
#pm-production .p-total span{font-size:12px;color:var(--p-muted)}
#pm-production .p-weeks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#pm-production .p-weeks.five{grid-template-columns:repeat(5,minmax(0,1fr))}
#pm-production .p-week{border:0;background:transparent;padding:0;color:var(--p-text);text-align:center;min-width:0}
#pm-production .p-week-label{display:block;margin-bottom:10px;color:var(--p-muted);font-size:11px}
#pm-production .p-bracket{position:relative;display:grid;place-items:center;min-height:64px;font:600 29px/1 Syne,Arial,sans-serif;background:var(--p-soft);border-radius:2px;color:var(--p-text)}
#pm-production .p-bracket:before,#pm-production .p-bracket:after{content:'';position:absolute;top:0;bottom:0;width:9px;border:1px solid var(--p-top)}
#pm-production .p-bracket:before{left:0;border-right:0}#pm-production .p-bracket:after{right:0;border-left:0}
#pm-production .p-week:hover .p-bracket{background:var(--p-active);color:var(--p-on)}
#pm-production .p-breakdown{display:flex;flex-wrap:wrap;justify-content:center;gap:3px 9px;margin-top:9px;font-size:10px;color:var(--p-muted);line-height:1.5}
#pm-production .p-graph{margin-top:19px}
#pm-production .p-periods{display:flex;background:var(--p-soft);border-radius:6px;padding:3px;gap:2px}
#pm-production .p-periods button{background:transparent;border:0;color:var(--p-muted);font-size:11px;border-radius:4px;padding:6px 9px;min-height:30px}
#pm-production .p-periods button[aria-pressed=true]{background:var(--p-active);color:var(--p-on)}
#pm-production .p-chart-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
#pm-production .p-legend{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--p-muted)}
#pm-production .p-legend span{display:flex;align-items:center;gap:6px}
#pm-production .p-swatch{width:8px;height:8px;background:var(--p-top);display:inline-block}
#pm-production .p-swatch.trouser{background:var(--p-trouser);border-radius:50%}
#pm-production .p-delta{font-size:11px;color:var(--p-good)}
#pm-production .p-chart{width:100%;height:192px;position:relative}
#pm-production .p-chart svg{display:block;width:100%;height:192px}
#pm-production .p-chart-caption{font-size:10px;color:var(--p-muted);margin-top:9px}
#pm-production .p-staff-panel{padding:20px 17px}
#pm-production .p-person{border:0;border-top:1px solid var(--p-line);background:transparent;color:var(--p-text);display:flex;align-items:center;gap:10px;padding:16px 0;width:100%;text-align:left}
#pm-production .p-person:hover{color:var(--p-top)}
#pm-production .p-initial{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:var(--p-soft);color:var(--p-top);font-size:12px;font-weight:600;flex:none}
#pm-production .p-person-name{font-size:12px;font-weight:600;flex:1}
#pm-production .p-person-name small{display:block;font-size:10px;font-weight:400;color:var(--p-muted);margin-top:5px;line-height:1.4}
#pm-production .p-person-total{font-size:14px;font-weight:600;text-align:right}
#pm-production .p-person-total small{display:block;font-size:10px;font-weight:400;color:var(--p-muted);margin-top:4px}
#pm-production .p-wide{width:100%;margin-top:12px}
#pm-production .p-staff-note{font-size:11px;color:var(--p-muted);line-height:1.5;margin:15px 0 0}
#pm-production .p-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
#pm-production .p-month{border:1px solid var(--p-line);background:var(--p-panel);border-radius:10px;padding:19px;text-align:left;color:var(--p-text);min-height:125px}
#pm-production .p-month:hover{border-color:var(--p-top);background:var(--p-soft)}
#pm-production .p-month span{display:block;font-size:12px;color:var(--p-muted)}
#pm-production .p-month strong{display:block;font:600 28px/1 Syne,Arial,sans-serif;margin:14px 0 8px;color:var(--p-text)}
#pm-production .p-month small{font-size:10px;color:var(--p-muted)}
#pm-production .p-trail{font-size:11px;color:var(--p-muted);display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:22px}
#pm-production .p-trail button{border:0;background:none;padding:0;color:var(--p-muted);font-size:11px;text-decoration:underline;text-underline-offset:3px}
#pm-production .p-ledger{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#pm-production .p-piece{display:flex;gap:8px;align-items:center;padding:9px 0;border-top:1px solid var(--p-line)}
#pm-production .p-row-num{font-size:10px;width:20px;flex:none;color:var(--p-muted)}
#pm-production .p-input{width:100%;min-width:0;background:var(--p-soft);border:1px solid var(--p-line);border-radius:5px;color:var(--p-text);font-size:13px;line-height:1.4;padding:8px 10px}
#pm-production .p-delete{border:0;background:none;color:var(--p-muted);padding:7px;font-size:18px;line-height:1}
#pm-production .p-add-piece{border:1px dashed var(--p-line);background:transparent;color:var(--p-muted);border-radius:6px;width:100%;padding:10px;font-size:12px;margin-top:10px}
#pm-production .p-savebar{margin-top:23px;padding-top:20px;border-top:1px solid var(--p-line);display:flex;justify-content:space-between;align-items:center;gap:20px}
#pm-production .p-savebar .p-sub{margin:0}
#pm-production .p-save-actions{display:flex;align-items:center;gap:16px}
#pm-production .p-saved{font-size:11px;color:var(--p-good)}
#pm-production .p-table{border-collapse:collapse;width:100%;font-size:13px;color:var(--p-text)}
#pm-production .p-table th{color:var(--p-muted);font-size:11px;font-weight:500;text-align:right;padding:0 10px 13px}
#pm-production .p-table th:first-child,#pm-production .p-table td:first-child{text-align:left;padding-left:0}
#pm-production .p-table td{border-top:1px solid var(--p-line);padding:17px 10px;text-align:right}
#pm-production .p-table button{border:0;background:transparent;color:var(--p-text);font-size:13px;text-decoration:underline;text-underline-offset:4px;padding:0}
#pm-production .p-inline-form{margin-top:15px;padding-top:15px;border-top:1px solid var(--p-line)}
#pm-production .p-inline-form label{display:block;font-size:11px;color:var(--p-muted);margin-bottom:8px}
#pm-production .p-inline-form .p-btn{margin-top:10px;width:100%}
@media(max-width:800px){#pm-production .p-split{grid-template-columns:1fr}#pm-production .p-staff-panel{display:block}#pm-production .p-months{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){#pm-production .production-page{padding:18px}#pm-production .p-heading{align-items:flex-start;flex-direction:column;gap:15px}#pm-production .p-block{padding:17px}#pm-production .p-weeks,#pm-production .p-weeks.five{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#pm-production .p-section-head{flex-wrap:wrap}#pm-production .p-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#pm-production .p-month{padding:15px}#pm-production .p-ledger{grid-template-columns:1fr}#pm-production .p-savebar{align-items:flex-start;flex-direction:column}#pm-production .p-save-actions{width:100%;justify-content:space-between}#pm-production .p-input{font-size:16px}#pm-production .p-table th,#pm-production .p-table td{padding-left:5px;padding-right:5px}}

#pm-production .p-split{display:flex;flex-direction:column;gap:28px}
#pm-production .p-split>div{width:100%}
#pm-production .p-staff-panel{order:-1;width:100%;background:transparent;border:0;padding:0}
#pm-production .o-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#pm-production .o-profile{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:var(--p-text);min-width:0}
#pm-production .o-profile:hover{background:var(--p-soft)}
#pm-production .o-avatar{width:74px;height:74px;display:grid;place-items:center;background:var(--p-soft);border-radius:50%;overflow:hidden;color:var(--p-top);font:600 24px Syne,Arial}
#pm-production .o-avatar img{width:100%;height:100%;object-fit:cover}
#pm-production .o-profile strong{font-size:16px;font-weight:600}
#pm-production .o-profile-open{width:100%;border-top:1px solid var(--p-line);padding-top:14px;margin-top:5px;font-size:12px;color:var(--p-muted)}
#pm-production .o-photo-row{display:flex;align-items:center;gap:18px;margin:24px 0}
#pm-production .o-photo-row label{font-size:12px;color:var(--p-muted)}
#pm-production .o-photo-row input{display:block;margin-top:8px;max-width:220px}
#pm-production .o-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px}
#pm-production .o-table-wrap{overflow-x:auto}
#pm-production .o-sheet th{text-align:left}#pm-production .o-sheet td{padding:12px 8px;text-align:left}
#pm-production .o-sheet tbody tr:nth-child(even){background:var(--p-soft)}
#pm-production .o-sheet .p-input{min-width:75px;background:transparent}
#pm-production .o-sheet .o-remove{font-size:22px;text-decoration:none;min-width:30px}
#pm-production .o-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px}
#pm-production .o-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:28px}
#pm-production .o-totals strong{display:block;font:600 27px Syne,Arial;margin-top:12px;overflow-wrap:anywhere}
#pm-production .o-spaced{margin-bottom:28px}
#pm-production .o-form{display:flex;align-items:end;gap:16px;flex-wrap:wrap}
#pm-production .o-form label{flex:1;min-width:150px;font-size:12px;color:var(--p-muted)}
#pm-production .o-form input{margin-top:8px}
#pm-production .o-search{display:block;max-width:360px;margin-bottom:24px}
#pm-production .o-search input{margin-top:8px}
#pm-production .o-measure-sections{display:grid;gap:24px}
#pm-production .o-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px}
#pm-production .o-label{display:block;font-size:12px;color:var(--p-muted)}
#pm-production .o-label input{margin-top:8px}
#pm-production .o-name{max-width:550px;font-size:18px}
#pm-production .production-page{padding-bottom:50px}
#pm-production .p-chart{height:auto;min-height:200px}
#pm-production[data-theme=light]{--p-muted:#735360}
@media(max-width:700px){#pm-production .o-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}#pm-production .o-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){#pm-production .o-profiles,#pm-production .o-fields{grid-template-columns:1fr}#pm-production .o-totals{grid-template-columns:repeat(2,minmax(0,1fr))}#pm-production .o-totals strong{font-size:23px}#pm-production .o-photo-row{flex-wrap:wrap}#pm-production .p-input{font-size:16px}}


/* Readable surfaces and explicit theme colours */
#pm-production{--p-muted:#654653;--p-text:#482332;--p-mark:#60273e}
#pm-production[data-theme=light]{--p-muted:#654653;--p-text:#482332;--p-mark:#60273e}
#pm-production[data-theme=dark]{--p-muted:#dbc3cc;--p-text:#fff0df;--p-mark:#ffe4e9}
#pm-production .bar{background:var(--p-panel)}
#pm-production .bar h1{color:var(--p-text)}
#pm-production .production-page{position:relative;isolation:isolate;background:linear-gradient(125deg,#e3beca 0%,#f4e6d5 38%,#f4e6d5 62%,#e3beca 100%)}
#pm-production[data-theme=dark] .production-page{background:linear-gradient(125deg,#45182e 0%,#40332e 39%,#493b32 50%,#40332e 61%,#45182e 100%)}
#pm-production .o-profile,#pm-production .o-profile strong,#pm-production .p-person-name,#pm-production .p-person-total,#pm-production .p-heading h2,#pm-production .p-table button,#pm-production .p-trail button{color:var(--p-text)}
#pm-production .p-kicker,#pm-production .p-back,#pm-production .p-sub,#pm-production .p-micro,#pm-production .p-trail,#pm-production .p-week-label,#pm-production .p-breakdown{color:var(--p-muted)}
#pm-production .o-profile strong{opacity:1}
#pm-production .foot{background:var(--p-panel);margin:0;padding:18px 24px 22px}
#pm-production .motto-track{height:32px}
#pm-production .moving-motto{font-size:16px;font-weight:700;color:var(--p-text)}
#pm-production .p-week-dates{display:block;font-size:11px;font-weight:500;line-height:1.5;margin:4px 0 9px;color:var(--p-muted)}
@media(max-width:520px){#pm-production .p-actions{width:100%}#pm-production .p-select{max-width:100%}#pm-production .moving-motto{font-size:14px;letter-spacing:.06em}}


#pm-production[data-page=login]>.bar{display:none}
#pm-production .login-page{min-height:650px;padding:65px 24px;background:var(--p-panel);text-align:center;color:var(--p-text)}
#pm-production .login-page h2{font:700 clamp(28px,5vw,44px) Syne,Arial;margin:12px 0;color:var(--p-text)}
#pm-production .login-card{max-width:420px;margin:32px auto 0;display:grid;gap:22px;text-align:left;background:var(--p-soft)}
#pm-production .login-card .p-select{display:block;width:100%;margin-top:8px}
#pm-production .account-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
#pm-production .p-topbar,#pm-production .p-topright,#pm-production .bar-right{flex-wrap:wrap}
#pm-production .permission-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid var(--p-line);color:var(--p-text);font-size:14px}
#pm-production .permission-row input{width:19px;height:19px;accent-color:var(--p-active)}
#pm-production button:disabled{opacity:.5;cursor:not-allowed}
#pm-production .p-week-dates{line-height:1.6;max-width:180px;margin:5px auto 12px}
#pm-production .p-section-head{flex-wrap:wrap}
#pm-production .p-select[data-exp-week]{width:340px;max-width:100%;white-space:normal}
@media(max-width:600px){#pm-production .p-weeks,#pm-production .p-weeks.five{grid-template-columns:repeat(2,minmax(0,1fr))}#pm-production .account-actions .p-micro{display:none}}


#pm-production .login-page .login-brand{font:700 14px/1.3 'DM Sans',Arial,sans-serif;color:var(--p-text);letter-spacing:.12em;margin:0 0 14px;text-align:center}
#pm-production .login-page h2{font-size:clamp(28px,5vw,44px);font-weight:700;letter-spacing:-.045em;margin:0 0 12px}

html,body{margin:0;min-height:100%;background:#2c2429}#pm-production{border-radius:0;min-height:100vh}#pm-production .live-message{position:sticky;bottom:0;z-index:20;padding:14px 24px;background:var(--p-panel);color:var(--p-text);border-top:1px solid var(--p-line);font-size:14px;display:flex;gap:20px;align-items:center}#pm-production .p-input:focus,#pm-production button:focus-visible{outline:2px solid var(--p-top);outline-offset:3px}#pm-production .login-brand{font-size:14px;font-weight:700}#pm-production .p-table input{font-size:14px}#pm-production .p-micro,#pm-production .p-sub,#pm-production .p-back,#pm-production .p-week-dates{font-size:12px}#pm-production .p-kicker{font-size:12px}#pm-production .login-card label,#pm-production .p-btn{font-size:14px}#pm-production .p-input{box-sizing:border-box;width:100%}#pm-production .theme-toggle{font-size:20px}

/* Footer follows every page and rests at the bottom of short pages. */
#pm-production{display:flex;flex-direction:column;min-height:100vh}
#pm-production .scene{flex:1 0 auto}
#pm-production .foot{margin-top:auto;flex:0 0 auto;padding-bottom:22px}
#pm-production .moving-motto{font-size:17px;font-weight:700}
/* Clear workspace type hierarchy and large, obvious return control. */
#pm-production .production-page{font-size:15px;line-height:1.55}
#pm-production .production-page .p-sub,#pm-production .production-page .p-person-name,#pm-production .production-page .o-label,#pm-production .production-page .p-table{font-size:15px}
#pm-production .production-page .p-micro,#pm-production .production-page .p-week-label,#pm-production .production-page .p-week-dates,#pm-production .production-page .p-breakdown,#pm-production .production-page .p-trail{font-size:13px}
#pm-production .production-page .p-btn,#pm-production .production-page .p-select{font-size:15px}
#pm-production .production-page .p-input{font-size:16px;min-height:42px}
#pm-production .production-page h3.p-section-title{font-size:17px}
#pm-production .production-page .p-back,#pm-production .workspace-back{font-size:16px;font-weight:700;min-height:48px;color:var(--p-text);padding:10px 3px}
#pm-production .production-page .p-back[data-home]{font-size:17px}
#pm-production .production-page [data-client-name]{display:block;margin-top:18px}
@media(max-width:520px){#pm-production .production-page .p-back[data-home]{font-size:16px}#pm-production .moving-motto{font-size:15px}}

/* Browser-independent sizing and responsive page geometry. */
html{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;min-width:320px}
#pm-production{width:100%;min-width:0;min-height:100vh;min-height:100dvh;overflow:clip}
#pm-production button,#pm-production input,#pm-production select{font-family:'DM Sans',Arial,sans-serif;font-size:inherit;line-height:1.4;letter-spacing:normal}
#pm-production button,#pm-production input:not([type=checkbox]),#pm-production select{-webkit-appearance:none;appearance:none}
#pm-production button{touch-action:manipulation}
#pm-production input,#pm-production select{max-width:100%;min-width:0}
#pm-production input[type=date]{display:block;min-height:44px}
#pm-production input[type=number]{-moz-appearance:textfield;appearance:textfield}
#pm-production input[type=number]::-webkit-inner-spin-button,#pm-production input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#pm-production .p-select{padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23735360' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#pm-production[data-theme=dark] .p-select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23dbc3cc' stroke-width='2'/%3E%3C/svg%3E")}
#pm-production .scene{flex:1 0 auto;min-width:0;min-height:0}
#pm-production[data-page=workspace] .scene{min-height:0;display:flex;flex-direction:column}
#pm-production .production-page{flex:1;min-width:0;min-height:0}
#pm-production .bar{flex-wrap:wrap;gap:16px}
#pm-production .bar-right{gap:12px;min-width:0}
#pm-production .p-topbar,#pm-production .p-topright,#pm-production .account-actions{min-width:0;gap:12px}
#pm-production .account-actions{display:flex;flex-wrap:wrap}
#pm-production .p-topbar .p-back{flex-shrink:1}
#pm-production .p-heading>div:first-child{min-width:0}
#pm-production .p-heading h2,#pm-production .o-profile strong,#pm-production .p-trail,#pm-production .p-sub{overflow-wrap:anywhere}
#pm-production .p-actions{min-width:0;max-width:100%}
#pm-production .p-total{flex-wrap:wrap}
#pm-production .p-section-head>*,#pm-production .p-savebar>*,#pm-production .o-bottom>*{min-width:0}
#pm-production .p-demo{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#pm-production .o-form{align-items:flex-end}
#pm-production .o-form label{min-width:0;flex:1 1 190px}
#pm-production .o-label,#pm-production .o-search{min-width:0}
#pm-production .o-name{width:100%;max-width:100%}
#pm-production .o-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
#pm-production .o-sheet{min-width:470px;table-layout:auto}
#pm-production .o-sheet .p-input{min-width:110px}
#pm-production .o-sheet td:first-child{max-width:280px}
#pm-production .p-table td{overflow-wrap:anywhere}
#pm-production .p-table:not(.o-sheet){table-layout:fixed}
#pm-production .p-chart svg{width:100%;max-width:100%}
#pm-production .o-photo-row input{width:100%;max-width:100%}
#pm-production .login-page{min-height:0;padding:clamp(36px,8vh,80px) 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;flex:1}
#pm-production[data-page=login] .scene{display:flex;flex-direction:column}
#pm-production .login-card{width:100%;margin-top:28px}
#pm-production .login-card label{display:block}
#pm-production .layout{width:100%;max-width:1100px;margin-inline:auto}
#pm-production .orbit-space{display:flex;align-items:center;justify-content:center;height:570px}
#pm-production .orbit{--orbit-size:min(480px,calc(100% - 230px));position:relative;left:auto;top:auto;transform:none;width:var(--orbit-size);height:auto;aspect-ratio:1;flex:none}
#pm-production .hub{display:flex;align-items:center;justify-content:center;text-align:center}
#pm-production .hub-label{line-height:1.3;width:100%;text-align:center}
#pm-production .node{font-size:16px;line-height:1.3}
#pm-production .entry-bar{max-width:100%;min-width:0}
#pm-production .selection{min-width:0;overflow-wrap:anywhere}
#pm-production .open{font-size:14px}
#pm-production .foot{margin:0;margin-top:auto;padding:14px max(20px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}
#pm-production .motto-track{height:32px}
#pm-production .moving-motto{line-height:1.4}
#pm-production .live-message{position:relative;bottom:auto;flex-wrap:wrap;overflow-wrap:anywhere}
@media(max-width:1100px){
 #pm-production .bar h1{flex-basis:100%;min-width:0}
 #pm-production .bar-right{width:100%;justify-content:flex-end}
}
@media(max-width:900px){
 #pm-production .p-heading{flex-wrap:wrap;align-items:flex-start}
 #pm-production .p-heading>.p-actions{width:100%}
 #pm-production .p-select[data-exp-week]{flex:1 1 340px;width:auto}
 #pm-production .p-weeks,#pm-production .p-weeks.five{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:740px){
 #pm-production .orbit{--orbit-size:min(420px,calc(100% - 184px))}
 #pm-production .orbit-space{height:480px}
 #pm-production .node{font-size:14px;max-width:184px}
 #pm-production .hub{width:140px;height:140px}
 #pm-production .hub-label{font-size:16px}
}
@media(max-width:600px){
 #pm-production .bar{padding:20px 18px;align-items:center}
 #pm-production .bar h1{font-size:clamp(20px,6.5vw,26px);flex:1 1 200px}
 #pm-production .bar-right{gap:10px;justify-content:flex-end}
 #pm-production .bar-right .overview-button,#pm-production .bar-right .avatar{display:none}
 #pm-production .bar-right .account-actions{gap:8px}
 #pm-production .theme-toggle{width:44px;height:44px}
 #pm-production .production-page{padding:18px 16px 32px}
 #pm-production .p-topbar{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding-bottom:16px}
 #pm-production .p-topbar .p-back{justify-self:start;text-align:left;max-width:100%}
 #pm-production .p-topright{display:flex;justify-content:space-between;flex-wrap:wrap;width:100%;gap:8px}
 #pm-production .p-topright>.p-demo{display:none}
 #pm-production .p-topright>.account-actions{margin-left:auto}
 #pm-production .p-heading{margin:24px 0;gap:16px;flex-direction:column;align-items:stretch}
 #pm-production .p-heading h2{font-size:clamp(28px,7.5vw,40px);line-height:1.15}
 #pm-production .p-actions{width:100%;display:flex;flex-wrap:wrap;gap:10px}
 #pm-production .p-actions>.p-select{flex:1 1 100px;width:0}
 #pm-production .p-actions>.p-select[data-exp-week]{flex-basis:100%;width:100%}
 #pm-production .p-select,#pm-production .p-btn{min-height:44px}
 #pm-production .p-block{padding:18px 16px}
 #pm-production .p-weeks,#pm-production .p-weeks.five{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 #pm-production .p-week-dates{max-width:100%;min-height:4.8em}
 #pm-production .p-months{grid-template-columns:repeat(2,minmax(0,1fr))}
 #pm-production .o-profiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #pm-production .o-profile{padding:18px 12px}
 #pm-production .o-profile strong{font-size:15px}
 #pm-production .o-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 #pm-production .o-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #pm-production .o-totals strong{font-size:24px}
 #pm-production .o-totals .p-block{padding:16px 12px}
 #pm-production .o-form{gap:18px}
 #pm-production .o-form label{flex-basis:100%;width:100%}
 #pm-production .o-form>.p-btn{width:100%}
 #pm-production .o-tabs{gap:8px}
 #pm-production .o-tabs .p-btn{flex:1 1 auto}
 #pm-production .o-bottom,#pm-production .p-savebar{flex-wrap:wrap;gap:16px}
 #pm-production .p-ledger{grid-template-columns:1fr}
 #pm-production .p-periods{max-width:100%;flex-wrap:wrap}
 #pm-production .p-periods button{min-height:40px;font-size:13px}
 #pm-production .p-photo-row{flex-wrap:wrap}
 #pm-production .login-page{padding:36px 16px}
 #pm-production .login-page h2{font-size:32px}
 #pm-production .login-card{gap:22px}
 #pm-production .layout{padding:8px 16px 160px;gap:8px}
 #pm-production .orbit-space{height:clamp(320px,calc(100vw + 10px),410px)}
 #pm-production .orbit{--orbit-size:min(330px,calc(100% - 112px))}
 #pm-production .hub{width:38%;height:38%;min-width:66px;min-height:66px}
 #pm-production .hub-label{font-size:clamp(11px,3vw,15px);letter-spacing:0}
 #pm-production .node,#pm-production .node:last-child{width:112px;max-width:112px;min-height:48px;padding:10px 8px;font-size:13px;white-space:normal;gap:0;text-align:center}
 #pm-production .node[data-select='1'],#pm-production .node[data-select='4']{top:30%}
 #pm-production .node[data-select='2']{left:88%}
 #pm-production .node[data-select='3']{left:12%}
 #pm-production .track{box-shadow:0 0 0 10px #fff7e51f,0 0 0 20px #fff7e512}
 #pm-production .entry-bar{width:100%;padding:8px;gap:8px}
 #pm-production .selection{flex:1;font-size:13px;line-height:1.4}
 #pm-production .open{font-size:13px;padding:12px;gap:10px;flex-shrink:0}
 #pm-production .moving-motto{font-size:15px;letter-spacing:.04em}
}
@media(max-width:360px){
 #pm-production .bar-right{width:100%;justify-content:space-between}
 #pm-production .o-profiles,#pm-production .o-fields{grid-template-columns:1fr}
 #pm-production .node,#pm-production .node:last-child{width:104px;max-width:104px;font-size:12px}
 #pm-production .orbit{--orbit-size:calc(100% - 104px)}
 #pm-production .hub{width:36%;height:36%}
 #pm-production .entry-bar{flex-direction:column;gap:8px}
 #pm-production .selection{padding:4px}
 #pm-production .open{width:100%}
}
@media(prefers-reduced-motion:reduce){
 #pm-production .motto-track{height:auto;min-height:32px;display:flex;align-items:center;justify-content:center}
 #pm-production .moving-motto{position:static;animation:none;transform:none;white-space:normal;text-align:center;line-height:1.5}
}
