*{box-sizing:border-box}html,body{color:#08122f;background:radial-gradient(circle at 0 0,#ffffffb8,#0000 32%),linear-gradient(#eef3fb 0%,#e7edf7 100%);margin:0;padding:0;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}body{min-height:100vh}a{color:inherit;text-decoration:none}img{max-width:100%}button,input,textarea,select{font:inherit}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}.page-shell{min-height:100vh;padding:24px}.container{width:100%;max-width:1560px;margin:0 auto}.hero{color:#fff;background:linear-gradient(135deg,#16286d 0%,#2f4fd0 100%);border-radius:30px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;padding:28px 30px;display:flex;box-shadow:0 20px 60px #182a7238,inset 0 1px #ffffff14}.brand{letter-spacing:4px;margin-bottom:12px;font-size:18px;font-weight:800}.hero h1{word-break:break-word;max-width:620px;margin:0 0 8px;font-size:44px;font-weight:900;line-height:1.02}.hero p{color:#ffffffe6;word-break:break-word;max-width:580px;margin:0;font-size:16px;line-height:1.45}.hero-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.btn{cursor:pointer;text-align:center;border:none;border-radius:18px;justify-content:center;align-items:center;min-height:52px;padding:14px 22px;font-weight:800;transition:transform .18s,box-shadow .18s,background .18s,color .18s,border-color .18s;display:inline-flex;box-shadow:0 8px 20px #0f172a0a}.btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px #0f172a14}.btn:disabled{opacity:.7;cursor:not-allowed;box-shadow:none;transform:none}.btn-primary{color:#08122f;background:#fff}.btn-outline{color:#fff;box-shadow:none;background:0 0;border:1px solid #ffffff47}.btn-danger{color:#d61f1f;background:#fff1f1;border:1px solid #f2c2c2}.btn-secondary{color:#16307f;background:#eef3ff;border:1px solid #d8e2ff}.grid-3{grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:24px;display:grid}.stat-card,.card,.form-card,.profile-photo-card,.profile-info-card{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f8fafcf0;border-radius:28px;min-width:0;padding:28px;box-shadow:0 18px 50px #0f172a0d,0 0 0 1px #0a163c0f}.stat-card{min-height:180px}.stat-title{color:#4d648c;margin-bottom:18px;font-size:18px}.stat-value{letter-spacing:-1.5px;word-break:break-word;font-size:72px;font-weight:900;line-height:1}.main-grid{grid-template-columns:1.7fr 1fr;align-items:start;gap:24px;display:grid}.section-title{letter-spacing:-.8px;word-break:break-word;margin:0 0 8px;font-size:44px;font-weight:900;line-height:1}.section-subtitle{color:#4d648c;word-break:break-word;margin:0 0 24px;font-size:18px;line-height:1.45}.worker-list{flex-direction:column;gap:20px;display:flex}.worker-card{background:#fbfdff;border:1px solid #d7e0ec;border-radius:24px;grid-template-columns:110px 1fr 200px;align-items:start;gap:20px;padding:24px;display:grid;box-shadow:0 10px 24px #0f172a08}.worker-photo{-o-object-fit:cover;object-fit:cover;background:#dbe5f3;border-radius:20px;width:110px;height:110px;display:block}.worker-photo-placeholder{color:#4d648c;background:#dbe5f3;border-radius:20px;justify-content:center;align-items:center;width:110px;height:110px;font-size:32px;font-weight:900;display:flex}.worker-name{letter-spacing:-.4px;word-break:break-word;margin:0 0 8px;font-size:30px;font-weight:900}.worker-role{color:#4d648c;word-break:break-word;margin:0 0 18px;font-size:18px;line-height:1.35}.worker-meta{grid-template-columns:repeat(2,minmax(160px,1fr));gap:16px 22px;display:grid}.meta-label{letter-spacing:2px;color:#62779a;text-transform:uppercase;margin-bottom:6px;font-size:13px;font-weight:800}.meta-value{word-break:break-word;font-size:16px;font-weight:800;line-height:1.4}.worker-actions{flex-direction:column;gap:12px;display:flex}.empty-box{background:#fbfdff;border:1px dashed #cbd6e5;border-radius:22px;padding:28px}.empty-box h3{word-break:break-word;margin:0 0 12px;font-size:28px}.empty-box p{color:#4d648c;word-break:break-word;margin:0;font-size:17px;line-height:1.5}.form-title{word-break:break-word;margin:0 0 8px;font-size:38px;font-weight:900}.form-subtitle{color:#4d648c;word-break:break-word;margin:0 0 20px;font-size:18px;line-height:1.45}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px 20px;display:grid}.form-grid-1{grid-template-columns:1fr;gap:18px;display:grid}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field label{letter-spacing:1.5px;color:#62779a;text-transform:uppercase;font-size:14px;font-weight:800}.field input,.field textarea,.field select{background:#fff;border:1px solid #d7e0ec;border-radius:18px;outline:none;width:100%;min-width:0;padding:15px 16px;transition:border-color .18s,box-shadow .18s,background .18s}.field input:focus,.field textarea:focus,.field select:focus{background:#fff;border-color:#8fa9f5;box-shadow:0 0 0 4px #2f4fd017}.field textarea{resize:vertical;min-height:120px;line-height:1.5}.form-actions{flex-wrap:wrap;gap:14px;margin-top:24px;display:flex}.photo-upload-box{background:#fbfdff;border:1px solid #d7e0ec;border-radius:22px;align-items:center;gap:18px;padding:18px;display:flex}.photo-preview{-o-object-fit:cover;object-fit:cover;background:#dbe5f3;border:1px solid #d7e0ec;border-radius:20px;flex-shrink:0;width:110px;height:110px}.photo-preview-placeholder{color:#4d648c;background:#dbe5f3;border:1px solid #d7e0ec;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:110px;height:110px;font-size:32px;font-weight:900;display:flex}.status{border-radius:999px;align-items:center;gap:10px;max-width:100%;padding:10px 16px;font-size:14px;font-weight:800;display:inline-flex;box-shadow:inset 0 0 0 1px #00000008}.status-valid{color:#167342;background:#e9f8ef}.status-soon{color:#9b5d00;background:#fff4df}.status-expired{color:#bb1f1f;background:#ffe8e8}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.topbar-title{letter-spacing:-.8px;word-break:break-word;margin:0;font-size:42px;font-weight:900}.topbar-subtitle{color:#4d648c;word-break:break-word;margin:8px 0 0;font-size:18px;line-height:1.45}.profile-grid{grid-template-columns:320px 1fr;align-items:start;gap:24px;display:grid}.profile-photo-large{aspect-ratio:1;-o-object-fit:cover;object-fit:cover;background:#dbe5f3;border-radius:24px;width:100%;display:block}.profile-photo-large-placeholder{aspect-ratio:1;color:#4d648c;background:#dbe5f3;border-radius:24px;justify-content:center;align-items:center;width:100%;font-size:76px;font-weight:900;display:flex}.profile-name{letter-spacing:-.9px;word-break:break-word;margin:0 0 10px;font-size:46px;font-weight:900;line-height:.98}.profile-role{color:#4d648c;word-break:break-word;margin:0 0 20px;font-size:22px;line-height:1.35}.profile-meta-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:18px 24px;margin-top:24px;display:grid}.notes-box{background:#fbfdff;border:1px solid #d7e0ec;border-radius:22px;margin-top:24px;padding:20px}.notes-title{letter-spacing:1px;color:#62779a;text-transform:uppercase;margin:0 0 10px;font-size:16px;font-weight:900}.notes-text{word-break:break-word;margin:0;font-size:17px;line-height:1.55}.back-link{color:#2f4fd0;margin-bottom:18px;font-weight:800;display:inline-flex}.pdf-stage{pointer-events:none;width:794px;position:fixed;top:0;left:-99999px}.pdf-card{color:#08122f;background:#fff;width:794px;min-height:1123px;padding:36px}.pdf-header{color:#fff;background:linear-gradient(135deg,#16286d 0%,#2f4fd0 100%);border-radius:24px;margin-bottom:26px;padding:28px}.pdf-brand{letter-spacing:4px;margin-bottom:12px;font-size:16px;font-weight:900}.pdf-title{margin-bottom:8px;font-size:42px;font-weight:900;line-height:1}.pdf-subtitle{opacity:.92;font-size:18px}.pdf-main{grid-template-columns:220px 1fr;align-items:start;gap:24px;display:grid}.pdf-photo-wrap{background:#f4f7fb;border:1px solid #d7e0ec;border-radius:24px;padding:16px}.pdf-photo{aspect-ratio:1;-o-object-fit:cover;object-fit:cover;background:#dbe5f3;border-radius:18px;width:100%;display:block}.pdf-photo-placeholder{aspect-ratio:1;color:#4d648c;background:#dbe5f3;border-radius:18px;justify-content:center;align-items:center;width:100%;font-size:64px;font-weight:900;display:flex}.pdf-name{letter-spacing:-.8px;margin:0 0 10px;font-size:40px;font-weight:900;line-height:1}.pdf-role-line{color:#4d648c;margin:0 0 18px;font-size:20px}.pdf-badges{flex-wrap:wrap;gap:10px;margin-bottom:22px;display:flex}.pdf-badge{color:#16307f;background:#eef3ff;border:1px solid #d8e2ff;border-radius:999px;align-items:center;padding:10px 14px;font-size:14px;font-weight:800;display:inline-flex}.pdf-info-grid{grid-template-columns:repeat(2,minmax(180px,1fr));gap:14px;display:grid}.pdf-info-box{background:#f8fafc;border:1px solid #d7e0ec;border-radius:18px;padding:16px}.pdf-label{letter-spacing:1.8px;color:#62779a;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:900}.pdf-value{word-break:break-word;font-size:18px;font-weight:800;line-height:1.4}.pdf-notes{background:#f8fafc;border:1px solid #d7e0ec;border-radius:18px;margin-top:18px;padding:16px}.pdf-notes-text{font-size:16px;line-height:1.5}.pdf-footer{color:#62779a;border-top:1px solid #d7e0ec;margin-top:26px;padding-top:16px;font-size:14px;font-weight:700}.auth-layout{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);align-items:stretch;gap:24px;min-height:calc(100vh - 48px);display:grid}.auth-hero{flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:620px;margin-bottom:0;padding:36px}.auth-hero-title{max-width:700px;margin-bottom:16px;font-size:64px;line-height:1.02}.auth-hero-text{max-width:640px;font-size:22px;line-height:1.45}.auth-hero-panels{gap:18px;width:100%;max-width:620px;display:grid}.auth-hero-panel{background:#ffffff1f;border:1px solid #ffffff24;border-radius:24px;padding:20px}.auth-hero-panel-label{letter-spacing:1.5px;text-transform:uppercase;margin-bottom:8px;font-size:15px;font-weight:800}.auth-hero-panel-text{color:#ffffffe6;font-size:18px;line-height:1.45}.auth-card{flex-direction:column;justify-content:center;min-height:620px;display:flex}.auth-card-title{font-size:42px}.auth-tabs{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.auth-role-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.auth-footer{color:#4d648c;border-top:1px solid #dde5f0;margin-top:28px;padding-top:20px;font-size:16px;line-height:1.5}.auth-loading-wrap{place-items:center;min-height:calc(100vh - 48px);display:grid}@media (max-width:1200px){.hero{flex-direction:column;align-items:flex-start}.main-grid,.profile-grid,.grid-3{grid-template-columns:1fr}.worker-card{grid-template-columns:100px 1fr}.worker-actions{flex-flow:wrap;grid-column:1/-1}.auth-layout{grid-template-columns:1fr}.auth-hero,.auth-card{min-height:unset}.auth-hero-title{font-size:52px}.auth-hero-text{font-size:20px}}@media (max-width:900px){.pdf-main{grid-template-columns:1fr}.pdf-photo-wrap{max-width:260px}.auth-hero{min-height:auto;padding:24px}.auth-hero-title{max-width:100%;font-size:38px}.auth-hero-text{max-width:100%;font-size:17px}.auth-card-title{font-size:36px}}@media (max-width:760px){.page-shell{padding:14px}.container{max-width:100%}.hero,.card,.form-card,.stat-card,.profile-photo-card,.profile-info-card{border-radius:24px;padding:20px}.hero{gap:16px;min-height:auto;padding:18px}.hero h1{max-width:100%;margin-bottom:8px;font-size:26px;line-height:1.1}.hero p{max-width:100%;font-size:14px;line-height:1.45}.section-title,.topbar-title,.profile-name{font-size:34px}.form-grid,.worker-meta,.profile-meta-grid,.pdf-info-grid,.worker-card{grid-template-columns:1fr}.worker-photo,.worker-photo-placeholder{width:96px;height:96px}.photo-upload-box{flex-direction:column;align-items:flex-start}.photo-preview,.photo-preview-placeholder{width:100%;max-width:220px}.form-actions,.hero-actions,.btn{width:100%}.auth-layout{grid-template-columns:1fr;gap:14px;min-height:auto}.auth-hero{justify-content:flex-start;gap:12px;min-height:auto;padding:18px}.auth-hero-title{max-width:100%;margin-bottom:8px;font-size:26px;line-height:1.1}.auth-hero-text{max-width:100%;font-size:14px;line-height:1.45}.auth-hero-panels,.auth-hero-panel{display:none}.auth-card{min-height:unset;padding:18px}.auth-card-title{font-size:30px}.auth-tabs{grid-template-columns:1fr;gap:10px;display:grid}.auth-role-grid{grid-template-columns:1fr}.stat-card{min-height:160px}.stat-value{font-size:48px}.status{padding:9px 14px;font-size:13px}}
