:root{color-scheme:light;--bg: #f3f5f7;--surface: #ffffff;--ink: #1b242c;--muted: #5d6b78;--line: #d9e1e8;--accent: #0f6e6b;--accent-ink: #ffffff;--danger: #9f2d2d;--ok: #1f7a46;--shadow: 0 10px 30px rgba(27, 36, 44, .06);font-family:Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}a{color:inherit}:focus-visible{outline:3px solid #8fd0cc;outline-offset:2px}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.side{background:#14333a;color:#e7f3f2;padding:20px 14px;display:flex;flex-direction:column;gap:8px}.brand{font-weight:700;letter-spacing:.08em;padding:8px 10px 18px}.side a,.side button.link{color:#d5e7e6;text-decoration:none;text-align:left;background:transparent;border:0;border-radius:10px;padding:10px 12px}.side a.active,.side a:hover{background:#ffffff1a}.side .muted{color:#b7d0ce;padding:0 12px;font-size:13px}.side button.primary,.side button.ghost{width:100%;margin-top:8px}.main{padding:28px}.main:has(.profile-shell){padding:16px 20px 24px;background:#f1f5f9}.top{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}h1{font-size:28px;margin:0}.muted{color:var(--muted)}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.card{padding:16px}.card b{display:block;font-size:24px;margin-top:6px}.panel{padding:16px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--muted);font-weight:600;font-size:13px}label{display:grid;gap:6px;font-size:14px}input,select,textarea{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff}textarea{min-height:80px}button.primary,button.ghost,button.danger{border-radius:10px;padding:10px 14px;border:1px solid transparent;cursor:pointer}button.primary{background:var(--accent);color:var(--accent-ink)}button.ghost{background:#fff;border-color:var(--line)}button.danger{background:#fff;color:var(--danger);border-color:#e7c4c4}.auth{max-width:460px;margin:8vh auto;padding:28px}.staff-pick{display:grid;gap:8px}.staff-pick button{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left}.staff-pick button span{color:var(--muted);font-size:13px}.stack{display:grid;gap:12px}.banner{padding:12px 14px;border-radius:12px;background:#e8f6f4}.banner.error{background:#fdecec;color:var(--danger)}.banner.ok{background:#e7f6ec;color:var(--ok)}.split{display:grid;grid-template-columns:1.3fr .7fr;gap:16px}.empty,.state{padding:28px;text-align:center;color:var(--muted)}.profile{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:start}.photo{display:grid;gap:8px}.photo img,.photo-empty{width:160px;height:160px;object-fit:cover;border-radius:16px;background:#e7eef2}.photo-empty{display:grid;place-items:center;color:var(--muted)}.review{display:grid;grid-template-columns:1.4fr 90px 1fr auto;gap:8px;align-items:end}.timeline{list-style:none;margin:0;padding:0;display:grid;gap:10px}.timeline li{border-left:3px solid var(--accent);padding-left:12px}.main:has(.dossier){padding:0;background:#eef2f6}.dossier{min-height:100vh;background:#eef2f6;color:#2d3945;display:grid;grid-template-rows:auto 1fr}.dossier-head{background:#fff;border-bottom:1px solid #e1e7ee}.membership-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:10px 18px 14px}.membership-bar p{margin:0;color:#3d4c5c}.sale-trigger{width:auto}.dossier-title{background:#fff;border-bottom:1px solid #e1e7ee;text-align:center;font-size:22px;font-weight:600;color:#4d5b6a;padding:16px 20px}.dossier-body{display:grid;grid-template-columns:230px 1fr;min-height:0}.dossier-nav{background:#fff;border-right:1px solid #e4ebf2;padding:8px 0;display:flex;flex-direction:column}.dossier-nav button{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#5d6b7a;text-align:left;padding:10px 16px;border-radius:0;cursor:pointer}.dossier-nav button.active{background:#e7f1fb;color:#2d6cdf}.dossier-main{min-width:0}.dossier-sheet{min-height:100%;display:flex;flex-direction:column}.dossier-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;padding:22px 28px 12px}.dossier-fields,.dossier-panel{display:grid;gap:10px}.dossier-panel{padding:22px 28px 80px}.dossier-row{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px;align-items:center;font-size:14px;color:#60707f}.dossier-row>span:first-child{text-align:right}.dossier input,.dossier select,.dossier textarea{width:100%;border:1px solid #d5dee8;border-radius:3px;background:#fff;padding:7px 10px;color:#243140}.dossier textarea{min-height:72px}.phone-line,.date-line,.suffix-line,.tag-box,.money-line,label.check-line{display:flex;justify-content:flex-start;gap:8px;align-items:center;width:auto}.date-line select{width:auto;min-width:88px}.suffix-line{border:1px solid #d5dee8;border-radius:3px;background:#fff;padding-right:10px}.suffix-line input{border:0}label.check-line{width:max-content;white-space:nowrap}.money-line{width:max-content}.phone-code{width:42px!important;text-align:center}.suffix-line span,.plain{color:#60707f}.tag-box{flex-wrap:wrap;min-height:36px;border:1px solid #d5dee8;border-radius:3px;background:#fff;padding:4px}.tag-box input{border:0;width:140px;padding:4px}.tag{border:0;border-radius:3px;padding:3px 8px;color:#fff;background:#8ea0b3;cursor:pointer}.tag-vip{background:#f2c200;color:#3d3200}.tag-green{background:#37a34a}.tag-pink{background:#ef5b93}.dossier-side{display:grid;align-content:start;gap:10px}.avatar{position:relative;width:150px;height:150px;margin:0 auto;background:#d9e4f0;display:grid;place-items:center;overflow:hidden;cursor:pointer}.avatar img{width:100%;height:100%;object-fit:cover}.avatar span{position:absolute;left:0;right:0;bottom:0;background:#6d7c8c;color:#fff;text-align:center;font-size:13px;padding:4px}.avatar input{display:none}.comment-label{display:grid;gap:6px;color:#60707f}button.orange,button.blue,.dossier-footer .ghost{border:0;border-radius:3px;padding:8px 16px;cursor:pointer}button.orange{background:#ff8c1a;color:#fff}.dossier-side button.orange{width:100%}button.blue{background:#2f6fdb;color:#fff}.dossier-footer{margin-top:auto;display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;background:#fff;border-top:1px solid #e4ebf2}.dossier-footer .ghost{background:#fff;border:1px solid #d5dee8;color:#526272}button.link{background:none;border:0;color:#1aa3b8;padding:0;cursor:pointer;width:auto;white-space:nowrap}button.link.danger{color:#d23b3b}.comment-item{margin:0;font-size:13px;color:#526272}.stats p{display:flex;justify-content:space-between;max-width:420px;border-bottom:1px solid #e4ebf2;padding-bottom:8px}.desk{background:#fff;border:1px solid #e4ebf2;border-radius:12px;padding:16px;margin-bottom:16px}.desk-hits{list-style:none;margin:8px 0 0;padding:0;border:1px solid #e4ebf2;border-radius:8px;max-height:240px;overflow:auto}.desk-hits button{width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #eef2f6;padding:10px 12px;cursor:pointer}.quick-card{display:grid;grid-template-columns:140px 1fr;gap:16px;margin-top:14px}.quick-card img,.quick-photo{width:140px;height:140px;object-fit:cover;background:#d9e4f0;display:grid;place-items:center;color:#60707f}.link-button{display:inline-flex;align-items:center;text-decoration:none;border-radius:3px;padding:8px 14px;background:#2f6fdb;color:#fff}.shop-back{position:fixed;inset:0;background:#14202c73;z-index:20;display:grid;place-items:center;padding:24px}.shop{width:min(1080px,100%);max-height:90vh;overflow:auto;background:#f4f7fb;border-radius:12px;padding:16px}.shop header,.shop-filters,.membership-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.shop-filters{justify-content:flex-start}.shop-filters button,.goods-card{border:1px solid #d5dee8;background:#fff;border-radius:10px;cursor:pointer}.shop-filters button{padding:8px 12px}.shop-filters button.active,.goods-card.selected{border-color:#2f6fdb;box-shadow:inset 0 0 0 1px #2f6fdb}.shop-layout{display:grid;grid-template-columns:1fr 280px;gap:16px}.goods-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.goods-card{display:grid;gap:6px;padding:12px;text-align:left;color:inherit}.goods-art{height:120px;border-radius:8px;background:#d9e7f5;display:grid;place-items:center;overflow:hidden;font-size:32px;color:#2f6fdb}.goods-art img{width:100%;height:100%;object-fit:cover}.cart-line{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:baseline;margin:0}.product-photo{display:grid;gap:8px}.product-photo img,.product-photo .product-photo-empty{width:100%;height:220px;object-fit:cover;border-radius:16px;background:#e7eef5}.product-photo-empty{display:grid;place-items:center;color:var(--muted)}.cart{background:#fff;border-radius:10px;padding:12px;display:grid;align-content:start;gap:8px}.cart button.orange,.membership-controls button.orange{width:auto}.membership-dialog .goods-card{width:100%}.visit-card{background:#fff;border:1px solid #e4ebf2;border-radius:8px;padding:12px}@media(max-width:900px){.shell{grid-template-columns:1fr}.side{flex-direction:row;overflow:auto}.brand{display:none}.split,.profile,.review{grid-template-columns:1fr}.main{padding:16px}.main:has(.dossier){padding:0}.dossier-body,.dossier-grid,.dossier-row{grid-template-columns:1fr}.dossier-nav{flex-direction:row;overflow:auto}.dossier-row>span:first-child{text-align:left}}.profile-shell{display:grid;gap:20px;width:100%;min-height:calc(100vh - 40px)}.profile-card,.sheet,.comments-card,.profile-panel{background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 1px 2px #0f172a0d}.profile-card,.comments-card{overflow:hidden}.profile-cover{height:128px;background:linear-gradient(90deg,#eff6ff,#eef2ff 48%,#faf5ff)}.profile-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:0 32px 20px}.profile-who{display:flex;align-items:flex-end;gap:18px;margin-top:-56px;min-width:0}.profile-photo{position:relative;width:120px;height:120px;flex:none;border-radius:999px;border:4px solid #fff;background:#f8fafc;box-shadow:0 8px 18px #0f172a1f;overflow:hidden;display:grid;place-items:center;cursor:pointer}.profile-photo img,.profile-photo svg{width:100%;height:100%;object-fit:cover}.profile-photo span{position:absolute;left:0;right:0;bottom:0;background:#0f172a8c;color:#fff;text-align:center;font-size:12px;padding:6px 0 10px;opacity:0}.profile-photo:hover span,.profile-photo:focus-within span{opacity:1}.profile-photo input{display:none}.profile-photo.product:after{display:none}.profile-photo b{font-size:36px;color:#1d4ed8}.profile-actions a.ghost{display:inline-flex;align-items:center;border-radius:12px;padding:10px 22px;font-weight:600;text-decoration:none}.profile-photo:after{content:"";position:absolute;right:10px;bottom:10px;width:14px;height:14px;border:2px solid #fff;border-radius:999px;background:#22c55e}.profile-who h1{margin:0 0 8px;font-size:30px;line-height:1.15}.profile-meta{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:0;color:#64748b;font-size:14px}.pill{background:#eff6ff;color:#1d4ed8;border-radius:8px;padding:4px 10px;font-weight:600}.muted-pill{background:#f1f5f9;color:#64748b}.ok-text{color:#059669}.profile-actions{display:flex;gap:12px;flex-wrap:wrap;padding-bottom:4px}.profile-actions button{width:auto;border-radius:12px;padding:10px 22px;font-weight:600}.profile-tabs{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;border-top:1px solid #f1f5f9;padding:0 8px}.profile-tabs::-webkit-scrollbar{display:none}.profile-tabs button{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;border-bottom:2px solid transparent;color:#64748b;padding:16px 18px;cursor:pointer;white-space:nowrap}.profile-tabs button.active{color:#2563eb;border-bottom-color:#2563eb}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:20px;align-items:stretch}.profile-main,.profile-panel{display:grid;gap:24px}.sheet,.profile-panel{padding:24px}.sheet h2,.comments-compose h2{margin:0 0 18px;font-size:18px}.sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.profile-shell .field{display:grid;gap:6px;min-width:0}.profile-shell .field>span,.comments-feed h3{color:#475569;font-size:14px;font-weight:500}.profile-shell input,.profile-shell select,.profile-shell textarea{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;color:#1e293b}.field.wide{grid-column:1 / -1}.profile-shell .date-line{display:flex;width:100%}.profile-shell .date-line select{flex:1;min-width:0}.profile-shell .suffix-line{display:flex;align-items:center;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding-right:12px}.profile-shell .suffix-line input{border:0;background:transparent}.profile-shell .tag-box{display:flex;flex-wrap:wrap;gap:6px;min-height:42px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:6px}.profile-shell .tag-box input{width:150px;border:0;background:transparent;padding:4px}.money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric{text-align:left;border-radius:16px;border:1px solid #e2e8f0;background:#f8fafc;padding:16px;display:grid;gap:6px;cursor:pointer;color:inherit}.metric b{font-size:20px}.metric small,.metric>span{color:#64748b;font-size:13px}.metric-blue{background:#eff6ff;border-color:#dbeafe}.metric-blue b{color:#1d4ed8}.metric-green{background:#ecfdf5;border-color:#d1fae5}.metric-green b{color:#047857}.metric-red{background:#fef2f2;border-color:#fecaca}.metric-red b{color:#b91c1c}.profile-shell .check-line{margin-top:16px}.profile-save{display:flex;justify-content:flex-end;gap:8px}.profile-save .ghost,.profile-save .blue,.comments-compose button.orange{border-radius:12px}.profile-save .ghost{background:#fff;border:1px solid #e2e8f0;color:#334155}.comments-card{display:flex;flex-direction:column;height:100%}.comments-compose{padding:24px;border-bottom:1px solid #f1f5f9}.comments-compose textarea{min-height:88px;resize:none}.comments-compose button.orange{width:100%;margin-top:12px}.comments-feed{flex:1;padding:24px;background:#f8fafc;display:grid;gap:12px;align-content:start}.comments-feed h3{margin:0;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8}.note{display:grid;gap:6px;justify-items:start}.note.mine{justify-items:end}.note div{display:flex;gap:8px;align-items:baseline;color:#64748b;font-size:12px}.note b{color:#1e293b;font-size:13px}.msg{margin:0;max-width:92%;background:#fff;border-radius:16px 16px 16px 4px;padding:8px 12px;box-shadow:0 1px 1px #0f172a14;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.35}.note.mine .msg{background:#e7fcd2;border-radius:16px 16px 4px}@media(max-width:1100px){.profile-layout,.sheet-grid,.money-grid{grid-template-columns:1fr}.profile-top{display:grid;padding:0 16px 16px}.profile-who h1{font-size:22px}.week-row{grid-template-columns:1fr}}.staff-mark{cursor:default}.staff-mark strong{font-size:36px;color:#2563eb}.week{display:grid;gap:10px}.week-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;align-items:center}.week-times{display:flex;gap:8px}.week-times input{width:auto}.week-next{margin:22px 0 8px;font-size:14px;color:#64748b}.shift-line{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #f1f5f9}.shift-card{display:grid;gap:4px;padding:12px 0;border-top:1px solid #f1f5f9}.shift-card span{color:var(--muted)}.money-grid.earnings{grid-template-columns:1fr}.schedule-bar{align-items:center}.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.cal>b{color:var(--muted);font-size:13px;padding:0 8px}.cal-day{min-height:92px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left}.cal-day.work{background:#e7f6f4;border-color:#b7ddd8}.cal-day.off{background:#f7f8f9}.cal-day small{color:var(--muted);font-size:12px;line-height:1.2}.board-scroll{overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:16px}.board{display:grid}.board-head{position:sticky;top:0;z-index:3;background:#f7fbfa;border-bottom:1px solid var(--line);border-left:1px solid var(--line);padding:10px 12px;min-height:58px}.board-corner{left:0;z-index:4}.board-head b,.board-head small{display:block;overflow-wrap:anywhere}.board-head small{color:var(--muted);font-size:12px}.board-times{position:sticky;left:0;z-index:3;display:flex;flex-direction:column;background:var(--surface);color:var(--muted);font-size:12px}.board-times span{display:flex;align-items:flex-start;justify-content:flex-end;padding-right:8px}.board-col{position:relative;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent,transparent 35px,#eef3f6 35px,#eef3f6 36px)}.board-line{position:absolute;left:0;right:0;border-top:1px solid #eef3f6}.board-shift{position:absolute;left:0;right:0;z-index:0;pointer-events:none;background:#0f6e6b0f}.board-card{position:absolute;left:6px;right:6px;z-index:2;overflow:hidden;border-radius:8px;padding:4px 6px;font-size:12px;line-height:1.25}.board-card b,.board-card span,.board-card small{display:block}.board-card.c0{background:#d9f2ef}.board-card.c1{background:#ffe7c2}.board-card.c2{background:#f7d6e6}.board-card.c3{background:#d9e6ff}.board-card.c4{background:#e5f6d5}.board-card.c5{background:#efe0ff}.board-slot{position:absolute;left:0;right:0;z-index:1;border:0;background:transparent;cursor:pointer}.modal-back{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:24px;background:#0f172a73}.modal-card{width:min(640px,100%);max-height:min(760px,calc(100vh - 48px));overflow:auto}.board-slot:hover{background:#0f6e6b1f}.board-card{cursor:grab;touch-action:none}.board-card.dragging{z-index:5;cursor:grabbing;opacity:.9;box-shadow:0 8px 20px #0f172a29}.board-resize{position:absolute;left:0;right:0;bottom:0;height:8px;cursor:ns-resize}.slot-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;align-items:end}.slot-form label{display:flex;flex-direction:column;gap:6px;font-size:13px}.client-picks{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow:auto}.client-picks label{display:flex;flex-direction:row;align-items:center;gap:8px}.profile-shell textarea{width:100%;min-height:72px;border:1px solid var(--line);border-radius:10px;padding:8px 10px}
