:root{--bg:#d9d7c1;--card:#cccab2;--ink:#090a08;--muted:#6e7165;--orange:#ff7500;--gate-bg:#dfdfcd;--splash-bg:#1f1f1f;--surface-bg:var(--bg)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}button,input{font:inherit}button{color:inherit}body{display:grid;place-items:center;min-height:100dvh;overflow:hidden;background:#161714;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.phone-shell{position:relative;width:min(100vw,430px);height:min(100dvh,932px);overflow:hidden;background:var(--bg)}
.splash-screen{position:absolute;z-index:50;inset:0;background:var(--splash-bg);opacity:1;visibility:visible;transition:opacity .32s ease,visibility .32s}.splash-screen.done{opacity:0;visibility:hidden;pointer-events:none}.splash-screen img{display:block;width:100%;height:100%;object-fit:cover}
.code-gate{position:absolute;z-index:30;inset:0;display:flex;flex-direction:column;align-items:center;padding:clamp(145px,25vh,230px) 24px 38px;/* Прежний фон ввода кода: background:#dfdfcd; */background:#d9d7c1;transition:opacity .32s ease,visibility .32s}.code-gate.done{opacity:0;visibility:hidden;pointer-events:none}.code-gate h1{margin:0;font-size:21px;letter-spacing:-.035em;font-weight:500}.code-dots{display:flex;gap:20px;margin:39px 0 63px}.code-dots i{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000000d;transition:background .12s,transform .12s}.code-dots i.filled{background:#090a08;transform:scale(1.08)}.keypad{display:grid;grid-template-columns:repeat(3,64px);gap:16px}.keypad button{width:64px;height:64px;border:0;border-radius:50%;background:#fff;font-size:23px;font-weight:500;cursor:pointer;box-shadow:0 2px 8px #14190f0a;transition:transform .1s,background .1s}.keypad button:active{transform:scale(.92);background:#e0e1d3}.keypad span{width:64px;height:64px}.keypad .delete-key{display:grid;place-items:center;background:transparent;box-shadow:none;font-size:0}.keypad .delete-key img{display:block;width:29px;height:21px;object-fit:cover}.forgot-code{margin-top:auto;border:0;background:transparent;font-size:12px;font-weight:600;cursor:pointer}
.forgot-screen{position:absolute;z-index:40;inset:0;display:flex;visibility:hidden;opacity:0;flex-direction:column;padding:0 16px 26px;background:var(--gate-bg);transition:opacity .25s ease,visibility .25s}.forgot-screen.active{visibility:visible;opacity:1}.forgot-message{display:flex;flex-direction:column;align-items:center;padding-top:clamp(160px,25vh,230px);text-align:center}.forgot-message img{display:block;width:116px;height:116px}.forgot-message h1{margin:31px 0 0;font-size:21px;line-height:1.1;letter-spacing:-.04em;font-weight:500}.forgot-message p{margin:17px 0 0;font-size:12px;line-height:1.15;font-weight:500}.forgot-actions{display:flex;flex-direction:column;gap:12px;margin-top:auto}.forgot-actions button{width:100%;height:45px;border-radius:24px;font-size:13px;font-weight:500;cursor:pointer}.reauth-button{border:0;background:#ff7900}.cancel-button{border:2px solid #111;background:transparent}
.loading-screen{position:absolute;z-index:25;inset:0;display:grid;place-items:center;background:var(--bg);opacity:0;visibility:hidden;transition:opacity .32s ease}.loading-screen.active{opacity:1;visibility:visible}.loading-box{display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#616156}.loading-box i{width:22px;height:22px;border:2px solid #ffffff45;border-top-color:#fff;border-radius:50%;animation:loading-spin .82s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}
.app{height:100%;opacity:0;transform:scale(.985);transition:opacity .32s ease,transform .32s ease}.app.ready{opacity:1;transform:none}.content{height:100%;overflow:hidden}.screen{display:none;height:100%;overflow-y:auto;padding:24px 16px 112px;scrollbar-width:none}.screen::-webkit-scrollbar{display:none}.screen.active{display:block;animation:enter .24s ease}@keyframes enter{from{opacity:0;transform:translateY(5px)}}.screen h1{margin:0 0 26px;font-size:30px;line-height:.98;letter-spacing:-.045em;font-weight:600}.screen-top.compact{height:33px;display:flex;justify-content:flex-end;margin-bottom:19px}.notice-chip,.round-search{border:0;background:#fff;box-shadow:0 2px 8px #14190f12}.notice-chip{display:flex;align-items:center;gap:5px;border-radius:18px;padding:7px 12px;font-size:12px;font-weight:600}.notice-chip svg{width:12px;height:12px;fill:currentColor}
.reserve-card{position:relative;width:100%;height:calc(100% - 52px);min-height:540px;padding:0;border:0;outline:0;border-radius:5px;background:transparent;perspective:1200px;text-align:left;cursor:pointer}.card-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.72,.2,1)}.reserve-card.flipped .card-inner{transform:rotateY(180deg)}.card-face{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #14140a2e;border-radius:5px;backface-visibility:hidden}.card-front{background:var(--card)}.card-back{transform:rotateY(180deg);background:#fff;align-items:center;justify-content:center;padding:36px 26px}.card-back>strong,.qr-image{transition:opacity .22s ease}.qr-card-loader{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:#616156;opacity:0;transform:translate(-50%,-50%) scale(.9);transition:opacity .2s ease,transform .2s ease}.qr-card-loader i{width:22px;height:22px;border:2px solid #ffffff45;border-top-color:#fff;border-radius:50%;animation:loading-spin .82s linear infinite}.reserve-card.qr-loading .qr-card-loader{opacity:1;transform:translate(-50%,-50%) scale(1)}.reserve-card.qr-loading .card-back>strong,.reserve-card.qr-loading .qr-image{opacity:0}.card-back>strong{margin-bottom:25px;font-size:15px;text-align:center}.qr{display:none}.qr-image{display:block;width:min(100%,310px);height:auto;image-rendering:auto}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 18px 0}.card-heading strong{font-size:21px;font-weight:500;letter-spacing:-.03em}.trident{display:block;width:24px;height:30px}.trident img{display:block;width:100%;height:100%;object-fit:contain}.field{display:flex;flex-direction:column;gap:4px;padding:22px 18px}.field small,.identity small{color:#6f7268;font-size:12px;font-weight:500}.field b{font-size:13px;font-weight:500}.ticker{margin-top:auto;overflow:hidden;white-space:nowrap;padding:5px 0;background:#9fa28f;border-block:1px solid #00000014}.ticker>span{display:inline-block;font-size:11px;font-weight:600;animation:ticker 14s linear infinite}@keyframes ticker{to{transform:translateX(-50%)}}.identity{position:relative;min-height:145px;padding:18px;display:flex;flex-direction:column}.identity strong{margin-top:8px;font-size:21px;line-height:1.05;letter-spacing:-.02em;font-weight:500}.reserve-card>.document-plus{position:absolute;z-index:3;right:17px;bottom:17px;padding:0;border:0;cursor:pointer;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ff8200;color:#26281d}.document-plus svg{display:block;width:50%;height:50%}
.plain-list{margin-top:8px}.plain-list button{width:100%;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:0;border:0;border-bottom:1px solid #0000001a;background:transparent;font-size:15px;font-weight:500;text-align:left;cursor:pointer}.plain-list span{font-size:28px;font-weight:300}.vacancy-title-row{display:flex;justify-content:space-between;align-items:flex-start}.vacancy-title-row h1{margin-bottom:18px;font-size:28px}.round-search{width:38px;height:38px;border-radius:50%;font-size:25px;line-height:1}.tabs{display:flex;gap:22px;overflow-x:auto;border-bottom:1px solid #c7cab8;scrollbar-width:none}.tab{flex:0 0 auto;padding:0 0 10px;border:0;border-bottom:2px solid transparent;background:none;color:#6f7268;font-size:12px;cursor:pointer}.tab.active{border-bottom-color:var(--orange);color:var(--ink);font-weight:600}.tab-panel{display:none}.tab-panel.active{display:block}.recruit-card{margin-top:12px;padding:22px 20px 18px;min-height:520px;display:flex;flex-direction:column;align-items:center;border-radius:5px;background:#fff}.recruit-card h2{margin:0 0 26px;font-size:21px;font-weight:500}.badge-grid{width:250px}.badge-grid img{display:block;width:100%;height:auto}.job-list i{display:grid;place-items:center;color:#fff;background:#273c59;font-weight:700}.orange-btn{width:100%;margin-top:auto;padding:16px;border:0;border-radius:25px;background:var(--orange);font-size:14px;font-weight:600;cursor:pointer}.empty-state{margin-top:12px;padding:24px;display:flex;flex-direction:column;gap:8px;border-radius:5px;background:#fff}.empty-state span{color:var(--muted);font-size:14px;line-height:1.5}
.back-title{display:flex;align-items:center;gap:10px}.back-title button{width:34px;height:34px;border:0;border-radius:50%;background:#fff;font-size:32px;line-height:28px;cursor:pointer}.back-title h1{margin-bottom:0;font-size:28px}.contracts-screen>p{margin:16px 0 18px;font-size:13px;line-height:1.4}.accordion-list{display:flex;flex-direction:column;gap:9px}.accordion-list button{width:100%;min-height:68px;display:flex;align-items:center;gap:12px;padding:11px 15px;border:0;border-radius:10px;background:#fff;text-align:left;font-size:15px;font-weight:600}.accordion-list i{display:block;width:22px;height:27px;font-style:normal}.accordion-list i img{display:block;width:100%;height:100%;object-fit:contain}.accordion-list span{flex:1}.accordion-list b{font-size:20px}.list-heading{display:flex;justify-content:space-between;margin:20px 0 10px;font-size:13px}.job-list{display:flex;flex-direction:column;gap:8px}.job-list label{display:flex;align-items:flex-start;gap:10px;padding:11px;border-radius:10px;background:#fff}.job-list input{appearance:none;width:17px;height:17px;margin:3px 0 0;border:1.5px solid #111;border-radius:3px}.job-list input:checked{background:#111;box-shadow:inset 0 0 0 3px #fff}.job-list i{flex:0 0 30px;height:34px;clip-path:polygon(10% 0,90% 0,100% 76%,50% 100%,0 76%);font-size:10px;font-style:normal}.job-list label>span{display:flex;flex-direction:column;gap:4px}.job-list b{font-size:12px}.job-list small{color:var(--muted);font-size:10px}.respond-btn{position:sticky;bottom:0;width:100%;margin-top:12px;padding:15px;border:0;border-radius:25px;background:#c3c5b2;color:#77796f;font-size:13px}.respond-btn.enabled{background:var(--orange);color:#111}.app.subpage .bottom-nav{display:none}.app.subpage .screen{padding-bottom:31px}
.version{margin:-22px 0 24px;color:var(--muted);font-size:11px}.menu-card{margin-bottom:12px;overflow:hidden;border-radius:10px;background:#fff}.menu-card button{width:100%;min-height:56px;display:flex;align-items:center;gap:13px;padding:0 16px;border:0;border-bottom:1px solid #e5e5df;background:transparent;font-size:14px;font-weight:500;text-align:left;cursor:pointer}.menu-card button:last-child{border-bottom:0}.menu-card i{width:19px;font-style:normal;font-size:17px}.menu-card span{margin-left:auto;font-size:24px}.logout{display:block;margin:18px auto 14px;padding:11px 29px;border:0;border-radius:22px;background:#1b1c1a;color:#fff;font-size:13px}.privacy{display:block;color:#262723;font-size:10px;text-align:center;text-decoration:underline}
.bottom-nav{position:absolute;z-index:20;left:16px;right:16px;bottom:max(14px,env(safe-area-inset-bottom));height:66px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:5px;border-radius:34px;background:#fffffff0;box-shadow:0 5px 24px #3034261f;backdrop-filter:blur(12px)}.nav-item{position:relative;z-index:0;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;outline:0;border-radius:28px;background:transparent;color:#1b1c19;font-size:9px;cursor:pointer}.nav-item:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#e9ebdf;opacity:0;transform:scale(.85);transition:.2s}.nav-item.active:before{opacity:1;transform:scale(1)}.nav-item i{display:block;width:18px;height:18px;position:relative}.doc-icon{border:1.8px solid currentColor;border-radius:2px}.doc-icon:after{content:"";position:absolute;left:2px;right:2px;bottom:3px;height:1.5px;background:currentColor;box-shadow:0 -4px currentColor}.grid-icon{background:linear-gradient(currentColor 0 0) 0 0/7px 7px no-repeat,linear-gradient(currentColor 0 0) 100% 0/7px 7px no-repeat,linear-gradient(currentColor 0 0) 0 100%/7px 7px no-repeat,linear-gradient(currentColor 0 0) 100% 100%/7px 7px no-repeat}.diamond-icon{width:14px!important;height:14px!important;margin:2px;border:2px solid currentColor;transform:rotate(45deg)}.diamond-icon:after{content:"";position:absolute;inset:3px;border:1px solid currentColor}.lines-icon:before{content:"";position:absolute;left:0;top:2px;width:18px;height:2px;background:currentColor;box-shadow:0 6px currentColor,0 12px currentColor}.toast{position:absolute;z-index:80;left:50%;bottom:96px;transform:translate(-50%,10px);padding:10px 15px;border-radius:18px;background:#171815;color:#fff;font-size:12px;opacity:0;transition:.2s;pointer-events:none;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-height:720px){.code-gate{padding-top:156px}.keypad{grid-template-columns:repeat(3,54px);gap:10px 16px}.keypad button,.keypad span{width:54px;height:54px}.forgot-screen{padding-bottom:26px}.forgot-message{padding-top:160px}.forgot-message img{width:116px;height:116px}.forgot-message h1{margin-top:31px;font-size:21px}.forgot-message p{font-size:12px}.forgot-actions button{height:45px;font-size:13px}.screen{padding-top:58px;padding-bottom:70px}.contracts-screen{padding-top:42px}.bottom-nav{left:14px;right:12px;bottom:9px;height:45px;padding:3px}.nav-item{height:39px;gap:2px;font-size:7px}.nav-item i{transform:scale(.82)}.nav-item .diamond-icon{transform:rotate(45deg) scale(.82)}.reserve-card{min-height:0}.recruit-card{min-height:0}}@media(max-width:340px) and (max-height:720px){.screen-top.compact{height:23px;margin-bottom:74px}.notice-chip{padding:5px 8px;font-size:9px}.notice-chip svg{width:9px;height:9px}.reserve-card{height:356px}.card-back{padding:20px 16px}.card-back>strong{margin-bottom:16px;font-size:9px;white-space:nowrap}.qr-image{width:222px}.card-heading{padding:17px 10px 0}.card-heading strong{font-size:16px}.trident{width:20px;height:25px}.field{gap:3px;padding:15px 10px}.field small,.identity small{font-size:10px}.field b{font-size:11px}.ticker{padding:3px 0}.ticker>span{font-size:8px}.identity{min-height:99px;padding:14px 10px}.identity strong{margin-top:7px;font-size:15px;line-height:1.02}.reserve-card>.document-plus{right:11px;bottom:11px;width:28px;height:28px}.screen h1{font-size:21px;line-height:1}.vacancy-title-row h1{font-size:20px}.round-search{width:34px;height:34px}.tabs{gap:18px}.tab{font-size:10px}.recruit-card{height:402px;padding:18px 16px 14px}.recruit-card h2{font-size:15px}.badge-grid{width:190px}.orange-btn{padding:12px;font-size:11px}.back-title{flex-direction:column;align-items:flex-start;gap:7px}.back-title h1{font-size:21px}.contracts-screen>p{margin:7px 0 14px;font-size:10px}.accordion-list{gap:7px}.accordion-list button{min-height:66px;padding:9px 12px;font-size:13px}.accordion-list button:nth-child(n+3){min-height:48px}.list-heading{margin:16px 0 10px;font-size:11px}.version{margin-top:-22px;margin-bottom:8px}.menu-card{margin-bottom:6px}.menu-card button{min-height:42px;font-size:11px}.logout{margin:16px auto 10px;padding:9px 25px;font-size:10px}.privacy{font-size:8px}}@media(min-width:431px){.phone-shell{border-radius:38px;box-shadow:0 24px 80px #00000073}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Suppress Android's tap overlay; keep focus feedback for keyboard navigation. */
*{-webkit-tap-highlight-color:transparent}
button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}
.keypad button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* Independent card actions keep the plus from triggering the QR flip. */
.card-flip{position:absolute;z-index:2;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer}
.reserve-card.flipped>.document-plus{visibility:hidden;pointer-events:none}
.card-flip:focus-visible,.document-plus:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.document-dialog{position:fixed;inset:0;width:min(100vw,430px);height:min(100dvh,932px);max-width:none;max-height:none;margin:auto;padding:0;border:0;background:#000b;color:var(--ink);overflow:hidden}
.document-dialog::backdrop{background:transparent}
.document-dialog[open]{display:flex;align-items:flex-end;justify-content:center}
.document-sheet{width:calc(100% - 16px);max-height:calc(100% - 40px);margin:0 8px max(32px,env(safe-area-inset-bottom));padding:0 16px 17px;border-radius:17px;background:#fafdfc;overflow:auto;animation:sheet-enter .22s ease-out}
.sheet-handle{display:flex;align-items:center;justify-content:center;width:100%;height:39px;padding:0;border:0;background:transparent;cursor:pointer}
.sheet-handle span{width:40px;height:4px;border-radius:3px;background:#090a08}
.document-actions button{display:flex;align-items:center;gap:18px;width:100%;min-height:56px;padding:12px 9px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:16px;font-weight:500;cursor:pointer}
.document-actions button:active{background:#e9ebdf}
.document-actions svg{flex:0 0 22px;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.document-error{padding:8px 8px 3px;text-align:center}
.document-error[hidden],.document-actions[hidden]{display:none}
.document-error-icon{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.document-error h2{margin:18px 0 12px;font-size:21px;line-height:1.2;letter-spacing:-.035em;font-weight:500}
.document-error p{margin:0 0 24px;font-size:14px;line-height:1.4}
.document-error button{width:100%;min-height:45px;padding:12px 18px;border:0;border-radius:25px;background:var(--orange);font-size:14px;font-weight:500;cursor:pointer}
@keyframes sheet-enter{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:340px){.document-sheet{padding:0 12px 13px;margin-bottom:max(23px,env(safe-area-inset-bottom));border-radius:13px}.sheet-handle{height:30px}.sheet-handle span{width:30px;height:3px}.document-actions button{min-height:44px;gap:13px;padding:10px 6px;font-size:12px}.document-actions svg{flex-basis:18px;width:18px;height:18px}.document-error h2{font-size:18px}.document-error p{font-size:12px}}
@media(min-width:431px){.document-dialog{border-radius:38px}}

/* Use the fixed app theme for page edges and safe areas. */
html{background:var(--surface-bg)}
@media(max-width:430px),(display-mode:standalone){body{background:var(--surface-bg)}}
