/* Tools pages take the colours of their cards on the Tools landing:
   Data Work = teal, Schedules = amber. Loaded after the older Tools styles. */

/* ---------- Data Work (teal) ---------- */
html:not([data-theme="light"]) body:has(#inventoryPage:not(.ly-dw-on):not(.hidden)){--page-start:#0c1a1b;--page-middle:#14302d;--page-end:#1d4741;--sidebar-surface:#10211f}
body:has(#inventoryPage:not(.ly-dw-on):not(.hidden)){--section-accent:#86efcf;--section-ink:#0d2b25;--section-panel:#173b36}
body:has(#inventoryPage:not(.ly-dw-on):not(.hidden)) .sidebar .nav button.active{background:#1d4a43!important;color:#e6fff8!important}
body:has(#mydayPage:not(.hidden)) .sidebar .nav button.active{background:#4d3720!important;color:#fff3e3!important}

#inventoryPage:not(.ly-dw-on) .ly-inventory-header,#inventoryPage:not(.ly-dw-on)>.ly-inventory-header{background:linear-gradient(145deg,#173b36,#172a30)!important;border:1px solid #4fc3a1!important}
#inventoryPage:not(.ly-dw-on) .ly-inventory-header h1{color:#e6fff8!important;-webkit-text-fill-color:#e6fff8!important;background:none!important}
#inventoryPage:not(.ly-dw-on) .ly-inventory-header .ly-goals-eyebrow{color:#86efcf!important}

#inventoryPage:not(.ly-dw-on) button:not(.ghost):not(.mini-trash):not(.danger):not(.ly-tools-bin):not(.ly-drag-handle):not(#lyInventoryGroupDialog *){background:linear-gradient(115deg,#5eead4,#86efcf)!important;color:#0d2b25!important;border:1px solid #86efcf!important}
#inventoryPage:not(.ly-dw-on) button.ghost{background:#86efcf14!important;color:#d9fbf1!important;border:1px solid #86efcf40!important}
#inventoryPage:not(.ly-dw-on) #lyInventoryProjects button.ly-inventory-project-card,#inventoryPage:not(.ly-dw-on) .ly-inventory-project-card{background:linear-gradient(145deg,#173b36,#172a30)!important;color:#e6fff8!important;border:1px solid #4fc3a155!important}
#inventoryPage:not(.ly-dw-on) #lyInventoryProjects button.ly-inventory-project-card:hover{background:linear-gradient(145deg,#1d4a43,#1a3238)!important}
#inventoryPage:not(.ly-dw-on) #lyWorkspaceResults button{background:#173b36!important;color:#e6fff8!important;border:1px solid #4fc3a144!important}
#inventoryPage:not(.ly-dw-on) .ly-inventory-summary article{background:transparent!important;border-color:#4fc3a133}
#inventoryPage:not(.ly-dw-on) #lyInventoryItems .ly-inventory-item,#inventoryPage:not(.ly-dw-on) .ly-inventory-item{background:linear-gradient(145deg,#163632,#172a30)!important;border-color:#4fc3a140!important}
#inventoryPage:not(.ly-dw-on) .ly-inventory-list-tabs button.is-selected{background:#86efcf!important;color:#0d2b25!important}
#inventoryPage:not(.ly-dw-on) input,#inventoryPage:not(.ly-dw-on) select,#inventoryPage:not(.ly-dw-on) textarea{background:#0f2324!important;border-color:#4fc3a144!important;color:#e6fff8}
#inventoryPage:not(.ly-dw-on) input:focus,#inventoryPage:not(.ly-dw-on) select:focus,#inventoryPage:not(.ly-dw-on) textarea:focus{border-color:#86efcf!important;outline-color:#86efcf}
#inventoryPage:not(.ly-dw-on) .ly-inventory-empty{border-color:#4fc3a155!important}
#inventoryPage:not(.ly-dw-on) :is(.ly-item-filters,.ly-item-options,.ly-project-options)>div{background:#14302d!important;border-color:#4fc3a155!important}

/* The big "New project" / "Add item" button that replaces the floating + */
#inventoryPage:not(.ly-dw-on) .ly-tools-create-bar{margin:18px 0 6px}
#inventoryPage:not(.ly-dw-on)#inventoryPage button.ly-tools-create{width:100%;min-height:54px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:14px;font-size:16px;font-weight:850;box-shadow:0 8px 24px #0004}
#inventoryPage:not(.ly-dw-on) button.ly-tools-create svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
#lyToolsPlus,#lyToolsAddMenu{display:none!important}

html[data-theme="light"] #inventoryPage:not(.ly-dw-on) .ly-inventory-header{background:linear-gradient(145deg,#dff5ee,#eef6f4)!important}
html[data-theme="light"] #inventoryPage:not(.ly-dw-on) .ly-inventory-header h1{color:#0f6b55!important;-webkit-text-fill-color:#0f6b55!important}
html[data-theme="light"] #inventoryPage:not(.ly-dw-on) .ly-inventory-header .ly-goals-eyebrow{color:#0f6b55!important}
html[data-theme="light"] #inventoryPage:not(.ly-dw-on) button.ghost{background:#dff5ee!important;color:#0f4a3d!important}
html[data-theme="light"] #inventoryPage:not(.ly-dw-on) :is(.ly-inventory-project-card,#lyWorkspaceResults button,.ly-inventory-item){background:linear-gradient(145deg,#e6f7f1,#f1f8f6)!important;color:#103d33!important}
html[data-theme="light"] #inventoryPage:not(.ly-dw-on) input,html[data-theme="light"] #inventoryPage:not(.ly-dw-on) select,html[data-theme="light"] #inventoryPage:not(.ly-dw-on) textarea{background:#f6fcfa!important;color:#103d33}

/* The Data Work / Schedules switch at the top is gone; keep any old copy hidden. */
#inventoryPage:not(.ly-dw-on) .ly-tools-sections,#mydayPage .ly-tools-sections{display:none!important}
#inventoryPage:not(.ly-dw-on) summary{background:#86efcf14!important;color:#d9fbf1!important;border:1px solid #86efcf40!important}
html[data-theme="light"] #inventoryPage:not(.ly-dw-on) summary{background:#dff5ee!important;color:#0f4a3d!important}

/* Tools landing: cards span the full width under the Tools banner */
#toolsPage #toolsLanding.home-card-grid{max-width:none!important;width:100%;box-sizing:border-box}
