/* LEVY expansion: Learning Center + real account portal. Consistent black / orange / white system. */
.active-link{color:var(--orange)!important}.btn-outline-on-dark{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:13px 19px;border-radius:10px;border:1px solid #697780;color:#fff;font-size:13px;font-weight:800}.btn-outline-on-dark:hover{border-color:#fff;background:#ffffff13}
.resource-hero,.portal-hero{background:radial-gradient(ellipse at 85% 15%,#34434d 0,transparent 49%),linear-gradient(125deg,#0e171c,#1b2931 65%,#10171c);color:#fff;overflow:hidden}.resource-hero-grid{min-height:450px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:45px;padding:72px 0}.resource-hero h1,.portal-hero h1{font-size:clamp(45px,5.2vw,70px);margin:22px 0;line-height:1.07}.resource-hero h1 em,.portal-hero h1 em{font-style:normal;color:var(--orange)}.resource-hero p,.portal-hero p{max-width:580px;color:#c0cbd2;font-size:16px;line-height:1.75}.resource-hero-art{padding:25px;transform:rotate(-3deg)}.resource-art-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.resource-art-card{background:#fff;border-radius:18px;color:#161d22;padding:25px;min-height:158px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 22px 40px #0003}.resource-art-card>span{font-size:10px;letter-spacing:.14em;font-weight:800;color:#707b83}.resource-art-card strong{font-size:27px;line-height:1.1;letter-spacing:-.06em}.resource-art-card b{align-self:end;font-size:24px;color:var(--orange)}.resource-art-card.orange-art{background:var(--orange);color:white;transform:translateY(17px)}.resource-art-card.orange-art>span,.resource-art-card.orange-art b{color:#fff}.resource-art-card.wide-art{grid-column:1/-1;min-height:100px;background:#222c33;color:#fff;flex-direction:row;align-items:center;gap:20px}.resource-art-card.wide-art strong{font-size:20px;max-width:310px}.resource-art-card.wide-art>span{color:#fba277}.resource-stats{background:#fff;border-bottom:1px solid var(--border)}.resource-stats-inner{display:grid;grid-template-columns:repeat(4,1fr);padding:27px 0;gap:25px}.resource-stats-inner>div{display:flex;flex-direction:column;gap:5px}.resource-stats-inner strong{font-size:23px;font-weight:800;letter-spacing:-.05em}.resource-stats-inner span{font-size:12px;color:var(--muted)}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.guide-tile{min-height:238px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--border);border-radius:18px;padding:24px;background:#fff;transition:transform .15s,box-shadow .15s,border-color .15s}.guide-tile:hover{transform:translateY(-4px);border-color:#ffb18d;box-shadow:var(--shadow)}.guide-tile-top,.guide-tile-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.guide-tile-top span{font-size:10px;letter-spacing:.08em;font-weight:800;color:var(--orange);text-transform:uppercase}.guide-tile-top b{font-size:22px;color:#e4e8eb}.guide-tile h3{font-size:21px;margin:17px 0 9px;line-height:1.2}.guide-tile p{font-size:13px;color:var(--muted);flex:1}.guide-tile-bottom{border-top:1px solid var(--border);padding-top:15px;margin-top:22px;font-size:11px;color:var(--muted)}.guide-tile-bottom strong{font-size:12px;color:var(--orange)}
.resource-search-panel{padding:23px;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 12px 30px #13202b06}.resource-search-panel>label{display:block;font-size:13px;font-weight:800;margin-bottom:10px}.resource-search-line{display:grid;grid-template-columns:1fr 220px;gap:12px}.resource-search-line input,.resource-search-line select{height:49px;border:1px solid #d8dfe3;border-radius:10px;padding:0 14px;background:#fff;min-width:0;font-size:14px}.resource-search-line input:focus,.resource-search-line select:focus{outline:2px solid #ffbb9e;outline-offset:1px}.filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.filter-chip{border:1px solid #e1e5e8;background:#f8f9fa;border-radius:100px;padding:9px 13px;font-size:11px;font-weight:800;color:#49545c}.filter-chip.active{background:var(--ink);border-color:var(--ink);color:white}.library-count{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:26px 0 15px;font-size:13px;font-weight:800}.plain-action{background:transparent;border:0;color:var(--orange);font-weight:800}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.resource-item{background:#fff;border:1px solid var(--border);border-radius:17px;padding:22px;min-height:265px;display:flex;flex-direction:column;transition:box-shadow .2s}.resource-item:hover{box-shadow:var(--shadow)}.resource-item-head{display:flex;justify-content:space-between;align-items:center}.resource-type{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--orange)}.resource-bookmark{background:transparent;border:0;font-size:25px;line-height:1;color:#acb5bb}.resource-bookmark.saved{color:var(--orange)}.resource-region{font-size:11px;color:#758089;margin:8px 0 11px}.resource-item h3{font-size:18px;line-height:1.25;margin-bottom:10px}.resource-item p{font-size:12px;color:var(--muted);flex:1}.resource-org{font-size:11px;font-weight:800;color:#616e77;margin:14px 0}.resource-link{font-size:12px;font-weight:800;color:var(--orange);border-top:1px solid var(--border);padding-top:13px}
.calculator-panel{border:1px solid var(--border);border-radius:20px;padding:27px;background:#fff;box-shadow:var(--shadow)}.calc-icon{width:45px;height:45px;display:grid;place-items:center;background:var(--orange);color:white;border-radius:12px;font-size:23px;font-weight:800;margin-bottom:17px}.dark-calc{background:var(--ink)}.calculator-panel h3{font-size:23px}.calculator-panel>p{font-size:13px;color:var(--muted);margin-top:10px}.calc-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:23px 0}.calc-fields label{font-size:11px;font-weight:800;color:#4f5b62}.calc-fields input{display:block;width:100%;height:45px;border:1px solid #dce1e5;border-radius:9px;margin-top:8px;padding:10px}.calc-output{background:#f5f7f8;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:6px}.calc-output small{font-size:11px;color:#6b777f}.calc-output strong{font-size:36px;letter-spacing:-.06em}.calc-output span{font-size:11px;color:#758089}
.guide-overlay:not([hidden]){position:fixed;inset:0;z-index:100;background:#0a1015dd;display:flex;align-items:center;justify-content:center;padding:20px}.guide-dialog{background:#fff;position:relative;border-radius:20px;max-width:800px;max-height:92vh;overflow:auto;padding:42px;width:100%}.guide-close{position:sticky;float:right;top:0;border:0;border-radius:50%;background:#f0f2f4;color:#29343c;width:40px;height:40px;font-size:18px;z-index:1}.guide-dialog h2{font-size:clamp(29px,4vw,46px);margin:20px 0}.guide-intro{font-size:16px;color:var(--muted)}.guide-steps{margin:25px 0}.guide-step{display:grid;grid-template-columns:45px 1fr;gap:14px;padding:20px 0;border-top:1px solid var(--border)}.guide-step>span{font-weight:800;color:var(--orange);font-size:19px}.guide-step h3{font-size:17px;margin-bottom:8px}.guide-step p{font-size:13px;color:#5f6b73}.guide-takeaway{background:#18252d;color:#fff;border-radius:14px;padding:23px}.guide-takeaway strong{font-size:10px;letter-spacing:.12em;color:#ff9b6b}.guide-takeaway p{font-size:15px;margin-top:9px}.guide-source{font-size:12px;margin-top:16px}.guide-source a{color:var(--orange);text-decoration:underline}
/* Portal */
.portal-hero-grid{padding:63px 0;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}.portal-hero h1{font-size:clamp(40px,4.6vw,61px)}.portal-hero-side{border:1px solid #ffffff22;border-radius:18px;padding:26px;background:#ffffff0b}.portal-hero-side h3{font-size:20px;margin-bottom:15px}.portal-hero-side li{font-size:13px;color:#c9d2d7;margin:10px 0 10px 18px}.portal-hero-side strong{color:#ff9e72}.portal-shell{min-height:550px;padding:46px 0 85px;background:#f5f6f7}.portal-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:24px;align-items:start}.portal-card{background:#fff;border:1px solid var(--border);border-radius:19px;padding:29px;box-shadow:0 10px 30px #17202b09}.portal-card h2{font-size:27px;margin-bottom:10px}.portal-card h3{font-size:20px;margin-bottom:10px}.portal-card>p,.portal-card .portal-intro{color:var(--muted);font-size:13px;margin-bottom:20px}.portal-aside{display:grid;gap:14px}.portal-aside .portal-card{padding:22px}.portal-form{display:grid;gap:16px}.portal-form label{font-size:12px;font-weight:800;color:#313d45;display:block}.portal-form input,.portal-form select,.portal-form textarea,.portal-form select[multiple]{width:100%;border:1px solid #d8dfe3;border-radius:10px;background:#fff;margin-top:7px;padding:12px 13px;min-height:45px;font-size:14px}.portal-form textarea{min-height:100px;resize:vertical}.portal-form input:focus,.portal-form select:focus,.portal-form textarea:focus{outline:2px solid #ffb999;outline-offset:1px}.portal-form input[type=checkbox]{width:auto;min-height:0;margin:0 9px 0 0;accent-color:var(--orange)}.portal-form .checkbox-label{display:flex;gap:6px;align-items:flex-start;line-height:1.55;font-weight:600}.portal-form .checkbox-label input{margin-top:3px;flex:none}.portal-form small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:6px}.portal-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.portal-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.portal-tabs button,.portal-tabs a{border:1px solid #e0e5e8;background:#f7f8f9;border-radius:10px;padding:11px 16px;font-size:12px;font-weight:800}.portal-tabs .selected{background:var(--ink);color:#fff;border-color:var(--ink)}.portal-note{border-radius:12px;padding:15px;background:#fff4ed;color:#704020;font-size:12px;line-height:1.65;border:1px solid #f8dfce}.portal-note.success{background:#ecf8f1;border-color:#b9e8cd;color:#1d6642}.portal-note.error{background:#fff0ef;border-color:#f2c5c0;color:#923c35}.portal-note a{font-weight:800;text-decoration:underline}.portal-notice{margin-bottom:19px}.portal-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.portal-stat{background:#f5f7f8;border:1px solid #edf0f2;border-radius:12px;padding:17px}.portal-stat strong{display:block;font-size:25px}.portal-stat span{font-size:11px;color:var(--muted)}.portal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.portal-list{display:grid;gap:12px;margin-top:16px}.portal-list-card{padding:17px;border:1px solid var(--border);border-radius:13px;background:#fff}.portal-list-card h3{font-size:17px;margin-bottom:8px}.portal-list-card p{font-size:12px;color:var(--muted)}.portal-list-meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.portal-pill{display:inline-block;border-radius:100px;background:#f2f4f5;color:#46535c;padding:5px 9px;font-size:10px;font-weight:800}.portal-pill.orange{background:#fff0e8;color:#b4440e}.portal-pill.green{background:#eaf8ee;color:#267445}.portal-status{min-height:18px;font-size:13px;margin:13px 0}.portal-status.error{color:#ad332a}.portal-status.success{color:#1c7d46}.portal-upload-list{font-size:12px;margin-top:12px;display:grid;gap:7px}.portal-upload-list a{color:var(--orange);text-decoration:underline}.portal-small-table{width:100%;border-collapse:collapse;font-size:12px}.portal-small-table th,.portal-small-table td{border-bottom:1px solid #e7ebee;padding:12px 8px;text-align:left;vertical-align:top}.portal-small-table th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#77838c}.portal-table-scroll{overflow-x:auto}.portal-headerline{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.portal-empty{padding:25px;text-align:center;background:#f7f8f9;border:1px dashed #cfd6dc;border-radius:13px;font-size:13px;color:var(--muted)}.portal-progress{color:var(--orange);font-size:13px;font-weight:800}.portal-form .btn{border:0}.portal-role-pick{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-role-pick label{border:1px solid #e0e5e8;border-radius:13px;padding:14px;cursor:pointer}.portal-role-pick label:has(input:checked){border-color:var(--orange);background:#fff6f0}.portal-role-pick input{width:auto;margin:0 7px 0 0;min-height:0}.portal-inline-btn{border:0;background:none;color:var(--orange);font-weight:800;font-size:12px;padding:6px 0}.portal-muted{color:var(--muted);font-size:12px}.portal-userline{font-size:12px;color:var(--muted);margin-bottom:18px}.portal-filter{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.portal-filter input,.portal-filter select{width:100%;padding:12px;border:1px solid #d9e0e4;border-radius:10px}.portal-logo-bar{display:flex;align-items:center;gap:14px;margin-bottom:20px}.portal-logo-bar .wordmark{font-size:35px}.portal-account-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.portal-account-nav button{border:1px solid var(--border);background:#fff;padding:10px 13px;border-radius:9px;font-size:12px;font-weight:800}.portal-account-nav button.active{background:var(--orange);color:white;border-color:var(--orange)}.portal-upload-zone{padding:15px;border:1px dashed #d5dde2;background:#f8fafb;border-radius:12px}.portal-upload-zone input{padding:8px;background:transparent}.portal-file-list{display:grid;gap:7px;font-size:12px;margin-top:12px}.portal-file-list a{color:var(--orange);text-decoration:underline}.portal-footnote{font-size:11px;color:var(--muted);margin-top:20px}
@media(max-width:1000px){.resource-hero-grid{gap:12px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:830px){.resource-hero-grid,.portal-hero-grid{grid-template-columns:1fr}.resource-hero-art{max-width:540px;margin:0 auto}.portal-layout{grid-template-columns:1fr}.resource-stats-inner{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.resource-hero-grid{padding:55px 0 40px}.resource-hero h1{font-size:43px}.resource-hero-art{padding:8px;transform:none}.resource-art-card{padding:16px;min-height:125px}.resource-art-card strong{font-size:20px}.resource-art-card.wide-art strong{font-size:16px}.resource-stats-inner{gap:15px}.resource-stats-inner strong{font-size:19px}.guide-grid,.resource-grid,.resource-search-line,.portal-two,.portal-role-pick,.portal-filter{grid-template-columns:1fr}.calc-fields{grid-template-columns:1fr}.guide-dialog{padding:24px 18px;max-height:96vh}.portal-card{padding:21px}.portal-hero-grid{padding:45px 0}.portal-hero h1{font-size:40px}.portal-stat-grid{grid-template-columns:1fr 1fr}.resource-hero-art{display:none}}
@media print{body.resources-page header,body.resources-page footer,body.resources-page .resource-hero,body.resources-page .resource-stats,body.resources-page .section,body.resources-page .guide-close,body.resources-page .guide-dialog .btn,body.resources-page .guide-dialog .micro{display:none!important}body.resources-page .guide-overlay:not([hidden]){position:static;background:#fff;padding:0;display:block}body.resources-page .guide-dialog{border:0;border-radius:0;max-height:none;overflow:visible;padding:0;max-width:none}body.resources-page .guide-steps{page-break-inside:auto}body.resources-page .guide-step{break-inside:avoid}body.resources-page .guide-takeaway{background:#f2f2f2!important;color:#000!important}body.resources-page{background:white}}

/* LEVY mobile account-form improvement — Nov 2026.
   Keep checkbox + policy text readable in portrait mode. The old flex layout
   split plain text and links into separate flex items on narrow screens. */
.portal-form .checkbox-label {
  display: block;
  position: relative;
  padding-left: 31px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: break-word;
}
.portal-form .checkbox-label input[type="checkbox"] {
  position: absolute;
  top: 2px;
  left: 0;
  width: 19px;
  height: 19px;
  min-height: 19px;
  margin: 0;
  padding: 0;
}
.portal-form .checkbox-label a {
  display: inline;
  white-space: normal;
}
@media (max-width: 560px) {
  .portal-form .checkbox-label { font-size: 13px; }
  .portal-form input:not([type="checkbox"]),
  .portal-form select,
  .portal-form textarea { font-size: 16px; }
  .portal-tabs a, .portal-tabs button {
    flex: 1 1 125px;
    text-align: center;
    min-width: 0;
    padding: 12px 9px;
  }
}

/* LEVY confirmation screen and private job-application messaging (Nov 2026). */
.levy-confirm-card{max-width:760px;margin:0 auto;text-align:center;padding:42px clamp(20px,5vw,58px)}
.levy-confirm-illustration{display:grid;place-items:center;margin:0 auto 12px}
.levy-confirm-card h2{font-size:clamp(28px,4vw,39px);letter-spacing:-.035em;margin:10px 0}
.levy-confirm-card .levy-confirm-lead{font-size:clamp(15px,2.5vw,18px);color:#40505b;margin:0 auto 24px;max-width:500px}
.levy-confirm-steps{display:grid;gap:12px;text-align:left;margin:25px 0}
.levy-confirm-steps>div{display:flex;gap:14px;align-items:flex-start;padding:15px;background:#f7f8f9;border:1px solid #e9edf0;border-radius:13px}
.levy-confirm-steps>div>span{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#ff6724;color:#fff;font-size:14px;font-weight:900}
.levy-confirm-steps p{font-size:14px;color:#4b5962;line-height:1.6;margin:0}
.levy-confirm-steps strong{color:#14232c}
.levy-confirm-actions{justify-content:center;margin-top:20px}
.levy-confirm-footnote{margin:18px auto 0;max-width:520px;font-size:12px!important;line-height:1.65;color:#6d7780}
.levy-inbox{display:grid;gap:10px;margin-top:18px}
.levy-inbox-item{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:16px;border:1px solid #dce3e8;border-radius:13px;background:#fff;cursor:pointer;color:inherit}
.levy-inbox-item:hover,.levy-inbox-item:focus-visible{border-color:#ff6724;background:#fff9f6}
.levy-inbox-avatar{flex:0 0 44px;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#14232c;color:#fff;font-weight:900;font-size:20px}
.levy-inbox-main{min-width:0;display:grid;gap:4px;flex:1}
.levy-inbox-main strong{font-size:15px;color:#17242d}
.levy-inbox-main small{font-size:13px;color:#586873}
.levy-inbox-main>span{font-size:11px;color:#77858f}
.levy-inbox-arrow{font-size:29px;color:#ff6724;font-weight:600}
.levy-chat-header{display:flex;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid #e6eaed}
.levy-chat-header h2{margin:4px 0 3px;font-size:23px}
.levy-chat-header p{font-size:13px;color:#61717c}
.levy-chat-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;font-size:11px;color:#64717c}
.levy-chat-log{height:380px;max-height:52vh;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px;background:#f6f8f9;border:1px solid #e1e7eb;border-radius:16px;display:flex;flex-direction:column;gap:12px}
.levy-chat-row{display:flex;width:100%}.levy-chat-row.mine{justify-content:flex-end}.levy-chat-row.theirs{justify-content:flex-start}
.levy-chat-bubble{max-width:min(85%,460px);min-width:0;padding:11px 14px;background:#fff;border:1px solid #e3e9ec;border-radius:15px 15px 15px 4px;box-shadow:0 3px 8px #00000007}
.levy-chat-row.mine .levy-chat-bubble{background:#15232b;color:#fff;border-color:#15232b;border-radius:15px 15px 4px 15px}
.levy-chat-bubble .levy-chat-who{display:block;font-size:10px;letter-spacing:.05em;text-transform:uppercase;font-weight:800;opacity:.68;margin-bottom:4px}
.levy-chat-bubble p{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:inherit}
.levy-chat-bubble time{display:block;font-size:10px;opacity:.65;text-align:right;margin-top:7px}
.levy-chat-empty{margin:auto;color:#62707a;font-size:13px;text-align:center}
.levy-message-form{margin-top:15px}.levy-message-form textarea{resize:vertical;min-height:94px}
.levy-message-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.levy-message-actions small{flex:1;font-size:11px;color:#687781;line-height:1.5}
@media(max-width:560px){
 .levy-confirm-card{padding:25px 17px}.levy-confirm-illustration svg{width:130px;height:114px}
 .levy-confirm-actions{flex-direction:column}.levy-confirm-actions .btn{width:100%;text-align:center}
 .levy-inbox-item{padding:13px;gap:10px}.levy-inbox-avatar{width:38px;height:38px;flex-basis:38px;border-radius:11px}
 .levy-chat-log{height:350px;max-height:47vh;padding:11px 8px}.levy-chat-bubble{max-width:90%;padding:10px 12px}
 .levy-message-actions .btn{width:100%}
}

/* LEVY contractor worker-directory thumbnail fix (2026-11-10).
   This stylesheet loads on portal.html; learning-studio.css does not. */
#portal-content .portal-worker-name {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
#portal-content .portal-directory-avatar {
  display:block;
  width:76px !important;
  height:76px !important;
  min-width:76px;
  max-width:76px !important;
  max-height:76px !important;
  flex:0 0 76px;
  object-fit:cover;
  object-position:center;
  border-radius:12px;
  border:1px solid #e2e7eb;
}
#portal-content .portal-worker-name h3 { margin:0; overflow-wrap:anywhere; }
@media (max-width:600px) {
  #portal-content .portal-directory-avatar {
    width:60px !important;
    height:60px !important;
    min-width:60px;
    max-width:60px !important;
    max-height:60px !important;
    flex-basis:60px;
  }
  #portal-content .portal-worker-name { gap:10px; }
}


/* LEVY development sprint: emotional role-specific signup experience.
   Presentation only: existing Supabase signup, passwords, login, and dashboards are unchanged.
   Dynamic story is inserted only while the original signup form is on the screen. */
body.levy-signup-mode .portal-hero,
body.levy-signup-mode .portal-aside { display: none !important; }
body.levy-signup-mode .portal-shell { padding: 36px 0 80px; background: #f1f3f5; }
body.levy-signup-mode .portal-shell > .shell { width: min(1260px,calc(100% - 44px)); }
body.levy-signup-mode .portal-layout { display: block !important; }
body.levy-signup-mode #portal-content { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 20px; align-items: start; }
body.levy-signup-mode #portal-content > .portal-card { min-width:0; box-shadow:0 16px 45px #10182012; }
#portal-content .levy-signup-story { min-width: 0; border-radius: 22px; overflow: hidden; background: #15232d; color: #fff; padding: clamp(21px,3.3vw,42px); box-shadow: 0 15px 40px #10182021; }
.levy-signup-story .levy-story-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; color: #ffad82; margin:0 0 17px; }
.levy-signup-story h1 { font-family: Manrope,'DM Sans',sans-serif; color:#fff; font-size: clamp(29px,3.25vw,48px); letter-spacing: -.06em; line-height:1.08; margin:0 0 17px; }
.levy-signup-story h1 em { color: #ff8b51; font-style:normal; }
.levy-signup-story .levy-story-lede { color:#d1dce3; font-size: 15px; line-height:1.67; margin:0 0 21px; }
.levy-story-shortcut { display:inline-flex; align-items:center; justify-content:center; padding: 12px 17px; background:#ff5b13; border-radius:11px; font-size:13px; font-weight:800; color:white; margin:0 0 24px; text-decoration:none; }
.levy-story-shortcut:hover,.levy-story-shortcut:focus-visible { background:#ed4a08; color:#fff; }
.levy-story-disclaimer { color:#bac9d2; font-size:11px; line-height:1.6; margin:14px 0 0; }
.levy-story-solution { background:#263846; border:1px solid #465968; border-radius:14px; padding:17px; margin-top:20px; }
.levy-story-solution strong { font-size:17px; color:#fff; }
.levy-story-solution p { color:#d1dde4; font-size:13px; line-height:1.6; margin:7px 0 0; }
/* Fictional two-sided SMS previews */
.levy-phone { max-width:460px; margin: 6px auto 0; background:#e9eef4; color:#1d2933; border: 7px solid #344655; border-radius:29px; overflow:hidden; box-shadow:0 16px 35px #0004; }
.levy-phone-header { background:#fff; padding: 13px 17px; border-bottom:1px solid #d6dee5; display:flex; flex-direction:column; align-items:center; gap:3px; }
.levy-phone-header strong { font-size:13px; font-weight:800; }
.levy-phone-header small { font-size:11px; color:#617482; }
.levy-phone-messages { padding:16px 13px 18px; min-height:254px; display:flex; flex-direction:column; gap:12px; }
.levy-message-row { display:flex; width:100%; }
.levy-message-row.worker { justify-content:flex-start; }
.levy-message-row.boss { justify-content:flex-end; }
.levy-message-bubble { max-width:85%; font-size:13px; line-height:1.52; padding:11px 12px; border-radius:15px; }
.levy-message-row.worker .levy-message-bubble { background:#fff; color:#22313e; border-bottom-left-radius:4px; }
.levy-message-row.boss .levy-message-bubble { background:#2675cc; color:#fff; border-bottom-right-radius:4px; }
.levy-message-bubble small { display:block; text-align:right; opacity:.7; margin-top:5px; font-size:10px; }
.levy-phone-caption { margin:15px 0 9px; color:#fff; font-size:17px; font-weight:800; line-height:1.35; }
.levy-phone-context { margin:0; color:#c6d6e0; font-size:12px; line-height:1.55; }
.levy-carousel-controls { display:flex; justify-content:center; align-items:center; gap:9px; margin-top:16px; }
.levy-carousel-controls button { border:1px solid #5a7180; background:#263946; color:#fff; min-width:35px; height:35px; border-radius:9px; font-size:19px; cursor:pointer; }
.levy-carousel-controls button:focus-visible { outline:2px solid #ff995d; outline-offset:2px; }
.levy-carousel-controls .levy-dot { min-width:10px; width:10px; height:10px; padding:0; border:0; border-radius:50%; background:#6c8291; }
.levy-carousel-controls .levy-dot[aria-current="true"] { background:#ff7939; width:26px; border-radius:9px; }
/* Worker profile preview: fictional example, no fabricated ratings */
.levy-preview { color:#1b2730; border-radius:18px; background:#fff; padding:20px; box-shadow:0 12px 28px #0002; }
.levy-preview-headline { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#74818a; font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; margin-bottom:17px; }
.levy-preview-identity { display:flex; align-items:center; gap:15px; }
.levy-preview-avatar { display:grid; place-items:center; flex:none; width:65px; height:65px; border-radius:13px; background:linear-gradient(135deg,#293b4b,#516b7b); color:#fff; font-weight:900; font-size:23px; }
.levy-preview-identity h2 { font-size:22px; letter-spacing:-.04em; color:#17242d; margin:0 0 4px; }
.levy-preview-identity p { font-size:12px; color:#56656e; line-height:1.45; margin:0; }
.levy-preview-chips { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0; }
.levy-preview-chips span { background:#f0f3f5; color:#3f4f59; border-radius:99px; padding:7px 10px; font-size:11px; font-weight:700; }
.levy-preview-divider { height:1px; background:#e5eaef; margin:15px 0; }
.levy-preview-section-title { font-size:12px; font-weight:800; margin:13px 0 9px; color:#15232d; }
.levy-preview-info { font-size:12px; line-height:1.6; color:#52626e; margin:0; }
.levy-preview-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.levy-preview-gallery div { display:grid; place-items:center; text-align:center; border-radius:9px; padding:15px 5px; min-height:75px; color:#5c6971; font-size:10px; font-weight:700; background:linear-gradient(130deg,#e8edef,#d8e1e5); }
.levy-preview-ratings { color:#4e5e68; font-size:12px; margin-top:13px; }
@media(max-width:970px){
 body.levy-signup-mode #portal-content { grid-template-columns:minmax(0,1fr) minmax(310px,.9fr); gap:13px; }
 #portal-content .levy-signup-story { padding:22px; }
}
@media(max-width:760px){
 body.levy-signup-mode .portal-shell { padding:14px 0 48px; }
 body.levy-signup-mode .portal-shell > .shell { width:calc(100% - 24px); }
 body.levy-signup-mode #portal-content { grid-template-columns:minmax(0,1fr); }
 body.levy-signup-mode #portal-content > .portal-card { padding:21px; }
 .levy-phone-messages { min-height:230px; }
 .levy-signup-story h1 { font-size:clamp(29px,7vw,39px); }
}
@media(prefers-reduced-motion:reduce){ .levy-story-shortcut {scroll-behavior:auto} }
