:root {
  --navy: #071b35;
  --navy-soft: #0d294d;
  --blue: #075cbd;
  --cyan: #22a9e0;
  --ink: #152033;
  --muted: #677387;
  --line: #dbe2ea;
  --surface: #f3f6f9;
  --white: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }

.login-page { min-height: 100vh; background: var(--surface); }
.language-switch form { display:flex; align-items:center; gap:4px; margin:0; padding:0; }
.language-switch button { display:inline-flex; align-items:center; gap:4px; border:1px solid transparent; border-radius:4px; padding:2px 5px; background:transparent; color:inherit; font:600 10px/1.4 "Segoe UI",Arial,sans-serif; cursor:pointer; white-space:nowrap; }
.language-switch button[aria-pressed="true"] { border-color:currentColor; background:rgba(128,160,190,.16); }
.language-switch button:focus-visible { outline:2px solid #38bdf8; outline-offset:1px; }
.language-switch button > span:first-child { font-size:15px; line-height:16px; }
.login-card .language-switch-text { position:static; margin-top:18px; color:#65748a; }
.language-switch-text form { justify-content:center; gap:10px; }
.language-switch-text button { border:0; background:transparent; padding:4px 2px; }
.language-switch-text button .language-name { font-size:12px; line-height:20px; }
.language-switch-text button[aria-pressed="true"] { background:transparent; color:var(--blue); font-weight:800; }
.language-divider { color:#aab4c0; font-size:12px; }
.session-timer-bar > .language-switch { position:absolute; right:10px; top:2px; color:#dce6f0; }
.login-page > .language-switch,.signup-page > .language-switch { position:absolute; right:14px; top:12px; z-index:5; color:#163957; background:#ffffffdd; border-radius:6px; padding:4px; }
@media(max-width:600px) { .session-timer-bar { justify-content:flex-start!important; padding-left:8px; } .session-timer-bar .language-name { display:none; } .session-timer-bar > .language-switch { right:4px; } }
.login-shell { display: grid; grid-template-columns: minmax(360px, 43%) 1fr; min-height: 100vh; }
.brand-panel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; padding: 52px 64px; color: var(--white);
  background: linear-gradient(145deg, rgba(7, 27, 53, .98), rgba(7, 41, 80, .95));
}
.brand-panel::before, .brand-panel::after {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
}
.brand-panel::before { width: 520px; height: 520px; right: -300px; top: 15%; }
.brand-panel::after { width: 320px; height: 320px; right: -170px; top: 29%; }
.brand-mark, .mobile-brand { display: block; width: 210px; }
.brand-mark img, .mobile-brand img { display: block; width: 100%; height: auto; }
.brand-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.eyebrow.blue { color: var(--blue); }
.brand-copy h1 { margin: 0; font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.brand-copy > p:last-child { margin-top: 30px; color: #b9c7d8; font-size: 17px; line-height: 1.65; }
.plant-label { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; color: #b9c7d8; font-size: 13px; }
.plant-label span { width: 22px; height: 2px; background: var(--cyan); }

.login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; }
.login-card { width: min(100%, 430px); }
.login-page .login-shell { position: relative; isolation: isolate; background: #fff; }
.login-page .brand-panel { background: linear-gradient(145deg, rgba(7, 27, 53, .82), rgba(7, 41, 80, .78)); }
.login-page .login-panel { position: relative; isolation: isolate; overflow: hidden; background: rgba(255,255,255,.82); }
.login-background-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.login-video-toggle { position: absolute; right: 16px; bottom: 12px; padding: 5px 9px; border: 1px solid #d5dde5; border-radius: 4px; background: #ffffffdd; color: #586575; font-size: 11px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .login-background-video { display: none; } }
.mobile-brand { display: none; margin-bottom: 46px; padding: 12px 15px; border-radius: 4px; background: var(--navy); }
.login-card h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.login-help { margin: 10px 0 36px; color: var(--muted); }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.form-control { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,92,189,.12); }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 75px; }
.show-password { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--blue); font-size: 11px; font-weight: 800; cursor: pointer; }
.submit-button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; margin-top: 32px; padding: 0 20px; border: 0; border-radius: 4px; color: var(--white); background: var(--blue); font-weight: 750; cursor: pointer; transition: background .2s, transform .1s; }
.submit-button:hover { background: #064d9e; }
.submit-button:active { transform: translateY(1px); }
.submit-button span { font-size: 23px; font-weight: 400; }
.alert { margin: -15px 0 24px; padding: 12px 14px; border-left: 3px solid #c63434; background: #fff0f0; color: #922727; font-size: 13px; }
.support { margin-top: 28px; color: var(--muted); font-size: 13px; text-align: center; }
.support a { color: var(--blue); font-weight: 700; text-decoration: none; }
.legal { position: absolute; bottom: 24px; color: #919baa; font-size: 11px; }

.dashboard-page { min-height: 100vh; background: var(--surface); }
.topbar { display: flex; align-items: center; gap: 18px; height: 72px; padding: 0 5vw; color: white; background: var(--navy); }
.topbar strong { font-size: 22px; letter-spacing: -.05em; }
.topbar span { color: #aebed1; font-size: 14px; }
.topbar form { margin-left: auto; }
.topbar button { border: 1px solid #58708d; border-radius: 4px; padding: 8px 14px; color: white; background: transparent; cursor: pointer; }
.dashboard-content { max-width: 1100px; margin: 0 auto; padding: 90px 5vw; }
.dashboard-content h1 { margin: 0 0 14px; font-size: 42px; letter-spacing: -.04em; }
.dashboard-content > p:last-child { color: var(--muted); }

@media (max-width: 760px) {
  .login-shell { display: block; }
  .brand-panel { display: none; }
  .login-panel { min-height: 100vh; justify-content: flex-start; padding: 0 24px 70px; overflow: hidden; }
  .login-card { width: min(100%, 430px); }
  .mobile-brand {
    display: flex; align-items: center; justify-content: center;
    width: 100vw; margin: 0 0 38px calc(50% - 50vw); padding: 30px 24px;
    border-radius: 0; background: var(--navy);
  }
  .mobile-brand img { width: 210px; }
  .legal { position: static; margin-top: 54px; text-align: center; }
}

/* Authenticated application shell */
.app-page { min-height: 100vh; padding-top: 28px; background: #f4f6f8; }
.session-timer-bar { position: fixed; z-index: 110; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 8px; height: 28px; color: #c8d5e3; background: #071b31; font-size: 8px; font-weight: 850; letter-spacing: .11em; box-shadow: 0 1px 0 rgba(255,255,255,.08); }.session-timer-bar strong { min-width: 39px; color: #72d7ad; font: 800 11px/1 monospace; letter-spacing: .04em; }.session-timer-bar small { color: #71859a; font-size: 7px; letter-spacing: .04em; }.session-timer-bar.warning { color: #ffe1a6; background: #3a2b12; }.session-timer-bar.warning strong { color: #ffbc45; }.session-timer-bar.keep-alive { background: #08293a; }.session-timer-bar.keep-alive strong { min-width: 67px; color: #72d7ad; }.session-timer-bar.expired { color: #ffd3d1; background: #4b1717; }.session-timer-bar.expired strong { color: #ff7771; }.session-shield { color: #62afd9; font-size: 12px; }.session-keep-alive { display: inline-flex; align-items: center; gap: 5px; margin-left: 3px; color: #8ea2b7; font-size: 7px; cursor: pointer; user-select: none; }.session-keep-alive input { width: 12px; height: 12px; margin: 0; accent-color: #36bd83; cursor: pointer; }.session-keep-alive:has(input:checked) { color: #72d7ad; }
@media (max-width: 480px) { .session-timer-bar { gap: 6px; }.session-timer-bar #session-status { display: none; } }
.sidebar { position: fixed; z-index: 20; inset: 28px auto 0 0; display: flex; flex-direction: column; width: 264px; padding: 31px 22px 22px; color: white; background: var(--navy); transition: width .22s, padding .22s, transform .2s; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; }
.sidebar-brand { display: block; width: 185px; overflow: hidden; text-decoration: none; transition: width .22s; }.sidebar-brand img { display: block; width: 185px; max-width: none; height: auto; }
.sidebar-site { margin: 27px -22px 30px; padding: 18px 22px; border-block: 1px solid rgba(255,255,255,.08); color: #7f92a9; font-size: 10px; letter-spacing: .16em; line-height: 1.7; }
.sidebar-site strong { color: #dce6f0; font-size: 13px; letter-spacing: 0; }
.side-nav { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; scrollbar-width: thin; scrollbar-color: #29496d transparent; }
.side-nav > p { margin: 0 12px 12px; color: #62758c; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.side-nav a { position: relative; display: flex; align-items: center; gap: 13px; min-height: 46px; margin: 4px 0; padding: 0 12px; border-radius: 5px; color: #aebed0; font-size: 13px; font-weight: 650; text-decoration: none; }
.side-nav a:hover, .side-nav a.active { color: white; background: var(--navy-soft); }
.side-nav a.active::before { content: ""; position: absolute; left: -22px; width: 3px; height: 24px; background: var(--cyan); }
.side-nav a.disabled { opacity: .58; cursor: default; }
.side-nav small { margin-left: auto; padding: 3px 5px; border-radius: 3px; color: #71849a; background: #102d50; font-size: 8px; }
.nav-icon { display: grid; width: 20px; place-items: center; color: #6f8bab; font-size: 18px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); }
.avatar { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 800; }
.sidebar-user div { min-width: 0; display: flex; flex-direction: column; }
.sidebar-user strong { overflow: hidden; max-width: 120px; font-size: 12px; text-overflow: ellipsis; }
.sidebar-user small { margin-top: 3px; color: #6f8299; font-size: 9px; }
.sidebar-user form { margin-left: auto; }
.sidebar-user button { border: 0; color: #7d90a7; background: none; cursor: pointer; }
.app-shell { min-height: calc(100vh - 28px); margin-left: 264px; transition: margin-left .22s; }
.app-header { display: flex; align-items: center; height: 60px; padding: 0 34px; border-bottom: 1px solid var(--line); color: #8590a0; background: white; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.header-date { margin-left: auto; }
.global-part-search { display: flex; align-items: center; width: min(40vw, 500px); height: 36px; border: 1px solid var(--line); border-radius: 4px; background: #f8fafb; }.global-part-search > span { padding-left: 11px; color: #7b8999; font-size: 17px; }.global-part-search input { min-width: 0; width: 100%; height: 100%; padding: 0 9px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; letter-spacing: 0; }.global-part-search kbd { margin-right: 8px; padding: 2px 6px; border: 1px solid #d6dde5; border-radius: 3px; color: #8b96a3; background: white; font: 9px/1.4 inherit; }.global-part-search .camera-search-button { display: grid; width: 34px; height: 28px; flex: 0 0 auto; margin-right: 5px; place-items: center; border: 0; border-radius: 3px; color: var(--blue); background: #e6f0fb; font-size: 15px; cursor: pointer; }.global-part-search .camera-search-button:hover { background: #d8e9fa; }
.menu-toggle { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: #667486; background: white; cursor: pointer; }.mobile-menu-toggle { display: none; margin-right: 17px; }.sidebar-menu-toggle { flex: 0 0 auto; margin: 0; border-color: rgba(255,255,255,.16); color: #b9c8d8; background: rgba(255,255,255,.06); font-size: 21px; }.sidebar-menu-toggle:hover { color: white; background: rgba(255,255,255,.12); }
.sidebar-collapsed .sidebar { width: 76px; padding-inline: 13px; }.sidebar-collapsed .app-shell { margin-left: 76px; }.sidebar-collapsed .sidebar-site, .sidebar-collapsed .side-nav > p, .sidebar-collapsed .nav-label, .sidebar-collapsed .side-nav small, .sidebar-collapsed .sidebar-user div, .sidebar-collapsed .sidebar-user form, .sidebar-collapsed .sidebar-brand { display: none; }.sidebar-collapsed .sidebar-top { justify-content: center; }.sidebar-collapsed .side-nav { margin-top: 39px; }.sidebar-collapsed .side-nav a { justify-content: center; padding: 0; }.sidebar-collapsed .side-nav a.active::before { left: -13px; }.sidebar-collapsed .nav-icon { font-size: 19px; }.sidebar-collapsed .sidebar-user { justify-content: center; }.sidebar-collapsed .avatar { width: 37px; height: 37px; }
.app-content { width: 100%; padding: 38px clamp(24px, 3.3vw, 55px) 60px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.page-heading .eyebrow { margin-bottom: 11px; font-size: 9px; }
.page-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.045em; }
.page-heading > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.welcome-panel { display: flex; align-items: center; gap: 22px; max-width: 900px; padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 8px 25px rgba(18,39,63,.04); }
.welcome-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 7px; color: var(--blue); background: #eaf3fd; font-size: 25px; }
.welcome-panel h2 { margin: 0 0 6px; font-size: 19px; }.welcome-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.primary-link, .admin-button { margin-left: auto; padding: 12px 16px; border-radius: 4px; color: white; background: var(--blue); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.heading-actions { display: flex; align-items: center; gap: 9px; }.heading-actions .admin-button { margin-left: 0; }.export-button { padding: 11px 15px; border: 1px solid #b9c7d6; border-radius: 4px; color: #445267; background: white; font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }.export-button:hover { border-color: var(--blue); color: var(--blue); }
.primary-link span { margin-left: 12px; }
.as-of { padding: 10px 13px; border: 1px solid var(--line); border-radius: 4px; color: #919cab; font-size: 9px; letter-spacing: .12em; background: white; }
.as-of strong { margin-left: 7px; color: var(--ink); }
.module-tabs { display: flex; gap: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.module-tabs a { position: relative; padding: 0 2px 13px; color: #7b8796; font-size: 12px; font-weight: 750; text-decoration: none; }
.module-tabs a.active { color: var(--blue); }
.module-tabs a.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(145px, 1fr)); gap: 13px; }
.metric-card { display: flex; align-items: flex-start; gap: 13px; min-height: 137px; padding: 21px 17px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: 0 4px 15px rgba(17,39,65,.025); }
.metric-card-link, .metric-card-link:link, .metric-card-link:visited, .metric-card-link:hover, .metric-card-link:active { color: inherit !important; text-decoration: none !important; }
.metric-card-clickable { cursor: pointer; }
.metric-icon { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 5px; color: var(--blue); background: #eaf3fd; font-size: 17px; font-weight: 800; }
.metric-card p, .finance-grid p { margin: 2px 0 10px; color: #7f8b9b; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.metric-card strong { display: block; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.metric-card small { display: block; margin-top: 9px; color: #97a1ad; font-size: 9px; }
.metric-card.outbound .metric-icon { color: #6953bb; background: #f0edfc; }
.metric-card.ordered .metric-icon { color: #b27114; background: #fff4df; }
.metric-card.shortage .metric-icon { color: #c53b3b; background: #fdeaea; }
.metric-card.reorder .metric-icon { color: #a54d24; background: #fff0e8; }
.finance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 13px; }
.finance-grid > article { min-height: 124px; padding: 23px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.finance-grid article > strong { display: block; margin-bottom: 8px; font-size: 26px; letter-spacing: -.03em; }
.finance-grid article > span { color: #919aa8; font-size: 10px; }
.finance-grid .attention { border-left: 3px solid #e18136; }
.inventory-value { border-left: 3px solid var(--blue) !important; }
.inventory-summary { display: grid; grid-column: span 3; grid-template-columns: repeat(3, 1fr); gap: 20px; min-height: 105px !important; background: var(--navy) !important; }
.inventory-summary div + div { padding-left: 20px; border-left: 1px solid #29405c; }
.inventory-summary p { color: #7990a9; }.inventory-summary strong { color: white; font-size: 28px; }
.dashboard-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 13px; }
.data-panel { min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: white; }
.data-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 20px 21px 15px; }
.data-panel h2 { margin: 2px 0 0; font-size: 16px; }.data-panel header a { color: var(--blue); font-size: 10px; font-weight: 750; text-decoration: none; }
.panel-kicker { margin: 0; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .12em; }.panel-kicker.danger { color: #c34343; }
.compact-table-wrap { overflow-x: auto; }.compact-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.compact-table th { padding: 9px 14px; color: #929dab; background: #f8fafb; font-size: 8px; text-align: left; white-space: nowrap; }
.compact-table td { padding: 11px 14px; border-top: 1px solid #edf0f3; color: #526071; }.compact-table td strong { color: var(--ink); }
.row-subtitle { display: block; overflow: hidden; max-width: 150px; margin-top: 3px; color: #98a2ae; text-overflow: ellipsis; white-space: nowrap; }
.date-pill, .location-pill { padding: 4px 7px; border-radius: 3px; color: var(--blue); background: #edf5fc; font-size: 9px; font-weight: 750; white-space: nowrap; }
.shortage-number { color: #c63f3f; font-weight: 800; }.muted { color: #9da6b1; }.empty-state { padding: 30px !important; color: #99a3ae !important; text-align: center !important; }
.grid-panel { border: 1px solid var(--line); border-radius: 6px; background: white; }
.grid-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; }
.grid-toolbar > p { color: #8994a1; font-size: 10px; white-space: nowrap; }.grid-toolbar > p strong { color: var(--ink); }
.grid-search { display: flex; align-items: center; width: min(100%, 600px); height: 38px; border: 1px solid var(--line); border-radius: 4px; }
.grid-search > span { padding-left: 12px; color: #8995a4; font-size: 18px; }.grid-search input { width: 100%; height: 100%; padding: 0 10px; border: 0; outline: 0; font-size: 11px; }
.grid-search button { border: 0; cursor: pointer; }.grid-search .camera-search-button { align-self: stretch; display: grid; width: 42px; height: auto; flex: 0 0 auto; margin: 0; place-items: center; border-radius: 0; color: var(--blue); background: #e6f0fb; font-size: 16px; }.grid-search .camera-search-button:hover { background: #d8e9fa; }.grid-search .grid-search-submit { align-self: stretch; flex: 0 0 auto; padding: 0 17px; color: white; background: var(--blue); font-size: 10px; white-space: nowrap; }.grid-search a { margin: 0 10px; color: var(--muted); font-size: 9px; text-decoration: none; }
html[lang="ko"] .grid-search .grid-search-submit { flex: 0 0 auto; padding-inline: 12px; font-size: 9px; white-space: nowrap; }
.inventory-table-wrap { overflow: auto; max-height: calc(100vh - 285px); border-block: 1px solid var(--line); }
.inventory-table { min-width: 2350px; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 10px; }
.inventory-table th { position: sticky; z-index: 2; top: 0; padding: 12px 11px; border-bottom: 1px solid var(--line); color: #738091; background: #f7f9fb; font-size: 8px; letter-spacing: .055em; text-align: left; white-space: nowrap; }
.inventory-table td { max-width: 220px; padding: 11px; border-bottom: 1px solid #edf0f3; color: #526071; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inventory-table tbody tr:hover td { background: #f9fbfd; }.mono { font-family: "SFMono-Regular", Consolas, monospace; }.money { font-variant-numeric: tabular-nums; }
.part-link { color: var(--blue); font-weight: 800; text-decoration: none; }.description-cell { min-width: 210px; }
.criticality, .status { display: inline-flex; padding: 4px 7px; border-radius: 10px; font-size: 8px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.criticality-critical, .status-out_of_stock { color: #ad3333; background: #fdeaea; }.criticality-high, .status-low_stock { color: #ad5b16; background: #fff0df; }.criticality-medium, .status-on_order { color: #786018; background: #fff7d9; }.criticality-low, .status-in_stock { color: #237c55; background: #e4f5ed; }.status-inactive { color: #6f7984; background: #edf0f2; }
.status-available { color: #237c55; background: #e4f5ed; }.status-in_repair { color: #6953bb; background: #f0edfc; }.tooling-table { min-width: 1900px; }.tooling-finance > .inventory-summary { grid-column: span 1; }.tooling-finance { grid-template-columns: 1fr 1fr 1.35fr; }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 20px; padding: 13px 18px; color: #7c8794; font-size: 10px; }.pagination a { color: var(--blue); font-weight: 750; text-decoration: none; }
.empty-state.large { height: 180px; font-size: 13px; }
.type-asset-panel { margin: 18px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: white; }.type-asset-panel > header > span { color: #8a95a2; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.type-asset-panel .compact-table th:nth-child(n+2), .type-asset-panel .compact-table td:nth-child(n+2) { text-align: right; }.type-asset-panel tfoot td { padding: 12px 14px; border-top: 2px solid #dfe5eb; color: var(--ink); background: #f8fafb; }.detail-info small { display: block; margin-top: 4px; color: #929ca8; font-size: 8px; }
.history-filters { display: grid; grid-template-columns: minmax(230px, 2fr) repeat(3, minmax(130px, 1fr)) auto auto; gap: 10px; align-items: end; margin-bottom: 17px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: white; }.history-filters label { color: #637083; font-size: 9px; font-weight: 800; }.history-filters input, .history-filters select { width: 100%; height: 37px; margin-top: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 10px; }.history-filters button, .history-filters a { display: grid; height: 37px; padding: 0 16px; place-items: center; border: 0; border-radius: 4px; font-size: 10px; font-weight: 750; text-decoration: none; cursor: pointer; }.history-filters button { color: white; background: var(--blue); }.history-filters a { color: #5e6b7b; background: #edf1f5; }.history-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 17px; }.history-metrics article { padding: 17px 19px; border: 1px solid var(--line); border-radius: 5px; background: white; }.history-metric-clickable { cursor: pointer; }.history-metrics p { margin: 0 0 7px; color: #8793a1; font-size: 8px; font-weight: 800; letter-spacing: .09em; }.history-metrics strong { display: block; font-size: 23px; }.history-metrics span { color: #929ca8; font-size: 8px; }.history-layout { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(600px, 2fr); gap: 16px; }.history-layout .data-panel, .repair-history-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: white; }.history-layout .data-panel > header > span, .repair-history-panel > header > span { color: var(--muted); font-size: 9px; }.history-table-wrap { max-height: 520px; overflow: auto; }.movement-positive { color: #237c55 !important; font-weight: 800; }.movement-negative { color: #ad3333 !important; font-weight: 800; }.repair-history-panel .compact-table { min-width: 1100px; }
@media (max-width: 1100px) { .history-filters { grid-template-columns: repeat(2, 1fr); }.history-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .module-tabs { gap: 16px; overflow-x: auto; white-space: nowrap; }.history-filters, .history-metrics { grid-template-columns: 1fr; } }
.manual-board, .manual-detail { border: 1px solid var(--line); border-radius: 6px; background: white; }.manual-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); }.manual-search { display: flex; align-items: center; width: min(100%, 700px); height: 39px; border: 1px solid var(--line); border-radius: 4px; }.manual-search > span { padding-left: 12px; color: #8995a4; font-size: 18px; }.manual-search input { min-width: 0; width: 100%; height: 100%; padding: 0 10px; border: 0; outline: 0; }.manual-search button { align-self: stretch; flex: 0 0 auto; padding: 0 18px; border: 0; color: white; background: var(--blue); cursor: pointer; white-space: nowrap; }.manual-search a { padding: 0 11px; color: var(--muted); font-size: 9px; text-decoration: none; }.manual-toolbar > p { color: var(--muted); font-size: 10px; white-space: nowrap; }.manual-list article + article { border-top: 1px solid #edf0f3; }.manual-card-link { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 20px; color: inherit; text-decoration: none; }.manual-card-link:hover { background: #fafcfe; }.manual-thumbnail { display: grid; width: 150px; height: 105px; overflow: hidden; place-items: center; border-radius: 5px; color: #8ca0b5; background: #eef3f7; font-size: 30px; }.manual-thumbnail img { width: 100%; height: 100%; object-fit: cover; }.manual-card-meta { display: flex; gap: 10px; color: #7f8c9b; font-size: 8px; font-weight: 750; letter-spacing: .06em; }.manual-card-meta time { margin-left: auto; }.manual-card-body h2 { margin: 8px 0; font-size: 18px; }.manual-symptom, .manual-excerpt { margin: 5px 0; color: #5f6d7d; font-size: 11px; }.manual-symptom b { margin-right: 8px; color: #b04444; font-size: 8px; }.manual-author { margin-top: 10px; color: #939da9; font-size: 9px; }.manual-empty { padding: 70px !important; }.manual-detail { max-width: 1100px; margin: auto; overflow: hidden; }.manual-detail > header { padding: 30px 34px 25px; }.manual-record-meta { display: flex; gap: 8px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .1em; }.manual-detail h1 { margin: 11px 0 8px; font-size: 30px; }.manual-detail header > p { margin: 0; color: var(--muted); font-size: 10px; }.failure-summary { padding: 18px 34px; border-block: 1px solid #f0d4d4; background: #fff7f7; }.failure-summary p, .manual-section-label { margin: 0 0 7px; color: #a13d3d; font-size: 8px; font-weight: 800; letter-spacing: .1em; }.failure-summary strong { font-size: 13px; }.corrective-content, .manual-gallery { padding: 28px 34px; }.manual-section-label { color: var(--blue); }.manual-rich-content { color: #3d4b5c; font-size: 13px; line-height: 1.65; }.manual-rich-content h2, .manual-rich-content h3 { margin: 22px 0 8px; }.manual-rich-content blockquote { margin: 15px 0; padding: 10px 15px; border-left: 3px solid var(--blue); background: #f4f8fc; }.manual-gallery { border-top: 1px solid var(--line); }.manual-gallery > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.manual-gallery img { width: 100%; height: 190px; object-fit: cover; border-radius: 5px; }.manual-form { max-width: 1100px; }.wysiwyg { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }.wysiwyg-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: #f7f9fb; }.wysiwyg-toolbar button { min-width: 34px; padding: 7px 9px; border: 1px solid #d7dee6; border-radius: 3px; color: #445266; background: white; font-size: 10px; cursor: pointer; }.wysiwyg-editor { min-height: 280px; padding: 18px; outline: 0; color: #344154; font-size: 13px; line-height: 1.6; }.wysiwyg-editor:empty::before { content: attr(data-placeholder); color: #a0aab5; pointer-events: none; }.wysiwyg-editor.invalid { box-shadow: inset 0 0 0 2px #c33; }.manual-photo-picker { display: inline-flex; padding: 11px 15px; border: 1px solid var(--line); border-radius: 4px; font-size: 10px; font-weight: 800; cursor: pointer; }.manual-photo-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }.manual-photo-preview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }.manual-photo-preview img { width: 100%; height: 110px; object-fit: cover; border-radius: 4px; }
html[lang="ko"] .manual-search button { box-sizing: border-box; flex: 0 0 60px; width: 60px; min-width: 60px; padding: 0; font-size: 9px; letter-spacing: -.04em; white-space: nowrap !important; word-break: keep-all; }
@media (max-width: 700px) { .manual-card-link { grid-template-columns: 90px 1fr; gap: 13px; }.manual-thumbnail { width: 90px; height: 80px; }.manual-gallery > div { grid-template-columns: 1fr 1fr; }.manual-photo-preview { grid-template-columns: repeat(2, 1fr); }.manual-toolbar { align-items: stretch; flex-direction: column; }.manual-toolbar > p { margin: 0; } }
.inline-delete-form { margin: 0; }.inline-delete-form button { height: 100%; padding: 10px 14px; border: 1px solid #e2bcbc; border-radius: 4px; color: #ae3434; background: #fff5f5; font-size: 10px; font-weight: 800; cursor: pointer; }.existing-manual-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-bottom: 16px; }.existing-manual-photos label { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #f8fafb; }.existing-manual-photos img { display: block; width: 100%; height: 100px; object-fit: cover; }.existing-manual-photos span { display: flex; align-items: center; gap: 6px; padding: 8px; color: #a13d3d; font-size: 9px; font-weight: 750; }.existing-manual-photos input { margin: 0; }
@media (max-width: 700px) { .detail-actions { flex-wrap: wrap; }.existing-manual-photos { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 1180px) { .metric-grid { grid-template-columns: repeat(3, 1fr); }.dashboard-columns { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .sidebar, .sidebar-collapsed .sidebar { width: 264px; padding: 31px 22px 22px; transform: translateX(-100%); }.menu-open .sidebar { transform: none; box-shadow: 10px 0 30px rgba(0,0,0,.2); }.app-shell, .sidebar-collapsed .app-shell { margin-left: 0; }.sidebar-collapsed .sidebar-site, .sidebar-collapsed .side-nav > p, .sidebar-collapsed .nav-label, .sidebar-collapsed .side-nav small, .sidebar-collapsed .sidebar-user div, .sidebar-collapsed .sidebar-user form { display: initial; }.sidebar-collapsed .sidebar-brand { display: block; width: 185px; }.sidebar-collapsed .sidebar-top { justify-content: space-between; }.sidebar-collapsed .side-nav { margin-top: 0; }.sidebar-collapsed .side-nav a { justify-content: flex-start; padding: 0 12px; }.sidebar-collapsed .sidebar-user { justify-content: flex-start; }.mobile-menu-toggle { display: grid; margin-right: 16px; }.sidebar-menu-toggle { margin-right: 0; }.app-header { padding: 0 20px; }.app-content { padding: 28px 18px 45px; }
  .global-part-search { width: min(65vw, 430px); margin-left: 0; }.global-part-search kbd { display: none; }
  .metric-grid, .finance-grid { grid-template-columns: 1fr 1fr; }.inventory-summary { grid-column: 1 / -1; }.page-heading { align-items: flex-start; }.inventory-heading { flex-direction: column; }.admin-button { margin-left: 0; }
  .tooling-finance { grid-template-columns: 1fr 1fr; }.tooling-finance > .inventory-summary { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .metric-grid, .finance-grid, .tooling-finance { grid-template-columns: 1fr; }.inventory-summary, .tooling-finance > .inventory-summary { grid-column: auto; grid-template-columns: 1fr; }.inventory-summary div + div { padding: 14px 0 0; border-top: 1px solid #29405c; border-left: 0; }.grid-toolbar { align-items: flex-end; flex-direction: column; }.grid-search { width: 100%; }.welcome-panel { align-items: flex-start; flex-wrap: wrap; }.primary-link { margin-left: 76px; } }
.unified-results { display: grid; gap: 18px; }.unified-results .data-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: white; }.unified-results .data-panel header > span { color: var(--muted); font-size: 10px; }

/* Inventory registration and retrieval */
.message-stack { margin-bottom: 18px; }.flash-message { padding: 13px 16px; border: 1px solid #b9e2cf; border-radius: 5px; color: #20734f; background: #e9f7f0; font-size: 12px; font-weight: 700; }
.secondary-button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: white; font-size: 11px; font-weight: 700; text-decoration: none; }
.item-form { max-width: 1050px; }.form-section { margin-bottom: 15px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #edf0f3; }.section-heading > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--blue); background: #edf5fc; font-size: 9px; font-weight: 800; }.section-heading h2 { margin: 0 0 4px; font-size: 16px; }.section-heading p { margin: 0; color: #8a95a2; font-size: 10px; }
.photo-upload { display: flex; align-items: center; gap: 24px; }.photo-preview { display: grid; width: 180px; height: 125px; place-items: center; overflow: hidden; border: 1px dashed #bfc9d4; border-radius: 5px; color: #96a2af; background: #f8fafb; text-align: center; }.photo-preview span { align-self: end; font-size: 28px; }.photo-preview p { align-self: start; margin: 5px; font-size: 10px; }.photo-preview img { width: 100%; height: 100%; object-fit: cover; }.photo-upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }.upload-button { display: inline-flex; padding: 10px 15px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; font-weight: 750; cursor: pointer; }.upload-hint { display: block; margin-top: 8px; color: #8995a2; font-size: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }.form-field.wide { grid-column: span 2; }.form-field label, :is(.outbound-form, .inbound-form) > label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #435064; font-size: 10px; font-weight: 750; }.form-field label b { color: #cc4444; }.form-field input, .form-field select, .form-field textarea, :is(.outbound-form, .inbound-form) input, :is(.outbound-form, .inbound-form) textarea { width: 100%; height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 4px; outline: none; background: white; font-size: 11px; }.form-field input:focus, .form-field select:focus, :is(.outbound-form, .inbound-form) input:focus, :is(.outbound-form, .inbound-form) textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,92,189,.1); }.form-field small { display: block; margin-top: 5px; color: #8b96a3; font-size: 9px; }.field-error { display: block; margin-top: 5px; color: #b93636 !important; font-size: 10px; }.form-errors { margin-bottom: 15px; color: #ad3333; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; padding: 10px 0; }.form-actions a { color: #6f7b89; font-size: 11px; text-decoration: none; }.form-actions button { min-width: 190px; padding: 13px 17px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 11px; font-weight: 750; cursor: pointer; }.form-actions button span { float: right; }
.clickable-row { cursor: pointer; }.detail-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; }.detail-breadcrumb { display: flex; gap: 9px; margin-bottom: 0; color: #87929f; font-size: 10px; }.detail-breadcrumb a { color: var(--blue); font-weight: 700; text-decoration: none; }.detail-actions { display: flex; gap: 8px; }.print-label-button, .edit-item-button { padding: 10px 14px; border: 1px solid #b9c7d6; border-radius: 4px; color: #344154; background: white; font-size: 10px; font-weight: 800; text-decoration: none; }.print-label-button:hover, .edit-item-button:hover { border-color: var(--blue); color: var(--blue); }.edit-item-button { color: white; border-color: var(--blue); background: var(--blue); }.edit-item-button:hover { color: white; background: #064d9e; }
.item-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; }.item-profile, .retrieval-panel, .movement-panel { border: 1px solid var(--line); border-radius: 6px; background: white; }.item-profile { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; }.item-image { grid-row: span 3; min-height: 370px; border-right: 1px solid var(--line); background: #f3f5f7; }.item-image img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }.image-placeholder { display: grid; height: 100%; min-height: 370px; place-content: center; color: #9aa5b1; text-align: center; }.image-placeholder span { font-size: 45px; }.image-placeholder p { font-size: 11px; }
.item-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 29px 28px 22px; }.item-title p { margin: 0 0 7px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; }.item-title h1 { margin: 0 0 8px; font-size: 29px; letter-spacing: -.04em; }.item-title div > span { color: #6f7b89; font-size: 12px; }
.stock-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 28px; border-block: 1px solid var(--line); }.stock-strip div { padding: 17px 10px; }.stock-strip div + div { border-left: 1px solid var(--line); }.stock-strip p { margin: 0 0 8px; color: #8a95a3; font-size: 8px; font-weight: 800; letter-spacing: .1em; }.stock-strip strong { font-size: 18px; }
.detail-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; padding: 23px 28px 27px; }.detail-info div { min-width: 0; }.detail-info span { display: block; margin-bottom: 5px; color: #939da9; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.detail-info strong { display: block; overflow: hidden; color: #344154; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.retrieval-panel { padding: 25px; }:is(.retrieval-heading, .inbound-heading) { display: flex; align-items: center; gap: 12px; }:is(.retrieval-heading, .inbound-heading) > span { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 5px; color: white; background: var(--blue); font-size: 20px; }:is(.retrieval-heading, .inbound-heading) p { margin: 0 0 3px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .12em; }:is(.retrieval-heading, .inbound-heading) h2 { margin: 0; font-size: 18px; }.retrieval-help { margin: 18px 0 22px; color: #7e8996; font-size: 10px; line-height: 1.55; }:is(.outbound-form, .inbound-form) > label { margin-top: 15px; }:is(.outbound-form, .inbound-form) label small { color: #929ca8; font-weight: 500; }:is(.outbound-form, .inbound-form) textarea { height: 67px; padding-top: 9px; resize: vertical; }:is(.outbound-form, .inbound-form) button { display: flex; justify-content: space-between; width: 100%; margin-top: 21px; padding: 13px 15px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 11px; font-weight: 750; cursor: pointer; }.out-of-stock-message { margin-top: 25px; padding: 17px; border-left: 3px solid #c84242; background: #fdf0f0; }.out-of-stock-message strong { color: #ae3333; }.out-of-stock-message p { margin: 6px 0 0; color: #8a6767; font-size: 10px; }
.inbound-action { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.movement-panel { margin-top: 16px; overflow: hidden; }.movement-panel > header { padding: 19px 21px 13px; }.movement-panel h2 { margin: 3px 0 0; font-size: 16px; }.movement-type { padding: 4px 7px; border-radius: 3px; font-size: 8px; font-weight: 800; text-transform: uppercase; }.movement-in { color: #237c55; background: #e4f5ed; }.movement-out { color: #a94545; background: #fdeaea; }
.legacy-record { color: #929ca8; font-size: 8px; font-style: italic; }
@media (min-width: 1101px) {
  .inventory-detail-layout .item-profile { grid-template-columns: min(560px, 50%) minmax(0, 1fr); }
  .inventory-detail-layout .item-title { min-width: 0; flex-wrap: wrap; }
  .inventory-detail-layout .item-title > div { min-width: 0; overflow-wrap: anywhere; }
}
.repair-timeline { margin: 25px 0; }.repair-timeline > div { position: relative; display: flex; gap: 13px; min-height: 58px; }.repair-timeline > div:not(:last-child)::after { content: ""; position: absolute; top: 17px; bottom: -2px; left: 5px; width: 1px; background: #d8dfe7; }.repair-timeline i { position: relative; z-index: 1; width: 11px; height: 11px; flex: 0 0 auto; margin-top: 3px; border: 2px solid #aab5c1; border-radius: 50%; background: white; }.repair-timeline .complete i { border-color: #25865d; background: #25865d; }.repair-timeline small, .repair-timeline strong { display: block; }.repair-timeline small { margin-bottom: 5px; color: #8995a2; font-size: 8px; font-weight: 800; letter-spacing: .1em; }.repair-timeline strong { color: #354256; font-size: 11px; }.tooling-status-summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 4px; background: #f3f6f9; }.tooling-status-summary span { color: #8995a2; font-size: 8px; font-weight: 800; letter-spacing: .1em; }.tooling-status-summary strong { font-size: 11px; }.repair-edit-link { display: flex; justify-content: space-between; margin-top: 18px; padding: 12px 14px; border-radius: 4px; color: white; background: var(--blue); font-size: 10px; font-weight: 750; text-decoration: none; }
@media (max-width: 1100px) { .item-detail-layout { grid-template-columns: 1fr; }.item-profile { grid-template-columns: 230px 1fr; }.retrieval-panel { max-width: none; }.form-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; }.form-field.wide { grid-column: auto; }.photo-upload { align-items: flex-start; flex-direction: column; }.item-profile { display: block; }.item-image, .item-image img, .image-placeholder { min-height: 260px; max-height: 330px; border-right: 0; }.stock-strip { grid-template-columns: 1fr 1fr; }.stock-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.stock-strip div:nth-child(4) { border-top: 1px solid var(--line); }.detail-info { grid-template-columns: 1fr 1fr; } }

@media (max-width: 700px) {
  .inventory-detail-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .inventory-detail-toolbar .detail-breadcrumb { min-width: 0; align-items: baseline; }
  .inventory-detail-toolbar .detail-breadcrumb > a,
  .inventory-detail-toolbar .detail-breadcrumb > span:not(.detail-part-name) { flex-shrink: 0; }
  .inventory-detail-toolbar .detail-part-name { min-width: 0; overflow-wrap: anywhere; }
  .inventory-detail-toolbar .detail-actions { flex-wrap: nowrap; justify-content: flex-end; }
  .inventory-detail-toolbar .detail-actions a { white-space: nowrap; text-align: center; }
}
@media (max-width: 680px) {
  .inventory-detail-layout .item-image { height: clamp(300px, 90vw, 370px); min-height: 0; max-height: none; }
  .inventory-detail-layout .item-image img,
  .inventory-detail-layout .image-placeholder { display: block; height: 100%; min-height: 0; max-height: none; }
  .inventory-detail-layout .image-placeholder { display: grid; }
  .inventory-detail-layout .item-title { min-width: 0; flex-wrap: wrap; }
  .inventory-detail-layout .item-title > div { min-width: 0; overflow-wrap: anywhere; }
}

/* Public account registration */
.signup-prompt { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); color: #7e8996; font-size: 12px; }.signup-prompt a { color: var(--blue); font-weight: 800; text-decoration: none; }
.signup-page { min-height: 100vh; background: var(--surface); }.signup-shell { display: grid; grid-template-columns: minmax(360px, 37%) 1fr; min-height: 100vh; }.signup-brand { display: flex; flex-direction: column; justify-content: space-between; padding: 48px 55px; color: white; background: linear-gradient(150deg, var(--navy), #0a345f); }.signup-brand .brand-mark { text-decoration: none; }.signup-brand h1 { margin: 0; font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -.055em; }.signup-brand div > p:last-child { max-width: 380px; margin-top: 26px; color: #aec0d3; font-size: 14px; line-height: 1.65; }
.signup-panel { display: flex; align-items: center; justify-content: center; padding: 45px; }.signup-card { width: min(100%, 620px); }.back-link { display: inline-block; margin-bottom: 38px; color: #6f7c8c; font-size: 11px; font-weight: 700; text-decoration: none; }.signup-card > .eyebrow { margin-bottom: 10px; }.signup-card h2 { margin: 0; font-size: 34px; letter-spacing: -.04em; }.signup-help { margin: 9px 0 29px; color: var(--muted); font-size: 12px; }.signup-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.signup-field.full { grid-column: span 2; }.signup-field label { display: block; margin-bottom: 7px; color: #3d4a5c; font-size: 11px; font-weight: 750; }.signup-field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; outline: none; background: white; font-size: 12px; }.signup-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,92,189,.1); }.signup-field > small:not(.field-error) { display: block; margin-top: 5px; color: #8c97a4; font-size: 9px; }.signup-card .submit-button { margin-top: 25px; }.approval-note { margin: 20px 0 0; padding: 13px 15px; border-left: 3px solid #d7962d; color: #826c48; background: #fff8e9; font-size: 10px; line-height: 1.5; }.approval-note strong { display: block; color: #6e552c; }
.pending-shell { display: grid; min-height: 100vh; padding: 30px; place-items: center; }.pending-card { width: min(100%, 520px); padding: 48px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 16px 45px rgba(15,38,64,.08); text-align: center; }.pending-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 25px; place-items: center; border-radius: 50%; color: #23835a; background: #e5f6ee; font-size: 25px; font-weight: 800; }.pending-card .eyebrow { margin-bottom: 10px; }.pending-card h1 { margin: 0; font-size: 31px; letter-spacing: -.04em; }.pending-card > p:not(.eyebrow) { margin: 13px auto 28px; color: var(--muted); font-size: 12px; line-height: 1.65; }.pending-steps { display: grid; grid-template-columns: 29px 1fr; gap: 0 12px; margin: 0 0 27px; text-align: left; }.pending-steps > span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 10px; font-weight: 800; }.pending-steps > p { margin: 0 0 17px; }.pending-steps strong, .pending-steps small { display: block; }.pending-steps strong { font-size: 11px; }.pending-steps small { margin-top: 3px; color: #8d97a3; font-size: 9px; }.pending-steps i { width: 1px; height: 17px; margin: -16px 0 0 14px; background: var(--line); }.pending-card .submit-button { text-decoration: none; }
@media (max-width: 760px) { .signup-shell { display: block; }.signup-brand { display: none; }.signup-panel { min-height: 100vh; padding: 35px 22px; }.signup-form-grid { grid-template-columns: 1fr; }.signup-field.full { grid-column: auto; }.pending-card { padding: 38px 25px; } }

/* Camera barcode scanner */
.scanner-modal[hidden] { display: none; }.scanner-modal { position: fixed; z-index: 100; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(2, 13, 27, .78); backdrop-filter: blur(4px); }.scanner-open { overflow: hidden; }.scanner-dialog { width: min(100%, 520px); overflow: hidden; border: 1px solid #31455e; border-radius: 9px; color: white; background: var(--navy); box-shadow: 0 25px 70px rgba(0,0,0,.35); }.scanner-dialog > header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; }.scanner-dialog header p { margin: 0 0 4px; color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .14em; }.scanner-dialog h2 { margin: 0; font-size: 19px; }.scanner-close { width: 32px; height: 32px; border: 1px solid #40546d; border-radius: 50%; color: #b6c4d3; background: transparent; font-size: 21px; cursor: pointer; }.camera-viewport { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin: 0 22px; border-radius: 6px; background: #020812; }.camera-viewport video { width: 100%; height: 100%; object-fit: cover; }.scan-frame { position: absolute; inset: 16%; }.scan-frame i { position: absolute; width: 34px; height: 34px; border-color: var(--cyan); border-style: solid; }.scan-frame i:nth-child(1) { top: 0; left: 0; border-width: 3px 0 0 3px; }.scan-frame i:nth-child(2) { top: 0; right: 0; border-width: 3px 3px 0 0; }.scan-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 3px 3px 0; }.scan-frame i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 3px 3px; }.scan-line { position: absolute; right: 16%; left: 16%; top: 50%; height: 1px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: scanMove 2s ease-in-out infinite; }.scanner-status { min-height: 16px; margin: 16px 22px 10px; color: #aebed0; font-size: 10px; text-align: center; }.scanner-actions { display: flex; justify-content: center; gap: 9px; margin: 0 22px 20px; }.scanner-cancel, .scanner-photo { display: block; margin: 0; padding: 9px 15px; border: 1px solid #40546d; border-radius: 4px; color: white; background: transparent; font-size: 10px; cursor: pointer; }.scanner-photo { color: var(--navy); border-color: var(--cyan); background: var(--cyan); font-weight: 800; }.scanner-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.scanner-camera-tools { display: flex; align-items: flex-end; gap: 10px; margin: -3px 22px 12px; }.scanner-camera-tools label { flex: 1; color: #7f96ad; font-size: 7px; font-weight: 900; letter-spacing: .1em; }.scanner-camera-tools select { display: block; width: 100%; height: 32px; margin-top: 5px; padding: 0 8px; border: 1px solid #40546d; border-radius: 4px; color: #d7e2ed; background: #0d2947; font-size: 9px; }.scanner-camera-tools label[hidden] { display: none; }.scanner-camera-tools input[type="range"] { display: block; width: 120px; height: 32px; margin-top: 5px; accent-color: var(--cyan); }.scanner-camera-tools > span { min-width: 62px; padding-bottom: 9px; color: #7f96ad; font: 8px/1 monospace; text-align: right; }
@keyframes scanMove { 0%, 100% { top: 25%; opacity: .5; } 50% { top: 75%; opacity: 1; } }
@media (max-width: 520px) { .scanner-modal { padding: 0; }.scanner-dialog { width: 100%; height: 100%; border: 0; border-radius: 0; }.camera-viewport { margin-top: 8vh; }.header-date { display: none; } }

.manual-rich-content { white-space: pre-wrap; }.manual-rich-content p { margin: 0 0 12px; }.manual-rich-content p:last-child { margin-bottom: 0; }.manual-inline-image { display: block; height: auto; margin-block: 13px; border-radius: 5px; }.manual-inline-image.size-small { width: 25%; }.manual-inline-image.size-medium { width: 50%; }.manual-inline-image.size-large { width: 100%; }.manual-inline-image.align-left { margin-right: auto; margin-left: 0; }.manual-inline-image.align-center { margin-right: auto; margin-left: auto; }.manual-inline-image.align-right { margin-right: 0; margin-left: auto; }.wysiwyg-editor .manual-inline-image { cursor: grab; }.wysiwyg-editor .manual-inline-image.editing { outline: 3px solid rgba(7,92,189,.35); }.image-format-tools { display: inline-flex; gap: 3px; padding-left: 6px; border-left: 1px solid #ccd5df; }.inline-upload-status { min-height: 18px; margin: 0; padding: 5px 10px 0; color: #718092; background: #f7f9fb; font-size: 9px; }

.manual-photo-actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* 90 x 30 mm label designer */
.label-print-button { padding: 12px 18px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 11px; font-weight: 800; cursor: pointer; }.label-designer { display: grid; grid-template-columns: 255px minmax(500px, 1fr) 245px; gap: 16px; align-items: start; }.label-tools, .preset-panel { display: grid; gap: 14px; }.label-tools section, .preset-panel section, .preset-panel form { padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: white; }.label-tools h2, .preset-panel h2 { margin: 0 0 15px; font-size: 14px; }.label-tools label, .preset-panel label { display: block; margin-top: 11px; color: #556274; font-size: 9px; font-weight: 800; }.label-tools input, .label-tools select, .preset-panel input, .preset-panel select { width: 100%; height: 36px; margin-top: 6px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 10px; }.label-tools section > button, .preset-panel button { width: 100%; margin-top: 8px; padding: 10px; border: 1px solid #cbd4df; border-radius: 4px; color: #405064; background: #f8fafc; font-size: 10px; font-weight: 750; cursor: pointer; }.label-tools section > button:hover, .preset-panel button:hover { border-color: var(--blue); color: var(--blue); }.tool-section-title { display: flex; align-items: center; justify-content: space-between; }.tool-section-title h2 { margin: 0; }.tool-section-title #delete-element { width: auto; margin: 0; padding: 5px 8px; color: #b33d3d; background: #fff1f1; }.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.check-label { display: flex !important; align-items: center; gap: 7px; }.check-label input { width: 15px; height: 15px; margin: 0; }.label-workspace { min-width: 0; padding: 30px 22px; overflow: auto; border: 1px solid var(--line); border-radius: 6px; background: #e8edf2; }.label-ruler { width: min(100%, 900px); margin: 0 auto 8px; color: #6f7d8d; font-size: 9px; text-align: center; }.label-stage { display: grid; min-width: 680px; padding: 35px 20px; place-items: center; }.label-canvas { position: relative; width: 90mm; height: 30mm; overflow: hidden; border: 1px solid #9aa5b1; background-color: white; background-image: linear-gradient(#edf0f3 1px, transparent 1px), linear-gradient(90deg, #edf0f3 1px, transparent 1px); background-size: 5mm 5mm; box-shadow: 0 10px 30px rgba(23,42,64,.15); touch-action: none; }.label-element { position: absolute; z-index: 1; overflow: hidden; outline: 1px dashed transparent; cursor: move; user-select: none; }.label-element.selected { z-index: 2; outline: 1px dashed var(--blue); background-color: rgba(7,92,189,.04); }.label-element img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }.label-text { display: flex; align-items: center; white-space: pre-wrap; line-height: 1.05; }.label-help { margin: 12px 0 0; color: #788594; font-size: 9px; text-align: center; }.preset-panel select { height: 180px; padding: 5px; }.preset-panel select option { padding: 7px; }.preset-panel .preset-save { color: white; border-color: var(--blue); background: var(--blue); }.preset-panel .preset-delete { color: #ae3c3c; border-color: #edcccc; background: #fff5f5; }
@media (max-width: 1350px) { .label-designer { grid-template-columns: 235px minmax(450px, 1fr); }.preset-panel { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1fr; }.preset-panel select { height: 100px; } }
@media (max-width: 850px) { .label-heading { align-items: flex-start; flex-direction: column; }.label-designer { grid-template-columns: 1fr; }.label-workspace { grid-row: 1; }.preset-panel { grid-column: auto; grid-template-columns: 1fr; } }
@page { size: 90mm 30mm; margin: 0; }
@media print { html, body { width: 90mm !important; height: 30mm !important; margin: 0 !important; padding: 0 !important; background: white !important; }.sidebar, .app-header, .page-heading, .label-tools, .preset-panel, .label-ruler, .label-help, .message-stack { display: none !important; }.app-shell, .app-content, .label-designer, .label-workspace, .label-stage { display: block !important; width: 90mm !important; min-width: 0 !important; height: 30mm !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: white !important; }.label-canvas { width: 90mm !important; height: 30mm !important; border: 0 !important; box-shadow: none !important; background: white !important; }.label-element { outline: 0 !important; background: transparent !important; } }

/* Maintenance KPIs */
.kpi-heading { align-items: flex-end; }.kpi-period { display: flex; align-items: flex-end; gap: 10px; margin: 16px 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 6px; background: white; }.kpi-period label { color: #758193; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.kpi-period input { display: block; height: 35px; margin-top: 5px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: #273548; background: #fafbfd; }.kpi-period button, .kpi-save { height: 35px; padding: 0 16px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 9px; font-weight: 800; cursor: pointer; }
.kpi-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }.kpi-cards article { position: relative; overflow: hidden; padding: 21px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 6px 18px rgba(26,48,75,.04); }.kpi-cards article::after { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #2b77c7; }.kpi-cards article.availability::after { background: #29a473; }.kpi-cards article.danger::after { background: #d55b58; }.kpi-cards p { margin: 0 0 10px; color: #84909e; font-size: 8px; font-weight: 900; letter-spacing: .13em; }.kpi-cards strong { display: block; color: #17283b; font-size: 28px; letter-spacing: -.04em; }.kpi-cards span { display: block; margin-top: 7px; color: #8b96a3; font-size: 9px; }
.kpi-dashboard-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }.kpi-chart-panel, .kpi-settings-card { padding: 21px; border: 1px solid var(--line); border-radius: 7px; background: white; }.kpi-chart-panel > header, .kpi-open-events > header, .kpi-table-panel > header { display: flex; align-items: center; justify-content: space-between; }.kpi-chart-panel h2, .kpi-open-events h2, .kpi-table-panel h2, .kpi-settings-card h2 { margin: 3px 0 0; font-size: 16px; }.kpi-chart-panel header > span { color: #8a95a2; font-size: 9px; }.panel-kicker.danger { color: #bd4d4d; }
.downtime-chart { display: flex; align-items: flex-end; gap: 6px; height: 210px; padding-top: 28px; }.chart-column { display: flex; flex: 1; align-items: center; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }.chart-column i { width: min(100%, 22px); min-height: 0; border-radius: 3px 3px 0 0; background: linear-gradient(#2581dc, #075cbd); }.chart-column small, .chart-value { color: #8c97a4; font-size: 7px; }.chart-column small { margin-top: 7px; }.chart-value { height: 15px; white-space: nowrap; }.equipment-bars { display: grid; gap: 18px; margin-top: 25px; }.equipment-bars p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 7px; font-size: 10px; }.equipment-bars p span { color: #85919f; font-size: 8px; }.equipment-bars > div > i { display: block; height: 7px; overflow: hidden; border-radius: 9px; background: #edf1f5; }.equipment-bars b { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg, #ef8b69, #cf4c4c); }.kpi-open-events, .kpi-table-panel { margin-top: 16px; }.kpi-open-events > header, .kpi-table-panel > header { padding: 18px 20px; }.kpi-open-events header > a, .table-edit-link { color: var(--blue); font-size: 9px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.kpi-hero { margin: 16px 0; padding: 27px 30px; border-radius: 8px; color: white; background: linear-gradient(120deg, #102d4b, #0861bd); box-shadow: 0 12px 26px rgba(11,57,103,.17); }.kpi-hero.mtbf { background: linear-gradient(120deg, #153b3c, #13856d); }.kpi-hero p { margin: 0 0 8px; color: #8ed5ff; font-size: 8px; font-weight: 900; letter-spacing: .15em; }.kpi-hero strong { display: block; font-size: 30px; letter-spacing: -.04em; }.kpi-hero span { display: block; margin-top: 8px; color: #c1d4e8; font-size: 9px; }
.kpi-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }.kpi-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 18px; }.kpi-form-grid .wide { grid-column: 1 / -1; }.kpi-form-grid input, .kpi-form-grid select { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: #fafbfd; }.kpi-days ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }.kpi-days label { display: flex; align-items: center; gap: 5px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 4px; background: #f8fafc; }.kpi-days input { width: 13px; height: 13px; }.production-hours-preview { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 13px; padding: 13px; border-radius: 5px; background: #edf6ff; }.production-hours-preview span { color: #55718e; font-size: 8px; font-weight: 900; }.production-hours-preview strong { color: var(--blue); font-size: 12px; }.equipment-list { display: grid; gap: 7px; margin-top: 18px; }.equipment-list > div { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; }.equipment-list p { margin: 0; }.equipment-list strong, .equipment-list span { display: block; }.equipment-list strong { font-size: 10px; }.equipment-list span { margin-top: 3px; color: #8995a3; font-size: 8px; }.equipment-list button { padding: 6px 9px; border: 0; border-radius: 12px; color: #237655; background: #e6f5ee; font-size: 8px; font-weight: 800; cursor: pointer; }.equipment-list button.inactive { color: #7d8792; background: #eef1f4; }.kpi-event-form { max-width: 900px; margin-top: 16px; }
@media (max-width: 1050px) { .kpi-cards { grid-template-columns: 1fr 1fr; }.kpi-dashboard-grid, .kpi-settings-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kpi-cards { grid-template-columns: 1fr; }.kpi-period { align-items: stretch; flex-direction: column; }.kpi-period input, .kpi-period button { width: 100%; }.kpi-form-grid { grid-template-columns: 1fr; }.kpi-form-grid .wide { grid-column: auto; }.downtime-chart { gap: 2px; }.chart-column small { font-size: 6px; } }

/* Routine maintenance */
.routine-heading { align-items: flex-end; }.routine-summary-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 16px; }.routine-summary-cards article { padding: 19px 21px; border: 1px solid var(--line); border-top: 3px solid #377ec7; border-radius: 7px; background: white; }.routine-summary-cards article.success { border-top-color: #28a06e; }.routine-summary-cards article.warning { border-top-color: #d6524e; background: #fffafa; }.routine-summary-cards p { margin: 0 0 8px; color: #8994a1; font-size: 8px; font-weight: 900; letter-spacing: .11em; }.routine-summary-cards strong { display: block; color: #182a3e; font-size: 27px; }.routine-summary-cards span { color: #8b96a3; font-size: 8px; }
.routine-week-panel, .routine-plan-list { border: 1px solid var(--line); border-radius: 7px; background: white; }.routine-week-panel > header, .routine-plan-list > header { padding: 18px 20px 4px; }.routine-week-panel h2, .routine-plan-list h2 { margin: 3px 0 0; font-size: 16px; }.routine-week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 17px 20px 21px; }.routine-day-card { padding: 15px; border: 1px solid #e0e5eb; border-radius: 6px; color: inherit; background: #fafbfd; text-decoration: none; transition: .15s ease; }.routine-day-card:hover { border-color: #a7bfd8; transform: translateY(-2px); }.routine-day-card.today { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f5faff; }.routine-day-card.missed { border-color: #efc9c7; background: #fff8f7; }.routine-day-card > header { display: flex; justify-content: space-between; }.routine-day-card header span { color: #7f8b99; font-size: 9px; font-weight: 900; text-transform: uppercase; }.routine-day-card header strong { font-size: 10px; }.routine-ring { display: grid; width: 66px; height: 66px; margin: 17px auto 12px; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--rate) * 1%), #e6ebf0 0); }.routine-ring::before { content: ""; grid-area: 1/1; width: 52px; height: 52px; border-radius: 50%; background: white; }.routine-ring b { z-index: 1; grid-area: 1/1; font-size: 12px; }.routine-day-card > p { margin: 0; color: #788595; font-size: 8px; text-align: center; }.routine-day-card footer { min-height: 16px; margin-top: 12px; padding-top: 9px; border-top: 1px solid #e6eaef; color: #8b96a2; font-size: 8px; text-align: center; }.danger-text { color: #c74743; font-weight: 800; }.caution-text { color: #b67a13; font-weight: 800; }.ok-text { color: #22825a; font-weight: 800; }
.routine-dashboard-grid { display: grid; grid-template-columns: minmax(600px, 2fr) minmax(250px, .75fr); gap: 16px; margin-top: 16px; }.routine-today, .routine-alerts { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }.routine-today > header, .routine-alerts > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }.routine-today h2, .routine-alerts h2 { margin: 3px 0 0; font-size: 16px; }.routine-today header > a { color: var(--blue); font-size: 9px; font-weight: 800; text-decoration: none; }.routine-result, .routine-pending { display: inline-block; padding: 5px 8px; border-radius: 12px; font-size: 8px; font-weight: 800; }.result-O { color: #237a56; background: #e4f5ed; }.result-T { color: #9a6814; background: #fff3d9; }.result-X { color: #b43e3b; background: #fde8e7; }.routine-pending { color: #647181; background: #edf1f5; }.routine-alerts > a { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-top: 1px solid #edf0f3; color: inherit; text-decoration: none; }.routine-alerts a strong, .routine-alerts a span { display: block; }.routine-alerts a strong { font-size: 10px; }.routine-alerts a span { margin-top: 3px; color: #b04845; font-size: 8px; }.routine-alerts a > b { color: var(--blue); font-size: 8px; }.routine-clear, .routine-empty { padding: 35px 20px; color: #84909d; text-align: center; }.routine-clear > span, .routine-empty > span { display: grid; width: 42px; height: 42px; margin: 0 auto 10px; place-items: center; border-radius: 50%; color: #26835c; background: #e5f5ed; font-size: 18px; }.routine-clear strong { color: #344255; }.routine-clear p, .routine-empty p { font-size: 9px; }
.routine-date-picker label { color: #758193; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.routine-date-picker input { display: block; height: 37px; margin-top: 5px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: white; }.routine-lock-banner { margin-bottom: 14px; padding: 13px 16px; border-left: 3px solid #d19228; color: #795f32; background: #fff7e7; font-size: 10px; }.routine-execution-meta { display: flex; justify-content: space-between; margin-bottom: 13px; padding: 16px 19px; border: 1px solid var(--line); border-radius: 6px; background: white; }.routine-execution-meta div:last-child { text-align: right; }.routine-execution-meta span, .routine-execution-meta strong { display: block; }.routine-execution-meta span { margin-bottom: 4px; color: #8995a3; font-size: 8px; font-weight: 900; letter-spacing: .1em; }.routine-execution-meta strong { font-size: 14px; }.routine-checklist { display: grid; gap: 13px; }.routine-check-item { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }.routine-check-item.completed { border-left: 3px solid #3a9970; }.routine-check-item > header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #f8fafb; }.routine-check-item header p { margin: 0 0 3px; color: var(--blue); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.routine-check-item header h2 { margin: 0; font-size: 14px; }.routine-check-item header > span { padding: 5px 8px; border-radius: 12px; color: #506175; background: #e8edf2; font-size: 8px; font-weight: 800; }.routine-task-copy { padding: 15px 18px 5px; }.routine-task-copy > strong { font-size: 12px; }.routine-task-copy p { margin: 6px 0 0; color: #788595; font-size: 9px; line-height: 1.5; }.routine-choice-row { display: flex; gap: 8px; padding: 12px 18px; }.routine-choice-row label { flex: 1; cursor: pointer; }.routine-choice-row input { position: absolute; opacity: 0; }.routine-choice-row label > span { display: grid; height: 43px; place-items: center; border: 1px solid #dce2e8; border-radius: 5px; color: #768392; background: #fafbfd; font-size: 24px; }.routine-choice-row label > b { display: block; margin-top: 5px; color: #758191; font-size: 8px; text-align: center; }.choice-normal input:checked + span { color: #25815b; border-color: #5caf8d; background: #e9f7f0; }.choice-caution input:checked + span { color: #b27916; border-color: #d8ad5e; background: #fff6df; }.choice-fault input:checked + span { color: #bc403d; border-color: #d77c78; background: #feebea; }.routine-choice-row input:disabled + span { cursor: default; opacity: .75; }.routine-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 3px 18px 17px; }.routine-notes label { color: #526174; font-size: 8px; font-weight: 800; }.routine-notes textarea { width: 100%; margin-top: 6px; padding: 9px; border: 1px solid var(--line); border-radius: 4px; font: inherit; resize: vertical; }.routine-notes textarea:disabled { color: #687687; background: #f5f7f9; }.routine-check-item > footer { padding: 10px 18px; border-top: 1px solid #edf0f3; color: #8995a2; background: #fafbfd; font-size: 8px; }.routine-submit-bar { position: sticky; z-index: 5; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid #cbd6e1; border-radius: 6px; background: rgba(255,255,255,.96); box-shadow: 0 -7px 22px rgba(22,45,70,.08); }.routine-submit-bar p { margin: 0; color: #7d8997; font-size: 9px; }.routine-submit-bar button { padding: 11px 16px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 9px; font-weight: 800; cursor: pointer; }
.routine-settings-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 16px; }.routine-settings-grid textarea { width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 4px; resize: vertical; }.routine-schedule-help { margin: 13px 0; padding: 10px 12px; color: #61748a; background: #edf5fc; font-size: 8px; line-height: 1.5; }.routine-plan-list { margin-top: 16px; padding-bottom: 12px; }.routine-equipment-group { margin: 12px 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }.routine-equipment-group.inactive { opacity: .62; }.routine-equipment-group > header { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; background: #f8fafb; }.routine-equipment-group h3 { margin: 0; font-size: 13px; }.routine-equipment-group header span { color: #8a95a3; font-size: 8px; }.routine-equipment-group header button, .routine-status-button { padding: 6px 9px; border: 0; border-radius: 12px; color: #237655; background: #e6f5ee; font-size: 8px; font-weight: 800; cursor: pointer; }.routine-status-button.inactive { color: #737f8d; background: #ebeff3; }
@media (max-width: 1100px) { .routine-summary-cards { grid-template-columns: 1fr 1fr; }.routine-dashboard-grid, .routine-settings-grid { grid-template-columns: 1fr; }.routine-week-grid { overflow-x: auto; grid-template-columns: repeat(5, minmax(150px, 1fr)); } }
@media (max-width: 620px) { .routine-summary-cards { grid-template-columns: 1fr; }.routine-heading { align-items: flex-start; flex-direction: column; }.routine-date-picker { width: 100%; }.routine-date-picker input { width: 100%; }.routine-notes { grid-template-columns: 1fr; }.routine-submit-bar { align-items: stretch; flex-direction: column; gap: 10px; }.routine-submit-bar button { width: 100%; } }

/* Work orders */
.work-heading { align-items: flex-end; }.work-summary-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 16px; }.work-summary-cards article { padding: 19px 21px; border: 1px solid var(--line); border-top: 3px solid #357bc3; border-radius: 7px; background: white; }.work-summary-cards article.success { border-top-color: #28996c; }.work-summary-cards article.danger { border-top-color: #cf4d49; }.work-summary-cards article.caution { border-top-color: #d79a31; }.work-summary-cards p { margin: 0 0 8px; color: #8994a1; font-size: 8px; font-weight: 900; letter-spacing: .11em; }.work-summary-cards strong { display: block; font-size: 27px; }.work-summary-cards span { color: #8b96a3; font-size: 8px; }
.work-status-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }.status-overview-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; color: inherit; background: white; text-decoration: none; }.status-overview-card > header { display: flex; align-items: center; gap: 8px; padding: 14px 15px; border-bottom: 1px solid #edf0f3; }.status-overview-card header > span, .work-column > header > span, .quick-status-list button > span { width: 8px; height: 8px; border-radius: 50%; background: #7d8996; }.status-overview-card header strong { flex: 1; font-size: 10px; }.status-overview-card header b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #6c7887; background: #edf1f5; font-size: 8px; }.status-overview-card > div { padding: 11px 14px; border-bottom: 1px solid #f0f2f5; }.status-overview-card > div p { overflow: hidden; margin: 0 0 4px; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.status-overview-card > div small { color: #8b96a3; font-size: 7px; }.status-overview-card > div i, .work-card-progress i, .work-progress-hero i, .work-department-panel > div > i { display: block; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 5px; background: #e8edf2; }.status-overview-card > div i b, .work-card-progress i b, .work-progress-hero i b, .work-department-panel > div > i b { display: block; height: 100%; border-radius: inherit; background: var(--blue); }.status-todo > span, .status-todo span { background: #7d8996 !important; }.status-in_progress > span, .status-in_progress span { background: #247dd0 !important; }.status-blocked > span, .status-blocked span { background: #d08a27 !important; }.status-completed > span, .status-completed span { background: #29966a !important; }
.work-dashboard-grid { display: grid; grid-template-columns: minmax(600px, 2fr) minmax(260px, .75fr); gap: 16px; margin-top: 16px; }.work-deadlines, .work-department-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }.work-deadlines > header, .work-department-panel > header { padding: 18px 20px; }.work-deadlines h2, .work-department-panel h2 { margin: 3px 0 0; font-size: 16px; }.work-deadlines td a { color: inherit; text-decoration: none; }.overdue-row { background: #fff8f7; }.work-department-panel > div { padding: 10px 18px; }.work-department-panel > div p { display: flex; justify-content: space-between; margin: 0; font-size: 9px; }.work-department-panel > div span { color: #8793a1; font-size: 8px; }
.work-search { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: white; }.work-search > span { color: #8a95a2; font-size: 19px; }.work-search input { flex: 1; height: 35px; border: 0; outline: 0; }.work-search button, .work-search a { display: grid; height: 35px; padding: 0 15px; place-items: center; border: 0; border-radius: 4px; font-size: 9px; font-weight: 800; text-decoration: none; }.work-search button { color: white; background: var(--blue); }.work-search a { color: #627083; background: #edf1f5; }.work-board { display: grid; grid-template-columns: repeat(4, minmax(245px, 1fr)); gap: 13px; align-items: start; overflow-x: auto; }.work-column { min-width: 245px; border-radius: 7px; background: #e9eef3; }.work-column > header { display: flex; align-items: center; gap: 8px; padding: 13px 14px; }.work-column header h2 { flex: 1; margin: 0; font-size: 10px; }.work-column header b { color: #667486; font-size: 9px; }.work-column-body { display: grid; gap: 9px; padding: 0 9px 9px; }.work-card { display: block; padding: 14px; border: 1px solid transparent; border-radius: 6px; color: inherit; background: white; box-shadow: 0 2px 5px rgba(20,42,67,.06); text-decoration: none; }.work-card:hover { border-color: #9db8d3; }.work-card.overdue { border-left: 3px solid #cd4c48; }.work-card-top { display: flex; justify-content: space-between; }.work-card-top > span { padding: 4px 7px; border-radius: 10px; font-size: 7px; font-weight: 900; }.work-card-top small { color: #929ca8; font-size: 7px; }.priority-low { color: #657382; background: #edf1f4; }.priority-medium { color: #2f6fae; background: #e7f1fb; }.priority-high { color: #9c6511; background: #fff1d3; }.priority-urgent { color: #b83f3b; background: #fde6e5; }.work-card h3 { margin: 12px 0 6px; font-size: 12px; line-height: 1.35; }.work-card > p { min-height: 30px; margin: 0; color: #788595; font-size: 8px; line-height: 1.5; }.work-card-progress { display: flex; align-items: center; gap: 8px; margin-top: 12px; }.work-card-progress i { flex: 1; margin: 0; }.work-card-progress span { color: #6f7c8c; font-size: 7px; }.work-card footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 11px; border-top: 1px solid #edf0f3; }.work-card footer strong, .work-card footer span { display: block; }.work-card footer strong { font-size: 8px; }.work-card footer span { margin-top: 3px; color: #8995a2; font-size: 7px; }.work-card footer > b { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: white; background: #174f85; font-size: 9px; }.work-column-empty { padding: 27px 10px; color: #8995a2; font-size: 9px; text-align: center; }
.work-order-form textarea, .work-edit-panel textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 4px; resize: vertical; }.work-detail-hero { display: grid; grid-template-columns: repeat(6, 1fr); margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }.work-detail-hero > div { min-width: 0; padding: 16px; }.work-detail-hero > div + div { border-left: 1px solid var(--line); }.work-detail-hero span { display: block; margin-bottom: 7px; color: #8b96a3; font-size: 7px; font-weight: 900; letter-spacing: .08em; }.work-detail-hero strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.work-progress-hero i { margin-top: 8px; }.status-text-completed { color: #27815c; }.status-text-blocked { color: #b47717; }.work-detail-grid { display: grid; grid-template-columns: minmax(550px, 1.7fr) minmax(270px, .7fr); gap: 16px; }.work-detail-grid > div, .work-detail-grid > aside { display: grid; gap: 16px; align-content: start; }.work-detail-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: white; }.work-detail-card > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #edf0f3; }.work-detail-card h2 { margin: 3px 0 0; font-size: 15px; }.work-description { padding: 20px; color: #526174; font-size: 10px; line-height: 1.7; }.work-todos header > span { color: #788596; font-size: 8px; }.todo-add { display: flex; gap: 7px; padding: 13px 16px; background: #f8fafb; }.todo-add input { flex: 1; height: 35px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; }.todo-add button { padding: 0 14px; border: 0; border-radius: 4px; color: white; background: var(--blue); font-size: 8px; font-weight: 800; }.todo-list > div { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid #edf0f3; }.todo-list > div > span { flex: 1; font-size: 10px; }.todo-list > div.done > span { color: #8b96a3; text-decoration: line-through; }.todo-check { width: 21px; height: 21px; border: 1px solid #b8c3ce; border-radius: 4px; color: white; background: white; cursor: pointer; }.done .todo-check { border-color: #29946a; background: #29946a; }.todo-delete { border: 0; color: #a16b6b; background: transparent; font-size: 16px; cursor: pointer; }.quick-status-list { display: grid; gap: 7px; padding: 14px; }.quick-status-list button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 11px; border: 1px solid #e0e5ea; border-radius: 4px; color: #536174; background: #fafbfd; font-size: 9px; font-weight: 750; cursor: pointer; }.quick-status-list button.current { border-color: #8db2d8; background: #eef6fd; }.quick-status-list button b { margin-left: auto; color: var(--blue); font-size: 7px; }.work-edit-panel summary { padding: 16px 18px; font-size: 10px; font-weight: 800; cursor: pointer; }.work-edit-panel > form { display: grid; gap: 11px; padding: 0 18px 18px; }.work-edit-panel input, .work-edit-panel select { width: 100%; height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; }
@media (max-width: 1200px) { .work-summary-cards, .work-status-overview { grid-template-columns: 1fr 1fr; }.work-dashboard-grid, .work-detail-grid { grid-template-columns: 1fr; }.work-detail-hero { grid-template-columns: repeat(3, 1fr); }.work-detail-hero > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }.work-detail-hero > div:nth-child(n+5) { border-top: 1px solid var(--line); } }
@media (max-width: 700px) { .work-summary-cards, .work-status-overview { grid-template-columns: 1fr; }.work-heading { align-items: flex-start; flex-direction: column; }.work-board { grid-template-columns: repeat(4, 82vw); }.work-detail-hero { grid-template-columns: 1fr 1fr; }.work-detail-hero > div:nth-child(odd) { border-left: 0; }.work-detail-hero > div:nth-child(n+3) { border-top: 1px solid var(--line); }.work-search { flex-wrap: wrap; }.work-search input { min-width: calc(100% - 40px); } }

/* Home module command center */
.home-command-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }.home-command-header h2 { margin: 3px 0 0; font-size: 19px; }.home-command-header > span { color: #8995a2; font-size: 9px; }.home-module-grid { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 15px; }.home-module-card { position: relative; overflow: hidden; min-height: 205px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; color: inherit; background: white; box-shadow: 0 7px 22px rgba(20,43,68,.045); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }.home-module-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #397dc2; }.home-module-card:hover { border-color: #a9bfd5; box-shadow: 0 12px 28px rgba(20,43,68,.1); transform: translateY(-3px); }.home-module-card > header { display: flex; align-items: center; gap: 10px; }.home-module-card header > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 6px; color: #1768b6; background: #e9f3fd; font-size: 17px; }.home-module-card header > b { flex: 1; font-size: 11px; }.home-module-card header > i { color: #7f8b99; font-size: 7px; font-style: normal; font-weight: 900; letter-spacing: .08em; }.home-module-card > h2 { margin: 25px 0 3px; color: #172a40; font-size: 30px; letter-spacing: -.045em; }.home-module-card > p { margin: 0; color: #84909e; font-size: 9px; }.home-module-card > footer { position: absolute; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid #edf0f3; }.home-module-card footer strong, .home-module-card footer span { font-size: 8px; }.home-module-card footer strong { color: #358060; }.home-module-card footer span { color: #929ca8; }.home-module-card footer .home-alert { color: #c44542; }.home-module-card footer .home-caution { color: #ae7319; }.home-module-card.inventory::before { background: #0871cf; }.home-module-card.tooling::before { background: #7258b1; }.home-module-card.tooling header > span { color: #6750a0; background: #f0ecfa; }.home-module-card.routine::before { background: #24966a; }.home-module-card.routine header > span { color: #227b59; background: #e7f5ee; }.home-module-card.work::before { background: #d18b27; }.home-module-card.work header > span { color: #a16b1e; background: #fff2dc; }.home-module-card.manual::before { background: #536d89; }.home-module-card.manual header > span { color: #506a86; background: #edf2f6; }.home-module-card.labels::before { background: #287b8b; }.home-module-card.labels header > span { color: #267381; background: #e8f4f6; }
@media (max-width: 1150px) { .home-module-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .home-command-header > span { display: none; }.home-module-grid { grid-template-columns: 1fr; }.home-module-card { min-height: 190px; } }
