
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--lime:#d4ff00;--ink:#191919;--muted:#777972;--line:#e7e7e2;--bg:#f5f5f0;--white:#fff;--soft:#efefe9;--radius:20px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a4c600;outline-offset:2px}button{border:0;background:none}a{color:inherit}h1,h2,h3,p{margin:0}svg{display:block;width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}button,.navbtn,.card{transition:background .16s,transform .16s}button:active{transform:scale(.98)}.app{max-width:1680px;margin:0 auto;min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.side{background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 17px 18px}.logo{display:flex;align-items:center;gap:10px;margin:0 12px 43px;font-size:26px;letter-spacing:-2px;font-weight:800;line-height:1}.logomark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;box-shadow:0 4px 12px rgba(164,198,0,.28);background:#d4ff00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23d4ff00'/%3E%3Cpath d='M10.2 12.2c1.1-2.2 4.8-3.2 7.4-1.6 1.6 1 2.2 2.4 2.1 3.7-.1 1.6-1.2 2.7-2.8 3.3l-3.2 1.2c-1.1.4-1.6 1-1.5 1.8.1 1.1 1.4 1.8 3.1 1.7 1.9-.1 3.4-.9 4.2-2' fill='none' stroke='%23171717' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M20.2 9.6l3.6 1.1-1.2 3.5' fill='none' stroke='%23171717' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}.logomark:after{display:none}.logo small{display:block;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;font-weight:800;margin-top:7px;color:var(--muted)}.navlabel{font-size:10px;letter-spacing:1.7px;color:#91928a;margin:0 13px 12px;font-weight:800;text-transform:uppercase}.nav{display:grid;gap:5px}.navbtn{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 12px;border-radius:12px;font-weight:700;white-space:nowrap;color:#54564f;width:100%;font-size:13px}.navbtn svg{width:19px;height:19px}.navbtn:hover{background:var(--soft)}.navbtn.active{background:var(--lime);color:var(--ink)}.navbtn .count{margin-left:auto;font-size:11px;background:#fff;border-radius:6px;padding:2px 6px}.sidebottom{margin-top:auto}.sidehelp{background:var(--bg);padding:16px 13px;border-radius:14px;margin:12px 0 15px}.sidehelp b{display:block;font-size:13px;margin-bottom:5px}.sidehelp p{color:var(--muted);font-size:11px;line-height:1.55}.sidehelp button{font-size:12px;font-weight:800;padding:10px 0 0}.sideprofile{border-top:1px solid var(--line);padding:15px 4px 0;display:flex;align-items:center;gap:10px;text-align:left;width:100%}.avatar{width:36px;height:36px;border-radius:50%;background:#e8e7e0;display:grid;place-items:center;flex:none;font-size:12px;font-weight:800;letter-spacing:-.4px}.avatar.lime{background:var(--lime)}.avatar.pink{background:#f5d9e5}.avatar.blue{background:#dce5fa}.avatar.peach{background:#f8dfc8}.sideprofile b{font-size:12px;display:block}.sideprofile small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.sideprofile svg{margin-left:auto;width:16px}.main{min-width:0;padding:0 34px 36px}.top{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.crumb{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:600}.crumb b{color:var(--ink)}.topactions{display:flex;gap:9px;align-items:center}.date{font-size:12px;font-weight:700;margin-right:8px;color:#64655e}.iconbtn{width:40px;height:40px;border:1px solid var(--line);background:white;border-radius:12px;display:grid;place-items:center;position:relative;flex:none}.iconbtn:hover{background:var(--lime)}.dot{position:absolute;right:8px;top:7px;width:7px;height:7px;background:var(--lime);border:1px solid #fff;border-radius:50%}.page{padding-top:25px;animation:appear .22s ease}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;text-transform:uppercase;color:#67695f;display:flex;gap:7px;align-items:center}.eyebrow:before{content:'';width:7px;height:7px;background:var(--lime);border:1px solid #b9d900;border-radius:50%}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:23px;flex-wrap:wrap}.heading-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;flex:none}.hero-grid,.twocol,.detailgrid,.teacher-metrics,.threecol{align-items:stretch}.hero-grid>.card,.twocol>.card,.detailgrid>.card{height:100%;min-height:100%}.progresscard{min-height:238px}.metric{height:100%}.heading h1{font-size:clamp(32px,3.2vw,50px);font-weight:800;letter-spacing:-2.6px;line-height:1.07;margin:8px 0}.heading p{color:var(--muted);font-size:13px;font-weight:500;line-height:1.5}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:11px;background:var(--ink);color:white;font-weight:800;font-size:12px;white-space:nowrap;min-height:42px}.btn svg{width:17px;height:17px}.btn:hover{background:#3d3d3d}.btn.lime{background:var(--lime);color:var(--ink)}.btn.lime:hover{background:#c2ec00}.btn.outline{color:var(--ink);background:#fff;border:1px solid var(--line)}.btn.outline:hover{background:var(--soft)}.btn.light{color:var(--ink);background:var(--soft)}.btn.small{padding:9px 12px;min-height:34px;font-size:11px}.link{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:800;padding:4px 0;white-space:nowrap}.link svg{width:15px;height:15px}.link:hover{text-decoration:underline}.grid{display:grid;gap:15px}.hero-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-width:0}.hero{background:var(--lime);border:0;position:relative;overflow:hidden;min-height:238px;display:flex;flex-direction:column;justify-content:space-between;padding:23px 25px}.hero .eyebrow{color:#363e00}.hero .eyebrow:before{background:var(--ink);border:0}.hero .hero-content{z-index:1;position:relative;max-width:75%}.hero h2{font-size:clamp(24px,3.25vw,49px);line-height:.99;letter-spacing:-2.4px;font-weight:800;margin:9px 0 10px}.hero p{font-size:12px;line-height:1.55;color:#424b0c;max-width:275px;font-weight:600}.hero .btn{align-self:flex-start;z-index:1}.hero .orb{position:absolute;right:-19px;bottom:-44px;width:235px;height:235px;border-radius:50%;border:1px solid #b6d800;display:grid;place-items:center}.hero .orb:before,.hero .orb:after{content:'';position:absolute;inset:18px;border:1px solid #b6d800;border-radius:50%}.hero .orb:after{inset:36px}.hero .orb span{font-size:126px;line-height:1;font-weight:800;letter-spacing:-13px;transform:rotate(-13deg);color:#202400;z-index:1;margin:0 18px 10px 0}.cardtop{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:16px}.cardtop h2{font-size:17px;font-weight:800;letter-spacing:-.55px}.cardtop h3{font-size:14px;font-weight:800;letter-spacing:-.3px}.tag{display:inline-flex;align-items:center;gap:5px;background:var(--soft);padding:5px 9px;border-radius:6px;font-size:10px;font-weight:800;white-space:nowrap}.tag:before{content:'';width:6px;height:6px;border-radius:50%;background:#9a9b93}.tag.good{background:#e9f3d1;color:#3c5815}.tag.good:before{background:#719d31}.tag.wait{background:#fff0d6;color:#80551c}.tag.wait:before{background:#d89a36}.tag.bad{background:#fce6e5;color:#953f3c}.tag.bad:before{background:#dc6e66}.tag.dark{background:#2e3028;color:white}.tag.dark:before{background:var(--lime)}.progresscard{display:flex;flex-direction:column;justify-content:space-between}.levels{display:flex;align-items:center;gap:12px}.levels strong{font-size:48px;letter-spacing:-3px;line-height:1;font-weight:800}.levels .target{color:#a0a198}.levels svg{width:27px;height:27px;color:#888b7f}.smalltext{font-size:11px;color:var(--muted);font-weight:600;line-height:1.5}.progressline{height:8px;background:#eceee6;border-radius:20px;overflow:hidden;margin:12px 0 6px}.progressline span{height:100%;background:#bce900;display:block;border-radius:20px}.between{display:flex;justify-content:space-between;align-items:center;gap:8px}.section{margin-top:16px}.twocol{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.threecol{grid-template-columns:repeat(3,minmax(0,1fr))}.lesson-date{display:flex;align-items:center;gap:13px;margin-bottom:14px}.datebox{width:56px;height:61px;border-radius:12px;background:var(--soft);display:grid;place-content:center;text-align:center;flex:none}.datebox strong{font-size:27px;font-weight:800;letter-spacing:-1.5px;line-height:1.05}.datebox span{font-size:10px;font-weight:800;text-transform:uppercase;color:var(--muted)}.lesson-date h3{font-size:16px;letter-spacing:-.4px;margin-bottom:4px}.lesson-date p{font-size:11px;color:var(--muted);line-height:1.5}.lessonbottom{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.person{display:flex;align-items:center;gap:8px;min-width:0}.person .avatar{width:31px;height:31px;font-size:10px}.person b{font-size:11px}.person small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.taskrow{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);text-align:left;width:100%}.taskrow:first-of-type{border-top:0;padding-top:0}.taskrow:last-of-type{padding-bottom:0}.taskrow:hover .taskname{text-decoration:underline}.sqicon{width:36px;height:36px;border-radius:10px;background:var(--soft);display:grid;place-items:center;flex:none}.sqicon svg{width:18px;height:18px}.sqicon.green{background:var(--lime)}.taskbody{min-width:0;flex:1}.taskname{display:block;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.taskbody small{color:var(--muted);font-size:10px;display:block;margin-top:4px}.taskrow>svg{width:15px;height:15px;color:#999b91;flex:none}.material{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:11px;text-align:left;width:100%;margin-top:8px}.material:hover{background:var(--bg)}.material .sqicon{background:#f0f0eb}.material>svg{width:16px;height:16px;flex:none}.money{font-size:32px;letter-spacing:-1.7px;font-weight:800;line-height:1.1}.payline{margin-top:12px;display:flex;gap:5px}.payline span{height:6px;background:var(--lime);border-radius:20px;flex:1}.payline span.off{background:var(--soft)}.metric{padding:17px 18px;min-height:122px;display:flex;flex-direction:column;justify-content:space-between}.metric.accent{background:var(--lime);border-color:var(--lime)}.metric .metriclabel{font-size:11px;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:6px}.metriclabel svg{width:18px;height:18px}.metric .value{font-size:33px;line-height:1;letter-spacing:-1.9px;font-weight:800;margin:9px 0 4px}.metric .smalltext{font-size:10px}.metric.accent .smalltext{color:#475000}.teacher-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.schedule{padding-bottom:15px}.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:5px 0 14px}.day{padding:8px 0;border-radius:10px;text-align:center;min-width:0;border:1px solid transparent}.day span{display:block;font-size:9px;color:var(--muted);font-weight:700;text-transform:uppercase}.day b{display:block;font-size:15px;margin-top:3px}.day.active{background:var(--lime)}.day:hover{border-color:#b1d000}.day i{display:block;width:4px;height:4px;background:#a5a69d;border-radius:50%;margin:4px auto 0}.day.active i{background:var(--ink)}.schedule-row{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;margin-top:7px}.schedule-row .time{font-size:11px;font-weight:800;color:var(--muted)}.event{display:flex;align-items:center;gap:9px;min-width:0;background:var(--bg);border-radius:9px;padding:9px;text-align:left;border-left:3px solid #bce900}.event:hover{background:#ebf0dc}.event .avatar{width:26px;height:26px;font-size:9px}.event b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.schedule-row .duration{font-size:10px;color:var(--muted);white-space:nowrap}.attention{display:flex;gap:10px;align-items:flex-start;padding:11px 0;border-top:1px solid var(--line);width:100%;text-align:left}.attention:first-of-type{border:0;padding-top:0}.attention .sqicon{width:33px;height:33px}.attention .sqicon.warn{background:#fff0d6}.attention .sqicon.pink{background:#f9e5e4}.attention b{font-size:12px;display:block;line-height:1.4}.attention p{font-size:10px;color:var(--muted);line-height:1.5;margin-top:3px}.attention>svg{margin-left:auto;flex:none;width:15px;height:15px;align-self:center}.studentscard{padding-bottom:9px}.studenttable{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.studenttable th{font-size:10px;color:var(--muted);font-weight:700;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}.studenttable td{padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}.studenttable tr:last-child td{border-bottom:0}.studenttable tbody tr:hover{background:var(--bg);cursor:pointer}.studenttable td:first-child,.studenttable th:first-child{padding-left:0}.studenttable td:last-child,.studenttable th:last-child{padding-right:0;text-align:right}.studentname{display:flex;align-items:center;gap:9px;white-space:nowrap}.studentname .avatar{width:32px;height:32px}.studentname b{display:block;font-size:12px}.studentname small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.studenttable .arrow{margin-left:auto;display:block;width:16px}.mobile-students{display:none}.bottomnav{display:none}.mobilebrand{display:none}.mobile-frame{display:none}.empty{padding:30px 15px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}.detail-title{font-size:24px;letter-spacing:-1px;font-weight:800;margin:7px 0}.detailgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:7px;margin:12px 0;font-size:12px;font-weight:700}.field input,.field textarea,.field select,.searchinput{width:100%;min-width:0;border:1px solid #dedfd7;background:var(--bg);border-radius:10px;padding:12px;color:var(--ink);outline:0;font-size:13px}.field textarea{min-height:95px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus,.searchinput:focus{border-color:#8eaa00}.formrow{display:flex;gap:12px}.formrow>*{flex:1;min-width:0}.modalback{position:fixed;inset:0;background:#171b1260;z-index:100;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(4px)}.modal{background:white;width:100%;max-width:470px;border-radius:22px;max-height:90dvh;overflow:auto;padding:24px;box-shadow:0 20px 80px #0003}.modal h2{font-size:25px;letter-spacing:-1px}.modal .close{border:0;background:var(--soft);border-radius:10px;width:34px;height:34px;display:grid;place-items:center;flex:none}.modal .btn{width:100%;margin-top:10px}.toast{position:fixed;z-index:200;bottom:24px;left:50%;transform:translateX(-50%);background:#20211e;color:white;border-radius:12px;padding:13px 20px;box-shadow:0 6px 30px #0002;font-size:12px;font-weight:700;max-width:90%;text-align:center}.hidden{display:none!important}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.tab{border-radius:9px;padding:9px 13px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:800}.tab.active{background:var(--lime);border-color:var(--lime)}.profilehead{display:flex;align-items:center;gap:14px}.profilehead .avatar{width:64px;height:64px;font-size:22px}.profilehead h2{font-size:24px;letter-spacing:-1px}.detail-list{display:grid;gap:9px;margin-top:15px}.detail-list .between{padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-list .between:last-child{border-bottom:0}.textblock{font-size:13px;line-height:1.65;color:#4e5048;margin:8px 0 15px;white-space:pre-wrap}.previewbar{background:#1c1d18;color:#fff;padding:9px 16px;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;position:sticky;top:0;z-index:150}.previewbar span{font-size:10px;color:#c0c1b9;letter-spacing:1px;font-weight:800;margin-right:8px}.previewbar button{background:#34362d;color:#fff;border-radius:6px;padding:8px 11px;font-size:11px;font-weight:700}.previewbar button.active{background:var(--lime);color:var(--ink)}body.preview .side{top:52px;height:calc(100vh - 52px)}.mobilemode .app{max-width:100%;width:100%;display:block;min-height:100dvh;background:var(--bg);position:relative}.mobilemode{background:var(--bg)}.mobilemode .side,.mobilemode .crumb,.mobilemode .date{display:none}.mobilemode .main{padding:0 16px 90px}.mobilemode .top{height:69px;border-bottom:1px solid var(--line)}.mobilemode .mobilebrand{display:flex;align-items:center;gap:7px;font-size:22px;font-weight:800;letter-spacing:-1.5px}.mobilemode .mobilebrand .logomark{width:23px;height:23px}.mobilemode .mobilebrand .logomark:after{font-size:16px}.mobilemode .mobilebrand small{display:block;font-size:8px;letter-spacing:1px;color:var(--muted);margin-top:2px}.mobilemode .topactions{gap:7px}.mobilemode .iconbtn{width:35px;height:35px;border-radius:10px}.mobilemode .page{padding-top:19px}.mobilemode .heading{margin-bottom:17px;align-items:flex-start}.mobilemode .heading h1{font-size:35px;letter-spacing:-1.9px;margin:5px 0 6px}.mobilemode .heading p{font-size:12px}.mobilemode .heading>.btn{min-height:37px;padding:9px 10px;font-size:11px;margin-top:20px}.mobilemode .heading>.btn svg{width:14px;height:14px}.mobilemode .hero-grid,.mobilemode .twocol,.mobilemode .threecol,.mobilemode .detailgrid{grid-template-columns:1fr}.mobilemode .grid{gap:11px}.mobilemode .section{margin-top:11px}.mobilemode .card{padding:16px;border-radius:17px}.mobilemode .hero{padding:19px;min-height:218px}.mobilemode .hero h2{font-size:39px;letter-spacing:-2px}.mobilemode .hero .orb{width:190px;height:190px;right:-24px;bottom:-33px}.mobilemode .hero .orb span{font-size:102px}.mobilemode .cardtop{margin-bottom:13px}.mobilemode .cardtop h2{font-size:16px}.mobilemode .progresscard{min-height:162px}.mobilemode .levels strong{font-size:39px}.mobilemode .teacher-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mobilemode .metric{min-height:105px;padding:13px}.mobilemode .metric .value{font-size:29px}.mobilemode .studenttable{display:none}.mobilemode .mobile-students{display:block}.mobilemode .mobile-student{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:11px 0;border-top:1px solid var(--line)}.mobilemode .mobile-student:first-child{border:0;padding-top:0}.mobilemode .mobile-student .avatar{width:34px;height:34px}.mobilemode .mobile-student .taskbody small{font-size:10px}.mobilemode .mobile-student>svg{width:14px;height:14px}.mobilemode .bottomnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;width:100%;z-index:80;background:white;border-top:1px solid var(--line);padding:8px 5px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 22px #20210006}.mobilemode .bottomnav button{display:flex;align-items:center;flex-direction:column;gap:3px;color:#77796f;font-size:9px;font-weight:800;padding:4px 1px;min-width:0;white-space:nowrap}.mobilemode .bottomnav button svg{width:21px;height:21px}.mobilemode .bottomnav button .navicon{padding:4px 12px;border-radius:9px}.mobilemode .bottomnav button.active{color:var(--ink)}.mobilemode .bottomnav button.active .navicon{background:var(--lime)}.mobilemode .formrow{display:block}.mobilemode .toast{bottom:88px}.mobilemode .schedule-row{grid-template-columns:39px 1fr auto;gap:6px}.mobilemode .taskname{font-size:12px}.mobilemode .profilehead h2{font-size:20px}.mobilemode .modal{max-width:398px}.mobilemode .student-dashboard .progresscard{order:0}.mobilemode .student-dashboard .hero-grid{display:contents}.mobilemode .student-dashboard .hero{margin-bottom:11px}.mobilemode .student-dashboard .progresscard{margin-bottom:11px}.mobilemode .student-dashboard .student-secondary{margin-top:0}.mobilemode .student-dashboard .student-secondary .nextlesson{order:-1}.mobilemode .teacher-dashboard .heading h1{font-size:32px}.mobilemode .teacher-dashboard .heading p{max-width:205px}.mobilemode .top .avatar{width:34px;height:34px}.mobilemode .topactions .avatar{cursor:pointer}.mobilemode .searchinput{margin-bottom:12px}.mobilemode .payline{margin-top:8px}
@media(max-width:1150px){.app{grid-template-columns:205px minmax(0,1fr)}.main{padding-left:23px;padding-right:23px}.side{padding-left:12px;padding-right:12px}.hero .orb{right:-48px}.teacher-metrics{gap:10px}.metric{padding:14px}.metric .value{font-size:29px}.studenttable th,.studenttable td{padding-left:5px;padding-right:5px}}@media(max-width:760px){body:not(.mobilemode) .app{grid-template-columns:180px minmax(0,1fr)}body:not(.mobilemode) .main{padding:0 15px 30px}body:not(.mobilemode) .hero-grid,body:not(.mobilemode) .twocol{grid-template-columns:1fr}body:not(.mobilemode) .teacher-metrics{grid-template-columns:repeat(2,1fr)}}

/* soft dialogs + nice selects */
.modalback{animation:modal-fade .28s cubic-bezier(.16,1,.3,1) both}
.modal{animation:modal-pop .4s cubic-bezier(.22,1,.36,1) both}
@keyframes modal-fade{from{opacity:0}to{opacity:1}}
@keyframes modal-pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
.modal-actions{display:flex;gap:8px;margin-top:8px}
.modal-actions .btn{width:auto;flex:1;margin-top:0}
.btn.danger{background:#fff1f0;color:#b42318;border:1px solid #f3c1bc}
.btn.danger:hover{background:#ffe4e1}
.field select,.nice-select,select.nice-select{
  appearance:none;-webkit-appearance:none;cursor:pointer;
  border:1px solid var(--line)!important;border-radius:12px!important;
  background-color:#fff!important;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='%236d6f68' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 12px center!important;
  padding:10px 36px 10px 12px!important;font-size:12px!important;font-weight:700!important;
  max-width:160px;transition:border-color .2s,box-shadow .2s,background-color .2s;
}
.field select{max-width:none;width:100%}
.field select:hover,.nice-select:hover{background-color:#fbfbf8!important}
.field select:focus,.nice-select:focus{border-color:#c9ef00!important;box-shadow:0 0 0 4px rgba(212,255,0,.28);outline:none}
