/* Approved homepage only. Other views retain their current design. */
body.home-view{--text:#f3f4f6;--muted:#b0b5be;--surface:#111214;--subtle:#1b1d21;--border:#41454d;--line:#2d3036;--brand:#f3f4f6;--blue:#8dbbff;--green:#8dd6ae;--amber:#f0b968;--danger:#ff9292;background:var(--surface);color:var(--text)}
.home-view .sidebar{background:var(--surface);border-color:var(--line);padding:24px 16px 16px}.home-view .brand{font-size:20px;color:var(--text)}.home-view .brand small{color:var(--muted);margin-top:16px}.home-view .sidebar>.new-button{display:none}.home-view .sidebar nav{margin-top:16px;gap:8px}.home-view .sidebar nav a{color:var(--muted);min-height:40px}.home-view .sidebar nav a.active,.home-view .sidebar nav a:hover{background:var(--subtle);color:var(--text)}.home-view .sidebar-foot{border-color:var(--line)}
.home-view header{background:var(--surface);color:var(--muted);border:0;height:56px;padding:0 24px}.home-view .header-right{color:var(--green)}.home-view .content{padding:0 24px 12px;min-height:0;max-width:none}.home-view main>footer{display:none}
.home-view .btn{background:var(--surface);border-color:var(--border);color:var(--text);height:36px;min-height:36px}.home-view .btn:hover{background:#292c32;border-color:#737a85;color:var(--text)}.home-view .btn:active{background:#343840}.home-view .btn:disabled{opacity:.4}.home-view .btn.primary{background:var(--text);color:var(--surface);border-color:var(--text)}.home-view a:focus-visible,.home-view button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.home-heading{display:flex;align-items:center;gap:16px;min-height:56px}.home-heading h1{font-size:24px;line-height:32px;margin:0}.home-heading p{margin:0;color:var(--muted);font-size:13px}
.home-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-tool{display:flex;justify-content:space-between;gap:8px;padding:12px;height:110px;min-width:0;background:var(--subtle);border-radius:6px;color:var(--text);text-decoration:none;border:1px solid transparent}.home-tool:hover{border-color:var(--border);background:#25272c}.home-tool>div{min-width:0}.home-tool h2{font-size:16px;line-height:24px;margin:0 0 4px}.home-tool p{font-size:13px;line-height:19px;margin:0 0 4px;color:var(--muted)}.home-tool strong{font-size:13px;font-weight:500}.home-tool strong::after{content:'↗';margin-left:5px}.home-tool img{width:88px;height:86px;object-fit:contain;flex:none}
.home-stats{display:flex;align-items:center;gap:24px;min-height:50px;flex-wrap:wrap;font-size:13px;padding:8px 0}.home-stats a{text-decoration:none}.home-stats a:hover{text-decoration:underline}.home-review-filter{border-left:1px solid var(--line);padding-left:24px}.home-muted,.home-identity{color:var(--muted)}.home-text{color:var(--text)}.home-blue{color:var(--blue)}.home-green{color:var(--green)}.home-red{color:var(--danger)}.home-orange{color:var(--amber)}
.home-recent-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px}.home-recent-heading>div{display:flex;align-items:center;gap:12px;min-width:0}.home-recent-heading h2{font-size:18px;line-height:27px;margin:0}.home-recent-heading span{font-size:13px}.home-pagination{display:flex;align-items:center;gap:8px;flex:none}.home-pagination span{min-width:68px;text-align:center;white-space:nowrap}.home-pagination .btn{min-width:86px}
.home-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.home-card{height:258px;min-width:0;display:block;background:var(--subtle);border-radius:6px;overflow:hidden;text-decoration:none;color:var(--text);border:1px solid transparent}.home-card:hover{border-color:#686f7a;background:#22252a}.home-card-picture{height:166px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}.home-card-picture img{width:100%;height:100%;object-fit:contain;display:block}.home-card-info{padding:5px 11px 6px}.home-card-info h3{font-size:14px;font-weight:500;line-height:21px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-card-info p{margin:0;font-size:13px;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-note{font-size:13px;color:var(--muted);margin:12px 0 0;line-height:20px}.home-empty{grid-column:1/-1;padding:32px;background:var(--subtle);align-self:start}
.home-view dialog{background:var(--surface);color:var(--text);border:1px solid var(--border)}.home-view .modal-head{background:var(--surface);border-color:var(--line)}.home-view input{background:var(--subtle);color:var(--text);border-color:var(--border)}.home-picker p,.home-picker small{color:var(--muted)}#home-pick-search{display:flex;gap:8px;margin:16px 0}#home-pick-search input{flex:1;min-width:0}.home-pick-row{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none}.home-pick-row>span:first-child{flex:1;overflow-wrap:anywhere}.home-pick-row:hover{background:var(--subtle)}.home-pick-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}
@media(max-width:1200px){.home-tool img{width:64px}.home-tool p{font-size:13px}.home-stats{gap:16px}.home-review-filter{padding-left:16px}.home-recent-heading>div>span{display:none}}
@media(max-width:900px){.home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tool img{width:88px}.home-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-height:0}.home-heading{align-items:flex-start;flex-direction:column;gap:4px;padding:12px 0}.home-stats>span{display:none}}
@media(max-width:640px){.home-view .sidebar{position:static;width:auto;height:auto;padding:12px 16px;overflow:visible}.home-view .brand{font-size:18px}.home-view .brand small,.home-view .sidebar-foot{display:none}.home-view .sidebar nav{display:flex;flex-direction:row;overflow-x:auto;margin-top:8px;gap:4px;white-space:nowrap}.home-view .sidebar nav a{width:auto;min-width:max-content;padding:0 10px}.home-view .nav-rule{display:none}.home-view main{margin-left:0}.home-view header{height:auto;min-height:44px;padding:8px 16px;flex-wrap:wrap;gap:6px}.home-view .content{padding:0 16px 16px}.home-tool{height:136px;padding:10px;position:relative;display:block}.home-tool>div{position:relative;z-index:1}.home-tool h2{font-size:14px;line-height:22px}.home-tool p{max-width:100%;font-size:13px}.home-tool strong{position:absolute;top:94px;white-space:nowrap}.home-tool img{position:absolute;right:8px;bottom:30px;width:40px;height:40px}.home-tools{gap:10px}.home-stats{gap:10px;min-height:0;padding:16px 0}.home-review-filter{padding-left:10px}.home-recent-heading{flex-wrap:wrap;padding-bottom:12px;gap:8px}.home-recent-heading>div{width:100%}.home-pagination{width:100%;justify-content:space-between}.home-grid{gap:10px}.home-card{height:252px}.home-card-picture{height:142px}.home-card-info{padding:6px 8px}.home-card-info h3{line-height:21px}.home-card-info p{font-size:13px;line-height:20px}.home-note{line-height:20px}.home-view dialog{width:calc(100% - 24px);max-width:none}.home-pick-row{gap:8px}.home-pick-row small{max-width:95px}.home-view #logout{display:block}}
