/* Operational home: one primary task, the current context, and direct shortcuts. */
.employee-home {max-width:1000px;margin-inline:auto;min-width:0;color:var(--ink)}
.employee-home .sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.employee-home-heading {margin-bottom:20px}
.employee-home-eyebrow {display:block;margin-bottom:8px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.employee-home-heading h1 {font-size:clamp(26px,3vw,40px);line-height:1.15;font-weight:400;letter-spacing:-.04em;overflow-wrap:anywhere}
.employee-home-heading p {margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.employee-home-grid {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px}
.employee-home-scan {position:relative;isolation:isolate;display:grid;align-content:center;justify-items:start;grid-row:span 3;gap:16px;min-width:0;padding:30px;border-radius:30px;background:radial-gradient(ellipse at 12% 12%,#bfd9ed 0,transparent 65%),radial-gradient(ellipse at 95% 95%,#ddc7eb 0,transparent 65%),#ece8f1;color:#293b4a;overflow:hidden}
.employee-home-scan-mark {display:grid;place-items:center;width:58px;height:58px;border:1px solid #ffffff80;border-radius:20px;background:#ffffff40}
.employee-home-scan-mark>svg {width:31px;height:31px}
.employee-home-scan h2 {font-size:27px;font-weight:400;line-height:1.2;letter-spacing:-.03em}
.employee-home-scan p {margin:6px 0 0;font-size:14px;line-height:1.45;color:#566675}
.employee-home-primary {display:flex;align-items:center;gap:10px;min-height:54px;width:100%;padding:13px 17px;border-radius:999px;background:#2b3847;color:#fff;text-decoration:none;font-size:15px;font-weight:600;transition:background .18s ease,transform .18s ease}
.employee-home-primary>span {flex:1;min-width:0}
.employee-home-primary>svg {width:23px;height:23px}
.employee-home-primary>svg:last-child {width:19px}
.employee-home-manual {display:flex;align-items:center;justify-content:center;min-height:44px;justify-self:stretch;margin-top:-10px;color:#365675;font-size:14px;text-underline-offset:4px}
.employee-home-search {display:flex;align-items:center;gap:10px;min-width:0;min-height:62px;padding:6px 8px 6px 17px;border:1px solid var(--line);border-radius:999px;background:var(--pearl)}
.employee-home-search-icon {display:grid;place-items:center;flex:none;color:var(--muted)}
.employee-home-search input {min-height:44px;padding:7px 0;border:0;border-radius:8px;background:transparent;font-size:16px}
.employee-home-search button {display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--accent);color:var(--ink)}
.employee-home-context {display:flex;align-items:center;gap:12px;min-width:0;min-height:90px;padding:16px;border:1px solid var(--line);border-radius:25px;background:var(--pearl)}
.employee-home-context-icon {display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:15px;background:var(--accent)}
.employee-home-context-copy {display:grid;gap:5px;flex:1;min-width:0}
.employee-home-context-copy>span {font-size:12px;color:var(--muted)}
.employee-home-context-copy>strong {font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.employee-home-context-action {display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink)}
.employee-home-shortcuts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.employee-home-shortcuts>a {display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:7px;min-width:0;padding:17px;border:1px solid var(--line);border-radius:25px;background:var(--pearl);color:var(--ink);text-decoration:none;transition:background .18s ease,transform .18s ease}
.employee-home-shortcuts>a>span {display:grid;place-items:center;width:38px;height:38px;margin-bottom:4px;border-radius:13px;background:var(--accent)}
.employee-home-shortcuts>a>strong,.employee-home-shortcuts>a>small {grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
.employee-home-shortcuts>a>strong {font-size:16px;line-height:1.25}
.employee-home-shortcuts>a>small {color:var(--muted);font-size:12px;line-height:1.4}
.employee-home-shortcuts>a>svg {grid-column:2;grid-row:1;align-self:center;width:17px;height:17px;color:var(--muted)}
.employee-home :is(a,button):focus-visible {outline:2px solid var(--focus);outline-offset:3px}
.employee-home-scan :is(a,button):focus-visible {outline-color:#3c618f}
.employee-home-search:focus-within {border-color:var(--focus)}
html[data-theme="dark"] .employee-home-scan {background:radial-gradient(ellipse at 0% 10%,#354d69 0,transparent 68%),radial-gradient(ellipse at 100% 100%,#62536e 0,transparent 65%),#303541;color:#f1f2f7}
html[data-theme="dark"] .employee-home-scan p {color:#d1dbe8}
html[data-theme="dark"] .employee-home-primary {background:#e9eff7;color:#293b4a}
html[data-theme="dark"] .employee-home-manual {color:#e0e8f4}
html[data-theme="dark"] .employee-home-scan-mark {background:#ffffff12;border-color:#ffffff30}
html[data-theme="dark"] .employee-home-scan :is(a,button):focus-visible {outline-color:#c3dcf0}
html[data-theme="dark"] .employee-home-search input,
html[data-theme="dark"] .employee-home-search input:focus {background:transparent;color:var(--ink)}
html[data-theme="dark"] .employee-home-search input::placeholder {color:var(--muted);opacity:1}
html[data-theme="dark"] :is(.employee-home-search button,.employee-home-context-icon,.employee-home-shortcuts>a>span) {color:#3c618f}
@media (hover:hover) {
  .employee-home-primary:hover {background:#3b5270;transform:translateY(-1px)}
  html[data-theme="dark"] .employee-home-primary:hover {background:#d9e4f2}
  .employee-home-shortcuts>a:hover {background:var(--surface);transform:translateY(-2px)}
  .employee-home-context-action:hover {background:var(--accent)}
  html[data-theme="dark"] .employee-home-context-action:hover {color:#3c618f}
}
@media (max-width:700px) {
  .employee-home-heading {margin-bottom:14px}
  .employee-home-heading h1 {font-size:27px}
  .employee-home-eyebrow {font-size:10px;margin-bottom:6px}
  .employee-home-heading p {font-size:13px;margin-top:6px}
  .employee-home-grid {grid-template-columns:minmax(0,1fr);gap:11px}
  .employee-home-scan {grid-row:auto;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:18px 18px 7px;border-radius:26px}
  .employee-home-scan-mark {width:40px;height:40px;border-radius:14px}
  .employee-home-scan-mark>svg {width:25px;height:25px}
  .employee-home-scan h2 {font-size:20px}
  .employee-home-scan p {font-size:13px;margin-top:3px}
  .employee-home-primary,.employee-home-manual {grid-column:1/-1}
  .employee-home-primary {min-height:52px;padding:12px 15px}
  .employee-home-manual {min-height:44px;font-size:13px;margin-top:-9px}
  .employee-home-search {min-height:56px;padding-block:3px}
  .employee-home-context {min-height:72px;padding:11px 13px;gap:10px;border-radius:23px}
  .employee-home-context-icon {width:36px;height:36px;border-radius:12px}
  .employee-home-context-copy>strong {font-size:15px}
  .employee-home-context-copy>span {font-size:11px}
  .employee-home-shortcuts {gap:11px}
  .employee-home-shortcuts>a {padding:13px 14px;gap:5px;border-radius:23px}
  .employee-home-shortcuts>a>span {width:30px;height:30px;margin:0;border-radius:10px}
  .employee-home-shortcuts>a>span>svg {width:18px;height:18px}
  .employee-home-shortcuts>a>strong {font-size:15px}
  .employee-home-shortcuts>a>small {font-size:11px}
}
@media (prefers-reduced-motion:reduce) {
  .employee-home :is(a,button) {transition:none;transform:none!important}
}

/* The manual picker remains a small, bounded page beside the scanner action. */
.issue-entry-page .issue-entry-grid {grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);align-items:start}
.issue-entry-page .issue-live-camera {grid-column:1;grid-row:1;padding:24px;background:radial-gradient(ellipse at 5% 0%,#c3deed,transparent 70%),radial-gradient(ellipse at 100% 100%,#ded0e4,transparent 70%),#ece8f1;color:#293b4a}
.issue-entry-page .issue-live-camera .issue-entry-card-heading p {color:#52657a}
.issue-entry-page .issue-live-camera>.button {width:100%;min-height:50px;background:#2b3847;color:#fff}
.issue-entry-page .issue-product-picker {grid-column:2;grid-row:1/4;padding:24px;min-width:0}
.issue-entry-page .issue-product-copy strong {white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;font-size:15px}
.issue-entry-page .issue-product-copy small {font-size:12px;line-height:1.4}
.issue-entry-page .issue-product-stock small {font-size:11px}
.issue-entry-page .issue-product-option:disabled {opacity:.62;transform:none}
.issue-entry-page .issue-photo-picker {display:block;grid-column:1;grid-row:2;padding:15px 20px;min-width:0;background:var(--pearl)}
.issue-entry-page .issue-photo-picker>summary {display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:14px;font-weight:600;list-style:none}
.issue-entry-page .issue-photo-picker>summary::-webkit-details-marker {display:none}
.issue-entry-page .issue-photo-picker>summary>svg:last-child {margin-left:auto;width:16px;height:16px}
.issue-entry-page .issue-photo-picker:not([open])>:not(summary) {display:none}
.issue-entry-page .issue-photo-picker>p {margin:12px 0;color:var(--muted);font-size:13px;line-height:1.5}
.issue-entry-page .issue-photo-button {width:100%;margin:8px 0 0;min-height:48px}
.issue-entry-page .issue-working-context {grid-column:1;grid-row:3;display:flex;align-items:center;gap:12px;width:100%;min-height:80px;padding:17px 20px;border:1px solid var(--line);border-radius:24px;background:var(--pearl);color:var(--ink);text-align:left}
.issue-working-context>span {display:grid;gap:5px;min-width:0;flex:1}
.issue-working-context small {font-size:12px;color:var(--muted)}
.issue-working-context strong {font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.issue-product-pagination {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.issue-product-pagination>span {font-size:12px;color:var(--muted);text-align:center}
.issue-product-pagination>.button {min-height:44px;padding:10px 14px;font-size:13px}
.issue-entry-page :is(.issue-working-context,.issue-photo-picker>summary):focus-visible {outline:2px solid var(--focus);outline-offset:3px}
html[data-theme="dark"] .issue-entry-page .issue-live-camera {background:radial-gradient(ellipse at 0% 0%,#354e6b,transparent 70%),radial-gradient(ellipse at 100% 100%,#53475e,transparent 70%),#303541;color:#f1f3f8}
html[data-theme="dark"] .issue-entry-page .issue-live-camera .issue-entry-card-heading p {color:#d0dbea}
html[data-theme="dark"] .issue-entry-page .issue-live-camera>.button {background:#e4ebf6;color:#293b4a}
@media (max-width:800px) {
  .issue-entry-page .issue-entry-grid {grid-template-columns:minmax(0,1fr);gap:12px}
  .issue-entry-page :is(.issue-live-camera,.issue-product-picker,.issue-photo-picker,.issue-working-context) {grid-column:auto;grid-row:auto}
  .issue-entry-page .issue-live-camera {padding:18px;gap:15px}
  .issue-entry-page .issue-product-picker {padding:18px}
  .issue-entry-page .issue-entry-card-heading h2 {font-size:21px}
  .issue-entry-page .issue-entry-heading {margin-bottom:18px}
  .issue-entry-page .issue-entry-heading h1 {font-size:30px}
  .issue-entry-page .issue-entry-heading p {font-size:14px;margin-top:8px}
  .issue-entry-page .issue-product-option {grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:9px;min-height:70px;border-radius:19px}
  .issue-entry-page .issue-product-thumb {width:44px;height:44px;border-radius:13px}
  .issue-entry-page .issue-product-thumb>.catalog-placeholder {width:22px;height:22px;margin:11px}
  .issue-entry-page .issue-product-option>svg {display:none}
  .issue-entry-page .issue-product-stock {min-width:40px;font-size:15px;max-width:95px;overflow-wrap:anywhere}
  .issue-entry-page .issue-product-stock small {display:block}
  .issue-entry-page .issue-product-copy strong {font-size:14px}
  .issue-entry-page .issue-product-copy small {font-size:11px}
}
