:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#24202d;background:#f8f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button{border:0}input,textarea,select{font-size:16px}h1,h2,h3,p{margin-top:0}h2{font-size:16px;margin:0}h3{font-size:14px;margin:0}b,strong{font-weight:700}.muted,.hint{color:#80788b;font-size:12px}.hint{line-height:1.5}.app{width:min(100%,950px);margin:auto;padding:0 14px 85px}.header{height:58px;display:flex;align-items:center;justify-content:space-between;gap:10px}.logo{font-weight:850;font-size:21px;letter-spacing:-.8px;white-space:nowrap}.logo span{color:#8057b4}.sync{font-size:10px;color:#8a8292;max-width:135px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row{display:flex;align-items:center;gap:8px}.row.spread{justify-content:space-between}.row.inline>select{flex:1;min-width:0}.nav,.subtabs{display:flex;background:#eee7f7;border-radius:12px;padding:3px;gap:3px}.nav{margin-bottom:15px}.nav button{flex:1;min-width:0;background:transparent;color:#786c88;padding:8px 0;border-radius:9px;font-size:11px;font-weight:650;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.nav button.active,.subtabs button.active{background:#fff;color:#68409a;box-shadow:0 1px 4px #0000000d}.subtabs{margin:6px 0 10px}.subtabs button{flex:1;background:transparent;color:#7d6a94;border-radius:9px;padding:9px;font-size:12px;font-weight:700}.iconbtn{display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#726481;padding:8px;border-radius:9px;flex-shrink:0}.iconbtn:hover{background:#f0edf6}.primary,.secondary,.danger{border-radius:9px;min-height:35px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 11px;font-size:12px;font-weight:700}.primary{background:#805bb7;color:#fff}.secondary{background:#efe8f8;color:#65428f}.danger{background:#f3eef4;color:#75556c}.small{padding:6px 9px;min-height:30px}.wide{width:100%;margin:7px 0}.hero{background:linear-gradient(115deg,#eadff8,#f9f6fd);border-radius:15px;padding:17px 16px;margin-bottom:12px}.hero small{color:#855eb5;font-size:10px;font-weight:800;letter-spacing:.6px}.hero h1{font-size:19px;margin:6px 0}.hero p{font-size:12px;color:#786889;margin:0}.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.kpi{background:#fff;padding:12px;border-radius:11px;border:1px solid #ece8f1;min-width:0}.kpi small{display:block;color:#83788e;font-size:11px}.kpi strong{display:block;font-size:23px;margin-top:5px;letter-spacing:-.7px}.kpi em{font-style:normal;color:#9990a2;font-size:11px;font-weight:500;letter-spacing:0}.bar{height:4px;background:#eee8f6;border-radius:5px;margin-top:9px;overflow:hidden}.bar span{height:100%;display:block;background:#9673cc;border-radius:5px}.quickactions{display:flex;gap:6px;overflow:auto;margin:10px 0 18px}.quickactions button{background:#f0eaf8;color:#6b4b95;border-radius:9px;font-weight:650;font-size:12px;white-space:nowrap;padding:9px 10px}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:15px 0 9px}.linkbtn{display:inline-flex;align-items:center;background:transparent;color:#836aa1;font-size:12px}.chips{display:flex;gap:5px;overflow-x:auto;padding:1px 0 9px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{background:#fff;color:#796b88;border:1px solid #e9e3ef;border-radius:15px;white-space:nowrap;padding:6px 10px;font-size:11px}.chip.active{background:#855fba;border-color:#855fba;color:#fff}.itemrow{background:#fff;display:flex;align-items:center;min-height:54px;border-bottom:1px solid #f1edf4}.itemmain{display:flex;align-items:center;gap:10px;min-height:54px;flex:1;min-width:0;text-align:left;background:#fff;color:#302a39;padding:6px 4px}.itemtext{flex:1;min-width:0}.itemtext b{font-size:13px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.itemtext small{display:block;font-size:11px;color:#928899;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.thumb{height:40px;width:40px;border-radius:8px;object-fit:cover;flex-shrink:0}.empty{color:#98909f;text-align:center;font-size:12px;background:#fff;border-radius:12px;padding:28px 10px;margin-top:8px}.photogrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photocard{background:#fff;overflow:hidden;text-align:left;border-radius:10px;padding:0 0 8px;display:flex;flex-direction:column;min-width:0;color:#302738}.photocard img,.photoempty{width:100%;height:155px;object-fit:cover;background:#f0e9f8}.photoempty{display:grid;place-items:center;color:#b4a5c9}.photocard span{font-weight:700;font-size:12px;margin:7px 9px 1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100% - 18px)}.photocard small{font-size:10px;color:#8d8297;margin:0 9px}.photogrid.compact{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0}.photogrid.compact img{height:90px}.group{background:#fff;border-radius:10px;padding:9px 11px;margin-bottom:8px}.grouphead{display:flex;align-items:center;justify-content:space-between}.grouphead>button:first-child{background:transparent;text-align:left;flex:1;min-width:0;padding:2px;color:#302738}.grouphead b{font-size:13px;display:block}.grouphead small{font-size:11px;color:#95899d}.search{display:flex;align-items:center;border:1px solid #e9e3f1;border-radius:9px;background:#fff;padding:0 10px;margin-bottom:10px;color:#9489a2}.search input{border:0;outline:0;width:100%;padding:10px;font-size:16px;min-width:0}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1e142a80;display:flex;justify-content:center;align-items:center;padding:12px;z-index:20}.modal{background:#fff;width:min(100%,510px);min-width:0;max-height:calc(100dvh - 24px);overflow:hidden;border-radius:15px;display:flex;flex-direction:column;box-shadow:0 12px 50px #24132e38}.modalhead{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f2edf6;padding:11px 14px;flex-shrink:0}.modalhead b{font-size:15px}.modalbody{padding:12px 14px 18px;overflow-y:auto;overscroll-behavior:contain;min-width:0}.field{display:flex;flex-direction:column;gap:5px;margin-bottom:11px;min-width:0}.field>span{font-weight:650;color:#71667d;font-size:11px}.field input:not([type=file]),.field textarea,.field select,.row select{border:1px solid #e7e0ee;background:#fff;color:#302739;border-radius:8px;padding:9px 10px;width:100%;outline:0;min-width:0;font-size:16px}.field input[type=file]{font-size:12px;max-width:100%}.field textarea{resize:vertical}.formactions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.preview{width:100%;max-height:220px;object-fit:contain;border-radius:9px;margin-bottom:10px;background:#f4eff8}.checklabel{display:flex;align-items:center;gap:7px;font-size:12px;color:#655874;margin:8px 0}.checklabel input,.practice input,.productchip input{accent-color:#8662b9}.stepedit{border:1px solid #ece5f2;padding:9px;border-radius:9px;margin-top:8px;min-width:0}.stephead{display:flex;align-items:center;justify-content:space-between;gap:6px}.stephead b{font-size:12px;overflow:hidden;text-overflow:ellipsis}.stephead .row{gap:1px}.productchip{display:inline-flex;gap:5px;align-items:center;background:#f3eef9;border-radius:7px;padding:5px 8px;white-space:nowrap;font-size:11px;color:#65517d}.productchip img{width:20px;height:20px;object-fit:cover;border-radius:4px}.practice{border-bottom:1px solid #ece6f2;padding:12px 0}.practice>label{display:flex;gap:8px;align-items:center;font-size:13px}.practice>small{display:block;margin-left:25px;color:#8b8096;font-size:11px}.practice .chips{margin-left:25px;padding-top:7px}.filebutton{cursor:pointer}.filebutton input{display:none}.status{font-size:12px;color:#795b9d;line-height:1.5}.authwrap,.center{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:20px}.center{flex-direction:column;gap:10px;text-align:center;color:#706080}.authcard{width:min(100%,390px);background:#fff;border-radius:18px;padding:26px;box-shadow:0 10px 40px #31244209}.authcard .muted{margin:7px 0 19px}.authswitch{display:flex;background:#eee8f7;border-radius:9px;padding:3px;margin-bottom:17px}.authswitch button{flex:1;background:transparent;padding:10px;font-size:12px;border-radius:7px;color:#79698c}.authswitch button.chosen{background:#fff;color:#7149a1;font-weight:700}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:#4d3b63;color:#fff;padding:11px 18px;border-radius:12px;font-size:12px;z-index:40}@media(min-width:650px){.nav button{font-size:13px;padding:11px 0}.app{padding-left:24px;padding-right:24px}.kpis,.photogrid{grid-template-columns:repeat(4,minmax(0,1fr))}.photogrid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}.header{height:72px}.hero{padding:24px}.hero h1{font-size:23px}}@media(max-width:370px){.nav button{font-size:10px;gap:3px}.nav button svg{width:14px}.app{padding-left:8px;padding-right:8px}}
