/* Saree3 platform pages (applications, calculator, tracking) — on top of site.css.
   Light identity (2026-10-16): white cards, teal ink, one turquoise accent. */

.pf-main { padding-bottom: clamp(64px, 8vw, 110px); }
.pf-head { padding: clamp(44px, 6vw, 76px) 0 clamp(26px, 4vw, 40px); display: grid; gap: 16px; justify-items: start; }
.pf-head .h1 { font-size: clamp(36px, 5vw, 60px); }
.pf-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--faint); font-size: 14px; }
.pf-crumbs a { color: var(--muted); }
.pf-crumbs a:hover { color: var(--cyan-deep); }

.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.pf-layout.wide-aside { grid-template-columns: minmax(0, 1fr) 400px; }
@media (max-width: 1020px) { .pf-layout, .pf-layout.wide-aside { grid-template-columns: 1fr; } }
.pf-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 1020px) { .pf-aside { position: static; } }

.pf-card { position: relative; border-radius: var(--r); padding: clamp(22px, 3.4vw, 36px); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.pf-card + .pf-card { margin-top: 18px; }
.pf-card h2 { font-size: 22px; margin-bottom: 6px; }
.pf-card h3 { font-size: 17px; margin-bottom: 6px; }
.pf-card .sub { color: var(--muted); font-size: 15px; line-height: 1.8; }
.pf-card.accent { border-color: var(--cyan-line); background: radial-gradient(120% 90% at 100% 0%, rgba(18, 217, 232, .12), transparent 60%), #fff; }

/* Sections inside a form */
.pf-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.pf-section:first-of-type { padding-top: 0; margin-top: 18px; border-top: 0; }
.pf-section-title { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pf-section-title .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none;
  font-family: var(--font-lat); font-size: 14px; font-weight: 800; color: var(--cyan-deep); background: var(--cyan-soft); border: 1px solid var(--cyan-line); }
.pf-section > .sub { margin: 0 0 18px; padding-inline-start: 44px; }
@media (max-width: 640px) { .pf-section > .sub { padding-inline-start: 0; } }

/* Fields */
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.pf-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .pf-grid, .pf-grid.g3 { grid-template-columns: 1fr; } .pf-grid .full { grid-column: auto; } }
.pf-field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2, #33525a); min-width: 0; }
.pf-field > span:first-child i, .pf-req { color: var(--cyan-deep); font-style: normal; }
.pf-field input, .pf-field select, .pf-field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff;
  color: var(--ink); font: 500 15.5px/1.5 var(--font); outline: none; transition: border-color .18s, box-shadow .18s, background .18s; }
.pf-field select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca7aa' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") left 14px center/16px no-repeat; }
.pf-field select option { background: var(--surface); color: var(--ink); }
.pf-field textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.pf-field input::placeholder, .pf-field textarea::placeholder { color: #93a5aa; }
.pf-field input:hover, .pf-field select:hover, .pf-field textarea:hover { border-color: rgba(11, 42, 51, .216); }
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(18, 217, 232, .14); background: rgba(18, 217, 232, .03); }
.pf-field small { color: var(--faint); font-weight: 500; font-size: 13px; line-height: 1.6; }
.pf-field .err { display: none; color: var(--danger); font-size: 13px; font-weight: 600; }
.pf-field.invalid input, .pf-field.invalid select, .pf-field.invalid textarea { border-color: rgba(255, 107, 107, .7); box-shadow: 0 0 0 4px rgba(255, 107, 107, .1); }
.pf-field.invalid .err { display: block; }
.pf-field input[readonly] { color: var(--muted); background: rgba(11, 42, 51, .013); border-style: dashed; cursor: not-allowed; }
.ltr, .pf-field .ltr { direction: ltr; text-align: right; font-family: var(--font-lat); }
.pf-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); padding: 2px 9px; border-radius: 999px; background: rgba(11, 42, 51, .045); border: 1px solid var(--line); }

/* Choice tiles (radio/checkbox) */
.pf-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pf-choices.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .pf-choices.c3 { grid-template-columns: 1fr; } }
.pf-choice { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 18px 16px; border-radius: 18px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(11, 42, 51, .023); transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease); }
.pf-choice:hover { border-color: rgba(18, 217, 232, .45); transform: translateY(-1px); }
.pf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pf-choice::after { content: ""; position: absolute; inset-inline-end: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: .2s; }
.pf-choice.check::after { border-radius: 7px; }
.pf-choice:has(input:checked) { border-color: var(--cyan); background: rgba(18, 217, 232, .07); box-shadow: 0 0 0 1px var(--cyan), 0 16px 40px -20px rgba(18, 217, 232, .6); }
.pf-choice:has(input:checked)::after { background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031c1f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--cyan); }
.pf-choice:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.pf-choice:has(input:disabled) { opacity: .45; cursor: not-allowed; transform: none; }
.pf-choice.invalid { border-color: rgba(255, 107, 107, .7); }
.pf-choice b { font-size: 16px; padding-inline-end: 30px; }
.pf-choice small { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.pf-choice .price { font-family: var(--font-lat); font-weight: 700; color: var(--ink); font-size: 15px; margin-top: 4px; }
.pf-choice .price.tbd { font-family: var(--font); color: var(--muted); font-weight: 600; font-size: 13.5px; }
.pf-choice .tag { justify-self: start; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--cyan); color: var(--cyan-ink); }
.pf-choice ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2, #33525a); }
.pf-choice ul li::before { content: "✓ "; color: var(--cyan-deep); font-weight: 800; }
.pf-choice.big { padding: 22px; }
.pf-choice.big b { font-size: 18px; }
.pf-group-label { font-size: 13px; font-weight: 700; color: var(--faint); margin: 18px 0 10px; letter-spacing: .02em; }

/* Segmented control (periods) */
.pf-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pf-seg label { position: relative; display: grid; gap: 2px; justify-items: center; text-align: center; padding: 12px 8px; border-radius: 13px; cursor: pointer; color: var(--muted); font-weight: 600; transition: .2s; }
.pf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pf-seg label small { font-size: 12px; color: var(--success); font-weight: 700; }
.pf-seg label:has(input:checked) { background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 10px 26px -12px rgba(18, 217, 232, .8); }
.pf-seg label:has(input:checked) small { color: var(--cyan-ink); }
.pf-seg label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Stepper */
.pf-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; }
.pf-stepper button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--surface-2); color: var(--ink); font: 700 20px/1 var(--font-lat); cursor: pointer; transition: background .2s; }
.pf-stepper button:hover { background: rgba(18, 217, 232, .16); color: var(--cyan-deep); }
.pf-stepper input { width: 64px; height: 42px; text-align: center; border: 0; background: transparent; color: var(--ink); font: 700 18px/1 var(--font-lat); outline: none; -moz-appearance: textfield; }
.pf-stepper input::-webkit-outer-spin-button, .pf-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Repeated rows (business branches) */
.pf-rows { display: grid; gap: 12px; }
.pf-row { border-radius: 18px; border: 1px solid var(--line); background: rgba(11, 42, 51, .018); padding: 16px; }
.pf-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pf-row-head b { font-size: 15px; }
.pf-row-head button { background: none; border: 0; color: var(--danger); font: 600 13.5px var(--font); cursor: pointer; }
.pf-add { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; min-height: 50px; margin-top: 12px; border-radius: 16px; border: 1.5px dashed var(--cyan-line);
  background: transparent; color: var(--cyan-deep); font: 700 15px var(--font); cursor: pointer; transition: background .2s; }
.pf-add:hover { background: var(--cyan-soft); }

/* Hours */
.pf-hours { display: grid; gap: 8px; }
.pf-hours-row { display: grid; grid-template-columns: 110px 1fr auto 1fr; gap: 10px; align-items: center; font-size: 14px; }
.pf-hours-row input[type=time] { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 600 14px var(--font-lat); color-scheme: light; min-width: 0; }
.pf-hours-row label { display: flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.pf-hours-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--cyan); }
@media (max-width: 560px) { .pf-hours-row { grid-template-columns: 1fr 1fr; } .pf-hours-row > span { display: none; } .pf-hours-row label { grid-column: 1 / -1; } }

/* Consent + submit */
.pf-consent { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 18px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.8; cursor: pointer; }
.pf-consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--cyan); flex: none; }
.pf-consent a { color: var(--cyan-deep); font-weight: 600; }
.pf-consent.invalid { border-color: rgba(255, 107, 107, .6); }
.pf-fine { margin-top: 14px; text-align: center; color: var(--faint); font-size: 13.5px; line-height: 1.8; }

/* Notices */
.pf-notice { border-radius: 16px; padding: 14px 18px; font-size: 14.5px; line-height: 1.8; font-weight: 500; border: 1px solid var(--line); background: #fff; margin-bottom: 16px; }
.pf-notice b { display: block; margin-bottom: 2px; }
.pf-notice.info { border-color: var(--cyan-line); background: var(--cyan-soft); color: #075e66; }
.pf-notice.success { border-color: rgba(46, 212, 151, .4); background: rgba(46, 212, 151, .1); color: #0b6b48; }
.pf-notice.warn { border-color: rgba(255, 200, 87, .4); background: rgba(255, 200, 87, .08); color: #7a5300; }
.pf-notice.error { border-color: rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .08); color: #9b2c2c; }
.pf-notice a { color: inherit; text-decoration: underline; font-weight: 700; }
.pf-mock { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: #7a5300; padding: 8px 14px; border-radius: 12px; background: rgba(255, 200, 87, .08); border: 1px dashed rgba(255, 200, 87, .45); }

/* Price summary */
.pf-summary { display: grid; gap: 14px; }
.pf-summary .total { display: grid; gap: 2px; padding: 20px; border-radius: 20px; background: radial-gradient(120% 120% at 100% 0%, rgba(18, 217, 232, .22), transparent 60%), var(--surface-2); border: 1px solid var(--cyan-line); }
.pf-summary .total small { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.pf-summary .total b { font-family: var(--font-lat); font-size: clamp(34px, 4vw, 44px); letter-spacing: -.02em; line-height: 1.15; }
.pf-summary .total b em { font-style: normal; font-family: var(--font); font-size: 16px; color: var(--muted); font-weight: 600; margin-inline-start: 6px; }
.pf-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.pf-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.pf-lines li b { color: var(--ink); font-family: var(--font-lat); font-weight: 600; white-space: nowrap; }
.pf-lines li.sum { border-top: 1px dashed var(--line-2); padding-top: 10px; color: var(--ink); font-weight: 700; }
.pf-lines li.disc b { color: var(--success); }
.pf-approx { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.75; color: #7a5300; padding: 12px 14px; border-radius: 14px; background: rgba(255, 200, 87, .07); border: 1px solid rgba(255, 200, 87, .3); }
.pf-approx::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 200, 87, .2); font: 800 12px var(--font-lat); margin-top: 2px; }

/* Journey (tracking) */
.pf-progress { height: 8px; border-radius: 999px; background: rgba(11, 42, 51, .054); overflow: hidden; }
.pf-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-deep, #08aeb9), var(--cyan)); box-shadow: 0 0 20px rgba(18, 217, 232, .6); transition: width .8s var(--ease); }
.pf-journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.pf-journey li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 0 0 22px; }
.pf-journey li::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; z-index: 1;
  font: 700 15px var(--font-lat); color: var(--faint); background: var(--bg-2); border: 1px solid var(--line-2); }
.pf-journey li::after { content: ""; position: absolute; inset-inline-start: 19.5px; top: 42px; bottom: 2px; width: 1px; background: var(--line-2); }
.pf-journey li:last-child::after { display: none; }
.pf-journey li:last-child { padding-bottom: 0; }
.pf-journey li.done::before { content: "✓"; color: var(--cyan-ink); background: var(--cyan); border-color: var(--cyan); }
.pf-journey li.done::after { background: linear-gradient(var(--cyan), var(--cyan-line)); }
.pf-journey li.current::before { color: var(--cyan-deep); background: var(--cyan-soft); border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(18, 217, 232, .1), 0 0 24px rgba(18, 217, 232, .4); }
.pf-journey li > div { padding-top: 7px; min-width: 0; }
.pf-journey b { display: block; font-size: 16px; }
.pf-journey small { display: block; color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 2px; }
.pf-journey li.todo b { color: var(--text-2, #33525a); }
.pf-journey .now { display: inline-block; margin-inline-start: 8px; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--cyan); color: var(--cyan-ink); vertical-align: 2px; }
.pf-journey .todo-box { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--cyan-soft); border: 1px solid var(--cyan-line); color: #0b4e56; font-size: 14px; line-height: 1.8; }
.pf-journey .todo-box b { display: inline; font-size: 14px; color: var(--cyan-deep); }

.pf-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--cyan) calc(var(--p) * 1%), rgba(11, 42, 51, .054) 0); }
.pf-ring > div { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 24px var(--font-lat); }
.pf-status-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.pf-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(11, 42, 51, .054); color: var(--muted); border: 1px solid var(--line); }
.pf-badge.cyan { background: var(--cyan-soft); color: var(--cyan-deep); border-color: var(--cyan-line); }
.pf-badge.ok { background: rgba(46, 212, 151, .12); color: var(--success); border-color: rgba(46, 212, 151, .35); }
.pf-badge.warn { background: rgba(255, 200, 87, .1); color: var(--warn); border-color: rgba(255, 200, 87, .35); }
.pf-badge.bad { background: rgba(255, 107, 107, .1); color: var(--danger); border-color: rgba(255, 107, 107, .35); }

.pf-docs { display: grid; gap: 10px; }
.pf-doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(11, 42, 51, .018); }
.pf-doc b { display: block; font-size: 15px; }
.pf-doc small { color: var(--muted); font-size: 13px; }
.pf-doc small.bad { color: var(--danger); }
.pf-doc-acts { display: flex; align-items: center; gap: 10px; }
.pf-file { position: relative; overflow: hidden; }
.pf-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pf-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pf-meta div { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pf-meta b { display: block; font-size: 12.5px; color: var(--faint); font-weight: 600; margin-bottom: 2px; }
.pf-meta span { font-weight: 700; }
.pf-cta-stack { display: grid; gap: 10px; margin-top: 16px; }
.pf-state { padding: 40px 24px; text-align: center; color: var(--muted); border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.pf-state .spin, .pf-spin { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(11, 42, 51, .108); border-top-color: var(--cyan); animation: pfspin .8s linear infinite; vertical-align: middle; margin-inline-end: 10px; }
@keyframes pfspin { to { transform: rotate(360deg); } }

/* Track lookup (status page without a token) */
.pf-lookup { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-lookup .pf-field { flex: 1 1 260px; }

/* Chooser (join landing) */
.pf-chooser .track-card { padding: clamp(28px, 4vw, 44px); }
.pf-chooser .track-card .h-sub { font-family: var(--font-lat); font-size: 13px; letter-spacing: .14em; color: var(--cyan-deep); font-weight: 700; }
.pf-compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.pf-compare th, .pf-compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.pf-compare th { color: var(--faint); font-weight: 600; font-size: 13.5px; width: 22%; }
.pf-compare thead th { color: var(--ink); font-size: 16px; width: auto; }
.pf-compare-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.pf-compare tr:last-child td, .pf-compare tr:last-child th { border-bottom: 0; }
