body.admin{min-height:100vh;color:var(--ink);background:#f5f6fa}.auth{background:var(--grad-hero);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.card{background:#fff;border-radius:28px;flex-direction:column;gap:14px;width:min(420px,100%);padding:36px;display:flex;box-shadow:0 30px 80px #1a1a2e1f}.card h1{letter-spacing:-.02em;margin:0 0 4px;font-size:28px;font-weight:800}.card .pill-orange{justify-content:center;align-self:center;width:200px;margin-top:4px}.back{color:var(--ink);font-size:14px;font-weight:800;text-decoration:none}.links{justify-content:center;display:flex}.msg{color:#c2185b;min-height:1em;margin:0;font-size:14px;font-weight:600}.muted{color:var(--muted);margin:0}.auth[hidden],.card[hidden],#app[hidden],.panel[hidden],#art-edit[hidden],#art-index[hidden],.savebar[hidden],.badge[hidden]{display:none}label{color:var(--body);flex-direction:column;gap:6px;font-size:13px;font-weight:700;display:flex}.hint{color:#8a8a9a;font-weight:500}input:not([type=checkbox]):not([type=file]),textarea{font:inherit;border:1.5px solid var(--line);color:var(--ink);box-sizing:border-box;background:#fff;border-radius:12px;width:100%;padding:10px 12px;font-size:15px;font-weight:500}textarea{resize:vertical;line-height:1.55}#art-body{background:#fafbfd;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13.5px}input:focus,textarea:focus{border-color:var(--orange);outline:none;box-shadow:0 0 0 3px #ff6b2c29}.link{font:inherit;color:var(--orange-text);cursor:pointer;background:0 0;border:0;padding:6px 0;font-size:14px;font-weight:700}.link:hover{text-decoration:underline}.link.danger{color:#c2185b}.btn{border:1.5px solid var(--line);justify-content:center;min-width:140px}.pill-orange.btn{border-color:#0000}.btn.sm{min-width:0;min-height:36px;padding:0 16px;font-size:13.5px}.file{cursor:pointer;flex-direction:row;align-self:flex-start}.shell{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.side{background:var(--ink);color:#fff;box-sizing:border-box;flex-direction:column;height:100vh;padding:22px 14px;display:flex;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:10px;padding:0 10px 22px;font-size:15px;font-weight:800;text-decoration:none;display:flex}.brand small{color:#ffffff8c;font-size:12px;font-weight:600;display:block}.menu{flex-direction:column;gap:4px;display:flex}.menu button{color:#ffffffb8;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:11px 12px;font-size:14.5px;font-weight:600;display:flex}.menu button:hover{color:#fff;background:#ffffff12}.menu button[aria-current]{color:#fff;background:#ffffff1f}.menu button[aria-current] svg{stroke:var(--orange)}.menu svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:20px;height:20px}.menu span{flex:1}.badge{background:var(--orange);color:#fff;box-sizing:border-box;font-variant-numeric:tabular-nums;text-align:center;border-radius:99px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;font-weight:800;line-height:1;display:inline-grid}.side-foot{border-top:1px solid #ffffff1a;flex-direction:column;gap:2px;margin-top:auto;padding-top:14px;display:flex}.side-foot a,.side-foot button{color:#ffffffb8;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:9px 12px;font-size:14px;font-weight:600;text-decoration:none}.side-foot a:hover,.side-foot button:hover{color:#fff;background:#ffffff12}.main{min-width:0}.panel{flex-direction:column;gap:20px;max-width:1080px;margin:0 auto;padding:36px 36px 120px;display:flex}.ph{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:4px;display:flex}.ph h2{letter-spacing:-.02em;margin:0;font-size:30px;font-weight:800}.ph p{color:var(--muted);max-width:620px;margin:6px 0 0;font-size:15px}.crumb{font:inherit;color:var(--orange-text);cursor:pointer;background:0 0;border:0;padding:0 0 6px;font-size:14px;font-weight:700}.box{background:#fff;border-radius:20px;padding:20px 22px;box-shadow:0 1px 2px #1a1a2e0a,0 0 0 1px #1a1a2e0a}.box.flush{padding:8px 0}.box h3{margin:0 0 12px;font-size:15px;font-weight:800}.stack{flex-direction:column;gap:14px;display:flex}.stack>.box h3{margin:0}.note{color:#8a8a9a;margin:0;font-size:13px}.seg{background:#fff;border-radius:99px;gap:2px;padding:4px;display:flex;box-shadow:0 0 0 1px #1a1a2e0f}.seg button{font:inherit;cursor:pointer;color:var(--body);background:0 0;border:0;border-radius:99px;padding:8px 14px;font-size:13px;font-weight:700}.seg button.on{background:var(--ink);color:#fff}.kpis{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.kpi{background:#fff;border-top:4px solid;border-radius:20px;flex-direction:column;gap:6px;padding:18px 20px;display:flex;box-shadow:0 0 0 1px #1a1a2e0a}.kpi:first-child{border-color:#ff6b2c}.kpi:nth-child(2){border-color:#2f6bff}.kpi:nth-child(3){border-color:#18c29c}.kpi:nth-child(4){border-color:#7c5cff}.kpi span{color:var(--muted);font-size:13px;font-weight:600}.kpi b{letter-spacing:-.02em;font-size:34px;font-weight:800;line-height:1.1}.box-h{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.box-h h3{margin:0}.legend{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.legend i{border-radius:3px;width:10px;height:10px;margin-left:8px;display:inline-block}.legend i.v{background:#ff6b2c}.legend i.p{background:#ffd7c2}#chart svg{width:100%;height:auto;display:block}.grid2{grid-template-columns:1fr 1fr;gap:14px;display:grid}.rank{flex-direction:column;gap:6px;display:flex}.rk{grid-template-columns:minmax(0,1fr) 72px 64px;align-items:center;gap:12px;font-size:14px;display:grid}.rk>span:not(.rk-name){text-align:left;font-variant-numeric:tabular-nums;color:var(--ink);padding-left:6px;font-weight:700}.rk.head{font-size:12px}.rk.head>span{color:#8a8a9a!important;font-weight:600!important}.rk-name{border-radius:10px;align-items:center;gap:8px;min-height:34px;padding:0 10px;display:flex;position:relative;overflow:hidden}.rk-name i{z-index:0;background:linear-gradient(90deg,#ffe6d8,#fff1e8);border-radius:10px;position:absolute;inset:0 auto 0 0}.rk-name em{z-index:1;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-style:normal;font-weight:600;position:relative;overflow:hidden}.rk-name small{z-index:1;color:var(--orange-text);font-size:12px;font-weight:700;position:relative}.rk-empty{color:#8a8a9a;margin:8px 0 4px;font-size:14px}.msgs{flex-direction:column;gap:12px;display:flex}.mcard{background:#fff;border-radius:20px;gap:16px;padding:20px 22px;display:flex;box-shadow:0 0 0 1px #1a1a2e0d}.mcard.unread{box-shadow:0 0 0 2px #ffd7c2}.mcard.unread .mtop b:after{content:"";background:var(--orange);vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-left:8px;display:inline-block}.av{color:#fff;background:linear-gradient(135deg,#ff6b2c,#ff4d8d);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:15px;font-weight:800;display:flex}.av.cv{background:linear-gradient(135deg,#2f6bff,#7c5cff)}.mbody{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.mtop{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.mtop b{font-size:16px}.co{color:var(--muted);font-size:14px;font-weight:600}.tag{color:var(--orange-text);background:#fff1e8;border-radius:99px;padding:3px 10px;font-size:12px;font-weight:700}.tag.cv{color:#3b4fd8;background:#eef2ff}.mtop time{color:#8a8a9a;margin-left:auto;font-size:13px}.contact{flex-direction:column;align-items:flex-start;gap:2px;font-size:14px;display:flex}.contact a{color:var(--body);font-weight:600;text-decoration:none}.contact a:hover{color:var(--orange-text)}.text{white-space:pre-wrap;background:#f8f9fc;border-radius:14px;margin:4px 0 0;padding:12px 14px;font-size:15px;line-height:1.55}.mact{flex-wrap:wrap;align-items:center;gap:16px;margin-top:6px;display:flex}.empty-state{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:8px;padding:56px 24px;display:flex}.empty-state:before{content:"";background:#fff1e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3C/svg%3E") 50%/26px no-repeat;border-radius:18px;width:56px;height:56px;margin-bottom:6px}.empty-state span{max-width:360px}.empty-state b{color:var(--ink);font-size:17px}.groups{gap:16px;display:grid}.group .fields{grid-template-columns:1fr 1fr;gap:14px 16px;display:grid}.group .fields .wide{grid-column:1/-1}.photos{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.photo{flex-direction:column;gap:12px;padding:12px;display:flex}.ph-img{background:#f0f1f6;border-radius:14px;justify-content:center;align-items:center;height:200px;display:flex;overflow:hidden}.ph-img img{object-fit:cover;width:100%;height:100%}.ph-img.round img{border-radius:50%;width:170px;height:170px}.ph-foot{justify-content:space-between;align-items:center;gap:8px;padding:0 6px 4px;display:flex}.ph-foot b{font-size:15px;display:block}.ph-foot small{color:#8a8a9a;font-size:13px}.ph-act{align-items:center;gap:12px;display:flex}.tlhead,.tlrow{grid-template-columns:140px 1.2fr 1.2fr 132px;align-items:center;gap:10px;padding:8px 18px;display:grid}.tlhead{color:#8a8a9a;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.tlrow+.tlrow{border-top:1px solid #f0f1f6}.tlact{justify-content:flex-end;gap:6px;display:flex}.icon{cursor:pointer;width:36px;height:36px;color:var(--body);background:#f3f4f8;border:0;border-radius:10px;font-size:14px}.icon:hover:not([disabled]){background:#e9ebf2}.icon[disabled]{opacity:.35;cursor:default}.icon.del:hover{color:#c2185b;background:#fde8ef}.cat{text-transform:uppercase;letter-spacing:.05em;color:#8a8a9a;margin:8px 0 10px;font-size:13px;font-weight:800}.cat span{color:var(--muted);background:#eceef3;border-radius:99px;margin-left:4px;padding:1px 8px;font-size:12px}.artlist{flex-direction:column;margin-bottom:20px;padding:6px;display:flex}.artitem{text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:14px;align-items:center;gap:14px;padding:8px 12px 8px 8px;display:flex}.artitem+.artitem{box-shadow:0 -1px #f0f1f6}.artitem:hover{box-shadow:none;background:#fff6f0}.artitem:hover+.artitem{box-shadow:none}.artitem img{object-fit:cover;background:#f0f1f6;border-radius:12px;flex-shrink:0;width:52px;height:52px}.artitem span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.artitem b{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.artitem small{color:#8a8a9a;font-size:13px}.artitem em{color:var(--orange-text);font-style:normal;font-weight:700}.artitem em.off{color:#c2185b}.artitem i{color:#c4c6d0;font-size:22px;font-style:normal}.edit-grid{grid-template-columns:1fr 320px;align-items:start;gap:16px;display:grid}.cover{aspect-ratio:16/10;object-fit:cover;background:#f0f1f6;border-radius:14px;width:100%}.switch{cursor:pointer;flex-direction:row;align-items:center;gap:10px;font-size:14px}.switch input{opacity:0;width:0;height:0;position:absolute}.switch span{background:#d5d8e1;border-radius:99px;flex-shrink:0;width:42px;height:24px;transition:background .15s;position:relative}.switch span:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch input:checked+span{background:var(--mint)}.switch input:checked+span:after{transform:translate(18px)}.switch input:focus-visible+span{box-shadow:0 0 0 3px #ff6b2c4d}.savebar{background:var(--ink);color:#fff;z-index:15;border-radius:99px;align-items:center;gap:18px;padding:8px 8px 8px 22px;font-size:14px;font-weight:600;display:flex;position:fixed;bottom:24px;left:calc(50% + 120px);transform:translate(-50%);box-shadow:0 16px 40px #1a1a2e4d}.savebar .light{color:#ffffffbf}.savebar .pill{justify-content:center;min-width:150px}.toast{background:var(--ink);color:#fff;opacity:0;pointer-events:none;z-index:30;border-radius:99px;padding:12px 20px;font-size:14px;font-weight:600;transition:all .2s;position:fixed;top:20px;left:50%;transform:translate(-50%,-20px)}.toast.show{opacity:1;transform:translate(-50%)}.toast.bad{background:#c2185b}@media (width<=900px){.shell{grid-template-columns:1fr}.side{z-index:10;flex-direction:row;align-items:center;gap:8px;height:auto;padding:10px 12px;position:sticky;overflow-x:auto}.brand{padding:0 8px 0 4px}.brand span{display:none}.menu{flex-direction:row}.menu button{white-space:nowrap;padding:9px 11px}.menu span{display:none}.menu button[aria-current] span{display:inline}.side-foot{border:0;flex-direction:row;margin:0 0 0 auto;padding:0}.side-foot a{display:none}.panel{padding:24px 16px 120px}.kpis{grid-template-columns:1fr 1fr}.grid2,.edit-grid,.group .fields{grid-template-columns:1fr}.tlhead{display:none}.tlrow{grid-template-columns:1fr 1fr;padding:12px 14px}.tlact{grid-column:1/-1}.savebar{box-sizing:border-box;justify-content:space-between;width:calc(100% - 32px);left:50%}}
