.dashboard-control { background:#f1f5f0; }
.dashboard-control .content { max-width:1800px; width:100%; padding:30px 32px 70px; min-width:0; }
.dashboard-control [hidden] { display:none!important; }
.dashboard-control .dc-topbar { display:flex; justify-content:space-between; align-items:center; gap:24px; margin:4px 0 10px; }
.dc-eyebrow { font-size:10px; letter-spacing:.14em; font-weight:800; color:#668074; text-transform:uppercase; margin:0 0 9px; }
.dc-topbar h1 { font-size:32px; line-height:1.2; letter-spacing:-.7px; color:#173d32; margin:0 0 10px; }
.dc-topbar p:not(.dc-eyebrow) { margin:0; color:#6b8175; font-size:13px; line-height:1.6; }
.dc-topbar>div:last-child { display:flex; flex-direction:column; gap:12px; align-items:flex-end; }
.dc-live { background:#e0eee4; color:#34735b; padding:8px 12px; border-radius:30px; font-size:10px; font-weight:700; white-space:nowrap; }
.dashboard-control :is(button,input,select) { font:inherit; }
.dashboard-control .content button:not(.dc-stage) { border:1px solid #ccdad1; border-radius:9px; background:#fff; color:#315d4b; min-height:42px; padding:10px 14px; font-size:12px; font-weight:600; cursor:pointer; }
.dashboard-control button:disabled { opacity:.45; cursor:default; }
.dashboard-control :is(button,input,select,a,summary):focus-visible { outline:3px solid #dd8a43; outline-offset:3px; }
#dc-status,#dc-attention-status { font-size:11px; color:#758677; line-height:1.5; margin:12px 0 18px; }
.dc-hero { display:grid; grid-template-columns:1.1fr 1fr; gap:34px; padding:32px 36px; background:linear-gradient(115deg,#173f31 0%,#265842 70%,#3a6849 100%); border:1px solid #234b36; border-radius:24px; color:#fff; box-shadow:0 14px 35px #305d3510; overflow:hidden; position:relative; }
.dc-hero:after { content:''; position:absolute; width:300px; height:300px; border:1px solid #b5d49218; border-radius:50%; right:-120px; top:-170px; pointer-events:none; }
.dc-hero .dc-eyebrow { color:#bdcf96; }
.dc-hero h2 { font-size:34px; margin:12px 0; letter-spacing:-.7px; font-weight:700; line-height:1.15; }
.dc-hero-copy>p:not(.dc-eyebrow) { color:#c1d1bc; line-height:1.65; font-size:13px; }
.dc-hero a { display:inline-block; color:#f0ddb3; font-size:12px; text-decoration:none; font-weight:700; margin-top:15px; }
.dc-hero-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:center; }
.dc-hero-stats>div { border-left:1px solid #a0bf943d; padding-left:20px; min-width:0; }
.dc-hero-stats small { display:block; font-size:11px; color:#d2dcc9; }
.dc-hero-stats strong { display:block; font-size:42px; line-height:1.2; margin:9px 0; font-weight:600; letter-spacing:-1.5px; }
.dc-hero-stats>div:nth-child(2) strong { color:#f3cb87; }
.dc-hero-stats span { font-size:10px; color:#bdcdb4; display:block; line-height:1.6; }
.dc-flow-section { margin-top:28px; }
.dc-section-heading { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:18px; }
.dc-section-heading h2 { font-size:23px; color:#173d32; margin:0; letter-spacing:-.3px; }
.dc-section-heading p:not(.dc-eyebrow),.dc-section-heading>small { font-size:12px; color:#77857a; margin:8px 0 0; line-height:1.6; }
.dc-flow { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.dc-stage { display:flex; flex-direction:column; align-items:flex-start; padding:18px; border:1px solid #d8e4d5; border-radius:16px; background:#fff; color:#325548; text-align:left; cursor:pointer; position:relative; min-width:0; }
.dc-stage-step { position:absolute; right:13px; top:13px; font-size:10px; color:#84997d; opacity:.8; }
.dc-stage strong { font-size:30px; font-weight:700; line-height:1.3; margin-bottom:7px; }
.dc-stage>span:not(.dc-stage-step) { font-size:12px; font-weight:700; }
.dc-stage small { color:#708a78; font-size:10px; margin-top:10px; }
.dc-stage-ready { background:#f9f4e8; border-color:#e7d9b8; }.dc-stage-cutting { background:#edf0ff; border-color:#d8dcf0; color:#4c6096; }.dc-stage-waitingAssignment { background:#fff0e5; border-color:#efd7c5; color:#97642f; }.dc-stage-stitching { background:#e9f1fc; border-color:#d1e1f3; color:#346d97; }.dc-stage-finishing { background:#f1ebf7; border-color:#e0d3eb; color:#775090; }.dc-stage-done { background:#e5f1e6; color:#367044; }
.dc-stage:hover { transform:translateY(-2px); box-shadow:0 5px 15px #27533110; }
.dc-jumps { display:flex; gap:26px; margin:28px 0 18px; border-bottom:1px solid #dbe4d9; padding-bottom:14px; }
.dc-jumps a { color:#476653; font-size:12px; font-weight:700; text-decoration:none; }
.dc-panel { border:1px solid #dce4d8; border-radius:21px; padding:26px; margin-top:20px; background:#fff; scroll-margin-top:25px; }
#dc-attention-count { display:inline-block; padding:3px 8px; border-radius:7px; background:#fbecdf; color:#a56931; font-size:15px; vertical-align:middle; margin-left:8px; }
.dc-attention-tabs { display:flex; gap:8px; flex-wrap:wrap; }
.dashboard-control .content .dc-attention-tabs button { border-color:#e5e9e0; background:#f6f8f3; }
.dashboard-control .content .dc-attention-tabs button[aria-pressed="true"] { background:#254c3a; color:#fff; border-color:#254c3a; }
.dc-attention-tabs span { margin-left:6px; opacity:.75; }
.dc-search-row { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-top:18px; }
.dashboard-control label { font-size:11px; font-weight:700; color:#577061; display:grid; gap:7px; }
.dashboard-control .content :is(input,select) { box-sizing:border-box; padding:11px 13px; border:1px solid #d2ded3; border-radius:9px; min-height:44px; background:#fff; font-size:13px; color:#254c3a; min-width:0; width:100%; }
.dc-search-row label { flex:1; max-width:450px; }.dc-search-row p { color:#81907e; font-size:11px; max-width:310px; line-height:1.55; }
.dc-attention-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.dc-obstacle { display:flex; align-items:flex-start; gap:14px; padding:19px; border:1px solid #e8ddd1; border-radius:13px; background:#fffdf9; min-width:0; }
.dc-obstacle.dc-urgent { border-color:#eed8cf; background:#fffaf7; }
.dc-obstacle-mark { width:30px; height:30px; flex-shrink:0; border-radius:9px; color:#b1693d; background:#f7e8d8; display:grid; place-items:center; font-size:17px; font-weight:800; }
.dc-obstacle-body { min-width:0; flex:1; overflow-wrap:anywhere; }
.dc-obstacle header { display:flex; justify-content:space-between; gap:10px; align-items:start; flex-wrap:wrap; }
.dc-obstacle h3 { font-size:15px; margin:0 0 7px; color:#3b4f3e; line-height:1.4; }
.dc-obstacle .dc-eyebrow { font-size:9px; color:#ae7651; margin-bottom:7px; }
.dc-obstacle p { font-size:11px; color:#73816f; line-height:1.6; margin:3px 0 10px; }
.dc-tag { display:inline-flex; color:#8c6728; background:#f8efd9; border-radius:20px; padding:5px 8px; font-size:9px; font-weight:700; white-space:nowrap; }
.dc-tag-red { background:#fae6dd; color:#ad553c; }
.dc-stock-values { display:flex; flex-wrap:wrap; gap:9px 18px; font-size:11px; margin:12px 0; }
.dc-stock-values span { color:#798671; }.dc-stock-values b { display:block; color:#41593c; margin-top:4px; }.dc-stock-values>strong { color:#ad6331; width:100%; padding:9px 10px; background:#f9ecd9; border-radius:6px; }
.dc-obstacle footer { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.dc-obstacle a,.dc-lot a { color:#437051; font-size:11px; font-weight:700; text-decoration:none; }
.dashboard-control .content .dc-obstacle button { min-height:36px; padding:8px 10px; font-size:10px; }
.dc-obstacle details { border-top:1px solid #ebe2d5; margin-top:14px; padding-top:12px; }
.dc-obstacle summary { color:#557154; font-size:11px; cursor:pointer; font-weight:600; }
.dc-material-lot { display:grid; grid-template-columns:1fr auto; gap:5px 12px; border-bottom:1px solid #ede6d9; padding:12px 0; font-size:11px; }
.dc-material-lot small { display:block; font-size:10px; color:#7e8a76; margin-top:5px; }
.dc-material-lot>small { grid-column:1/-1; }
.dc-material-lot strong { font-size:11px; color:#735727; }
.dc-obstacle p.dc-shared-note { margin-top:13px; }
.dc-pages { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:19px; font-size:11px; color:#74816f; }
.dc-empty { padding:35px 20px; color:#6b816c; grid-column:1/-1; border:1px dashed #d2dfcd; background:#f7faf3; text-align:center; border-radius:12px; }
.dc-decisions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:20px 0; }
.dc-decisions article { background:#eff3e7; border:1px solid #dde5ce; border-radius:14px; padding:18px; display:flex; align-items:center; gap:15px; }
.dc-decisions strong { font-size:25px; color:#5d743d; }.dc-decisions b { font-size:11px; color:#60704f; display:block; }.dc-decisions a { display:inline-block; font-size:10px; color:#6f805f; margin-top:6px; }
.dc-production-filters { display:grid; grid-template-columns:2fr 1fr; gap:16px; margin:20px 0; }
.dc-lots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.dc-lot { background:#fcfdf9; border:1px solid #dfe6d7; border-radius:14px; padding:20px; min-width:0; }
.dc-lot header { display:flex; justify-content:space-between; align-items:start; gap:10px; }
.dc-lot h3 { color:#344e37; font-size:16px; margin:8px 0 5px; overflow-wrap:anywhere; }.dc-lot p { font-size:10px; color:#839079; margin:0; overflow-wrap:anywhere; }.dc-lot-number { color:#69844d; font-size:11px; font-weight:800; }
.dc-lot-stages { display:flex; gap:7px; flex-wrap:wrap; margin:12px 0; }.dc-lot-stages span { color:#6c7c5f; background:#edf3e7; border-radius:5px; padding:4px 7px; font-size:9px; }
.dc-quantities { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:18px 0; }.dc-quantities small { display:block; color:#8a9580; font-size:9px; }.dc-quantities strong { font-size:13px; color:#415b3a; display:block; margin:7px 0 9px; }.dc-quantities strong small { display:inline; font-size:8px; font-weight:400; }
.dc-progress { height:4px; border-radius:3px; background:#e5eadd; overflow:hidden; }.dc-progress i { display:block; height:100%; background:#7e9b62; border-radius:3px; }.dc-quantities>div:nth-child(2) i { background:#658ba6; }.dc-quantities>div:nth-child(3) i { background:#b39956; }.dc-quantities>div:nth-child(4) i { background:#698f6e; }
.dc-lot footer { border-top:1px solid #e7ecdf; padding-top:13px; display:flex; gap:10px; flex-wrap:wrap; justify-content:space-between; font-size:10px; color:#7c8e70; }.dc-lot footer>div { display:flex; flex-wrap:wrap; gap:13px; }
.dashboard-control .owner-task-board .ot-primary { background:#216b56; color:#fff; }
@media(min-width:1700px){.dc-attention-list{grid-template-columns:repeat(3,minmax(0,1fr));}.dc-lots{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:1200px){.dc-hero{grid-template-columns:1fr;gap:20px}.dc-hero-stats{max-width:700px}.dc-hero-stats>div:first-child{border:0;padding-left:0}.dc-flow{grid-template-columns:repeat(3,minmax(0,1fr));}.dc-attention-list,.dc-lots{grid-template-columns:1fr}.dc-decisions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.dashboard-control .content{padding:22px 16px 90px}.dashboard-control .dc-topbar{flex-direction:column;align-items:stretch;gap:14px}.dc-topbar>div:last-child{flex-direction:row;align-items:center;justify-content:space-between}.dc-topbar h1{font-size:26px}.dc-hero{padding:25px 22px;border-radius:18px}.dc-hero h2{font-size:29px}.dc-hero-stats{gap:12px}.dc-hero-stats>div{padding-left:12px}.dc-hero-stats strong{font-size:31px}.dc-hero-stats small{font-size:10px}.dc-hero-stats span{font-size:9px}.dc-stage{padding:15px 12px}.dc-stage strong{font-size:25px}.dc-stage small{font-size:9px}.dc-panel{padding:18px 15px;border-radius:16px}.dc-section-heading{flex-wrap:wrap;gap:8px}.dc-section-heading h2{font-size:21px}.dc-section-heading>small{font-size:10px}.dc-search-row{display:block}.dc-search-row label{max-width:none}.dc-search-row p{max-width:none}.dc-jumps{gap:19px}.dc-jumps a{font-size:11px}.dc-obstacle{padding:15px 12px;gap:10px}.dc-obstacle-mark{width:24px;height:24px;font-size:14px;border-radius:7px}.dc-obstacle h3{font-size:14px}.dc-decisions{gap:9px}.dc-decisions article{padding:13px;gap:11px}.dc-decisions strong{font-size:21px}.dc-decisions b{font-size:10px}.dc-production-filters{grid-template-columns:1fr}.dc-quantities{grid-template-columns:1fr 1fr;gap:16px}.dc-lot{padding:16px}.dc-pages{gap:6px}.dc-material-lot{grid-template-columns:1fr}.dc-material-lot>small{grid-column:auto;}}
@media(prefers-reduced-motion:reduce){.dc-stage:hover{transform:none;}}
