:root{--navy:#26265f;--navy-deep:#1e1c4d;--navy-soft:#42417d;--red:#c60931;--gold:#eedf3c;--bg:#f8f9fc;--surface:#fff;--ink:#282a44;--muted:#8990a2;--line:#e8eaf1;--shadow:0 9px 32px rgba(36,38,73,.045);--font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Gujarati","Noto Sans Devanagari",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}.hidden{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon{flex-shrink:0}p{margin:0}h1,h2,h3,h4{margin:0}input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid rgba(238,223,60,.45);outline-offset:2px}input,select,textarea{min-width:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;padding:12px 19px;font-weight:700;white-space:nowrap;transition:background .15s,transform .15s,border .15s;line-height:1.25}.btn:not(:disabled):active{transform:translateY(1px)}.btn-primary{color:#fff;background:var(--red);box-shadow:0 5px 13px rgba(198,9,49,.14)}.btn-primary:hover:not(:disabled){background:#a90729}.btn-outline{background:#fff;color:var(--navy);border-color:#dbdeeb}.btn-outline:hover{background:#f5f6fb}.btn-quiet{background:transparent;color:var(--muted)}.btn-danger{background:var(--red);color:#fff}.btn-danger:hover{background:#9f0625}.small-btn{padding:10px 15px}.wide{width:100%}.icon-btn{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:9px;color:#72778a}.icon-btn:hover{background:#f1f2f8;color:var(--navy)}.danger-hover:hover{color:var(--red);background:#fff0f2}.eyebrow{font-size:11px;color:var(--red);letter-spacing:2px;font-weight:850;display:inline-flex;align-items:center;gap:9px}.eyebrow-line{width:22px;height:2px;background:var(--red);border-radius:10px}.eyebrow.light{color:var(--gold)}.muted{color:#878b9e}.subtle{color:#8a8fa1}.small{font-size:12px;line-height:1.6}
.shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy-deep);color:#d4d4e7;display:flex;flex-direction:column;padding:26px 19px 20px;min-width:0;position:sticky;top:0;height:100vh;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;color:#fff;padding:6px 3px 20px}.brand-logo{height:54px;width:49px;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:3px}.brand-logo img{height:100%;width:100%;object-fit:contain}.brand-copy{min-width:0;display:flex;flex-direction:column;gap:7px}.brand-name{font-size:14px;white-space:nowrap;font-weight:780;letter-spacing:-.25px}.brand-subtitle{color:#e5dc72;font-size:9px;font-weight:800;letter-spacing:1.85px;white-space:nowrap}.brand-separator{color:#8786a7;margin:0 3px}.sidebar-divider{height:1px;background:rgba(255,255,255,.1);margin:1px 4px 30px}.sidebar-label{font-size:10px;letter-spacing:1.65px;color:#8583aa;font-weight:800;margin:0 12px 13px}.side-nav{display:flex;flex-direction:column;gap:5px}.side-link{color:#c8c7df;background:transparent;border:0;border-radius:10px;display:flex;align-items:center;gap:13px;text-align:left;padding:13px 13px;font-size:13px;font-weight:550;width:100%}.side-link:hover{background:rgba(255,255,255,.07);color:white}.side-link.active{background:#39376f;color:#fff;font-weight:720}.side-link.active .icon{color:#f3e747}.side-active-dot{width:5px;height:5px;border-radius:10px;margin-left:auto;background:var(--gold)}.sidebar-spacer{flex:1;min-height:40px}.sidebar-quote{border:1px solid rgba(255,255,255,.12);border-radius:13px;padding:20px 19px;margin:0 4px 30px;position:relative;overflow:hidden;background:linear-gradient(125deg,rgba(255,255,255,.07),rgba(255,255,255,.005))}.quote-ornament{color:var(--gold);font-size:23px}.sidebar-quote p{font-family:Georgia,serif;font-size:16px;font-style:italic;color:#f8f6ff;line-height:1.5;margin:12px 0}.sidebar-quote>span:last-child{color:#a9a8c6;font-size:9px;letter-spacing:1.8px;font-weight:800}.sidebar-user{border-top:1px solid rgba(255,255,255,.12);padding:21px 6px 0;display:flex;align-items:center;gap:11px}.avatar,.mini-avatar{display:grid;place-items:center;font-weight:800;border-radius:50%;background:#eeecea;color:var(--navy)}.avatar{height:36px;width:36px}.sidebar-user-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.sidebar-user-meta b{font-size:12px;color:#fff;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-meta small{font-size:11px;color:#a9a7c6}.sidebar-logout{color:#a09dbe}.sidebar-logout:hover{background:rgba(255,255,255,.12);color:#fff}
.main-area{min-width:0}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #edeef3;padding:0 clamp(24px,4vw,61px)}.topbar-left,.topbar-right{display:flex;gap:12px;align-items:center}.topbar-left{font-size:11px;letter-spacing:1.2px}.topbar-left strong{color:var(--navy);font-weight:850}.breadcrumb-root{color:#aaaebc;font-weight:700}.breadcrumb-sep{color:#c2c4d0;font-weight:500;font-size:17px}.topbar-right{color:#7c8090;font-size:12px}.topbar-divider{height:24px;width:1px;background:#e7e8f0;margin:0 10px}.mini-avatar{width:34px;height:34px;font-size:12px;background:#eeedf6}.mobile-menu{display:none}.page-content{max-width:1710px;margin:0 auto;padding:47px clamp(24px,4vw,60px) 25px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:29px}.page-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(31px,3vw,42px);font-weight:700;letter-spacing:-1.65px;color:#222448;margin-top:11px}.heading-period{color:var(--red)}.page-subtitle{color:#868c9e;font-size:13px;margin-top:11px;line-height:1.5}.new-song-main{align-self:center;margin-top:18px;padding:14px 21px}.new-song-main .icon{width:18px;height:18px}
.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(160px,.8fr);gap:17px;margin-bottom:37px}.stat-card{background:var(--surface);border:1px solid #eeeff4;border-radius:14px;padding:20px 23px 18px;box-shadow:var(--shadow);min-height:145px}.stat-label{font-size:12px;color:#777d91;font-weight:650;display:flex;align-items:center;gap:10px}.stat-icon{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:9px}.stat-icon svg{width:17px;height:17px}.stat-icon-navy{color:#49469c;background:#f0effa}.stat-icon-gold{color:#8f7b00;background:#fbf8d8}.stat-icon-red{color:var(--red);background:#fff0f2}.stat-number{font-size:31px;font-weight:790;letter-spacing:-1px;color:#26274a;margin:13px 0 3px}.stat-note{font-size:11px;color:#acb0bd}.stats-accent{background:var(--navy);border-radius:14px;min-height:145px;position:relative;overflow:hidden;color:#fff;padding:19px;display:flex;flex-direction:column;justify-content:space-between}.accent-star{font-size:25px;color:var(--gold);line-height:1}.stats-accent>span{font-family:Georgia,serif;font-size:17px;line-height:1.33;position:relative;z-index:1}.stats-accent b{color:var(--gold);font-weight:600}.accent-lines{position:absolute;border:1px solid rgba(255,255,255,.13);width:145px;height:145px;border-radius:50%;right:-59px;top:-36px;box-shadow:0 0 0 23px rgba(255,255,255,.035),0 0 0 46px rgba(255,255,255,.028)}
.library-heading{display:flex;justify-content:space-between;align-items:end;margin:0 0 17px}.library-heading h2{font-size:20px;font-weight:780;color:#252748;letter-spacing:-.45px;display:flex;align-items:center;gap:10px}.library-heading p{margin-top:6px;color:#9ba0b0;font-size:12px}.pill-count{font-size:11px;color:#5d5b8c;background:#ecebf7;min-width:26px;text-align:center;padding:5px 7px;border-radius:6px}.text-action{border:0;background:transparent;display:flex;align-items:center;gap:7px;color:var(--navy);font-weight:750;font-size:12px;padding:5px 0}.text-action:hover{color:var(--red)}.text-action svg{width:15px;height:15px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(315px,.93fr);gap:22px;align-items:start}.catalog-panel,.detail-card{border-radius:14px;background:#fff;border:1px solid #eceef3;box-shadow:var(--shadow);min-width:0}.catalog-panel{overflow:hidden}.filter-toolbar{display:flex;gap:11px;padding:20px 20px 16px;border-bottom:1px solid #f0f1f5}.search-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:150px;border:1px solid #e5e6ee;background:#fdfdff;border-radius:9px;padding:0 11px;color:#a5aabc;height:42px}.search-wrap:focus-within{border-color:#9798ba;box-shadow:0 0 0 3px #eeeefb}.search-wrap svg{width:17px;height:17px}.search-wrap input{border:0;outline:0!important;background:transparent;width:100%;color:var(--ink);font-size:12px;min-width:40px}.search-wrap input::placeholder{color:#adb2bd}.search-wrap kbd{border:1px solid #ebeaf2;border-radius:5px;padding:3px 6px;color:#aaaabc;font-family:inherit;font-size:10px}.select-wrap{display:flex;min-width:0}.select-wrap select{width:100%;max-width:155px;border:1px solid #e6e8ef;border-radius:9px;padding:0 27px 0 12px;font-size:11px;color:#535875;background:#fff;height:42px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b90a2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat}.catalog-meta{display:flex;justify-content:space-between;align-items:center;padding:15px 23px 13px;color:#a3a8b7;font-size:11px}.catalog-meta label{display:flex;align-items:center;gap:8px}.catalog-meta select{border:0;color:#525a74;font-size:11px;font-weight:700;background:transparent;padding:4px;max-width:130px}.table-scroller{overflow-x:auto}.song-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.song-table thead{background:#f8f9fc}.song-table th{font-size:9px;letter-spacing:1.15px;color:#a0a5b4;font-weight:850;padding:15px 15px}.song-table td{padding:17px 15px;border-bottom:1px solid #f0f1f5;font-size:12px;color:#666c7d}.song-table th:first-child,.song-table td:first-child{padding-left:23px;width:68px}.song-table th:last-child,.song-table td:last-child{padding-right:20px;text-align:right}.song-table tbody tr{cursor:pointer;transition:background .13s}.song-table tbody tr:hover{background:#faf9ff}.song-table tbody tr.active{background:#f3f2fb}.song-table tbody tr.active td:first-child{box-shadow:inset 3px 0 var(--navy)}.song-number{font-weight:800;color:#777c98}.song-name{font-weight:800;color:#292b4a;display:block;overflow:hidden;text-overflow:ellipsis;max-width:240px}.song-secondary{display:block;color:#a7abb8;font-size:10px;margin-top:4px}.lang-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:6px;background:#f0effa;color:#504d87;font-weight:750;font-size:10px}.lang-pill.gu{color:#8c4871;background:#f9edf3}.lang-pill.hi{color:#8b6b24;background:#faf3e2}.category-dot{height:6px;width:6px;border-radius:99px;background:var(--gold);display:inline-block;margin-right:7px;vertical-align:middle}.table-arrow{color:#b4b8c8}.song-table tbody tr:hover .table-arrow,.song-table tbody tr.active .table-arrow{color:var(--red)}.loading-row{text-align:center!important;padding:50px!important;color:#8991a3!important}.pagination{padding:16px 23px;display:flex;align-items:center;justify-content:space-between;color:#9fa4b3;font-size:11px}.page-actions{display:flex;align-items:center;gap:8px}.page-actions .icon-btn{width:30px;height:30px;border:1px solid #eeeef4}.page-actions>span{font-size:11px;font-weight:700;color:var(--navy);background:#f0eef9;border-radius:6px;width:27px;height:28px;display:grid;place-items:center}.empty-state{text-align:center;padding:45px 20px 57px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;background:#f0effa;color:var(--navy);border-radius:50%;margin-bottom:18px}.empty-icon svg{height:26px;width:26px}.empty-state h3{font-size:18px;margin-bottom:8px}.empty-state p{font-size:12px;color:#9399a9;max-width:290px;line-height:1.6;margin:0 auto 20px}
.detail-card{min-height:550px;position:relative;overflow:hidden}.detail-placeholder{height:100%;min-height:550px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 26px;position:relative}.detail-topline{display:flex;justify-content:space-between;align-items:center;width:100%}.detail-small-label{font-size:9px;font-weight:850;letter-spacing:1.6px;color:#a2a5b5}.detail-round{background:#f2f0f9;border-radius:50%;width:31px;height:31px;color:#8680b0;display:grid;place-items:center;font-size:18px}.detail-empty-art{width:210px;height:215px;margin:51px auto 22px;position:relative;display:grid;place-items:center}.art-circle{height:173px;width:173px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#f7f6fe,#eae8fa);display:grid;place-items:center;position:relative}.art-circle:before,.art-circle:after{content:'';position:absolute;border:1px solid #d8d4ed;border-radius:50%;inset:13px}.art-circle:after{inset:27px;border-style:dashed}.art-circle span{font-size:69px;color:var(--navy);line-height:1;transform:rotate(-12deg)}.art-spark{position:absolute;color:#dfd753;font-size:27px}.art-spark-one{left:9px;top:5px}.art-spark-two{right:1px;bottom:16px}.detail-placeholder h3{font-family:Georgia,serif;font-size:26px;line-height:1.26;color:#313057}.detail-placeholder p{font-size:12px;line-height:1.75;color:#9da1b1;max-width:270px;margin-top:17px}.detail-decoration{width:47px;height:3px;border-radius:8px;background:var(--gold);margin-top:34px}.detail-content{height:100%;display:flex;flex-direction:column;min-height:550px}.detail-toolbar{height:66px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eff0f4}.detail-tools{display:flex;gap:2px}.detail-main{padding:29px 26px;flex:1;min-width:0}.detail-song-number{font-size:10px;letter-spacing:1.3px;font-weight:850;color:var(--red)}.detail-main h2{font-family:Georgia,'Noto Sans Gujarati','Noto Sans Devanagari',serif;font-weight:700;font-size:26px;line-height:1.3;color:#22254b;margin:13px 0 18px;overflow-wrap:anywhere}.detail-tags{display:flex;gap:8px;flex-wrap:wrap}.language-chip,.category-chip{font-size:10px;font-weight:700;padding:7px 10px;border-radius:5px}.language-chip{background:#eeeefa;color:#494882}.category-chip{background:#fff8db;color:#887120}.detail-divider{height:1px;background:#e9ebf2;margin:24px 0 25px}.detail-main h4{letter-spacing:1.5px;font-size:10px;color:#9398a9;margin-bottom:20px}.lyric-underline{display:inline-block;height:2px;width:20px;background:var(--gold);vertical-align:middle;margin-left:7px}.lyrics-content{font-size:14px;line-height:1.85;color:#414454;overflow-wrap:anywhere}.lyrics-content p{margin:0 0 .9em}.lyrics-content ol,.lyrics-content ul{padding-left:21px;margin:0 0 12px}.lyrics-content table{width:100%;border-collapse:collapse;max-width:100%;margin:10px 0}.lyrics-content td,.lyrics-content th{border:1px solid #cfd2df;padding:7px 9px}.lyrics-content h1,.lyrics-content h2,.lyrics-content h3{font-family:inherit;margin:12px 0 5px;line-height:1.35}.lyrics-content blockquote{border-left:3px solid var(--gold);padding-left:14px;color:#6f7182;margin:12px 0}.last-updated{margin-top:29px;color:#a4a9b5;font-size:10px}.detail-bottom{padding:15px 23px 22px}.mobile-detail-close{display:none}
.app-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#afb3bf;font-size:10px;padding:23px 2px 0}.footer-heart{color:var(--red)}
/* Form and dialogs */
.modal-backdrop,.backdrop{position:fixed;inset:0;background:rgba(21,20,47,.45);z-index:49;backdrop-filter:blur(2px)}.backdrop{z-index:19}.editor-drawer{position:fixed;right:0;top:0;bottom:0;width:min(850px,100vw);background:#fff;z-index:50;box-shadow:-15px 0 70px rgba(18,19,45,.19);display:flex;flex-direction:column}.drawer-head{padding:24px 33px 21px;border-bottom:1px solid #e9eaf1;display:flex;justify-content:space-between;align-items:center}.drawer-head h2,.modal-heading h2{font-size:25px;font-family:Georgia,serif;margin-top:7px;color:#26284c;letter-spacing:-.6px}.editor-form{display:flex;flex-direction:column;min-height:0;flex:1}.drawer-scroll{overflow-y:auto;padding:25px 33px 35px;flex:1}.editor-section-intro{display:flex;align-items:center;gap:12px;margin:0 0 20px}.editor-section-intro b{font-size:15px;color:#30314c}.editor-section-intro p{font-size:11px;color:#979cad;margin-top:4px}.round-step{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f0eff9;color:var(--navy);font-size:11px;font-weight:850}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.editor-form label,.form-stack label,.inline-settings-form label,.language-settings-form label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#575e74;font-weight:720}.editor-form input:not([type=checkbox]):not([type=hidden]),.editor-form select,.settings-modal input:not([type=hidden]),.settings-modal select,.form-stack input,.auth-form-panel input{border:1px solid #e1e4ec;border-radius:9px;padding:12px 13px;min-height:43px;background:#fff;width:100%;color:#32354d;font-size:13px}.editor-form select,.settings-modal select{background:#fff}.editor-form input::placeholder,.settings-modal input::placeholder{color:#adb1bf}.editor-form .field{margin:18px 0}.req{color:var(--red)}.input-guide{display:flex;gap:10px;align-items:center;background:#f8f7fc;border:1px solid #f0eef7;border-radius:9px;padding:12px}.guide-icon{color:#7263ad}.guide-icon svg{height:18px;width:18px}.input-guide b,.input-guide span{display:block}.input-guide b{font-size:11px;color:#404060}.input-guide div span{font-size:10px;color:#9297a9;margin-top:3px;line-height:1.4}.lyrics-intro{margin:31px 0 15px}.transliteration-bar{padding:12px 15px;border:1px solid #e3e1f2;border-radius:9px 9px 0 0;background:#faf9ff;display:flex;align-items:center;justify-content:space-between}.transliteration-bar>div{display:flex;align-items:center;gap:12px}.translit-mark{display:grid;place-items:center;border-radius:7px;background:#eeedf9;padding:6px 8px;font-weight:800;color:#5a548e;min-width:49px}.transliteration-bar strong{display:block;font-size:12px;color:#343454}.transliteration-bar small{display:block;font-size:10px;color:#9498ac;margin-top:3px}.switch{display:block;position:relative;width:40px;height:23px;flex-shrink:0}.switch input{opacity:0;position:absolute}.switch-track{display:block;background:#cdd0dd;width:40px;height:23px;border-radius:20px;transition:background .2s}.switch-track:before{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.15)}.switch input:checked+.switch-track{background:var(--navy)}.switch input:checked+.switch-track:before{transform:translateX(17px)}.switch input:disabled+.switch-track{opacity:.45}.editor-box{border:1px solid #e3e6ed;border-top:0;border-radius:0 0 10px 10px;overflow:hidden;min-height:380px}.editor-help{font-size:11px;color:#9a9dad;line-height:1.7;margin:11px 2px}.drawer-footer{padding:16px 29px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e9ebf1;background:#fff}.save-note{color:#a3a6b5;font-size:11px}.footer-buttons{display:flex;gap:10px}.footer-buttons .btn{padding:11px 15px}.jodit-container{border:0!important;font-family:var(--font)!important}.jodit-toolbar__box{border-radius:0!important;background:#fff!important;border-bottom:1px solid #e8e9ef!important}.jodit-wysiwyg{font-family:var(--font)!important;font-size:14px!important;line-height:1.7!important;padding:17px!important}.jodit-workplace{border-bottom:0!important}.jodit-status-bar{border-top:1px solid #eff0f5!important}.offline-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;border-bottom:1px solid #e7e8ef;background:#fafbff}.offline-toolbar button,.offline-toolbar select,.offline-toolbar input{height:31px;min-width:30px;background:#fff;border:1px solid #e5e6ef;border-radius:5px;padding:4px 6px;color:#424665;font-size:12px}.offline-toolbar input[type=color]{width:34px;padding:3px}.offline-editor{min-height:355px;max-height:60vh;overflow:auto;padding:17px;outline:0;font-size:14px;line-height:1.75}.offline-editor:empty:before{content:attr(data-placeholder);color:#b0b4c0}.offline-editor table{border-collapse:collapse;width:100%}.offline-editor td,.offline-editor th{border:1px solid #ccd0dc;min-width:40px;padding:5px}
.settings-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 30px));max-height:min(760px,calc(100vh - 36px));background:#fff;box-shadow:0 20px 75px rgba(22,20,54,.24);border-radius:17px;z-index:51;display:flex;flex-direction:column;overflow:hidden}.modal-heading{display:flex;justify-content:space-between;align-items:center;padding:27px 29px 21px}.settings-tabs{display:flex;gap:0;border-bottom:1px solid #ebedf2;padding:0 27px}.settings-tab{display:flex;align-items:center;gap:8px;padding:14px 13px;background:transparent;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:12px;font-weight:750;color:#8b91a1}.settings-tab.active{border-color:var(--red);color:var(--navy)}.settings-tab svg{width:16px;height:16px}.settings-scroll{overflow-y:auto;padding:25px 30px 31px}.settings-explainer{font-size:12px;line-height:1.65;color:#9297a7;margin-bottom:22px}.settings-items{display:flex;flex-direction:column;gap:8px;margin-bottom:23px}.setting-item{border:1px solid #e8eaf1;border-radius:9px;padding:11px 13px;display:flex;align-items:center;gap:10px}.setting-item .item-icon{background:#f3f2f9;color:var(--navy);height:30px;width:30px;border-radius:7px;display:grid;place-items:center;font-weight:700}.setting-item .item-icon svg{width:16px;height:16px}.setting-item .item-name{font-size:12px;font-weight:750;color:#30324f;flex:1;min-width:0}.setting-item .item-name small{display:block;margin-top:3px;color:#a0a5b3;font-size:10px;font-weight:500}.setting-item-actions{display:flex;gap:3px}.setting-item-actions button{width:28px;height:28px}.setting-item-actions svg{width:15px;height:15px}.inline-settings-form{background:#f8f9fc;border:1px solid #eceef4;padding:17px;border-radius:9px;display:flex;gap:10px;align-items:end}.inline-settings-form label{flex:1}.language-settings-form{background:#f8f9fc;border:1px solid #eceef4;padding:17px;border-radius:9px;display:flex;flex-direction:column;gap:14px}.inline-actions{display:flex;align-items:center;gap:9px}.account-form{max-width:370px}.account-form .btn{align-self:start}.confirm-modal{z-index:61;background:#fff;border-radius:16px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:29px;text-align:center;width:min(410px,calc(100vw - 30px));box-shadow:0 20px 65px rgba(20,18,45,.22)}#confirm-backdrop{z-index:60}.confirm-icon{height:51px;width:51px;background:#fff0f2;color:var(--red);border-radius:50%;display:grid;place-items:center;margin:0 auto 17px}.confirm-modal h3{font-size:21px;color:#252745;margin-bottom:10px}.confirm-modal p{font-size:12px;line-height:1.7;color:#9397a7}.confirm-buttons{display:flex;justify-content:center;gap:10px;margin-top:23px}.confirm-buttons .btn{min-width:110px}.toast{position:fixed;bottom:25px;right:28px;z-index:100;background:#282956;color:#fff;border-radius:9px;padding:14px 17px;box-shadow:0 10px 40px rgba(16,17,45,.2);font-size:12px;font-weight:650;max-width:min(430px,calc(100vw - 30px))}.toast.error{background:#a90f32}
/* Authentication and one-time setup */
.auth-page{background:#fff}.auth-layout{display:grid;grid-template-columns:minmax(300px,43%) 1fr;min-height:100vh}.auth-aside{background:linear-gradient(152deg,#28265e 5%,#1d1a47 92%);padding:38px clamp(35px,5vw,85px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-aside:after{content:'';position:absolute;height:420px;width:420px;border:1px solid rgba(255,255,255,.08);border-radius:50%;bottom:-215px;left:-165px;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.02)}.auth-logo{width:115px;height:139px;object-fit:contain;background:#fff;padding:9px;border-radius:11px;position:relative;z-index:1}.auth-aside-copy{max-width:410px;position:relative;z-index:1;margin:auto 0 52px}.auth-aside h1{font:700 clamp(33px,3.8vw,55px)/1.13 Georgia,serif;letter-spacing:-1.9px;color:#fff;margin:21px 0}.auth-aside-copy p{color:#cac9e2;font-size:14px;line-height:1.9;max-width:365px}.auth-form-panel{padding:60px clamp(25px,7vw,110px);display:flex;align-items:center;justify-content:center}.auth-form-inner{width:min(395px,100%)}.auth-form-inner h2{font:700 34px/1.2 Georgia,serif;letter-spacing:-1px;color:#27294d;margin:14px 0 12px}.auth-form-inner>.muted{margin-bottom:35px;font-size:13px;line-height:1.6}.form-stack{display:flex;flex-direction:column;gap:18px}.form-stack .btn{margin-top:3px;padding:14px}.auth-footer{font-size:11px;color:#b3b5c0;margin-top:60px}.alert{padding:11px 12px;border-radius:8px;font-size:12px;line-height:1.5;margin-bottom:22px}.alert.error{background:#fff2f3;color:#b01032;border:1px solid #ffdce3}.install-inner{width:min(620px,100%);padding:35px 0}.install-inner .form-stack{gap:15px}.section-kicker{font-size:10px;letter-spacing:1.5px;color:var(--navy);font-weight:850;margin:7px 0 0}.section-spaced{margin-top:12px}.install-inner .form-stack .btn{margin-top:13px}
@media(max-width:1450px){.shell{grid-template-columns:231px minmax(0,1fr)}.sidebar{padding-left:16px;padding-right:16px}.page-content{padding-left:34px;padding-right:34px}.topbar{padding-left:34px;padding-right:34px}.workspace-grid{grid-template-columns:minmax(0,1.4fr) minmax(275px,.84fr);gap:16px}.filter-toolbar{flex-wrap:wrap}.search-wrap{flex-basis:100%}.select-wrap{flex:1}.select-wrap select{max-width:none}.song-table th,.song-table td{padding-left:10px;padding-right:10px}.song-name{max-width:200px}.stats-row{gap:11px}.stat-card{padding:18px}}
@media(max-width:1150px){.stats-row{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-accent{display:none}.workspace-grid{grid-template-columns:1fr}.detail-card{min-height:0}.detail-placeholder{min-height:340px}.detail-empty-art{margin:15px auto 0;transform:scale(.7);height:165px}.detail-placeholder h3{font-size:22px}.detail-content{min-height:0}.song-name{max-width:none}.page-content{padding-top:34px}}
@media(max-width:790px){.shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;transform:translateX(-101%);transition:transform .22s ease;z-index:25}.sidebar.open{transform:translateX(0)}.topbar{height:63px;padding:0 19px}.mobile-menu{display:flex}.page-content{padding:27px 19px}.page-heading{gap:12px}.page-heading h1{font-size:32px}.stats-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stat-card{padding:14px 13px;min-height:120px}.stat-label{gap:5px;font-size:10px}.stat-icon{width:24px;height:24px}.stat-icon .icon{width:15px;height:15px}.stat-number{font-size:27px;margin-top:12px}.stat-note{font-size:10px}.new-song-main{padding:12px}.workspace-grid{display:block}.detail-card{position:fixed;inset:0;z-index:45;border-radius:0;overflow:auto;transform:translateX(101%);transition:transform .22s ease}.detail-card.mobile-visible{transform:translateX(0)}.detail-placeholder{display:none}.mobile-detail-close{display:inline-flex}.detail-toolbar{justify-content:start;gap:12px}.detail-toolbar .detail-tools{margin-left:auto}.detail-main{padding:27px 22px}.app-footer{flex-wrap:wrap}.auth-layout{grid-template-columns:1fr}.auth-aside{min-height:225px;padding:24px;flex-direction:row;align-items:center;gap:25px}.auth-logo{height:95px;width:90px}.auth-aside-copy{margin:0}.auth-aside-copy .eyebrow{font-size:9px}.auth-aside h1{font-size:25px;margin:9px 0}.auth-aside-copy p{display:none}.auth-form-panel{padding:38px 22px}.auth-footer{margin-top:32px}}
@media(max-width:540px){.page-heading{align-items:start}.page-heading h1{font-size:29px}.page-subtitle{font-size:11px;max-width:250px}.new-song-main{margin-top:24px;width:41px;height:41px;padding:0;flex-shrink:0}.new-song-main span{display:none}.stats-row{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{padding:12px 10px;min-height:111px}.stat-label{font-size:9px}.stat-number{font-size:25px}.stat-note{font-size:9px}.stat-label .stat-icon{display:none}.library-heading h2{font-size:18px}.library-heading p{font-size:11px}.text-action{font-size:0}.text-action svg{width:20px;height:20px}.filter-toolbar{padding:13px;gap:8px}.catalog-meta{padding:12px}.song-table th,.song-table td{padding:12px 8px}.song-table th:nth-child(4),.song-table td:nth-child(4){display:none}.song-table th:first-child,.song-table td:first-child{padding-left:12px}.song-table td:last-child,.song-table th:last-child{padding-right:12px}.song-name{max-width:155px}.topbar-today{display:none}.topbar-divider{display:none}.drawer-head{padding:20px}.drawer-scroll{padding:20px}.drawer-footer{padding:13px 16px}.save-note{display:none}.footer-buttons{width:100%}.footer-buttons .btn{flex:1}.form-grid.song-grid{grid-template-columns:1fr}.input-guide{min-height:56px}.settings-scroll{padding:20px}.settings-tabs{padding:0 12px}.settings-tab{padding:12px 9px;font-size:11px}.modal-heading{padding:20px}.settings-modal{max-height:calc(100vh - 16px)}.inline-settings-form{flex-wrap:wrap}.inline-settings-form label{flex-basis:100%}.form-grid{grid-template-columns:1fr;gap:12px}.auth-aside{min-height:180px}.auth-aside h1{font-size:22px}.auth-logo{width:72px;height:82px}}
/* Keep required markers alongside labels, not on separate flex lines. */
.editor-form label:not(.switch),.form-stack label,.inline-settings-form label,.language-settings-form label{display:block;font-size:11px;color:#575e74;font-weight:720}
.editor-form label:not(.switch)>input,.editor-form label:not(.switch)>select,.form-stack label>input,.inline-settings-form label>input,.language-settings-form label>input,.language-settings-form label>select{display:block;margin-top:8px}
.editor-form .switch{display:block}
.offline-toolbar select{width:auto!important;max-width:148px;min-height:31px!important;height:31px!important;margin:0!important;padding:4px 5px!important;background:#fff!important}
.offline-toolbar input[type=color]{width:33px!important;min-width:33px!important;min-height:27px!important;height:27px!important;margin:0!important;padding:2px!important}
.offline-toolbar label{display:inline-flex!important;align-items:center;gap:3px;margin:0!important;font-size:10px!important}

/* Songbook form-control refinement (Oct 2026)
   Equal-height inputs and native dropdowns, with an accessible custom chevron.
   Keep the compact select controls in the offline lyrics toolbar unchanged. */
.editor-form .song-grid label > input:not([type="hidden"]),
.editor-form label.field > input:not([type="hidden"]),
.editor-form .song-grid label > select,
.settings-modal label > input:not([type="checkbox"]):not([type="hidden"]),
.settings-modal label > select {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dfe3ee;
  border-radius: 10px;
  background-color: #fff;
  color: #303451;
  font-size: 13px;
  line-height: 1.25;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.editor-form .song-grid label > select,
.settings-modal label > select,
.select-wrap select {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23575b79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px 16px;
  padding-right: 41px;
  cursor: pointer;
}

.editor-form .song-grid label > select:hover,
.settings-modal label > select:hover,
.select-wrap select:hover {
  border-color: #a5a9c5;
}

.editor-form .song-grid label > select:focus,
.settings-modal label > select:focus,
.select-wrap select:focus {
  border-color: var(--navy-soft);
}

.editor-form .song-grid label > select:disabled,
.settings-modal label > select:disabled,
.select-wrap select:disabled {
  cursor: not-allowed;
  color: #a0a4b5;
  background-color: #f3f4f8;
}

/* Library filters: keep dropdown height identical to the search field. */
.filter-toolbar .search-wrap,
.filter-toolbar .select-wrap select {
  height: 44px;
  min-height: 44px;
}
