:root{--ink:#172033;--muted:#9aa7ba;--line:#edf0f4;--bg:#fffdfa;--yellow:#e7b900;--soft:#fff7d6;--yellow-line:#f1d878;--yellow-ink:#6e5c00;--shadow:0 12px 30px rgba(25,36,55,.14)}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}body{background:var(--bg)}button,input,textarea{font:inherit}button{border:0;background:none;color:inherit}#app{min-height:100vh;padding-bottom:105px}.topbar{height:124px;padding:25px 30px 12px;display:flex;justify-content:space-between;align-items:flex-start;background:#fff;border-bottom:1px solid var(--line)}.version{font-size:13px;letter-spacing:.08em;color:#8c98aa;margin-bottom:10px}h1{font-size:25px;line-height:1;margin:0;font-weight:700;letter-spacing:-.03em}.profile-btn{width:43px;height:43px;border-radius:50%;border:2px solid #e9edf2;color:#3b4050;background:#fff;font-size:22px}.screen{padding:22px 28px 30px;max-width:760px;margin:auto}.bottom-nav{position:fixed;z-index:20;left:28px;right:28px;bottom:30px;height:82px;background:rgba(255,255,255,.97);border-radius:42px;box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr 92px 1fr 1fr;align-items:center}.bottom-nav button{height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#98a5b8;font-weight:600;font-size:14px}.nav-icon{width:27px;height:22px;position:relative;display:block}.book{border:2px solid currentColor;border-radius:2px 2px 4px 4px}.book:after{content:"";position:absolute;left:50%;top:-2px;height:22px;border-left:2px solid currentColor}.folder{border:2px solid currentColor;border-radius:4px}.folder:before{content:"";position:absolute;left:1px;top:-6px;width:10px;height:6px;border:2px solid currentColor;border-bottom:0;border-radius:3px 3px 0 0}.bars{border-bottom:2px solid currentColor}.bars:before,.bars:after{content:"";position:absolute;bottom:0;width:5px;border:2px solid currentColor;border-bottom:0;border-radius:4px 4px 0 0}.bars:before{left:2px;height:11px}.bars:after{right:2px;height:19px}.bookmark{border:2px solid currentColor;border-bottom:0;border-radius:3px 3px 0 0}.bookmark:after{content:"";position:absolute;bottom:-1px;left:5px;width:12px;height:12px;background:#fff;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}.evia-fab{position:fixed;z-index:25;bottom:25px;left:50%;transform:translateX(-50%);width:92px;height:92px;border-radius:50%;background:#fff;border:4px solid var(--yellow);box-shadow:0 8px 20px rgba(25,36,55,.08);cursor:pointer;animation:floaty 3.8s ease-in-out infinite}.evia-fab:after{content:"";position:absolute;left:20px;right:20px;bottom:-8px;height:12px;border-radius:50%;background:rgba(25,36,55,.08);filter:blur(4px);z-index:-1}.evia-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px}.evia-face i{display:block;width:20px;height:20px;border:3px solid var(--yellow);border-radius:50%;position:relative}.evia-face i:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--yellow);left:6px;top:6px;animation:look 4.5s ease-in-out infinite}.evia-face i:nth-child(2):after{animation-delay:.25s}@keyframes floaty{0%,84%,100%{transform:translateX(-50%)}88%{transform:translateX(-50%) translateY(-9px)}92%{transform:translateX(-50%)}}@keyframes look{0%,100%{transform:translate(0)}35%{transform:translate(5px,2px)}65%{transform:translate(-3px,-2px)}}.empty-home{min-height:calc(100vh - 260px)}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 4px 15px rgba(25,36,55,.04);margin-bottom:13px}.card h2,.card h3{margin:0 0 8px}.card p{margin:0;color:#66748a;line-height:1.5}.course-picker{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.pill{white-space:nowrap;border:1px solid #e4e8ee;border-radius:22px;padding:10px 14px;background:#fff;color:#738096;font-weight:650}.pill.active{background:var(--soft);border-color:var(--yellow-line);color:var(--yellow-ink)}.unit-card{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.unit-number{font-size:12px;color:#a0aabb;margin-bottom:5px}.unit-title{font-weight:700;font-size:17px}.arrow{font-size:24px;color:#b5becb}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.stat strong{font-size:25px;display:block}.stat span{font-size:12px;color:#8b97a8}.primary{background:#1b2435;color:#fff;padding:13px 18px;border-radius:15px;font-weight:700}.secondary{background:#f4f6f8;padding:13px 18px;border-radius:15px;font-weight:700}.row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.guidance{background:var(--soft);border:1px solid var(--yellow-line);border-radius:18px;padding:16px;margin-bottom:14px}.guidance strong{display:block;margin-bottom:7px}.guidance ul{margin:0;padding-left:19px;color:var(--yellow-ink);line-height:1.55}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.thumb{aspect-ratio:1;border-radius:13px;object-fit:cover;background:#f3f5f7;border:1px solid var(--line)}.dropzone{display:block;border:2px dashed #dfe4ea;border-radius:18px;padding:20px;text-align:center;color:#8c98a9;cursor:pointer}.dropzone input{display:none}textarea{width:100%;min-height:180px;border:1px solid #e3e7ed;border-radius:16px;padding:14px;resize:vertical}.section-title{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#9aa5b4;font-weight:800;margin:24px 0 10px}.ksb{display:flex;gap:10px;align-items:flex-start}.code{min-width:38px;font-size:12px;font-weight:800;color:var(--yellow-ink);background:var(--soft);padding:5px 7px;border-radius:8px;text-align:center}.ksbtext{font-size:13px;line-height:1.45;color:#59677c}.status{font-size:11px;padding:5px 8px;border-radius:10px;background:#f1f3f6;color:#8792a2}.done{background:var(--soft);color:var(--yellow-ink)}.progress-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.learning-input{display:flex;gap:8px}.learning-input input{flex:1;border:1px solid #e3e7ed;border-radius:14px;padding:12px}.otj-download-card h3{margin:0 0 7px;font-size:17px}.otj-download-card .section-title{margin-top:0}.otj-download-card .row{margin-top:14px}.otj-download-card button:disabled{opacity:.45;cursor:not-allowed}.otj-entry .otj-date{display:block;margin:5px 0 9px;color:#8b97a8;font-size:12px}.otj-entry p{white-space:pre-wrap}.card>textarea#otj-description{display:block;width:100%;min-height:105px;margin-top:10px}.overlay{position:fixed;z-index:50;inset:0;background:rgba(20,28,42,.26);display:flex;align-items:flex-end}.sheet{width:min(760px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:24px;box-shadow:0 -15px 40px rgba(25,36,55,.18)}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.close{font-size:26px;color:#9ba6b5}.chat{height:310px;overflow:auto;background:#fafbfc;border-radius:18px;padding:14px;margin-bottom:12px}.bubble{max-width:82%;padding:11px 13px;border-radius:16px;margin:7px 0;line-height:1.45;font-size:14px}.bubble.evia{background:var(--soft)}.bubble.user{background:#edf1f5;margin-left:auto}.chat-row{display:flex;gap:8px}.chat-row input{flex:1;border:1px solid #e3e7ed;border-radius:14px;padding:12px}@media(max-width:520px){.screen{padding-left:20px;padding-right:20px}.bottom-nav{left:15px;right:15px;bottom:18px;height:78px}.bottom-nav button{font-size:12px}.evia-fab{bottom:13px;width:88px;height:88px}.topbar{padding-left:22px;padding-right:22px}}
/* Evidence capture — each instruction is a distinct mobile tile. */
.evidence-capture-stack{display:grid;gap:12px}
.evidence-capture-tile{
  padding:18px;
  border:1px solid #e4e8ed;
  border-radius:22px;
  background:#fff;
  box-shadow:0 5px 18px rgba(16,24,40,.06);
}
.evidence-capture-tile .section-title{margin-bottom:8px}
.evidence-job-tile h3{margin:0 0 7px;font-size:22px}
.evidence-job-tile p{margin:0;color:#667085;line-height:1.5}
.evidence-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.evidence-photo-actions button{min-height:64px;width:100%;border-radius:18px;font-weight:700;font-size:15px}
.evidence-photo-actions input{display:none}
.evidence-guidance-tile p{margin:0;color:#344054;font-size:13px;line-height:1.55}
.evidence-writeup-tile #unit-notes{width:100%;min-height:150px;border-radius:17px;padding:14px;resize:vertical;box-sizing:border-box}
#unit-photo-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
#unit-photo-preview:empty{display:none}
#unit-photo-preview .thumb{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;border:1px solid #e7ebf0}
#save-unit-evidence{width:100%;min-height:50px;border-radius:16px;font-weight:750}
@media(max-width:520px){.evidence-capture-tile{padding:16px}.evidence-job-tile h3{font-size:20px}.evidence-guidance-tile p{font-size:12px}}
@media (hover:none) and (pointer:coarse){body.evia-keyboard-editing .bottom-nav{transform:translateY(calc(100% + 30px));opacity:0;pointer-events:none}.bottom-nav{transition:transform .18s ease,opacity .18s ease}}

/* Supporting evidence — match the app's clean card-based visual language. */
.supporting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.supporting-type{position:relative;display:flex;align-items:center;gap:13px;min-height:92px;margin:0;padding:15px 14px;text-align:left;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.supporting-type:active{transform:scale(.985)}
.supporting-type-icon{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:23px}
.supporting-type-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:4px}
.supporting-type-copy strong{font-size:16px;line-height:1.15}
.supporting-type-copy small{color:#8793a5;font-size:11px;line-height:1.3}
.supporting-type-arrow{font-size:24px;color:#b5becb;line-height:1}
.supporting-sheet{padding:22px}
.supporting-sheet .sheet-head{margin-bottom:18px}
.supporting-sheet .sheet-head h2{margin:0;font-size:22px;letter-spacing:-.02em}
.supporting-capture-area{display:grid;gap:12px}
.supporting-sheet .evidence-capture-tile{box-shadow:none;background:#fafbfc;border-color:#edf0f4}
.supporting-sheet .evidence-photo-actions button{background:#fff;border:1px solid var(--line)}
.supporting-sheet .evidence-photo-actions .primary{background:#1b2435;border-color:#1b2435}
.supporting-sheet .supporting-recorder-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.supporting-sheet .supporting-recorder-actions button{min-height:50px;border-radius:16px;font-weight:700}
.supporting-hint{display:block;margin:10px 0 0;color:#8793a5;font-size:12px;line-height:1.45}
@media(max-width:520px){.supporting-grid{gap:10px}.supporting-type{min-height:88px;padding:13px 12px;gap:10px}.supporting-type-icon{width:44px;height:44px;flex-basis:44px;border-radius:14px;font-size:21px}.supporting-type-copy strong{font-size:15px}.supporting-type-copy small{font-size:10px}.supporting-type-arrow{font-size:22px}.supporting-sheet{padding:20px}}

/* Supporting evidence — Apple-style, consistent across Course and Portfolio. */
.supporting-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.supporting-type{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:78px;margin:0;padding:16px;text-align:left;cursor:pointer;border-radius:20px;white-space:nowrap}
.supporting-type:active{transform:scale(.99)}
.supporting-type-icon{width:27px;height:27px;flex:0 0 27px;display:flex;align-items:center;justify-content:center;color:#98a5b8}
.supporting-type-icon svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.supporting-type-copy{min-width:0;display:block;flex:0 0 auto}
.supporting-type-copy strong{display:block;font-size:15px;line-height:1.25;font-weight:650;letter-spacing:-.01em;white-space:nowrap}
@media(max-width:520px){.supporting-list{gap:10px}.supporting-type{min-height:68px;padding:14px 12px;gap:10px}.supporting-type-icon{transform:scale(.9);transform-origin:left center}.supporting-type-copy strong{font-size:14px}}
.supporting-portfolio-list{display:grid;gap:10px}
.supporting-portfolio-item{display:flex;align-items:center;min-height:68px;margin:0;padding:15px 18px}
.supporting-portfolio-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.supporting-portfolio-copy strong{font-size:15px;font-weight:650;line-height:1.2}
.supporting-portfolio-copy span{font-size:12px;color:#8a95a5}
@media(max-width:520px){.supporting-type{min-height:68px;padding:15px 16px}.supporting-type-copy strong{font-size:15px}.supporting-type-copy small{font-size:11px}}
.evidence-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:2px}.evidence-type-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:132px;padding:22px 14px;text-align:center;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 4px 15px rgba(25,36,55,.04);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.evidence-type-tile:hover{border-color:var(--yellow-line);box-shadow:0 8px 22px rgba(25,36,55,.07)}.evidence-type-tile:active{transform:scale(.96);box-shadow:0 2px 8px rgba(25,36,55,.06)}.evidence-type-icon{width:56px;height:56px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;color:var(--yellow-ink);transition:background .16s ease,color .16s ease}.evidence-type-tile:hover .evidence-type-icon,.evidence-type-tile:active .evidence-type-icon{background:var(--yellow);color:#fff}.evidence-type-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}.evidence-type-copy{min-width:0}.evidence-type-copy strong{display:block;font-size:14.5px;font-weight:700;letter-spacing:-.01em;color:var(--ink);line-height:1.25}@media(max-width:380px){.evidence-type-grid{gap:9px}.evidence-type-tile{min-height:118px;padding:18px 10px;gap:9px}.evidence-type-icon{width:48px;height:48px}.evidence-type-icon svg{width:22px;height:22px}.evidence-type-copy strong{font-size:13.5px}}
