.auth-page{min-height:100vh;background:radial-gradient(circle at 10% 0%,#eaf4fb 0,transparent 34%),var(--bg)}
.auth-root{min-height:100vh}.auth-loading{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:10px;color:#456079;font:600 16px Manrope,sans-serif}.auth-loading small{font:400 12px 'DM Sans',sans-serif;color:#8b9aa8}
.login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(390px,520px);max-width:1280px;margin:auto;padding:38px clamp(24px,6vw,86px);gap:clamp(36px,8vw,120px);align-items:center}.login-brand{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:22px 0 8px}.login-pitch{max-width:515px;margin:auto 0}.login-pitch .eyebrow{font-size:10px}.login-pitch h1{font:700 clamp(32px,4.5vw,54px)/1.1 Manrope,sans-serif;letter-spacing:-1.7px;color:var(--navy);margin:12px 0 16px}.login-pitch p{font-size:14px;line-height:1.8;color:#708397;max-width:450px}.login-feature-list{list-style:none;padding:0;margin:27px 0 0;display:grid;gap:13px}.login-feature-list li{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:600;color:#496279}.feature-check{width:20px;height:20px;border-radius:50%;background:#e2f4eb;color:#13865b;display:grid;place-items:center;font-size:11px}.login-company-foot{font-size:9px;color:#91a0ae}.login-card{width:100%;background:white;border:1px solid #e8edf3;border-radius:14px;padding:clamp(24px,4vw,40px);box-shadow:0 24px 70px rgba(16,43,73,.09)}.login-card h2{font:700 24px Manrope,sans-serif;letter-spacing:-.6px;color:#18344e;margin:0}.login-card .login-subtitle{font-size:11px;line-height:1.6;color:#8493a1;margin:7px 0 23px}.login-form{display:grid;gap:15px}.login-form .field{gap:7px}.login-form .field label{font-size:10px}.login-form .field input,.login-form .field select{font-size:12px;min-height:43px;padding-left:12px}.login-form .button{min-height:43px;font-size:11px;width:100%;margin-top:3px}.config-notice,.inline-notice{padding:12px 13px;border:1px solid #f0dfb7;border-radius:8px;background:#fffaf0;color:#856822;font-size:10px;line-height:1.6}.config-notice strong{display:block;color:#745717;margin-bottom:4px}.auth-muted-link{display:block;margin-top:17px;text-align:center;color:#8293a3;font-size:9px;line-height:1.6}.auth-muted-link a,.auth-back-link{color:#178bd2;text-decoration:none;font-weight:600}.auth-back-link{font-size:10px;display:inline-flex;gap:5px;align-items:center;margin-bottom:20px}.password-rules{font-size:9px;color:#8796a4;line-height:1.5}
.auth-shell{min-height:100vh}.auth-shell .sidebar{width:255px}.auth-shell .main-area{margin-left:255px;min-width:0}.auth-shell .content{max-width:1440px}.auth-shell .topbar{gap:12px}.topbar-user{display:flex;align-items:center;gap:10px}.user-copy{display:grid;gap:3px}.user-copy strong{font-size:10px;color:#354c61}.user-copy small{font-size:8px;color:#8192a1}.role-pill{border-radius:20px;padding:4px 7px;background:#eef6fc;color:#2972a2;font-size:8px;font-weight:700}.logout-button{border:1px solid #e3eaf0;border-radius:6px;background:#fff;color:#576e82;font-size:9px;padding:8px 10px}.logout-button:hover{background:#f6f9fb}.auth-shell .nav-item[hidden]{display:none}.auth-shell .sidebar .brand{padding-bottom:29px}.auth-shell .secure-note small{display:block}.auth-shell .page-heading{gap:12px}.auth-panel-tabs{display:flex;gap:5px;margin-bottom:15px;padding:4px;background:#f1f5f8;border-radius:8px;width:max-content}.auth-panel-tab{border:0;border-radius:6px;background:transparent;padding:8px 12px;color:#708396;font-size:9px;font-weight:600}.auth-panel-tab.active{background:white;color:#1b5f8b;box-shadow:0 1px 3px #0d253b13}.auth-table-actions{display:flex;gap:7px;justify-content:flex-end;white-space:nowrap}.auth-status{font-size:9px;color:#6e879b}.login-demo-link{display:inline-flex;margin-top:20px;color:#198bd4;text-decoration:none;font-size:10px;font-weight:600}.role-info{display:flex;gap:10px;align-items:flex-start;padding:12px 13px;border:1px solid #e0edf7;background:#f4faff;border-radius:8px;margin:0 0 15px;color:#537188;font-size:9px;line-height:1.55}.role-info>span{font-size:14px;color:#178bd2}.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.company-users{margin-top:14px}.company-users .table-wrap{max-width:100%}.empty-row{padding:24px;text-align:center;color:#8192a1;font-size:10px}.returned-note{margin:8px 0 0;padding:8px 9px;border-radius:6px;background:#fff5ee;color:#9a6545;font-size:9px;line-height:1.45}.inline-form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toolbar-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media(max-width:950px){.login-layout{grid-template-columns:minmax(250px,.9fr) minmax(350px,480px);gap:38px;padding:30px}.login-pitch h1{font-size:40px}.auth-shell .content{padding:25px 20px 40px}}
@media(max-width:850px){.auth-shell .sidebar{transform:translateX(-100%)}.auth-shell .sidebar.open{transform:translateX(0)}.auth-shell .main-area{margin-left:0}.auth-shell .mobile-menu{display:block}.auth-shell .topbar{padding:0 18px}}
@media(max-width:700px){.login-layout{grid-template-columns:1fr;max-width:520px;padding:22px 16px;gap:18px;align-content:center}.login-brand{padding:4px 4px 0}.login-pitch{display:none}.login-company-foot{display:none}.login-card{padding:24px 20px}.auth-shell .content{padding:20px 12px 32px}.auth-shell .topbar{padding:0 12px;gap:8px}.auth-shell .breadcrumb>span{display:none}.auth-shell .topbar-user .user-copy{display:none}.auth-shell .topbar-right{gap:8px;margin-left:auto}.auth-shell .demo-pill{display:none}.logout-button{padding:7px 8px}.auth-shell .page-heading{flex-wrap:wrap}.admin-form-grid{grid-template-columns:1fr}.auth-panel-tabs{width:100%}.auth-panel-tab{flex:1}.auth-table-actions{justify-content:flex-start}}
.admin-layout{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);align-items:start}.admin-layout .company-users{margin-top:0}.admin-layout .auth-table-actions{justify-content:flex-start;flex-wrap:wrap}.auth-table-actions select{border:1px solid #e0e7ee;border-radius:5px;background:#fff;color:#40586e;padding:5px 6px;max-width:145px;font-size:8px}.manager-select-field[hidden]{display:none}
@media(max-width:600px){.admin-layout{grid-template-columns:minmax(0,1fr)}.admin-layout .form-panel,.admin-layout .company-users{padding:15px 12px}.auth-table-actions select{max-width:125px}.auth-shell .table-wrap{overflow-x:auto}}

/* Per-company brand settings */
.auth-shell .sidebar{background:var(--navy)}
.auth-shell .sidebar,.auth-shell .sidebar .brand,.auth-shell .sidebar .company-chip strong,.auth-shell .sidebar .secure-note strong{color:var(--company-primary-contrast,#fff)}
.auth-shell .sidebar .workspace-label,.auth-shell .sidebar .nav-label,.auth-shell .sidebar .company-chip small,.auth-shell .sidebar .company-chip .chevron,.auth-shell .sidebar .nav-item,.auth-shell .sidebar .secure-note small{color:var(--company-primary-contrast,#fff)}
.auth-shell .sidebar .nav-item.active{color:var(--company-primary-contrast,#fff)}
.auth-shell .button.primary{background:var(--blue);color:var(--company-secondary-contrast,#fff);border-color:var(--blue)}
.auth-shell .button.primary:hover:not(:disabled){background:var(--blue);filter:brightness(.94)}
.auth-shell .button.primary:focus-visible,.auth-shell .button.secondary:focus-visible,.auth-shell .auth-panel-tab:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.auth-shell .nav-item.active{box-shadow:inset 2px 0 var(--blue-2);background:linear-gradient(100deg,color-mix(in srgb,var(--blue) 24%,transparent),rgba(31,116,174,.06))}
.auth-shell .nav-item.active .nav-icon,.auth-shell .company-footnote span{color:var(--blue-2)}.auth-shell .brand-copy strong span{color:#27a8ff}
.auth-shell .company-icon.company-logo{object-fit:contain;padding:3px;background:#fff;border:1px solid rgba(255,255,255,.25)}
.auth-shell .topbar-company-brand{display:flex;align-items:center;gap:8px;max-width:min(35vw,290px);min-width:0;color:#53697d;font-weight:600}
.auth-shell .topbar-company-brand>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-company-logo{width:26px;height:26px;object-fit:contain;border:1px solid #e7edf2;border-radius:6px;background:#fff;padding:2px;flex:none}
.app-footer{max-width:1440px;margin:-30px auto 0;padding:0 42px 18px;text-align:right;color:#9aa7b3;font-size:9px}
.app-footer strong{font-weight:500;color:#7e8d9b}
.settings-panel{padding:24px}
.settings-intro{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid #edf1f4}
.settings-intro h2{margin:0;color:#243b50;font:700 15px Manrope,sans-serif}
.settings-intro p{margin:5px 0 0;color:#768a9c;font-size:10px;line-height:1.5}
.settings-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#eff7fc;color:var(--blue);font-size:18px;flex:none}
.settings-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:32px;padding-top:22px;align-items:start}
.settings-fields{display:grid;gap:18px;min-width:0}
.settings-fields>.field input:not([type=color]):not([type=file]){min-height:42px;border:1px solid #dfe7ee;border-radius:7px;padding:0 12px;color:#293e51;font-size:12px}
.settings-colors{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.color-setting{padding:13px;border:1px solid #e7edf2;border-radius:8px;background:#fbfcfd}
.color-input-wrap{display:flex;align-items:center;gap:10px;min-height:39px}
.color-input-wrap input[type=color]{width:42px;height:34px;padding:3px;border:1px solid #d7e0e8;border-radius:6px;background:#fff;cursor:pointer}
.color-input-wrap code{color:#4f6477;font-size:10px;font-weight:700;letter-spacing:.4px}
.color-setting>small,.logo-field>small{color:#718496;font-size:9px;line-height:1.5}
.logo-field input[type=file]{width:100%;min-width:0;border:1px dashed #cbd7e1;border-radius:7px;background:#fbfcfd;padding:10px;color:#526a7e;font-size:10px}
.logo-field input[type=file]::file-selector-button{border:0;border-radius:5px;background:#edf5fb;color:#315b7a;padding:7px 10px;margin-right:10px;font-size:9px;font-weight:600}
.logo-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.logo-actions>span{color:#718496;font-size:9px}
.logo-actions .text-button{color:#9a4b4b}
.logo-actions .text-button:disabled{opacity:.45;cursor:not-allowed}
.settings-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:3px}
.settings-actions .button{min-height:40px;padding:0 14px;font-size:10px}
.brand-preview-wrap{min-width:0;padding:15px;border:1px solid #e7edf2;border-radius:10px;background:#f8fafc}
.preview-caption{display:block;margin-bottom:12px;color:#74889a;font-size:8px;font-weight:700;letter-spacing:1.1px}
.brand-preview{overflow:hidden;border:1px solid #e6ebef;border-radius:9px;background:#fff;box-shadow:0 7px 20px #102b4910}
.preview-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:9px 12px;background:var(--preview-primary);color:var(--preview-primary-text)}
.preview-company{display:flex;align-items:center;gap:8px;min-width:0}
.preview-company img,.preview-logo-placeholder{width:30px;height:30px;object-fit:contain;border-radius:6px;background:#fff;padding:2px;flex:none}
.preview-logo-placeholder{display:grid;place-items:center;color:var(--preview-primary);font-size:10px;font-weight:800}
.preview-company strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.preview-bar>span{font-size:8px;opacity:.85}
.preview-content{padding:17px 15px 18px}
.preview-content>small{color:#718496;font-size:7px;font-weight:700;letter-spacing:.9px}
.preview-content h3{margin:6px 0;color:#20364c;font:700 15px Manrope,sans-serif}
.preview-content p{margin:0;color:#718496;font-size:9px;line-height:1.5}
.preview-accent{width:36px;height:3px;margin-top:14px;border-radius:3px;background:var(--preview-secondary)}
.preview-content button{margin-top:15px;border:0;border-radius:5px;background:var(--preview-secondary);color:var(--preview-secondary-text);padding:8px 12px;font-size:9px;font-weight:700}
.contrast-note{margin:11px 0 0;color:#718496;font-size:9px;line-height:1.55}
.settings-footer{margin:12px 2px 0;text-align:right;color:#9aa7b3;font-size:9px}
.settings-footer strong{color:#7e8d9b;font-weight:500}
.settings-error{margin-bottom:15px}
@media(max-width:950px){.settings-layout{grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:20px}.app-footer{padding-left:20px;padding-right:20px}}
@media(max-width:700px){.settings-panel{padding:17px 14px}.settings-layout{grid-template-columns:1fr;gap:22px}.brand-preview-wrap{max-width:none}.settings-colors{gap:9px}.color-setting{padding:10px}.settings-actions{align-items:stretch}.settings-actions .button{flex:1 1 100%}.app-footer{margin-top:-20px;padding:0 13px 14px;font-size:8px}.auth-shell .topbar-company-brand{max-width:31vw}.auth-shell .breadcrumb>span{display:flex}.auth-shell .company-chip{height:auto;min-height:59px}}
@media(max-width:380px){.settings-colors{grid-template-columns:1fr}.auth-shell .topbar-company-brand{max-width:26vw}.auth-shell .topbar-company-brand>span{font-size:9px}.auth-shell .topbar{gap:6px}.auth-shell .topbar-right{gap:6px}.auth-shell .logout-button{font-size:8px;padding:6px}}

/* Shared WorkSign One mark styles live in css/brand.css. */
.auth-loading-brand{font:800 24px Manrope,sans-serif;letter-spacing:-.7px;color:var(--navy)}
.loading-spinner{display:block;width:18px;height:18px;border:2px solid #dbe8f1;border-top-color:#168ee0;border-radius:50%;animation:loading-spin .75s linear infinite}
@keyframes loading-spin{to{transform:rotate(360deg)}}
.company-chip .company-logo{object-fit:contain;padding:3px;background:#fff;border:1px solid rgba(255,255,255,.25)}
.auth-shell .company-chip>span:nth-child(2){min-width:0}.auth-shell .company-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-app-brand{display:flex;align-items:center;gap:6px;flex:none;padding:4px 7px;border-radius:6px;background:#fff;color:#102b49}.preview-app-brand img{display:none}.preview-app-brand strong{color:#102b49;font-size:9px;white-space:nowrap}
.auth-shell .sidebar .brand{gap:0}.app-shell:not(.auth-shell) .sidebar .brand{gap:0}
@media(max-width:380px){.preview-app-brand{gap:4px;padding:3px}.preview-app-brand strong{font-size:8px}}

@media(max-width:700px){.preview-bar{flex-wrap:wrap;justify-content:flex-start}.preview-company{flex:1 1 130px}.preview-bar>span{margin-left:auto}}

/* Company vessel and published work catalog management. */
.vessel-create-panel,.vessel-card{padding:20px;margin:14px 0 0}
.vessel-create-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.vessel-create-form .field{margin:0}
.vessel-create-form input,.vessel-name-form input{width:100%;min-width:0;min-height:40px;border:1px solid #dfe7ee;border-radius:7px;padding:0 11px;color:#293e51;font-size:12px}
.vessel-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid #edf1f4}
.vessel-card-heading h2{margin:0;color:#20364c;font:700 15px Manrope,sans-serif}
.vessel-card-heading p,.vessel-pdf-section p{margin:5px 0 0;color:#768a9c;font-size:10px;line-height:1.5}
.vessel-card-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;padding:18px 0;border-bottom:1px solid #edf1f4}
.vessel-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;min-width:0}
.vessel-name-form .field{grid-column:1/-1;margin:0}
.vessel-name-form .button,.vessel-assignment-list~.button{min-height:38px;padding:0 12px;font-size:10px}
.vessel-assignments h3,.vessel-pdf-section h3{margin:0 0 10px;color:#344d63;font-size:11px}
.vessel-assignment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:220px;overflow:auto;margin-bottom:10px}
.vessel-assignee{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid #e7edf2;border-radius:7px;background:#fbfcfd;cursor:pointer}
.vessel-assignee input{flex:none;accent-color:var(--blue)}
.vessel-assignee span{display:grid;gap:3px;min-width:0}
.vessel-assignee strong,.vessel-assignee small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vessel-assignee strong{color:#344d63;font-size:9px}.vessel-assignee small{color:#8192a1;font-size:8px}
.vessel-pdf-section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 16px;align-items:center;padding:18px 0;border-bottom:1px solid #edf1f4}
.vessel-pdf-section h3{margin:0}.vessel-pdf-section p{margin-top:4px}
.vessel-pdf-picker{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border:1px solid #dce6ee;border-radius:7px;background:#f7fafc;color:#315b7a;font-size:10px;font-weight:700;cursor:pointer}
.vessel-pdf-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.vessel-pdf-status{grid-column:1/-1;color:#718496;font-size:9px}
.vessel-pdf-review{grid-column:1/-1;min-width:0;padding:14px;border:1px solid #dce9f3;border-radius:8px;background:#f7fbfe}
.vessel-review-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.vessel-review-heading strong{color:#28445d;font-size:10px}
.vessel-pdf-review>p{margin:7px 0 12px;color:#637b8f;font-size:9px;line-height:1.55}
.vessel-code-editor{display:grid;gap:7px;margin:10px 0}
.vessel-code-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.5fr) auto;gap:8px;align-items:center}
.vessel-code-row input{min-width:0;width:100%;height:37px;border:1px solid #dce5ec;border-radius:6px;padding:0 9px;background:#fff;color:#344d63;font-size:10px}
.vessel-pdf-review .inline-form-actions{margin-top:10px}
.vessel-version-list{display:grid;gap:12px;padding-top:16px}
.catalog-version{min-width:0;padding:12px;border:1px solid #e7edf2;border-radius:8px;background:#fcfdfe}
.catalog-version-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.catalog-version-head>span:first-child{display:grid;gap:3px;min-width:0}.catalog-version-head strong{color:#344d63;font-size:10px}.catalog-version-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8192a1;font-size:8px}
.catalog-state{flex:none;padding:5px 8px;border-radius:12px;background:#eef4f8;color:#55738a;font-size:8px;font-weight:700}.catalog-state.published{background:#e8f7ef;color:#13704d}.catalog-state.draft{background:#fff6e5;color:#8a6820}
.catalog-version .table-wrap{max-width:100%;overflow-x:auto}.catalog-version table{min-width:340px}.catalog-version th,.catalog-version td{padding:8px;font-size:9px}
.catalog-version .inline-form-actions{margin-top:10px;flex-wrap:wrap}
.catalog-version .button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:850px){.vessel-card-grid{grid-template-columns:minmax(0,1fr)}.vessel-name-form{max-width:520px}}
@media(max-width:700px){.auth-panel-tabs{flex-wrap:wrap}.auth-panel-tab{flex:1 1 125px}.vessel-create-panel,.vessel-card{padding:16px 13px}.vessel-create-form{grid-template-columns:minmax(0,1fr)}.vessel-create-form .button{width:100%}.vessel-card-grid{gap:16px}.vessel-assignment-list{grid-template-columns:minmax(0,1fr)}.vessel-pdf-section{grid-template-columns:minmax(0,1fr)}.vessel-pdf-picker{width:100%}.vessel-pdf-status{grid-column:1}.vessel-code-row{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.vessel-code-row .text-button{grid-column:1/-1;justify-self:end}.vessel-review-heading{align-items:flex-start}.vessel-review-heading .text-button{flex:none}}
@media(max-width:380px){.vessel-name-form{grid-template-columns:minmax(0,1fr)}.vessel-name-form .button,.vessel-name-form .row-action{width:100%}.vessel-code-row{grid-template-columns:minmax(0,1fr)}.vessel-code-row .text-button{grid-column:1}.vessel-review-heading{flex-direction:column}}

/* Role menus, archive actions, profile and dashboard views */
.auth-shell .main-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 12px;scrollbar-width:thin;scrollbar-color:#315574 transparent}
.auth-shell .main-nav .nav-label{margin:18px 9px 8px;color:#91a9bd;font-size:8px;font-weight:800;letter-spacing:1.15px}
.auth-shell .main-nav .nav-item{width:100%;min-height:40px;justify-content:flex-start;text-align:left;gap:10px}
.auth-shell .main-nav .nav-item>span:last-child{min-width:0;overflow-wrap:anywhere}
.auth-shell .sidebar-bottom{flex:none;padding-top:10px}
.pdf-row-actions{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.pdf-row-actions .row-action{white-space:nowrap}
.dashboard-actions{padding:22px;margin-top:14px}
.dashboard-actions h2{margin:0 0 14px;color:var(--navy);font-size:16px}
.dashboard-actions .auth-status{display:block;margin-top:14px}
.profile-card{padding:22px}
.profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 0}
.profile-details>div{min-width:0;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fbfdff}
.profile-details dt{margin:0 0 6px;color:var(--muted);font-size:9px}
.profile-details dd{margin:0;color:var(--text);font-size:12px;font-weight:700;overflow-wrap:anywhere}
@media(max-width:850px){.auth-shell .main-nav{max-height:calc(100vh - 245px)}.auth-shell .sidebar-bottom{padding-top:4px}}
@media(max-width:600px){.pdf-row-actions{display:flex;gap:6px}.pdf-row-actions .row-action{flex:1;min-height:34px;padding:7px}.dashboard-actions{padding:16px 13px}.dashboard-actions .inline-form-actions{display:grid;grid-template-columns:1fr}.profile-card{padding:15px 12px}.profile-details{grid-template-columns:1fr;gap:8px}.auth-shell .main-nav{max-height:calc(100dvh - 220px)}}

/* Vessel and shipyard metadata */
.readonly-yard{display:grid;gap:5px;margin:13px 0 18px;padding:12px 14px;border:1px solid #dce9f3;border-left:3px solid var(--brand-secondary,#168ee0);border-radius:8px;background:#f6faff;min-width:0}
.readonly-yard>span{color:#72879a;font-size:8px;font-weight:800;letter-spacing:.8px}
.readonly-yard>strong{color:#183650;font-size:12px;overflow-wrap:anywhere}
.readonly-yard>p{margin:0;color:#516a7f;font-size:10px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.manager-vessel-list{display:grid;gap:14px}.manager-vessel-card{padding:20px;min-width:0}
.manager-vessel-card .vessel-card-heading{margin-bottom:16px}
.manager-vessel-form,.company-yard-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.manager-vessel-form .field,.company-yard-form .field{min-width:0}
.manager-vessel-form .field:first-child{grid-column:1/-1}
.manager-vessel-form input,.manager-vessel-form textarea,.company-yard-form input,.company-yard-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.manager-vessel-form textarea,.company-yard-form textarea{resize:vertical}
.manager-vessel-form .inline-form-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.company-yard-form{margin:15px 0;padding:14px;border:1px solid #e4ebf1;border-radius:9px;background:#fbfdff}
.yard-form-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.yard-form-footer small{color:#74899b;font-size:9px}
@media(max-width:700px){.manager-vessel-card{padding:16px 13px}.manager-vessel-form,.company-yard-form{grid-template-columns:minmax(0,1fr)}.manager-vessel-form .field:first-child,.manager-vessel-form .inline-form-actions,.yard-form-footer{grid-column:1}.manager-vessel-form .inline-form-actions,.yard-form-footer{align-items:stretch;flex-direction:column}.manager-vessel-form .button,.yard-form-footer .button{width:100%}}

.company-subscriptions{padding:22px}.subscription-notice{padding:14px 16px;margin-bottom:20px;border:1px solid #cfe5f4;border-left:4px solid #168ee0;border-radius:8px;background:#f4faff}.subscription-notice strong{color:#183b5b;font-size:12px}.subscription-notice p{margin:5px 0 0;color:#637b90;font-size:10px;line-height:1.65}.company-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.company-plan-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:17px 15px;border:1px solid #e4ebf1;border-radius:9px;background:#fff}.company-plan-card>span{min-height:25px;color:#6e8498;font-size:8px;font-weight:800;letter-spacing:.7px;line-height:1.4}.company-plan-card h3{margin:9px 0;color:#173650;font-size:15px}.company-plan-card>strong{color:#102b49;font-size:20px;letter-spacing:-.5px;white-space:nowrap}.company-plan-card>strong small{font-size:9px;font-weight:600;letter-spacing:0;color:#718499}.company-plan-card p{flex:1;margin:11px 0 15px;color:#718397;font-size:9px;line-height:1.55}.company-plan-card .button{width:100%;min-height:37px;font-size:9px}.company-plan-card.is-corporate{border-color:#168ee0;box-shadow:0 8px 24px rgba(22,142,224,.08)}.subscription-tax-note{margin:14px 0 0;color:#8091a0;font-size:9px}.login-plans-link{display:inline-flex;margin-top:10px;color:#198bd4;text-decoration:none;font-size:10px;font-weight:600}@media(max-width:1280px){.company-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.company-subscriptions{padding:15px 12px}.company-plan-grid{grid-template-columns:minmax(0,1fr)}.company-plan-card{padding:16px}.company-plan-card>strong{font-size:22px}}
@media(max-width:700px){.login-company-foot{display:block;margin-top:14px}.login-company-foot .connection-lockup{margin-left:auto;margin-right:auto}.login-company-foot .connection-lockup img{width:58px;height:58px}}

/* WorkSign One access page */
.auth-page{min-height:100svh;overflow-x:hidden;background:radial-gradient(ellipse at 12% 18%,rgba(213,235,250,.72),transparent 35%),radial-gradient(ellipse at 91% 82%,rgba(226,239,249,.65),transparent 32%),linear-gradient(135deg,#f7fafd 0%,#f1f6fa 58%,#f8fafc 100%)}
.auth-root{min-height:100svh;display:flex;flex-direction:column;isolation:isolate}
.login-layout{width:min(100%,1440px);min-height:calc(100svh - 60px);flex:1;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr);align-items:center;gap:clamp(36px,6.4vw,94px);margin:0 auto;padding:clamp(30px,4.8vw,66px) clamp(22px,7.2vw,104px) 34px}
.login-brand{min-width:0;min-height:490px;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:3px 0 0}
.login-brand-head{display:flex;align-items:center;min-height:55px}
.login-pitch{width:100%;max-width:620px;margin:auto 0;padding:32px 0 26px}
.login-pitch .eyebrow{margin:0;color:#3379a9;font-size:9px;font-weight:800;letter-spacing:1.65px;line-height:1.5}
.login-pitch h1{max-width:620px;margin:17px 0 16px;color:#102b49;font:750 clamp(34px,4.2vw,55px)/1.09 Manrope,'DM Sans',sans-serif;letter-spacing:-1.9px;text-wrap:balance}
.login-pitch p{max-width:560px;margin:0;color:#5e7386;font-size:14px;line-height:1.8}
.login-feature-list{list-style:none;padding:0;margin:23px 0 0;display:grid;gap:11px}
.login-feature-list li{display:flex;align-items:center;gap:11px;min-width:0;color:#334e65;font-size:12px;font-weight:550;line-height:1.5}
.feature-check{width:22px;height:22px;flex:0 0 22px;border:1px solid #d7eee3;border-radius:50%;background:#eaf7f0;color:#188459;display:grid;place-items:center;font-size:11px}
.login-plans-cta{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:45px;margin-top:25px;padding:0 17px;border:1px solid #d5e4ef;border-radius:8px;background:rgba(255,255,255,.76);box-shadow:0 4px 12px rgba(16,43,73,.035);color:#164f79;text-decoration:none;font-size:12px;font-weight:750;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.login-plans-cta span{color:#168ee0;font-size:16px;transition:transform .18s}
.login-plans-cta:hover{transform:translateY(-1px);border-color:#aacde4;background:#fff;box-shadow:0 8px 18px rgba(16,43,73,.08)}
.login-plans-cta:hover span{transform:translateX(2px)}
.login-brand-note{display:flex;align-items:center;gap:9px;color:#708598;font-size:10px;line-height:1.45}
.login-brand-note-mark{width:19px;height:19px;display:grid;place-items:center;border:1px solid #cfe0eb;border-radius:50%;color:#3984b4;font-size:10px}
.login-card{width:100%;max-width:500px;justify-self:end;min-width:0;padding:clamp(26px,3.5vw,42px);border:1px solid rgba(215,226,235,.9);border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 22px 64px rgba(16,43,73,.1),0 3px 10px rgba(16,43,73,.025)}
.login-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.login-card-icon{width:31px;height:31px;display:grid;place-items:center;border:1px solid #dcecf7;border-radius:9px;background:#f1f8fd;color:#188bd2;font-size:18px;font-weight:600}
.login-card .eyebrow{margin:0;color:#5480a0;font-size:9px;font-weight:800;letter-spacing:1.3px}
.login-card h2{color:#15334e;font:750 clamp(24px,2.4vw,29px)/1.2 Manrope,'DM Sans',sans-serif;letter-spacing:-.85px}
.login-card .login-subtitle{margin:7px 0 25px;color:#74889a;font-size:12px;line-height:1.6}
.login-form{gap:17px}
.login-form .field{gap:8px}
.login-form .field label{color:#344e64;font-size:11px;font-weight:700}
.login-form .field input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:0 13px;border:1px solid #d8e2ea;border-radius:8px;background:#fff;color:#1b344a;font-size:13px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
.login-form .field input::placeholder{color:#a0aeba}
.login-form .field input:hover{border-color:#bdcedb}
.login-form .field input:focus{border-color:#459bd0;box-shadow:0 0 0 4px rgba(22,142,224,.12)}
.password-input-wrap{position:relative;min-width:0}
.password-input-wrap input{padding-right:78px!important}
.password-toggle{position:absolute;top:50%;right:8px;transform:translateY(-50%);min-width:62px;min-height:34px;padding:0 7px;border:0;border-radius:6px;background:transparent;color:#3178a6;font-size:10px;font-weight:750}
.password-toggle:hover{background:#edf6fb;color:#155a88}
.password-toggle:focus-visible,.login-plans-cta:focus-visible,.login-utility-links a:focus-visible{outline:3px solid rgba(22,142,224,.35);outline-offset:3px}
.login-form .button.login-submit{min-height:48px;margin-top:4px;border:0;border-radius:8px;background:#147fc2;box-shadow:0 6px 14px rgba(20,127,194,.2);font-size:12px;font-weight:750;transition:transform .16s,background .16s,box-shadow .16s}
.login-form .button.login-submit:hover:not(:disabled){transform:translateY(-1px);background:#106eab;box-shadow:0 9px 18px rgba(20,127,194,.24)}
.login-form .button.login-submit:focus-visible{outline:3px solid rgba(22,142,224,.32);outline-offset:3px}
.login-form .button.login-submit:disabled{cursor:not-allowed;opacity:.58}
.config-notice{margin:0 0 16px;font-size:11px}
.login-error{padding:0;color:#a33f3c;font-size:11px;line-height:1.55}
.login-error:not([hidden]){padding:11px 12px;border:1px solid #f0d1ce;border-radius:8px;background:#fff7f6}
.login-error:empty{display:none}
.login-card .auth-muted-link{margin-top:15px;color:#8292a0;font-size:10px;line-height:1.65}
.login-utility-links{display:flex;align-items:center;justify-content:center;gap:19px;margin-top:18px;padding-top:17px;border-top:1px solid #edf1f4}
.login-utility-links a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;color:#3478a2;text-decoration:none;font-size:10px;font-weight:700;transition:color .15s}
.login-utility-links a:hover{color:#126da8;text-decoration:underline;text-underline-offset:3px}
.login-utility-links .login-plans-link,.login-utility-links .login-demo-link{margin:0}
.login-footer{min-height:60px;display:flex;align-items:center;justify-content:center;padding:4px 20px 10px}
.login-footer .connection-lockup{width:104px;max-width:100%;margin:0;gap:1px}
.login-footer .connection-lockup img{width:100%;height:auto;object-fit:contain}
.login-footer .connection-lockup .connection-tagline{color:#667d8f;font-size:8px;letter-spacing:.3px}
@media(max-width:1000px){.login-layout{grid-template-columns:minmax(0,1fr) minmax(350px,.92fr);gap:34px;padding-right:36px;padding-left:36px}.login-pitch h1{font-size:clamp(34px,4.5vw,46px)}.login-brand{min-height:455px}}
@media(max-width:760px){.login-layout{width:min(100%,620px);min-height:calc(100svh - 52px);grid-template-columns:minmax(0,1fr);align-content:start;gap:22px;padding:28px 22px 23px}.login-brand{min-height:0;gap:15px;padding:0}.login-brand-head{min-height:0}.auth-brand-wordmark{width:min(100%,238px)}.login-pitch{display:block;padding:0;margin:0}.login-pitch .eyebrow{font-size:8px;letter-spacing:1.25px}.login-pitch h1{max-width:570px;margin:10px 0 9px;font-size:clamp(28px,6vw,40px);letter-spacing:-1.2px}.login-pitch p{font-size:12px;line-height:1.65}.login-feature-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 13px;margin-top:15px}.login-feature-list li{align-items:flex-start;font-size:10px;line-height:1.45}.feature-check{width:19px;height:19px;flex-basis:19px;font-size:9px}.login-plans-cta{min-height:40px;margin-top:16px;font-size:11px}.login-brand-note{display:none}.login-card{justify-self:stretch;max-width:none;padding:25px 23px;border-radius:12px}.login-card-heading{margin-bottom:12px}.login-card .login-subtitle{margin-bottom:19px}.login-utility-links{margin-top:15px;padding-top:13px}.login-footer{min-height:52px;padding-bottom:9px}}
@media(max-width:480px){.login-layout{gap:17px;padding:23px 16px 18px}.auth-brand-wordmark{width:min(100%,210px)}.auth-brand-copy small{font-size:8px;letter-spacing:1.25px}.login-pitch .eyebrow{max-width:100%;font-size:7px;letter-spacing:1.05px}.login-pitch h1{font-size:30px;line-height:1.12}.login-pitch p{font-size:11px}.login-feature-list{grid-template-columns:minmax(0,1fr);gap:7px;margin-top:13px}.login-feature-list li{font-size:10px}.login-plans-cta{margin-top:14px}.login-card{padding:22px 18px}.login-card h2{font-size:24px}.login-form{gap:14px}.login-form .field input{min-height:46px}.login-form .button.login-submit{min-height:47px}.login-utility-links{gap:12px}.login-utility-links a{font-size:9px}.login-footer .connection-lockup{width:88px}}

.support-consent-panel{margin-top:16px;padding:19px 20px}.support-consent-panel>.panel-heading{margin-bottom:11px}.support-consent-panel>.panel-heading h2{margin:0;color:#203e57;font-size:14px}.support-consent-panel>.panel-heading p{margin:6px 0 0;color:#76899b;font-size:10px;line-height:1.6}.support-consent-list{display:grid;gap:9px}.support-consent-card{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px;border:1px solid #e2eaf0;border-radius:8px;background:#fbfdff}.support-consent-card>div:first-child{min-width:0}.support-consent-card strong{color:#29465e;font-size:11px}.support-consent-card p{margin:5px 0;color:#6f8396;font-size:10px;line-height:1.5}.support-consent-card small{color:#8495a4;font-size:9px;line-height:1.5}.support-consent-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.support-consent-action select{max-width:300px;min-height:36px;border:1px solid #dce5ec;border-radius:6px;padding:7px 9px;background:#fff;color:#36536b;font:inherit;font-size:10px}.support-consent-action .button{margin:0;white-space:nowrap;font-size:9px}
@media(max-width:700px){.support-consent-card{flex-direction:column}.support-consent-action{width:100%;display:grid;grid-template-columns:minmax(0,1fr)}.support-consent-action select{width:100%;max-width:none}.support-consent-action .button{width:100%}}
