:root{--accent:#0062D6;--bg:#F2F2F7;--text:#111114;--sub:#5C5C66;--line:#E3E3E8;--err:#B3261E;--ok:#0B6B4F}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--text);font:16px/1.3 Inter,-apple-system,"SF Pro Text","Segoe UI",Arial,sans-serif;-webkit-text-size-adjust:100%}
button,input{font-family:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
a{color:var(--accent)}
.boot{padding:48px 16px;color:var(--sub)}
.glass{background:rgba(255,255,255,.66);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(255,255,255,.85);box-shadow:0 8px 28px rgba(17,17,20,.14)}
/* шапка телефона */
.mhead{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 6px}
.mhead .back{width:44px;height:44px;border-radius:22px;display:flex;align-items:center;justify-content:center}
.mhead .ttl{font-size:16px;font-weight:600}
.mlogo{width:112px;height:28px;display:block}
.hbtn{min-width:44px}
.hbtn{height:44px;padding:0 14px;border-radius:22px;font-size:15px;font-weight:600;color:var(--accent)}
.hbtn.fill{border:0;background:var(--accent);color:#fff;box-shadow:0 8px 28px rgba(17,17,20,.14)}
.seg{display:flex;gap:2px;padding:3px;border-radius:14px;background:#E4E4EA}
.seg button{flex:1 1 0;min-height:40px;border:0;border-radius:11px;background:transparent;font-size:14px;font-weight:500}
.seg button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px rgba(17,17,20,.16);font-weight:600}
.seg.in{background:var(--bg)}.seg.in button{min-height:44px;padding:4px 6px}
.mode{margin:0 16px 8px}
.page{max-width:520px;margin:0 auto}
.col{display:flex;flex-direction:column;gap:16px;padding:4px 0 120px}
.drawpin{position:sticky;top:0;z-index:4;background:var(--bg);padding:6px 0 8px;margin-bottom:-8px}
.dtag{position:absolute;left:14px;top:12px;font-size:13px;font-weight:600;color:var(--sub)}
.drawbox{position:relative;display:flex;flex-direction:column;align-items:center;margin:0 16px;padding:12px 0 14px;border-radius:24px;background:linear-gradient(160deg,#E6EAF0 0%,#F7F8FA 55%,#DCE3EC 100%)}
.draw{position:relative;width:300px;height:196px}
.draw i{position:absolute;display:block}
.draw b{position:absolute;font-size:13px;font-weight:600;line-height:18px;font-variant-numeric:tabular-nums}
.card{display:flex;flex-direction:column;margin:0 16px;background:#fff;border-radius:20px;overflow:hidden}
.row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:6px 12px 6px 16px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;width:100%}
.card>.row:last-child{border-bottom:0}
.row .l{font-size:16px;flex-shrink:0}
.row .v{display:flex;align-items:center;gap:8px;min-width:0;font-size:15px;text-align:right}
.row .v .nw{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sw{width:26px;height:26px;border-radius:8px;border:1px solid #C9C9D1;flex-shrink:0}
.chev{flex-shrink:0}
.sizes{gap:12px;padding:14px 16px}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.g1{display:grid;gap:10px}
.fld{display:flex;flex-direction:column;gap:5px;min-width:0}
.fld label,.lbl{font-size:13px;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inp{height:44px;width:100%;border:1.5px solid #C9C9D1;border-radius:12px;padding:0 12px;font-size:17px;font-weight:500;background:#fff}
.inp.bad{border-color:var(--err)}
.inp:focus{outline:2px solid var(--accent);outline-offset:1px}
.e{font-size:14px;font-weight:600;color:var(--err)}.e:empty{display:none}
.step{display:flex;align-items:center;justify-content:space-between;height:44px;border-radius:12px;background:var(--bg)}
.step button{width:44px;height:44px;border:0;background:transparent;font-size:20px}
.step div{font-size:17px;font-weight:500}
.notes{display:contents}
.note{display:flex;align-items:center;min-height:48px;margin:0 16px;padding:8px 14px;border-radius:16px;font-size:14px;line-height:1.35}
.loops{display:flex;flex-direction:column;gap:8px;padding:12px 16px 14px}
.cm{gap:2px;padding:10px 16px}
.cm label{font-size:12px;color:var(--sub)}
.cm input{height:34px;border:0;padding:0;font-size:16px;background:transparent;outline:0}
/* плавающая панель цены */
.bar{position:fixed;left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:496px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 20px;border-radius:30px}
.bar .p{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.bar .s{font-size:12px;color:var(--sub)}
.bar .p{white-space:normal}
.pn{white-space:nowrap;font-size:13px;font-weight:500;color:var(--sub)}
.cta{height:52px;padding:0 24px;border:0;border-radius:26px;background:var(--accent);color:#fff;font-size:17px;font-weight:600;white-space:nowrap}
.cta.off{background:#C9C9D1;color:#3A3A44}
.cta.sm{padding:0 16px;font-size:15px}.cta.white{background:#fff;color:var(--text);padding:0 14px;font-size:15px}.cta.dark{background:#111114}
/* окна выбора */
.ov{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;background:rgba(17,17,20,.38)}
.sheet{position:relative;display:flex;flex-direction:column;width:100%;max-width:520px;max-height:min(720px,88vh);background:var(--bg);border-radius:28px 28px 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom))}
.sheet.tall{height:min(700px,88vh)}
.grab{display:flex;justify-content:center;padding:8px 0 0}.grab i{width:36px;height:5px;border-radius:3px;background:#C9C9D1}
.shead{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 8px 20px}
.shead h2{margin:0;font-size:24px;font-weight:700}
.shead button{height:44px;padding:0 12px;border:0;background:transparent;font-size:16px;color:var(--accent)}
.search{margin:0 16px;flex-shrink:0}
.search input{height:44px;width:100%;border:0;border-radius:14px;padding:0 14px;font-size:16px;background:#E4E4EA}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:10px 16px 12px;flex-shrink:0}
.chips button{height:44px;padding:0 16px;border:0;border-radius:22px;background:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.chips button[aria-pressed=true]{background:#111114;color:#fff}
.list{overflow-y:auto;min-height:0;margin:0 16px;background:#fff;border-radius:20px;flex-shrink:1}
.opt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:6px 16px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}
.opt:last-child{border-bottom:0}
.opt .t{display:flex;flex-direction:column;gap:2px}.opt .n{font-size:16px}.opt .d{font-size:13px;color:var(--sub)}.opt .d:empty{display:none}
.dot{width:24px;height:24px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.opt[aria-pressed=true] .dot{background:var(--accent)}
.off{opacity:.4}
.scroll{overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:12px;padding:0 16px}
.tiles{display:grid;gap:8px}
.tile{display:flex;flex-direction:column;gap:6px;padding:8px 8px 10px;border:2px solid transparent;border-radius:20px;background:#fff;text-align:left}
.tile[aria-pressed=true]{border-color:var(--accent)}
.tile .pic{border-radius:14px;border:1px solid #D5D5DC;display:block}
.tile .n{font-size:13px;font-weight:600;line-height:1.25}.tile .d{font-size:12px;line-height:1.3;color:var(--sub)}.tile .d:empty{display:none}
.nog{width:100%;min-height:48px;border:2px solid transparent;border-radius:16px;background:#fff;font-size:16px;flex-shrink:0}
.nog[aria-pressed=true]{border-color:var(--accent)}
.foot{padding:12px 20px 0;font-size:13px;line-height:1.35;color:var(--sub)}
.empty{padding:20px 20px 4px;font-size:15px;color:var(--sub)}
.pimg{display:flex;justify-content:center;flex-shrink:0;padding:10px 0;background:#fff;border-radius:20px}
.pimg img{max-width:266px;max-height:322px;width:auto;height:auto;display:block}
.pimg span{padding:16px;font-size:14px;color:var(--sub);text-align:center}
.ptxt{padding:0 4px;font-size:14px;line-height:1.4;flex-shrink:0}
.pf{display:flex;flex-direction:column;background:#fff;border-radius:20px;flex-shrink:0}
.pf>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:6px 12px 6px 16px;border-bottom:1px solid var(--line)}
.pf>div:last-child{border-bottom:0}
.pf label{display:flex;flex-direction:column;gap:2px}.pf label b{font-size:16px;font-weight:600}.pf label span{font-size:13px;color:var(--sub)}
.pf .u{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--sub)}
.pf input{width:84px;height:44px;border:1.5px solid #C9C9D1;border-radius:12px;padding:0 10px;text-align:center;font-size:17px;font-weight:500;background:#fff}
.pf input.calc{color:var(--sub)}
.link{min-height:44px;border:0;border-radius:14px;background:#fff;font-size:15px;font-weight:600;color:var(--accent);flex-shrink:0}
.citem{display:flex;flex-direction:column;gap:3px;flex-shrink:0;padding:12px 14px 2px;background:#fff;border-radius:20px}
.citem .h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:16px;font-weight:600}
.citem .h span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.citem .s{font-size:14px;color:var(--sub)}
.citem .a{display:flex;gap:4px;margin-left:-10px}
.citem .a button{height:44px;padding:0 10px;border:0;background:transparent;font-size:15px;color:var(--accent)}
.citem .a button.del{color:var(--sub)}
.newcfg{height:52px;flex-shrink:0;border:0;border-radius:20px;background:#fff;font-size:16px;font-weight:600;color:var(--accent)}
.ctotal{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;margin:12px 16px 0;padding:10px 10px 10px 20px;border-radius:30px;background:#fff}
.ctotal .p{font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}.ctotal .s{font-size:12px;color:var(--sub)}

#toast{position:fixed;left:50%;top:14px;transform:translate(-50%,-80px);z-index:40;max-width:calc(100% - 32px);padding:12px 18px;border-radius:18px;background:#111114;color:#fff;font-size:14px;transition:transform .25s;pointer-events:none}
#toast.on{transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){#toast{transition:none}}
.cutbox{display:flex;flex-direction:column;gap:6px;flex-shrink:0}
.bdm{display:flex;flex-direction:column;background:#fff;border-radius:20px;flex-shrink:0}
.bdm>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:6px 16px;border-bottom:1px solid var(--line)}
.bdm>div:last-child{border-bottom:0}
.bdm .t{display:flex;flex-direction:column;gap:2px}.bdm .t span{font-size:13px;color:var(--sub)}
/* таблица */
.cap{font-size:13px;color:var(--sub)}
.mini{width:36px;height:32px;border:0;border-radius:10px;background:#fff;font-size:18px}.mini:disabled{opacity:.4}
.tcol{display:flex;flex-direction:column;gap:14px;padding:4px 0 120px;min-width:0}
.ctile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;padding:8px 14px;border:0;border-radius:16px;background:#fff;text-align:left}
.ctile span{font-size:12px;color:var(--sub)}.ctile b{font-size:15px;font-weight:600;line-height:1.25}
.tnote{padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.35}
.tgrid{display:grid;gap:4px;align-items:center;min-height:58px;padding:0 6px 0 10px}
.thead{min-height:0;height:34px;font-size:12px;color:var(--sub);border-bottom:1px solid var(--line)}.thead .c{text-align:center}
.trow{display:flex;flex-direction:column;border-bottom:1px solid var(--line)}
.tn{font-size:13px;color:var(--sub)}
.tin{height:44px;width:100%;min-width:0;border:1.5px solid #C9C9D1;border-radius:12px;padding:0 4px;text-align:center;font-size:16px;font-weight:600;background:#fff}
.tin.bad{border-color:var(--err)}.tin:focus{outline:2px solid var(--accent);outline-offset:1px}
.tsum{font-size:13px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tmore{width:36px;height:44px;border:0;border-radius:12px;background:var(--bg);display:flex;align-items:center;justify-content:center}
.tnt{padding:0 10px 10px 30px;font-size:13px;line-height:1.35;color:var(--sub)}.tnt:empty{display:none}.tnt.bad,.dnote td.bad{color:var(--err)}
.tadd{height:48px;border:0;border-radius:14px;background:var(--bg);font-size:15px;font-weight:600;color:var(--accent)}
.ract{min-height:52px;padding:4px 6px;border:0;border-radius:16px;background:#fff;font-size:14px;font-weight:600;line-height:1.2}
.donly{display:none!important}
/* широкий экран: три колонки, как на экране D1 */
@media(min-width:1100px){
  .monly{display:none!important}.donly{display:flex!important}.donly.grid{display:grid!important}
  .page{max-width:1480px}
  .dhead{align-items:center;justify-content:space-between;gap:12px;padding:14px 24px}
  .dhead .lft{display:flex;align-items:center;gap:24px}.dhead img{width:128px;height:32px}
  .nav{display:flex;gap:4px;padding:4px;border-radius:26px;background:#E4E4EA}
  .nav button{height:44px;padding:0 16px;border:0;border-radius:22px;background:transparent;font-size:15px;font-weight:500}
  .nav button[aria-pressed=true]{background:#fff;font-weight:600}
  .wbtn{height:44px;padding:0 14px;border:0;border-radius:22px;background:#fff;font-size:15px}
  .main{display:flex;align-items:flex-start;gap:24px;padding:8px 24px 32px}
  .ocol{flex:1 1 260px;max-width:320px;min-width:0;flex-direction:column;gap:10px}
  .ocol h3{margin:0;padding:0 4px;font-size:20px;font-weight:700}
  .oitem{display:flex;flex-direction:column;gap:2px;padding:10px 14px;border:2px solid transparent;border-radius:20px;background:#fff;text-align:left}
  .oitem[aria-pressed=true]{border-color:var(--accent)}
  .oitem b{font-size:15px;font-weight:600}.oitem span{font-size:13px;color:var(--sub)}
  .oitem .a{display:flex;gap:12px;margin-top:4px}.oitem .a u{font-size:13px;color:var(--accent);text-decoration:none}
  .osave{padding:4px;font-size:13px;color:var(--sub)}
  .col{flex:999 1 520px;min-width:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row dense;gap:16px;align-items:start}
  .col>.drawpin,.col>.wide{grid-column:1 / -1}
  .drawpin{position:static;padding:0;margin:0;background:none}
  .col>.c1{grid-column:1}.col>.c2,.col .note{grid-column:2}.col>.sizes{grid-row:span 2}
  .col .card,.col .drawbox,.col .note{margin:0}
  .draw{transform:scale(1.25);margin:24px 0}
  .scol{flex:1 1 300px;max-width:380px;min-width:0;flex-direction:column;gap:12px}
  .pcard{display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:24px}
  .pcard .k{font-size:13px;color:var(--sub)}.pcard .p{font-size:40px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}.pcard .s{font-size:14px;color:var(--sub)}
  .pcard .cta{width:100%}
  .cap{padding:0 4px 8px;font-size:13px;color:var(--sub)}
  .bd{display:flex;flex-direction:column;background:#fff;border-radius:20px}
  .bd>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:6px 16px;border-bottom:1px solid var(--line)}
  .bd>div:last-child{border-bottom:0}
  .bd .t{display:flex;flex-direction:column;gap:2px}.bd .t span{font-size:13px;color:var(--sub)}
  .all{display:flex;flex-direction:column;gap:10px;padding:16px 20px;background:#fff;border-radius:20px}
  .all .h{display:flex;align-items:baseline;justify-content:space-between}.all .h b{font-size:22px;font-weight:700}
  .all .s{font-size:13px;color:var(--sub)}
  .htiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px}
  .htiles .tile{background:var(--bg);border-radius:18px}.htiles .tile .pic{border:0;border-radius:12px}
  .tcol{flex:999 1 640px;padding:0;gap:12px}
  .tcol .tadd{background:#fff}
  .dt{width:100%;border-collapse:collapse}
  .dt th{padding:10px 4px;font-size:12px;font-weight:500;color:var(--sub);text-align:left;white-space:nowrap;border-bottom:1px solid var(--line)}
  .dt td{padding:8px 3px;vertical-align:middle}
  .dt td:first-child,.dt th:first-child{padding-left:12px}
  .dt .tin{min-width:52px;max-width:84px}
  .dt .chev{display:none}
  .tmain .ocol{max-width:280px}.tmain .scol{max-width:320px;flex-basis:260px}
  .dt .tsum{font-size:15px;padding-right:8px}
  .tbtn{display:flex;align-items:center;justify-content:space-between;gap:6px;height:44px;width:100%;padding:0 10px;border:1.5px solid transparent;border-radius:12px;background:var(--bg);font-size:14px;white-space:nowrap;overflow:hidden}
  .tbtn.own{border-color:var(--accent)}
  .tdel{width:36px;height:44px;border:0;border-radius:12px;background:transparent;font-size:20px;color:var(--sub)}
  .dnote td{padding:0 8px 8px;font-size:13px;color:var(--sub);border-bottom:1px solid var(--line)}
  .ocol .tnote{margin:0}
  .oitem .a u{padding:4px 8px;margin-left:-8px;border-radius:8px;cursor:pointer}
  .oitem .a u:hover,.oitem .a u:focus-visible{background:#E8F1FD}
  .citem .a button:hover,.wbtn:hover,.newcfg:hover,.tadd:hover,.tbtn:hover,.tdel:hover,.row:hover,.opt:hover:not(.off),.nav button:hover:not([aria-pressed=true]){background:#E8F1FD}
  .tile:hover:not(.off){border-color:#9CC4F5}
  .cta:hover:not(.off){filter:brightness(.93)}
  .ov{justify-content:center}.sheet{border-radius:28px;max-width:560px}.grab{visibility:hidden}
}
/* кабинет менеджера (M1–M7) */
.mg-page{max-width:520px;margin:0 auto;padding-bottom:40px}
.mg-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px 14px}
.mg-top h1{margin:0;font-size:34px;line-height:1.1;font-weight:700}
.mg-sub{font-size:15px;color:var(--sub);padding-top:4px}
.mg-tools{display:flex;gap:8px;align-items:center;flex-shrink:0}
.mg-w{display:inline-flex;align-items:center;height:44px;padding:0 16px;border:0;border-radius:22px;background:#fff;font-size:15px;font-weight:600;color:var(--text);text-decoration:none;white-space:nowrap}
.mg-w.blue{background:var(--accent);color:#fff}
.mg-q{height:44px;width:100%;border:0;border-radius:14px;padding:0 14px;font-size:15px;background:#fff}
.mg-tabs{display:flex;gap:8px;padding:10px 16px 12px;overflow-x:auto;scrollbar-width:none}.mg-tabs::-webkit-scrollbar{display:none}
.mg-tabs button{height:44px;padding:0 16px;border:0;border-radius:22px;background:#fff;font-size:14px;font-weight:600;white-space:nowrap;flex-shrink:0}
.mg-tabs button[aria-pressed=true]{background:#111114;color:#fff}
.mg-cards{display:flex;flex-direction:column;gap:10px;padding:0 16px}
.mg-card{display:flex;flex-direction:column;gap:6px;padding:12px 16px;background:#fff;border-radius:20px;cursor:pointer}
.mg-h{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:17px}.mg-h b{font-weight:600}
.mg-sum{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.mg-m{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:var(--sub)}
.mg-s{font-size:13px;color:var(--sub)}.mg-s:empty{display:none}
.mg-pill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;font-size:13px;font-weight:600;white-space:nowrap}
.mg-act{display:grid;grid-template-columns:1fr 2fr;gap:8px;padding-top:4px}
.mg-b{height:44px;border:0;border-radius:22px;background:var(--bg);font-size:15px;font-weight:600}
.mg-b.red{color:var(--err)}.mg-b.amber{color:#8A5300}.mg-b.blue,.mg-tb.blue{background:var(--accent);color:#fff}
.mg-note{padding:12px 24px 0;font-size:13px;line-height:1.4;color:var(--sub)}
.mg-table{background:#fff;border-radius:20px;overflow-x:auto}
.mg-table table{width:100%;border-collapse:collapse;font-size:15px}
.mg-table th{padding:10px 12px;text-align:left;font-size:13px;font-weight:600;color:var(--sub);white-space:nowrap}
.mg-table td{padding:8px 12px;border-top:1px solid var(--line);height:48px;white-space:nowrap}
.mg-table td:nth-child(3):not(.sub):not(.r){white-space:normal}
.mg-table .r{text-align:right;font-variant-numeric:tabular-nums}.mg-table .sub{color:var(--sub)}
.mg-table tr[data-open]{cursor:pointer}.mg-table tr[data-open]:hover td{background:#F7F7FA}
.mg-tb{height:36px;padding:0 12px;border:0;border-radius:18px;background:var(--bg);font-size:14px;font-weight:600;white-space:nowrap}
.mg-order{max-width:520px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-bottom:120px}
.mg-ohead{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 0}
.mg-ohead .c{display:flex;flex-direction:column;align-items:center;font-size:16px}.mg-ohead .c span{font-size:12px;color:var(--sub)}
.mg-back{width:44px;height:44px;border-radius:22px;display:flex;align-items:center;justify-content:center}
.mg-client{padding:6px 20px 0;font-size:16px;color:var(--sub)}.mg-client h1{margin:0 0 4px;font-size:34px;line-height:1.1;color:var(--text);overflow-wrap:anywhere}.mg-client a{color:var(--sub);text-decoration:none}
.mg-cols,.mg-c{display:flex;flex-direction:column;gap:14px}
.mg-pos{display:flex;gap:14px;margin:0 16px;padding:14px 16px 6px;background:#fff;border-radius:20px;flex-shrink:0}
.mg-pt{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.mg-pt .mg-s{font-size:14px}
.mg-ico{display:flex;flex-direction:column;gap:2px;align-items:center;width:42px;flex-shrink:0;padding-top:2px}.mg-ico i{display:block;border:3px solid #111114;border-radius:3px;background:#A9B0BA}
.mg-pa{display:flex;gap:18px;min-height:40px;align-items:center}.mg-pa button,.mg-pa a{border:0;background:transparent;padding:0;font-size:15px;color:var(--accent);text-decoration:none}
.mg-blk{display:flex;flex-direction:column;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}
.mg-comment{margin:0 16px;padding:12px 16px;border-radius:16px;background:#FFF6D6;font-size:15px;line-height:1.35}.mg-comment span{display:block;font-size:12px;color:var(--sub);padding-bottom:2px}
.mg-chk{width:24px;height:24px;accent-color:var(--accent);flex-shrink:0}
.mg-extra{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}.mg-extra button{min-height:44px;border:0;background:transparent;font-size:15px;font-weight:600}
.mg-wide{margin:0 16px}
.mg-bar{max-width:496px}
.mg-crumb{border:0;background:transparent;padding:0 0 4px;font-size:14px;color:var(--sub);text-align:left}
.mg-specbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px 16px 16px}
.mg-specfoot{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;padding:16px}
@media(max-width:1099px){.mg-top{flex-wrap:wrap}.mg-top h1{font-size:30px}}
@media(min-width:1100px){
.mg-page{max-width:1400px;padding:12px 32px 40px}.mg-top{padding:18px 0 14px;align-items:center}.mg-tabs{padding:6px 0 18px}.mg-note{padding:14px 0 0}
.mg-q{width:300px}.mg-page>div[style*="padding:0 16px"]{padding:0!important}.mg-specbar{padding:4px 0 16px}.mg-specfoot{padding:16px 0}
.mg-order{max-width:1040px;padding:12px 32px 120px}.mg-cols{flex-direction:row;align-items:flex-start;gap:20px}.mg-c{flex:1 1 0;min-width:0}
}
.mg-table{width:100%}
.mg-total{align-items:center;justify-content:space-between;gap:12px;margin:0 16px;padding:12px 12px 12px 22px;border-radius:30px;background:#fff}
.mg-total .p{font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.mg-total .s{font-size:12px;color:var(--sub)}
.mg-specbar+div .mg-table table{min-width:720px}
@media(max-width:1099px){.mg-top{flex-direction:column-reverse;gap:2px;padding-top:10px}.mg-tools{align-self:flex-end;flex-wrap:wrap;justify-content:flex-end}.mg-tools .mg-w{height:36px;padding:0 12px;font-size:14px}}
