:root{--bg: #f6f6f4;--panel: #ffffff;--text: #1d1d1b;--muted: #6b6b66;--line: #dcdcd6;--accent: #1f5fbf;--accent-text: #ffffff;--hover: #eef2f9;--active: #dfe9fa;--danger: #b3261e;--ok: #1b7a3a;--warn: #9a6200;color-scheme:light;--topbar-height: 68px;--sidebar-width: 320px}@media(prefers-color-scheme:dark){:root{--bg: #141414;--panel: #1e1e1e;--text: #ececea;--muted: #9a9a94;--line: #333;--accent: #6ea2ff;--accent-text: #0b1b33;--hover: #262a33;--active: #2a3a57;--danger: #ff8a80;--ok: #6fd48c;--warn: #f0b84d;color-scheme:dark;--topbar-height: 68px;--sidebar-width: 320px}}::-webkit-scrollbar{width:5px;height:9px}::-webkit-scrollbar-track{width:5px}::-webkit-scrollbar-thumb{background:#258d3dcc;border-radius:8px;transition:ease-in-out 1s}::-webkit-scrollbar-thumb:hover{opacity:1;background:#2db2e5cc}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:16px/1.5 Noto Sans Bengali,Nirmala UI,Segoe UI,system-ui,-apple-system,sans-serif}app-root{display:flex;flex-direction:column;height:100%;align-items:center}a{color:var(--accent)}.spacer{flex:1}.hint{color:var(--muted);padding:.75rem 1rem}.error{color:var(--danger);padding:.75rem 1rem}.err{color:var(--danger);font-size:.8rem;font-style:normal}.topbar{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;background:var(--panel);border-bottom:1px solid var(--line);width:100%;height:var(--topbar-height)}.brand{font-weight:700;font-size:1.15rem;text-decoration:none;color:var(--text)}.brand .logo{height:35px}.count{color:var(--muted);font-size:.9rem}.badge{font-size:.75rem;padding:.1rem .5rem;border-radius:99px;background:var(--active);color:var(--text)}.btn{font:inherit;font-size:.95rem;padding:.4rem .85rem;border-radius:8px;cursor:pointer;border:1px solid var(--line);background:var(--panel);color:var(--text);text-decoration:none;display:inline-flex;align-items:center}.btn:hover:not(:disabled){background:var(--hover)}.btn:disabled{opacity:.45;cursor:default}.btn.small{padding:.2rem .6rem;font-size:.85rem}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.primary:hover:not(:disabled){filter:brightness(1.08);background:var(--accent)}.btn.danger{color:var(--danger)}app-shell{width:100%;display:flex;flex-direction:column;align-items:center}.layout{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;max-width:1900px}.layout-container{width:100%;min-height:0;display:grid;grid-template-columns:var(--sidebar-width) 1fr;position:relative}.sidebar{min-height:0;border-right:1px solid var(--line);background:var(--panel);transition:ease-in-out .4s;height:calc(100vh - var(--topbar-height));overflow-y:auto;position:sticky}.sidebar-contents-wrapper{width:100%;display:flex;flex-direction:column;position:relative}.content{overflow-y:auto;padding:0 1.25rem 3rem;height:calc(100vh - var(--topbar-height))}.mobile-sidebar-open{display:none}.mobile-close-btn{position:absolute;right:5px;top:10px;display:none;cursor:pointer;width:20px;height:20px}.mobile-close-btn .mat-icon{font-size:1rem}.search{margin:.75rem .75rem .25rem;padding:.55rem .75rem;font:inherit;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text)}.search:focus,.field input:focus,.field textarea:focus,.verse-edit textarea:focus{outline:2px solid var(--accent);outline-offset:0}.meta{padding:0 .9rem .4rem;font-size:.8rem;color:var(--muted)}.results{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}.results a{display:flex;gap:.7rem;align-items:baseline;padding:.5rem .9rem;text-decoration:none;color:var(--text);border-top:1px solid var(--line)}.results a:hover{background:var(--hover)}.results a.active{background:var(--active)}.results .num{min-width:2.4rem;font-weight:700;color:var(--accent);text-align:right;font-variant-numeric:tabular-nums}.results .titles{display:flex;flex-direction:column;min-width:0}.results .t,.results .u{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .u{font-size:.85rem;color:var(--muted)}.song-view-container{position:relative;width:100%}.songbar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 0;flex-wrap:wrap;position:fixed;top:68px;left:calc(var(--sidebar-width) + 25px);z-index:2}.songbar.sticky{position:sticky;top:0;z-index:2;background:var(--bg);border-bottom:1px solid var(--line);margin-bottom:.75rem}.song-nav-btn-wrapper{display:flex;width:fit-content;gap:.5rem;align-items:center}.check{display:inline-flex;gap:.4rem;align-items:center;font-size:.9rem;color:var(--muted);margin-right:.5rem}.status{font-size:.9rem;margin-right:.5rem}.status.ok{color:var(--ok)}.status.bad{color:var(--danger)}.status.dirty{color:var(--warn)}.song{max-width:46rem;margin:0 auto;padding:60px 0 0}.song-head{display:flex;gap:1rem;align-items:flex-start;margin:1rem 0 1.5rem}.song-num{min-width:4rem;text-align:center;font-size:2rem;font-weight:700;color:var(--accent);line-height:1.1}.song-num small{display:block;font-size:1rem;color:var(--muted);font-weight:400}.song h1{margin:0;font-size:1.6rem;line-height:1.3}.song h2{margin:.1rem 0 0;font-size:1.05rem;font-weight:400;color:var(--muted)}.ref,.author{margin:.35rem 0 0;font-size:.9rem;color:var(--muted)}.verse,.chorus{display:flex;gap:1rem;margin:0 0 1.1rem}.vnum{min-width:4rem;text-align:right;font-weight:700;color:var(--muted);padding-top:.05rem}.lines{margin:0;font-size:1.15rem}.lines span{display:block}.chorus .lines{font-style:italic}.chorus{padding-left:0;border-left:3px solid var(--accent);margin-left:3.2rem;padding:.2rem 0 .2rem .8rem}.chorus .vnum{min-width:auto;text-align:left;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;padding-top:.35rem}.empty{max-width:30rem;margin:4rem auto;text-align:center;color:var(--muted)}.editor{max-width:52rem;margin:0 auto}.edit-title{font-size:1.3rem;margin:.25rem 0 1rem}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem 1rem;margin-bottom:1rem}.field{display:flex;flex-direction:column;gap:.25rem}.field>span{font-size:.85rem;color:var(--muted)}.field>span small{font-weight:400}.field input,.field textarea,.verse-edit textarea{font:inherit;padding:.5rem .65rem;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);width:100%}.field textarea,.verse-edit textarea{resize:vertical;line-height:1.5}.field.narrow,.field.wide{grid-column:span 1}.verses-head{display:flex;align-items:center;justify-content:space-between;margin:1.5rem 0 .5rem}.verses-head h2{margin:0;font-size:1.1rem}.verse-edit{margin-bottom:.9rem}.verse-tools{display:flex;gap:.35rem;align-items:center;margin-bottom:.25rem}.preview{margin-top:2rem;color:var(--muted)}.preview pre{overflow:auto;max-height:20rem;padding:.75rem;background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--text);font-size:.8rem}@media(max-width:800px){app-root{width:100%!important}.topbar{width:100%}.topbar .badge{padding:.3rem .8rem}.topbar .count,.topbar .badge,.topbar .btn{text-align:center}.topbar .mobile-sidebar-open{display:flex;justify-content:center;align-items:center}.layout-container{width:100%;display:flex;flex-direction:column}.sidebar{width:100%;border-right:0;border-bottom:1px solid var(--line);position:fixed;inset:0;z-index:9;height:100vh}.sidebar .search{margin:2rem .75rem .75rem}.sidebar.visible{display:flex}.sidebar.hidden{display:none}.sidebar .mobile-close-btn,.sidebar .mobile-close-btn span{display:flex;justify-content:center;align-items:center}.content{width:100%}.songbar{left:25px}.song .song-head{flex-direction:column;text-align:center}.song .song-head .song-num{width:100%;text-align:center}.song .verse,.song .chorus{gap:.8rem}.song .chorus{flex-direction:column}.song .verse .vnum,.song .chorus .vnum{min-width:1rem}}@media(max-width:600px){.grid{grid-template-columns:1fr}}
