:root{--ink:#13231e;--muted:#62736b;--surface:#ffffff;--canvas:#f3f6f4;--line:#d8e2dc;--accent:#087356;--accent-dark:#07533f;--accent-soft:#e1f4eb;--navy:#102a3a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}.app-shell{width:min(100%,760px);min-height:100dvh;margin:auto;padding:calc(16px + env(safe-area-inset-top)) 20px calc(92px + env(safe-area-inset-bottom));background:var(--canvas)}.topbar{display:grid;grid-template-columns:44px 1fr 44px;gap:12px;align-items:center}.topbar h1{margin:2px 0 0;font-size:17px}.eyebrow{margin:0;color:#66746e;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:750}.brand-button{border:0;background:transparent;text-align:left;padding:0;color:var(--ink)}.icon-button{position:relative;display:grid;place-items:center;width:44px;height:44px;color:#20332d;border:1px solid #dce3df;border-radius:14px;background:#fff}.icon-button svg{width:20px}.notification span{position:absolute;width:8px;height:8px;border-radius:50%;background:#df5d38;right:10px;top:9px;border:2px solid white}.hero{padding:35px 4px 25px}.hero h2{font-size:clamp(28px,8vw,38px);margin:7px 0;letter-spacing:-.04em}.hero p:last-child{margin:0;color:#65736d;font-size:16px}section{margin-top:27px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading h2{margin:0;font-size:18px;letter-spacing:-.02em}.section-heading button{border:0;color:#0f6b51;font-size:14px;font-weight:700;background:transparent}.task-list{display:grid;gap:10px}.task-card{display:grid;grid-template-columns:48px 1fr 22px;align-items:center;gap:12px;width:100%;padding:13px;text-align:left;border:1px solid #e1e8e3;border-radius:18px;background:#fff;box-shadow:0 1px 1px #12271d08}.task-card>svg{color:#98a49e;width:18px}.task-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px}.task-icon svg{width:22px}.primary{color:#076548;background:#dff4ea}.amber{color:#985400;background:#fff0d6}.blue{color:#1961aa;background:#e2efff}.task-copy{display:grid;gap:4px}.task-copy strong{font-size:15px}.task-copy small,article small{color:#78857f;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.metric-grid article{display:grid;gap:5px;padding:16px;min-height:130px;border:1px solid #e1e8e3;border-radius:18px;background:#fff}.metric-grid article span{color:#66746e;font-size:12px;font-weight:700}.metric-grid article strong{align-self:end;font-size:25px;letter-spacing:-.04em}.alert-card{display:grid;grid-template-columns:32px 1fr 20px;align-items:center;gap:10px;padding:15px;border:1px solid #f3d5a6;border-radius:17px;color:#744100;background:#fff7e9}.alert-card>svg{width:21px}.alert-card p{margin:0;font-size:14px;line-height:1.4}.mobile-nav{position:fixed;z-index:3;bottom:0;left:50%;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;width:min(100%,760px);height:calc(74px + env(safe-area-inset-bottom));padding:0 9px env(safe-area-inset-bottom);transform:translate(-50%);border-top:1px solid #e1e8e3;background:#fffefdfa;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-nav button{display:grid;justify-items:center;gap:3px;color:#74817b;border:0;background:none}.mobile-nav button svg{width:21px}.mobile-nav button span{font-size:10px;font-weight:700}.mobile-nav .active{color:#087356}.mobile-nav .capture{width:48px;height:48px;margin:auto;place-items:center;color:#fff;border-radius:16px;background:#087356;box-shadow:0 7px 17px #08735645}.mobile-nav .capture svg{width:24px}.modal-backdrop{position:fixed;z-index:10;inset:0;display:flex;align-items:end;background:#0b211833}.capture-sheet{width:min(100%,620px);max-height:90dvh;margin:auto;padding:10px 20px calc(28px + env(safe-area-inset-bottom));overflow:auto;border-radius:28px 28px 0 0;background:#fff}.sheet-handle{width:42px;height:4px;margin:0 auto 18px;border-radius:9px;background:#d7dfda}.sheet-heading{display:flex;justify-content:space-between;align-items:start}.sheet-heading h2{margin:4px 0;letter-spacing:-.03em}.close{border:0;color:#126d53;font-weight:700;background:transparent}form{display:grid;gap:18px;margin-top:20px}label{display:grid;gap:8px;color:#34433d;font-size:14px;font-weight:700}input{width:100%;min-height:52px;padding:0 14px;border:1px solid #cfdad4;border-radius:14px;color:#14221e;background:#fff}input:focus{outline:3px solid #9fe1c9;border-color:#087356}.number-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.number-grid input{padding:0 10px}.form-hint{margin:0;color:#66746e;font-size:13px;line-height:1.45}.primary-action{min-height:53px;border:0;border-radius:15px;color:#fff;font-weight:800;background:#087356}.primary-action:disabled{cursor:not-allowed;color:#88948f;background:#e3e8e5}.success-state{display:grid;justify-items:start;gap:12px;margin-top:30px;padding:12px 0}.success-state svg{color:#087356;width:42px;height:42px}.success-state h3,.success-state p{margin:0}.success-state p{color:#66746e;line-height:1.5}@media(min-width:761px){.app-shell{padding-top:28px}.mobile-nav{border:1px solid #e1e8e3;border-bottom:0;border-radius:22px 22px 0 0}}.auth-page,.setup-page{display:grid;place-items:center;min-height:100dvh;padding:24px;background:#f5f7f4}.auth-card,.setup-card{width:min(100%,440px);padding:30px 24px;border:1px solid #e1e8e3;border-radius:25px;background:#fff;box-shadow:0 18px 55px #10241f12}.auth-mark,.setup-card>svg{display:grid;place-items:center;width:52px;height:52px;margin-bottom:22px;color:#fff;border-radius:17px;background:#087356}.auth-mark svg{width:27px}.auth-card h1{margin:7px 0 10px;font-size:31px;letter-spacing:-.045em}.auth-copy{margin:0 0 25px;color:#66746e;line-height:1.5}.auth-card form{gap:15px}.primary-action{display:flex;align-items:center;justify-content:center;gap:8px}.primary-action svg{width:18px}.auth-message{padding:12px;color:#075f49;border-radius:12px;background:#e4f6ed;font-size:14px;line-height:1.4}.auth-footnote{display:flex;align-items:center;gap:6px;margin:24px 0 0;color:#78857f;font-size:12px}.auth-footnote svg{width:14px}.setup-page{text-align:center}.setup-card>svg{margin:0 auto 18px;padding:13px}.setup-card h1{margin:0;font-size:19px;line-height:1.4}.setup-card p{color:#66746e;font-size:14px;line-height:1.5}code{padding:2px 5px;border-radius:5px;background:#edf1ee}.error-message{color:#9a3d2a;background:#fff0ec}.primary-action{background:var(--accent-dark);box-shadow:0 5px 12px #07533f2b}.primary-action:hover{background:#043e2f}.primary-action:disabled{box-shadow:none}.secondary-action{color:var(--ink);background:var(--surface);border:1px solid var(--line)}.desktop-sidebar{display:none}.workspace{min-width:0}.topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:14px}.status-live{display:none;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:700}.status-live i{width:7px;height:7px;border-radius:50%;background:#21a76c;box-shadow:0 0 0 4px #21a76c1f}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:36px 0 24px}.page-heading h2{margin:8px 0 6px;font-size:34px;letter-spacing:-.05em}.page-heading>div>p:last-child{margin:0;color:var(--muted)}.dashboard-action{white-space:nowrap;padding:0 18px}.dashboard{max-width:1100px}.positive{color:#168258}.dashboard>.metric-grid{margin-bottom:20px}.dashboard-columns{display:grid;gap:20px}.panel{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:22px;box-shadow:0 7px 24px #15352a08}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.panel-heading h3{margin:5px 0 0;font-size:18px;letter-spacing:-.02em}.panel-heading>button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--accent-dark);font-size:13px;font-weight:750}.panel-heading>button svg{width:15px}.priority-list{display:grid;gap:5px;margin-top:18px}.priority-item{display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:12px;padding:11px 0;border:0;border-top:1px solid #edf1ee;background:transparent;text-align:left;color:var(--ink)}.priority-item span:nth-child(2){display:grid;gap:4px}.priority-item small,.activity-row small{color:var(--muted);font-size:12px}.priority-item>svg{width:16px;color:#9aa9a1}.alert-panel{background:linear-gradient(145deg,#fffaf0,#fff3dd);border-color:#f0dcae}.alert-panel .panel-heading>svg{width:21px;color:#a66b00}.alert-panel>p{color:#795617;line-height:1.55;font-size:14px}.alert-panel .secondary-action{margin-top:8px;background:#fff;color:#765313;border-color:#e7c982}.activity-panel{margin-top:20px}.activity-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf1ee}.activity-row>div{display:grid;gap:4px;flex:1}.activity-row em{font-style:normal;font-size:11px;font-weight:750;color:var(--muted)}.activity-dot{width:9px;height:9px;border-radius:50%;flex:none}.activity-dot.green{background:#1c9b65}.activity-dot.blue{background:#3975d3}@media(min-width:761px){body{background:#e8efeb}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;max-width:1440px;min-height:100dvh;padding:0;background:var(--canvas);border:0}.desktop-sidebar{display:flex;flex-direction:column;gap:22px;padding:28px 18px;background:#102a3a;color:#eaf5f0}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:0 10px}.sidebar-brand>span{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#51c18b;color:#102a3a;font-size:12px;font-weight:900}.sidebar-brand div{display:grid;gap:1px}.sidebar-brand strong{font-size:17px}.sidebar-brand small{color:#a6c1b6;font-size:11px}.sidebar-company{display:grid;gap:5px;margin:18px 4px 0;padding:15px 13px;border:1px solid #ffffff1c;border-radius:14px;background:#ffffff0b}.sidebar-company small{color:#9db8ad;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.sidebar-company strong{font-size:13px}.sidebar-company span{color:#a6c1b6;font-size:11px}.desktop-sidebar nav{display:grid;gap:4px}.desktop-sidebar nav button,.sidebar-bottom button{display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#b7ccc3;text-align:left;font-size:13px;font-weight:650}.desktop-sidebar nav button svg,.sidebar-bottom button svg{width:17px}.desktop-sidebar nav button:hover,.desktop-sidebar nav button.selected{background:#ffffff14;color:#fff}.desktop-sidebar nav button.selected{box-shadow:inset 3px 0 #51c18b}.sidebar-bottom{display:grid;gap:8px;margin-top:auto}.profile-row{border-top:1px solid #ffffff18!important;padding-top:16px!important}.profile-row span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#51c18b;color:#102a3a;font-size:10px;font-weight:900}.workspace{padding:0 52px 50px}.mobile-menu{display:none}.status-live{display:flex}.mobile-nav{display:none}.topbar{padding:24px 0 18px;border-bottom:1px solid var(--line)}.page-heading{margin-top:45px}.dashboard-columns{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}.metric-grid{grid-template-columns:repeat(4,1fr)}.metric-grid article{min-height:145px}.panel{padding:24px}}.topbar{padding-bottom:18px;border-bottom:1px solid var(--line)}.icon-button{transition:all .2s ease}.icon-button:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-1px)}.hero{position:relative;overflow:hidden;margin-top:22px;padding:30px 28px;border-radius:24px;background:linear-gradient(120deg,#102a3a,#07533f);box-shadow:0 16px 32px #0e302524}.hero:after{content:"";position:absolute;right:-40px;bottom:-70px;width:220px;height:220px;border:30px solid #ffffff12;border-radius:50%}.hero .eyebrow,.hero h2,.hero p:last-child{position:relative;z-index:1;color:#fff}.hero .eyebrow{color:#a9d9c5}.hero h2{margin-top:10px}.hero p:last-child{opacity:.78}.section-heading{margin-top:30px}.section-heading button{padding:7px 11px;border-radius:9px;color:var(--accent-dark);background:var(--accent-soft)}.task-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.task-card:hover{border-color:#9bcbb8;box-shadow:0 10px 22px #123a2a12;transform:translateY(-2px)}.task-icon.primary{color:#fff;background:var(--accent-dark)}.metric-grid article{position:relative;overflow:hidden;min-height:142px;box-shadow:0 3px 12px #15352a09}.metric-grid article:after{content:"";position:absolute;right:-22px;bottom:-28px;width:85px;height:85px;border:14px solid #08735612;border-radius:50%}.metric-grid article strong{position:relative;z-index:1}.alert-card{box-shadow:0 4px 15px #7a4b0a12}@media(min-width:761px){.topbar{grid-template-columns:52px 1fr 52px}.topbar h1{font-size:19px}.hero{min-height:250px;padding:42px 46px}.section-heading h2{font-size:21px}.metric-grid article{min-height:155px}.mobile-nav{background:#fff}}.app-shell{width:100%}@media(min-width:761px){.app-shell{max-width:none}}.production-workspace-nav{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:20px 0 14px;border-bottom:1px solid var(--line);margin-bottom:18px}.production-workspace-title{display:grid;gap:3px}.production-workspace-title strong{font-size:24px;letter-spacing:-.04em}.production-workspace-title small{color:var(--muted);font-size:12px}.production-workspace-nav nav{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.production-workspace-nav nav button{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:9px 10px;font:600 12px inherit;cursor:pointer}.production-workspace-nav nav button:hover{color:var(--ink);background:var(--accent-soft)}.production-workspace-nav nav button.active{color:#fff;background:var(--accent-dark);box-shadow:0 4px 10px #0b6b501f}.production-section-context{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 20px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(115deg,#f6fbf8,#fff)}.production-section-context h3{margin:3px 0 0;font-size:20px;letter-spacing:-.03em}.production-section-context p{max-width:360px;margin:0;color:var(--muted);font-size:13px;line-height:1.45}@media(max-width:760px){.production-workspace-nav{display:block}.production-workspace-nav nav{justify-content:flex-start;margin-top:14px;overflow:auto;flex-wrap:nowrap}.production-workspace-nav nav button{white-space:nowrap}.production-section-context{display:block}.production-section-context p{margin-top:8px}}.production-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;min-height:620px}.production-sidebar{border:1px solid var(--line);border-radius:18px;background:#fbfcfc;padding:15px;height:max-content;position:sticky;top:18px}.production-sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.production-sidebar-heading button{border:0;background:transparent;color:var(--accent-dark);cursor:pointer}.production-order-row{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:left;padding:12px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--ink);cursor:pointer}.production-order-row:hover{background:#f0f7f3}.production-order-row.selected{border-color:#9acbb7;background:#eaf7f0}.production-order-row span{display:grid;gap:4px;min-width:0}.production-order-row strong{font-size:13px}.production-order-row small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.production-order-row em{font-style:normal;color:var(--accent-dark);font-size:10px;font-weight:700}.sidebar-new{width:100%;margin-top:14px}.production-main{min-width:0}.production-context{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(120deg,#102a3a,#153c46);color:#fff}.production-context h2{margin:4px 0;font-size:25px;letter-spacing:-.04em}.production-context p{margin:0;color:#b9d2cf;font-size:13px}.production-context .eyebrow{color:#8de0ba}.production-context-metrics{display:flex;gap:18px;flex-wrap:wrap}.production-context-metrics span{display:grid;gap:4px;color:#a9c7c2;font-size:11px}.production-context-metrics b{color:#fff;font-size:18px}.production-tabs{display:flex;gap:3px;margin:16px 0;overflow:auto;border-bottom:1px solid var(--line)}.production-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:11px 12px;white-space:nowrap;font:650 12px inherit;cursor:pointer}.production-tabs button.active{border-color:var(--accent);color:var(--accent-dark)}.production-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.production-kpi-grid article{padding:17px;border:1px solid var(--line);border-radius:16px;background:#fff}.production-kpi-grid span,.production-kpi-grid small{display:block;color:var(--muted);font-size:12px}.production-kpi-grid strong{display:block;margin:8px 0 3px;font-size:25px;letter-spacing:-.04em}.production-next-actions,.production-section-heading{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fbfcfc}.production-next-actions h3,.production-section-heading h3{margin:3px 0 13px}.production-next-actions>div{display:flex;gap:9px;flex-wrap:wrap}.production-table{border:1px solid var(--line);border-radius:16px;overflow:hidden}.production-table-head,.production-table-row{display:grid;grid-template-columns:110px 1fr 1.5fr 100px 110px;gap:12px;align-items:center;padding:13px 15px}.production-table-head{background:#f4f7f6;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.production-table-row{width:100%;border:0;border-top:1px solid var(--line);background:#fff;color:var(--ink);text-align:left;font:inherit;cursor:pointer}.production-table-row:hover,.production-table-row.selected{background:#eef8f2}.production-table-row span{font-size:12px;color:var(--muted)}.batch-create{display:flex;gap:9px;margin:16px 0}.batch-create input,.form-grid input,.operation-card input{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:0 11px;font:inherit}.batch-create input:first-child{flex:1}.batch-list{display:grid;gap:8px}.batch-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.batch-row div:first-child{display:grid;gap:5px}.batch-row span{color:var(--muted);font-size:12px}.batch-row button+button{margin-left:6px}.calendar-board{padding:16px 0}.calendar-day{display:grid;gap:6px;padding:17px;border-left:4px solid var(--accent);border-radius:10px;background:#eef8f2}.calendar-day span,.calendar-day em{color:var(--muted);font-size:12px;font-style:normal}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.form-grid label,.operation-card label{display:grid;gap:7px;color:var(--ink);font-size:12px;font-weight:700}.form-grid.three{grid-template-columns:repeat(3,1fr)}.floor-capture,.operation-card{display:grid;gap:16px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;max-width:760px}.capture-status{display:flex;align-items:center;gap:12px;padding:14px;border-radius:12px;background:#102a3a;color:#fff}.capture-status svg{color:#83dfb3}.capture-status div{display:grid;gap:4px}.capture-status small{color:#b9d2cf}.capture-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.capture-numbers label{display:grid;gap:8px;color:var(--muted);font-size:12px;font-weight:700}.capture-numbers input{min-height:68px;font-size:28px;text-align:center;border:1px solid var(--line);border-radius:12px}.capture-submit{min-height:54px}.operation-card>svg{color:var(--accent-dark);width:25px}.operation-card h3{margin:-8px 0 0}.evidence-upload{width:max-content}.empty-state{display:grid;place-items:center;gap:8px;padding:40px;color:var(--muted);border:1px dashed var(--line);border-radius:14px}.empty-state svg{color:var(--accent)}@media(max-width:900px){.production-shell{grid-template-columns:1fr}.production-sidebar{position:static}.production-sidebar{display:none}.production-kpi-grid{grid-template-columns:repeat(2,1fr)}.production-table{overflow-x:auto}.production-table-head,.production-table-row{min-width:620px}}@media(max-width:600px){.production-context{display:block}.production-context-metrics{margin-top:15px}.form-grid,.form-grid.three,.capture-numbers{grid-template-columns:1fr}.batch-create{display:grid}.production-kpi-grid{grid-template-columns:1fr 1fr}}.module-header{display:flex;gap:12px;align-items:flex-start;margin:8px 0 22px}.module-header h2{margin:2px 0 4px;font-size:28px;letter-spacing:-.04em}.module-header p:not(.eyebrow){margin:0;color:var(--muted);font-size:14px}.back-button,.close{border:1px solid var(--line);background:var(--surface);color:var(--ink);width:40px;height:40px;border-radius:12px;display:grid;place-items:center;cursor:pointer}.back-button svg,.close svg{width:18px}.module-actions{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;min-height:44px;padding:0 15px;font:600 14px inherit;cursor:pointer}.primary-action{background:var(--accent);color:#fff}.primary-action:disabled{opacity:.45;cursor:not-allowed}.secondary-action{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.primary-action svg,.secondary-action svg{width:17px}.compact{min-height:40px}.production-summary,.finance-summary,.payroll-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.production-summary>div,.finance-summary>div,.payroll-summary>div{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:15px}.production-summary span,.finance-summary span,.payroll-summary span,.payroll-period span{display:block;color:var(--muted);font-size:12px}.production-summary strong,.finance-summary strong,.payroll-summary strong{display:block;font-size:22px;margin:6px 0 2px;letter-spacing:-.03em}.production-summary small,.finance-summary small,.payroll-summary small{color:var(--muted);font-size:12px}.module-list{display:grid;gap:10px}.order-card,.invoice-card{width:100%;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:15px;color:var(--ink);cursor:pointer}.order-card-top,.order-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-card-top strong{font-size:14px}.order-card em,.payroll-period em{font-style:normal;font-size:11px;font-weight:700;color:#147a54;background:#e5f7ef;border-radius:99px;padding:4px 8px}.order-product{display:block;font-weight:650;margin:10px 0 3px}.order-meta,.order-footer{font-size:12px;color:var(--muted)}.progress-track{display:block;height:7px;background:#edf0f2;border-radius:99px;margin:13px 0 10px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:99px}.order-footer b{font-weight:600}.order-footer svg,.invoice-card>svg{width:17px;color:var(--muted)}.invoice-card{display:flex;align-items:center;gap:12px;cursor:default}.invoice-icon{width:38px;height:38px;border-radius:11px;background:#eaf1ff;color:#3764c5;display:grid;place-items:center;flex:none}.invoice-icon svg{width:18px}.invoice-copy{display:grid;gap:5px;min-width:0;flex:1}.invoice-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-copy span,.invoice-amount small{font-size:12px;color:var(--muted)}.invoice-amount{text-align:right;white-space:nowrap}.invoice-amount strong{display:block;font-size:14px}.payroll-period{display:flex;align-items:center;gap:12px;background:#18251f;color:#fff;border-radius:16px;padding:16px;margin-bottom:12px}.payroll-period>svg{width:22px;color:#7ee2af}.payroll-period strong{display:block;margin-top:4px;font-size:15px}.payroll-period em{margin-left:auto;background:#dff7e9;color:#147a54}.payroll-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.payroll-summary strong{font-size:18px}.payroll-actions{display:flex;gap:10px;flex-wrap:wrap;margin:5px 0 18px}.lock-note{display:flex;gap:10px;align-items:flex-start;background:#fff8e8;border:1px solid #f0dfb0;color:#725315;border-radius:14px;padding:13px;font-size:13px}.lock-note svg{width:18px;flex:none;margin-top:2px}.lock-note p{margin:0;line-height:1.45}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#13201966;display:flex;align-items:flex-end;justify-content:center}.capture-sheet{width:min(100%,620px);background:var(--surface);border-radius:22px 22px 0 0;padding:20px;box-shadow:0 -8px 30px #10221920}.sheet-heading{display:flex;justify-content:space-between;align-items:flex-start}.sheet-heading h2{margin:2px 0 16px}.capture-sheet form{display:grid;gap:14px}.capture-sheet label{display:grid;gap:7px;color:var(--ink);font-size:13px;font-weight:600}.capture-sheet input,.capture-sheet select{min-height:45px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 11px;font:inherit}.number-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.form-context{color:var(--muted);font-size:13px;margin:0}.success-state{text-align:center;padding:18px 4px 6px}.success-state>svg{width:44px;height:44px;color:#1c9b65}.success-state h3{margin:10px 0 6px}.success-state p{color:var(--muted);font-size:13px;line-height:1.5}.module-menu{display:grid;gap:10px}.module-menu>button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:13px;cursor:pointer;color:var(--ink)}.module-menu>button:not(.planned-module):hover{border-color:var(--accent)}.module-menu>button>span:nth-child(2){display:grid;gap:4px;flex:1}.module-menu strong{font-size:14px}.module-menu small{font-size:12px;color:var(--muted)}.module-menu em{font-style:normal;font-size:11px;color:var(--muted)}.module-menu-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none}.module-menu-icon svg{width:18px}.module-menu-icon.green{background:#e2f7ed;color:#168258}.module-menu-icon.blue{background:#eaf1ff;color:#3764c5}.module-menu-icon.amber{background:#fff3d8;color:#a46e0a}.module-menu-icon.gray{background:#f0f2f3;color:#6b7477}@media(min-width:640px){.production-summary,.finance-summary{grid-template-columns:repeat(2,220px)}.capture-sheet{border-radius:22px;margin-bottom:20px}.modal-backdrop{align-items:center}.capture-sheet{box-shadow:0 12px 50px #10221930}.module-list{max-width:720px}}.planned-empty{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:28px 20px;text-align:center}.planned-empty>svg{width:36px;height:36px;color:var(--accent)}.planned-empty h3{margin:12px 0 6px}.planned-empty p{color:var(--muted);font-size:14px;line-height:1.5;margin:0 auto 20px;max-width:440px}.planned-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.planned-metrics>div{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.planned-metrics span,.planned-metrics small{display:block;color:var(--muted);font-size:12px}.planned-metrics strong{display:block;font-size:22px;margin:7px 0 2px}.planned-workspace{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:16px}.planned-checklist{padding:22px;background:#102a3a;color:#edf8f3;border-radius:18px}.planned-checklist h3{margin:0 0 16px}.planned-checklist p{display:flex;gap:8px;align-items:center;color:#b7d0c3;font-size:13px}.planned-checklist svg{width:16px;color:#61ce98}@media(max-width:639px){.planned-metrics,.planned-workspace{grid-template-columns:1fr}}.records-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:16px}.records-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.records-toolbar>span{color:var(--muted);font-size:12px;white-space:nowrap}.search-field{display:flex;align-items:center;gap:8px;flex:1;padding:0 11px;border:1px solid var(--line);border-radius:10px}.search-field svg{width:16px;color:var(--muted)}.search-field input{min-height:40px;padding:0;border:0;outline:0}.record-list{display:grid}.record-row{display:flex;align-items:center;gap:12px;padding:13px 3px;border-top:1px solid #edf1ee}.record-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--accent-soft);color:var(--accent-dark);font-size:11px;font-weight:850}.record-row>div:nth-child(2){display:grid;gap:4px;flex:1}.record-row small{color:var(--muted);font-size:12px}.record-row em{font-style:normal;color:#167651;background:#e4f5ec;padding:4px 8px;border-radius:99px;font-size:11px;font-weight:750}.compact-empty{border:0;padding:28px 8px}.planned-checklist{margin-top:16px}.production-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}.phase-card{display:grid;gap:7px;padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.phase-card.done{border-color:#99d5b7;background:#f1fbf5}.phase-card span{color:var(--muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}.phase-card strong{font-size:14px}.phase-card small{color:var(--muted);font-size:12px}.phase-card button{justify-self:start;margin-top:5px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--accent-dark);font-size:12px;font-weight:750}.phase-card.done button{color:#147651;background:#e0f5e9;border-color:#b8e1ca}@media(max-width:639px){.production-phase-grid{grid-template-columns:1fr}}.order-form-sheet{max-width:720px}.order-form-sheet form{gap:18px}.form-section,.size-section,.commercial-section{display:grid;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line)}.form-section-title{margin:0;font-size:13px;font-weight:800;color:var(--ink)}.form-section>label select,.capture-sheet select{min-height:45px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 11px;font:inherit}.section-inline{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.section-inline small{color:var(--muted);font-size:12px}.add-line{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:var(--surface);color:var(--accent-dark);font-size:12px;font-weight:750;white-space:nowrap}.add-line svg{width:14px}.size-line{display:grid;grid-template-columns:1fr 1fr 32px;gap:8px}.size-line input{min-height:42px}.remove-line{display:grid;place-items:center;border:0;border-radius:8px;background:#fff0ec;color:#9a3d2a}.remove-line svg{width:15px}.size-total{display:flex;justify-content:space-between;padding:11px 12px;border-radius:9px;background:var(--accent-soft);color:var(--accent-dark);font-size:13px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-label{display:flex;align-items:center;gap:8px!important}.check-label input{width:17px;min-height:17px}.order-total-preview{display:flex;justify-content:space-between;align-items:center;padding:14px;border-radius:12px;background:#102a3a;color:#fff}.order-total-preview span{color:#b7d0c3;font-size:13px}.order-total-preview strong{font-size:18px}
