/* v4.1.3 — dashboard rebuilt to visually align with approved reference, data remains real. */
#pageContent .yc-root{max-width:1650px;color:#172d51}
#pageContent .yc-head{padding:17px 22px;margin-bottom:14px;border:1px solid #e6edf9;background:linear-gradient(130deg,#fff 75%,#f0f5ff)!important;box-shadow:0 3px 15px #163c7d0a}
#pageContent .yc-head h1{font-size:22px;color:#142f65!important}
#pageContent .yc-head p{color:#7387a4}
#pageContent .yc-primary{background:#1d6af2!important;border-radius:9px;box-shadow:0 4px 13px #2563eb20}
#pageContent .yc-kpi{padding:14px 18px;border-color:#e4eaf5;border-radius:14px;box-shadow:0 2px 8px #1d48810a}
#pageContent .yc-kpi strong{color:#173970;font-size:27px}
#pageContent .yc-panel{padding:17px 21px;border:1px solid #e2eaf6!important;border-radius:16px!important;box-shadow:0 6px 23px #17376c09!important;overflow:hidden}
#pageContent .yc-panel-head{gap:10px}
#pageContent .yc-panel-head h2{font-size:15px;color:#0f2c5a!important;letter-spacing:-.02em}
#pageContent .yc-panel-head p{font-size:11px;color:#8697b1}
#pageContent .yc-title-wrap{display:flex;align-items:center;gap:13px;min-width:0}
#pageContent .yc-panel-icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:12px;font-size:23px;color:white;box-shadow:0 6px 12px #3759bc10}
#pageContent .yc-panel-icon-notice{background:linear-gradient(140deg,#ff334c,#ff6b81)}
#pageContent .yc-panel-icon-stock{background:linear-gradient(140deg,#2544ff,#6b60fb)}
#pageContent .yc-panel-link{background:transparent!important;border:0!important;padding:4px 0!important;font-size:11px;color:#185ed0!important;font-weight:800;white-space:nowrap}
#pageContent .yc-notice-panel .yc-panel-link{color:#e42243!important}
#pageContent .yc-notice-panel .yc-panel-head,#pageContent .yc-stock-panel .yc-panel-head{margin-bottom:7px;min-height:48px}
#pageContent .yc-bottom-grid{gap:16px;align-items:stretch}
#pageContent .yc-bottom-grid>.yc-panel{height:410px;margin-bottom:14px;display:flex;flex-direction:column}
#pageContent #yc-notices,#pageContent #yc-stock{display:block!important;width:100%!important;min-width:0!important;flex:1 1 auto;max-height:none!important;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;outline:0;scrollbar-gutter:stable;padding-right:7px}
#pageContent #yc-stock:focus-visible,#pageContent #yc-notices:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
#pageContent #yc-notices::-webkit-scrollbar,#pageContent #yc-stock::-webkit-scrollbar{width:7px}
#pageContent #yc-notices::-webkit-scrollbar-thumb,#pageContent #yc-stock::-webkit-scrollbar-thumb{background:#b6c9e9;border-radius:99px}
#pageContent .yc-notice,#pageContent .yc-stock-row{border-bottom:1px solid #ecf1f8;min-height:51px;padding:9px 5px}
#pageContent .yc-notice{gap:12px}
#pageContent .yc-notice-ic{flex:0 0 34px;width:34px;height:34px;font-size:15px;border-radius:10px}
#pageContent .yc-notice strong,#pageContent .yc-stock-row strong{font-size:11px;color:#1d3153;line-height:1.45}
#pageContent .yc-notice small,#pageContent .yc-stock-row small{font-size:10px;color:#8293b0}
#pageContent .yc-stock-row{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;width:100%!important;max-width:100%;min-width:0;min-height:54px}
#pageContent .yc-material-icon{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e9f2ff;color:#2664ea;font-size:19px}
#pageContent .yc-stock-details{flex:1 1 auto;min-width:0;text-align:left}
#pageContent .yc-stock-details small{display:block}
#pageContent .yc-stock-row b{flex:0 0 auto;font-size:10px;background:#fff1df;color:#b46b10;border:0;border-radius:8px;padding:6px 9px;font-weight:800}
#pageContent .yc-stock-row.yc-out-of-stock b{background:#fee8eb;color:#c42438}
#pageContent .yc-stock-row:hover,#pageContent .yc-notice:hover{background:#f7faff}
#pageContent .yc-main-grid{gap:16px}
#pageContent #yc-tasks,#pageContent #yc-dispatch{scrollbar-color:#b6c9e9 transparent}
#pageContent .yc-calendar-panel{padding:17px 21px 14px}
#pageContent .yc-calendar-head{margin-bottom:12px}
#pageContent .yc-week{gap:0;border:1px solid #e4ebf7;border-radius:10px;overflow:hidden}
#pageContent .yc-day{min-height:120px;background:#fff;border:0;border-right:1px solid #edf1f8;border-radius:0;padding:9px;min-width:0}
#pageContent .yc-day:last-child{border-right:0}
#pageContent .yc-day.today{background:#fff5f6!important;border-color:#edf1f8!important}
#pageContent .yc-day-head{border-bottom:1px solid #f0f4fa;padding-bottom:6px;color:#6b7f9d}
#pageContent .yc-day-head b{color:#17365e;font-size:13px}
#pageContent .yc-day.today .yc-day-head b{color:#d22b3b}
#pageContent .yc-event{border-radius:6px;background:color-mix(in srgb,var(--yc-event-color) 13%,white);color:#193a67;font-weight:600;padding:6px 7px}
#pageContent .yc-event small{display:inline;font-size:9px;margin-right:4px}
#pageContent .yc-week-controls button{background:#f5f8ff!important;border:1px solid #dbe6fa!important}
#pageContent .yc-quick-panel{margin-top:0}
#pageContent .yc-quick-body{grid-template-columns:1fr;gap:17px}
#pageContent .yc-quick-group h3{font-size:12px;color:#1a3b73!important;display:flex;align-items:center;gap:5px;margin-bottom:10px}
#pageContent .yc-quick-group h3 small{font-size:10px;color:#94a2bd}
#pageContent .yc-quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#pageContent .yc-shortcut{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;gap:7px;min-height:100px;padding:12px 9px;border-radius:11px;background:#f2f6ff!important;border:1px solid #e2ebfb!important;color:#214173!important;font-size:11px}
#pageContent .yc-shortcut:nth-child(5n + 2){background:#f5f0ff!important;border-color:#ece4ff!important}
#pageContent .yc-shortcut:nth-child(5n + 3){background:#eefbf3!important;border-color:#dff3e6!important}
#pageContent .yc-shortcut:nth-child(5n + 4){background:#fff6eb!important;border-color:#fbead7!important}
#pageContent .yc-shortcut:nth-child(5n + 5){background:#eef7ff!important;border-color:#deecfa!important}
#pageContent .yc-shortcut-icon{width:32px;height:32px;min-width:32px;background:white!important;color:#2563eb!important;font-size:19px;border-radius:9px;box-shadow:0 2px 5px #133c8312}
#pageContent .yc-shortcut-label{display:block;font-size:11px;line-height:1.4;font-weight:700}
#pageContent .yc-shortcut-arrow{position:absolute;right:7px;bottom:6px;width:17px;height:17px;border-radius:50%;background:#fff;color:#2563eb;font-size:14px;line-height:16px}
#pageContent .yc-shortcut:hover{transform:translateY(-1px);box-shadow:0 5px 13px #154d9c10!important}
#pageContent .yc-search input{border-radius:10px;background:#f9fbff}
@media(max-width:1150px){#pageContent .yc-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){#pageContent .yc-bottom-grid>.yc-panel{height:auto;min-height:260px;max-height:420px}#pageContent #yc-stock,#pageContent #yc-notices{max-height:340px!important}#pageContent .yc-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:690px){#pageContent .yc-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#pageContent .yc-week{overflow-x:auto;grid-template-columns:repeat(7,minmax(108px,1fr))}#pageContent .yc-shortcut{min-height:90px}#pageContent .yc-panel-icon{width:38px;height:38px;flex-basis:38px}}
@media(prefers-reduced-motion:reduce){#pageContent .yc-shortcut:hover{transform:none}}
