:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#25235e;background:#f5f8f2;--green:#343296;--muted:#61716b;--gold:#7cc13d}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:12px;background:var(--green);color:white;padding:12px 17px;font-weight:650}button:hover{filter:brightness(1.12)}button:disabled{opacity:.6;cursor:wait}button.secondary{background:#e9eee8;color:var(--green)}button.danger{background:#783e3e}input,select,textarea{width:100%;border:1px solid #cbd5ce;background:#fff;border-radius:10px;padding:12px;color:#25235e}textarea{min-height:95px;resize:vertical}label{display:grid;gap:6px;font-size:14px;margin:12px 0}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,5vw,46px);line-height:1.15;letter-spacing:-1.4px;margin-bottom:14px}h2{font-size:23px;letter-spacing:-.6px}h3{font-size:17px;margin-bottom:9px}p{line-height:1.6}header{background:var(--green);color:#fff;padding:22px max(22px,calc((100vw - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:12px;align-items:center}.brandmark{width:42px;height:42px;border-radius:13px;background:var(--gold);color:var(--green);display:grid;place-items:center;font-size:24px;font-weight:800}.brand b{font-size:19px}.brand small{display:block;font-size:11px;letter-spacing:2px;margin-top:3px;color:#eef3ff}header .secondary{background:#4845ab;color:#fff}.shell{max-width:1100px;margin:0 auto;padding:30px 24px 120px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:750;color:var(--muted);margin-bottom:14px}.hero{background:var(--green);color:white;border-radius:24px;padding:30px;position:relative;overflow:hidden;margin-bottom:25px}.hero p{max-width:600px;color:#eef3ff}.hero .eyebrow{color:var(--gold)}.hero .pill{background:#4845ab;color:#fff}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:#fff;border:1px solid #e3e6dc;border-radius:19px;padding:23px;margin-bottom:18px}.card p:last-child{margin-bottom:0}.muted{color:var(--muted);font-size:14px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.pill{display:inline-block;background:#edf2ea;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:650}.pill.warn{background:#fff0d0;color:#775416}.pill.done{background:#dff0e0;color:#22552d}.metric{font-size:36px;font-weight:750;letter-spacing:-1px;margin:10px 0}.divider{border-top:1px solid #edf0e8;margin:16px 0}.task{padding:16px 0;border-bottom:1px solid #edf0e8}.task:last-child{border:0}.task p{margin:5px 0 10px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{font-size:13px;padding:10px 12px}.task select{max-width:190px;font-size:13px}.tabbar{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:#fffefb;border-top:1px solid #dde3d8;padding:10px 12px max(10px,env(safe-area-inset-bottom));z-index:5;gap:8px}.tabbar button{background:transparent;color:var(--muted);border-radius:12px;font-size:13px;min-width:85px}.tabbar button.active{background:#e6eee5;color:var(--green)}.login{max-width:440px;margin:50px auto;padding:30px}.login .brand{margin-bottom:34px}.login h1{font-size:36px}.login button{width:100%;margin-top:10px}.footer{font-size:12px;color:var(--muted);margin-top:20px}.empty{padding:22px;background:#f3f5ee;border-radius:12px;color:var(--muted);font-size:14px}.options label{padding:12px;background:#f2f5ee;display:flex;align-items:center;border-radius:10px}.options input{width:auto}#notice{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#343296;color:white;padding:14px 20px;border-radius:14px;z-index:20;max-width:90vw;box-shadow:0 6px 30px #0002;display:none}#notice.error{background:#7d3535}.badges{display:flex;flex-wrap:wrap;gap:10px}.badge{border:1px solid #dfe4d5;background:#f8f6e9;border-radius:14px;padding:16px;flex:1}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #e8ece3;white-space:nowrap}th{color:var(--muted);font-size:12px}.inlineform{display:flex;gap:10px;align-items:end}.inlineform label{flex:1}.welcome{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.welcome p{margin-bottom:0}details{margin-top:15px}summary{cursor:pointer;font-size:14px;font-weight:650}.subheading{margin:25px 0 15px}.alert{border-left:4px solid #d4b155;padding:12px 16px;background:#faf6e5;font-size:14px}.busy{padding:60px;text-align:center}.quiet{font-size:12px;color:var(--muted)}@media(max-width:650px){.grid{grid-template-columns:1fr;gap:0}.shell{padding:24px 16px 110px}header{padding:16px}.hero{padding:24px}.card{padding:20px}.tabbar{gap:0}.tabbar button{min-width:0;flex:1;font-size:11px;padding:12px 6px}.welcome{align-items:start}.welcome h1{font-size:31px}.login{margin:15px auto}.row{align-items:start}.inlineform{display:block}}

.brandlogo{width:66px;height:58px;object-fit:contain;background:white;border-radius:10px;padding:3px}.login .brandlogo{width:85px;height:75px}.loginlogo{width:150px;height:130px;object-fit:contain;margin-bottom:20px}.hero .eyebrow{color:#b9ed89}.tabbar button.active{background:#e7e7fb;color:#343296}button.secondary{background:#eef5e8;color:#25235e}

.progressitem{margin:17px 0}progress{width:100%;height:14px;margin:9px 0;accent-color:#5aab35;border:0;border-radius:10px;overflow:hidden}progress::-webkit-progress-bar{background:#e8eddf;border-radius:10px}progress::-webkit-progress-value{background:#5aab35;border-radius:10px}progress::-moz-progress-bar{background:#5aab35}

.area-photo{display:block;width:100%;max-width:480px;max-height:320px;object-fit:contain;border-radius:12px;background:#f5f8f2;margin:15px 0}

/* Banaras colour accents and clearer visual grouping */
body{background:linear-gradient(145deg,#f5f8f2,#eeeffc)}.card{box-shadow:0 5px 18px #34329609;border-top:4px solid #7cc13d}.hero{background:linear-gradient(120deg,#343296,#5753bd);box-shadow:0 9px 24px #34329622}.pill{border-radius:8px}.pill.done{background:#e3f5db;color:#2d6626}.pill.warn{background:#fff0d6;color:#815200}.announcement-photo{display:block;width:100%;max-height:350px;object-fit:contain;border-radius:14px;background:#f1f3fa;margin:12px 0}.task{border-left:3px solid #e0e9d6;padding-left:14px}details{background:#f6f7fc;padding:10px;border-radius:10px}summary{color:#343296;cursor:pointer}button{box-shadow:0 2px 5px #34329612}

.stock-photo{display:block;max-width:250px;width:100%;max-height:190px;object-fit:contain;border-radius:12px;margin:10px 0}.tabbar{overflow-x:auto}.tabbar button{flex-shrink:0}

.stock-item-row{border:1px solid #d9dfed;border-radius:12px;margin:14px 0;padding:14px;background:#f8f9ff}.stock-item-row legend{font-weight:650;color:#343296}

.proof-gallery{display:flex;flex-wrap:wrap;gap:12px}.proof-gallery .stock-photo{max-width:210px}

/* Section identity: coloured lines plus existing text and icons. */
#app{--section:#343296;--section-soft:#eeeefb}
#app[data-section="today"],.tabbar button[data-tab="today"]{--section:#b45309;--section-soft:#fff3df}
#app[data-section="progress"],.tabbar button[data-tab="progress"]{--section:#1d4ed8;--section-soft:#eaf1ff}
#app[data-section="learn"],.tabbar button[data-tab="learn"]{--section:#7c3aed;--section-soft:#f2ebff}
#app[data-section="team"],.tabbar button[data-tab="team"]{--section:#be185d;--section-soft:#ffedf5}
#app[data-section="work"],.tabbar button[data-tab="work"]{--section:#0e7490;--section-soft:#e5f7fc}
#app[data-section="stock"],.tabbar button[data-tab="stock"]{--section:#047857;--section-soft:#e5f7ee}
#app[data-section="manage"],.tabbar button[data-tab="manage"]{--section:#475569;--section-soft:#edf1f6}
#app .shell{border-top:5px solid var(--section)}
#app .card{border-top-color:var(--section)}
#app .card>h2{color:var(--section)}
#app .stock-item-row{border-color:var(--section);background:var(--section-soft)}
#app .stock-item-row legend{color:var(--section)}
#app .tabbar button{border-top:3px solid var(--section);border-radius:5px 5px 12px 12px}
#app .tabbar button.active{background:var(--section-soft);color:var(--section);border-top-width:5px;font-weight:800}
#app .tabbar button:focus-visible{outline:3px solid var(--section);outline-offset:2px}

/* Different stock workflows keep distinct, consistent section colours. */
#app .stock-section[data-stock-section="catalogue"]{--section:#047857;--section-soft:#edf9f2}
#app .stock-section[data-stock-section="counts"]{--section:#1d4ed8;--section-soft:#eff5ff}
#app .stock-section[data-stock-section="coverage"]{--section:#0e7490;--section-soft:#edfafd}
#app .stock-section[data-stock-section="requests"]{--section:#a54b08;--section-soft:#fff7e8}
#app .stock-section[data-stock-section="transfers"]{--section:#7c3aed;--section-soft:#f6f0ff}
#app .stock-section{background:linear-gradient(180deg,var(--section-soft),white 160px);border-top-width:5px}
#app .stock-section>h2{border-bottom:1px solid var(--section);padding-bottom:12px}
#app .stock-section button:not(.secondary):not(.danger){background:var(--section);color:#fff}
#app .stock-section summary{color:var(--section)}
#app .stock-section progress{accent-color:var(--section)}
#app .stock-section progress::-webkit-progress-value{background:var(--section)}
#app .stock-section progress::-moz-progress-bar{background:var(--section)}

.knowledge-body{white-space:pre-wrap;line-height:1.8}.knowledge-article[hidden]{display:none}.knowledge-article form{margin-top:18px}.knowledge-article details{margin-bottom:12px}

.training-video{width:100%;max-width:760px;aspect-ratio:16/9;border:0;border-radius:12px;background:#141426;display:block;margin:15px 0}
