/* builder styles */
.design-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 20px}.design-card{display:flex;flex-direction:column;gap:8px;text-align:left;padding:18px;border:1px solid #d7dce3;border-radius:14px;background:#fff;cursor:pointer;min-height:150px}.design-card.selected{border-width:2px;box-shadow:0 8px 24px rgba(0,0,0,.08)}.design-card strong{font-size:1rem}.design-card small{line-height:1.45}.design-badge{font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.design-choice-section{margin:20px 0}@media(max-width:760px){.design-cards{grid-template-columns:1fr}}

/* v1.5.3 premium builder + protected preview */
.premium-builder-shell{max-width:1180px;margin:0 auto;padding:56px 22px}.builder-intro{max-width:820px;margin-bottom:28px}.builder-intro h1{font-size:clamp(34px,5vw,56px);letter-spacing:-.04em;margin:8px 0}.builder-intro p{color:var(--muted);font-size:16px}.build-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 28px}.build-mode-card{position:relative;padding:24px;border-radius:22px;border:1px solid var(--line);background:#fff;text-decoration:none;box-shadow:var(--shadow-soft);transition:.3s ease;overflow:hidden}.build-mode-card:after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;right:-70px;top:-70px;background:radial-gradient(circle,rgba(20,163,150,.14),transparent 70%)}.build-mode-card:hover,.build-mode-card.active{transform:translateY(-5px);border-color:#9edbd4;box-shadow:var(--shadow)}.build-mode-card.active{background:linear-gradient(145deg,#f7fffe,#fff)}.mode-no{font-size:11px;font-weight:900;color:var(--brand);letter-spacing:.08em}.build-mode-card h3{margin:20px 0 8px;font-size:22px}.build-mode-card p{color:var(--muted);font-size:13px;min-height:58px}.build-mode-card b{font-size:12px;color:var(--brand)}.premium-builder-form{display:grid;gap:18px;background:#f8fbfc;border:1px solid var(--line);border-radius:28px;padding:28px}.guided-section,.ai-prompt-panel,.design-choice-section,.photo-panel,.builder-submit-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--shadow-soft)}.form-grid{display:grid;gap:12px}.form-grid.two{grid-template-columns:repeat(2,1fr)}.premium-builder-form input,.premium-builder-form select,.premium-builder-form textarea{width:100%;box-sizing:border-box;border:1px solid #d9e2e7;border-radius:12px;padding:12px 13px;background:#fff;font:inherit;transition:.2s}.premium-builder-form input:focus,.premium-builder-form select:focus,.premium-builder-form textarea:focus{outline:none;border-color:#6accc0;box-shadow:0 0 0 4px rgba(20,163,150,.08)}.step-chip,.locked-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#e9f7f5;color:var(--brand);font-size:10px;font-weight:900;letter-spacing:.08em}.locked-badge{background:#fff4df;color:#9b6512}.section-mini-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.experience-row{display:grid;grid-template-columns:1.2fr 1fr 1.1fr 1fr .65fr .65fr;gap:8px;margin:8px 0}.builder-submit-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#071827,#0b4b50);color:#fff}.builder-submit-panel div{display:flex;flex-direction:column;max-width:650px}.builder-submit-panel span{font-size:12px;color:#b9d0d4;margin-top:5px}.ai-prompt-panel{background:linear-gradient(145deg,#071827,#0c3548);color:#fff}.ai-prompt-panel p{color:#b8c8d8}.ai-prompt-panel textarea{background:rgba(255,255,255,.98)}.ai-match-result{margin-top:12px;min-height:22px;color:#8ee8dc}.ready-content-note{border-left:4px solid var(--brand)}
.premium-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:24px 0 50px}.template-marketplace{padding-left:0;padding-right:0}.template-premium-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.template-premium-card{padding:17px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft);transition:.28s}.template-premium-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.template-premium-card.selected{border-color:#77cfc4}.template-premium-card.unlocked{box-shadow:0 0 0 2px rgba(20,163,150,.12),var(--shadow-soft)}.template-miniature{height:160px;border-radius:14px;background:#f8fafc;border:1px solid #e6ecef;display:grid;grid-template-columns:34% 66%;position:relative;overflow:hidden;margin-bottom:15px}.template-miniature .mini-side{background:#15344a}.template-miniature.variant-2 .mini-side{background:#e9f4f4}.template-miniature.variant-3 .mini-side{background:#0b6e69}.template-miniature .mini-body{padding:18px 12px;display:flex;flex-direction:column;gap:9px}.template-miniature .mini-body i{height:5px;background:#d8e0e4;border-radius:3px}.template-miniature .mini-body b{height:10px;width:55%;background:#7ccbc2;border-radius:4px}.mini-lock{position:absolute;right:9px;top:9px;width:30px;height:30px;border-radius:10px;background:#fff;display:grid;place-items:center;box-shadow:0 6px 15px rgba(0,0,0,.12)}.template-family{font-size:10px;color:var(--brand);font-weight:900;text-transform:uppercase;letter-spacing:.09em}.template-premium-card h3{margin:8px 0}.template-premium-card p{font-size:12px;color:var(--muted);min-height:48px}.template-status{padding:10px;border-radius:10px;background:#fff4df;color:#8e611d;font-size:11px;font-weight:800}.template-status.success{background:#e9f7f5;color:#087569}.photo-name-wrap{display:inline-flex;flex-direction:column;align-items:center}.photo-name-small{font-size:9px;font-weight:700;margin-top:4px}.exp-project{font-size:11px;color:#667;margin:2px 0 5px}
@media(max-width:900px){.build-mode-grid,.template-premium-grid{grid-template-columns:1fr}.form-grid.two{grid-template-columns:1fr}.experience-row{grid-template-columns:1fr 1fr}.builder-submit-panel{flex-direction:column;align-items:stretch}.section-mini-head{flex-direction:column}}

/* v1.5.4 wide premium template gallery */
.premium-builder-shell{width:min(1440px,calc(100% - 32px));max-width:1440px;padding-left:0;padding-right:0}
.premium-builder-form{width:100%}
.design-choice-section{width:100%;overflow:hidden;padding:28px}
.design-choice-section>p{max-width:880px;color:var(--muted);margin:8px 0 20px}
.design-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:18px 0 4px}
.design-card{position:relative;min-width:0;min-height:0;padding:0;gap:0;border-radius:22px;overflow:hidden;border:1px solid #dfe8ec;background:#fff;box-shadow:0 14px 36px rgba(4,20,35,.075);transition:transform .28s cubic-bezier(.2,.75,.2,1),box-shadow .28s ease,border-color .28s ease}
.design-card:hover{transform:translateY(-7px);box-shadow:0 26px 58px rgba(4,20,35,.15);border-color:#b9ddd8}
.design-card.selected{border:2px solid #14a396;box-shadow:0 0 0 4px rgba(20,163,150,.08),0 26px 58px rgba(4,20,35,.13)}
.design-preview{position:relative;display:block;height:255px;padding:18px;background:linear-gradient(145deg,#edf5f6,#f8fbfc);overflow:hidden}
.design-preview:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-70px;top:-80px;background:radial-gradient(circle,rgba(20,163,150,.16),transparent 68%)}
.preview-paper{position:relative;display:grid;grid-template-columns:34% 66%;width:82%;height:220px;margin:0 auto;background:#fff;border-radius:4px;box-shadow:0 18px 38px rgba(4,20,35,.18);overflow:hidden;transform:perspective(700px) rotateX(2deg) rotateY(-2deg)}
.preview-side{padding:13px 9px;background:#0f3147;display:flex;flex-direction:column;align-items:center;gap:7px}
.preview-photo{width:46px;height:56px;border-radius:8px;background:linear-gradient(145deg,#dce6ea,#fff);box-shadow:inset 0 0 0 3px rgba(255,255,255,.45)}
.preview-line{display:block;width:80%;height:4px;border-radius:999px;background:rgba(255,255,255,.5)}
.preview-line.short{width:58%}.preview-block{width:80%;height:31px;margin-top:6px;border-radius:5px;background:rgba(255,255,255,.11)}
.preview-main{padding:20px 13px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.preview-title{width:68%;height:10px;border-radius:999px;background:#15344a}.preview-subtitle{width:48%;height:5px;border-radius:999px;background:#14a396}.preview-rule{width:100%;height:1px;background:#dce5e9;margin:2px 0 5px}.preview-section{width:42%;height:7px;border-radius:3px;background:#d7b46a}.preview-section.second{margin-top:8px;background:#14a396}.preview-main .preview-line{width:100%;height:4px;background:#dfe6ea}.preview-main .preview-line.short{width:70%}
.preview-lock{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(7,17,31,.9);color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.2);backdrop-filter:blur(8px)}.preview-lock b{font-size:11px}.preview-lock small{font-size:9px;letter-spacing:.04em;white-space:nowrap}
.preview-corner{position:absolute;top:13px;left:13px;padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.9);font-size:9px;font-weight:900;color:#0b6e69;box-shadow:0 5px 15px rgba(4,20,35,.08)}
.preview-variant-2 .preview-side{background:#e8f2f2}.preview-variant-2 .preview-line{background:#9fb7bd}.preview-variant-2 .preview-block{background:#d1e0e3}.preview-variant-2 .preview-title{background:#0b6e69}
.preview-variant-3 .preview-side{background:#0b6e69}.preview-variant-3 .preview-title{background:#07111f}.preview-variant-3 .preview-section{background:#0b6e69}
.preview-variant-4 .preview-paper{grid-template-columns:1fr}.preview-variant-4 .preview-side{display:none}.preview-variant-4 .preview-main{padding:24px 20px}.preview-variant-4 .preview-title{width:55%;height:12px}.preview-variant-4 .preview-subtitle{width:35%}
.design-card-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 18px 17px;min-height:178px}
.design-card strong{font-size:17px;line-height:1.25;color:#0b1526}.design-card small{line-height:1.5;color:var(--muted);font-size:12px;min-height:36px}.design-badge{font-size:9.5px;font-weight:900;letter-spacing:.13em;color:#0b6e69}.design-meta{display:flex;gap:6px;flex-wrap:wrap}.design-meta i{font-style:normal;font-size:9px;font-weight:800;color:#526273;padding:5px 7px;border-radius:999px;background:#f1f5f7}.design-choose{width:100%;display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid #edf1f3;color:#435160}.design-choose b{font-size:11px}.choose-dot{width:11px;height:11px;border-radius:50%;border:2px solid #a9bac2}.design-card.selected .choose-dot{border-color:#14a396;background:#14a396;box-shadow:0 0 0 3px rgba(20,163,150,.13)}.design-card.selected .design-choose{color:#087569}
.template-marketplace{width:min(1440px,calc(100% - 32px));max-width:1440px;margin-left:auto;margin-right:auto}.template-premium-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.template-premium-card{min-width:0}.template-miniature{height:215px}
@media(max-width:1200px){.design-cards,.template-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.premium-builder-shell,.template-marketplace{width:min(100% - 24px,760px)}.design-cards,.template-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.design-preview{height:235px}.preview-paper{height:202px}.build-mode-grid{grid-template-columns:1fr}.form-grid.two{grid-template-columns:1fr}.experience-row{grid-template-columns:1fr 1fr}.builder-submit-panel{flex-direction:column;align-items:stretch}.section-mini-head{flex-direction:column}}
@media(max-width:620px){.premium-builder-shell,.template-marketplace{width:calc(100% - 20px)}.premium-builder-shell{padding-top:34px}.premium-builder-form{padding:14px;border-radius:20px}.design-choice-section{padding:18px 14px}.design-cards,.template-premium-grid{grid-template-columns:1fr;gap:16px}.design-preview{height:285px}.preview-paper{width:76%;height:248px}.design-card-copy{min-height:0}.design-card small{min-height:0}.experience-row{grid-template-columns:1fr}}

/* v1.5.5 desktop compact builder flow fix
   Explicitly override the legacy .builder-form two-column grid from global.css.
   Every builder section now stacks in document flow, preventing tall empty cells
   beside CV Standard / Technical Profession. */
.premium-builder-form{
  grid-template-columns:minmax(0,1fr);
  align-items:start;
}
.premium-builder-form > *{
  grid-column:1 / -1;
  min-width:0;
}

/* Keep Standard + Profession compact on one row without reserving a second form column. */
.premium-builder-form > .form-grid.two{
  width:100%;
  align-items:end;
}

/* Use the desktop width inside Professional Photo instead of leaving a long blank area. */
.premium-builder-form .photo-panel{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 160px minmax(320px,1fr);
  grid-template-areas:
    "title title title"
    "note note note"
    "upload preview styles"
    "help help help";
  column-gap:24px;
  row-gap:10px;
  align-items:start;
}
.premium-builder-form .photo-panel > h3{grid-area:title;margin:0}
.premium-builder-form .photo-panel > p{grid-area:note;margin:0 0 4px;color:var(--muted)}
.premium-builder-form .photo-panel > #photo-input{grid-area:upload;margin:0}
.premium-builder-form .photo-panel > .photo-preview-wrap{grid-area:preview;margin:0}
.premium-builder-form .photo-panel > .photo-style-picker{grid-area:styles;align-content:start;margin:0}
.premium-builder-form .photo-panel > small{grid-area:help;color:var(--muted);margin-top:2px}
.premium-builder-form .photo-style-picker{
  display:grid;
  grid-template-columns:repeat(2,minmax(120px,1fr));
  gap:10px 14px;
}
.premium-builder-form .photo-style-picker label{
  margin:0;
  padding:10px 12px;
  border:1px solid #e2e9ed;
  border-radius:11px;
  background:#f8fbfc;
}

@media(max-width:900px){
  .premium-builder-form .photo-panel{
    grid-template-columns:1fr 150px;
    grid-template-areas:
      "title title"
      "note note"
      "upload preview"
      "styles styles"
      "help help";
  }
}
@media(max-width:620px){
  .premium-builder-form .photo-panel{
    display:block;
  }
  .premium-builder-form .photo-panel > *{margin-top:10px}
  .premium-builder-form .photo-style-picker{display:flex}
}

/* v1.6.0 direct builder entry */
#builder-start{scroll-margin-top:92px}.builder-mode-status{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 18px;margin:12px 0 16px;border:1px solid #cfe7e4;border-radius:16px;background:#f5fbfa}.builder-mode-status strong{font-size:18px}.builder-mode-status>span:last-of-type{color:var(--muted)}.builder-mode-switch{margin-left:auto;display:flex;gap:6px}.builder-mode-switch a{padding:7px 10px;border-radius:9px;text-decoration:none;background:#fff;border:1px solid var(--line);font-weight:800;color:var(--navy)}

/* v1.6.1 functional compact builder */
.compact-builder-page{padding-top:24px!important}.builder-quickbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 22px;margin-bottom:14px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-soft)}.builder-quickbar h1{margin:2px 0 4px;font-size:clamp(28px,3vw,42px);letter-spacing:-.035em}.builder-quickbar p{margin:0;max-width:850px;color:var(--muted)}.builder-mode-switch a.active{background:#0b6e69;color:#fff;border-color:#0b6e69}.builder-top-panel{margin:0}.selector-panel{padding:18px 20px}.compact-selectors label>span{display:block;font-weight:800;margin:0 0 7px}.template-first-section{margin:0!important;padding:24px!important}.template-first-section .section-mini-head h2{margin:4px 0 4px;font-size:28px}.template-first-section .section-mini-head p{margin:0;color:var(--muted)}.template-action-row{position:sticky;bottom:14px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 0;padding:14px 16px;border-radius:16px;background:rgba(7,24,39,.96);color:#fff;box-shadow:0 18px 48px rgba(4,20,35,.26);backdrop-filter:blur(10px)}.template-action-row>div{display:flex;flex-direction:column}.template-action-row span{font-size:12px;color:#b9d0d4}.builder-details{display:grid;gap:18px;scroll-margin-top:100px}.template-empty{grid-column:1/-1;padding:28px;border:1px dashed #c9d7dd;border-radius:16px;background:#f8fbfc;display:flex;flex-direction:column;gap:5px}.template-empty span{color:var(--muted);font-size:13px}@media(max-width:760px){.builder-quickbar,.template-action-row{align-items:stretch;flex-direction:column}.builder-mode-switch{margin-left:0}.template-action-row .btn{width:100%}.compact-builder-page{padding-top:14px!important}}

/* v1.6.3 Builder Portal Hero — premium direct-entry studio */
.builder-portal-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);min-height:430px;overflow:hidden;margin:0 0 18px;padding:34px 38px;border-radius:30px;background:linear-gradient(135deg,#061826 0%,#0b3040 48%,#0b6e69 100%);box-shadow:0 30px 80px rgba(3,22,36,.22);color:#fff;scroll-margin-top:92px}.builder-portal-copy{position:relative;z-index:4;align-self:center;max-width:920px}.builder-portal-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(132,244,226,.25);border-radius:999px;background:rgba(255,255,255,.06);color:#82eee0;font-size:11px;font-weight:900;letter-spacing:.14em}.builder-portal-hero h1{margin:16px 0 9px;font-size:clamp(40px,4.3vw,68px);line-height:.98;letter-spacing:-.055em;color:#fff}.builder-portal-hero p{max-width:770px;margin:0;color:#c1d5db;font-size:15px;line-height:1.65}.builder-portal-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}.portal-mode-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"no no no" "icon copy arrow";align-items:center;gap:10px;min-height:132px;padding:15px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 16px 34px rgba(0,0,0,.14);backdrop-filter:blur(14px);text-decoration:none;color:#fff;transform-style:preserve-3d;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease}.portal-mode-card:before{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(119,246,226,.22),transparent 42%);opacity:0;transition:opacity .2s}.portal-mode-card:hover:before,.portal-mode-card.active:before{opacity:1}.portal-mode-card:hover{border-color:rgba(123,240,224,.5);box-shadow:0 22px 48px rgba(0,0,0,.23),0 0 0 1px rgba(118,238,222,.12)}.portal-mode-card.active{border-color:#7ef0df;background:linear-gradient(145deg,rgba(15,180,160,.28),rgba(255,255,255,.07));box-shadow:0 22px 54px rgba(0,0,0,.24),0 0 35px rgba(74,236,215,.12)}.portal-mode-no{grid-area:no;color:#79e8da;font-size:10px;font-weight:900;letter-spacing:.13em}.portal-mode-icon{grid-area:icon;position:relative;z-index:2;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,rgba(126,240,223,.22),rgba(126,240,223,.06));box-shadow:inset 0 1px 0 rgba(255,255,255,.13);font-size:12px;font-weight:900;color:#8af4e6}.portal-mode-copy{grid-area:copy;position:relative;z-index:2;display:flex;flex-direction:column;gap:3px}.portal-mode-copy strong{font-size:15px;line-height:1.15;color:#fff}.portal-mode-copy small{color:#b9cdd4;font-size:10.5px;line-height:1.4}.portal-mode-arrow{grid-area:arrow;position:relative;z-index:2;color:#75ebdd;font-size:20px;transition:transform .2s}.portal-mode-card:hover .portal-mode-arrow{transform:translateX(4px)}.builder-portal-art{position:relative;z-index:2;min-height:320px;align-self:center;transform-style:preserve-3d;perspective:900px}.builder-portal-gridfx{position:absolute;inset:0;z-index:0;background-image:linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(to right,transparent,black 55%);pointer-events:none}.builder-portal-glow{position:absolute;border-radius:50%;filter:blur(20px);opacity:.5;pointer-events:none}.glow-a{width:360px;height:360px;right:-90px;top:-110px;background:radial-gradient(circle,#26dac4,transparent 67%)}.glow-b{width:280px;height:280px;left:28%;bottom:-190px;background:radial-gradient(circle,#0b8f87,transparent 68%)}.portal-core{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:142px;height:142px;transform:translate(-50%,-50%) rotateX(9deg) rotateY(-12deg);border:1px solid rgba(255,255,255,.22);border-radius:38px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 35px 70px rgba(0,0,0,.35),0 0 60px rgba(52,236,212,.18);backdrop-filter:blur(18px);animation:portalFloat 5s ease-in-out infinite}.portal-core:after{content:"";position:absolute;inset:10px;border-radius:30px;border:1px solid rgba(114,242,224,.22)}.portal-core span{font-size:40px;font-weight:950;letter-spacing:-.06em}.portal-core b{margin-top:-32px;color:#75eadb;font-size:11px;letter-spacing:.22em}.portal-orbit{position:absolute;left:50%;top:50%;border:1px solid rgba(127,240,225,.23);border-radius:50%;transform:translate(-50%,-50%) rotateX(65deg);animation:portalSpin 11s linear infinite}.orbit-one{width:260px;height:260px}.orbit-two{width:330px;height:330px;animation-duration:17s;animation-direction:reverse;opacity:.55}.portal-chip{position:absolute;padding:8px 10px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(7,25,39,.68);box-shadow:0 14px 34px rgba(0,0,0,.23);backdrop-filter:blur(12px);font-size:9px;font-weight:900;letter-spacing:.12em;color:#d9fffa;animation:chipFloat 4.7s ease-in-out infinite}.chip-one{left:2%;top:21%}.chip-two{right:2%;top:34%;animation-delay:-1.2s}.chip-three{left:13%;bottom:16%;animation-delay:-2.4s}.portal-depth-card{position:absolute;width:120px;height:165px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.015));box-shadow:0 22px 50px rgba(0,0,0,.18);transform:rotate(-11deg);opacity:.5}.depth-one{right:5%;bottom:2%}.depth-two{left:3%;top:5%;transform:rotate(12deg) scale(.74);opacity:.3}@keyframes portalFloat{0%,100%{transform:translate(-50%,-50%) rotateX(9deg) rotateY(-12deg) translateY(0)}50%{transform:translate(-50%,-50%) rotateX(5deg) rotateY(-7deg) translateY(-12px)}}@keyframes portalSpin{to{transform:translate(-50%,-50%) rotateX(65deg) rotateZ(360deg)}}@keyframes chipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:1050px){.builder-portal-hero{grid-template-columns:1fr;min-height:auto;padding:30px}.builder-portal-art{display:none}.builder-portal-modes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.builder-portal-hero{padding:24px 18px;border-radius:22px}.builder-portal-hero h1{font-size:38px}.builder-portal-modes{grid-template-columns:1fr}.portal-mode-card{min-height:100px}.portal-mode-copy small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.portal-core,.portal-orbit,.portal-chip{animation:none!important}.portal-mode-card{transition:none!important}}
.portal-mode-card.pressed{transform:perspective(650px) scale(.975)!important;box-shadow:0 8px 22px rgba(0,0,0,.22)!important}

#ready-workspace,#ai-workspace,#builder-details{scroll-margin-top:88px}.builder-focus-pulse{animation:builderFocusPulse 1.05s ease}@keyframes builderFocusPulse{0%{box-shadow:0 0 0 0 rgba(20,163,150,.4)}45%{box-shadow:0 0 0 8px rgba(20,163,150,.12)}100%{box-shadow:0 0 0 0 rgba(20,163,150,0)}}.exp-location{font-size:.92em;color:var(--muted);margin-top:2px}
@media(max-width:1150px) and (min-width:901px){.experience-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* v1.6.7 mode-specific direct workspaces */
.ai-dedicated-workspace{scroll-margin-top:90px;border:1px solid rgba(20,184,166,.28);background:linear-gradient(135deg,#f7fffe,#f8fbff);box-shadow:0 18px 50px rgba(15,23,42,.08)}
.custom-start-panel{scroll-margin-top:90px;border:1px solid rgba(20,184,166,.24);background:linear-gradient(135deg,#f8fffd,#fff)}
.custom-direct-workspace,.ai-details-workspace{scroll-margin-top:90px}
[data-build-mode="ai"] .builder-details{margin-top:12px}
[data-build-mode="custom"] .builder-details{margin-top:0}

/* v1.7.0 compact builder usability fixes */
.premium-builder-form{gap:12px!important;padding:15px!important}
.guided-section,.ai-prompt-panel,.design-choice-section,.photo-panel,.builder-submit-panel{padding:15px!important}
.compact-photo-panel{display:grid;grid-template-columns:minmax(260px,1.2fr) 150px minmax(320px,1fr);align-items:center;gap:15px;min-height:0}
.compact-photo-panel .photo-copy h3{margin:0 0 4px}.compact-photo-panel .photo-copy p{margin:0 0 8px;color:var(--muted)}.compact-photo-panel .photo-copy small{display:block;margin-top:6px;color:var(--muted)}
.compact-photo-panel .photo-preview-wrap{margin:0;width:112px;height:144px;justify-self:center;border:1px solid #d7e1e5;background:linear-gradient(145deg,#eef4f6,#fff)}
.photo-style-picker{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
.photo-style-option{position:relative;min-height:44px;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #d8e3e6;border-radius:12px;background:#f7fafb;cursor:pointer;font-weight:800;color:#334155;transition:.2s ease}
.photo-style-option input{position:absolute;opacity:0;pointer-events:none}.photo-style-option:hover{border-color:#7bcfc5;transform:translateY(-1px)}.photo-style-option.is-active{background:linear-gradient(135deg,#e8faf7,#f5fffd);border-color:#14a396;color:#08736d;box-shadow:0 0 0 3px rgba(20,163,150,.08)}
.photo-preview-wrap img.photo-passport{border-radius:6px;width:100%;height:100%;object-fit:cover}.photo-preview-wrap img.photo-rounded{border-radius:22px;width:100%;height:100%;object-fit:cover}.photo-preview-wrap img.photo-circle{border-radius:50%;width:112px;height:112px;object-fit:cover;margin-top:16px}.photo-preview-wrap img.photo-square{border-radius:4px;width:112px;height:112px;object-fit:cover;margin-top:16px}
.compact-step-one h3,.professional-qualification-section h3,.compact-experience-section h3{margin:7px 0 10px}
.identity-contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.identity-contact-grid .address-field{grid-column:span 2}
.compact-section-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.compact-section-heading>div{display:flex;gap:6px}.compact-section-heading h3{margin:0}.secondary-chip{background:#eef2ff;color:#4f46e5}
.professional-qualification-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:10px;align-items:start}.professional-content-column,.qualification-column{display:grid;gap:8px}.compact-note{margin:0;color:var(--muted);font-size:13px}.compact-ready-note{padding:12px 14px!important;border-radius:14px;background:#f7fbfb;border:1px solid #dcebea}.compact-ready-note p{margin:4px 0 0;color:var(--muted);font-size:13px}.qualification-column textarea{min-height:82px!important;resize:vertical}
.compact-experience-section>p{margin:0 0 8px;color:var(--muted);font-size:13px}.experience-entry.is-hidden{display:none!important}.experience-entry{position:relative;padding-right:0}.experience-remove{grid-column:1/-1;justify-self:end;border:0;background:transparent;color:#b42318;font-weight:800;cursor:pointer;padding:2px 5px}.experience-actions{display:flex;align-items:center;gap:10px;margin-top:8px}.experience-actions .btn{padding:9px 13px}.experience-actions small{color:var(--muted)}
.builder-form-error{margin-top:6px!important;color:#ffd5d0!important;font-weight:800!important}.builder-submit-panel{margin-bottom:0!important}.compact-builder-page{padding-bottom:0!important;margin-bottom:20px!important}
@media(min-width:901px) and (max-width:1180px){.identity-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.identity-contact-grid .address-field{grid-column:span 1}.compact-photo-panel{grid-template-columns:minmax(220px,1fr) 130px minmax(260px,1fr)}}
@media(max-width:900px){.compact-photo-panel{display:block}.compact-photo-panel .photo-preview-wrap{margin:12px 0}.photo-style-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important}.identity-contact-grid{grid-template-columns:1fr}.identity-contact-grid .address-field{grid-column:auto}.professional-qualification-grid{grid-template-columns:1fr}.experience-actions{align-items:flex-start;flex-direction:column}}

/* v1.7.1 compact builder correction */
@media(min-width:901px){
  .premium-builder-shell{max-width:1440px!important;padding:15px 18px 0!important}
  .premium-builder-form{gap:10px!important;padding:14px!important}
  .selector-panel{padding:12px 14px!important}
  .ready-selector-line{display:grid;grid-template-columns:auto minmax(260px,.85fr) minmax(420px,1.3fr);gap:10px;align-items:end}
  .ready-selector-copy{display:flex;flex-direction:column;align-self:center;min-width:190px}.ready-selector-copy strong{font-size:16px}.ready-selector-copy .eyebrow{font-size:9px}
  .inline-selector{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.inline-selector>span{font-size:12px;font-weight:900;white-space:nowrap}.inline-selector select{margin:0!important;height:42px!important;padding:8px 10px!important}
  .design-choice-section{padding:14px!important}.template-first-section .section-mini-head{align-items:center}.template-first-section .section-mini-head h2{font-size:22px!important;margin:0!important}.template-first-section .section-mini-head p{display:none}.design-cards{margin:8px 0 10px!important}
  .compact-photo-panel{display:grid!important;grid-template-columns:minmax(360px,1.25fr) 118px minmax(420px,1.25fr)!important;gap:12px!important;padding:12px 14px!important;align-items:center!important}
  .compact-photo-panel .photo-copy{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}.compact-photo-panel .photo-copy h3{grid-column:1/-1;font-size:17px;margin:0!important}.compact-photo-panel .photo-copy p{display:none}.compact-photo-panel .photo-copy input{margin:5px 0 0!important;padding:8px!important}.compact-photo-panel .photo-copy small{margin:0!important;font-size:11px}
  .compact-photo-panel .photo-preview-wrap{width:104px!important;height:126px!important;margin:0!important}
  .photo-style-picker{grid-template-columns:repeat(4,minmax(90px,1fr))!important;gap:7px!important}.photo-style-option{min-height:38px!important;font-size:12px!important}
  .identity-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.identity-contact-grid .address-field{grid-column:auto!important}.guided-section{padding:14px!important}.guided-section h3{margin:5px 0 10px!important;font-size:17px}
  .professional-qualification-grid{grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr)!important;gap:10px!important}.professional-content-column textarea,.qualification-column textarea{min-height:54px!important;height:54px!important;resize:vertical}.professional-content-column textarea[name="custom_responsibilities"]{height:72px!important}.compact-ready-note{padding:8px 10px!important}.compact-ready-note p{font-size:11px!important}
  .compact-experience-section{padding:14px!important}.compact-experience-section>p{margin:0 0 7px!important;font-size:12px}.experience-row{grid-template-columns:1.1fr .9fr 1fr 1fr .55fr .55fr auto!important;gap:6px!important;margin:6px 0!important}.experience-row input{padding:9px 10px!important;margin:0!important}.experience-remove{min-width:68px;padding:7px 8px!important}
  .builder-submit-panel{margin:0 0 50px!important;padding:13px 16px!important}.save-continue-btn{font-size:17px!important;font-weight:900!important;padding:15px 24px!important}
}
.photo-preview-wrap{display:grid;place-items:center;transition:.22s ease}.photo-preview-wrap.photo-frame-passport{border-radius:8px}.photo-preview-wrap.photo-frame-rounded{border-radius:24px}.photo-preview-wrap.photo-frame-circle{border-radius:50%;width:112px!important;height:112px!important}.photo-preview-wrap.photo-frame-square{border-radius:4px;width:112px!important;height:112px!important}.photo-preview-wrap.photo-frame-rounded img{border-radius:22px!important}.photo-preview-wrap.photo-frame-circle img{border-radius:50%!important;width:100%!important;height:100%!important;margin:0!important}.photo-preview-wrap.photo-frame-square img{border-radius:2px!important;width:100%!important;height:100%!important;margin:0!important}
.repeatable-field-group{display:grid;gap:6px}.repeatable-row{display:grid;grid-template-columns:1fr auto;gap:6px}.mini-add-btn,.repeatable-remove,.experience-remove{border:1px solid #b9d5d2;background:#eefaf8;color:#075e59;border-radius:10px;padding:8px 10px;font-weight:850;cursor:pointer}.mini-add-btn{justify-self:start;font-size:12px}.repeatable-remove,.experience-remove{background:#fff3f1;color:#a12d25;border-color:#efc8c4}.experience-add-btn{background:linear-gradient(135deg,#0b6e69,#14a396)!important;color:#fff!important;box-shadow:0 8px 18px rgba(11,110,105,.2)!important}.experience-add-btn:disabled{opacity:.55}.builder-submit-panel strong{font-size:18px!important}.builder-submit-panel span{font-size:13px!important}
@media(max-width:900px){.ready-selector-line{display:grid;gap:10px}.inline-selector{display:grid}.compact-photo-panel{padding:14px!important}.identity-contact-grid{grid-template-columns:1fr!important}.professional-content-column textarea,.qualification-column textarea{min-height:70px}.experience-row{grid-template-columns:1fr!important}.experience-remove{width:100%}}

/* v1.8.6 interaction hardening: every visible field surface is directly clickable. */
.premium-builder-form select,.premium-builder-form input,.premium-builder-form textarea{position:relative;z-index:2;pointer-events:auto!important;cursor:text}
.premium-builder-form select{cursor:pointer}
.inline-selector,.photo-style-option,.date-field{position:relative;z-index:3;cursor:pointer}
.photo-style-option{user-select:none;-webkit-user-select:none}
.photo-style-option span{pointer-events:none}
.experience-row{grid-template-columns:1.05fr .9fr 1.25fr .8fr .65fr .72fr .72fr!important;align-items:end}
.date-field{display:grid;gap:3px;margin:0}
.date-field>span{font-size:10px;font-weight:900;color:#64748b;padding-left:4px;text-transform:uppercase;letter-spacing:.06em}
.date-field input{margin:0!important;min-height:42px;cursor:pointer!important}
@media(max-width:1150px) and (min-width:901px){.experience-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.experience-row{grid-template-columns:1fr!important}}

/* v1.8.7 direct interaction repair */
#continue-builder-btn,#save-continue-btn,.photo-style-option,.date-field{pointer-events:auto!important;position:relative;z-index:20!important;cursor:pointer!important}
#continue-builder-btn,#save-continue-btn{touch-action:manipulation;user-select:none;-webkit-user-select:none}
.photo-style-option>*{pointer-events:none!important}
.photo-style-option input{pointer-events:none!important}
.date-field{min-height:58px;border:1px solid #dce4ee;border-radius:12px;padding:5px 8px;background:#fff}
.date-field input{border:0!important;margin:0!important;padding:4px 3px!important;background:transparent!important;cursor:pointer!important}
@media(min-width:901px){.experience-row{grid-template-columns:1.08fr .95fr .95fr .72fr .72fr .72fr auto!important}}

/* v1.8.11 Experience TO-date + Save/Continue reliability fix */
.to-date-field{grid-template-columns:1fr auto;align-items:center;column-gap:7px}
.to-date-field>span:first-child{grid-column:1/-1}
.to-date-field>input[type="month"]{grid-column:1}
.current-job-toggle{grid-column:2;display:inline-flex;align-items:center;gap:4px;font-size:10px!important;font-weight:850!important;color:#0b6e69!important;white-space:nowrap;padding:0!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}
.current-job-toggle input{width:14px!important;height:14px!important;min-height:0!important;margin:0!important;accent-color:#0b6e69;cursor:pointer!important}
.to-date-field.is-current{border-color:#8ccbc5;background:#f2fbfa}
.to-date-field.is-current>input[type="month"]{opacity:.45}
.edit-to-date{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}
.edit-to-date>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;font-weight:800;color:#0b6e69}
.edit-to-date>span input{width:14px;height:14px;margin:0}

/* v1.8.12 profession carryover + photo/date interaction hardening */
.to-date-field{position:relative;z-index:22!important}
.to-date-field>input[type="month"]{position:relative;z-index:24!important;pointer-events:auto!important;min-width:0}
.to-date-field .current-job-toggle{position:relative;z-index:25!important;pointer-events:auto!important}
.photo-style-option{pointer-events:auto!important}
.photo-style-option[data-photo-style="circle"],.photo-style-option[data-photo-style="square"]{z-index:24!important}
.save-continue-btn{position:relative!important;z-index:40!important;pointer-events:auto!important}

/* v1.8.14 — Edit CV experience rows: show saved rows only, reveal extras on demand */
.edit-experience-row[hidden]{display:none!important}
.edit-experience-note{margin:4px 0 8px;color:var(--muted);font-size:12px}
.edit-experience-actions{display:flex;align-items:center;gap:12px;margin-top:10px}
.edit-experience-actions>span{font-size:12px;font-weight:700;color:var(--muted)}
@media(max-width:900px){.edit-experience-actions{align-items:stretch;flex-direction:column}.edit-experience-actions .btn{width:100%}}

/* v1.8.17 — Professional month/year picker (replaces inconsistent browser month control) */
.hcv-native-month-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
.hcv-month-picker-button{width:100%;min-height:42px;border:0;background:transparent;padding:4px 3px;display:flex;align-items:center;justify-content:space-between;gap:8px;font:inherit;color:#8b98a8;cursor:pointer;text-align:left;border-radius:8px;transition:.18s ease}
.hcv-month-picker-button:hover:not(:disabled){background:#f3f8fa;color:#132033}.hcv-month-picker-button:focus-visible{outline:2px solid #16a394;outline-offset:2px}.hcv-month-picker-button.has-value{color:#0f172a}.hcv-month-picker-button.is-disabled{cursor:default;color:#0b6e69;font-weight:800;opacity:1}.hcv-month-picker-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hcv-month-picker-icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:7px;background:#edf7f6;color:#087b72;font-size:16px;font-weight:900}
.hcv-month-popover{position:fixed;z-index:99999;background:#fff;border:1px solid #d9e5e7;border-radius:16px;box-shadow:0 18px 50px rgba(15,23,42,.18);padding:12px;animation:hcvPickerIn .14s ease-out}
@keyframes hcvPickerIn{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:none}}
.hcv-month-popover-head{display:grid;grid-template-columns:40px 1fr 40px;gap:8px;align-items:center;margin-bottom:10px}.hcv-year-step,.hcv-year-select{height:38px;border:1px solid #dbe6e8;border-radius:10px;background:#f8fbfc;color:#102033;font-weight:800}.hcv-year-step{font-size:24px;line-height:1;cursor:pointer}.hcv-year-step:hover{background:#eaf8f6;color:#087b72}.hcv-year-select{padding:0 10px;text-align:center;cursor:pointer}
.hcv-month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.hcv-month-option{min-height:38px;border:1px solid #e0e7ec;border-radius:10px;background:#fff;color:#334155;font-weight:800;cursor:pointer;transition:.14s ease}.hcv-month-option:hover{border-color:#73c6be;background:#f0fbf9;color:#087b72}.hcv-month-option.is-selected{border-color:#0b8f83;background:#e5f8f5;color:#06645d;box-shadow:inset 0 0 0 1px #0b8f83}
.hcv-month-popover-foot{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edf2f4}.hcv-month-clear,.hcv-month-now{border:0;background:transparent;padding:7px 8px;border-radius:8px;font-weight:800;font-size:12px;cursor:pointer}.hcv-month-clear{color:#7b8794}.hcv-month-now{color:#087b72;background:#edf9f7}.hcv-month-clear:hover{background:#f3f5f7}.hcv-month-now:hover{background:#dff5f1}
.date-field:has(.hcv-month-picker-button:focus-visible),.date-field:has(.hcv-month-picker-button[aria-expanded="true"]){border-color:#61bcb3;box-shadow:0 0 0 3px rgba(11,143,131,.10)}
.to-date-field.is-current .hcv-month-picker-button{opacity:1}.edit-to-date .hcv-month-picker-button{border:1px solid #dce4ee;background:#fff;padding:7px 9px}
@media(max-width:600px){.hcv-month-popover{padding:10px}.hcv-month-grid{gap:6px}.hcv-month-option{min-height:42px}}

/* v1.8.22 — free/local automatic passport crop status */
.photo-auto-status{display:block;margin-top:7px;font-size:11px;font-weight:700;color:#4d6972}.photo-auto-status[data-state="working"]{color:#9a6a12}.photo-auto-status[data-state="success"]{color:#087569}.photo-auto-status[data-state="fallback"]{color:#6a5f2e}.photo-auto-status[data-state="error"]{color:#b42318}.photo-preview-wrap img{object-fit:cover;object-position:center center}

/* v1.8.27: exactly three role templates centered as one design set */
.template-marketplace{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important}
.template-premium-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-width:1040px;margin:0 auto}
.template-marketplace>.section-heading{max-width:1040px;margin-left:auto;margin-right:auto}
@media(max-width:900px){.template-premium-grid{grid-template-columns:1fr!important;max-width:520px}}

/* v1.8.30 Ready Template: candidate-specific skills/work expertise */
.ready-specific-skills-section{border:1px solid rgba(37,99,235,.22);background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.98));}
.ready-specific-skills-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}.ready-specific-skills-head p{margin:.35rem 0 0;max-width:820px}.optional-badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:.75rem;font-weight:800}.specific-skills-input{width:100%;min-height:118px;resize:vertical}.specific-skills-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.specific-skills-note{display:block;margin-top:10px;color:#475569}.voice-status{font-size:.82rem;color:#475569;align-self:center}.voice-listening{font-weight:800;color:#b91c1c}@media(max-width:720px){.ready-specific-skills-head{flex-direction:column}.specific-skills-actions .btn{width:100%}}

/* v1.8.31 - centered 3-design gallery + compact Ready specific-skills placement */
#ready-template-gallery .design-cards{
  grid-template-columns:repeat(3,minmax(250px,1fr))!important;
  max-width:980px;
  margin:10px auto 12px!important;
  justify-content:center;
}
.ready-skills-template-placement{
  margin:0!important;
  padding:12px 14px!important;
  border-radius:16px!important;
}
.ready-skills-template-placement .ready-specific-skills-head{margin-bottom:7px!important;align-items:center}
.ready-skills-template-placement .ready-specific-skills-head h3{margin:3px 0 0!important;font-size:16px!important}
.ready-skills-template-placement .ready-specific-skills-head p{margin:2px 0 0!important;font-size:12px!important;line-height:1.35}
.ready-skills-template-placement .specific-skills-input{min-height:66px!important;height:66px!important;padding:10px 12px!important;resize:vertical}
.ready-skills-template-placement .specific-skills-actions{margin-top:7px!important;gap:7px!important;align-items:center}
.ready-skills-template-placement .specific-skills-actions .btn{padding:8px 11px!important;font-size:12px!important}
.ready-skills-template-placement .specific-skills-note{margin-top:6px!important;font-size:11px!important;line-height:1.35}
.ready-skills-template-placement .voice-status{font-size:11px!important}
@media(max-width:900px){
  #ready-template-gallery .design-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none}
}
@media(max-width:620px){
  #ready-template-gallery .design-cards{grid-template-columns:1fr!important}
  .ready-skills-template-placement{padding:12px!important}
}

/* v1.8.35: do not show a broken image before a professional photo is selected */
.photo-preview-wrap.photo-preview-empty img{display:none!important}
.photo-preview-wrap.photo-preview-empty::before{content:'Photo preview';font-size:11px;font-weight:700;color:#81909b;text-align:center;padding:10px}

/* v1.8.38: CV document language selector. It intentionally has no persistence. */



/* v1.8.48 - ultra-modern Ready Skills voice workspace */
.ready-skills-template-placement{border:1px solid #cbd5e1!important;background:linear-gradient(145deg,#f8fbff 0%,#ffffff 62%,#f0fdfa 100%)!important;box-shadow:0 18px 50px rgba(15,23,42,.07)!important;border-radius:22px!important}
.ready-skills-template-placement .specific-skills-input{height:auto!important;min-height:94px!important;border:1.5px solid #5eead4!important;border-radius:16px!important;background:#fff!important;padding:16px!important;font-size:15px!important;line-height:1.55!important;box-shadow:0 0 0 5px rgba(20,184,166,.07)!important}
.voice-workspace{margin-top:14px;padding:14px;border:1px solid #dbe5ef;border-radius:18px;background:rgba(248,250,252,.92);box-shadow:inset 0 1px 0 #fff}
.voice-controls-row{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.voice-language-control{display:flex;flex-direction:column;gap:4px;min-width:145px;padding:8px 11px;border:1px solid #d7e1ec;border-radius:13px;background:#fff;color:#475569;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.voice-language-control select{border:0;outline:0;background:transparent;color:#0f172a;font-size:13px;font-weight:750;cursor:pointer}
.voice-toggle-btn,.voice-action-btn{border:0;border-radius:13px;min-height:52px;cursor:pointer;font-family:inherit;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.voice-toggle-btn:hover,.voice-action-btn:hover{transform:translateY(-1px)}
.voice-toggle-btn{display:flex;align-items:center;gap:10px;padding:8px 16px;background:linear-gradient(135deg,#0f766e,#0d9488);color:#fff!important;box-shadow:0 9px 22px rgba(13,148,136,.22)}.voice-toggle-btn .voice-toggle-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.17);font-size:17px}.voice-toggle-copy{display:flex;flex-direction:column;text-align:left;line-height:1.15}.voice-toggle-copy strong{color:#fff!important;font-size:13px}.voice-toggle-copy small{margin-top:4px;color:rgba(255,255,255,.82)!important;font-size:10px;font-weight:600}.voice-toggle-btn.voice-listening{background:linear-gradient(135deg,#be123c,#e11d48)!important;color:#fff!important;box-shadow:0 10px 25px rgba(225,29,72,.25)!important;animation:voicePulse 1.8s infinite}.voice-toggle-btn.voice-listening *{color:#fff!important}
.voice-action-btn{padding:0 15px;background:#fff;color:#0f172a!important;border:1px solid #d7e1ec;font-size:12px;font-weight:800;box-shadow:0 4px 12px rgba(15,23,42,.04)}.voice-clear-btn{color:#475569!important}
.voice-live-panel{display:flex;align-items:center;gap:10px;margin-top:11px;padding:10px 12px;border-radius:13px;border:1px solid #dbe5ef;background:#fff;color:#475569}.voice-live-panel>div{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.voice-live-panel strong{font-size:12px;color:#0f172a}.voice-status{font-size:11px!important;line-height:1.35;color:#64748b!important}.voice-live-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px #f1f5f9;flex:0 0 auto}.voice-live-panel[data-state="listening"]{border-color:#99f6e4;background:#f0fdfa}.voice-live-panel[data-state="listening"] .voice-live-dot{background:#14b8a6;box-shadow:0 0 0 4px #ccfbf1}.voice-live-panel[data-state="silence"]{border-color:#fde68a;background:#fffbeb}.voice-live-panel[data-state="silence"] .voice-live-dot{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}.voice-live-panel[data-state="error"]{border-color:#fecaca;background:#fff1f2}.voice-live-panel[data-state="error"] .voice-live-dot{background:#e11d48;box-shadow:0 0 0 4px #ffe4e6}.voice-silence-countdown{display:grid;place-items:center;min-width:42px;height:34px;padding:0 8px;border-radius:10px;background:#0f172a;color:#fff;font-size:12px;font-weight:900;font-variant-numeric:tabular-nums}
@keyframes voicePulse{0%,100%{box-shadow:0 10px 25px rgba(225,29,72,.22)}50%{box-shadow:0 10px 28px rgba(225,29,72,.4)}}
@media(max-width:720px){.voice-workspace{padding:11px}.voice-controls-row{display:grid;grid-template-columns:1fr 1fr}.voice-language-control,.voice-toggle-btn{grid-column:1/-1}.voice-action-btn{width:100%}.voice-live-panel{align-items:flex-start}.ready-skills-template-placement .specific-skills-input{min-height:112px!important}}

/* v1.8.49 - technical transcript intelligence */
.technical-transcript-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.technical-transcript-panel>div{min-width:0;padding:10px 12px;border:1px solid #dbe5ef;border-radius:13px;background:#fff}.technical-transcript-panel span{display:block;margin-bottom:4px;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#64748b}.technical-transcript-panel p{margin:0;font-size:12px;line-height:1.45;color:#475569;overflow-wrap:anywhere}.technical-transcript-panel .technical-corrected{border-color:#99f6e4;background:#f0fdfa}.technical-transcript-panel .technical-corrected span{color:#0f766e}.technical-transcript-panel .technical-corrected p{color:#134e4a;font-weight:700}@media(max-width:720px){.technical-transcript-panel{grid-template-columns:1fr}}

/* v1.8.51 - in-textbox global voice composer */
.ready-skills-template-placement .skills-composer{position:relative;margin-top:8px;border:1.5px solid #5eead4;border-radius:22px;background:#fff;box-shadow:0 0 0 5px rgba(20,184,166,.07),0 14px 34px rgba(15,23,42,.06);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.ready-skills-template-placement .skills-composer:focus-within{border-color:#14b8a6;box-shadow:0 0 0 5px rgba(20,184,166,.11),0 16px 38px rgba(15,23,42,.08)}
.ready-skills-template-placement .skills-composer .specific-skills-input{display:block;width:100%!important;min-height:126px!important;margin:0!important;padding:18px 18px 66px!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;resize:vertical;font-size:15px!important;line-height:1.55!important}
.skills-composer-bar{position:absolute;left:14px;right:14px;bottom:11px;display:flex;align-items:center;gap:9px;min-height:44px;pointer-events:none}.skills-composer-bar>*{pointer-events:auto}
.composer-status{min-width:0;flex:1;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.composer-mic,.composer-round{display:grid;place-items:center;border:0;cursor:pointer;font-family:inherit;transition:transform .16s,box-shadow .16s}.composer-mic{width:44px;height:44px;border-radius:50%;background:linear-gradient(145deg,#0d9488,#0f766e);color:#fff;font-size:20px;box-shadow:0 8px 20px rgba(13,148,136,.25)}.composer-mic:hover,.composer-round:hover{transform:translateY(-1px)}
.composer-clear{border:0;background:transparent;color:#64748b;font-size:11px;font-weight:800;cursor:pointer;padding:8px}.composer-clear:hover{color:#0f766e}
.composer-recorder{flex:0 1 760px;display:flex;align-items:center;gap:9px;min-width:0;height:44px;padding:5px 6px 5px 11px;border:1px solid #ccfbf1;border-radius:22px;background:linear-gradient(90deg,#f0fdfa,#f8fffe);box-shadow:0 7px 18px rgba(13,148,136,.08)}.composer-recorder[hidden]{display:none!important}
.recording-dot{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 5px #fee2e2;animation:recDot 1.25s infinite}.recording-label{font-size:11px;font-weight:850;color:#334155}.recording-time{font-size:11px;font-weight:850;color:#334155;font-variant-numeric:tabular-nums}.silence-countdown{font-size:10px;font-weight:900;color:#b45309;background:#fef3c7;border-radius:9px;padding:4px 6px}
.voice-wave{height:28px;flex:1;min-width:90px;display:flex;align-items:center;justify-content:center;gap:4px}.voice-wave i{display:block;width:3px;border-radius:4px;background:#0d9488;animation:voiceBar .85s ease-in-out infinite}.voice-wave i:nth-child(1),.voice-wave i:nth-child(9){height:7px}.voice-wave i:nth-child(2),.voice-wave i:nth-child(8){height:13px;animation-delay:.1s}.voice-wave i:nth-child(3),.voice-wave i:nth-child(7){height:20px;animation-delay:.2s}.voice-wave i:nth-child(4),.voice-wave i:nth-child(6){height:12px;animation-delay:.3s}.voice-wave i:nth-child(5){height:23px;animation-delay:.4s}
.composer-round{width:34px;height:34px;border-radius:50%;font-size:20px;font-weight:800}.composer-cancel{background:#f1f5f9;color:#475569}.composer-done{background:#0d9488;color:#fff;box-shadow:0 5px 12px rgba(13,148,136,.2)}
@keyframes voiceBar{0%,100%{transform:scaleY(.45);opacity:.65}50%{transform:scaleY(1);opacity:1}}@keyframes recDot{50%{box-shadow:0 0 0 8px rgba(254,226,226,.25)}}
@media(max-width:720px){.ready-skills-template-placement .skills-composer .specific-skills-input{min-height:145px!important;padding-bottom:72px!important}.skills-composer-bar{left:10px;right:10px}.composer-status{display:none}.recording-label{display:none}.composer-recorder{flex:1}.voice-wave{min-width:55px;gap:3px}.composer-round{width:32px;height:32px}.composer-clear{font-size:10px}}
/* v1.8.51 - in-textbox voice composer */
.ready-skills-template-placement .skills-composer{position:relative;margin-top:8px;border:1.5px solid #5eead4;border-radius:22px;background:#fff;box-shadow:0 0 0 5px rgba(20,184,166,.07),0 14px 34px rgba(15,23,42,.06);overflow:hidden}.ready-skills-template-placement .skills-composer:focus-within{border-color:#14b8a6;box-shadow:0 0 0 5px rgba(20,184,166,.11),0 16px 38px rgba(15,23,42,.08)}
.ready-skills-template-placement .skills-composer .specific-skills-input{display:block;width:100%!important;min-height:126px!important;margin:0!important;padding:18px 18px 66px!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;resize:vertical;font-size:15px!important;line-height:1.55!important}.skills-composer-bar{position:absolute;left:14px;right:14px;bottom:11px;display:flex;align-items:center;gap:9px;min-height:44px;pointer-events:none}.skills-composer-bar>*{pointer-events:auto}.composer-status{min-width:0;flex:1;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer-mic,.composer-round{display:grid;place-items:center;border:0;cursor:pointer;font-family:inherit;transition:transform .16s,box-shadow .16s}.composer-mic{width:44px;height:44px;border-radius:50%;background:linear-gradient(145deg,#0d9488,#0f766e);color:#fff;font-size:20px;box-shadow:0 8px 20px rgba(13,148,136,.25)}.composer-mic:hover,.composer-round:hover{transform:translateY(-1px)}.composer-clear{border:0;background:transparent;color:#64748b;font-size:11px;font-weight:800;cursor:pointer;padding:8px}.composer-clear:hover{color:#0f766e}.composer-recorder{flex:0 1 760px;display:flex;align-items:center;gap:9px;min-width:0;height:44px;padding:5px 6px 5px 11px;border:1px solid #ccfbf1;border-radius:22px;background:linear-gradient(90deg,#f0fdfa,#f8fffe);box-shadow:0 7px 18px rgba(13,148,136,.08)}.composer-recorder[hidden]{display:none!important}.recording-dot{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 5px #fee2e2;animation:recDot 1.25s infinite}.recording-label{font-size:11px;font-weight:850;color:#334155}.recording-time{font-size:11px;font-weight:850;color:#334155;font-variant-numeric:tabular-nums}.silence-countdown{font-size:10px;font-weight:900;color:#b45309;background:#fef3c7;border-radius:9px;padding:4px 6px}.voice-wave{height:28px;flex:1;min-width:90px;display:flex;align-items:center;justify-content:center;gap:4px}.voice-wave i{display:block;width:3px;border-radius:4px;background:#0d9488;animation:voiceBar .85s ease-in-out infinite}.voice-wave i:nth-child(1),.voice-wave i:nth-child(9){height:7px}.voice-wave i:nth-child(2),.voice-wave i:nth-child(8){height:13px;animation-delay:.1s}.voice-wave i:nth-child(3),.voice-wave i:nth-child(7){height:20px;animation-delay:.2s}.voice-wave i:nth-child(4),.voice-wave i:nth-child(6){height:12px;animation-delay:.3s}.voice-wave i:nth-child(5){height:23px;animation-delay:.4s}.composer-round{width:34px;height:34px;border-radius:50%;font-size:20px;font-weight:800}.composer-cancel{background:#f1f5f9;color:#475569}.composer-done{background:#0d9488;color:#fff;box-shadow:0 5px 12px rgba(13,148,136,.2)}@keyframes voiceBar{0%,100%{transform:scaleY(.45);opacity:.65}50%{transform:scaleY(1);opacity:1}}@keyframes recDot{50%{box-shadow:0 0 0 8px rgba(254,226,226,.25)}}@media(max-width:720px){.ready-skills-template-placement .skills-composer .specific-skills-input{min-height:145px!important;padding-bottom:72px!important}.skills-composer-bar{left:10px;right:10px}.composer-status{display:none}.recording-label{display:none}.composer-recorder{flex:1}.voice-wave{min-width:55px;gap:3px}.composer-round{width:32px;height:32px}.composer-clear{font-size:10px}}
/* v1.8.52 - voice composer lifecycle visibility fix */
.composer-mic[hidden],.composer-clear[hidden]{display:none!important}.skills-composer-bar:has(.composer-recorder:not([hidden])) .composer-status{display:none}.composer-recorder:not([hidden]){display:flex!important}

/* v1.8.53 click-target hardening */
.ready-skills-template-placement .skills-composer{isolation:isolate}
.ready-skills-template-placement .skills-composer .specific-skills-input{position:relative;z-index:1}
.ready-skills-template-placement .skills-composer-bar{z-index:50!important;pointer-events:auto!important}
.ready-skills-template-placement .skills-composer-bar button{position:relative;z-index:60;pointer-events:auto!important;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.ready-skills-template-placement .composer-mic{min-width:44px;min-height:44px}
.ready-skills-template-placement .composer-clear{min-width:48px;min-height:40px}
/* v1.8.75 exact single-source preview frame */
.single-source-preview{padding:0!important;background:#dfe5ea!important;overflow:auto}.cv-document-frame{display:block;width:210mm;height:297mm;min-height:297mm;margin:0 auto;border:0;background:#fff}
@media(max-width:900px){.cv-document-frame{width:210mm;transform-origin:top left}.single-source-preview{overflow:auto}}

/* v1.8.83 current 4-template builder gallery */
.design-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.design-card{appearance:none;width:100%;min-height:112px;border:1px solid #d6e0ea;border-radius:18px;background:#fff;padding:18px;text-align:left;display:flex;gap:14px;align-items:flex-start;cursor:pointer;box-shadow:0 8px 24px rgba(20,42,68,.07);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.design-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,42,68,.12)}
.design-card.selected,.design-card[aria-pressed="true"]{border:2px solid #0b5a96;box-shadow:0 0 0 3px rgba(11,90,150,.12),0 12px 30px rgba(20,42,68,.12)}
.design-card-number{flex:0 0 42px;height:42px;border-radius:12px;background:#0b5a96;color:#fff;display:grid;place-items:center;font-weight:800}
.design-card-copy{display:flex;flex-direction:column;gap:8px;min-width:0}.design-card-copy strong{font-size:16px;color:#10263f}.design-card-copy small{font-size:12px;color:#66788a;line-height:1.4}
@media(max-width:900px){.design-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.design-cards{grid-template-columns:1fr}.design-card{min-height:96px}}

/* v1.8.99 - visible T01-T04 gallery thumbnails; compact top/main interface previews */
#ready-template-gallery .design-card{position:relative!important;display:block!important;padding:0!important;overflow:hidden!important;min-height:250px!important;background:#fff!important}
#ready-template-gallery .design-thumb{display:block;position:relative;width:100%;height:166px;overflow:hidden;background:#fff;border-bottom:1px solid #dce5eb}
#ready-template-gallery .design-card-number{position:absolute!important;z-index:5;left:10px;top:10px;width:28px!important;height:28px!important;border-radius:8px!important;font-size:11px!important;box-shadow:0 3px 9px rgba(0,0,0,.18)}
#ready-template-gallery .design-card-copy{padding:13px 15px 15px!important;min-height:82px!important;gap:4px!important}
#ready-template-gallery .design-card-copy strong{font-size:14px!important}#ready-template-gallery .design-card-copy small{min-height:0!important;font-size:10px!important}
.design-thumb i,.design-thumb b,.design-thumb em,.design-thumb u{display:block;box-sizing:border-box;text-decoration:none;font-style:normal}
.design-thumb .dt-head{height:54px;position:relative;padding:13px 14px}.design-thumb .dt-head b{width:54%;height:7px;background:currentColor;box-shadow:0 12px 0 color-mix(in srgb,currentColor 65%,transparent)}
.design-thumb .dt-head em{position:absolute;right:13px;top:8px;width:38px;height:42px;background:#dbe6ed;border:3px solid rgba(255,255,255,.9)}
.design-thumb .dt-contact{height:13px;background:#5b3c18}
.design-thumb .dt-body{display:grid;grid-template-columns:36% 64%;height:99px}.design-thumb .dt-body>b{padding:12px 10px;background:#eaf4fa}.design-thumb .dt-body>em{padding:12px 10px;background:#fff}.design-thumb .dt-body u{height:4px;margin:0 0 7px;background:#2a587b;border-radius:5px}.design-thumb .dt-body>b u:nth-child(2){width:80%}.design-thumb .dt-body>b u:nth-child(3){width:66%}.design-thumb .dt-body>b u:nth-child(4){width:74%}.design-thumb .dt-body>em u:nth-child(1){height:6px;width:64%}.design-thumb .dt-body>em u:nth-child(2){width:92%}.design-thumb .dt-body>em u:nth-child(3){width:85%}.design-thumb .dt-body>em u:nth-child(4){width:96%}.design-thumb .dt-body>em u:nth-child(5){width:72%}
.design-thumb-1{color:#fff;background:#073b63}.design-thumb-1 .dt-head{background:linear-gradient(110deg,#073b63 0 68%,#0a5b91 68% 100%);border-bottom:4px solid #f3b329}.design-thumb-1 .dt-head:after{content:"";position:absolute;right:58px;top:-15px;width:9px;height:85px;background:#f3b329;transform:skewX(-20deg)}
.design-thumb-2{color:#173b59}.design-thumb-2 .dt-head{background:linear-gradient(120deg,#fff 0 65%,#dce9f2)}.design-thumb-2 .dt-contact{background:#073c63}.design-thumb-2 .dt-body{grid-template-columns:33% 67%}.design-thumb-2 .dt-body>b{background:#073c63}.design-thumb-2 .dt-body>b u{background:#f4b52c}
.design-thumb-3{color:#173b59}.design-thumb-3 .dt-head{background:linear-gradient(90deg,#fff 0 55%,#dce7ee)}.design-thumb-3 .dt-contact{background:#0a4774}.design-thumb-3 .dt-body{grid-template-columns:33% 67%}.design-thumb-3 .dt-body>b{background:#073c63}.design-thumb-3 .dt-body>b u{background:#fff}
.design-thumb-4{color:#15283c}.design-thumb-4 .dt-head{background:#fff;border-bottom:1px solid #ddd}.design-thumb-4 .dt-contact{background:#f7f7f7;border-bottom:1px solid #ddd}.design-thumb-4 .dt-body{grid-template-columns:35% 65%}.design-thumb-4 .dt-body>b{background:#eef6fb}
@media(max-width:620px){#ready-template-gallery .design-card{min-height:242px!important}.design-thumb{height:160px}}

/* v1.9.02 builder premium visual polish — no grid/width/field-name changes */
.builder-shell :is(.builder-card,.builder-section,.form-card,.workspace-card,.template-card){border-color:rgba(14,84,105,.13);box-shadow:0 12px 34px rgba(7,30,48,.07),0 2px 8px rgba(7,30,48,.03)}
.builder-shell :is(.builder-card,.builder-section,.form-card,.workspace-card){background:linear-gradient(145deg,#fff 0%,#fbfefe 60%,#f3faf9 100%)}
.builder-shell .template-card{background:linear-gradient(145deg,#fff,#f5fbfa);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.builder-shell .template-card:hover{transform:translateY(-3px);border-color:rgba(13,139,128,.30);box-shadow:0 18px 42px rgba(7,30,48,.11)}
.builder-shell :is(input,select,textarea):focus{border-color:#18a99b!important;box-shadow:0 0 0 4px rgba(24,169,155,.10)!important}

/* v1.9.04 — template gallery layout QA
   Preserve builder proportions, but force the gallery to the same usable width as its builder parent
   and keep all eleven cards geometrically consistent. */
#ready-template-gallery{width:100%!important;max-width:none!important;box-sizing:border-box!important}
#ready-template-gallery .design-cards{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
#ready-template-gallery .design-card{width:100%!important;height:100%!important;min-width:0!important}
#ready-template-gallery .design-thumb{width:100%!important;flex:0 0 166px!important}
#ready-template-gallery .design-card-copy{width:100%!important;box-sizing:border-box!important}
@media(max-width:900px){#ready-template-gallery .design-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){#ready-template-gallery .design-cards{grid-template-columns:1fr!important}}

/* v1.9.05 — template gallery measurement normalization.
   Gallery and its grid use the full existing builder content width; no one-off narrow cap. */
#ready-template-gallery,#ready-template-gallery .design-cards{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
#ready-template-gallery .design-cards{grid-auto-rows:1fr!important}
#ready-template-gallery .design-card{min-width:0!important;max-width:none!important}

/* v1.9.11 professional builder alignment + experience contract UI */
.auto-content-badge{display:grid;gap:3px;padding:12px 14px;border:1px solid #cde5e2;border-radius:14px;background:linear-gradient(135deg,#f6fbfb,#eef9f7);box-shadow:0 8px 22px rgba(11,110,105,.06)}
.auto-content-badge strong{font-size:13px;color:#075e59}.auto-content-badge span{font-size:11px;line-height:1.45;color:#687387}
.professional-qualification-grid{align-items:start}.professional-content-column,.qualification-column{display:grid;gap:9px}
.qualification-column .repeatable-field-group,.professional-content-column textarea{margin:0!important}.qualification-column textarea,.professional-content-column textarea{border-radius:13px!important;border-color:#d7e2ea!important;background:#fff!important}
.mini-add-btn{margin:-3px 0 2px}
.compact-experience-section{background:linear-gradient(180deg,#fff,#fbfdfd)!important}
.experience-row{position:relative!important;display:grid!important;grid-template-columns:34px minmax(150px,1.15fr) minmax(145px,1fr) minmax(145px,1fr) minmax(140px,.95fr) minmax(125px,.82fr) minmax(118px,.72fr) minmax(145px,.82fr) auto!important;gap:8px!important;align-items:center!important;padding:10px!important;margin:8px 0!important;border:1px solid #dce7ee;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(4,20,35,.045)}
.experience-index{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#eaf7f5;color:#08726b;font-size:11px;font-weight:900}
.experience-row>input{height:44px!important;border-radius:10px!important;border:1px solid #d5e1e9!important;background:#fbfdff!important;padding:10px 11px!important}
.experience-row>input:focus{background:#fff!important;border-color:#45b8ad!important;box-shadow:0 0 0 3px rgba(20,163,150,.10)!important;outline:0}
.experience-row .date-field{height:44px!important;min-height:44px!important;border-radius:10px!important;padding:3px 7px!important;align-content:center}
.experience-row .date-field>span{font-size:8px!important}.experience-row .date-field input[type=month]{font-size:11px!important}
.experience-row .experience-remove{align-self:center!important;min-height:38px!important;border-radius:10px!important}
.experience-actions{justify-content:flex-start!important;margin-top:10px!important}
@media(max-width:1350px) and (min-width:901px){.experience-row{grid-template-columns:34px repeat(3,minmax(0,1fr))!important}.experience-row .experience-remove{grid-column:auto}}
@media(max-width:900px){.experience-row{grid-template-columns:32px 1fr!important}.experience-row>*:not(.experience-index){grid-column:2}.experience-row .experience-remove{width:auto!important;justify-self:start}.professional-qualification-grid{grid-template-columns:1fr!important}}

/* v1.9.12 — locked equal spacing for every dynamically added experience */
#experience-list{
  display:grid!important;
  row-gap:8px!important;
  column-gap:0!important;
}
#experience-list .experience-row{
  margin:0!important;
  min-height:66px!important;
  box-sizing:border-box!important;
}
#experience-list .experience-row .experience-remove{
  grid-column:auto!important;
  grid-row:auto!important;
  margin:0!important;
  align-self:center!important;
  justify-self:end!important;
}
#experience-list .experience-row>*{
  margin-top:0!important;
  margin-bottom:0!important;
}
@media(max-width:1350px) and (min-width:901px){
  #experience-list{row-gap:8px!important}
  #experience-list .experience-row{margin:0!important;min-height:66px!important}
  #experience-list .experience-row .experience-remove{grid-column:auto!important;margin:0!important}
}
@media(max-width:900px){
  #experience-list{row-gap:8px!important}
  #experience-list .experience-row{margin:0!important;min-height:0!important}
  #experience-list .experience-row .experience-remove{grid-column:2!important;justify-self:start!important;margin:0!important}
}

/* v1.9.13 — premium balanced professional content + visible validation */
.professional-qualification-section{overflow:visible!important}
.premium-content-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.premium-auto-content{grid-column:1/-1!important;padding:10px 14px!important;min-height:0!important;border-radius:12px!important}
.premium-field-card{display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px;border:1px solid #dce8ee;border-radius:15px;background:linear-gradient(180deg,#fff,#f9fcfc);box-shadow:0 7px 20px rgba(5,35,52,.045)}
.premium-field-card>label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:900;color:#17334a;letter-spacing:.01em}
.premium-field-card>label small{font-size:9px;font-weight:800;color:#718096;background:#eef4f7;border-radius:999px;padding:3px 7px;text-transform:uppercase;letter-spacing:.05em}
.premium-field-card textarea{width:100%!important;min-height:64px!important;height:64px!important;margin:0!important;border-radius:11px!important;background:#fff!important;resize:vertical}
.premium-field-card .repeatable-field-group{gap:6px!important}.premium-field-card .mini-add-btn{margin:0!important;align-self:flex-start;padding:7px 10px!important}
.builder-field-invalid{border-color:#dc3545!important;box-shadow:0 0 0 3px rgba(220,53,69,.12)!important;background:#fff8f8!important}
.builder-inline-error{display:block;margin-top:5px;color:#b42318;font-size:11px;font-weight:800;line-height:1.35}
.builder-form-error:not([hidden]){display:block!important;margin-top:7px;padding:8px 10px;border:1px solid #f1b7b2;border-radius:9px;background:#fff4f2;color:#a1261d;font-weight:800}
@media(max-width:900px){.premium-content-grid{grid-template-columns:1fr!important}.premium-auto-content{grid-column:1!important}}

/* v1.9.25 preview viewport + real 4-template gallery */
.single-source-preview{overflow:visible!important;padding:18px!important;background:#dfe5ea!important;border-radius:22px}
.cv-document-frame{display:block;width:210mm!important;max-width:100%;min-height:297mm;margin:0 auto;border:0!important;background:#fff;overflow:hidden!important;box-shadow:0 12px 38px rgba(15,23,42,.18)}
.template-real-miniature{display:block!important;height:215px!important;padding:0!important;background:#eef3f7!important;overflow:hidden!important}
.template-real-miniature .design-thumb{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-width:0!important;transform:none!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
@media(max-width:900px){.single-source-preview{overflow-x:auto!important;overflow-y:visible!important}.cv-document-frame{max-width:none!important}}

/* v1.9.28 exact PDF page-stack preview: the preview surface is the actual generated PDF. */
.pdf-page-preview-frame{display:block!important;width:min(100%,1100px)!important;max-width:1100px!important;height:calc(100vh - 120px)!important;min-height:900px!important;margin:0 auto!important;border:0!important;background:#525659!important;box-shadow:0 18px 48px rgba(15,23,42,.22)!important}
.single-source-preview:has(.pdf-page-preview-frame){overflow:visible!important;padding:12px!important;background:#d7dde3!important}
@media(max-width:900px){.pdf-page-preview-frame{width:100%!important;min-height:720px!important;height:82vh!important}}
/* v1.9.32 browser-native preview: no PDF iframe / no server renderer / no gray 500 viewer. */
.browser-native-preview{overflow:visible!important;background:#dfe5ea;padding:18px!important}
.browser-document-frame{display:block;width:min(100%,1120px);min-height:1123px;margin:0 auto;border:0;background:#fff;box-shadow:0 12px 32px rgba(12,35,52,.14);overflow:hidden}

/* v1.9.33 — real page-by-page A4 preview stack */
.hajena-page-stack{display:flex;flex-direction:column;align-items:center;gap:22px;padding:22px;background:#dfe5ea;border-radius:22px;overflow:visible}
.hajena-measure-frame{position:absolute!important;left:-100000px!important;top:0!important;width:210mm!important;height:297mm!important;border:0!important;visibility:hidden!important;pointer-events:none!important}
.a4-preview-page{width:min(210mm,100%);margin:0 auto}.a4-page-label{text-align:center;font-size:12px;font-weight:800;letter-spacing:.08em;color:#52606d;margin:0 0 8px}
.a4-page-viewport{position:relative;width:210mm;height:297mm;max-width:100%;overflow:hidden;background:#fff;box-shadow:0 12px 36px rgba(15,23,42,.20)}
.a4-page-frame{display:block;width:210mm;height:297mm;border:0;background:#fff;overflow:hidden}
.page-stack-status{text-align:center;margin:8px 0 16px;color:#52606d;font-size:13px;font-weight:700}
@media(max-width:900px){.hajena-page-stack{align-items:flex-start;overflow-x:auto}.a4-preview-page{width:210mm;max-width:none}.a4-page-viewport{max-width:none}}

/* v1.9.34 — physical page windows; iframe is full-document height and translated. */
.a4-preview-page{width:210mm!important;max-width:210mm!important;break-inside:avoid;page-break-inside:avoid}
.a4-page-viewport{position:relative!important;width:210mm!important;height:297mm!important;overflow:hidden!important;background:#fff!important;border:1px solid rgba(15,35,52,.10);box-shadow:0 14px 38px rgba(15,23,42,.22)!important}
.a4-page-frame{position:absolute!important;display:block!important;width:210mm!important;min-width:210mm!important;max-width:210mm!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;pointer-events:none}
.a4-page-label{font-variant-numeric:tabular-nums}
@media(max-width:900px){.a4-preview-page,.a4-page-viewport{width:210mm!important;max-width:none!important}}

/* v1.9.57 Preview actions: readable edit CTA + direct PDF download. */
.preview-page .premium-actions .preview-edit-btn{background:#e7eef5!important;color:#0b1526!important;border:1px solid #cbd8e5!important;box-shadow:0 8px 20px rgba(4,20,35,.08)}
.preview-page .premium-actions .preview-edit-btn:hover{background:#dbe7f0!important;color:#07111f!important}
.preview-page .premium-actions .preview-download-btn{background:linear-gradient(135deg,var(--brand),var(--brand-2))!important;color:#fff!important;border:1px solid transparent!important;box-shadow:0 12px 26px rgba(11,110,105,.24)}

/* v1.9.64 approved modern Professional Photo workspace */
.modern-photo-panel{grid-column:1/-1!important;padding:20px 22px!important;border:1px solid #d9e7ee!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 12px 34px rgba(15,45,70,.06)!important}
.modern-photo-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.photo-heading-icon{width:38px;height:38px;border-radius:13px;background:#e8f8f6;color:#0b8f86;display:grid;place-items:center;font-size:22px}.photo-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.modern-photo-heading h3{margin:0!important;font-size:20px!important}.modern-photo-heading p{margin:2px 0 0;color:#66758a;font-size:13px}.photo-recommended{padding:4px 9px;border-radius:999px;background:#e7f8eb;color:#16843b;font-size:11px;font-weight:850}
.modern-photo-grid{display:grid;grid-template-columns:minmax(280px,1.2fr) 180px 210px minmax(330px,1.15fr);gap:18px;align-items:stretch}.photo-drop-zone{min-height:230px;border:2px dashed #19a69e;border-radius:17px;background:#fbfeff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;cursor:pointer;transition:.2s}.photo-drop-zone:hover,.photo-drop-zone.is-dragover{background:#f0fbfa;border-color:#087e78;transform:translateY(-1px)}.photo-upload-icon{font-size:42px;color:#7a91a7;line-height:1}.photo-drop-zone strong{font-size:15px;margin-top:5px}.photo-drop-zone>span{color:#78879a;font-size:12px}.photo-drop-zone small{color:#8493a5;font-size:10px;margin-top:9px}.photo-choose-btn{border:0;border-radius:10px;background:linear-gradient(135deg,#0b8f86,#13aaa0);color:#fff;font-weight:850;padding:10px 22px;margin-top:12px;cursor:pointer;box-shadow:0 8px 18px rgba(11,143,134,.18)}
.modern-photo-preview-card{border:1px solid #dce8ee;border-radius:16px;background:#fff;padding:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(12,43,68,.06)}.modern-photo-panel .photo-preview-wrap{width:150px!important;height:188px!important;margin:0!important;background:linear-gradient(145deg,#eef3f6,#f8fafc)!important;border:1px solid #d6e0e6;position:relative}.modern-photo-panel .photo-preview-wrap img{z-index:2}.photo-empty-mark{font-size:11px;color:#9aa7b5;position:absolute;inset:0;display:grid;place-items:center}.photo-preview-empty .photo-empty-mark{display:grid}.photo-preview-wrap:not(.photo-preview-empty) .photo-empty-mark{display:none}.modern-photo-preview-card .photo-auto-status{display:block;text-align:center;margin-top:8px;font-size:10px;color:#62758a;min-height:30px}
.photo-tool-stack{display:grid;gap:9px;align-content:center}.photo-tool{min-height:45px;border:1px solid #cfe0e9;border-radius:11px;background:#fff;color:#24364c;font-weight:760;text-align:left;padding:0 14px;cursor:pointer;transition:.18s}.photo-tool:hover{border-color:#11a198;background:#f5fbfb}.photo-tool.primary{background:linear-gradient(135deg,#0b8f86,#19b4a9);color:#fff;border-color:transparent}.photo-tool.danger{color:#d13b32;border-color:#f2c9c5;background:#fff9f8}.photo-tool:disabled{opacity:.45;cursor:not-allowed}
.photo-shape-area{border-left:1px solid #e2eaf0;padding-left:18px}.photo-shape-area h4{margin:0 0 10px;font-size:14px}.modern-photo-panel .photo-style-picker{display:grid!important;grid-template-columns:repeat(4,minmax(66px,1fr))!important;gap:8px!important}.modern-photo-panel .photo-style-option{min-height:92px!important;padding:8px 5px!important;border:1px solid #dbe6ec;border-radius:12px;background:#f8fbfc;display:flex!important;flex-direction:column;justify-content:center;gap:5px!important;text-align:center;color:#56677a;font-size:10px!important}.modern-photo-panel .photo-style-option.is-active{border-color:#0c9a91;background:#eaf9f7;color:#08756f;box-shadow:0 0 0 2px rgba(12,154,145,.08)}.modern-photo-panel .photo-style-option input{position:absolute;opacity:0}.shape-demo{width:42px;height:48px;margin:auto;background:linear-gradient(145deg,#cad7df,#eef3f6);border:1px solid #bfcdd6}.shape-rounded{border-radius:12px}.shape-circle{width:44px;height:44px;border-radius:50%}.shape-square{width:44px;height:44px}.photo-style-option b{font-weight:800}.photo-tips{margin-top:12px;padding:11px 13px;border-radius:12px;background:#eff8ff;display:grid;gap:3px;font-size:10px;color:#415a70}.photo-tips strong{font-size:12px;color:#263c51;margin-bottom:2px}
@media(max-width:1180px){.modern-photo-grid{grid-template-columns:minmax(280px,1fr) 170px 190px}.photo-shape-area{grid-column:1/-1;border-left:0;border-top:1px solid #e2eaf0;padding:14px 0 0}.modern-photo-panel .photo-style-picker{max-width:520px}}
@media(max-width:780px){.modern-photo-panel{padding:15px!important}.modern-photo-grid{grid-template-columns:1fr}.photo-drop-zone{min-height:190px}.modern-photo-preview-card{min-height:220px}.photo-shape-area{grid-column:auto}.photo-tool-stack{grid-template-columns:1fr 1fr}.modern-photo-panel .photo-style-picker{grid-template-columns:repeat(2,1fr)!important}}

/* v1.9.65 — approved Professional Photo proportions / responsive polish only. */
.modern-photo-panel{padding:24px 26px!important}
.modern-photo-heading{margin-bottom:20px!important;gap:14px!important;align-items:center!important}
.modern-photo-heading h3{font-size:22px!important;line-height:1.15!important}
.modern-photo-heading p{font-size:13px!important;margin-top:4px!important}
.photo-heading-icon{width:44px!important;height:44px!important;border-radius:14px!important;font-size:24px!important;flex:0 0 44px}
.modern-photo-grid{grid-template-columns:minmax(0,1.55fr) minmax(150px,.62fr) minmax(180px,.72fr) minmax(280px,1.22fr)!important;gap:20px!important;align-items:stretch!important}
.photo-drop-zone{min-width:0!important;min-height:260px!important;padding:24px 20px!important;border-radius:18px!important}
.photo-upload-icon{font-size:48px!important;margin-bottom:5px!important}
.photo-drop-zone strong{font-size:16px!important}
.photo-drop-zone>span{font-size:13px!important;margin-top:3px!important}
.photo-choose-btn{font-size:14px!important;padding:12px 26px!important;border-radius:11px!important;margin-top:15px!important}
.photo-drop-zone small{font-size:10px!important;margin-top:12px!important}
.modern-photo-preview-card{min-width:0!important;padding:13px!important;border-radius:18px!important}
.modern-photo-panel .photo-preview-wrap{width:160px!important;height:202px!important;max-width:100%!important}
.modern-photo-preview-card .photo-auto-status{font-size:10px!important;line-height:1.35!important;min-height:28px!important}
.photo-tool-stack{gap:10px!important;align-content:center!important;min-width:0!important}
.photo-tool{min-height:49px!important;padding:0 15px!important;border-radius:12px!important;font-size:13px!important;white-space:normal!important}
.photo-shape-area{min-width:0!important;padding-left:20px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.photo-shape-area h4{font-size:15px!important;margin-bottom:12px!important}
.modern-photo-panel .photo-style-picker{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;width:100%!important;max-width:none!important}
.modern-photo-panel .photo-style-option{min-width:0!important;min-height:104px!important;padding:9px 4px!important;border-radius:13px!important;font-size:10px!important}
.shape-demo{width:48px!important;height:56px!important;max-width:90%!important}.shape-rounded{border-radius:14px!important}.shape-circle{width:50px!important;height:50px!important}.shape-square{width:50px!important;height:50px!important}
.photo-tips{margin-top:14px!important;padding:13px 15px!important;border-radius:13px!important;gap:5px!important;font-size:10.5px!important;line-height:1.35!important}.photo-tips strong{font-size:12.5px!important}
@media(max-width:1280px){.modern-photo-grid{grid-template-columns:minmax(0,1.45fr) minmax(140px,.62fr) minmax(165px,.72fr) minmax(250px,1.15fr)!important;gap:14px!important}.modern-photo-panel{padding:20px!important}.photo-shape-area{padding-left:14px!important}.modern-photo-panel .photo-preview-wrap{width:145px!important;height:184px!important}.photo-tool{font-size:12px!important;padding:0 11px!important}.modern-photo-panel .photo-style-option{min-height:92px!important}.shape-demo{width:42px!important;height:50px!important}.shape-circle,.shape-square{width:44px!important;height:44px!important}}
@media(max-width:1050px){.modern-photo-grid{grid-template-columns:minmax(0,1.25fr) minmax(150px,.65fr) minmax(180px,.75fr)!important}.photo-shape-area{grid-column:1/-1!important;border-left:0!important;border-top:1px solid #e2eaf0!important;padding:16px 0 0!important}.modern-photo-panel .photo-style-picker{max-width:620px!important}.photo-tips{max-width:620px!important}}
@media(max-width:760px){.modern-photo-panel{padding:16px!important}.modern-photo-heading{align-items:flex-start!important}.modern-photo-grid{grid-template-columns:1fr!important;gap:14px!important}.photo-drop-zone{min-height:210px!important}.modern-photo-preview-card{min-height:230px!important}.modern-photo-panel .photo-preview-wrap{width:160px!important;height:202px!important}.photo-tool-stack{grid-template-columns:1fr 1fr!important}.photo-shape-area{grid-column:auto!important}.modern-photo-panel .photo-style-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:none!important}.photo-tips{max-width:none!important}}
@media(max-width:480px){.photo-tool-stack{grid-template-columns:1fr!important}.modern-photo-panel .photo-style-picker{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v1.9.66 approved premium identity + qualification workspace */
.approved-premium-section{border:1px solid #dce8f5!important;border-radius:24px!important;background:linear-gradient(145deg,#fff 0%,#fbfdff 58%,#f7fbff 100%)!important;box-shadow:0 18px 46px rgba(31,78,121,.08)!important;padding:22px!important;overflow:hidden}
.approved-section-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.approved-step{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#0878d8,#11a7d0);color:#fff;font-size:20px;font-weight:950;box-shadow:0 9px 20px rgba(8,120,216,.22);flex:0 0 auto}.approved-head-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#eaf5ff;color:#083e75;font-size:23px}.approved-head-copy{min-width:0}.approved-head-copy h3{font-size:22px!important;margin:0!important;color:#081a3a}.approved-head-copy p{margin:3px 0 0;color:#617394;font-size:13px}.approved-tip{margin-left:auto;max-width:390px;border-radius:14px;padding:10px 14px;background:#edf6ff;color:#1260bc;font-size:12px;font-weight:750}.approved-tip.purple{background:linear-gradient(135deg,#f8ecff,#f4f0ff);color:#7c19cf}
.approved-identity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.premium-input-shell{display:grid;grid-template-columns:48px 1fr;align-items:center;min-height:74px;border:1px solid #d6e2f0;border-radius:14px;background:#fff;overflow:hidden;transition:.2s ease}.premium-input-shell:focus-within{border-color:#46a5ef;box-shadow:0 0 0 4px rgba(70,165,239,.1);transform:translateY(-1px)}.premium-input-icon{display:grid;place-items:center;height:100%;background:linear-gradient(180deg,#f3f8ff,#eef6ff);font-size:20px;color:#0a3a70}.premium-input-copy{display:grid;padding:8px 12px 7px;gap:2px}.premium-input-copy label{font-size:12px;font-weight:850;color:#172a4d}.premium-input-copy input,.premium-input-copy select{border:0!important;outline:0!important;background:transparent!important;padding:2px 0!important;margin:0!important;min-height:28px!important;box-shadow:none!important;color:#182b4b;font-size:14px}.required-star{color:#ef4444}
.approved-qualification-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.approved-field-card{position:relative;border:1px solid #d9e5f2;border-radius:18px;background:#fff;padding:16px;min-height:180px;box-shadow:0 9px 24px rgba(36,74,118,.045)}.approved-field-card.skills{border-left:3px solid #2c8fff}.approved-field-card.education{border-left:3px solid #12b8a6;background:linear-gradient(145deg,#fff,#f7fffd)}.approved-field-card.certifications{border-left:3px solid #8b5cf6;background:linear-gradient(145deg,#fff,#fbf9ff)}.approved-field-card.languages{border:2px solid #d64bf2;background:linear-gradient(145deg,#fff,#fff9ff)}.approved-card-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}.approved-card-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#eef6ff;font-size:21px;flex:0 0 auto}.approved-card-copy strong{display:block;color:#0b1e40;font-size:16px}.approved-card-copy span{display:block;color:#63769a;font-size:12px;margin-top:2px}.optional-pill{margin-left:auto;padding:5px 10px;border-radius:999px;background:#edf4fb;color:#486382;font-size:9px;font-weight:900;text-transform:uppercase}.approved-field-card textarea{width:100%;min-height:78px!important;border:1px solid #d6e2f0!important;border-radius:12px!important;background:#fff!important;padding:12px!important;resize:vertical}.approved-field-card textarea:focus{border-color:#46a5ef!important;box-shadow:0 0 0 3px rgba(70,165,239,.09)!important}.field-example{display:block;margin-top:-27px;padding:0 12px 12px;color:#9aa8bd;font-size:11px;pointer-events:none}.approved-field-card textarea:not(:placeholder-shown)+.field-example{display:none}.approved-add-btn{margin-top:10px;border:1px solid #21aaa5;background:#f2fffd;color:#07827c;border-radius:10px;padding:8px 13px;font-weight:900;cursor:pointer}.approved-add-btn:hover{background:#e5fffb;transform:translateY(-1px)}
.language-builder{display:grid;gap:10px}.language-entry{display:grid;grid-template-columns:minmax(170px,.72fr) minmax(360px,1.6fr) auto;gap:10px;align-items:end;padding:10px;border:1px solid #eadcf5;border-radius:13px;background:rgba(255,255,255,.85)}.language-select-wrap{display:grid;gap:5px}.language-select-wrap label,.proficiency-wrap>span{font-size:11px;font-weight:850;color:#273858}.language-select-wrap select{height:44px;border:1px solid #d6e2f0;border-radius:10px;background:#fff;padding:0 10px;color:#263b5e}.proficiency-wrap{display:grid;gap:5px}.proficiency-options{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.proficiency-option{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;min-height:42px;border:1px solid #d7e2ef;border-radius:9px;background:#fff;font-size:10px;font-weight:900;color:#2f5da7;cursor:pointer}.proficiency-option input{position:absolute;opacity:0}.proficiency-option:has(input:checked){background:#edf6ff;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.08)}.proficiency-option.beginner{color:#d97706}.proficiency-option.fluent{color:#079447}.proficiency-option.native{color:#7c3aed}.language-remove{height:42px;border:1px solid #efc8c4;border-radius:9px;background:#fff5f4;color:#b42318;font-weight:850;cursor:pointer}.language-hidden{display:none!important}
@media(max-width:1000px){.approved-identity-grid{grid-template-columns:repeat(2,1fr)}.approved-qualification-grid{grid-template-columns:1fr}.approved-tip{display:none}.language-entry{grid-template-columns:1fr}.proficiency-options{grid-template-columns:repeat(5,minmax(70px,1fr))}}
@media(max-width:650px){.approved-premium-section{padding:15px!important;border-radius:18px!important}.approved-section-head{align-items:flex-start}.approved-step,.approved-head-icon{width:40px;height:40px}.approved-head-copy h3{font-size:18px!important}.approved-identity-grid{grid-template-columns:1fr}.proficiency-options{grid-template-columns:repeat(2,1fr)}.approved-qualification-grid{gap:10px}}

/* v1.9.68 — approved compact premium Step 2 + Step 3 proportions */
.approved-premium-section{padding:16px 18px!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(31,78,121,.055)!important}
.approved-section-head{gap:10px!important;margin-bottom:12px!important;min-height:42px!important}
.approved-step,.approved-head-icon{width:38px!important;height:38px!important;font-size:17px!important;box-shadow:none!important}
.approved-head-copy h3{font-size:17px!important;line-height:1.15!important}.approved-head-copy p{font-size:11px!important;margin-top:2px!important;line-height:1.3!important}
.approved-tip{max-width:330px!important;padding:8px 11px!important;border-radius:11px!important;font-size:10.5px!important}
.approved-identity-grid{gap:9px!important}
.premium-input-shell{grid-template-columns:40px 1fr!important;min-height:56px!important;border-radius:11px!important}
.premium-input-icon{font-size:17px!important}.premium-input-copy{padding:5px 9px!important;gap:0!important}.premium-input-copy label{font-size:10.5px!important}.premium-input-copy input,.premium-input-copy select{min-height:24px!important;font-size:12px!important}
.approved-qualification-grid{gap:10px!important;align-items:start!important}
.approved-field-card{padding:11px 12px!important;border-radius:14px!important;min-height:0!important;box-shadow:0 5px 15px rgba(36,74,118,.035)!important}
.approved-field-card.languages{border-width:1px!important;border-left:3px solid #a855f7!important}
.approved-card-head{gap:8px!important;margin-bottom:8px!important;min-height:34px!important}.approved-card-icon{width:34px!important;height:34px!important;font-size:16px!important}.approved-card-copy strong{font-size:13px!important;line-height:1.15!important}.approved-card-copy span{font-size:10px!important;line-height:1.25!important;margin-top:1px!important}.optional-pill{padding:3px 7px!important;font-size:8px!important}
.approved-field-card textarea{min-height:58px!important;height:58px!important;padding:9px 10px!important;border-radius:9px!important;font-size:11.5px!important;line-height:1.35!important;resize:vertical!important}
.approved-add-btn{margin-top:7px!important;padding:6px 10px!important;border-radius:8px!important;font-size:10.5px!important}
.language-builder{gap:7px!important}.language-entry{grid-template-columns:minmax(130px,.78fr) minmax(300px,1.6fr) 34px!important;gap:7px!important;padding:7px!important;border-radius:10px!important;align-items:end!important}.language-select-wrap{gap:3px!important}.language-select-wrap label,.proficiency-wrap>span{font-size:9px!important}.language-select-wrap select{height:36px!important;border-radius:8px!important;padding:0 8px!important;font-size:10.5px!important}.proficiency-wrap{gap:3px!important}.proficiency-options{gap:4px!important}.proficiency-option{min-height:36px!important;border-radius:7px!important;font-size:8.5px!important;line-height:1!important;padding:0 3px!important;white-space:nowrap!important}.language-remove{height:36px!important;width:34px!important;padding:0!important;font-size:0!important}.language-remove::before{content:'×';font-size:17px!important}.approved-field-card.languages>.approved-add-btn{margin-top:7px!important}
@media(max-width:1100px) and (min-width:761px){.approved-tip{display:none!important}.language-entry{grid-template-columns:150px 1fr 34px!important}.proficiency-option{font-size:8px!important}}
@media(max-width:760px){.approved-premium-section{padding:13px!important}.approved-section-head{align-items:flex-start!important;flex-wrap:wrap!important}.approved-tip{display:none!important}.approved-identity-grid{grid-template-columns:1fr!important}.approved-qualification-grid{grid-template-columns:1fr!important}.language-entry{grid-template-columns:1fr!important}.language-remove{width:100%!important}.proficiency-options{grid-template-columns:repeat(3,1fr)!important}.proficiency-option{font-size:9px!important}}

/* v1.9.69 — MASTER REFERENCE UI LOCK (approved 2026-10-03 image)
   Scope: Professional Photo + Step 2 + Step 3 visual geometry only.
   Do not alter template gallery, experience, preview/PDF or data flow. */
@media (min-width: 1001px){
  .modern-photo-panel{padding:20px 22px!important;overflow:hidden!important}
  .modern-photo-heading{margin-bottom:16px!important}
  .modern-photo-grid{
    display:grid!important;
    grid-template-columns:minmax(260px,1.18fr) minmax(145px,.58fr) minmax(150px,.62fr) minmax(255px,1.12fr)!important;
    gap:14px!important;align-items:stretch!important;width:100%!important;min-width:0!important
  }
  .photo-drop-zone{min-height:218px!important;padding:18px 14px!important}
  .modern-photo-preview-card{min-width:0!important;padding:8px!important}
  .modern-photo-panel .photo-preview-wrap{width:142px!important;height:178px!important;max-width:100%!important}
  .photo-tool-stack{gap:7px!important;min-width:0!important}
  .photo-tool{min-height:40px!important;padding:0 10px!important;font-size:11px!important}
  .photo-shape-area{border-left:1px solid #e2eaf0!important;border-top:0!important;padding:0 0 0 14px!important;grid-column:auto!important;min-width:0!important;justify-content:center!important}
  .modern-photo-panel .photo-style-picker{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;max-width:none!important}
  .modern-photo-panel .photo-style-option{min-height:76px!important;padding:6px 2px!important;font-size:8.5px!important}
  .shape-demo{width:36px!important;height:43px!important}.shape-circle{width:38px!important;height:38px!important}.shape-square{width:38px!important;height:38px!important}
  .photo-tips{margin-top:9px!important;padding:9px 10px!important;font-size:9px!important;gap:3px!important}
}

.approved-premium-section{padding:16px 18px!important;border-radius:18px!important}
.approved-section-head{margin-bottom:12px!important;gap:9px!important;min-height:42px!important}
.approved-step{width:36px!important;height:36px!important;flex:0 0 36px!important;font-size:14px!important}
.approved-head-icon{width:36px!important;height:36px!important;flex:0 0 36px!important;font-size:18px!important}
.approved-head-copy h3{font-size:16px!important;line-height:1.15!important;margin:0!important}
.approved-head-copy p{font-size:9.5px!important;line-height:1.35!important;margin:2px 0 0!important}
.approved-tip{font-size:9px!important;padding:7px 9px!important;border-radius:9px!important}
.approved-identity-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.premium-input-shell{min-height:48px!important;padding:6px 9px!important;border-radius:9px!important;gap:8px!important}
.premium-input-icon{font-size:16px!important;width:22px!important;flex:0 0 22px!important}
.premium-input-copy label{font-size:8.5px!important;line-height:1!important;margin-bottom:1px!important}
.premium-input-copy input,.premium-input-copy select{height:27px!important;min-height:27px!important;padding:0!important;border:0!important;box-shadow:none!important;font-size:10.5px!important;background:transparent!important}
.approved-qualification-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.approved-field-card{padding:10px!important;border-radius:11px!important;min-height:0!important}
.approved-card-head{min-height:28px!important;margin-bottom:7px!important;gap:7px!important}
.approved-card-icon{width:25px!important;height:25px!important;flex:0 0 25px!important;font-size:13px!important}
.approved-card-copy strong{font-size:10.5px!important}.approved-card-copy span{display:none!important}
.optional-pill{font-size:7px!important;padding:3px 6px!important}
.approved-field-card textarea{min-height:48px!important;height:48px!important;padding:9px!important;border-radius:8px!important;font-size:10px!important;resize:vertical!important}
.approved-add-btn{min-height:30px!important;padding:5px 9px!important;border-radius:7px!important;font-size:9px!important;margin-top:6px!important}
.language-builder{gap:6px!important}.language-entry{grid-template-columns:minmax(115px,.68fr) minmax(330px,1.8fr) 30px!important;gap:6px!important;padding:6px!important;border-radius:9px!important}
.language-select-wrap label,.proficiency-wrap>span{font-size:8px!important}.language-select-wrap select{height:32px!important;font-size:9.5px!important;border-radius:7px!important}
.proficiency-options{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important}.proficiency-option{min-height:32px!important;font-size:7.5px!important;padding:0 2px!important;white-space:nowrap!important;border-radius:6px!important}.language-remove{height:32px!important;width:30px!important}

@media(max-width:1000px){
 .modern-photo-grid{grid-template-columns:1.25fr .7fr .8fr!important;gap:12px!important}.photo-shape-area{grid-column:1/-1!important;border-left:0!important;border-top:1px solid #e2eaf0!important;padding:12px 0 0!important}
 .approved-tip{display:none!important}.approved-identity-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.language-entry{grid-template-columns:1fr!important}.language-remove{width:100%!important}
}
@media(max-width:650px){
 .modern-photo-grid{grid-template-columns:1fr!important}.photo-tool-stack{grid-template-columns:1fr 1fr!important}.modern-photo-panel .photo-style-picker{grid-template-columns:repeat(2,1fr)!important}
 .approved-identity-grid,.approved-qualification-grid{grid-template-columns:1fr!important}.proficiency-options{grid-template-columns:repeat(2,1fr)!important}
}

/* v1.9.70 — ROOT LAYOUT REBUILD: approved Template + Professional Photo workspaces
   Root cause fixed: legacy .premium-builder-form .photo-panel 3-column parent grid was
   still laying out the new heading and workspace as separate grid items. */
#ready-template-gallery .design-cards{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  margin:12px 0 14px!important;
  align-items:stretch!important;
}
#ready-template-gallery .design-card{min-width:0!important;width:100%!important;height:100%!important}

/* Kill the legacy photo-panel parent grid. The modern workspace owns its internal grid. */
.premium-builder-form .photo-panel.modern-photo-panel{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.premium-builder-form .photo-panel.modern-photo-panel > .modern-photo-heading,
.premium-builder-form .photo-panel.modern-photo-panel > .modern-photo-grid{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media (min-width:1001px){
  .premium-builder-form .photo-panel.modern-photo-panel .modern-photo-grid{
    display:grid!important;
    grid-template-columns:minmax(240px,1.35fr) minmax(145px,.62fr) minmax(155px,.68fr) minmax(245px,1.15fr)!important;
    gap:14px!important;
    align-items:stretch!important;
  }
  .premium-builder-form .photo-panel.modern-photo-panel .photo-drop-zone{min-width:0!important;min-height:210px!important}
  .premium-builder-form .photo-panel.modern-photo-panel .modern-photo-preview-card{min-width:0!important;min-height:210px!important}
  .premium-builder-form .photo-panel.modern-photo-panel .photo-tool-stack{min-width:0!important}
  .premium-builder-form .photo-panel.modern-photo-panel .photo-shape-area{min-width:0!important;grid-column:auto!important}
}
@media (max-width:1000px) and (min-width:651px){
  #ready-template-gallery .design-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .premium-builder-form .photo-panel.modern-photo-panel .modern-photo-grid{
    display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(145px,.65fr) minmax(165px,.75fr)!important;gap:12px!important
  }
  .premium-builder-form .photo-panel.modern-photo-panel .photo-shape-area{grid-column:1/-1!important}
}
@media (max-width:650px){
  #ready-template-gallery .design-cards{grid-template-columns:1fr!important}
  .premium-builder-form .photo-panel.modern-photo-panel .modern-photo-grid{display:grid!important;grid-template-columns:1fr!important}
}

/* v1.9.71 — BUILDER READABILITY + HOME-SCALE LOCK
   Keep the builder at a readable marketing-page scale. This intentionally wins over
   the historical compact/3-column gallery rules above. */
.premium-builder-shell.compact-builder-page{
  width:min(1280px,calc(100% - 40px))!important;
  max-width:1280px!important;
  margin-left:auto!important;margin-right:auto!important;
  font-size:16px!important;
}
.premium-builder-form{font-size:15px!important;gap:20px!important;padding:22px!important}
.premium-builder-form :is(input,select,textarea,button){font-size:14px!important}
.premium-builder-form :is(.guided-section,.design-choice-section,.photo-panel,.builder-submit-panel){padding:22px!important}
#ready-template-gallery .section-mini-head h2{font-size:30px!important;line-height:1.12!important}
#ready-template-gallery .section-mini-head p{font-size:14px!important;line-height:1.5!important;max-width:820px!important}
#ready-template-gallery .locked-badge{font-size:11px!important;padding:7px 10px!important}
#ready-template-gallery .design-cards{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;margin:16px 0!important;width:100%!important;max-width:none!important
}
#ready-template-gallery .design-card{min-height:330px!important;border-radius:16px!important;border:1px solid #d8e4eb!important;box-shadow:0 8px 24px rgba(8,34,52,.07)!important}
#ready-template-gallery .design-card:hover{transform:translateY(-2px)!important;box-shadow:0 14px 30px rgba(8,34,52,.11)!important}
#ready-template-gallery .design-card.selected,#ready-template-gallery .design-card[aria-pressed="true"]{border:2px solid #0ea5a0!important;box-shadow:0 0 0 3px rgba(14,165,160,.10),0 14px 30px rgba(8,34,52,.10)!important}
#ready-template-gallery .design-thumb{height:235px!important;flex-basis:235px!important}
#ready-template-gallery .design-thumb .dt-head{height:74px!important}
#ready-template-gallery .design-thumb .dt-contact{height:25px!important}
#ready-template-gallery .design-thumb .dt-body{height:136px!important}
#ready-template-gallery .design-card-number{width:34px!important;height:34px!important;font-size:12px!important;border-radius:50%!important}
#ready-template-gallery .design-card-copy{padding:14px 16px 16px!important;min-height:88px!important}
#ready-template-gallery .design-card-copy strong{font-size:16px!important;line-height:1.25!important}
#ready-template-gallery .design-card-copy small{font-size:12px!important;line-height:1.35!important;margin-top:4px!important}
.template-action-row strong{font-size:16px!important}.template-action-row span{font-size:13px!important}.template-action-row .btn{font-size:14px!important;min-height:48px!important}

.modern-photo-panel{padding:22px!important}.modern-photo-heading{margin-bottom:18px!important}.modern-photo-heading h3{font-size:20px!important}.modern-photo-heading p{font-size:13px!important;line-height:1.45!important}.photo-recommended{font-size:10px!important}
@media(min-width:1001px){.premium-builder-form .photo-panel.modern-photo-panel .modern-photo-grid{grid-template-columns:minmax(300px,1.35fr) 190px 190px minmax(285px,1.05fr)!important;gap:16px!important}}
.photo-drop-zone{min-height:235px!important}.photo-drop-zone strong{font-size:15px!important}.photo-drop-zone span{font-size:13px!important}.photo-drop-zone small{font-size:10px!important}.photo-choose-btn{font-size:14px!important;min-height:44px!important;padding:0 20px!important}
.modern-photo-panel .photo-preview-wrap{width:165px!important;height:210px!important}.modern-photo-preview-card .photo-auto-status{font-size:11px!important}.photo-tool{min-height:46px!important;font-size:13px!important}.photo-shape-area h4{font-size:14px!important}.modern-photo-panel .photo-style-option{font-size:10px!important;min-height:100px!important}.photo-tips{font-size:11px!important;line-height:1.45!important}.photo-tips strong{font-size:13px!important}

.approved-section-head h3{font-size:18px!important}.approved-section-head p{font-size:12px!important;line-height:1.45!important}.approved-step{font-size:14px!important}.premium-input-copy label,.approved-field-title{font-size:11px!important}.premium-input-copy input,.premium-input-copy select{font-size:14px!important}.approved-field-card textarea{font-size:14px!important}.approved-add-btn{font-size:12px!important}

@media(max-width:1100px){.premium-builder-shell.compact-builder-page{width:min(960px,calc(100% - 28px))!important}#ready-template-gallery .design-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.premium-builder-form .photo-panel.modern-photo-panel .modern-photo-grid{grid-template-columns:1fr 190px 190px!important}.premium-builder-form .photo-panel.modern-photo-panel .photo-shape-area{grid-column:1/-1!important}}
@media(max-width:650px){.premium-builder-shell.compact-builder-page{width:calc(100% - 18px)!important}.premium-builder-form{padding:12px!important}#ready-template-gallery .design-cards{grid-template-columns:1fr!important}#ready-template-gallery .design-thumb{height:270px!important;flex-basis:270px!important}.premium-builder-form .photo-panel.modern-photo-panel .modern-photo-grid{grid-template-columns:1fr!important}}

/* v1.9.72 — HOMEPAGE TYPOGRAPHY PARITY
   User-approved rule: Builder typography follows the same readable hierarchy as
   homepage sections below the hero. No functional/template/PDF rules changed. */
.premium-builder-shell.compact-builder-page,
.premium-builder-form{font-size:16px!important;line-height:1.5!important}

/* Major builder section headings = homepage section-heading scale. */
.premium-builder-form :is(.section-mini-head h2,.guided-section>h2,.guided-section>h3,.approved-section-head h3,.modern-photo-heading h3,.builder-submit-panel h3){
  font-size:clamp(28px,2.7vw,38px)!important;line-height:1.12!important;letter-spacing:-.025em!important
}

/* Intro / explanatory copy = homepage readable copy. */
.premium-builder-form :is(.section-mini-head p,.approved-section-head p,.modern-photo-heading p,.builder-submit-panel p){
  font-size:17px!important;line-height:1.55!important
}

/* Field/card titles = homepage card-title hierarchy. */
.premium-builder-form :is(.premium-input-copy label,.approved-field-title,.photo-shape-area h4,.photo-tips strong,.template-action-row strong){
  font-size:18px!important;line-height:1.3!important
}

/* Inputs and primary readable UI copy. */
.premium-builder-form :is(input,select,textarea,button),
.premium-builder-form :is(.photo-drop-zone strong,.photo-drop-zone span,.photo-tool,.template-action-row span,.language-select-wrap label,.proficiency-wrap>span){
  font-size:15px!important;line-height:1.4!important
}
.premium-builder-form :is(input,select){min-height:46px!important}
.premium-builder-form textarea{line-height:1.5!important}

/* Helper text: never microscopic. */
.premium-builder-form :is(small,.photo-drop-zone small,.photo-auto-status,.photo-tips,.design-card-copy small,.locked-badge,.photo-recommended,.optional-pill,.proficiency-option,.approved-add-btn,.modern-photo-panel .photo-style-option){
  font-size:13px!important;line-height:1.4!important
}

/* Template cards mirror homepage card-title readability. */
#ready-template-gallery .design-card-copy strong{font-size:18px!important;line-height:1.3!important}
#ready-template-gallery .design-card-copy small{font-size:13px!important;line-height:1.45!important}
#ready-template-gallery .design-card-number{font-size:13px!important}

/* Language controls must remain legible while keeping five levels usable. */
.language-select-wrap select{font-size:15px!important;min-height:46px!important}
.proficiency-option{font-size:13px!important;min-height:42px!important;padding:6px 5px!important;white-space:normal!important;line-height:1.15!important}
.language-remove{min-height:42px!important}
.approved-add-btn{min-height:42px!important;padding:8px 12px!important}

/* Photo workspace parity. */
.photo-choose-btn{font-size:15px!important;min-height:46px!important}
.photo-tool{font-size:14px!important;min-height:46px!important}
.modern-photo-panel .photo-style-option{font-size:13px!important}

@media(max-width:650px){
  .premium-builder-form :is(.section-mini-head h2,.guided-section>h2,.guided-section>h3,.approved-section-head h3,.modern-photo-heading h3,.builder-submit-panel h3){font-size:28px!important}
  .premium-builder-form :is(.section-mini-head p,.approved-section-head p,.modern-photo-heading p,.builder-submit-panel p){font-size:16px!important}
  .premium-builder-form :is(.premium-input-copy label,.approved-field-title,.photo-shape-area h4,.photo-tips strong,.template-action-row strong){font-size:17px!important}
}

/* v1.9.73 — HOMEPAGE CATEGORY TYPOGRAPHY MODEL (TARGETED)
   Exact user-approved model: homepage .category-card h3 / p.
   Scope is intentionally limited to the five named Builder section headers. */
#ready-template-gallery .section-mini-head h2,
.modern-photo-panel .modern-photo-heading h3,
.approved-section-head .approved-head-copy h3,
#experience-section > h3{
  margin:1px 0 8px!important;
  font-size:18px!important;
  line-height:1.3!important;
  letter-spacing:normal!important;
  font-weight:700!important;
  color:var(--ink)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#ready-template-gallery .section-mini-head p,
.modern-photo-panel .modern-photo-heading p,
.approved-section-head .approved-head-copy p,
#experience-section > p{
  margin:0!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:400!important;
  color:var(--muted)!important;
  letter-spacing:normal!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
/* Keep the same model on mobile; do not enlarge these five headings. */
@media(max-width:650px){
  #ready-template-gallery .section-mini-head h2,
  .modern-photo-panel .modern-photo-heading h3,
  .approved-section-head .approved-head-copy h3,
  #experience-section > h3{font-size:18px!important;line-height:1.3!important}
  #ready-template-gallery .section-mini-head p,
  .modern-photo-panel .modern-photo-heading p,
  .approved-section-head .approved-head-copy p,
  #experience-section > p{font-size:13px!important;line-height:1.55!important}
}

/* v1.9.74 — BUILDER-WIDE HOMEPAGE TYPOGRAPHY SYSTEM
   User-approved source of truth: homepage category cards.
   Visual-only normalization. No layout, data, template-render or PDF behavior. */
.premium-builder-shell.compact-builder-page,
.premium-builder-form,
.premium-builder-form button,
.premium-builder-form input,
.premium-builder-form select,
.premium-builder-form textarea,
.ready-selector-bar,
#ready-template-gallery{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  color:var(--ink)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Homepage category-title model: 18px / 700 / ink. */
.ready-selector-copy strong,
.inline-selector>span,
#ready-template-gallery .section-mini-head h2,
#ready-template-gallery .design-card-copy strong,
.template-action-row strong,
.modern-photo-panel .modern-photo-heading h3,
.photo-shape-area h4,
.photo-tips strong,
.approved-section-head .approved-head-copy h3,
.approved-card-copy strong,
.approved-field-title,
.premium-input-copy label,
.language-select-wrap label,
.proficiency-wrap>span,
#experience-section>h3,
#experience-section label>span,
.builder-submit-panel h3{
  font-family:inherit!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:normal!important;
  color:var(--ink)!important;
}

/* Homepage category-description model: 13px / 400 / muted. */
.ready-selector-copy .eyebrow,
#ready-template-gallery .section-mini-head p,
#ready-template-gallery .design-card-copy small,
.template-action-row span,
.modern-photo-panel .modern-photo-heading p,
.photo-drop-zone span,
.photo-drop-zone small,
.modern-photo-preview-card .photo-auto-status,
.photo-tips,
.approved-section-head .approved-head-copy p,
.approved-card-copy>span,
#experience-section>p,
.builder-submit-panel p,
.premium-builder-form small{
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:400!important;
  letter-spacing:normal!important;
  color:var(--muted)!important;
}

/* Form/control copy follows the same homepage readable copy scale. */
.premium-builder-form input,
.premium-builder-form select,
.premium-builder-form textarea,
.inline-selector select,
.language-select-wrap select{
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:400!important;
  color:var(--ink)!important;
}
.premium-builder-form input::placeholder,
.premium-builder-form textarea::placeholder{color:var(--muted)!important;opacity:1!important}

/* Action text: consistent family, readable homepage scale, controlled emphasis. */
.premium-builder-form button,
.photo-choose-btn,
.photo-tool,
.approved-add-btn,
.template-action-row .btn{
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:normal!important;
}

/* Compact status UI may stay compact, but never use a different font language. */
.premium-builder-form :is(.eyebrow,.step-chip,.approved-step,.optional-pill,.locked-badge,.photo-recommended,.design-card-number,.proficiency-option,.modern-photo-panel .photo-style-option){
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:normal!important;
}
.proficiency-option{color:var(--ink)!important}

/* Prevent older responsive rules from changing the approved hierarchy. */
@media(max-width:650px){
  .ready-selector-copy strong,
  .inline-selector>span,
  #ready-template-gallery .section-mini-head h2,
  #ready-template-gallery .design-card-copy strong,
  .template-action-row strong,
  .modern-photo-panel .modern-photo-heading h3,
  .photo-shape-area h4,
  .photo-tips strong,
  .approved-section-head .approved-head-copy h3,
  .approved-card-copy strong,
  .approved-field-title,
  .premium-input-copy label,
  .language-select-wrap label,
  .proficiency-wrap>span,
  #experience-section>h3,
  #experience-section label>span,
  .builder-submit-panel h3{font-size:18px!important;line-height:1.3!important}
}


/* v1.9.75 — targeted language proficiency + true circle photo fix */
.proficiency-option{font-size:13px!important;font-weight:500!important;color:#687387!important;min-height:42px!important;background:#fff!important;box-shadow:none!important;border:1px solid #dce4ee!important;cursor:pointer!important}
.proficiency-option.beginner,.proficiency-option.fluent,.proficiency-option.native{color:#687387!important}
.proficiency-option:has(input:checked){color:#0b6e69!important;font-weight:600!important;background:#eef8f7!important;border-color:#75c9c1!important;box-shadow:0 0 0 2px rgba(11,110,105,.06)!important}
.proficiency-option input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.modern-photo-panel .photo-preview-wrap.photo-frame-circle{width:165px!important;height:165px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:hidden!important}
.modern-photo-panel .photo-preview-wrap.photo-frame-circle img.photo-circle{width:100%!important;height:100%!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
@media(max-width:1280px){.modern-photo-panel .photo-preview-wrap.photo-frame-circle{width:145px!important;height:145px!important}}

/* v1.9.76 — searchable CV Standard + Profession comboboxes */
.hcv-search-combobox{position:relative;width:100%;min-width:0}
.hcv-native-select{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.hcv-search-input{width:100%!important;min-height:48px!important;padding:0 42px 0 14px!important;border:1px solid #d9e2ec!important;border-radius:10px!important;background:#fff!important;color:var(--ink)!important;font:inherit!important;font-size:15px!important;font-weight:400!important;outline:none!important;box-sizing:border-box!important}
.hcv-search-input:focus{border-color:#27aaa2!important;box-shadow:0 0 0 3px rgba(39,170,162,.12)!important}
.hcv-search-combobox:after{content:'⌄';position:absolute;right:14px;top:12px;color:#607087;font-size:18px;pointer-events:none}
.hcv-search-list{position:absolute;z-index:1200;left:0;right:0;top:calc(100% + 6px);max-height:360px;overflow:auto;background:#fff;border:1px solid #d9e2ec;border-radius:12px;box-shadow:0 18px 42px rgba(15,35,55,.16);padding:6px}
.hcv-search-option{display:block;width:100%;padding:10px 12px;border:0;border-radius:8px;background:#fff;color:#243247;text-align:left;font-family:inherit;font-size:14px;font-weight:400;line-height:1.35;cursor:pointer}
.hcv-search-option:hover,.hcv-search-option.is-active{background:#eef8f7;color:#086f69}
.hcv-search-option.is-selected{font-weight:600;color:#086f69}
.hcv-search-empty{padding:12px;color:#718096;font-size:13px}
@media(max-width:650px){.hcv-search-input{font-size:16px!important}.hcv-search-list{max-height:300px}.hcv-search-option{font-size:15px}}

/* v1.9.78 — premium Experience row + correctly anchored FROM/TO labels */
#experience-section.compact-experience-section{
  padding:26px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfd 100%)!important;
  border:1px solid #d8e4ec!important;
  box-shadow:0 16px 38px rgba(4,20,35,.07)!important;
}
#experience-list{row-gap:12px!important;margin-top:14px!important}
#experience-list .experience-row{
  grid-template-columns:40px minmax(135px,1.15fr) minmax(125px,1fr) minmax(125px,1fr) minmax(120px,.95fr) minmax(120px,.9fr) minmax(150px,.95fr) minmax(220px,1.25fr) auto!important;
  gap:10px!important;
  align-items:end!important;
  min-height:82px!important;
  padding:12px!important;
  border:1px solid #d8e5ed!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:0 9px 24px rgba(7,28,45,.055)!important;
}
#experience-list .experience-index{
  width:36px!important;height:36px!important;border-radius:11px!important;
  align-self:center!important;background:#e9f7f5!important;color:#08726b!important;
  font-size:12px!important;font-weight:800!important;
}
#experience-list .experience-row>input{
  height:50px!important;padding:0 14px!important;border:1px solid #d5e2eb!important;
  border-radius:13px!important;background:#fff!important;font-size:14px!important;
  font-weight:400!important;color:var(--ink)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
#experience-list .experience-row>input:focus{
  border-color:#35aea5!important;box-shadow:0 0 0 4px rgba(20,163,150,.09)!important;
}
#experience-list .date-field{
  height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;border-radius:0!important;
  box-shadow:none!important;align-self:end!important;
}
#experience-list label.date-field{
  display:grid!important;grid-template-rows:auto 50px!important;gap:6px!important;
}
#experience-list .to-date-field{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto 50px!important;gap:6px 8px!important;align-items:center!important;
}
#experience-list .date-field>span{
  display:block!important;grid-column:1/-1!important;grid-row:1!important;
  padding:0 2px!important;font-size:12px!important;line-height:1.2!important;
  font-weight:600!important;letter-spacing:.02em!important;text-transform:uppercase!important;
  color:#687387!important;
}
#experience-list .date-field input[type=month]{
  grid-row:2!important;grid-column:1!important;width:100%!important;height:50px!important;
  min-width:0!important;margin:0!important;padding:0 10px!important;border:1px solid #d5e2eb!important;
  border-radius:13px!important;background:#fff!important;font-size:13px!important;font-weight:500!important;
  color:#25354b!important;box-sizing:border-box!important;
}
#experience-list .date-field input[type=month]:focus{
  outline:0!important;border-color:#35aea5!important;box-shadow:0 0 0 4px rgba(20,163,150,.09)!important;
}
#experience-list .current-job-toggle{
  grid-row:2!important;grid-column:2!important;display:flex!important;align-items:center!important;
  gap:6px!important;height:50px!important;margin:0!important;padding:0 8px!important;
  white-space:nowrap!important;border:0!important;background:transparent!important;
  color:#355065!important;font-size:12px!important;font-weight:600!important;
}
#experience-list .current-job-toggle input{
  width:18px!important;height:18px!important;margin:0!important;accent-color:#0b8f86!important;
}
#experience-list .experience-remove{height:44px!important;align-self:end!important;margin:0 0 3px!important}
#experience-section .experience-actions{margin-top:12px!important}
#experience-section .experience-add-btn{
  min-height:46px!important;padding:0 18px!important;border-radius:13px!important;
  font-size:14px!important;font-weight:700!important;
  box-shadow:0 10px 22px rgba(11,110,105,.18)!important;
}
@media(max-width:1350px) and (min-width:901px){
  #experience-list .experience-row{grid-template-columns:40px repeat(3,minmax(0,1fr))!important;align-items:end!important}
  #experience-list .experience-index{align-self:center!important}
  #experience-list .date-field,#experience-list .experience-remove{min-width:0!important}
}
@media(max-width:900px){
  #experience-section.compact-experience-section{padding:18px!important}
  #experience-list .experience-row{grid-template-columns:38px minmax(0,1fr)!important;padding:12px!important}
  #experience-list .experience-row>*:not(.experience-index){grid-column:2!important}
  #experience-list .to-date-field{grid-template-columns:minmax(0,1fr) auto!important}
  #experience-list .experience-remove{justify-self:start!important}
}

/* v1.9.79 — premium ready selectors + true 14px save-panel/footer clearance */
#ready-workspace.selector-panel{
  padding:20px 22px!important;
  border:1px solid #d8e5ed!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#ffffff 0%,#fbfefe 55%,#f2fbfa 100%)!important;
  box-shadow:0 14px 36px rgba(7,30,48,.075)!important;
  overflow:visible!important;
}
#ready-workspace .ready-selector-line{
  display:grid!important;
  grid-template-columns:minmax(230px,.7fr) minmax(300px,.9fr) minmax(430px,1.35fr)!important;
  gap:18px!important;
  align-items:end!important;
}
#ready-workspace .ready-selector-copy{
  min-width:0!important;
  align-self:center!important;
  padding:4px 6px!important;
}
#ready-workspace .ready-selector-copy .eyebrow{
  display:inline-flex!important;width:max-content!important;
  margin-bottom:6px!important;padding:5px 9px!important;border-radius:999px!important;
  background:#e8f7f5!important;color:#0b756f!important;
  font-size:11px!important;font-weight:700!important;line-height:1!important;letter-spacing:.06em!important;
}
#ready-workspace .ready-selector-copy strong{
  display:block!important;font-size:20px!important;line-height:1.25!important;font-weight:700!important;color:#0b1526!important;
}
#ready-workspace .inline-selector{
  display:grid!important;grid-template-columns:1fr!important;gap:7px!important;align-items:stretch!important;
  padding:12px 14px 14px!important;border:1px solid #dce6ed!important;border-radius:16px!important;
  background:rgba(255,255,255,.94)!important;box-shadow:0 7px 20px rgba(7,30,48,.045)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
#ready-workspace .inline-selector:focus-within{
  border-color:#7ccfc7!important;box-shadow:0 0 0 4px rgba(20,163,150,.08),0 12px 26px rgba(7,30,48,.07)!important;
  transform:translateY(-1px)!important;
}
#ready-workspace .inline-selector>span{
  font-size:13px!important;line-height:1.3!important;font-weight:600!important;color:#53657a!important;white-space:normal!important;
}
#ready-workspace .hcv-search-input{
  min-height:50px!important;border:1px solid #d6e2ea!important;border-radius:12px!important;
  background:#fbfdff!important;color:#17243a!important;font-size:15px!important;font-weight:400!important;
  padding:0 42px 0 14px!important;box-shadow:inset 0 1px 2px rgba(7,30,48,.025)!important;
}
#ready-workspace .hcv-search-input:focus{background:#fff!important;border-color:#28aaa2!important;box-shadow:0 0 0 3px rgba(40,170,162,.11)!important}
#ready-workspace .hcv-search-combobox:after{right:14px!important;top:13px!important;color:#0b756f!important;font-size:18px!important}
#ready-workspace .hcv-search-list{top:calc(100% + 8px)!important;border-radius:14px!important;border-color:#d7e4eb!important;box-shadow:0 20px 46px rgba(7,30,48,.16)!important}

/* The save panel is the final builder surface. No internal shell/form whitespace after it;
   global.css supplies the exact 14px clearance before the real footer. */
.compact-builder-page{padding-bottom:0!important;margin-bottom:0!important}
.compact-builder-page .premium-builder-form{padding-bottom:0!important;margin-bottom:0!important}
.compact-builder-page #save-panel.builder-submit-panel{margin-bottom:0!important}
@media(min-width:901px){.compact-builder-page #save-panel.builder-submit-panel{margin-bottom:0!important}}
@media(max-width:1050px){
  #ready-workspace .ready-selector-line{grid-template-columns:1fr 1fr!important}
  #ready-workspace .ready-selector-copy{grid-column:1/-1!important}
}
@media(max-width:700px){
  #ready-workspace.selector-panel{padding:16px!important;border-radius:18px!important}
  #ready-workspace .ready-selector-line{grid-template-columns:1fr!important;gap:12px!important}
  #ready-workspace .ready-selector-copy{grid-column:auto!important}
  #ready-workspace .ready-selector-copy strong{font-size:18px!important}
}
/* v1.9.80 Full Custom: user-authored content + optional skill library */
[data-build-mode="custom"] .custom-authored-card textarea{min-height:112px;width:100%;border:1px solid #d7e2ec;border-radius:14px;padding:14px 15px;background:#fff;color:#0f172a;font:inherit;line-height:1.55;resize:vertical}
[data-build-mode="custom"] .custom-authored-card textarea:focus,[data-build-mode="custom"] #custom-skill-search:focus{outline:0;border-color:#14b8a6;box-shadow:0 0 0 4px rgba(20,184,166,.10)}
.custom-skill-library{margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.custom-skill-library-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.custom-skill-library-head strong{font-size:13px;color:#0f172a}.custom-skill-library-head span{font-size:12px;color:#64748b}.custom-skill-library input{width:100%;height:42px;border:1px solid #d7e2ec;border-radius:12px;padding:0 13px;background:#fff;color:#0f172a;font:inherit}.custom-skill-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;max-height:150px;overflow:auto}.custom-skill-chip{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:999px;padding:7px 10px;font:500 12px/1.2 inherit;cursor:pointer}.custom-skill-chip:hover{border-color:#14b8a6;background:#f0fdfa;color:#0f766e}.custom-skill-chip.is-added{opacity:.55;cursor:default}.skill-library-empty{font-size:12px;color:#64748b;padding:6px 2px}
/* v1.9.80 Full Custom — manual content + optional skill suggestions */
[data-build-mode="custom"] .custom-authored-card textarea{min-height:112px;width:100%;border:1px solid #d7e2ec;border-radius:14px;padding:14px 15px;background:#fff;color:#0f172a;font:inherit;line-height:1.55;resize:vertical}[data-build-mode="custom"] .custom-authored-card textarea:focus,[data-build-mode="custom"] #custom-skill-search:focus{outline:0;border-color:#14b8a6;box-shadow:0 0 0 4px rgba(20,184,166,.10)}.custom-skill-library{margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.custom-skill-library-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.custom-skill-library-head strong{font-size:13px;color:#0f172a}.custom-skill-library-head span{font-size:12px;color:#64748b}.custom-skill-library input{width:100%;height:42px;border:1px solid #d7e2ec;border-radius:12px;padding:0 13px;background:#fff;color:#0f172a;font:inherit}.custom-skill-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;max-height:150px;overflow:auto}.custom-skill-chip{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:999px;padding:7px 10px;font:500 12px/1.2 inherit;cursor:pointer}.custom-skill-chip:hover{border-color:#14b8a6;background:#f0fdfa;color:#0f766e}.custom-skill-chip.is-added{opacity:.55;cursor:default}.skill-library-empty{font-size:12px;color:#64748b;padding:6px 2px}

/* v1.9.83 Full Custom required authoring */
.required-star{color:#dc2626;font-style:normal;font-weight:800;margin-left:3px}.required-pill{display:inline-flex;align-items:center;border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700}.required-custom-card{border-color:#e2e8f0}.required-custom-card:focus-within{border-color:#99f6e4;box-shadow:0 0 0 3px rgba(20,184,166,.08)}

/* v1.9.84 — Full Custom Builder V2: compact premium application UI */
[data-build-mode="custom"] .approved-qualification-section{
  padding:22px!important;border:1px solid #dbe7ee!important;border-radius:22px!important;
  background:linear-gradient(145deg,#fff 0%,#fbfefe 58%,#f5fbfb 100%)!important;
  box-shadow:0 16px 38px rgba(15,42,61,.065)!important;
}
[data-build-mode="custom"] .approved-qualification-section .approved-section-head{
  margin-bottom:16px!important;padding-bottom:14px!important;border-bottom:1px solid #e5edf2!important;
}
[data-build-mode="custom"] .approved-qualification-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-areas:"summary skills" "education certification" "language language" "duties duties" "work accountability" "declaration declaration"!important;
  gap:12px!important;align-items:start!important;
}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(1){grid-area:summary}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(2){grid-area:skills}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(3){grid-area:education}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(4){grid-area:certification}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(5){grid-area:language}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6){grid-area:duties}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(7){grid-area:work}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(8){grid-area:accountability}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(9){grid-area:declaration}
[data-build-mode="custom"] .approved-field-card{
  min-height:0!important;height:auto!important;padding:14px!important;border:1px solid #dce7ed!important;border-left:1px solid #dce7ed!important;
  border-radius:16px!important;background:#fff!important;box-shadow:0 7px 20px rgba(17,50,70,.045)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;overflow:hidden!important;
}
[data-build-mode="custom"] .approved-field-card:hover{border-color:#c5d9e1!important;box-shadow:0 11px 26px rgba(17,50,70,.07)!important}
[data-build-mode="custom"] .approved-field-card:focus-within{border-color:#72cfc7!important;box-shadow:0 0 0 3px rgba(13,148,136,.07),0 12px 28px rgba(17,50,70,.07)!important}
[data-build-mode="custom"] .approved-card-head{display:flex!important;align-items:center!important;gap:9px!important;min-height:32px!important;margin:0 0 10px!important}
[data-build-mode="custom"] .approved-card-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:9px!important;background:#eaf8f6!important;color:#087c75!important;font-size:14px!important}
[data-build-mode="custom"] .approved-card-copy{min-width:0!important;flex:1!important}
[data-build-mode="custom"] .approved-card-copy strong{font-size:14px!important;line-height:1.25!important;font-weight:700!important;color:#102033!important}
[data-build-mode="custom"] .approved-card-copy span{display:block!important;margin-top:2px!important;font-size:11px!important;line-height:1.35!important;font-weight:400!important;color:#718196!important}
[data-build-mode="custom"] .optional-pill,[data-build-mode="custom"] .required-pill{
  flex:0 0 auto!important;padding:4px 8px!important;border-radius:999px!important;font-size:9px!important;line-height:1!important;font-weight:700!important;letter-spacing:.02em!important;text-transform:uppercase!important;
}
[data-build-mode="custom"] .optional-pill{background:#f1f5f9!important;color:#64748b!important;border:1px solid #e2e8f0!important}
[data-build-mode="custom"] .required-pill{background:#fff5f5!important;color:#c24141!important;border:1px solid #fecaca!important}
[data-build-mode="custom"] .approved-field-card textarea,[data-build-mode="custom"] .custom-authored-card textarea{
  min-height:68px!important;height:auto!important;padding:11px 12px!important;border:1px solid #d9e4ea!important;border-radius:11px!important;
  background:#fbfdfe!important;color:#17243a!important;font-size:13px!important;line-height:1.5!important;box-shadow:inset 0 1px 2px rgba(15,42,61,.02)!important;
}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6) textarea{min-height:82px!important}
[data-build-mode="custom"] .approved-field-card textarea:focus{background:#fff!important;border-color:#24aaa0!important;box-shadow:0 0 0 3px rgba(36,170,160,.09)!important;outline:0!important}
[data-build-mode="custom"] .repeatable-field-group{display:grid!important;gap:8px!important}
[data-build-mode="custom"] .approved-add-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;margin-top:8px!important;padding:7px 11px!important;
  border:1px solid #b8dedb!important;border-radius:9px!important;background:#f1fbfa!important;color:#087b75!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important;
}
[data-build-mode="custom"] .approved-add-btn:hover{background:#e5f8f6!important;border-color:#76c9c2!important;transform:none!important}
[data-build-mode="custom"] .custom-skill-library{margin-top:10px!important;padding-top:10px!important;border-top:1px solid #e8eef2!important}
[data-build-mode="custom"] .custom-skill-library-head{margin-bottom:7px!important}.custom-skill-library-head strong{font-size:11px!important}.custom-skill-library-head span{font-size:10px!important}
[data-build-mode="custom"] #custom-skill-search{height:36px!important;border-radius:9px!important;font-size:12px!important;background:#fbfdfe!important}
[data-build-mode="custom"] .custom-skill-suggestions{gap:6px!important;margin-top:8px!important;max-height:112px!important;padding-right:3px!important}
[data-build-mode="custom"] .custom-skill-chip{padding:6px 9px!important;font-size:10.5px!important;background:#f7fafc!important;border-color:#d8e3e9!important}
[data-build-mode="custom"] .approved-field-card.languages{border:1px solid #dce7ed!important;background:#fff!important}
[data-build-mode="custom"] .language-builder{gap:8px!important}
[data-build-mode="custom"] .language-entry{display:grid!important;grid-template-columns:minmax(190px,.7fr) minmax(420px,1.6fr) 34px!important;gap:10px!important;align-items:end!important;padding:10px!important;border:1px solid #e1e9ee!important;border-radius:12px!important;background:#f9fcfd!important}
[data-build-mode="custom"] .language-select-wrap label,[data-build-mode="custom"] .proficiency-wrap>span{font-size:10px!important;font-weight:600!important;color:#65768a!important}
[data-build-mode="custom"] .language-select-wrap select{height:38px!important;border:1px solid #d8e4ea!important;border-radius:9px!important;background:#fff!important;font-size:12px!important;color:#26364a!important}
[data-build-mode="custom"] .proficiency-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important}
[data-build-mode="custom"] .proficiency-option{min-height:38px!important;padding:0 7px!important;border:1px solid #dce5ea!important;border-radius:9px!important;background:#fff!important;color:#637287!important;font-size:10px!important;font-weight:500!important;box-shadow:none!important}
[data-build-mode="custom"] .proficiency-option:has(input:checked){border-color:#24aaa0!important;background:#eaf9f7!important;color:#087b75!important;font-weight:700!important}
[data-build-mode="custom"] .language-remove{height:38px!important;width:34px!important;border-radius:9px!important}
[data-build-mode="custom"] .required-star{color:#e5484d!important;font-size:.95em!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(9) textarea{min-height:60px!important}
@media(max-width:980px){
 [data-build-mode="custom"] .approved-qualification-grid{grid-template-columns:1fr!important;grid-template-areas:"summary" "skills" "education" "certification" "language" "duties" "work" "accountability" "declaration"!important}
 [data-build-mode="custom"] .language-entry{grid-template-columns:1fr!important}.language-remove{width:100%!important}
}
@media(max-width:620px){
 [data-build-mode="custom"] .approved-qualification-section{padding:14px!important;border-radius:17px!important}
 [data-build-mode="custom"] .approved-qualification-grid{gap:9px!important}
 [data-build-mode="custom"] .approved-field-card{padding:11px!important;border-radius:13px!important}
 [data-build-mode="custom"] .proficiency-options{grid-template-columns:repeat(2,1fr)!important}
}

/* v1.9.85 — approved graphic-card master design for Full Custom */
[data-build-mode="custom"] .approved-identity-section,
[data-build-mode="custom"] .approved-qualification-section{position:relative;isolation:isolate;overflow:hidden}
[data-build-mode="custom"] .approved-identity-section{background:linear-gradient(135deg,#f7fcff 0%,#eaf7ff 55%,#f7fbff 100%)!important;border-color:#cfe5f6!important}
[data-build-mode="custom"] .approved-identity-section:before{content:"";position:absolute;z-index:-1;right:-45px;top:-75px;width:260px;height:210px;border-radius:48% 52% 58% 42%;background:radial-gradient(circle at 35% 40%,rgba(14,165,233,.18),transparent 58%),linear-gradient(135deg,rgba(37,99,235,.08),rgba(6,182,212,.04));transform:rotate(-9deg)}
[data-build-mode="custom"] .approved-identity-section:after{content:"";position:absolute;z-index:-1;right:34px;top:24px;width:105px;height:70px;border:1px solid rgba(37,99,235,.12);border-radius:20px;transform:rotate(7deg);background:linear-gradient(135deg,rgba(255,255,255,.7),rgba(191,219,254,.28));box-shadow:0 14px 35px rgba(37,99,235,.08)}
[data-build-mode="custom"] .approved-identity-section .approved-step,[data-build-mode="custom"] .approved-identity-section .approved-head-icon{background:linear-gradient(135deg,#0284c7,#2563eb)!important;color:#fff!important;box-shadow:0 8px 18px rgba(37,99,235,.18)!important}
[data-build-mode="custom"] .approved-identity-section .premium-input-shell{background:rgba(255,255,255,.82)!important;border-color:#d6e7f3!important;box-shadow:0 6px 16px rgba(30,64,175,.035)!important;backdrop-filter:blur(5px)}
[data-build-mode="custom"] .approved-identity-section .premium-input-shell:focus-within{border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(59,130,246,.08),0 10px 22px rgba(37,99,235,.06)!important}

[data-build-mode="custom"] .approved-qualification-section{background:linear-gradient(145deg,#fff 0%,#fbf8ff 48%,#f7fbff 100%)!important}
[data-build-mode="custom"] .approved-qualification-section:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 93% 3%,rgba(168,85,247,.09),transparent 20%),radial-gradient(circle at 2% 96%,rgba(14,165,233,.07),transparent 23%);pointer-events:none}
[data-build-mode="custom"] .approved-field-card{position:relative;isolation:isolate;background:#fff!important}
[data-build-mode="custom"] .approved-field-card:after{content:"";position:absolute;z-index:-1;right:-22px;bottom:-30px;width:110px;height:95px;border-radius:50%;opacity:.65;pointer-events:none;transition:transform .22s ease,opacity .22s ease}
[data-build-mode="custom"] .approved-field-card:hover{transform:translateY(-2px)!important}
[data-build-mode="custom"] .approved-field-card:hover:after{transform:scale(1.08);opacity:.85}
/* Summary — violet */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(1){background:linear-gradient(135deg,#fff 58%,#f3e8ff 100%)!important;border-color:#e9d5ff!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(1):after{background:radial-gradient(circle,rgba(147,51,234,.15),transparent 67%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(1) .approved-card-icon{background:linear-gradient(135deg,#a855f7,#7c3aed)!important;color:#fff!important}
/* Skills — warm gold */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(2){background:linear-gradient(135deg,#fff 58%,#fff3dc 100%)!important;border-color:#fde3b2!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(2):after{background:radial-gradient(circle,rgba(245,158,11,.18),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(2) .approved-card-icon{background:linear-gradient(135deg,#fb923c,#f59e0b)!important;color:#fff!important}
/* Education — mint */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(3){background:linear-gradient(135deg,#fff 55%,#dcfce7 100%)!important;border-color:#bbf7d0!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(3):after{background:radial-gradient(circle,rgba(16,185,129,.18),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(3) .approved-card-icon{background:linear-gradient(135deg,#10b981,#0d9488)!important;color:#fff!important}
/* Certification — rose */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(4){background:linear-gradient(135deg,#fff 55%,#ffe4e6 100%)!important;border-color:#fecdd3!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(4):after{background:radial-gradient(circle,rgba(244,63,94,.15),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(4) .approved-card-icon{background:linear-gradient(135deg,#fb7185,#e11d48)!important;color:#fff!important}
/* Languages — blue */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(5){background:linear-gradient(135deg,#fff 62%,#dbeafe 100%)!important;border-color:#bfdbfe!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(5):after{background:radial-gradient(circle,rgba(59,130,246,.16),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(5) .approved-card-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)!important;color:#fff!important}
/* Duties — amber */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6){background:linear-gradient(135deg,#fff 64%,#ffedd5 100%)!important;border-color:#fed7aa!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6):after{background:radial-gradient(circle,rgba(249,115,22,.16),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6) .approved-card-icon{background:linear-gradient(135deg,#fb923c,#f97316)!important;color:#fff!important}
/* Work — coral */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(7){background:linear-gradient(135deg,#fff 58%,#ffe4e6 100%)!important;border-color:#fecdd3!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(7):after{background:radial-gradient(circle,rgba(239,68,68,.16),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(7) .approved-card-icon{background:linear-gradient(135deg,#fb7185,#ef4444)!important;color:#fff!important}
/* Accountability — pink */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(8){background:linear-gradient(135deg,#fff 58%,#fce7f3 100%)!important;border-color:#fbcfe8!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(8):after{background:radial-gradient(circle,rgba(236,72,153,.16),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(8) .approved-card-icon{background:linear-gradient(135deg,#f472b6,#db2777)!important;color:#fff!important}
/* Declaration — lavender */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(9){background:linear-gradient(135deg,#fff 65%,#ede9fe 100%)!important;border-color:#ddd6fe!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(9):after{background:radial-gradient(circle,rgba(124,58,237,.16),transparent 66%)}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(9) .approved-card-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed)!important;color:#fff!important}
/* compact editors + app-like micro interaction */
[data-build-mode="custom"] .approved-field-card textarea,[data-build-mode="custom"] .custom-authored-card textarea{min-height:56px!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6) textarea{min-height:68px!important}
[data-build-mode="custom"] .approved-field-card textarea:focus{transform:translateY(-1px)}
[data-build-mode="custom"] .approved-add-btn,[data-build-mode="custom"] .custom-skill-chip,[data-build-mode="custom"] .proficiency-option{transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease!important}
[data-build-mode="custom"] .approved-add-btn:hover,[data-build-mode="custom"] .custom-skill-chip:hover,[data-build-mode="custom"] .proficiency-option:hover{transform:translateY(-1px)!important}
@media(prefers-reduced-motion:reduce){[data-build-mode="custom"] .approved-field-card,[data-build-mode="custom"] .approved-field-card:after,[data-build-mode="custom"] .approved-add-btn,[data-build-mode="custom"] .custom-skill-chip,[data-build-mode="custom"] .proficiency-option{transition:none!important;transform:none!important}}

/* v1.9.87 — Full Custom physical geometry correction.
   Keeps v1.9.85 approved visual language; removes stretched grid rows and oversized editors. */
[data-build-mode="custom"] .approved-qualification-grid{
  grid-auto-rows:max-content!important;
  align-items:start!important;
  align-content:start!important;
}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card{
  align-self:start!important;
  min-height:0!important;
  height:max-content!important;
}
/* Compact default editors: no pre-reserved blank canvas. */
[data-build-mode="custom"] .approved-field-card textarea,
[data-build-mode="custom"] .custom-authored-card textarea{
  box-sizing:border-box!important;
  min-height:52px!important;
  height:52px!important;
  max-height:180px;
  padding:9px 11px!important;
  line-height:1.42!important;
  overflow-y:auto;
  resize:vertical!important;
}
/* Summary, skills and declaration use the same compact physical rhythm. */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(1) textarea,
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(2)>textarea,
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(9) textarea{
  min-height:52px!important;
  height:52px!important;
}
/* Duties needs only a little more writing room, matching the approved sample. */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6) textarea{
  min-height:62px!important;
  height:62px!important;
}
/* Repeatable work/accountability entries remain compact until the user adds/writes more. */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(7) textarea,
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(8) textarea{
  min-height:48px!important;
  height:48px!important;
}
/* Prevent the skill library from forcing its paired Summary card to become equally tall. */
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(1){align-self:start!important}
[data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(2){align-self:start!important}
[data-build-mode="custom"] .approved-card-head{margin-bottom:8px!important}
[data-build-mode="custom"] .custom-skill-library{margin-top:8px!important;padding-top:8px!important}
[data-build-mode="custom"] .custom-skill-suggestions{max-height:96px!important}
[data-build-mode="custom"] .approved-add-btn{margin-top:7px!important}
@media(max-width:620px){
 [data-build-mode="custom"] .approved-field-card textarea,
 [data-build-mode="custom"] .custom-authored-card textarea{min-height:50px!important;height:50px!important}
 [data-build-mode="custom"] .approved-qualification-grid>.approved-field-card:nth-child(6) textarea{min-height:58px!important;height:58px!important}
}

/* v1.9.88 — Approved premium treatment for Full Custom start + Step 4 Experience */
[data-build-mode="custom"] .custom-start-panel{
  position:relative!important;overflow:hidden!important;padding:24px 26px 26px!important;
  border:1px solid #b9e7e2!important;border-radius:22px!important;
  background:
    radial-gradient(circle at 92% 18%,rgba(34,211,238,.18),transparent 22%),
    radial-gradient(circle at 78% 110%,rgba(20,184,166,.12),transparent 30%),
    linear-gradient(135deg,#f8fffe 0%,#f5fbff 48%,#eefcf9 100%)!important;
  box-shadow:0 14px 34px rgba(8,61,78,.08)!important;
}
[data-build-mode="custom"] .custom-start-panel:before{
  content:"";position:absolute;right:34px;top:20px;width:122px;height:76px;opacity:.72;pointer-events:none;
  background:
    radial-gradient(circle at 18% 28%,#38bdf8 0 3px,transparent 4px),
    radial-gradient(circle at 42% 18%,#14b8a6 0 3px,transparent 4px),
    radial-gradient(circle at 67% 35%,#60a5fa 0 3px,transparent 4px),
    linear-gradient(145deg,rgba(255,255,255,.9),rgba(219,245,250,.78));
  border:1px solid rgba(59,130,246,.18);border-radius:18px;transform:rotate(5deg);box-shadow:0 10px 25px rgba(37,99,235,.09)
}
[data-build-mode="custom"] .custom-start-panel:after{
  content:"✦";position:absolute;right:78px;top:36px;font-size:34px;font-weight:900;color:#0ea5a4;opacity:.55;pointer-events:none
}
[data-build-mode="custom"] .custom-start-panel .step-chip{padding:7px 12px!important;background:linear-gradient(135deg,#e6fbf8,#edf8ff)!important;border:1px solid #cceeea!important;color:#087a76!important;box-shadow:0 5px 14px rgba(20,163,150,.08)}
[data-build-mode="custom"] .custom-start-panel h2{position:relative;z-index:1;margin:15px 0 6px!important;font-size:clamp(25px,2.5vw,34px)!important;letter-spacing:-.025em!important;color:#071b35!important}
[data-build-mode="custom"] .custom-start-panel>p{position:relative;z-index:1;margin:0 0 18px!important;color:#5d6d84!important;font-size:14px!important}
[data-build-mode="custom"] .custom-start-panel .compact-selectors{position:relative;z-index:2;gap:14px!important}
[data-build-mode="custom"] .custom-start-panel .compact-selectors label{display:grid!important;gap:7px!important;padding:12px 13px!important;border:1px solid rgba(186,214,227,.85)!important;border-radius:15px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 8px 22px rgba(15,54,75,.055)!important;backdrop-filter:blur(7px)}
[data-build-mode="custom"] .custom-start-panel .compact-selectors label>span{font-size:12px!important;font-weight:800!important;color:#17324e!important;letter-spacing:.01em}
[data-build-mode="custom"] .custom-start-panel .compact-selectors select{height:44px!important;margin:0!important;padding:9px 38px 9px 12px!important;border-radius:11px!important;background-color:#fbfdff!important;border-color:#d5e3ed!important;font-size:13px!important}
[data-build-mode="custom"] .custom-start-panel .compact-selectors select:focus{background:#fff!important;border-color:#2ab9ae!important;box-shadow:0 0 0 4px rgba(20,184,166,.10)!important}

[data-build-mode="custom"] .compact-experience-section{
  position:relative!important;overflow:hidden!important;padding:20px 22px 18px!important;border:1px solid #c9dff0!important;border-radius:22px!important;
  background:
    radial-gradient(circle at 96% 18%,rgba(59,130,246,.13),transparent 21%),
    radial-gradient(circle at 83% 105%,rgba(20,184,166,.12),transparent 26%),
    linear-gradient(135deg,#ffffff 0%,#f7fbff 54%,#f1fcfa 100%)!important;
  box-shadow:0 14px 34px rgba(8,42,74,.075)!important
}
[data-build-mode="custom"] .compact-experience-section:before{
  content:"▣";position:absolute;right:28px;top:18px;width:52px;height:52px;display:grid;place-items:center;border-radius:16px;
  color:#fff;font-size:23px;font-weight:900;background:linear-gradient(135deg,#0ea5e9,#0f766e);box-shadow:0 10px 24px rgba(14,116,144,.22);opacity:.92
}
[data-build-mode="custom"] .compact-experience-section .step-chip{padding:6px 11px!important;background:linear-gradient(135deg,#e8f7ff,#e8fbf6)!important;border:1px solid #cce8ee!important;color:#087b79!important}
[data-build-mode="custom"] .compact-experience-section>h3{margin:8px 0 2px!important;font-size:20px!important;letter-spacing:-.015em!important;color:#071b35!important}
[data-build-mode="custom"] .compact-experience-section>p{margin:0 78px 12px 0!important;color:#66758a!important;font-size:12.5px!important}
[data-build-mode="custom"] #experience-list .experience-row{
  border:1px solid #d5e5ef!important;border-radius:16px!important;padding:9px!important;
  background:rgba(255,255,255,.92)!important;box-shadow:0 8px 20px rgba(13,55,84,.06)!important;backdrop-filter:blur(8px)
}
[data-build-mode="custom"] #experience-list .experience-index{background:linear-gradient(135deg,#e4f9f6,#e9f5ff)!important;color:#087a76!important;border:1px solid #cdebe7!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
[data-build-mode="custom"] #experience-list .experience-row>input{height:42px!important;background:#fbfdff!important;border:1px solid #d7e4ed!important;border-radius:11px!important;transition:.18s ease!important}
[data-build-mode="custom"] #experience-list .experience-row>input:hover{border-color:#b7d7df!important;background:#fff!important}
[data-build-mode="custom"] #experience-list .experience-row>input:focus{transform:translateY(-1px);border-color:#27b6ab!important;box-shadow:0 0 0 4px rgba(20,184,166,.09)!important}
[data-build-mode="custom"] #experience-list .date-field{height:42px!important;min-height:42px!important;background:linear-gradient(180deg,#fbfdff,#f5fafc)!important;border:1px solid #d7e4ed!important;border-radius:11px!important}
[data-build-mode="custom"] #experience-list .date-field>span{color:#64748b!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important}
[data-build-mode="custom"] .experience-actions{margin-top:10px!important}
[data-build-mode="custom"] .experience-actions .experience-add-btn{border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#087d78,#11a99d)!important;color:#fff!important;box-shadow:0 10px 22px rgba(11,126,119,.18)!important;padding:10px 16px!important}
[data-build-mode="custom"] .experience-actions .experience-add-btn:hover{transform:translateY(-2px)!important;box-shadow:0 14px 26px rgba(11,126,119,.24)!important}
@media(max-width:900px){
 [data-build-mode="custom"] .custom-start-panel:before,[data-build-mode="custom"] .custom-start-panel:after{opacity:.35}
 [data-build-mode="custom"] .compact-experience-section>p{margin-right:0!important}
 [data-build-mode="custom"] .compact-experience-section:before{width:42px;height:42px;font-size:18px;right:18px;top:18px}
}

/* v1.9.89 — remove dead Summary whitespace by using two independent top stacks. */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-areas:none!important;
  grid-auto-flow:row!important;
  grid-auto-rows:max-content!important;
  align-items:start!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-column{
  display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important;align-self:start!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-left{grid-column:1!important;grid-row:1!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-right{grid-column:2!important;grid-row:1!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.languages{grid-column:1/-1!important;grid-row:2!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-duties-card{grid-column:1/-1!important;grid-row:3!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-work-card{grid-column:1!important;grid-row:4!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-accountability-card{grid-column:2!important;grid-row:4!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-declaration-card{grid-column:1/-1!important;grid-row:5!important}
[data-build-mode="custom"] .custom-compact-column>.approved-field-card{width:100%!important;min-height:0!important;height:max-content!important;align-self:start!important}
/* Restore approved card identities after cards are placed inside independent columns. */
[data-build-mode="custom"] .custom-summary-card{background:linear-gradient(135deg,#fff 58%,#f3e8ff 100%)!important;border-color:#e9d5ff!important}
[data-build-mode="custom"] .custom-summary-card .approved-card-icon{background:linear-gradient(135deg,#a855f7,#7c3aed)!important;color:#fff!important}
[data-build-mode="custom"] .skills{background:linear-gradient(135deg,#fff 58%,#fff3dc 100%)!important;border-color:#fde3b2!important}
[data-build-mode="custom"] .skills .approved-card-icon{background:linear-gradient(135deg,#fb923c,#f59e0b)!important;color:#fff!important}
[data-build-mode="custom"] .education{background:linear-gradient(135deg,#fff 55%,#dcfce7 100%)!important;border-color:#bbf7d0!important}
[data-build-mode="custom"] .education .approved-card-icon{background:linear-gradient(135deg,#10b981,#0d9488)!important;color:#fff!important}
[data-build-mode="custom"] .certifications{background:linear-gradient(135deg,#fff 55%,#ffe4e6 100%)!important;border-color:#fecdd3!important}
[data-build-mode="custom"] .certifications .approved-card-icon{background:linear-gradient(135deg,#fb7185,#e11d48)!important;color:#fff!important}
[data-build-mode="custom"] .languages{background:linear-gradient(135deg,#fff 62%,#dbeafe 100%)!important;border-color:#bfdbfe!important}
[data-build-mode="custom"] .languages .approved-card-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)!important;color:#fff!important}
[data-build-mode="custom"] .custom-duties-card{background:linear-gradient(135deg,#fff 64%,#ffedd5 100%)!important;border-color:#fed7aa!important}
[data-build-mode="custom"] .custom-duties-card .approved-card-icon{background:linear-gradient(135deg,#fb923c,#f97316)!important;color:#fff!important}
[data-build-mode="custom"] .custom-work-card{background:linear-gradient(135deg,#fff 58%,#ffe4e6 100%)!important;border-color:#fecdd3!important}
[data-build-mode="custom"] .custom-work-card .approved-card-icon{background:linear-gradient(135deg,#fb7185,#ef4444)!important;color:#fff!important}
[data-build-mode="custom"] .custom-accountability-card{background:linear-gradient(135deg,#fff 58%,#fce7f3 100%)!important;border-color:#fbcfe8!important}
[data-build-mode="custom"] .custom-accountability-card .approved-card-icon{background:linear-gradient(135deg,#f472b6,#db2777)!important;color:#fff!important}
[data-build-mode="custom"] .custom-declaration-card{background:linear-gradient(135deg,#fff 65%,#ede9fe 100%)!important;border-color:#ddd6fe!important}
[data-build-mode="custom"] .custom-declaration-card .approved-card-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed)!important;color:#fff!important}
[data-build-mode="custom"] .custom-summary-card textarea,[data-build-mode="custom"] .custom-declaration-card textarea{min-height:52px!important;height:52px!important}
[data-build-mode="custom"] .custom-duties-card textarea{min-height:62px!important;height:62px!important}
[data-build-mode="custom"] .custom-work-card textarea,[data-build-mode="custom"] .custom-accountability-card textarea{min-height:48px!important;height:48px!important}
@media(max-width:980px){
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]{grid-template-columns:1fr!important}
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-left,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-right,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.languages,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-duties-card,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-work-card,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-accountability-card,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-declaration-card{grid-column:1!important;grid-row:auto!important}
}

/* v1.9.90 — READY TEMPLATE premium builder redesign (ready mode only). */
[data-build-mode="ready"] #photo-panel,
[data-build-mode="ready"] .approved-premium-section,
[data-build-mode="ready"] .compact-experience-section{position:relative;overflow:hidden;border-radius:22px!important;border:1px solid #cfe2f1!important;box-shadow:0 12px 30px rgba(15,55,88,.075)!important}
[data-build-mode="ready"] #photo-panel{background:radial-gradient(circle at 96% 8%,rgba(14,165,233,.14),transparent 24%),linear-gradient(135deg,#fff 0%,#f6fbff 62%,#eef9ff 100%)!important;padding:20px!important}
[data-build-mode="ready"] .approved-identity-section{background:radial-gradient(circle at 94% 0%,rgba(59,130,246,.14),transparent 26%),linear-gradient(135deg,#fff 0%,#f5faff 58%,#eaf5ff 100%)!important}
[data-build-mode="ready"] .approved-qualification-section{background:radial-gradient(circle at 96% 3%,rgba(168,85,247,.12),transparent 22%),linear-gradient(135deg,#fff 0%,#fbf9ff 55%,#f4efff 100%)!important}
[data-build-mode="ready"] .approved-field-card{border-radius:16px!important;box-shadow:0 7px 18px rgba(15,55,88,.055)!important;transition:transform .18s ease,box-shadow .18s ease!important}
[data-build-mode="ready"] .approved-field-card:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(15,55,88,.09)!important}
[data-build-mode="ready"] .approved-field-card.skills{background:linear-gradient(135deg,#fff 60%,#fff1d8 100%)!important;border-color:#fde2ae!important}
[data-build-mode="ready"] .approved-field-card.skills .approved-card-icon{background:linear-gradient(135deg,#fb923c,#f59e0b)!important;color:#fff!important}
[data-build-mode="ready"] .approved-field-card.education{background:linear-gradient(135deg,#fff 58%,#dcfce7 100%)!important;border-color:#bcefd0!important}
[data-build-mode="ready"] .approved-field-card.education .approved-card-icon{background:linear-gradient(135deg,#10b981,#0d9488)!important;color:#fff!important}
[data-build-mode="ready"] .approved-field-card.certifications{background:linear-gradient(135deg,#fff 58%,#ffe4e6 100%)!important;border-color:#fecdd3!important}
[data-build-mode="ready"] .approved-field-card.certifications .approved-card-icon{background:linear-gradient(135deg,#fb7185,#e11d48)!important;color:#fff!important}
[data-build-mode="ready"] .approved-field-card.languages{background:linear-gradient(135deg,#fff 64%,#dbeafe 100%)!important;border-color:#bfdbfe!important}
[data-build-mode="ready"] .approved-field-card.languages .approved-card-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)!important;color:#fff!important}
[data-build-mode="ready"] .approved-qualification-grid{align-items:start!important;grid-auto-rows:max-content!important}
[data-build-mode="ready"] .approved-field-card textarea{min-height:48px!important;height:48px!important;padding:10px 12px!important;resize:vertical!important}
[data-build-mode="ready"] .approved-field-card.languages{grid-column:1/-1!important}
[data-build-mode="ready"] .language-entry{align-items:end!important}
[data-build-mode="ready"] .premium-input-shell{background:rgba(255,255,255,.88)!important;border-radius:14px!important;box-shadow:0 4px 12px rgba(37,99,235,.045)!important;transition:.18s ease!important}
[data-build-mode="ready"] .premium-input-shell:hover{transform:translateY(-1px);border-color:#b9d8ee!important;box-shadow:0 7px 16px rgba(37,99,235,.075)!important}
[data-build-mode="ready"] .compact-experience-section{padding:20px 22px 18px!important;background:radial-gradient(circle at 95% 12%,rgba(20,184,166,.14),transparent 24%),linear-gradient(135deg,#fff 0%,#f7fbff 52%,#effcf9 100%)!important}
[data-build-mode="ready"] .compact-experience-section:before{content:"▣";position:absolute;right:24px;top:18px;width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#fff;font-size:21px;font-weight:900;background:linear-gradient(135deg,#0ea5e9,#0f766e);box-shadow:0 10px 22px rgba(14,116,144,.2)}
[data-build-mode="ready"] .compact-experience-section>h3{font-size:20px!important;color:#071b35!important;margin:7px 0 2px!important}
[data-build-mode="ready"] .compact-experience-section>p{margin:0 72px 12px 0!important;color:#66758a!important}
[data-build-mode="ready"] #experience-list .experience-row{background:rgba(255,255,255,.94)!important;border:1px solid #d5e5ef!important;border-radius:16px!important;padding:9px!important;box-shadow:0 8px 20px rgba(13,55,84,.06)!important}
[data-build-mode="ready"] #experience-list .experience-row>input,[data-build-mode="ready"] #experience-list .date-field{height:42px!important;min-height:42px!important;border-radius:11px!important;background:#fbfdff!important;border-color:#d7e4ed!important}
[data-build-mode="ready"] #experience-list .experience-row>input:focus{border-color:#20aaa2!important;box-shadow:0 0 0 4px rgba(20,184,166,.09)!important}
[data-build-mode="ready"] .experience-actions .experience-add-btn{border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#087d78,#11a99d)!important;color:#fff!important;box-shadow:0 10px 22px rgba(11,126,119,.18)!important;padding:10px 16px!important}
[data-build-mode="ready"] .builder-submit-panel{margin-top:14px!important;border-radius:18px!important;background:linear-gradient(110deg,#071d36,#064e55)!important;box-shadow:0 12px 28px rgba(7,29,54,.14)!important}
@media(max-width:980px){[data-build-mode="ready"] .approved-field-card.languages{grid-column:1!important}[data-build-mode="ready"] .compact-experience-section>p{margin-right:0!important}}

/* v1.9.91 — ZERO DEAD-SPACE responsive compact flow, Ready + Full Custom. */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"],
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="1"]{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;align-items:start!important;grid-auto-rows:max-content!important;
}
[data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-column{
  display:flex!important;flex-direction:column!important;gap:10px!important;align-self:start!important;
  min-width:0!important;height:auto!important;min-height:0!important;
}
[data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-left{grid-column:1!important;grid-row:1!important}
[data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-right{grid-column:2!important;grid-row:1!important}
[data-build-mode] .custom-compact-column>.approved-field-card{width:100%!important;height:auto!important;min-height:0!important;align-self:start!important;margin:0!important}
[data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.languages{grid-column:1/-1!important;grid-row:2!important;margin-top:0!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-duties-card{grid-column:1/-1!important;grid-row:3!important;margin-top:0!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-work-card{grid-column:1!important;grid-row:4!important;margin-top:0!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-accountability-card{grid-column:2!important;grid-row:4!important;margin-top:0!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-declaration-card{grid-column:1/-1!important;grid-row:5!important;margin-top:0!important}
@media(max-width:980px){
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"],
 [data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="1"]{grid-template-columns:1fr!important}
 [data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-left,
 [data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.custom-compact-right,
 [data-build-mode] .approved-qualification-grid[data-compact-columns="1"]>.languages,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-duties-card,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-work-card,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-accountability-card,
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="1"]>.custom-declaration-card{grid-column:1!important;grid-row:auto!important}
}

/* v1.9.92 — deterministic no-shift compact pairing.
   Custom: Summary+Education | Skills+Certifications.
   Ready: Extra Skills+Certifications | Education.
   Prevent the old height-measured algorithm from moving both small cards to one side. */
[data-build-mode] .custom-compact-column{justify-content:flex-start!important;align-content:start!important;}
[data-build-mode] .custom-compact-column>.approved-field-card{flex:0 0 auto!important;}

/* v1.9.93 — TRUE ZERO-GAP paired layout (approved sample geometry).
   No independent column wrappers: cards share explicit grid rows, so blank space cannot
   migrate left/right. Custom = Summary|Skills, Education|Certifications, then full width. */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "summary skills"
    "education certifications"
    "languages languages"
    "duties duties"
    "work accountability"
    "declaration declaration"!important;
  gap:10px!important;
  align-items:stretch!important;
  grid-auto-rows:auto!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-summary-card{grid-area:summary!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.skills{grid-area:skills!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education{grid-area:education!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.certifications{grid-area:certifications!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.languages{grid-area:languages!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-duties-card{grid-area:duties!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-work-card{grid-area:work!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-accountability-card{grid-area:accountability!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-declaration-card{grid-area:declaration!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.approved-field-card{
  margin:0!important;min-height:0!important;height:auto!important;align-self:stretch!important;
}
/* Summary is intentionally tall enough to visually pair with the skill library — this is
   useful editor area, not dead space. Education and Certification start on the next row together. */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-summary-card textarea{
  height:112px!important;min-height:112px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education,
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.certifications{
  min-height:0!important;
}
/* Ready mode: three compact cards use a dense grid; certification fills the second row
   rather than reserving an empty half-row before Languages. */
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:"skills education" "certifications certifications" "languages languages"!important;
  gap:10px!important;align-items:start!important;grid-auto-rows:max-content!important;
}
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]>.skills{grid-area:skills!important}
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]>.education{grid-area:education!important}
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]>.certifications{grid-area:certifications!important}
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]>.languages{grid-area:languages!important}
[data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]>.approved-field-card{margin:0!important;height:auto!important;min-height:0!important}
@media(max-width:980px){
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"],
 [data-build-mode="ready"] .approved-qualification-grid[data-compact-columns="2"]{
   grid-template-columns:1fr!important;grid-template-areas:none!important;
 }
 [data-build-mode] .approved-qualification-grid[data-compact-columns="2"]>.approved-field-card{grid-area:auto!important;grid-column:1!important;grid-row:auto!important}
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-summary-card textarea{height:72px!important;min-height:72px!important}
}


/* v1.9.94 — APPROVED COMPACT REFLOW.
   Root fix: Summary is compact; Education sits immediately below it while Skills owns
   the independent right track. No artificial summary height is used. */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "summary skills"
    "education skills"
    "languages certifications"
    "duties duties"
    "work accountability"
    "declaration declaration"!important;
  gap:10px!important;
  align-items:start!important;
  grid-auto-rows:max-content!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-summary-card{grid-area:summary!important;align-self:start!important;height:auto!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.skills{grid-area:skills!important;align-self:start!important;height:auto!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education{grid-area:education!important;align-self:start!important;height:auto!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.certifications{grid-area:certifications!important;align-self:start!important;height:auto!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.languages{grid-area:languages!important;align-self:start!important;height:auto!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-duties-card{grid-area:duties!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-work-card{grid-area:work!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-accountability-card{grid-area:accountability!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-declaration-card{grid-area:declaration!important}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-summary-card textarea{
  height:52px!important;min-height:52px!important;max-height:160px!important;padding:10px 12px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.skills>textarea{
  height:48px!important;min-height:48px!important;padding:10px 12px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education textarea,
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.certifications textarea{
  height:48px!important;min-height:48px!important;padding:10px 12px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-duties-card textarea,
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-declaration-card textarea{
  height:52px!important;min-height:52px!important;padding:10px 12px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-work-card textarea,
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-accountability-card textarea{
  height:46px!important;min-height:46px!important;padding:9px 12px!important;
}
/* keep all normal inter-card spacing compact */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.approved-field-card{margin:0!important;min-height:0!important}
@media(max-width:980px){
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]{display:flex!important;flex-direction:column!important;gap:10px!important}
 [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.approved-field-card{width:100%!important}
}

/* v1.9.95 — HERO-WIDTH ALIGNMENT LOCK
   Keep every builder workspace on one shared horizontal rail. The existing hero/content
   rail is the source of truth; individual sections may not introduce their own max-width,
   side margin, translate, or narrower percentage width. */
.premium-builder-shell.compact-builder-page{
  width:min(1280px,calc(100% - 40px))!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.premium-builder-shell.compact-builder-page .premium-builder-form{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.premium-builder-form > :is(
  .builder-top-panel,.custom-direct-workspace,.ai-details-workspace,#ready-workspace,
  #ready-template-gallery,.design-choice-section,.photo-panel,.modern-photo-panel,
  .guided-section,.approved-identity-section,.approved-qualification-section,
  #experience-section,.builder-submit-panel,.template-action-row
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
  transform:none;
}
/* Nested content must share the same inner left/right rail. */
.premium-builder-form :is(
  .approved-identity-grid,.approved-qualification-grid,.modern-photo-grid,
  .experience-list,.experience-row,.ready-selector-line,.compact-selectors
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
@media(max-width:1100px){
  .premium-builder-shell.compact-builder-page{width:calc(100% - 28px)!important;max-width:1280px!important}
}
@media(max-width:650px){
  .premium-builder-shell.compact-builder-page{width:calc(100% - 18px)!important}
}

/* v1.9.96 — CUSTOM WORKSPACE FINAL GEOMETRY
   Approved screenshot corrections:
   1) Hero -> first workspace gap is exactly 7px.
   2) Every main builder panel uses the hero's full outer rail (no form-side inset).
   3) Compact custom qualification cards remove the residual right-column dead band. */
.premium-builder-shell.compact-builder-page > .builder-portal-hero{
  margin-bottom:7px!important;
}
.premium-builder-shell.compact-builder-page > .premium-builder-form{
  padding-left:0!important;
  padding-right:0!important;
  border-left:0!important;
  border-right:0!important;
  background:transparent!important;
}
/* Keep the first workspace flush with the hero and preserve normal 18px spacing below it. */
[data-build-mode="custom"] > .custom-direct-workspace{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
[data-build-mode="custom"] .custom-start-panel,
[data-build-mode="custom"] #photo-panel,
[data-build-mode="custom"] .approved-premium-section,
[data-build-mode="custom"] .compact-experience-section,
[data-build-mode="custom"] .builder-submit-panel{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
/* Blue-marked Education block: remove surplus vertical editor space so its bottom
   meets the Skills track; this eliminates the green-marked dead gap. */
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education{
  padding-top:8px!important;
  padding-bottom:8px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education .approved-card-head{
  margin-bottom:8px!important;
}
[data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education textarea{
  height:40px!important;
  min-height:40px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
@media(max-width:980px){
  .premium-builder-shell.compact-builder-page > .premium-builder-form{padding-left:0!important;padding-right:0!important}
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.education{padding:10px!important}
}

/* v1.9.97 — EXACT TWO-TRACK BALANCE (approved marked screenshot)
   Desktop uses two independent vertical tracks:
   LEFT  = Summary -> Education -> Languages
   RIGHT = Skills -> Certifications
   This removes the green dead band caused by shared CSS-grid rows. */
@media(min-width:981px){
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:none!important;
    grid-auto-rows:auto!important;
    column-gap:10px!important;
    row-gap:10px!important;
    align-items:start!important;
  }
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-compact-track{
    display:flex!important;flex-direction:column!important;gap:10px!important;
    min-width:0!important;width:100%!important;margin:0!important;padding:0!important;
    align-self:start!important;
  }
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-compact-left{grid-column:1!important;grid-row:1!important}
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-compact-right{grid-column:2!important;grid-row:1!important}
  [data-build-mode="custom"] .custom-compact-track>.approved-field-card{
    width:100%!important;height:auto!important;min-height:0!important;margin:0!important;align-self:stretch!important;
  }
  [data-build-mode="custom"] .custom-compact-left>.education{
    padding-top:8px!important;padding-bottom:8px!important;
  }
  [data-build-mode="custom"] .custom-compact-left>.education .approved-card-head{margin-bottom:8px!important}
  [data-build-mode="custom"] .custom-compact-left>.education textarea{height:40px!important;min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}
  [data-build-mode="custom"] .custom-compact-right>.skills .custom-skill-suggestions{
    max-height:96px!important;
  }
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-duties-card{
    grid-column:1/-1!important;grid-row:2!important;
  }
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-work-card{grid-column:1!important;grid-row:3!important}
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-accountability-card{grid-column:2!important;grid-row:3!important}
  [data-build-mode="custom"] .approved-qualification-grid[data-compact-columns="2"]>.custom-declaration-card{grid-column:1/-1!important;grid-row:4!important}
}

/* v1.9.98 — READY TEMPLATE PREMIUM PROFESSIONAL REBUILD
   Ready mode only. Removes the old half-row dead space and gives every builder block
   one consistent premium visual system without changing form/backend behavior. */
[data-build-mode="ready"]{
  --ready-blue:#1677ff;--ready-ink:#0b1f3a;--ready-muted:#64748b;--ready-line:#cfe1f1;
  --ready-radius:20px;--ready-gap:12px;
}
[data-build-mode="ready"] #photo-panel,
[data-build-mode="ready"] .approved-premium-section,
[data-build-mode="ready"] .compact-experience-section{
  border-radius:var(--ready-radius)!important;
  border:1px solid #c9dff0!important;
  box-shadow:0 10px 28px rgba(15,55,88,.08)!important;
}
[data-build-mode="ready"] #photo-panel{
  background:radial-gradient(circle at 93% 12%,rgba(56,189,248,.18),transparent 24%),linear-gradient(135deg,#fff 0%,#f7fbff 55%,#edf8ff 100%)!important;
}
[data-build-mode="ready"] .approved-identity-section{
  background:radial-gradient(circle at 96% 4%,rgba(59,130,246,.13),transparent 24%),linear-gradient(135deg,#fff 0%,#f8fbff 58%,#edf6ff 100%)!important;
}
[data-build-mode="ready"] .approved-qualification-section{
  background:radial-gradient(circle at 96% 2%,rgba(139,92,246,.12),transparent 22%),linear-gradient(135deg,#fff 0%,#fbfaff 58%,#f5f1ff 100%)!important;
}
[data-build-mode="ready"] .approved-section-head{margin-bottom:12px!important}
[data-build-mode="ready"] .approved-section-head .approved-step{box-shadow:0 6px 14px rgba(37,99,235,.18)!important}
[data-build-mode="ready"] .approved-head-copy h3{color:var(--ready-ink)!important;font-weight:800!important}
[data-build-mode="ready"] .approved-head-copy p{color:var(--ready-muted)!important}

/* Exact 2 x 2 professional content matrix: no empty half-row. */
[data-build-mode="ready"] .approved-qualification-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:"skills education" "certifications languages"!important;
  gap:var(--ready-gap)!important;
  align-items:stretch!important;
  grid-auto-rows:auto!important;
}
[data-build-mode="ready"] .approved-qualification-grid>.skills{grid-area:skills!important}
[data-build-mode="ready"] .approved-qualification-grid>.education{grid-area:education!important}
[data-build-mode="ready"] .approved-qualification-grid>.certifications{grid-area:certifications!important}
[data-build-mode="ready"] .approved-qualification-grid>.languages{grid-area:languages!important;grid-column:auto!important}
[data-build-mode="ready"] .approved-qualification-grid>.approved-field-card{
  min-width:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;
  padding:14px!important;border-radius:17px!important;overflow:hidden!important;position:relative!important;
  box-shadow:0 7px 18px rgba(15,55,88,.06)!important;
}
[data-build-mode="ready"] .approved-field-card:after{
  content:"";position:absolute;right:-34px;bottom:-42px;width:130px;height:130px;border-radius:50%;pointer-events:none;opacity:.55;
  background:radial-gradient(circle,rgba(255,255,255,.15),rgba(59,130,246,.10) 48%,transparent 70%);
}
[data-build-mode="ready"] .approved-field-card.skills{background:linear-gradient(135deg,#fff 0%,#fffaf1 58%,#fff0d2 100%)!important;border-color:#f6cf86!important}
[data-build-mode="ready"] .approved-field-card.education{background:linear-gradient(135deg,#fff 0%,#f3fff9 58%,#dff9ea 100%)!important;border-color:#9fe3c0!important}
[data-build-mode="ready"] .approved-field-card.certifications{background:linear-gradient(135deg,#fff 0%,#fff6f8 58%,#ffe2e9 100%)!important;border-color:#f7b8c7!important}
[data-build-mode="ready"] .approved-field-card.languages{background:linear-gradient(135deg,#fff 0%,#f8f5ff 58%,#e9ddff 100%)!important;border-color:#cdb9ff!important}
[data-build-mode="ready"] .approved-field-card.languages .approved-card-icon{background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important;color:#fff!important}
[data-build-mode="ready"] .approved-card-head{position:relative;z-index:1;margin-bottom:9px!important}
[data-build-mode="ready"] .approved-card-icon{width:34px!important;height:34px!important;border-radius:11px!important;box-shadow:0 6px 13px rgba(15,23,42,.12)!important}
[data-build-mode="ready"] .approved-card-copy strong{font-size:15px!important;color:#10233f!important;font-weight:800!important}
[data-build-mode="ready"] .approved-card-copy span{color:#6b7b90!important}
[data-build-mode="ready"] .optional-pill{background:#eef6ff!important;border:1px solid #c8def4!important;color:#41617f!important;font-weight:700!important}
[data-build-mode="ready"] .approved-field-card textarea{
  position:relative;z-index:1;min-height:46px!important;height:46px!important;padding:10px 12px!important;border-radius:10px!important;
  border:1px solid #cdddea!important;background:rgba(255,255,255,.94)!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.025)!important;
}
[data-build-mode="ready"] .approved-field-card textarea:focus{border-color:#32a8a0!important;box-shadow:0 0 0 4px rgba(20,184,166,.09)!important}
[data-build-mode="ready"] .approved-add-btn{position:relative;z-index:1;border-radius:10px!important;background:rgba(255,255,255,.78)!important;font-weight:750!important}
[data-build-mode="ready"] .language-entry{position:relative;z-index:1;display:grid!important;grid-template-columns:minmax(145px,.72fr) minmax(0,1.5fr)!important;gap:10px!important;align-items:end!important}
[data-build-mode="ready"] .proficiency-options{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
[data-build-mode="ready"] .proficiency-option{min-width:0!important;padding:8px 4px!important;font-size:11px!important;font-weight:600!important;background:rgba(255,255,255,.82)!important}

[data-build-mode="ready"] .premium-input-shell{border:1px solid #d2e1ee!important;background:rgba(255,255,255,.92)!important;box-shadow:0 5px 14px rgba(37,99,235,.05)!important}
[data-build-mode="ready"] .premium-input-shell:focus-within{border-color:#75b8ec!important;box-shadow:0 0 0 4px rgba(59,130,246,.08),0 8px 18px rgba(37,99,235,.07)!important}

[data-build-mode="ready"] .compact-experience-section{
  background:radial-gradient(circle at 95% 8%,rgba(45,212,191,.17),transparent 24%),linear-gradient(135deg,#fff 0%,#f8fcff 55%,#edfbf8 100%)!important;
  padding:20px 22px!important;
}
[data-build-mode="ready"] #experience-list .experience-row{border-radius:15px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 20px rgba(15,55,88,.065)!important}

@media(max-width:980px){
 [data-build-mode="ready"] .approved-qualification-grid{grid-template-columns:1fr!important;grid-template-areas:"skills" "education" "certifications" "languages"!important}
 [data-build-mode="ready"] .approved-qualification-grid>.languages{grid-column:1!important}
 [data-build-mode="ready"] .language-entry{grid-template-columns:1fr!important}
}

/* v1.9.99 — READY TEMPLATE ADVANCED PREMIUM UI
   Approved redesign applied ONLY to Ready Template mode. */
[data-build-mode="ready"]{--rp-blue:#126df2;--rp-navy:#0b2445;--rp-cyan:#09b8d4;--rp-green:#08a982;--rp-violet:#7c3aed;--rp-line:#c9dff4;--rp-shadow:0 14px 38px rgba(25,72,112,.10)}
[data-build-mode="ready"]{gap:14px!important;background:linear-gradient(180deg,#f7fbff 0%,#f4f9fd 55%,#f8fbfc 100%)!important;border-color:#d6e6f3!important;box-shadow:inset 0 1px 0 #fff!important}
[data-build-mode="ready"] #ready-workspace{position:relative;overflow:hidden;border:1px solid #bcdcf1!important;background:linear-gradient(120deg,#fafdff 0%,#eef8ff 52%,#e7f7ff 100%)!important;box-shadow:var(--rp-shadow)!important;border-radius:20px!important}
[data-build-mode="ready"] #ready-workspace:after{content:"";position:absolute;right:-70px;top:-95px;width:260px;height:220px;border-radius:48% 52% 62% 38%;background:linear-gradient(135deg,rgba(18,109,242,.14),rgba(9,184,212,.08));transform:rotate(-12deg);pointer-events:none}
[data-build-mode="ready"] #ready-workspace .ready-selector-line{position:relative;z-index:1}
[data-build-mode="ready"] #ready-workspace .ready-selector-copy .eyebrow{width:max-content;background:linear-gradient(135deg,#e4f7f3,#dff4ff)!important;color:#087d73!important;border:1px solid #c8ebe6;padding:6px 10px;border-radius:999px;font-weight:900!important;letter-spacing:.07em}
[data-build-mode="ready"] #ready-workspace .ready-selector-copy strong{color:var(--rp-navy)!important;font-weight:900!important;letter-spacing:-.015em}
[data-build-mode="ready"] #ready-workspace .inline-selector{position:relative;z-index:1;background:rgba(255,255,255,.72);border:1px solid #d3e5f3;border-radius:14px;padding:9px 10px;box-shadow:0 7px 18px rgba(35,85,125,.05)}
[data-build-mode="ready"] #ready-workspace .inline-selector>span{color:#54708d!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.035em}
[data-build-mode="ready"] #ready-workspace select{border-color:#c9ddef!important;background:#fff!important;font-weight:650;color:#142c49}

[data-build-mode="ready"] #ready-template-gallery{position:relative;overflow:hidden;border:1px solid #c6ddf1!important;background:linear-gradient(150deg,#fff 0%,#f9fcff 60%,#eef7ff 100%)!important;box-shadow:var(--rp-shadow)!important;border-radius:20px!important}
[data-build-mode="ready"] #ready-template-gallery:before{content:"";position:absolute;right:-65px;top:-80px;width:220px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.11),transparent 68%);pointer-events:none}
[data-build-mode="ready"] #ready-template-gallery .section-mini-head{position:relative;z-index:1;padding-bottom:10px;border-bottom:1px solid #e3eef7}
[data-build-mode="ready"] #ready-template-gallery .section-mini-head .eyebrow{color:#078a7d!important;font-weight:900!important}
[data-build-mode="ready"] #ready-template-gallery .section-mini-head h2{color:var(--rp-navy)!important;font-weight:900!important;letter-spacing:-.02em}
[data-build-mode="ready"] #ready-template-gallery .locked-badge{background:linear-gradient(135deg,#fff8e8,#ffefc7)!important;border:1px solid #f1d58e;color:#8b5b0a!important;box-shadow:0 5px 12px rgba(167,112,16,.08)}
[data-build-mode="ready"] #ready-template-gallery .design-card{border:1px solid #d3e2ef!important;border-radius:16px!important;background:linear-gradient(160deg,#fff,#f7fbff)!important;box-shadow:0 8px 22px rgba(25,72,112,.07)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;overflow:hidden}
[data-build-mode="ready"] #ready-template-gallery .design-card:hover{transform:translateY(-4px);border-color:#82b8ec!important;box-shadow:0 16px 34px rgba(25,72,112,.13)!important}
[data-build-mode="ready"] #ready-template-gallery .design-card.selected{border:2px solid var(--rp-blue)!important;box-shadow:0 0 0 4px rgba(18,109,242,.08),0 16px 34px rgba(25,72,112,.14)!important}
[data-build-mode="ready"] #ready-template-gallery .template-action-row{border-radius:14px!important;background:linear-gradient(120deg,#0a2443,#123f72 58%,#0d5570)!important;box-shadow:0 10px 24px rgba(10,36,67,.18)!important;border:1px solid rgba(255,255,255,.08)!important}
[data-build-mode="ready"] #ready-template-gallery .template-action-row strong{color:#fff!important}
[data-build-mode="ready"] #ready-template-gallery .template-action-row span{color:#c8daea!important}
[data-build-mode="ready"] #continue-builder-btn{background:linear-gradient(135deg,#fff,#eef6ff)!important;color:#102d50!important;border:0!important;box-shadow:0 7px 18px rgba(0,0,0,.14)!important;font-weight:850!important}

[data-build-mode="ready"] #photo-panel,[data-build-mode="ready"] .approved-premium-section,[data-build-mode="ready"] .compact-experience-section{padding:20px!important;border-radius:20px!important;box-shadow:var(--rp-shadow)!important}
[data-build-mode="ready"] .modern-photo-heading,[data-build-mode="ready"] .approved-section-head,[data-build-mode="ready"] .compact-experience-section>.approved-section-head{padding-bottom:11px!important;margin-bottom:14px!important;border-bottom:1px solid rgba(129,164,194,.22)}
[data-build-mode="ready"] .photo-heading-icon,[data-build-mode="ready"] .approved-step{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:12px!important;color:#fff!important;background:linear-gradient(135deg,#1677ff,#08a9d4)!important;box-shadow:0 7px 16px rgba(22,119,255,.22)!important;font-weight:900!important}
[data-build-mode="ready"] .photo-recommended{background:#dff8ea!important;color:#07834f!important;border:1px solid #bceccf!important;padding:5px 9px!important;border-radius:999px!important;font-weight:800!important}
[data-build-mode="ready"] .modern-photo-grid{gap:14px!important}
[data-build-mode="ready"] .photo-drop-zone{border:1.5px dashed #3a9eea!important;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(238,248,255,.88))!important;border-radius:16px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)!important;transition:.22s ease!important}
[data-build-mode="ready"] .photo-drop-zone:hover{transform:translateY(-2px);border-color:#087fcb!important;box-shadow:0 12px 24px rgba(32,118,184,.10)!important}
[data-build-mode="ready"] .photo-choose-btn,[data-build-mode="ready"] .photo-tool.primary{background:linear-gradient(135deg,#0876db,#08a9c9)!important;box-shadow:0 8px 18px rgba(8,118,219,.20)!important}
[data-build-mode="ready"] .modern-photo-preview-card,[data-build-mode="ready"] .photo-shape-area{border-radius:15px!important;background:rgba(255,255,255,.72)!important;border:1px solid #d5e5f2!important}
[data-build-mode="ready"] .photo-style-option{border-radius:12px!important;background:#fff!important;border:1px solid #d4e3ef!important;transition:.2s ease!important}
[data-build-mode="ready"] .photo-style-option.is-active{border-color:#0aa789!important;box-shadow:0 0 0 3px rgba(10,167,137,.09)!important}

[data-build-mode="ready"] .approved-identity-section{border-color:#bcdaf2!important}
[data-build-mode="ready"] .approved-qualification-section{border-color:#d7c9f5!important}
[data-build-mode="ready"] .approved-tip{border:1px solid #d6e8f8!important;background:linear-gradient(135deg,#f3f9ff,#edf6ff)!important;color:#28618f!important;border-radius:11px!important;font-weight:700!important}
[data-build-mode="ready"] .approved-identity-grid{gap:10px!important}
[data-build-mode="ready"] .premium-input-shell{border-radius:13px!important;min-height:72px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
[data-build-mode="ready"] .premium-input-shell:hover{transform:translateY(-1px);border-color:#a9cce9!important;box-shadow:0 9px 20px rgba(37,99,235,.08)!important}
[data-build-mode="ready"] .premium-input-icon{border-radius:10px!important;background:linear-gradient(145deg,#eef6ff,#e3f0ff)!important;color:#126df2!important}
[data-build-mode="ready"] .premium-input-copy label{color:#102a49!important;font-weight:800!important}

[data-build-mode="ready"] .approved-qualification-grid{gap:10px!important;align-items:start!important}
[data-build-mode="ready"] .approved-qualification-grid>.approved-field-card{height:auto!important;min-height:0!important;padding:13px!important;border-radius:16px!important;transition:transform .18s ease,box-shadow .18s ease!important}
[data-build-mode="ready"] .approved-qualification-grid>.approved-field-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(30,70,105,.09)!important}
[data-build-mode="ready"] .approved-field-card:after{width:150px;height:95px;right:-45px;bottom:-48px;border-radius:48% 52% 0 0;background:linear-gradient(135deg,transparent,rgba(255,255,255,.72))!important;transform:rotate(-8deg)}
[data-build-mode="ready"] .approved-field-card textarea{height:44px!important;min-height:44px!important}
[data-build-mode="ready"] .approved-add-btn{min-height:34px!important;border-width:1px!important;box-shadow:0 4px 10px rgba(15,55,88,.05)!important}
[data-build-mode="ready"] .language-entry{gap:7px!important}
[data-build-mode="ready"] .proficiency-option{padding:7px 3px!important;border-radius:8px!important}

[data-build-mode="ready"] .compact-experience-section{position:relative;overflow:hidden;border-color:#c7deef!important;background:linear-gradient(145deg,#fff 0%,#f7fcff 60%,#eafaf6 100%)!important}
[data-build-mode="ready"] .compact-experience-section:after{content:"";position:absolute;right:-55px;top:-60px;width:190px;height:160px;border-radius:50%;background:radial-gradient(circle,rgba(16,185,129,.12),transparent 68%);pointer-events:none}
[data-build-mode="ready"] #experience-list,[data-build-mode="ready"] .experience-add-btn{position:relative;z-index:1}
[data-build-mode="ready"] #experience-list .experience-row{border:1px solid #d1e2ee!important;padding:10px!important;box-shadow:0 9px 22px rgba(15,55,88,.07)!important}
[data-build-mode="ready"] .experience-add-btn{background:linear-gradient(135deg,#078b7e,#10b99f)!important;box-shadow:0 9px 20px rgba(7,139,126,.20)!important}

[data-build-mode="ready"] #save-panel.builder-submit-panel{border:1px solid #123e67!important;border-radius:18px!important;background:linear-gradient(115deg,#09233f 0%,#124879 60%,#0a5a68 100%)!important;box-shadow:0 14px 30px rgba(9,35,63,.18)!important;padding:18px 20px!important}
[data-build-mode="ready"] #save-panel .save-continue-btn{background:linear-gradient(135deg,#ffe17a,#ffc94d)!important;color:#18304d!important;border:0!important;box-shadow:0 8px 18px rgba(255,196,55,.20)!important;font-weight:900!important}

@media(max-width:980px){[data-build-mode="ready"] #ready-workspace .inline-selector{padding:8px}[data-build-mode="ready"] #photo-panel,[data-build-mode="ready"] .approved-premium-section,[data-build-mode="ready"] .compact-experience-section{padding:15px!important}}
@media(max-width:620px){[data-build-mode="ready"]{gap:10px!important}[data-build-mode="ready"] #photo-panel,[data-build-mode="ready"] .approved-premium-section,[data-build-mode="ready"] .compact-experience-section{border-radius:16px!important;padding:12px!important}[data-build-mode="ready"] .premium-input-shell{min-height:64px!important}}
