@import"https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap";:root{color-scheme:light;font-family:Sora,Avenir Next,sans-serif;line-height:1.5;font-weight:400;color:#1f2a2e;background-color:#f3efe6;--bg: #f3efe6;--surface: #ffffff;--ink: #1f2a2e;--muted: #5f6b6f;--accent: #1f7a64;--accent-2: #d08b4e;--line: #e3dacb;--shadow: 0 18px 36px rgba(31, 42, 46, .08);--nav-shell: rgba(255, 255, 255, .78);--nav-group-surface: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(249, 244, 236, .96) 100%);--nav-tab-idle: rgba(255, 255, 255, .78);--nav-tab-hover: rgba(255, 250, 243, .96);--nav-tab-shadow: 0 14px 28px rgba(31, 122, 100, .18);--nav-focus: rgba(31, 122, 100, .24);--control-radius: 16px}*{box-sizing:border-box}html{overflow-y:scroll}@supports (scrollbar-gutter: stable){html{overflow-y:auto;scrollbar-gutter:stable}}body{margin:0;min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at 15% 20%,#f9f6ef 0%,transparent 45%),radial-gradient(circle at 80% 10%,#e9f3ee 0%,transparent 40%),linear-gradient(160deg,#f3efe6,#edf2f3)}#app{min-height:100vh}.app-shell,.auth-shell{max-width:1200px;margin:0 auto;padding:3rem 1.5rem 4rem;animation:fadeUp .6s ease}.auth-header{margin-bottom:2rem}.auth-header h1,.app-header h1{margin:0 0 .25rem;font-size:2.3rem}.auth-brand-link{color:inherit;text-decoration:none}.auth-brand-link:hover{text-decoration:underline}.app-brand-link{color:inherit;text-decoration:none}.app-brand-link:hover{text-decoration:underline}.auth-header p,.app-header p{margin:0;color:var(--muted)}.auth-return-link{margin-top:.35rem}.auth-return-link a{color:var(--accent);font-weight:600;text-decoration:none}.auth-return-link a:hover{text-decoration:underline}.locale-switch{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}.locale-flag{width:14px;height:10px;border-radius:2px;border:1px solid #d6d0c3;box-shadow:inset 0 0 0 .5px #00000014;background-size:100% 100%;background-repeat:no-repeat;flex:0 0 auto}.locale-flag-pl{background-image:linear-gradient(to bottom,#fff 0,#fff 50%,#dc143c 50%,#dc143c)}.locale-flag-en{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpolygon points='0,0 8,0 60,32 60,40 52,40 0,8' fill='%23fff'/%3E%3Cpolygon points='60,0 52,0 0,32 0,40 8,40 60,8' fill='%23fff'/%3E%3Cpolygon points='0,0 4,0 60,36 60,40 56,40 0,4' fill='%23c8102e'/%3E%3Cpolygon points='60,0 56,0 0,36 0,40 4,40 60,4' fill='%23c8102e'/%3E%3Crect x='24' width='12' height='40' fill='%23fff'/%3E%3Crect y='14' width='60' height='12' fill='%23fff'/%3E%3Crect x='26' width='8' height='40' fill='%23c8102e'/%3E%3Crect y='16' width='60' height='8' fill='%23c8102e'/%3E%3C/svg%3E")}.app-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1.5rem;align-items:flex-start;margin-bottom:2rem}.user-bar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:flex-end}.chip{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:999px;background:#eef4f1;color:#1a4c3f;font-size:.85rem;font-weight:600;min-height:2.25rem;max-width:min(100%,26rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip.muted{background:#efeae0;color:var(--muted)}.grid,.auth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.panel{background:var(--surface);border-radius:18px;padding:1.5rem;box-shadow:var(--shadow);border:1px solid var(--line);display:flex;flex-direction:column;gap:1rem}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.panel h2{margin:0;font-size:1.35rem}.form{display:grid;gap:.85rem}.form label{display:grid;gap:.4rem;font-size:.9rem;color:var(--muted)}.file-input-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-input-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.file-input-name{font-size:.88rem}input:not([type=checkbox]):not([type=radio]):not([type=range]),select{border:1px solid var(--line);border-radius:12px;padding:.6rem .75rem;font-size:.95rem;font-family:inherit;background:#fffdf9}input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,select:focus{outline:2px solid rgba(31,122,100,.2);border-color:var(--accent)}input[type=checkbox]{width:16px;height:16px;margin:0;padding:0;accent-color:var(--accent)}.btn{border:none;border-radius:var(--control-radius);padding:.6rem 1.2rem;font-size:.9rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 12px 20px #1f7a6433}.btn.secondary{background:var(--accent-2);color:#fff;box-shadow:0 12px 20px #d08b4e33}.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn.ghost.danger{border-color:#e3b5ae;color:#a23a2a}.btn.ghost.success{border-color:#b9ddcf;color:#21654d;background:#f1faf6}.btn.ghost.info{border-color:#b7d2e4;color:#2f6183;background:#edf5fb}.btn.ghost.warning{border-color:#e8c79d;color:#8a5a22;background:#fdf4e8}.btn:hover{transform:translateY(-1px)}.btn:disabled{cursor:not-allowed;opacity:.6;transform:none;box-shadow:none}.btn.is-loading,input[type=submit].is-loading,input[type=button].is-loading{cursor:progress}.list{display:grid;gap:.75rem}.list-item{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 1rem;border:1px solid var(--line);border-radius:14px;background:#fffdf9}.chip-row{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}.btn.small{padding:.35rem .7rem;font-size:.78rem}.absence-list{margin-top:.8rem;display:grid;gap:.4rem}.absence-row{display:flex;justify-content:space-between;gap:.6rem;align-items:center;padding:.35rem .5rem;border-radius:10px;border:1px dashed var(--line);background:#fffdf9;font-size:.85rem}.absence-row>div{display:grid;gap:.2rem}.absence-range{font-weight:600}.absence-reason{color:var(--muted);font-size:.8rem}.options{display:grid;gap:.4rem}.option{display:flex;gap:.5rem;align-items:center;font-size:.85rem}.muted{color:var(--muted);margin:0}.summary-title{display:block;margin:.6rem 0 .35rem;color:var(--ink);font-weight:600}.summary-list{margin:0 0 .6rem;padding-left:1.2rem;color:var(--muted);font-size:.9rem}.summary-list li{margin:.25rem 0}.message{margin-bottom:1rem;padding:.8rem 1rem;border-radius:12px;font-size:.9rem}.message.info{background:#ecf5f2;color:#1f7a64;border:1px solid #c6e4da}.message.error{background:#fbeeee;color:#a23a2a;border:1px solid #f1c3ba}.message.hidden{display:none}.toast-root{position:fixed;top:1.5rem;right:1.5rem;display:flex;flex-direction:column;gap:.5rem;z-index:50}.toast{max-width:320px;padding:.75rem 1rem;border-radius:14px;font-size:.9rem;box-shadow:0 12px 30px #161f1d33;opacity:0;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease}.toast.show{opacity:1;transform:translateY(0)}.toast.hide{opacity:0;transform:translateY(-6px)}.toast.info{background:#ecf5f2;color:#1f7a64;border:1px solid #c6e4da}.toast.error{background:#fbeeee;color:#a23a2a;border:1px solid #f1c3ba}.field{display:grid;gap:.4rem}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.brand{max-width:560px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;color:var(--muted);margin:0 0 .3rem}.app-nav{display:grid;gap:1rem;padding:1rem;background:var(--nav-shell);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);min-width:0;overflow-x:clip;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:relative}.app-nav:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px #ffffffbf}.app-nav-group{display:grid;gap:.55rem;min-width:0}.app-nav-group-title{margin:0;padding-left:.4rem;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.app-nav-group-surface{padding:.42rem;border-radius:22px;background:var(--nav-group-surface);border:1px solid rgba(228,218,203,.95);box-shadow:inset 0 1px #ffffffb8}.app-nav-row,.app-tablist{display:flex;flex-wrap:wrap;gap:.45rem;width:100%;max-width:100%;min-width:0}.nav-btn.app-tab{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;background:var(--nav-tab-idle);border:1px solid rgba(223,213,197,.98);padding:.62rem 1rem;border-radius:16px;cursor:pointer;font-weight:600;color:var(--muted);white-space:nowrap;min-height:2.75rem;letter-spacing:.01em;box-shadow:inset 0 1px #ffffffb8;transition:transform .18s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease}.nav-btn.app-tab:after{content:"";position:absolute;left:.9rem;right:.9rem;bottom:.45rem;height:2px;border-radius:999px;background:#1f7a6433;opacity:0;transform:scaleX(.45);transition:opacity .2s ease,transform .2s ease,background-color .2s ease}.nav-btn.app-tab.active{background:linear-gradient(135deg,#1f7a64,#2a8e75);border-color:transparent;color:#fff;box-shadow:var(--nav-tab-shadow)}.nav-btn.app-tab.active:after{opacity:1;transform:scaleX(1);background:#ffffffb8}.nav-btn.app-tab:hover:not(:disabled){background:var(--nav-tab-hover);border-color:#d7c9b6;color:var(--ink);box-shadow:0 12px 24px #1f2a2e14;transform:translateY(-1px)}.nav-btn.app-tab.active:hover:not(:disabled){background:linear-gradient(135deg,#1f7a64,#2a8e75);border-color:transparent;color:#fff;box-shadow:0 16px 30px #1f7a6438}.nav-btn.app-tab:focus-visible{outline:3px solid var(--nav-focus);outline-offset:2px}.tab-shell{margin-top:2rem;display:grid;gap:2rem}.tab-panel,.tab-panel[hidden]{display:none}.tab-panel.active{display:block;animation:fadeUp .28s ease}.tab-header{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.tab-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.template-list{display:grid;gap:.8rem}.workers-grid{grid-template-columns:1fr}@media (max-width: 900px){.app-shell,.auth-shell{padding:2.2rem 1rem 3rem}.app-header{gap:1rem;margin-bottom:1.35rem}.brand{max-width:100%}.user-bar{width:100%;justify-content:flex-start;gap:.55rem}}@media (max-width: 640px){.auth-header h1,.app-header h1{font-size:1.9rem}.chip{max-width:100%}.app-nav{padding:.78rem;gap:.65rem;border-radius:22px}.app-nav-group-title{font-size:.68rem;letter-spacing:.07em;padding-left:.2rem}.app-nav-group-surface{padding:.34rem;border-radius:18px}.app-nav-row,.app-tablist{flex-wrap:nowrap;overflow-x:auto;padding-bottom:.2rem;-webkit-overflow-scrolling:touch}.nav-btn.app-tab{min-height:2.7rem;padding:.58rem .92rem;border-radius:15px}.tab-shell{margin-top:1.3rem;gap:1.35rem}.panel{padding:1rem;border-radius:14px}.btn{min-height:2.5rem}}.site-shell{max-width:1160px;margin:0 auto;padding:1.25rem 1rem 2.75rem;display:grid;gap:1.5rem;animation:fadeUp .45s ease}.skip-link{position:absolute;left:1rem;top:-2.5rem;z-index:100;background:#153f33;color:#fff;padding:.5rem .75rem;border-radius:10px;text-decoration:none}.skip-link:focus{top:.75rem}.site-header{display:flex;flex-direction:column;gap:1rem;padding:1rem;border-radius:18px;background:#ffffffb8;border:1px solid var(--line);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.site-brand{display:grid;gap:.35rem}.site-logo{width:fit-content;text-decoration:none;color:#163d33;font-size:clamp(1.25rem,3.5vw,1.7rem);font-weight:700}.site-tagline{margin:0;color:var(--muted);font-size:.95rem}.site-nav{display:flex;flex-wrap:wrap;gap:.5rem}.site-nav-link{text-decoration:none;color:#1d4a3d;border:1px solid #d7e3dd;background:#f8fcfa;border-radius:var(--control-radius);padding:.5rem .85rem;font-weight:600}.site-nav-link:hover{background:#ecf5f1}.site-nav-link.is-active{background:#1f7a64;border-color:#1f7a64;color:#fff}.site-main{display:grid;gap:1.1rem}.site-hero{background:linear-gradient(135deg,#f9f4e8,#edf6f2 58%,#e3f0eb);border:1px solid #dbe8e0;border-radius:24px;padding:1.3rem;box-shadow:0 18px 35px #1f2a2e1a;position:relative;overflow:hidden}.site-hero-compact{background:linear-gradient(135deg,#eef6f1,#f9f4e8)}.site-hero:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#1f7a642e,#1f7a6400);top:-90px;right:-70px;pointer-events:none}.site-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#d08b4e33,#d08b4e00);bottom:-115px;left:-95px;pointer-events:none}.site-hero-layout{display:grid;gap:1rem;position:relative;z-index:1}.site-hero-copy{display:grid;gap:.4rem}.site-hero-panel{background:#103a2fe6;border:1px solid rgba(243,250,246,.24);color:#f5faf7;border-radius:18px;padding:1rem;box-shadow:0 20px 34px #103a2f47}.site-hero-panel h2{margin:0;font-size:1.15rem}.site-hero-panel p{margin:.35rem 0 0;color:#f5faf7e0}.site-kpi-grid{margin-top:.85rem;display:grid;gap:.55rem;grid-template-columns:repeat(2,minmax(0,1fr))}.site-kpi-card{background:#ffffff17;border:1px solid rgba(255,255,255,.24);border-radius:12px;padding:.55rem .65rem;display:grid;gap:.18rem}.site-kpi-card span{color:#f5faf7cc;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.site-kpi-card strong{font-size:.9rem}.site-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.12em;color:#255f4d;font-size:.72rem;font-weight:700}.site-hero h1{margin:.45rem 0 .65rem;font-size:clamp(1.65rem,4.4vw,2.8rem);line-height:1.2;max-width:22ch}.site-lead{margin:0;max-width:58ch;color:#2d3d41}.site-hero-cta{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.6rem}.site-hero-note{margin:.4rem 0 0;font-size:.87rem;color:#486067}.site-cta-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.site-proof-strip{display:grid;gap:.65rem}.site-proof-item{border:1px solid #d5e1d9;border-radius:14px;padding:.8rem .9rem;background:#ffffffdb;box-shadow:0 10px 24px #1f2a2e14;display:grid;gap:.2rem}.site-proof-item strong{font-size:1rem;color:#174f3f}.site-proof-item span{color:#476066;font-size:.88rem}.site-section{background:#ffffffd1;border:1px solid #dde6de;border-radius:20px;padding:1.2rem;transition:transform .22s ease,box-shadow .22s ease}.site-section:hover{transform:translateY(-2px);box-shadow:0 16px 30px #1f2a2e14}.site-section-alt{background:linear-gradient(180deg,#f1f8f4eb,#ffffffe0)}.site-section h2{margin-top:0;margin-bottom:.75rem;font-size:clamp(1.2rem,3.2vw,1.6rem)}.site-section p{margin:0}.site-process-rail{display:grid;gap:.7rem}.site-process-step{border:1px solid #d7e1da;border-top:3px solid #1f7a64;border-radius:14px;background:#fff;padding:.85rem;transition:transform .2s ease,box-shadow .2s ease}.site-process-step:hover{transform:translateY(-2px);box-shadow:0 12px 24px #1f2a2e1a}.site-process-step span{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:999px;background:#e8f3ee;color:#1c6551;font-weight:700;font-size:.82rem}.site-process-step h3{margin:.55rem 0 .3rem;font-size:1rem}.site-process-step p{color:#385056;font-size:.92rem}.site-feature-grid{display:grid;gap:.75rem;grid-template-columns:1fr}.site-feature-card{border:1px solid #d9e2dc;border-radius:14px;padding:.9rem;background:#fff;transition:transform .2s ease,box-shadow .2s ease}.site-feature-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px #1f2a2e1a}.site-feature-card h3{margin:0 0 .35rem;font-size:1rem}.site-feature-card p{margin:0;color:#385056;font-size:.92rem}.site-step-list{margin:0;padding-left:1.15rem;display:grid;gap:.4rem}.site-faq-list{display:grid;gap:.55rem}.site-faq-list details{border:1px solid #d7dfd8;border-radius:12px;padding:.7rem .85rem;background:#fff}.site-faq-list summary{font-weight:600;cursor:pointer}.site-faq-list p{margin-top:.55rem;color:#385056}.site-two-column,.site-compare-grid{display:grid;gap:.75rem}.site-compare-card{border:1px solid #d7dfd8;border-radius:14px;background:#fff;padding:.95rem}.site-compare-card h3{margin:0 0 .45rem;font-size:1.05rem}.site-pane{border:1px solid #d7dfd8;border-radius:14px;background:#fff;padding:.9rem}.site-pane h2{font-size:1.1rem;margin-bottom:.45rem}.site-list{margin:0;padding-left:1rem;display:grid;gap:.35rem}.site-footer{border:1px solid #d7dfd8;border-radius:16px;background:#ffffffd9;padding:1rem}.site-footer-inner{display:grid;gap:.55rem}.site-footer-brand{margin:0;font-weight:700}.site-footer-links{display:flex;flex-wrap:wrap;gap:.75rem}.site-footer-links a{color:#1f5f4d;text-decoration:none;font-size:.92rem}.site-footer-links a:hover{text-decoration:underline}.site-cta-band{display:grid;gap:.9rem;border-radius:22px;border:1px solid #cadbcf;background:linear-gradient(125deg,#133f33,#1f7a64 46%,#d08b4e);color:#fff;padding:1.2rem;position:relative;overflow:hidden}.site-cta-band:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,#ffffff3d,#fff0);top:-88px;right:-72px;pointer-events:none}.site-cta-band>*{position:relative;z-index:1}.site-cta-band h2{margin:0;font-size:clamp(1.2rem,3.2vw,1.7rem)}.site-cta-band p{margin:.45rem 0 0;color:#ffffffe6}.site-cta-band .btn.ghost{border-color:#ffffff8c;color:#fff}.site-shell a:focus-visible,.site-shell button:focus-visible,.site-shell summary:focus-visible{outline:2px solid #1f7a64;outline-offset:2px}.site-language-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:1rem;background:#0a100e8f;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.site-language-gate-card{width:min(560px,100%);border-radius:20px;border:1px solid #cfe0d6;background:linear-gradient(140deg,#fff,#f4f8f6);box-shadow:0 26px 58px #12221e3d;padding:1.2rem;display:grid;gap:.65rem}.site-language-gate-card h2{margin:0;font-size:clamp(1.25rem,3.8vw,1.85rem)}.docs-layout{display:grid;gap:.9rem}.docs-toc{border:1px solid #d7dfd8;border-radius:14px;background:#fff;padding:.9rem;align-self:start}.docs-toc h2{margin:0 0 .6rem;font-size:1rem}.docs-toc ol{margin:0;padding-left:1.1rem;display:grid;gap:.35rem}.docs-toc a{color:#1f5f4d;text-decoration:none}.docs-toc a:hover{text-decoration:underline}.docs-content{display:grid;gap:.75rem}.docs-article{border:1px solid #d9e2dc;border-radius:14px;padding:.95rem;background:#fff}.docs-article h3{margin:0 0 .6rem;font-size:1.05rem}.docs-kv-list{margin:0;display:grid;gap:.5rem}.docs-kv-row{display:grid;gap:.22rem}.docs-kv-row dt{font-weight:700;font-size:.84rem;color:#214f41}.docs-kv-row dd{margin:0;color:#385056;font-size:.92rem}.lpv1-form{width:100%;max-width:560px;display:grid;gap:.55rem}.lpv1-field{display:grid;gap:.28rem;font-size:.9rem;font-weight:600}.lpv1-field input,.lpv1-field select,.lpv1-field textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.45);border-radius:10px;background:#ffffff24;color:#16352d;-webkit-text-fill-color:#16352d;caret-color:#16352d;padding:.5rem .6rem;font:inherit}.lpv1-field input::placeholder,.lpv1-field textarea::placeholder{color:#16352dad}.lpv1-field option{color:#1f2a2e}.lpv1-submit{justify-self:start}.lpv1-form-status{min-height:1.2rem;margin:0;color:#ffffffeb;font-size:.88rem}.lpv1-form-status.is-error{color:#ffe3d9}.lpv1-form-status.is-success{color:#d6ffe5}.lpv1-contact-email{color:#ffe08a;font-weight:700;text-decoration-color:#ffe08aeb;text-underline-offset:2px}.lpv1-contact-email:hover{color:#fff2c4;text-decoration-thickness:2px}.lpv1-contact-email:focus-visible{outline-color:#fff2c4}.lpv1-sticky-cta{position:fixed;right:1rem;bottom:1rem;z-index:1100;box-shadow:0 12px 28px #152e274d}@media (min-width: 760px){.site-shell{padding:1.5rem 1.5rem 3.5rem;gap:1.7rem}.site-header{flex-direction:row;justify-content:space-between;align-items:center;padding:1.1rem 1.2rem}.site-hero{padding:2rem}.site-hero-layout{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);align-items:stretch;gap:1.2rem}.site-process-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.site-proof-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.site-section{padding:1.4rem}.site-feature-grid,.site-two-column,.site-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-cta-band{grid-template-columns:minmax(0,1fr) minmax(380px,560px);align-items:center;padding:1.45rem 1.5rem}.site-cta-band .lpv1-form{max-width:none;justify-self:stretch}.docs-layout{grid-template-columns:minmax(240px,.72fr) minmax(0,1.65fr);align-items:start}.docs-toc{position:sticky;top:1rem}.lpv1-sticky-cta{display:none}}@media (min-width: 1024px){.site-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-process-rail{grid-template-columns:repeat(4,minmax(0,1fr))}}.orders-grid{grid-template-columns:1fr;gap:.45rem;align-items:start}@media (max-width: 900px){.template-card{grid-template-columns:1fr;grid-template-areas:"header" "actions" "processes" "footer"}.template-actions,.template-footer{justify-content:flex-start}}.card{background:var(--surface);border-radius:16px;padding:1rem;box-shadow:var(--shadow);border:1px solid var(--line);display:grid;gap:.6rem;align-items:start;align-content:start}.card.accent{border-left:4px solid var(--accent)}.card-head{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start;flex-wrap:nowrap}.card-actions{display:flex;gap:.5rem;flex-wrap:nowrap;flex-shrink:0}.card-actions.below-title{flex-wrap:wrap;margin-top:.25rem}.card-actions.below-title .btn{min-width:92px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.card-head h3{margin:0;flex:1 1 auto;min-width:0}.template-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"header actions" "processes footer";gap:.55rem 1rem;padding:.75rem 1rem}.template-header{grid-area:header;min-width:0}.template-header h3{margin:0}.template-actions{grid-area:actions;justify-content:flex-end;flex-wrap:wrap}.template-processes{grid-area:processes;margin-top:0}.template-footer{grid-area:footer;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.75rem}.template-footer .muted{margin:0}.badge{display:inline-flex;align-items:center;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600;background:#eef4f1;color:#1a4c3f}.badge.success{background:#dff4ec;color:#1a6b55}.badge.warning{background:#fbead5;color:#8a5a2c}.badge.danger{background:#f7d9d6;color:#9e3024}.badge.info{background:#e0eef7;color:#2a5c7a}.badge.muted{background:#efeae0;color:var(--muted)}.btn.warning{background:#f3b26a;color:#5e3b19;box-shadow:0 12px 18px #f3b26a40}.order-card{padding:.55rem .72rem;min-height:0;gap:.35rem;border-radius:12px;box-shadow:none;border-color:#e8dfcf}.order-head{display:flex;justify-content:space-between;gap:.45rem;align-items:center;cursor:pointer}.order-summary{display:grid;grid-template-columns:minmax(240px,2fr) minmax(125px,.9fr) minmax(180px,1.3fr);grid-template-areas:"name deadline progress" "badges deadline progress";gap:.25rem .8rem;align-items:center;flex:1 1 auto;min-width:0}.order-summary .progress{grid-area:progress;margin-bottom:0;height:9px}.order-name{grid-area:name;margin:0;font-size:.9rem;line-height:1.3;word-break:break-word;display:block;max-width:100%}.order-badges{grid-area:badges;display:flex;flex-wrap:wrap;gap:.25rem}.order-badges .badge{font-size:.68rem;padding:.12rem .45rem}.order-summary>p.muted{grid-area:deadline;margin:0;text-align:right;white-space:nowrap;font-size:.82rem}.order-title{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.order-details{display:none;gap:.8rem;margin-top:.35rem}.order-details.expanded{display:grid}.order-card.expanded .icon-btn{transform:rotate(180deg)}.order-card .icon-btn{width:28px;height:28px}.progress{height:10px;background:#e6dfd2;border-radius:999px;overflow:hidden;margin-bottom:.6rem}.progress-fill{height:100%;background:linear-gradient(90deg,#1f7a64,#34a081);color:#fff;font-size:.7rem;display:flex;align-items:center;justify-content:center}.stack{display:grid;gap:.6rem}.row-card{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.45rem .62rem;border-radius:12px;background:#fff7ec;border:1px solid #f0e6d6;flex-wrap:wrap}.row-card.complete{background:#e9f6f1;border-color:#cfe9df}.row-meta{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.2rem}.process-row{display:grid;grid-template-columns:minmax(0,1fr);gap:.3rem;align-items:start;width:100%}.process-row.process-in-path{border-left-width:4px;border-left-style:solid}.process-row.process-in-path.path-tone-1{border-left-color:#8eb5de}.process-row.process-in-path.path-tone-2{border-left-color:#79bda5}.process-row.process-in-path.path-tone-3{border-left-color:#d0a066}.process-row.process-in-path.path-tone-4{border-left-color:#b089c1}.process-row.process-in-path.path-tone-5{border-left-color:#cf8880}.process-row.process-in-path.path-tone-6{border-left-color:#8d9fd2}.process-row-main{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,1.35fr) max-content;align-items:start;gap:.45rem;width:100%}.process-row-title{min-width:0}.process-row-schedule{min-width:0;display:grid;align-content:start;gap:.2rem}.process-row-side{display:grid;gap:.2rem;justify-items:end;text-align:right;align-self:start;justify-self:end;min-width:max-content}.process-worker{display:block;white-space:nowrap}.process-row-side .muted{margin:0}.process-path-label{display:inline-flex;align-items:center;margin-top:.05rem;font-size:.72rem;font-weight:700;line-height:1.15}.process-path-label.path-tone-1{color:#3d6a95}.process-path-label.path-tone-2{color:#2d6f5a}.process-path-label.path-tone-3{color:#8a632f}.process-path-label.path-tone-4{color:#734788}.process-path-label.path-tone-5{color:#944741}.process-path-label.path-tone-6{color:#4c5f93}.schedule-chip-row{margin-top:0;gap:.22rem}.badge.schedule-link{border:none;cursor:pointer;text-align:left;font-size:.73rem;padding:.1rem .42rem;line-height:1.2;transition:transform .2s ease,box-shadow .2s ease}.badge.schedule-link:hover{transform:translateY(-1px);box-shadow:0 8px 14px #2a5c7a26}.badge.schedule-link.schedule-link-break{box-shadow:inset 0 0 0 1px #8a5a2c2e}.badge.schedule-link.schedule-link-break:hover{box-shadow:0 8px 14px #8a5a2c29}tr.task-highlight td{animation:task-flash 1.8s ease}@keyframes task-flash{0%{background-color:#ffe2aa00}35%{background-color:#ffe2aa8c}to{background-color:#ffe2aa00}}.schedule-empty{margin:0;font-size:.82rem}.order-card.schedule-missing{border-color:#f2b8b0;background:#fff5f3}.workers-grid{gap:.5rem}.worker-card{padding:.62rem .72rem;border-radius:12px;gap:.38rem;box-shadow:none;border-color:#e8dfcf}.worker-card.inactive{opacity:.62;background:#f3efe7;border-color:#d7ccbc}.worker-card-head{align-items:center;gap:.45rem}.worker-card-head h3{font-size:.94rem;line-height:1.25}.worker-card-actions{gap:.32rem;flex-wrap:wrap;justify-content:flex-end}.worker-card-actions .btn{min-width:0}.worker-card-meta{display:grid;gap:.28rem}.worker-skill-row{margin-top:0;gap:.25rem}.worker-skill-row .badge{padding:.1rem .42rem;font-size:.69rem}.worker-absence-none{margin:0;font-size:.82rem}.worker-absence-details{margin:0;border:1px solid var(--line);border-radius:10px;background:#fffdf9;padding:.2rem .5rem}.worker-absence-details summary{cursor:pointer;font-size:.78rem;font-weight:600;color:var(--muted)}.worker-absence-list{margin-top:.32rem;gap:.25rem}.worker-absence-list .absence-row{padding:.24rem .42rem;gap:.45rem;font-size:.8rem}.worker-absence-list .absence-reason{font-size:.76rem}@media (max-width: 720px){.order-summary{grid-template-columns:1fr;grid-template-areas:"name" "badges" "deadline" "progress";gap:.35rem}.order-summary>p.muted{text-align:left}.process-row-main{grid-template-columns:1fr;gap:.35rem}.process-row-side{text-align:left;justify-items:start;justify-self:start;min-width:0}.process-worker{white-space:normal}}.row-actions{margin-top:.5rem;flex-wrap:wrap}.order-details-actions{margin-top:0;margin-bottom:.2rem}.order-status-badge{font-size:.7rem;padding:.12rem .5rem}.order-status-section{display:grid;gap:.55rem;padding:.95rem 1rem;border:1px solid #e7dac7;border-radius:18px;background:linear-gradient(180deg,#fffdf9fa,#f8f3ebeb);box-shadow:inset 0 1px #ffffffb8}.order-status-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.order-status-current{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;flex:0 0 auto;min-width:0}.order-status-current-label{font-size:.8rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#36514a}.order-status-actions{margin-top:0;margin-left:auto;justify-content:flex-start;flex:1 1 26rem;flex-wrap:wrap;gap:.4rem;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none}.order-status-actions .btn{white-space:nowrap;padding:.58rem .95rem;font-size:.82rem}.order-status-action{min-height:2.45rem;border-radius:14px;transition:transform .18s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}.order-status-action:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px #1f2a2e14}.order-status-action:focus-visible{outline:3px solid rgba(31,122,100,.18);outline-offset:2px}.order-status-action-pill{box-shadow:0 8px 16px #1f2a2e0d}.order-status-action-pill.info{background:linear-gradient(180deg,#f2f8fd,#e7f2fb);border-color:#b7d2e4;color:#2f6183}.order-status-action-pill.success{background:linear-gradient(180deg,#f3fbf7,#e8f6ef);border-color:#b9ddcf;color:#21654d}.order-status-action-pill.warning{background:linear-gradient(180deg,#fff7ec,#fdf1df);border-color:#e7c28f;color:#8a5a22}.order-status-action-pill.danger{background:linear-gradient(180deg,#fdf3f2,#f9e8e6);border-color:#e3b5ae;color:#a23a2a}.order-status-action-secondary{background:#fffaf3f5;border-color:#eadfce;color:var(--ink);box-shadow:none}.order-status-action-secondary:hover:not(:disabled){background:#fffefe}.order-status-history-toggle{min-width:8.8rem;justify-content:center}.order-status-history{display:grid;gap:.35rem}.order-status-history-item{padding:.42rem .52rem;border-radius:10px;background:#f7f3eb;border:1px solid #e7dccb;display:grid;gap:.2rem}.order-status-history-head{display:flex;justify-content:space-between;gap:.45rem;align-items:center;flex-wrap:wrap}.order-status-history-by,.order-status-history-comment{margin:0;font-size:.8rem}.order-status-history-comment{color:#5b4f3f}.order-status-empty{margin:0}@media (max-width: 920px){.order-status-bar{flex-wrap:wrap;align-items:center}.order-status-actions{flex-basis:100%;margin-left:0}}.checklist{display:grid;gap:.5rem;margin-top:.6rem}.check-item{display:flex;gap:.5rem;align-items:center;font-size:.9rem}.check-item input{width:18px;height:18px}.strikethrough{text-decoration:line-through;color:#9b8f81}.split-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.inventory-layout{display:grid;grid-template-columns:minmax(320px,1fr) minmax(420px,1.4fr);gap:1rem;align-items:start}.inventory-actions-panel{display:grid;gap:.8rem;align-content:start}.inventory-form{border:1px solid var(--line);border-radius:12px;padding:.65rem;background:#fffdf8}.inventory-form h4{margin:0 0 .4rem}.inventory-order-chips{display:flex;flex-wrap:wrap;gap:.3rem}.inventory-movements-panel{margin-top:1rem}.inventory-qty-danger{color:#9e3024;font-weight:700}.inventory-qty-ok{color:#1a6b55;font-weight:700}.table-wrap{overflow:auto;max-width:100%;border:1px solid #ece2cf;border-radius:12px;background:#fffdf8;-webkit-overflow-scrolling:touch}.table-wrap>table{width:100%;min-width:680px}.order-label-preview-table-wrap>table{min-width:0}.order-label-preview-key{width:28%;white-space:nowrap}.order-label-preview-value{min-width:0;overflow-wrap:anywhere;word-break:break-word}.label-preview-value-text{display:inline-block;overflow-wrap:anywhere;word-break:break-word}.label-preview-field-list{margin:0;padding:0;list-style:none;display:grid;gap:.3rem}.label-preview-field-item{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:.5rem;align-items:start}.label-preview-field-name{font-weight:600;color:var(--muted);text-transform:capitalize}.label-preview-field-value{overflow-wrap:anywhere;word-break:break-word}@media (max-width: 720px){.order-label-preview-key{width:auto;white-space:normal}.label-preview-field-item{grid-template-columns:1fr;gap:.15rem}}.attachments-layout{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(460px,1.35fr);gap:1rem;align-items:start}.attachments-controls-panel{display:grid;gap:.75rem;align-content:start}.attachments-entity-form,.attachments-upload-form{gap:.55rem}.attachments-entity-hint{display:block;margin-top:.35rem;font-size:.8rem}.attachments-quick-picks{display:grid;gap:.4rem;margin:0;padding:.5rem .6rem;border:1px solid var(--line);border-radius:10px;background:#fffdf8}.attachments-quick-picks-title,.attachments-quick-picks-note{margin:0}.attachments-quick-picks-note{font-size:.8rem}.attachments-entity-chips{display:flex;flex-wrap:wrap;gap:.35rem}.attachments-selected-entity{margin:0;padding:.5rem .6rem;border:1px dashed #d8ccb7;border-radius:10px;background:#fffdf8}.attachments-list-panel .card-actions{flex-wrap:wrap}.attachments-preview-box{border:1px solid var(--line);border-radius:12px;background:#fffdf8;padding:.6rem}.attachments-preview-box .muted{margin-top:0}.attachments-preview-image{width:100%;max-height:320px;object-fit:contain;border-radius:10px;border:1px solid #ece2cf;background:#fff}.attachments-preview-frame{width:100%;min-height:320px;border:1px solid #ece2cf;border-radius:10px;background:#fff}.audit-filters{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end}.audit-filters label{min-width:220px}.audit-json{margin:0;padding:.45rem;border-radius:8px;border:1px solid #ece2cf;background:#fffdf8;font-size:.78rem;max-width:340px;max-height:160px;overflow:auto}@media (max-width: 980px){.inventory-layout,.attachments-layout{grid-template-columns:1fr}}.inline-inputs{display:flex;gap:.6rem;flex-wrap:wrap;align-items:flex-end}.inline-field{display:grid;gap:.35rem;font-size:.9rem;color:var(--muted)}.order-filter-panel-v2{display:grid;gap:.7rem}.orders-filter-panel--orders{padding:1rem 1.15rem;gap:.55rem}.orders-filter-toolbar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end}.orders-filter-toolbar .inline-field{min-width:220px}.orders-filter-add-btn{width:40px;height:40px;border-radius:999px;padding:0;font-size:1.25rem;line-height:1;align-self:end}.orders-filter-clear-btn{min-height:40px;padding-top:0;padding-bottom:0;line-height:1;align-self:end}.orders-filter-add-btn:hover,.orders-filter-clear-btn:hover{border-color:var(--accent);color:var(--accent);box-shadow:0 10px 16px #1f7a642e}.orders-filter-remove-btn{width:34px;height:34px;border-color:#dfc6c2;color:#9a3d32;font-size:1.15rem;font-weight:700;line-height:1}.orders-filter-remove-btn:hover{border-color:#cb4f42;background:#fdebe9;color:#b73326;box-shadow:0 10px 16px #b7332633}.orders-filter-remove-btn:focus-visible{outline:2px solid rgba(183,51,38,.25);outline-offset:2px}.orders-filter-list{display:grid;gap:.55rem}.orders-filter-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(320px,1.5fr) auto;gap:.5rem;align-items:end;border:1px dashed var(--line);border-radius:12px;background:#fffdf9;padding:.45rem .55rem}.orders-filter-field-name,.orders-filter-value-select,.orders-filter-value-panel{min-width:0}.orders-filter-value-empty{margin:0;min-height:34px;border:1px dashed #e6ddcc;border-radius:10px;background:#fffaf2;display:flex;align-items:center}.orders-filter-dual-range-wrap{display:grid;gap:.2rem}.orders-filter-dual-range{position:relative;--slider-pad: 18px;--thumb-size: 20px;--track-top: 40px;--track-height: 6px;height:64px;border:1px solid #e8decc;border-radius:12px;background:linear-gradient(180deg,#fffefb,#faf5eb)}.orders-filter-dual-track{position:absolute;left:var(--slider-pad);right:var(--slider-pad);top:var(--track-top);height:var(--track-height);border-radius:999px;background:#ddd2be}.orders-filter-dual-fill{position:absolute;left:calc(var(--slider-pad) + (100% - (var(--slider-pad) * 2)) * var(--min-ratio, 0));width:calc((100% - (var(--slider-pad) * 2)) * (var(--max-ratio, 1) - var(--min-ratio, 0)));top:var(--track-top);height:var(--track-height);border-radius:999px;background:linear-gradient(90deg,#1f7a64,#34a081)}.orders-filter-dual-input{position:absolute;left:var(--slider-pad);right:var(--slider-pad);top:32px;width:calc(100% - (var(--slider-pad) * 2));height:22px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer}.orders-filter-dual-input::-webkit-slider-thumb{pointer-events:auto;width:var(--thumb-size);height:var(--thumb-size);border:0;border-radius:50%;background:transparent;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.orders-filter-dual-input::-moz-range-thumb{pointer-events:auto;width:var(--thumb-size);height:var(--thumb-size);border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer}.orders-filter-dual-input::-webkit-slider-runnable-track{height:0;background:transparent;border:0}.orders-filter-dual-input::-moz-range-track{height:0;background:transparent;border:0}.orders-filter-dual-input-min{z-index:7}.orders-filter-dual-input-max{z-index:8}.orders-filter-dual-input:active{z-index:10}.orders-filter-single-range{position:relative;--slider-pad: 18px;--thumb-size: 20px;--track-top: 40px;--track-height: 6px;height:64px;border:1px solid #e8decc;border-radius:12px;background:linear-gradient(180deg,#fffefb,#faf5eb)}.orders-filter-single-range input[type=range]{position:absolute;left:var(--slider-pad);right:var(--slider-pad);top:32px;width:calc(100% - (var(--slider-pad) * 2));margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;cursor:pointer}.orders-filter-single-range input[type=range]::-webkit-slider-thumb{width:var(--thumb-size);height:var(--thumb-size);border:0;border-radius:50%;background:transparent;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.orders-filter-single-range input[type=range]::-moz-range-thumb{width:var(--thumb-size);height:var(--thumb-size);border:0;border-radius:50%;background:transparent;box-shadow:none}.orders-filter-single-range input[type=range]::-webkit-slider-runnable-track,.orders-filter-single-range input[type=range]::-moz-range-track{background:transparent;border:0;height:0}.orders-filter-thumb-bubble{position:absolute;top:3px;left:calc(var(--slider-pad, 14px) + (100% - (var(--slider-pad, 14px) * 2) - var(--thumb-size, 22px)) * var(--ratio, 0) + (var(--thumb-size, 22px) / 2));transform:translate(-50%);pointer-events:none;z-index:6;transition:left 80ms linear}.orders-filter-thumb-bubble span{display:inline-flex;align-items:center;justify-content:center;min-width:52px;white-space:nowrap;padding:.35rem .55rem;border-radius:10px;background:#5c5f66;color:#fff;font-size:.82rem;font-weight:700;line-height:1;box-shadow:0 10px 16px #272b3338}.orders-filter-thumb-bubble:after{content:"";position:absolute;left:50%;bottom:-6px;width:10px;height:10px;background:#5c5f66;transform:translate(-50%) rotate(45deg)}.orders-filter-handle{position:absolute;top:calc(var(--track-top, 40px) + (var(--track-height, 6px) / 2));left:calc(var(--slider-pad, 18px) + (100% - (var(--slider-pad, 18px) * 2) - var(--thumb-size, 20px)) * var(--ratio, 0) + (var(--thumb-size, 20px) / 2));width:var(--thumb-size, 20px);height:var(--thumb-size, 20px);border-radius:50%;border:3px solid #fff;background:var(--accent);box-shadow:0 0 0 1px #1f7a6466,0 8px 16px #1f7a6438;transform:translate(-50%,-50%);pointer-events:none;z-index:9}.orders-filter-thumb-bubble-single{left:calc(var(--slider-pad, 14px) + (100% - (var(--slider-pad, 14px) * 2) - var(--thumb-size, 22px)) * var(--ratio, .5) + (var(--thumb-size, 22px) / 2))}@media (max-width: 980px){.orders-filter-row{grid-template-columns:minmax(180px,1fr) minmax(240px,1fr) auto}}@media (max-width: 760px){.orders-filter-row{grid-template-columns:1fr}}.daily-plan-actions{align-items:flex-start}.filter-column{display:grid;gap:.8rem;min-width:280px}.filter-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}.daily-plan-nav-btn{width:2.9rem;min-width:2.9rem;min-height:2.75rem;padding:0;font-size:1.5rem;font-weight:700;line-height:1}.daily-plan-nav-btn span{transform:translateY(-1px)}.daily-plan-summary{border:1px solid var(--line);border-radius:14px;padding:.6rem .75rem;background:#fffdf9}.daily-plan-summary summary{cursor:pointer;font-weight:600;font-size:.9rem}.daily-plan-summary table{margin-top:.6rem}.daily-plan-order-link{color:var(--accent);text-decoration:none;border-bottom:1px dashed color-mix(in srgb,var(--accent) 55%,transparent);font-weight:600}.daily-plan-order-link:hover{text-decoration:underline;border-bottom-color:transparent}.daily-plan-order-link:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 55%,#ffffff);outline-offset:2px;border-radius:3px}.worker-downtime{display:grid;gap:.45rem;margin-top:-.2rem}.worker-downtime-label{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.worker-downtime-list{display:flex;flex-wrap:wrap;gap:.35rem .45rem}.downtime-chip{display:inline-flex;align-items:center;border:1px solid;border-radius:999px;padding:.2rem .55rem;font-size:.78rem;line-height:1.3;font-weight:600}.downtime-chip.downtime-edge{border-color:#c7d5e9;background:#eff4fb;color:#2e4d76}.downtime-chip.downtime-middle{border-color:#ebcca7;background:#fcf0e1;color:#8a5a2c}.worker-downtime.worker-downtime-empty{font-size:.85rem;margin-top:-.1rem}.filter-panel{display:grid;gap:.35rem;min-width:200px}.filter-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.filter-chips{display:flex;flex-wrap:wrap;gap:.35rem;max-height:140px;overflow:auto;padding:.2rem}.filter-chip{border:1px solid var(--line);background:#fffdf9;color:var(--ink);padding:.3rem .7rem;border-radius:var(--control-radius);cursor:pointer;font-size:.8rem;transition:transform .2s ease,box-shadow .2s ease}.filter-chip.active{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 10px 18px #1f7a6433}.filter-chip:hover{transform:translateY(-1px)}.filter-reset{justify-self:start}.btn.compact{padding:.45rem .9rem;font-size:.82rem}.organization-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}.organization-overview{display:grid;gap:.35rem}.organization-overview p{margin:0}.organization-form-stack{display:grid;gap:.6rem}.organization-form-stack label{display:grid;gap:.4rem;font-size:.9rem;color:var(--muted)}.organization-form-stack label>input:not([type=checkbox]):not([type=radio]),.organization-form-stack label>select{width:100%}.organization-members-panel{grid-column:1 / -1}.organization-members-scroll{overflow-x:auto}.organization-members-table{width:100%;border-collapse:collapse;min-width:980px;table-layout:fixed}.organization-members-table th,.organization-members-table td{border-bottom:1px solid var(--line);padding:.55rem .5rem;text-align:left;vertical-align:middle}.organization-members-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.organization-members-table th:nth-child(3),.organization-members-table td:nth-child(3),.organization-members-table th:nth-child(4),.organization-members-table td:nth-child(4){width:300px}.organization-inline-form{display:inline-flex;gap:.45rem;align-items:center}.organization-inline-form select,.organization-inline-form input[type=number]{min-width:120px}.organization-member-role-form,.organization-member-status-form{display:grid;grid-template-columns:minmax(9rem,1fr) 7.75rem;gap:.35rem;align-items:center;width:100%}.organization-member-role-form select,.organization-member-status-form select{width:100%;min-width:0}.organization-member-role-form .btn,.organization-member-status-form .btn{width:7.75rem;min-width:7.75rem;justify-content:center;white-space:nowrap}@media (max-width: 720px){.table-wrap>table{min-width:560px}.card-actions{flex-wrap:wrap;gap:.35rem}.split-grid,.organization-grid{grid-template-columns:1fr}.organization-members-table{min-width:760px}}.admin-shell{max-width:1240px;margin:0 auto;padding:2.25rem 1.25rem 3rem;display:grid;gap:1.2rem;animation:fadeUp .35s ease}.admin-grid{display:grid;gap:1rem;grid-template-columns:minmax(280px,420px) minmax(0,1fr);align-items:start}.admin-main{display:grid;gap:1rem}.admin-section-tabs{display:flex;flex-wrap:wrap;gap:.5rem}.admin-list-actions{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.admin-audit-filters{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end}.admin-audit-filters label{display:grid;gap:.35rem}.admin-audit-filters select,.admin-audit-filters input{width:100%}.admin-audit-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-self:end}.admin-org-list{display:grid;gap:.55rem}.admin-org-card{border:1px solid var(--line);border-radius:14px;background:#fffdfa;padding:.72rem .82rem;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem .9rem}.admin-org-content{min-width:0;display:grid;gap:.3rem}.admin-org-row{display:flex;justify-content:space-between;align-items:center;gap:.65rem}.admin-org-card h3{margin:0;font-size:.98rem;line-height:1.2}.admin-org-subline{margin:0;font-size:.8rem}.admin-org-meta-inline{display:flex;flex-wrap:wrap;gap:.2rem .85rem;align-items:center}.admin-org-meta-inline p{margin:0;color:#32474d;font-size:.84rem}.admin-status-chip{display:inline-flex;align-items:center;border-radius:999px;font-size:.72rem;font-weight:700;padding:.16rem .56rem;border:1px solid transparent;white-space:nowrap}.admin-status-chip.active{background:#e8f5ef;color:#1d6b55;border-color:#cde7db}.admin-status-chip.inactive{background:#f9ecea;color:#8e3023;border-color:#f0c8c2}.admin-org-actions{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:.4rem;justify-content:end;align-items:center}.admin-org-actions .btn{padding:.42rem .76rem;font-size:.78rem}@media (max-width: 1180px){.admin-org-card{grid-template-columns:1fr}.admin-org-actions{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(145px,1fr));justify-content:stretch}.admin-org-actions .btn{width:100%}}@media (max-width: 960px){.admin-grid,.admin-org-actions{grid-template-columns:1fr}}.modal-root{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:999}html.modal-scroll-lock,body.modal-scroll-lock{overflow:hidden}.modal-root.hidden{display:none}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1c1e2180;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-card{position:relative;z-index:1;width:min(92vw,900px);max-height:90vh;overflow-y:auto;background:var(--surface);padding:2rem;border-radius:20px;box-shadow:var(--shadow);display:grid;gap:1rem}.modal-form{display:grid;gap:.8rem}.template-modal-card{width:min(97vw,1280px);max-height:92vh;padding:0 1.5rem 1.5rem;overflow:hidden;gap:0;grid-template-rows:auto minmax(0,1fr)}.template-modal-card>#modal-message{margin:.75rem 0 0}.template-modal-card>.template-modal-form{min-height:0;overflow-y:auto;overflow-x:hidden}.template-modal-form{gap:1rem;position:relative;isolation:isolate}.template-modal-header{position:sticky;top:0;z-index:5;display:grid;gap:.85rem;margin:0 -1.5rem .2rem;padding:1.25rem 1.5rem .9rem;border-bottom:1px solid var(--line);background:var(--surface);box-shadow:0 10px 14px -14px #14181673}.template-modal-header-main{display:grid;gap:.6rem;min-width:0}.template-modal-header-main h2{margin:0}.template-name-field{display:grid;gap:.35rem;max-width:880px}.template-modal-header-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}.template-modal-body{display:grid;gap:.9rem}.template-modal-form .modal-section{gap:.5rem}.template-timeline{gap:0}.template-drop-slot{position:relative;z-index:2;height:18px;margin:-8px 0;border:1px dashed transparent;border-radius:10px;background:transparent;transition:height .16s ease,margin .16s ease,border-color .16s ease,background-color .16s ease}.template-drop-slot:before{content:"";position:absolute;left:.35rem;right:.35rem;top:50%;height:1px;border-radius:999px;transform:translateY(-50%);background:#7eb5a02e;opacity:0;transition:opacity .14s ease}#template-process-list:not(.drag-active) .template-drop-slot{pointer-events:none}#template-process-list.drag-active .template-drop-slot:before{opacity:1}.template-drop-slot.active{height:24px;margin:.22rem 0;border-color:#7eb5a0;background:#7eb5a02e}.template-drop-slot.active:before{opacity:0}.template-drop-slot.path-drop{margin:0}.template-block-card{border:1px solid var(--line);border-radius:12px;background:#fffdf8;overflow:hidden}.template-block-summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.58rem .75rem;background:#f2eadb;font-weight:700}.template-block-summary::-webkit-details-marker{display:none}.template-summary-main{display:inline-flex;align-items:center;gap:.42rem;min-width:0}.template-disclosure-icon{width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #4e6d64;transition:transform .16s ease;flex:0 0 auto}.template-path-card .template-disclosure-icon{border-left-color:#56616d}.template-block-card[open]>.template-block-summary .template-disclosure-icon,.template-path-card[open]>.template-path-summary .template-disclosure-icon{transform:rotate(90deg)}.template-block-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-block-body{display:grid;gap:.7rem;padding:.62rem .7rem .72rem}.template-block-toolbar{display:flex;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.template-block-paths{gap:.65rem}.template-path-steps{gap:0}.template-path-card{border:1px solid var(--line);border-radius:12px;background:#fffdf8;overflow:hidden}.template-path-summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.55rem .75rem;background:#f7f1e5;font-weight:600}.template-path-summary::-webkit-details-marker{display:none}.template-path-summary-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-path-body{display:grid;gap:.5rem;padding:.6rem .7rem .65rem}.template-path-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.6rem}.template-path-name-field{display:grid;gap:.2rem;min-width:210px;flex:1 1 320px}.template-modal-form #template-process-list .template-step-row{grid-template-columns:minmax(160px,1.9fr) minmax(150px,1.6fr) minmax(92px,.75fr) minmax(92px,.75fr) minmax(98px,.8fr) minmax(92px,.78fr) auto;grid-template-areas:"process alias planned break workers indiv controls" "menu menu menu menu menu menu menu";align-items:start;row-gap:.35rem;padding:.46rem .55rem;position:relative;border-left:3px solid transparent;border-radius:4px;border-style:solid;border-width:1px 1px 1px 3px;border-color:#eadfcf;background:#fffdf8}.template-modal-form #template-process-list .template-step-row>label{min-width:0;margin:0;display:grid;gap:.12rem}.template-modal-form #template-process-list .template-step-row .field-caption{display:block;font-size:.66rem;line-height:1;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.template-modal-form #template-process-list .template-step-row>label>input,.template-modal-form #template-process-list .template-step-row>label>select{min-width:0;width:100%}.template-modal-form #template-process-list .field-process{grid-area:process}.template-modal-form #template-process-list .field-alias{grid-area:alias}.template-modal-form #template-process-list .field-planned{grid-area:planned}.template-modal-form #template-process-list .field-break{grid-area:break}.template-modal-form #template-process-list .field-workers{grid-area:workers}.template-modal-form #template-process-list .field-indivisible{grid-area:indiv;justify-content:center;align-self:center}.template-modal-form #template-process-list .field-indivisible .checkbox-inline{min-height:2rem;display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.82rem}.template-modal-form #template-process-list .field-indivisible .checkbox-inline input{margin:0}.template-modal-form #template-process-list .field-controls{grid-area:controls;align-self:center;justify-content:flex-end;flex-wrap:nowrap;gap:.28rem;white-space:nowrap}.template-modal-form #template-process-list .row-controls{justify-content:flex-end}.template-modal-form #template-process-list .row-controls .btn{padding:.26rem .52rem;min-height:30px}.template-modal-form #template-process-list .field-controls .badge{margin-right:.1rem}.template-step-menu{grid-area:menu;display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;border-top:1px dashed var(--line);padding-top:.34rem}.template-step-menu.hidden{display:none}.template-step-menu .btn{padding:.22rem .5rem}.drag-handle{cursor:grab}.drag-handle:active{cursor:grabbing}.template-path-card.path-tone-1 .template-path-summary,.badge.path-tone-1{background:#e9f2fd;color:#26557a}.template-path-card.path-tone-2 .template-path-summary,.badge.path-tone-2{background:#e9f6ef;color:#1f5f4c}.template-path-card.path-tone-3 .template-path-summary,.badge.path-tone-3{background:#f8efe2;color:#7a5327}.template-path-card.path-tone-4 .template-path-summary,.badge.path-tone-4{background:#f4ebf8;color:#6a3b7b}.template-path-card.path-tone-5 .template-path-summary,.badge.path-tone-5{background:#fbecec;color:#8a3c34}.template-path-card.path-tone-6 .template-path-summary,.badge.path-tone-6{background:#eceff9;color:#324b7a}.template-step-row.path-tone-1{border-left-color:#8eb5de}.template-step-row.path-tone-2{border-left-color:#79bda5}.template-step-row.path-tone-3{border-left-color:#d0a066}.template-step-row.path-tone-4{border-left-color:#b089c1}.template-step-row.path-tone-5{border-left-color:#cf8880}.template-step-row.path-tone-6{border-left-color:#8d9fd2}.template-modal-form #template-material-list .item-row{grid-template-columns:minmax(240px,2.4fr) minmax(150px,1fr) auto;align-items:end}.template-modal-form #template-material-list .item-row>label{min-width:0}.template-modal-form #template-material-list .item-row>label>input,.template-modal-form #template-material-list .item-row>label>select{min-width:0;width:100%}.template-modal-form #template-material-list .row-controls{justify-content:flex-end;flex-wrap:nowrap;white-space:nowrap}.template-modal-form #template-product-field-list{gap:0;overflow-x:auto;padding-bottom:.15rem}.template-modal-form #template-product-field-list .template-product-field-row{grid-template-columns:minmax(145px,1.25fr) minmax(280px,2.2fr) minmax(110px,.85fr) minmax(120px,.9fr) minmax(145px,1.05fr) auto;grid-template-areas:"key value type unit required controls";align-items:start;row-gap:.35rem;padding:.46rem .55rem;border-radius:4px;border-style:solid;border-width:1px;border-color:#eadfcf;background:#fffdf8;min-width:1000px}.template-modal-form #template-product-field-list .template-product-field-row>label{min-width:0;margin:0;display:grid;gap:.12rem}.template-modal-form #template-product-field-list .template-product-field-row .field-caption{display:block;font-size:.66rem;line-height:1;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.template-modal-form #template-product-field-list .template-product-field-row>label>input,.template-modal-form #template-product-field-list .template-product-field-row>label>select{min-width:0;width:100%}.template-modal-form #template-product-field-list .field-key{grid-area:key}.template-modal-form #template-product-field-list .field-value{grid-area:value}.template-modal-form #template-product-field-list .field-type{grid-area:type}.template-modal-form #template-product-field-list .field-unit{grid-area:unit}.template-modal-form #template-product-field-list .field-required{grid-area:required;align-self:center}.template-modal-form #template-product-field-list .field-required .checkbox-inline{min-height:2rem;display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.82rem}.template-modal-form #template-product-field-list .field-required .checkbox-inline input{margin:0}.template-modal-form #template-product-field-list .field-controls{grid-area:controls;align-self:center;justify-content:flex-end;flex-wrap:nowrap;gap:.28rem;white-space:nowrap}.template-modal-form #template-product-field-list .row-controls .btn{padding:.26rem .52rem;min-height:30px}.order-modal-card{width:min(99vw,1420px);max-height:92vh;padding:0 1.5rem 1.5rem;overflow:hidden;gap:0;grid-template-rows:auto minmax(0,1fr)}.order-modal-card>#modal-message{margin:.75rem 0 0}.order-modal-card>.order-modal-form{min-height:0;overflow-y:auto;overflow-x:auto}.order-modal-form{gap:1rem;position:relative;isolation:isolate}.order-modal-header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin:0 -1.5rem .2rem;padding:1.25rem 1.5rem .9rem;border-bottom:1px solid var(--line);background:var(--surface);box-shadow:0 10px 14px -14px #14181673}.order-modal-header h2{margin:0}.order-modal-header-main{display:grid;gap:.6rem;min-width:0;flex:1 1 auto}.order-modal-header-fields{display:grid;grid-template-columns:minmax(340px,1fr) minmax(200px,240px);gap:.6rem;max-width:920px}.order-name-field,.order-deadline-field{display:grid;gap:.35rem;min-width:0}.order-modal-header-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}.order-modal-body{display:grid;gap:.9rem}.order-modal-form #order-process-list{gap:0;overflow-x:auto;padding-bottom:.15rem}.order-modal-form #order-process-list .order-step-row{grid-template-columns:minmax(165px,1.8fr) minmax(145px,1.5fr) minmax(84px,.72fr) minmax(74px,.6fr) minmax(105px,.86fr) minmax(142px,1.18fr) minmax(90px,.72fr) minmax(150px,1.4fr) minmax(92px,.72fr) auto;grid-template-areas:"process alias pblock pgroup planned break workers assigned indiv controls";align-items:start;row-gap:.35rem;padding:.46rem .55rem;position:relative;border-left:3px solid transparent;border-radius:4px;border-style:solid;border-width:1px 1px 1px 3px;border-color:#eadfcf;background:#fffdf8;min-width:1270px}.order-modal-form #order-process-list .order-step-row>label{min-width:0;margin:0;display:grid;gap:.12rem}.order-modal-form #order-process-list .order-step-row .field-caption{display:block;font-size:.66rem;line-height:1;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.order-modal-form #order-process-list .order-step-row>label>input,.order-modal-form #order-process-list .order-step-row>label>select{min-width:0;width:100%}.order-modal-form #order-process-list .field-process{grid-area:process}.order-modal-form #order-process-list .field-alias{grid-area:alias}.order-modal-form #order-process-list .field-path-block{grid-area:pblock}.order-modal-form #order-process-list .field-path-group{grid-area:pgroup}.order-modal-form #order-process-list .field-planned{grid-area:planned}.order-modal-form #order-process-list .field-break{grid-area:break}.order-modal-form #order-process-list .field-workers{grid-area:workers}.order-modal-form #order-process-list .field-assigned{grid-area:assigned}.order-modal-form #order-process-list .field-indivisible{grid-area:indiv;justify-content:center;align-self:center}.order-modal-form #order-process-list .field-indivisible .checkbox-inline{min-height:2rem;display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.82rem}.order-modal-form #order-process-list .field-indivisible .checkbox-inline input{margin:0}.order-modal-form #order-process-list .field-controls{grid-area:controls;align-self:center;justify-content:flex-start;flex-wrap:wrap;gap:.28rem;white-space:normal}.order-modal-form #order-process-list .row-controls .btn{padding:.26rem .52rem;min-height:30px}.order-modal-form #order-process-list .field-controls .badge{margin-right:.1rem}.order-modal-form #order-material-list{gap:0;overflow-x:auto;padding-bottom:.15rem}.order-modal-form #order-material-list .order-material-row{grid-template-columns:minmax(250px,2.6fr) minmax(150px,1fr) minmax(120px,.8fr) auto;grid-template-areas:"material quantity purchased controls";align-items:start;row-gap:.35rem;padding:.46rem .55rem;border-radius:4px;border-style:solid;border-width:1px;border-color:#eadfcf;background:#fffdf8;min-width:830px}.order-modal-form #order-material-list .order-material-row>label{min-width:0;margin:0;display:grid;gap:.12rem}.order-modal-form #order-material-list .order-material-row .field-caption{display:block;font-size:.66rem;line-height:1;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.order-modal-form #order-material-list .order-material-row>label>input,.order-modal-form #order-material-list .order-material-row>label>select{min-width:0;width:100%}.order-modal-form #order-material-list .field-material{grid-area:material}.order-modal-form #order-material-list .field-quantity{grid-area:quantity}.order-modal-form #order-material-list .field-purchased{grid-area:purchased;align-self:center}.order-modal-form #order-material-list .field-purchased .checkbox-inline{min-height:2rem;display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.82rem}.order-modal-form #order-material-list .field-purchased .checkbox-inline input{margin:0}.order-modal-form #order-material-list .field-controls{grid-area:controls;align-self:center;justify-content:flex-end;flex-wrap:nowrap;gap:.28rem;white-space:nowrap}.order-modal-form #order-material-list .row-controls .btn{padding:.26rem .52rem;min-height:30px}.order-modal-form #order-product-field-list{gap:0;overflow-x:auto;padding-bottom:.15rem}.order-modal-form #order-product-field-list .order-product-field-row{grid-template-columns:minmax(150px,1.25fr) minmax(250px,2.15fr) minmax(120px,.9fr) minmax(120px,.95fr) auto;grid-template-areas:"key value type unit controls";align-items:start;row-gap:.35rem;padding:.46rem .55rem;border-radius:4px;border-style:solid;border-width:1px;border-color:#eadfcf;background:#fffdf8;min-width:980px}.order-modal-form #order-product-field-list .order-product-field-row.template-controls-hidden .field-controls{visibility:hidden;pointer-events:none}.order-modal-form #order-product-field-list .order-product-field-row>label{min-width:0;margin:0;display:grid;gap:.12rem}.order-modal-form #order-product-field-list .order-product-field-row .field-caption{display:block;font-size:.66rem;line-height:1;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;overflow-wrap:anywhere}.order-modal-form #order-product-field-list .order-product-field-row>label>input,.order-modal-form #order-product-field-list .order-product-field-row>label>select{min-width:0;width:100%}.order-modal-form #order-product-field-list .field-key{grid-area:key}.order-modal-form #order-product-field-list .field-value{grid-area:value}.order-modal-form #order-product-field-list .field-type{grid-area:type}.order-modal-form #order-product-field-list .field-unit{grid-area:unit}.order-modal-form #order-product-field-list .field-controls{grid-area:controls;align-self:center;justify-content:flex-end;flex-wrap:nowrap;gap:.28rem;white-space:nowrap}.order-modal-form #order-product-field-list .row-controls .btn{padding:.26rem .52rem;min-height:30px}.order-modal-form #order-process-list .order-step-row .field-caption{overflow-wrap:normal;word-break:normal;white-space:normal}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.4rem}.modal-section{display:grid;gap:.6rem}.impact-block{display:grid;gap:.65rem;padding-top:.4rem}.impact-header{position:sticky;top:0;z-index:2;background:var(--surface);display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding-bottom:1.2rem}.impact-header-main h2{margin:0 0 .3rem;font-size:1.2rem}.impact-header-main p{margin:0}.impact-header-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.impact-summary{border-radius:14px;border:1px solid var(--line);background:#f6f1e8;padding:.6rem .75rem;display:grid;gap:.3rem;font-size:.9rem;width:fit-content;max-width:100%;justify-self:start}.impact-summary p{margin:0}.impact-summary-line{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.impact-summary-divider{color:var(--muted)}.impact-details summary{cursor:pointer;font-weight:600;font-size:.9rem}.impact-details{overflow-x:auto}.impact-details>table,.impact-details>p{margin-top:.6rem}.impact-table{width:100%;border-collapse:collapse;font-size:.85rem}.impact-table th,.impact-table td{text-align:left;padding:.35rem .4rem;border-bottom:1px solid var(--line);vertical-align:top}.impact-table th{font-size:.75rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.impact-table tr.late{background:#fdecec}.impact-table tr.improved{background:#edf7ef}.impact-cell-name{font-weight:600;min-width:180px}.impact-cell-delta{white-space:nowrap;font-weight:600}.impact-cell-delta.negative{color:var(--accent)}.section-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.item-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem;padding:.8rem;border-radius:12px;border:1px dashed var(--line);background:#fffdf7}.row-controls{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.checkbox-row{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--muted)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem}.calendar-summary{display:grid;gap:.35rem;width:min(100%,620px);margin-bottom:.6rem;font-size:.9rem}.calendar-summary strong{font-weight:700}.calendar-summary-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding:.2rem 0}.calendar-summary-row.metric-row{border-top:1px dashed var(--line);padding-top:.45rem;margin-top:.1rem}.calendar-summary-value{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem}.metric-value{display:inline-flex;align-items:center;gap:.35rem}.metric-help{position:relative;width:16px;height:16px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;line-height:1;cursor:help;box-shadow:0 1px 2px #0000000f}.metric-help:after{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%,2px);opacity:0;pointer-events:none;width:max-content;max-width:340px;white-space:normal;text-align:center;background:#1f2d26;color:#fff;border-radius:8px;padding:.35rem .45rem;font-size:.78rem;font-weight:500;line-height:1.3;box-shadow:0 6px 16px #0000002e;transition:opacity 80ms ease-out,transform 80ms ease-out;z-index:10;display:none}.metric-help:before{content:"";position:absolute;left:50%;bottom:calc(100% + 2px);width:7px;height:7px;background:#1f2d26;transform:translate(-50%) rotate(45deg);opacity:0;transition:opacity 80ms ease-out;pointer-events:none;z-index:9;display:none}.metric-help:hover,.metric-help:focus-visible{color:#224b3e;border-color:#9bb8ac;outline:none}.metric-help:hover:after,.metric-help:focus-visible:after{display:block;opacity:1;transform:translate(-50%)}.metric-help:hover:before,.metric-help:focus-visible:before{display:block;opacity:1}.calendar-note{width:min(100%,620px);margin:0 0 .75rem}.calendar-legend{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin-bottom:.8rem;font-size:.78rem;color:var(--muted)}.calendar-dot{width:12px;height:12px;border-radius:999px;display:inline-block;vertical-align:middle;margin-right:.2rem;border:1px solid var(--line)}.calendar-dot.low{background:#f7d9d4}.calendar-dot.mid{background:#f5e7cf}.calendar-dot.high{background:#e4f0de}.calendar-dot.over{background:#cfe8c8}.calendar-header{text-align:center;font-size:.85rem;color:var(--muted)}.calendar-cell{border:1px solid var(--line);border-radius:12px;padding:.5rem;background:#fff;text-align:center;display:flex;flex-direction:column;gap:.2rem;cursor:pointer;font-size:.85rem}.calendar-cell.muted{border:none;background:transparent;cursor:default}.calendar-cell.mid{background:#f5e7cf}.calendar-cell.low{background:#f7d9d4}.calendar-cell.high{background:#e4f0de}.calendar-cell.over{background:#cfe8c8}.calendar-cell>span{font-weight:700}.calendar-cell small{color:var(--muted)}.calendar-cell .calendar-util{font-weight:600}.calendar-actions{align-items:center}.month-label{display:inline-flex;align-items:center;min-height:2.75rem;font-weight:600}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.settings-grid .panel>label{display:grid;gap:.4rem;font-size:.9rem;color:var(--muted)}.settings-grid .panel>label>input:not([type=checkbox]):not([type=radio]),.settings-grid .panel>label>select{width:100%;max-width:220px}.settings-grid+.settings-grid{margin-top:1rem}.span-two{grid-column:1 / -1}.tag-list{display:flex;flex-wrap:wrap;gap:.4rem}.tag{border:none;background:#eef4f1;color:#1a4c3f;padding:.3rem .7rem;border-radius:var(--control-radius);cursor:pointer;font-size:.8rem}.backup-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;align-items:start}.backup-grid.has-summary{grid-template-columns:minmax(340px,1fr) minmax(340px,1fr)}.backup-actions{display:grid;gap:.8rem;align-content:start;min-width:0}.backup-primary-action{width:min(100%,340px);min-height:3.2rem;justify-self:start}.backup-summary{border:1px solid var(--line);border-radius:14px;background:#f9f5ed;padding:1rem;min-width:0;overflow-wrap:anywhere}.backup-summary.is-empty{display:none}.backup-summary .summary-list{margin:.55rem 0 0;padding-left:1.1rem}@media (max-width: 980px){.backup-grid{grid-template-columns:minmax(0,1fr)}.backup-primary-action{width:100%}}.chart{display:grid;gap:.8rem}.chart-row{display:grid;gap:.4rem}.chart-label{font-weight:600;font-size:.85rem;color:var(--muted)}.chart-bars{display:grid;gap:.3rem}.bar{height:24px;border-radius:999px;display:flex;align-items:center;padding-left:.6rem;font-size:.75rem;font-weight:600;color:#fff}.bar.planned{background:#3b82f6}.bar.actual{background:#1f7a64}.orders-list{display:grid;gap:.65rem;margin-top:.4rem}.orders-list .month-block{gap:.65rem}.archive-list{display:grid;gap:1.5rem}.archive-panel{padding:.5rem .8rem}.table-scroll{overflow-x:auto}.archive-table{width:100%;border-collapse:collapse}.archive-row td{vertical-align:top}.archive-name strong{display:block;font-size:.95rem}.archive-actions-cell{text-align:right;white-space:nowrap}.archive-table th:last-child{text-align:right}.archive-actions{display:inline-flex;justify-content:flex-end;align-items:flex-start;gap:.5rem}.archive-details-row{display:none}.archive-details-row.expanded{display:table-row}.archive-details-row td{border-bottom:none;padding:.8rem .6rem .4rem}.archive-details{background:#fff7ec;border:1px solid #f0e6d6;border-radius:12px;padding:.6rem}.archive-process-table{width:100%;border-collapse:collapse;font-size:.85rem}.archive-process-table th,.archive-process-table td{padding:.45rem}.month-block{display:grid;gap:.55rem}.orders-month-header{margin:0;font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:.12rem .2rem .05rem}.month-header{margin:0;font-size:1.3rem;color:var(--accent)}.icon-btn{background:transparent;border:1px solid var(--line);border-radius:999px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .18s ease,background-color .18s ease}.icon-btn:hover{background:#f0e9dd}@media (max-width: 720px){.app-header{flex-direction:column;align-items:flex-start}.app-nav{border-radius:18px}.tab-actions{width:100%}.modal-card{padding:1.5rem}.template-modal-card{width:calc(100vw - 1rem);max-height:94vh;padding:0 1rem 1rem}.order-modal-card{width:calc(100vw - .5rem);max-height:94vh;padding:0 1rem 1rem}.template-modal-card>#modal-message{margin-top:.6rem}.order-modal-card>#modal-message{margin-top:.6rem}.template-modal-header{margin:0 -1rem;padding:1rem 1rem .85rem}.order-modal-header{margin:0 -1rem;padding:1rem 1rem .85rem;flex-direction:column;align-items:flex-start}.order-modal-header-fields{grid-template-columns:1fr;max-width:none}.template-modal-header-actions,.order-modal-header-actions{justify-content:flex-start}.template-modal-form #template-process-list .template-step-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"process process" "alias alias" "planned break" "workers indiv" "controls controls" "menu menu"}.template-modal-form #template-process-list .template-step-row .field-caption{display:block}.template-modal-form #template-process-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap}.template-modal-form #template-process-list .field-indivisible{justify-content:flex-start}.template-modal-form #template-product-field-list .template-product-field-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"key value" "type unit" "required controls";min-width:0}.template-modal-form #template-product-field-list .field-required{align-self:center}.template-modal-form #template-product-field-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap;white-space:normal}.order-modal-form #order-process-list .order-step-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"process process" "alias alias" "pblock pgroup" "planned break" "workers assigned" "indiv indiv" "controls controls";min-width:0}.order-modal-form #order-process-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap}.order-modal-form #order-process-list .field-indivisible{justify-content:flex-start}.order-modal-form #order-material-list .order-material-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"material material" "quantity purchased" "controls controls";min-width:0}.order-modal-form #order-material-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap;white-space:normal}.order-modal-form #order-product-field-list .order-product-field-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"key value" "type unit" "controls controls";min-width:0}.order-modal-form #order-product-field-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap;white-space:normal}.item-row{grid-template-columns:1fr}.row-controls{justify-content:flex-end}}@media (min-width: 721px) and (max-width: 1080px){.template-modal-card{width:min(98.5vw,1040px)}.order-modal-card{width:min(99vw,1280px)}.template-modal-form #template-process-list .template-step-row{grid-template-columns:repeat(4,minmax(130px,1fr));grid-template-areas:"process process alias alias" "planned break workers indiv" "controls controls controls controls" "menu menu menu menu"}.template-modal-form #template-process-list .template-step-row .field-caption{display:block}.template-modal-form #template-process-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap}.template-modal-form #template-process-list .field-indivisible{justify-content:flex-start}.template-modal-form #template-product-field-list .template-product-field-row{grid-template-columns:repeat(4,minmax(120px,1fr));grid-template-areas:"key value type unit" "required controls controls controls";min-width:0}.template-modal-form #template-product-field-list .field-required{align-self:center}.template-modal-form #template-product-field-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap;white-space:normal}.order-modal-form #order-process-list .order-step-row{grid-template-columns:repeat(4,minmax(130px,1fr));grid-template-areas:"process process alias alias" "pblock pgroup planned break" "workers assigned indiv controls";min-width:0}.order-modal-form #order-process-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap}.order-modal-form #order-process-list .field-indivisible{justify-content:flex-start}.order-modal-form #order-material-list .order-material-row{grid-template-columns:repeat(4,minmax(120px,1fr));grid-template-areas:"material material quantity purchased" "controls controls controls controls";min-width:0}.order-modal-form #order-material-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap;white-space:normal}.order-modal-form #order-product-field-list .order-product-field-row{grid-template-columns:repeat(4,minmax(120px,1fr));grid-template-areas:"key value type unit" "controls controls controls controls";min-width:0}.order-modal-form #order-product-field-list .field-controls{justify-content:flex-start;align-self:center;flex-wrap:wrap;white-space:normal}}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{border-bottom:1px solid var(--line);padding:.6rem;text-align:left}thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}tr.complete{background:#e9f6f1}
