/* SMARtCareer: two screens, built to fit the window without long scrolling. */
.wz { display: block !important; grid-template-columns: none !important; max-width: 1180px; margin: 0 auto; padding: 8px 16px 24px; }
.wz [hidden] { display: none !important; }
.wz-steps { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; flex-wrap: wrap; }
.wz-steps span { padding: 3px 10px; border-radius: 999px; border: 1px solid transparent; }
.wz-steps span.sep { padding: 0; }
.wz-steps span.on { border-color: var(--accent); color: inherit; font-weight: 600; }

.wz-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--card); max-width: 760px; }
.wz-card h2 { margin: 0 0 12px; font-size: 18px; }
.wz-card details { margin: 12px 0; font-size: 13px; }
.wz-card details summary { cursor: pointer; color: var(--muted); }
.wz input[type=text], .wz input[type=email], .wz textarea, .wz select { font: inherit; font-size: 13px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: inherit; }
.wz textarea { width: 100%; box-sizing: border-box; }
.wz button, .wz .btn { font: inherit; font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: inherit; cursor: pointer; text-decoration: none; display: inline-block; }
.wz button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.wz button[disabled] { opacity: .45; cursor: default; }
.wz button.link { border: none; background: none; padding: 0; color: var(--accent, #7b8cff); text-decoration: underline; }
.wz .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.wz .row input[type=text], .wz .row input[type=email] { flex: 1; min-width: 160px; }
.wz .hint { font-size: 12.5px; color: var(--muted); }
.wz .tiers, .wz .privacy { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.wz .chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.wz .chip { border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 26px; text-align: center; }
.drop.over { border-color: var(--accent); }
.drop p { margin: 8px 0 0; }

/* screen 2 */
.bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.bar label { font-size: 12.5px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.bar .grow { flex: 1; }
.seg { display: inline-flex; }
.seg button { border-radius: 0; }
.seg button:first-child { border-radius: 8px 0 0 8px; }
.seg button:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
.seg button.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.dl { display: inline-flex; gap: 6px; }
.dl .btn { border-color: var(--accent); }
.scoreline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; margin: 4px 0; }
.strip { font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.strip .warn { color: #d9822b; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pane { border: 1px solid var(--line); border-radius: 10px; background: var(--card); min-width: 0; display: flex; flex-direction: column; }
.phead { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pbody { padding: 8px; overflow: auto; height: calc(100vh - 330px); min-height: 380px; }
.pbody img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.pager { display: inline-flex; gap: 4px; align-items: center; }
.pager .pg { padding: 2px 7px; font-size: 12px; }
.pgn { font-size: 12px; color: var(--muted); padding: 0 6px; }
.orig-page { background: #fff; color: #1b1b1b; border: 1px solid var(--line); padding: 14px; font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.mk.st-kept { background: rgba(46, 139, 87, .13); }
.mk.st-moved, .mk.st-edited { background: rgba(80, 130, 200, .2); }
.mk.st-left-out, .mk.st-removed, .mk.st-held { background: rgba(192, 57, 43, .16); text-decoration: line-through; text-decoration-color: rgba(192, 57, 43, .6); }
.chgbox { border: 1px solid var(--line); border-radius: 10px; padding: 8px; max-height: calc(100vh - 300px); overflow: auto; background: var(--card); }
.chg { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.chg th { text-align: left; padding: 6px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.chg td { vertical-align: top; padding: 5px 6px; border-bottom: 1px solid var(--line); width: 50%; }
.chg .chip { font-size: 11px; }
.chg .st-left-out .chip, .chg .st-removed .chip, .chg .st-held .chip { border-color: #c0392b; color: #c0392b; }
.chg .st-moved .chip, .chg .st-edited .chip { border-color: var(--accent); }
.foot { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* side panel */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--card, #fff); border-left: 1px solid var(--line); box-shadow: -8px 0 24px rgba(0, 0, 0, .25); padding: 14px; overflow: auto; z-index: 50; }
.dhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tabs { display: inline-flex; gap: 4px; }
.tabs button.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.sugs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.sug { border-radius: 999px !important; padding: 3px 10px !important; font-size: 12px !important; }
.rv-nav { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.frame { font-style: italic; color: var(--muted); font-size: 12.5px; }
.ref-old { font-size: 12.5px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(128, 128, 128, .5); }
#cardBox h4 { margin: 6px 0; font-size: 14px; }
#cardBox textarea { margin: 6px 0; }
.attempt { padding: 6px 0; font-size: 13px; border-top: 1px solid var(--line); }
pre.orig { white-space: pre-wrap; font: inherit; font-size: 12px; max-height: 200px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
label.inl { font-size: 12.5px; }

/* side by side down to a narrow window; only a phone-width screen stacks the two pages */
@media (max-width: 520px) {
  .cmp { grid-template-columns: 1fr; }
  .pbody { height: 60vh; }
}
@media (max-width: 760px) {
  .pbody { min-height: 300px; padding: 4px; }
}

/* left rail: numbered steps, the current one highlighted with its command */
.wz { display: grid !important; grid-template-columns: 250px minmax(0, 1fr) !important; gap: 20px; max-width: 1280px; align-items: start; }
.rail { position: sticky; top: 8px; }
.rail ol { list-style: none; margin: 0; padding: 0; }
.rail li { position: relative; display: flex; gap: 12px; padding: 0 0 18px; }
.rail li:not(.on):not(.done) .dot, .rail li:not(.on):not(.done) > .rb > b { opacity: .55; }
.rail li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.rail .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--card); z-index: 1; }
.rail .rb { min-width: 0; flex: 1; font-size: 13px; }
.rail .rb b { font-size: 14px; }
.rail .cmd { margin: 2px 0 6px; color: var(--muted); font-size: 12.5px; display: none; }
.rail li.on .dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(120, 140, 255, .25); }
.rail li.on .cmd { display: block; color: inherit; }
.rail li.done .dot { border-color: #2e8b57; background: #2e8b57; color: #fff; font-size: 0; }
.rail li.done .dot::before { content: "\2713"; font-size: 14px; }
.rail li.done::before { background: #2e8b57; }
.railbtns { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.rail .dl { margin: 8px 0; }
.rail .scoreline { display: block; font-size: 12.5px; }
.rail .scoreline button { margin: 6px 6px 0 0; }
.rail .strip { display: block; font-size: 12px; color: var(--muted); }
.rail .strip .warn { display: block; margin-top: 2px; }
.rail .foot { margin: 8px 0 0; }
.content { min-width: 0; }
.cmp.nobefore { grid-template-columns: 1fr; }
.cmp.nobefore #paneB { display: none; }
.phead .link { margin-left: 8px; font-size: 12px; }
@media (max-width: 900px) {
  .wz { grid-template-columns: 1fr !important; }
  .rail { position: static; }
}

.rail .optional { font-size: 11px; color: var(--muted); margin-left: 6px; }

.gains { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 4px 0 8px; }
.gain { text-align: left; font-size: 12px !important; }

.skip { font-size: 12px !important; margin-top: 6px; }

.intake { border: 1px solid var(--accent); border-radius: 10px; padding: 12px; margin: 12px 0; }
.intake h3 { margin: 0 0 4px; font-size: 14px; }
.intake h4 { margin: 8px 0 4px; font-size: 14px; }
.intake .optional { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.intake textarea { margin: 6px 0; }
.numrow { display: flex; gap: 6px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.numrow input { flex: 1; min-width: 220px; }

.intake .q { margin: 8px 0; }
.intake .q label { display: block; font-size: 12.5px; margin-bottom: 3px; }
.intake .q input[type=text] { width: 100%; box-sizing: border-box; }
.intake .row select { flex: none; }
.draft { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }

.intake .quote { border-left: 3px solid var(--line); padding-left: 10px; margin: 6px 0; font-size: 13px; }

.pastebox { margin: 14px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.pastebox .lead { margin: 0 0 6px; font-size: 14px; }
.exrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.exrow .sugs { margin: 0; }
/* later steps keep their controls out of the way until there is a resume */
.rail:not(.ready) .railbtns, .rail:not(.ready) .skip, .rail:not(.ready) .gains, .rail:not(.ready) .dl, .rail:not(.ready) .foot,
.rail:not(.ready) .scoreline, .rail:not(.ready) .strip { display: none; }

.chat { margin: 8px 0; }
.chatlog { max-height: 150px; overflow: auto; display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.msg { font-size: 12.5px; padding: 5px 9px; border-radius: 10px; max-width: 95%; }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; }
.msg.bot { align-self: flex-start; border: 1px solid var(--line); }
.rail .chat .row { margin: 4px 0; }
.rail .chat input[type=text] { min-width: 0; }
.rail:not(.ready) .chat { display: none; }

/* the fixed theme toggle sits at the top right: keep the panel header clear of it */
.dhead { padding-right: 56px; }
.drawer { padding-top: 12px; }

/* ---- made for a first-time computer user: big, plain, one thing at a time ---- */
.wz.novice { font-size: 15px; line-height: 1.5; }
.novice .hint { font-size: 13px; }
.novice button, .novice .btn, .novice select, .novice input[type=text], .novice input[type=email] { font-size: 14px; min-height: 38px; }
.novice button.big { font-size: 16px; padding: 10px 20px; }
.novice button.go { background: #2e8b57; border-color: #2e8b57; color: #fff; }
.novice h2 { font-size: 20px; }
.novice .lead { font-size: 15px; margin: 4px 0 12px; }
.rail { position: sticky; top: 8px; }
.rail li { cursor: pointer; }
.tabs5 { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.tabs5 button { border-radius: 8px 8px 0 0; }
.tabs5 button.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; font-weight: 600; }
.tabs5 .grow { flex: 1; }
.scorechip { border-color: var(--accent) !important; }
.panel { max-width: 1100px; }
.wz-card.panel { max-width: 860px; }
.bigscore { display: flex; align-items: baseline; gap: 10px; margin: 6px 0; }
.bigscore #scoreBig { font-size: 64px; font-weight: 800; line-height: 1; color: var(--accent); }
.bigscore .outof { font-size: 16px; color: var(--muted); }
.area { display: grid; grid-template-columns: 170px 1fr 36px; gap: 10px; align-items: center; margin: 6px 0; font-size: 14px; }
.area .bar2 { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.area .bar2 i { display: block; height: 100%; background: var(--accent); }
.area .num { text-align: right; color: var(--muted); }
.finding { border-left: 4px solid #d9822b; padding: 6px 10px; margin: 8px 0; background: rgba(217, 130, 43, .08); }
.gains .gain { display: block; width: 100%; text-align: left; margin: 6px 0; padding: 10px 14px; }
.gains .gain .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.navrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 18px 0 4px; }
.acc { border: 1px solid var(--line); border-radius: 10px; padding: 0; margin: 10px 0; background: var(--card); }
.acc > summary { cursor: pointer; padding: 12px 14px; font-size: 16px; font-weight: 600; }
.acc[open] > summary { border-bottom: 1px solid var(--line); }
.acc > *:not(summary) { margin-left: 14px; margin-right: 14px; }
.acc > *:last-child { margin-bottom: 14px; }
.dl.big .btn { font-size: 18px; padding: 14px 26px; }
.dl.big { display: flex; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
/* only the current step shows its instruction; the others show it on hover */
.rail .cmd { display: none; }
.rail li.on .cmd { display: block; }
@media (max-width: 900px) { .area { grid-template-columns: 110px 1fr 30px; } }

.bigscore { flex-wrap: wrap; }
.delta { font-size: 15px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.delta.up { background: #2e8b57; color: #fff; }
.delta.down { background: #c0392b; color: #fff; }
.delta.same { background: var(--line); color: inherit; font-weight: 500; }
.history { margin: 6px 0 10px; }
.hrow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; }
.hstep { display: inline-flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px; min-width: 70px; }
.hstep b { font-size: 18px; }
.hstep small { font-size: 11px; color: var(--muted); text-align: center; max-width: 120px; }
.hstep.now { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.harrow { align-self: center; color: var(--muted); }
.note { background: rgba(120, 140, 255, .12); border-left: 4px solid var(--accent); padding: 8px 10px; border-radius: 6px; font-size: 14px; }
@media (max-width: 600px) {
  .bigscore #scoreBig { font-size: 52px; }
  .hstep small { max-width: 90px; }
}

.delta.small { font-size: 13px; padding: 3px 10px; margin-top: 6px; display: inline-block; }
.delta.flash { animation: pop 1.2s ease-out 2; }
@keyframes pop { 0% { transform: scale(.8); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
.gain.done { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 6px 0; }
.gain.done.yes { border-color: #2e8b57; background: rgba(46, 139, 87, .12); }
.gain.done.wait { border-color: #d9822b; background: rgba(217, 130, 43, .10); }
.gain.done .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.stephint { display: none; margin: 0 0 8px; font-size: 15px; }
@media (max-width: 900px) {
  .rail { display: none; }
  .stephint { display: block; }
  .tabs5 { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .tabs5 button { white-space: nowrap; flex: none; }
  .tabs5 .grow { display: none; }
  .scorechip { margin-left: auto; }
}

.loadedblock { display: flex; gap: 16px; align-items: flex-start; border: 2px solid #2e8b57; border-radius: 12px; padding: 14px; margin: 8px 0 14px; background: rgba(46, 139, 87, .08); }
.loadedblock .thumb img { width: 110px; border: 1px solid var(--line); background: #fff; display: block; }
.loadedblock .thumb:empty { display: none; }
.loadedinfo { flex: 1; min-width: 0; }
.addbox > summary { font-size: 15px; }
.addbox .drop { margin: 10px 14px; }
.addbox .pastebox { margin: 10px 14px; }
@media (max-width: 600px) { .loadedblock { flex-direction: column; } }

.helperbar { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.helperbar .consent { font-size: 13px; color: var(--muted); }
.gain.row2 { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin: 6px 0; }
.gain.row2 input[type=checkbox] { width: 22px; height: 22px; margin-top: 8px; flex: none; }
.gain.row2 .gainbtn { flex: 1; text-align: left; border: none; background: none; padding: 6px 4px; }
.gain.row2 .gainbtn .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.drafts { border: 2px solid var(--accent); border-radius: 12px; padding: 12px; margin: 12px 0; }
.draft2 { border-top: 1px solid var(--line); padding: 8px 0; }
.draft2 textarea { width: 100%; box-sizing: border-box; }

.versions { margin: 6px 0 10px; }
.workingon { margin: 0 0 6px; font-size: 15px; }
.vrow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ver { border-radius: 999px !important; font-size: 13px !important; min-height: 34px !important; padding: 4px 12px !important; }
.ver.now { border-color: var(--accent) !important; box-shadow: 0 0 0 1px var(--accent) inset; font-weight: 600; }

.keepbox { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0; padding: 10px 12px; border: 2px solid #2e8b57; border-radius: 10px; background: rgba(46, 139, 87, .08); }
.keptnote { color: #2e8b57; font-weight: 600; margin: 6px 0; }

.draft2 label.inl { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.draft2 input[type=checkbox] { width: 22px; height: 22px; flex: none; }

.sumline { font-size: 16px; margin: 0 0 10px; }
.sugcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 10px 0; background: var(--card); }
.sc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sc-head b { font-size: 17px; }
.sc-head .pts { font-size: 13px; background: rgba(46, 139, 87, .15); color: #2e8b57; border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.sugcard .concern, .sugcard .fix { margin: 8px 0; font-size: 15px; }
.sugcard .fix i { color: var(--muted); }

.sugcard .mine { margin: 8px 0; font-size: 15px; border-left: 3px solid var(--line); padding-left: 10px; }

.helperhead { margin: 10px 0 4px; font-size: 15px; }
.sugcard textarea { width: 100%; box-sizing: border-box; margin: 8px 0; }

.tabs5 .aside { border-style: dashed; }
.railside { font-size: 13px; color: var(--muted); margin: 6px 0 0 40px; }
.decide:empty { display: none; }
.decidebox { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border: 2px solid var(--accent); border-radius: 10px; padding: 10px 14px; margin: 8px 0 12px; background: rgba(120, 140, 255, .08); }
.decidebox .btns { display: inline-flex; gap: 8px; flex-wrap: wrap; }

.donebox { margin: 4px 0 10px; font-size: 14px; color: var(--muted); }
.donebox summary { cursor: pointer; }
.donerow { margin: 4px 0 4px 14px; font-size: 14px; }
.donerow.yes { color: #2e8b57; }

.dllist { margin: 10px 0; }
.dlcard { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.dlcard.best { border: 2px solid #2e8b57; background: rgba(46, 139, 87, .08); }
.dlhead { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.dlhead .rec { background: #2e8b57; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; }
.dlhead .now { border: 1px solid var(--accent); border-radius: 999px; padding: 1px 10px; font-size: 12px; }
.dlcard .dl { margin: 8px 0 0; }

/* the score moved: green up, red down, yellow no change */
.toast { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 200; max-width: min(94vw, 640px); padding: 12px 18px; border-radius: 12px; font-size: 16px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.toast[hidden] { display: none; }
.toast.up { background: #1f7a45; color: #fff; }
.toast.same { background: #f2c230; color: #2b2200; }
.toast.down { background: #c0392b; color: #fff; }
.scorechip.up { background: #1f7a45 !important; color: #fff !important; }
.scorechip.same { background: #f2c230 !important; color: #2b2200 !important; }
.scorechip.down { background: #c0392b !important; color: #fff !important; }
.delta.same { background: #f2c230; color: #2b2200; font-weight: 700; }
.gain.done.wait { border-color: #f2c230; background: rgba(242, 194, 48, .12); }

/* where is "good enough"? */
.gauge { margin: 6px 0 12px; max-width: 520px; }
.gbar { position: relative; display: flex; height: 14px; border-radius: 7px; overflow: visible; }
.gbar .seg { display: block; height: 100%; }
.gbar .s1 { width: 40%; background: #c0392b; border-radius: 7px 0 0 7px; }
.gbar .s2 { width: 25%; background: #e08a2b; }
.gbar .s3 { width: 15%; background: #d4c02b; }
.gbar .s4 { width: 20%; background: #1f7a45; border-radius: 0 7px 7px 0; }
.gbar b { position: absolute; top: -5px; width: 12px; height: 24px; border-radius: 4px; background: #fff; border: 3px solid #111; box-sizing: border-box; }
.glabels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.glabels .t80 { margin-right: 14%; }
#scoreBig.good { color: #1f7a45; }
#scoreBig.ok { color: #9a8a00; }
#scoreBig.mid { color: #e08a2b; }
#scoreBig.low { color: #c0392b; }
.stopbox { border: 2px solid #1f7a45; border-radius: 12px; background: rgba(31, 122, 69, .1); padding: 10px 14px; margin: 10px 0; }
.stopbox p { margin: 0 0 8px; font-size: 16px; }
.acc.plain > summary { font-size: 16px; }

.sortrow { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; }
.area.btn2 { display: grid; grid-template-columns: 150px 1fr 60px; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; margin: 2px 0; cursor: pointer; }
.area.btn2:hover { border-color: var(--line); }
.area.btn2.focus { border-color: var(--accent); background: rgba(120, 140, 255, .08); }
.area .bar2 i.good { background: #1f7a45; }
.area .bar2 i.ok { background: #9a8a00; }
.area .bar2 i.mid { background: #e08a2b; }
.area .bar2 i.low { background: #c0392b; }
.area .num small { color: var(--muted); font-weight: 700; margin-left: 4px; }
.focusnote { background: rgba(120, 140, 255, .1); border-left: 4px solid var(--accent); border-radius: 6px; padding: 8px 12px; margin: 8px 0; font-size: 15px; }
@media (max-width: 600px) { .area.btn2 { grid-template-columns: 100px 1fr 54px; } }

.parthead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.parthead h3 { margin: 0; cursor: help; }
.parthead .seg button { min-width: 38px; padding: 4px 10px; font-size: 16px; }

.helps { margin: 4px 0; font-size: 13px; color: var(--muted); }
.areatag { border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.openn { display: inline-block; min-width: 18px; text-align: center; margin-left: 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 0 5px; }

.qmark { margin-left: 8px; width: 24px; height: 24px; min-height: 24px !important; padding: 0 !important; border-radius: 50% !important; font-size: 13px !important; font-weight: 700; line-height: 1; vertical-align: middle; cursor: help; }
.whynote { margin: 4px 0; background: rgba(120, 140, 255, .08); border-radius: 6px; padding: 6px 10px; }
.whynote[hidden] { display: none; }

.gainn { display: inline-block; margin-left: 6px; border-radius: 999px; background: rgba(46, 139, 87, .18); color: #2e8b57; font-size: 11px; font-weight: 700; padding: 0 6px; }
.area.btn2 { grid-template-columns: 150px 1fr 110px; }
@media (max-width: 600px) { .area.btn2 { grid-template-columns: 96px 1fr 96px; } }

/* the score tab: numbers on the left, what to do on the right, so little scrolling */
.panel.wide { max-width: 1180px; }
.score-grid { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
.scoreview { display: none; margin: 4px 0 12px; }
.bigscore #scoreBig { font-size: 56px; }
.area.btn2 { padding: 5px 8px; margin: 0; }
.panel.wide .gauge { max-width: 100%; }
.panel.wide .lead { margin: 2px 0 8px; }
@media (max-width: 1320px) {
  .score-grid { grid-template-columns: 1fr; gap: 0; }
  .scoreview { display: inline-flex; }
  .score-grid[data-view="suggest"] .sg-left { display: none; }
  .score-grid[data-view="parts"] .sg-right { display: none; }
}

/* the helper bar is one short row */
.helperbar { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 6px 14px !important; padding: 8px 10px !important; margin: 6px 0 !important; }
.helperbar .sumline { flex-basis: 100%; margin: 0; font-size: 15px; }
.helperbar .hint, .helperbar .note { flex-basis: 100%; margin: 0; font-size: 13px; }
.helperbar #helperGo { font-size: 15px; padding: 8px 16px; min-height: 40px; }
.helperbar .consent { font-size: 14px; color: inherit; }
.helperbar .brief { flex-basis: 100%; }
.helperbar .brief summary { font-size: 13px; color: var(--muted); }

.titlerow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.titlerow h2 { margin: 0 0 6px; }
.panel.wide .more { margin: 0 0 4px; font-size: 13px; }
.panel.wide .sugcard { margin: 8px 0; padding: 10px 14px; }

.nothundred { margin: 6px 0 0; font-size: 13px; }
.polish { margin: 4px 0 8px; }

.layline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line, #2a3350); }
.layline.locked { opacity: .6; }
.layname { font-weight: 600; }

/* upload on the left, paste on the right; the role section sits below both */
.loadgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; margin: 10px 14px; align-items: stretch; }
.loadgrid .drop { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.loadgrid .pastebox { margin: 0; }
.loadgrid .pastebox textarea { width: 100%; box-sizing: border-box; }
@media (max-width: 760px) { .loadgrid { grid-template-columns: 1fr; } }

/* root choice and the Score product */
.roottabs { display: flex; gap: 8px; max-width: 1180px; margin: 10px auto 0; padding: 0 16px; }
.roottabs button { border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.roottabs button.on { background: var(--accent, #4f6bed); color: #fff; border-color: transparent; }
.scoreapp { max-width: 1180px; margin: 12px auto 40px; padding: 0 16px; }
.sccols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0; }
@media (max-width: 760px) { .sccols { grid-template-columns: 1fr; } }
.scoreapp textarea, .scoreapp input[type=text] { width: 100%; box-sizing: border-box; }
.scoreapp label.btn { cursor: pointer; display: inline-block; }
.scpriv { margin: 8px 0; }
.scbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 8px; }
.scwrap { overflow-x: auto; }
.scmat { border-collapse: collapse; width: 100%; min-width: 520px; }
.scmat th, .scmat td { border: 1px solid var(--line, #2a3350); padding: 8px 10px; text-align: center; }
.scmat thead th { cursor: pointer; font-size: 13px; vertical-align: bottom; }
.scmat th.rname { text-align: left; font-weight: 600; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.scmat th.rname small { display: block; font-weight: 400; opacity: .7; }
.sccell b { font-size: 18px; }
.sccell small { display: block; opacity: .75; font-size: 11px; }
.sccell.click { cursor: pointer; }
.sccell.s, .scpart.s, .scarea.s { background: rgba(46, 160, 90, .28); }
.sccell.m, .scpart.m, .scarea.m { background: rgba(70, 130, 220, .26); }
.sccell.a, .scpart.a, .scarea.a { background: rgba(220, 170, 40, .26); }
.sccell.rt, .scpart.rt, .scarea.rt { background: rgba(215, 70, 70, .28); }
.scerr { color: #e57373; text-align: left !important; }
.scpart { border-radius: 8px; padding: 8px 10px; margin: 6px 0; }
.scareas { display: flex; flex-wrap: wrap; gap: 6px; }
.scarea { border-radius: 999px; padding: 4px 10px; font-size: 13px; }

/* Score product: plain stacked page, and the root choice honours [hidden] */
main.scoreapp { display: block !important; grid-template-columns: none !important; }
.roottabs[hidden], .scoreapp[hidden] { display: none !important; }
.scoreapp .sccols { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .scoreapp .sccols { grid-template-columns: 1fr; } }
.scoreapp .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.scoreapp .row input[type=text] { flex: 1 1 200px; width: auto; }
#indApp[hidden] { display: none !important; }
.scoreapp label.btn { border: 1px solid var(--line, #3a4466); border-radius: 10px; padding: 8px 14px; background: transparent; color: inherit; font-weight: 600; }
.scoreapp label.btn:hover { border-color: var(--accent, #4f6bed); }

.scnotes { text-align: left; font-size: 12px; font-weight: 400; margin-top: 6px; line-height: 1.35; }
.scnotes .yes { color: #5cc08a; }
.scnotes .no { color: #e8a33d; }
.scwarn { color: #e8a33d; margin: 6px 0; }
.scmat th.rname { max-width: 340px; white-space: normal; }

.sortmark { opacity: .45; font-weight: 400; }
.sortmark.on { opacity: 1; color: var(--accent, #4f6bed); font-weight: 700; }
.scmat thead th { white-space: nowrap; }

/* the promise: privacy and no-LLM, stated so it cannot be missed */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 18px; }
.pcard { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--accent, #4f6bed);
  background: rgba(79, 107, 237, .10); }
.pcard b { font-size: 15px; }
.pcard span:not(.picon) { font-size: 13px; line-height: 1.4; }
.picon { font-size: 22px; line-height: 1; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* links stay readable in both themes (fleet link colour: light blue on dark, strong blue on light) */
:where(a:not(.btn):not(.tab)) { color: var(--fleet-link, #8cb8ff); text-decoration: underline; text-underline-offset: 2px; }
:where(a:not(.btn):not(.tab)):visited { color: var(--fleet-link, #8cb8ff); }
:where(a:not(.btn):not(.tab)):hover { text-decoration-thickness: 2px; }
.report-footer a, .report-footer a:visited { text-decoration: none; }
.report-footer a:hover { text-decoration: underline; }
.wz .btn, .scoreapp .btn { color: inherit; }

/* SMARtRecruit plans and access */
body[data-gated="1"] .sccols, body[data-gated="1"] #scGoRow, body[data-gated="1"] #scOut { display: none; }
.acct { margin: 8px 0 12px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line, #3a4466); font-size: 14px; }
.gate h3 { margin-top: 0; }
.plan-groups { display: flex; flex-direction: column; gap: 14px; margin: 12px 0; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; }
.plans-onetime { max-width: 220px; margin: 0 auto; }
.plans-monthly { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .plans-monthly { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } }
.plan { border: 2px solid var(--line, #3a4466); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.plan:hover, .plan:focus { border-color: var(--fleet-link, #8cb8ff); outline: none; }
.plan.on { border-color: var(--accent, #4f6bed); background: rgba(79, 107, 237, .12); }
.plan b { font-size: 13.5px; }
.pprice { font-size: 17px; font-weight: 700; margin: 2px 0; }
.pprice small { font-size: 11.5px; font-weight: 400; opacity: .8; }
.save { display: table; margin: 2px 0 4px; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(60, 170, 100, .25); }
.plan-sub { margin: 2px 0 0; font-size: 11.5px; line-height: 1.35; opacity: .75; }
.plan:hover .plan-sub, .plan.on .plan-sub { display: none; }
.plan ul { display: none; margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.45; }
.plan:hover ul, .plan.on ul { display: block; }
.terms { display: block; margin: 8px 0; font-size: 14px; }
.haveacc { margin-top: 14px; }
.codebox { margin: 10px 0; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--accent, #4f6bed); background: rgba(79, 107, 237, .1); }
.bigcode { font: 700 24px/1.2 var(--fleet-mono, monospace); letter-spacing: .08em; margin: 8px 0; user-select: all; }

.helperbuy { margin: 10px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, #3a4466); background: rgba(79, 107, 237, .08); }
.helperbuy p { margin: 0 0 8px; }

.hbopt { display: block; margin: 8px 0; padding: 8px 10px; border: 1px solid var(--line, #3a4466); border-radius: 10px; cursor: pointer; }
.hbopt .hint { margin: 2px 0 0 22px; }

/* Recruit text sizes match the rest of the fleet */
.scoreapp h2 { font-size: 20px; }
.scoreapp h3 { font-size: 16px; }
.scoreapp .lead { font-size: 15px; }
.scoreapp { font-size: 15px; }

.donecard { max-width: 520px; margin: 80px auto; padding: 0 16px; text-align: center; }
.donecard .wz-card { max-width: 520px; padding: 28px; }

.warn { font-weight: 600; border-left: 4px solid #e0a030; padding: 6px 10px; background: rgba(224, 160, 48, .12); border-radius: 6px; }

/* fleet header: edge-to-edge bar, brand with trademark, fleet motto and the product's own line */
header.app-header-bar { padding: 0; }
.app-header-bar .brand { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
.app-header-bar .brand span { color: var(--accent); }
.app-header-bar .brand .tm { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 1px; }
.ins textarea { margin: 6px 0; }

.scmat .dls { display: flex; gap: 6px; margin-top: 4px; }
.scmat a.dl { font-size: 12px; font-weight: 600; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; white-space: nowrap; }
.scmat a.dl:hover { border-color: currentColor; }

.pastecard { margin: 6px 0; }

/* phones: a tighter score table so more job columns show without swiping */
@media (max-width: 600px) {
  .scmat { min-width: 0; font-size: 12px; }
  .scmat th, .scmat td { padding: 5px 4px; }
  .scmat thead th { white-space: normal; font-size: 11px; }
  .scmat th.rname { max-width: 96px; font-size: 12px; overflow-wrap: anywhere; }
  .scmat .dls { flex-wrap: wrap; gap: 4px; }
  .scmat a.dl { font-size: 11px; padding: 1px 6px; }
  .scmat td .scn, .scmat td b { font-size: 15px; }
}
.scmat td.fitcell b { font-size: 13px; line-height: 1.25; display: block; }

/* download pills: one labelled row each, labels share a width so the buttons line up */
.scmat .dls, .dlbar .dls { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.dlab { display: inline-block; min-width: 74px; font-size: 12px; font-weight: 400; opacity: .8; text-align: left; }
.dlbar { display: flex; flex-direction: column; gap: 2px; margin: 4px 0; }
.dlbar a.dl { font-size: 12px; font-weight: 600; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; white-space: nowrap; }
@media (max-width: 600px) { .dlab { min-width: 62px; font-size: 11px; } }

.dlmenu { margin-top: 6px; text-align: left; font-size: 12px; font-weight: 400; }
.dlmenu summary { cursor: pointer; display: inline-block; font-weight: 600; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.dlmenu a.dl { display: block; margin: 4px 0 0; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; text-decoration: none; white-space: nowrap; width: max-content; }

.offerbox { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; cursor: pointer; }
.uphint { font-size: 11px; font-weight: 400; opacity: .85; margin-top: 2px; }
.priolab { display: block; margin: 0 0 8px; font-size: 12px; } .priolab select { font-size: 12px; }
.prioTag { font-weight: 600; opacity: .9; }

.wlbox { margin: 10px 0; } .wlbox summary { cursor: pointer; font-weight: 600; font-size: 13px; } .wlbox .row input { flex: 1 1 160px; }

/* the two products as tabs: SMARtCareer for individuals, SMARtRecruit for teams and companies */
.tabs2 { display: flex; gap: 8px; max-width: 1100px; margin: 10px auto 0; padding: 0 16px; }
.tabs2 a { display: inline-flex; flex-direction: column; padding: 6px 16px; border: 1px solid var(--line, #2a3350); border-radius: 10px; text-decoration: none; color: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; }
.tabs2 a small { font-weight: 400; font-size: 11px; opacity: .75; }
.tabs2 a.on { background: var(--accent, #4f6bed); border-color: var(--accent, #4f6bed); color: #fff; }
.tabs2 a:not(.on):hover { border-color: var(--accent, #4f6bed); }
.teamtab { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 13px; } .teamtab th, .teamtab td { border: 1px solid var(--line, #2a3350); padding: 6px 8px; text-align: left; } .teamtab tr.gone { opacity: .5; text-decoration: line-through; }
.seg.intervals { margin: 6px 0 10px; } .seg.intervals button.on { background: var(--accent, #4f6bed); color: #fff; }
