/* Calm, consistent controls: icon + text, never colour alone, no animation. */
.learning-root{font-size:1rem;line-height:1.55;text-align:left}.learning-root h1{font-size:1.65rem}.learning-root h2{font-size:1.25rem}.learning-root h3{font-size:1.1rem}.learning-icon{width:1.6em;height:1.6em;flex:0 0 auto;vertical-align:middle;margin-right:.55em}.learning-root button,.learning-login-tiles button{min-height:48px;font-size:1rem;white-space:normal;line-height:1.35;padding:12px 16px;display:inline-flex;gap:.4rem;align-items:center;justify-content:center}.learning-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.learning-home>button{display:flex;flex-direction:column;text-align:center;min-height:180px;gap:12px;border:2px solid var(--line,#b8c9c6);background:var(--panel);color:var(--ink);border-radius:12px}.learning-home .learning-icon{width:42px;height:42px;margin:0}.learning-home strong{font-size:1.2rem}.learning-home span{font-size:1rem;font-weight:400}.learning-options{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.learning-login-tiles{margin-bottom:20px}.learning-login-tiles .learning-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.learning-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px}.learning-step{display:flex;align-items:flex-start;gap:12px;background:var(--accent-light);border-left:5px solid var(--accent);padding:18px;margin:20px 0}.learning-step>.learning-icon{width:32px;height:32px;margin-top:3px}.learning-step h2,.learning-step p{margin:0 0 6px}.learning-form{display:grid;gap:16px;margin:20px 0;max-width:820px}.learning-form label{display:grid;gap:7px;text-align:left;font-weight:600}.learning-form .check{display:flex;align-items:flex-start;font-weight:500}.learning-form input:not([type=checkbox]),.learning-form select,.learning-form textarea{box-sizing:border-box;width:100%;min-height:48px;font:inherit;padding:12px;border:1px solid var(--line,#879d97);border-radius:6px;background:var(--panel);color:var(--ink)}.learning-form input[type=checkbox]{width:23px;height:23px;flex:0 0 auto;margin:2px 8px 0 0}.learning-form textarea{resize:vertical;white-space:pre-wrap}.learning-form fieldset{padding:16px;border:1px solid var(--line,#b8c9c6);border-radius:8px;display:grid;gap:12px}.learning-form legend{padding:0 8px;font-weight:700}.learning-form>button.primary{justify-self:start;min-width:220px}.learning-task-grid,.learning-zone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.learning-task-card{border:1px solid var(--line,#b8c9c6);border-radius:10px;padding:20px}.learning-task-card h2{margin:8px 0}.learning-task-card>button{width:100%;margin-top:12px}.learning-assignment{display:flex;align-items:flex-start;gap:8px;border:2px solid #a82d36;background:#fff0f1;color:#7d1825;padding:12px;margin:14px 0;border-radius:8px;font-size:1rem}.learning-assignment span,.learning-assignment strong{display:block}.learning-assignment.is-own{background:#edf5ff;border-color:#28609a;color:#163f6f}.learning-status{font-weight:700}.learning-zone{padding:10px 0}.learning-zone>strong{font-size:.9rem}.learning-capacity{display:grid;gap:2px;margin:7px 0;font-size:.85rem;line-height:1.4}.learning-capacity small{font-size:.8rem;font-weight:400}.learning-capacity progress{width:100%;height:6px;accent-color:#276f65;border:0}.learning-menu-capacity{padding:4px 12px 12px 20px;border-bottom:1px solid var(--line,#c2d0cb)}.learning-menu-capacity>strong{font-size:.8rem;display:block;margin-top:12px;line-height:1.4}.learning-menu-capacity .learning-zone{padding:0}.learning-unit,.learning-review{padding:14px;border:1px solid var(--line,#aabfb7);border-radius:8px;margin:16px 0}.learning-review dd{white-space:pre-wrap;margin-bottom:12px}.learning-root summary{cursor:pointer;padding:12px 0;font-weight:700;min-height:44px}.learning-weight-list{max-height:330px;overflow:auto;display:grid;gap:10px}.learning-weight-list label{display:flex;font-weight:400}.learning-dialog{padding:24px;max-width:1000px;min-width:min(640px,80vw)}#learningDialog{max-width:94vw;max-height:92vh;width:1040px}#learningDialog .qr-svg{display:block;width:220px;height:220px;margin:20px auto}.learning-epal{width:100%;height:65vh;border:1px solid #aabfb7;margin-top:16px}.learning-error{white-space:pre-wrap}.learning-root :focus-visible,.learning-login-tiles :focus-visible{outline:3px solid #075eb3;outline-offset:4px}.learning-print{color:#000;background:#fff;font:11pt/1.3 Arial,sans-serif}.learning-print table{border-collapse:collapse;width:100%}.learning-print th,.learning-print td{border:1px solid #444;padding:6px;vertical-align:top;overflow-wrap:anywhere}.learning-print tr{break-inside:avoid}.learning-place-label{text-align:center;border:2px dashed #333;margin:15px 0;padding:15px;break-inside:avoid}.learning-place-label .qr-svg{width:130px;height:130px}.learning-print thead{display:table-header-group}.learning-print h1{font-size:20pt}.learning-print th{font-size:9pt;position:static}
@media(max-width:800px){.learning-home,.learning-task-grid,.learning-zone-grid{grid-template-columns:1fr}.learning-login-tiles .learning-options{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-form>button.primary{width:100%;min-width:0}.learning-heading{align-items:flex-start}.learning-dialog{padding:12px;min-width:0}.learning-options>button{flex:1 1 180px}.learning-form{gap:18px}.learning-menu-capacity{padding-left:10px}.learning-root{padding:4px}.learning-epal{height:60vh}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.learning-print{page:learningSheet}.learning-print button{display:none}@page learningSheet{size:A4 portrait;margin:12mm}}

body:has(.learning-root#workCard) #main>.heading{display:none}.learning-summary p{margin:12px 0}.learning-form button:disabled{opacity:.55;cursor:not-allowed}

.learning-document-qr{float:right;margin:0 0 4mm 5mm}.learning-document-qr .qr-svg{width:28mm;height:28mm}.learning-print table{clear:both}.learning-lookup{margin-bottom:16px}

#learningCountStart [hidden] {
  display: none !important;
}
.inventory-phone-icon {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-weight: 700;
  white-space: nowrap;
}
.learning-root .inventory-phone-action {
  justify-content: flex-start;
  gap: .75rem;
  min-height: 48px;
  border: 2px solid var(--accent);
  background: var(--accent-light);
  color: var(--ink);
  text-align: left;
}
.learning-root .inventory-phone-action:hover {
  background: var(--panel);
}

#learningDialog[data-learning-incoming]::backdrop { background: var(--bg); }
