/* V4.6 visual polish: calm navy/mint palette and GPU-light interactions. */
:root{--v46-navy:#173b79;--v46-blue:#2f67b2;--v46-mint:#20a874;--v46-mint-soft:#e9f8f1;--v46-sky:#eef5fb;--v46-warm:#fff9e9;--v46-ink:#182842;--v46-line:#d7e2ec}
body{background:linear-gradient(135deg,#f4f8fc 0%,#f0f8f4 48%,#f7f8fc 100%);color:var(--v46-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body[data-theme=dark]{background:var(--bg);color:var(--text)}body[data-theme=spring]{background:linear-gradient(135deg,#f4faf6,#eef7f1 55%,#f6f9fc)}body[data-theme=midautumn]{background:linear-gradient(135deg,#fff9ef,#f8f3ea 55%,#f6f8fc)}body[data-theme=national]{background:linear-gradient(135deg,#fff7f8,#f9f0f2 55%,#f6f8fc)}body:is([data-theme=original],[data-theme=qingxiao-light],[data-theme=qingxiao-dark]){background:transparent}
.workspace{background:transparent}.sidebar{background:linear-gradient(180deg,#fff 0%,#f8fbfe 100%);border-right-color:#dce6ef}.sidebar .brand{background:linear-gradient(135deg,#153a7c,#245b9d 65%,#23886f);box-shadow:0 8px 22px rgba(24,63,126,.14)}
.nav a{border:1px solid transparent;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}.nav a:hover{background:#edf5fb;border-color:#dce9f4;transform:translateX(2px)}.nav a.active{background:linear-gradient(90deg,#e6effb,#eaf8f2);border-color:#6f96c8;box-shadow:inset 3px 0 #1b58a0,0 4px 12px rgba(25,73,137,.07)}
.topbar{background:#fffffff5;border-bottom-color:#dce5ed;box-shadow:0 4px 14px rgba(30,58,95,.055)}.legacy-clock{border-color:#d6e1eb;box-shadow:0 3px 10px rgba(35,60,96,.05)}
.panel,.legacy-chart,.legacy-cost-section{border-color:var(--v46-line);box-shadow:0 7px 20px rgba(35,62,96,.075);transition:border-color .18s ease,box-shadow .18s ease}.panel:hover{border-color:#c8d8e7;box-shadow:0 9px 24px rgba(35,62,96,.09)}
.classic-view-tabs{background:linear-gradient(90deg,#f2f6fb,#f0f7f4);border:1px solid #e0e8ef;border-radius:12px;padding:4px}.classic-view-tabs button{border:0;background:transparent;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.classic-view-tabs button.active,.classic-view-tabs button.selected{background:#fff;color:#13714e;box-shadow:0 3px 10px rgba(36,74,105,.11)}
.toolbar input,.toolbar select,input,select,textarea{border-color:#d8e3ec;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.toolbar input:focus,.toolbar select:focus,input:focus,select:focus,textarea:focus{border-color:#61a68c;outline:0;box-shadow:0 0 0 3px rgba(32,168,116,.11)}
button{transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease}button:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(31,67,111,.1)}button.primary{background:linear-gradient(135deg,#1c55a0,#238a70);border:0}.badge.using,.badge.normal{background:#dcf7e9;color:#08724a}.badge.reserved,.badge.pending,.badge.inserted{background:#fff2c9;color:#8a6500}
.daily-v45-loading{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#50637a}.daily-v45-loading span{width:26px;height:26px;border:3px solid #dbe8e2;border-top-color:#20a874;border-radius:50%;animation:v46-spin .8s linear infinite}@keyframes v46-spin{to{transform:rotate(360deg)}}
.daily-v45-summary{padding:7px 9px;border-radius:10px;background:linear-gradient(90deg,#eff6fd,#edf9f3)}.daily-v45-summary b,.daily-v45-note-main b{color:var(--v46-navy)}.daily-v45-scroll,.daily-v45-notes{border-color:#cddde8;box-shadow:0 4px 14px rgba(33,66,100,.055)}.daily-v45-day.selected{background:#e8f1fc}.daily-v45-day.today,.daily-v45-day.selected.today{background:#e3f8ec}.daily-v45-hour.day-shift{background:#fffaf0}.daily-v45-hour.night-shift{background:#eef3fa}.daily-v45-fill.used{background:linear-gradient(180deg,#4bd28f,#169a62)}.daily-v45-fill.reserved{background:linear-gradient(180deg,#ffe47a,#eab62d)}.daily-v45-cell.running{box-shadow:inset 0 0 0 2px #087849,0 0 0 1px #fff,0 0 7px rgba(22,154,98,.42)}
.build-stamp{background:linear-gradient(135deg,#173b79,#238a70)}
@media(max-width:1050px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:0 8px 7px;overflow:hidden}.sidebar .brand{height:58px;margin:0 -8px 7px;padding:8px 14px}.sidebar .brand b{font-size:17px}.sidebar .brand small{font-size:8px}.sidebar .nav{display:flex;gap:5px;overflow-x:auto;padding:2px 0 5px;scrollbar-width:thin}.nav a{flex:0 0 auto;margin:0;padding:8px 10px;font-size:11px;white-space:nowrap}.nav a:hover{transform:none}.nav a i{font-size:12px;width:14px}.sidebar-foot,.classic-nav-section,.nav-label{display:none!important}.topbar{position:sticky;top:0;height:auto;min-height:58px;padding:7px 9px;gap:6px}.topbar #breadcrumb{display:none}.topbar .actions{width:100%;gap:4px;overflow-x:auto;justify-content:flex-start}.legacy-clock{height:38px;padding:5px 8px;font-size:14px}.legacy-clock small{font-size:8px}.topbar select,.topbar button{height:34px;font-size:10px}.topbar .who{min-height:38px;padding:4px 8px 4px 39px;background-size:28px 28px;background-position:6px center;font-size:10px}.content{padding:9px}.panel{padding:9px;border-radius:13px}.toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.toolbar>*{width:100%;min-width:0!important}.classic-view-tabs{display:grid;grid-template-columns:repeat(4,1fr)}.classic-view-tabs button{width:100%;font-size:10px}.daily-v45-summary{align-items:flex-start;flex-direction:column}.daily-v45-grid{--daily-cell:48px}.daily-v45-note{grid-template-columns:7px minmax(0,1fr) auto}.daily-v45-note-meta{display:none}.build-stamp{font-size:7px;right:7px;bottom:7px}}
@media(max-width:560px){.topbar .who{display:none}.toolbar{grid-template-columns:1fr}.daily-v45-legend{gap:7px}.daily-v45-grid{grid-template-columns:76px repeat(var(--daily-days),46px)}.daily-v45-shift-note{gap:7px}.content{padding:7px}.panel{padding:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.daily-v45-project.long{animation:none!important;overflow:hidden;text-overflow:ellipsis;max-width:100%}}
