@font-face{font-family:Inter;src:url(media/inter-cyrillic.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url(media/inter-latin.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
*,*::before,*::after{box-sizing:border-box} [hidden]{display:none!important} a{color:inherit}
body{margin:0;background:#05080b;color:#f7f9fb;font:16px Inter,system-ui,sans-serif;min-height:100svh}
.workroom{background:radial-gradient(ellipse at 65% 44%,#152938 0%,#080e16 46%,#05080b 81%);transition:background-color .9s,color .85s}
.workroom::before{content:"";position:fixed;inset:0;z-index:-1;opacity:0;background:radial-gradient(ellipse at 76% 40%,#eaf2f8 5%,transparent 64%),radial-gradient(ellipse at 93% 90%,#eaf6f1 0%,transparent 37%),linear-gradient(142deg,#fff,#e9eef3);transition:opacity .95s ease}
.workroom{isolation:isolate}.workroom.ordered{color:#1f1d29}.workroom.ordered::before{opacity:1}
.work-header{max-width:1440px;margin:auto;padding:25px clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:3}
.work-brand{display:inline-flex;background:#f7f9fb;padding:8px 12px;border-radius:13px;transition:background .65s}.ordered .work-brand{background:#ffffff7d}.work-brand img{width:clamp(124px,13vw,178px);height:auto}
.back,.skip-transition{font-size:.86rem;font-weight:650;text-underline-offset:4px}
.work-main{max-width:1440px;min-height:calc(100svh - 100px);margin:auto;padding:20px clamp(20px,5vw,72px) 55px;display:grid;grid-template-columns:minmax(300px, .74fr) minmax(0,1.26fr);gap:clamp(8px,3vw,45px);align-items:center;position:relative}
.stage{grid-area:1/2;height:clamp(430px,74svh,690px);position:relative;isolation:isolate;min-width:0;overflow:hidden;border-radius:40px;mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 94%,transparent)}
.stage::before{content:"";position:absolute;inset:7% 0;border-radius:50%;background:radial-gradient(ellipse at center,#538db533 0%,transparent 68%);transition:opacity .9s}
[data-phase="ordered"] .stage::before{opacity:0}
.stage-label,.stage-caption{position:absolute;z-index:3;left:7%;letter-spacing:.15em;font-weight:700;font-size:clamp(.685rem, .85vw, .81rem);color:#dbe7f1}
.stage-label{top:10%;display:flex;align-items:center;gap:8px}.stage-label i,.tag i{width:8px;height:8px;border-radius:50%;background:#f0ca77;box-shadow:0 0 14px #edc87a82;display:inline-block;flex:none}
.stage-caption{bottom:8%}.stage-caption b{margin-inline:7px}.order-label{display:none}[data-phase="ordered"] .noise-label{display:none}[data-phase="ordered"] .order-label{display:inline}[data-phase="ordered"] :is(.stage-label,.stage-caption){color:#26587d}[data-phase="ordered"] .stage-label i{background:#28705a;box-shadow:none}
.route-drawing,.paper-field{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.route-drawing{z-index:0;opacity:.8}.routes path{fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round;transition:stroke .75s,opacity .75s;stroke:#94b6cc}
.routes path:nth-child(2n){stroke:#d7ad56}.routes path:nth-child(3n){stroke:#77bfa8}.routes path:nth-child(5n){stroke:#be7777}
[data-phase="ordered"] .routes path{stroke:url(#track)}[data-phase="ordered"] .routes path:first-child{stroke-width:2.6}
.route-points{opacity:0;transition:opacity .65s .2s;fill:#fff;stroke:#26587d;stroke-width:2px}[data-phase="ordered"] .route-points{opacity:1}
.packet{position:absolute;left:0;top:0;width:clamp(86px,11vw,150px);aspect-ratio:1.24;background:linear-gradient(145deg,#eaf2f8,#f7f9fb 72%);border:1px solid #ffffffc2;border-radius:clamp(9px,1.2vw,16px);box-shadow:0 15px 30px #0006,0 0 20px #7aaed646;display:flex;flex-direction:column;justify-content:center;padding:clamp(7px,1vw,13px);color:#26587d;will-change:transform;backface-visibility:hidden}
.packet[data-tone="0"]{background:linear-gradient(145deg,#fbf4df,#fffdf6);color:#8a6a20}.packet[data-tone="1"]{background:linear-gradient(145deg,#eaf6f1,#f7fffb);color:#28705a}.packet[data-tone="2"]{background:linear-gradient(145deg,#f3eeee,#fffafa);color:#7f1d1d}
.packet strong{font-size:clamp(.59rem,1.18vw,1.05rem);white-space:nowrap;letter-spacing:-.035em}.packet small{font-size:clamp(.5rem,.63vw,.69rem);font-weight:650;margin-top:3px;white-space:nowrap}.packet::after{content:"";width:54%;height:10px;margin-top:6px;background:repeating-linear-gradient(to bottom,currentColor 0 1px,transparent 1px 4px);opacity:.22}
[data-phase="ordered"] .packet{box-shadow:0 17px 34px -13px #26587d59,0 2px 5px #26587d19;will-change:auto}
.entry,.desk{grid-area:1/1;position:relative;z-index:2}
.glass{border:1px solid #ffffff29;box-shadow:0 28px 80px -40px #000c,inset 0 1px #ffffff19;border-radius:28px;background:linear-gradient(150deg,#ffffff12,#ffffff06);backdrop-filter:blur(16px)}
.entry{padding:clamp(22px,3.6vw,54px);animation:entry-in .62s .18s both}
@keyframes entry-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.tag{font-size:.72rem;font-weight:720;letter-spacing:.135em;display:flex;align-items:center;gap:8px;margin:0 0 16px}
h1{font-size:clamp(2.45rem,4.4vw,4.65rem);line-height:.98;letter-spacing:-.078em;margin:0;text-wrap:balance}
.entry>p:not(.tag),.desk-intro{color:#c5d5e2;line-height:1.57;margin:18px 0 21px}
.entry .note{font-size:.81rem;margin:13px 0 0!important}
.work-button{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:49px;padding:10px 16px;border-radius:12px;border:0;text-decoration:none;background:#26587d;color:#fff;font:700 .93rem Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 12px 26px -11px #26587dcd;transition:background .2s,box-shadow .25s}
.work-button:hover{background:#1d4666;box-shadow:0 13px 27px -9px #26587d}
:is(a,button):focus-visible{outline:2px solid #cb9e49;outline-offset:4px}
.desk{animation:entry-in .56s both}.desk h1:focus{outline:none}.desk .tag{color:#26587d}.desk .tag i{background:#28705a;box-shadow:none}
.desk-intro{color:#57536b;max-width:440px}
.desk .glass{border-color:#fff;background:linear-gradient(140deg,#ffffffed,#f7f9fba8);box-shadow:0 21px 36px -26px #26587d93,inset 0 1px #fff}
.desk-next{padding:clamp(16px,2.6vw,29px);margin-top:20px}.desk-next small{color:#26587d;letter-spacing:.1em;font-weight:720;font-size:.69rem}.desk-next h2{margin:7px 0;font-size:clamp(1.28rem,2vw,1.72rem);letter-spacing:-.045em}.desk-next p{margin:0 0 14px;line-height:1.45;color:#57536b}
.desk-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.desk-links a{border-radius:12px;min-height:43px;padding:11px 13px;font-weight:650;color:#26587d;text-decoration:none;font-size:.86rem}
.noscript{padding:20px}
@media(max-width:740px){.work-header{padding-block:16px}.work-main{grid-template-columns:minmax(0,1fr);gap:0;padding-top:0;min-height:0;align-content:start}.stage{grid-area:2/1;height:clamp(275px,43svh,470px);margin-top:8px;border-radius:22px}.entry,.desk{grid-area:1/1}.entry{padding:22px}.entry>p:not(.tag),.desk-intro{margin:13px 0 15px}.stage-label{top:10%}.stage-caption{bottom:7%}.packet{width:clamp(76px,21vw,118px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
[data-phase="chaos"] .desk{animation-delay:.16s}.ordered .stage::before{opacity:0}
.ordered .entry{border-color:#fff;background:linear-gradient(140deg,#ffffffed,#f7f9fba8);box-shadow:0 21px 36px -26px #26587d93,inset 0 1px #fff}.ordered .entry>p:not(.tag){color:#57536b}

.screen-fx{animation:stage-signal .78s cubic-bezier(.2,.65,.25,1) both}


/* The animated layer belongs to the whole room; only its final composition docks here. */
.workroom{position:relative}
.work-header,.work-main{max-width:1720px}
.work-main{grid-template-columns:minmax(310px,.79fr) minmax(0,1.30fr);gap:clamp(20px,2.8vw,50px);padding-block:10px 34px}
.stage{width:min(100%, calc(100svh - 112px), 910px);height:auto;aspect-ratio:1;justify-self:end;overflow:visible;mask-image:none;visibility:visible;isolation:auto;border-radius:clamp(20px,3vw,44px)}
.stage::before{inset:0;border-radius:inherit;background:radial-gradient(ellipse at 56% 47%,#78b3e326,transparent 74%);border:1px solid #d4e7fc19;box-shadow:inset 0 1px #9ccee61f,0 0 60px -35px #65aaff61;transition:opacity .9s,background .9s;z-index:0}
.ordered .stage::before,[data-phase="ordered"] .stage::before{opacity:1;background:radial-gradient(ellipse at 61% 41%,#ffffffba,#eaf2f820 76%);border-color:#ffffff9c;box-shadow:inset 0 1px #fff,0 22px 66px -48px #26587d7a}
.screen-fx{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}
.screen-fx::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 70% 38%,#5396bd23,transparent 65%),radial-gradient(ellipse at 12% 79%,#28705a29,transparent 45%);opacity:1;transition:opacity .95s}
.ordered .screen-fx::before{opacity:0}
.screen-fx .routes path{stroke-width:2.1;filter:drop-shadow(0 0 5px #72b8e37d)}
.screen-fx .routes path:first-child{stroke-width:2.8}
.ordered .screen-fx .routes path{stroke:url(#track);filter:none}
.ordered .screen-fx .route-points{opacity:1}
.screen-fx .packet{width:clamp(76px,calc(var(--square,600px) * .26),230px);aspect-ratio:1.18}
.screen-fx .packet strong{font-size:clamp(.61rem,calc(var(--square,600px) * .027),1.22rem)}
.screen-fx .packet small{font-size:clamp(.50rem,calc(var(--square,600px) * .016),.83rem)}
.ordered .screen-fx .packet{box-shadow:0 26px 36px -16px #26587d68,0 2px 5px #26587d30}
.entry{background:linear-gradient(150deg,#192633ec,#090f17dd);backdrop-filter:blur(20px)}
.entry h1{font-size:clamp(2.45rem,4.15vw,4.6rem);text-wrap:pretty}
@media(max-width:740px){
  .work-main{grid-template-columns:minmax(0,1fr);gap:0;padding-top:0}
  .stage{grid-area:2/1;width:min(100%,490px);justify-self:center;margin-top:14px}
  .entry h1{font-size:clamp(2.35rem,8vw,3.8rem)}
  .screen-fx .routes path{stroke-width:1.65}
}
@media(max-height:570px) and (min-width:741px){.stage{width:min(100%,440px)}}
@keyframes stage-signal{from{opacity:0}to{opacity:1}}
.ordered .entry{background:linear-gradient(140deg,#ffffffed,#f7f9fba8)}

[data-phase="chaos"] :is(.stage-label,.stage-caption){padding:6px 9px;border-radius:10px;background:#080e16b3;color:#edf5fb;box-shadow:0 4px 15px #0002}

/* Pocket-sized training forms: distinct tables and data, not issuer templates. */
.screen-fx .packet.sheet{--form-ink:#26587d;--form-tint:#eaf2f8;display:block;width:clamp(78px,calc(var(--square,600px)*.233),206px);aspect-ratio:.76;container-type:inline-size;overflow:hidden;padding:clamp(5px,calc(var(--square,600px)*.012),10px);color:#1f1d29;border-radius:5px 7px 6px 4px;background:linear-gradient(154deg,#fff,#f7f9fb 86%);border:1px solid #e1e9f0;box-shadow:0 16px 30px #0006,0 2px 9px #91abc128}
.screen-fx .sheet[data-form="cmr"]{--form-ink:#7f1d1d;--form-tint:#f3eeee}
.screen-fx .sheet:is([data-form="packing"],[data-form="delivery"],[data-form="receipt"]){--form-ink:#28705a;--form-tint:#eaf6f1}
.screen-fx .sheet:is([data-form="invoice"],[data-form="booking"]){--form-ink:#8a6a20;--form-tint:#fbf4df}
.screen-fx .packet.sheet::after{display:none}
.form-head,.form-fields,.form-cargo,.form-foot{position:relative;z-index:1}
.form-head{border-top:2px solid var(--form-ink);padding:4cqw 0 3cqw;margin-bottom:4cqw}
.form-head b,.form-head span{display:block;color:var(--form-ink)}
.form-head b{font-size:9cqw;font-weight:820;letter-spacing:-.035em;line-height:1.02}
.form-head span{font-size:4.25cqw;font-weight:700;line-height:1.2;letter-spacing:.055em;margin-top:2cqw}
.sheet[data-form="cmr"] .form-head b{font-size:19cqw}
.form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid color-mix(in srgb,var(--form-ink) 28%,#fff);gap:1px;background:color-mix(in srgb,var(--form-ink) 25%,#fff)}
.form-cell{padding:2.2cqw 2cqw;background:#ffffffeb;display:grid;gap:1.1cqw;min-height:13cqw}
.form-cell span,.form-cell b{font-size:4.75cqw;line-height:1.04;overflow-wrap:anywhere}
.form-cell span{color:var(--form-ink);font-weight:690}.form-cell b{color:#1f1d29;font-weight:570}
.form-cargo{margin-top:5cqw;background:var(--form-tint);border:1px solid color-mix(in srgb,var(--form-ink) 25%,#fff)}
.form-row{display:grid;grid-template-columns:1.4fr repeat(calc(var(--cols) - 1),minmax(0,1fr));border-bottom:1px solid #8b87a12b}
.form-row:last-child{border:0}
.form-row span{font-size:4.4cqw;line-height:1.12;overflow-wrap:anywhere;padding:2cqw 1cqw;border-right:1px solid #8b87a12b}.form-row span:last-child{border:0}
.form-row:first-child span{color:var(--form-ink);font-weight:740}.form-row:not(:first-child){background:#ffffffc5}
.form-foot{position:absolute;left:5%;right:5%;bottom:4%;border-top:1px solid #8b87a155;display:flex;justify-content:space-between;align-items:center;gap:2px;padding-top:3cqw;font-size:4.05cqw;color:#57536b;line-height:1.12}
.form-foot b{flex:none;color:var(--form-ink);font-weight:800}
.form-watermark{position:absolute;top:48%;left:50%;transform:translate(-50%,-50%) rotate(-28deg);font-size:31cqw;font-weight:900;color:var(--form-ink);opacity:.15;letter-spacing:-.06em}
.motion-toggle{display:inline-block;color:inherit;background:none;border:0;padding:7px 0 4px;margin-top:5px;font:650 .8rem Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;opacity:.88}
.motion-toggle:hover{opacity:1}
.screen-fx .routes .road-edge{stroke:#6488a2;stroke-width:12px;filter:none}
.screen-fx .routes .road-asphalt{stroke:#172c3f;stroke-width:10px;filter:none}
.screen-fx .routes .road-mark{stroke:#bacede;stroke-width:1.1px;stroke-dasharray:7 8;filter:none}
.screen-fx .routes g:nth-child(2n) .road-mark{stroke:#e1bd74}
.ordered .screen-fx .routes .road-edge{stroke:#a5bacb}
.ordered .screen-fx .routes .road-asphalt{stroke:#4d718d}
.ordered .screen-fx .routes .road-mark{stroke:#f7f9fb}
@media(max-width:740px){
  .screen-fx .routes .road-edge{stroke-width:7px}
  .screen-fx .routes .road-asphalt{stroke-width:5px}
  .screen-fx .routes .road-mark{stroke-width:.8px;stroke-dasharray:4 6}
}
.ordered .screen-fx .sheet[data-layer="1"]{box-shadow:-3px 4px 0 -1px #e4ebf1,0 17px 24px -13px #10263876}

.stack-hover-target{position:absolute;z-index:1;pointer-events:none;visibility:hidden}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .workroom:has(#work[data-phase="ordered"]) .stack-hover-target{pointer-events:auto;visibility:visible}
  .workroom:has(#work[data-phase="ordered"]) .sheet{transition:translate .26s cubic-bezier(.22,.61,.36,1),box-shadow .26s ease}
  .ordered .screen-fx .sheet[data-layer="2"].stack-hovered{translate:0 -6px;box-shadow:0 27px 35px -17px #26587d70,0 5px 14px -8px #26587d46}
  .ordered .screen-fx .sheet[data-layer="1"].stack-hovered{translate:0 -3px;box-shadow:-3px 4px 0 -1px #e4ebf1,0 21px 27px -14px #10263869}
}

/* A turned-up corner and shallow paper crease only while the sheets are in flight. */
.paper-curl{
  position:absolute;z-index:3;top:0;right:0;
  width:var(--curl-size,10%);aspect-ratio:.96;pointer-events:none;
  opacity:var(--curl,0);
  clip-path:polygon(100% 0,100% 100%,0 0);
  background:linear-gradient(46deg,#203b5144 38%,#7594ae66 44%,#fbfdff 55%,#dfebf3 74%,#a7c1d5 100%);
}
.paper-curl::before{content:"";position:absolute;inset:0;border-radius:0 0 0 65%;border-bottom:1px solid #fff9;box-shadow:inset 3px -3px 6px #263e5533}
.sheet[data-curl="left"] .paper-curl{left:0;right:auto;transform:scaleX(-1)}
.sheet[data-curl="right"][data-form="bol"] .paper-curl{top:auto;bottom:0;transform:scaleY(-1)}

.work-footer{position:relative;z-index:3;grid-column:1/-1;align-self:end;padding:8px 0 0}
