/* Phase PS1: NxT Franchise Setup. Phone first; from 992px a left menu replaces the bottom tabs. */
:root { --t: #08516E; --td: #063D54; --y: #F0B811; --ys: #FDF3D0; --g: #038C43; --p: #CB2B86; --s: #24A0D9; --ink: #13303D; --mut: #546B76; --line: #DCE8EE; --alt: #F2F7F9; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Poppins", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--alt); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; }
a { color: var(--t); }
h1, h2, h3, p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-adminbar { background: var(--y); color: var(--td); text-align: center; font-size: 13px; font-weight: 600; padding: 4px; }
.pp-shell { display: block; }
.pp-side { display: none; }
.pp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 16px; background: var(--t); color: #fff; }
.pp-top h1 { flex: 1; font-size: 17px; font-weight: 600; }
.pp-back { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; color: #fff; }
.pp-back svg { width: 22px; height: 22px; }
.pp-out { color: #C9DFE8; font-size: 13px; text-decoration: none; padding: 8px 0 8px 8px; }
.pp-page { padding: 14px 14px 92px; display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.pp-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0); }
.pp-tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; min-height: 58px; color: var(--mut); text-decoration: none; font-size: 11.5px; }
.pp-tabs a svg { width: 22px; height: 22px; }
.pp-tabs a.on { color: var(--t); font-weight: 600; }
/* parts */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 0; border-radius: 12px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.pp-btn.wide { width: 100%; }
.pp-btn.t { background: var(--t); color: #fff; }
.pp-btn.y { background: var(--y); color: var(--td); }
.pp-btn.o { background: #fff; color: var(--t); border: 1px solid var(--t); }
.pp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.pp-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pp-card h3 ~ h3 { margin-top: 14px; }
.pp-cardh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pp-cardh h3 { margin-bottom: 4px; }
.pp-mut { color: var(--mut); font-size: 14px; }
.pp-h { font-size: 18px; font-weight: 700; margin: 6px 0 10px; }
.pp-note { padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.pp-note.ok { background: #e2f5ea; border-color: #bfe3cf; color: #14532d; }
.pp-note.err { background: #fdecec; border-color: #f6caca; color: #a12020; }
.pp-empty { padding: 32px 18px; text-align: center; color: var(--mut); background: #fff; border: 1px dashed var(--line); border-radius: 16px; }
.pp-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--alt); color: var(--mut); white-space: nowrap; }
.pp-chip.ok { background: #e2f5ea; color: #0b6b35; } .pp-chip.warn { background: var(--ys); color: #7a5b00; } .pp-chip.bad { background: #fdecec; color: #a12020; }
.pp-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.pp-card h3 + .pp-row { border-top: 0; }
.pp-row b { font-weight: 600; font-size: 14.5px; display: block; }
.pp-row small { display: block; color: var(--mut); font-size: 12.5px; }
.pp-row .r { text-align: right; flex: none; max-width: 55%; font-size: 14px; }
.pp-row .r.wide { max-width: 68%; color: var(--mut); }
.pp-row b.g, .pp-3 b.g { color: var(--g); }
.pp-link { display: inline-block; margin-top: 4px; padding: 4px 0; font-size: 13.5px; font-weight: 600; }
.pp-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-3 > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; }
.pp-3 small { display: block; color: var(--mut); font-size: 12px; }
.pp-3 b { font-size: 15px; font-weight: 700; } .pp-3 b.sm { font-size: 12.5px; font-weight: 600; }
.pp-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.22); overflow: hidden; margin-top: 12px; }
.pp-bar span { display: block; height: 100%; background: var(--y); border-radius: 8px; }
.pp-bar.soft { background: var(--alt); margin: 6px 0; } .pp-bar.soft span { background: var(--g); }
.pp-barx { display: flex; justify-content: space-between; font-size: 12.5px; color: #C9DFE8; margin-top: 6px; }
.pp-hello { background: linear-gradient(135deg, #063D54, #08516E 60%, #0E6E8F); color: #fff; border-radius: 18px; padding: 18px; }
.pp-hello small { color: #C9DFE8; } .pp-hello h2 { font-size: 21px; font-weight: 700; } .pp-hello p { color: #C9DFE8; font-size: 14px; }
.pp-cta { background: #fff; border: 2px solid var(--y); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.pp-cta small { display: block; color: var(--mut); font-size: 13px; } .pp-cta b { font-size: 24px; font-weight: 700; } .pp-cta p { font-size: 14px; color: var(--mut); }
.pp-cta.done { border-color: var(--g); } .pp-cta.done b { font-size: 18px; color: var(--g); }
.pp-next { display: block; margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--ys); color: var(--ink); text-decoration: none; }
.pp-next small, .pp-next span { display: block; font-size: 13px; color: var(--mut); } .pp-next b { display: block; }
.pp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-tile { display: block; padding: 14px; min-height: 84px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--t); border-radius: 14px; color: var(--ink); text-decoration: none; }
.pp-tile b { display: block; font-size: 14.5px; font-weight: 600; } .pp-tile span { font-size: 12.5px; color: var(--mut); }
.pp-tile.yellow { border-left-color: var(--y); } .pp-tile.green { border-left-color: var(--g); } .pp-tile.pink { border-left-color: var(--p); } .pp-tile.sky { border-left-color: var(--s); }
.pp-menu { display: grid; gap: 8px; }
.pp-menu a { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.pp-menu b { display: block; font-weight: 600; } .pp-menu span { font-size: 13.5px; color: var(--mut); }
/* forms */
.pp-f { display: block; margin-bottom: 11px; }
.pp-f > span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.pp-f input, .pp-f select, .pp-f textarea, .pp-inline input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.pp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-inline { display: flex; gap: 8px; margin: 10px 0; }
.pp-inline input { flex: 1; min-width: 0; }
/* payment sheet */
.pp-sheet { width: 100%; max-width: 480px; max-height: 92vh; margin: auto auto 0; padding: 18px; border: 0; border-radius: 18px 18px 0 0; overflow-y: auto; color: var(--ink); }
.pp-sheet::backdrop { background: rgba(6,61,84,.55); }
.pp-sheethead { display: flex; justify-content: space-between; align-items: center; }
.pp-sheet h2 { font-size: 18px; } .pp-sheet h3 { font-size: 15px; margin: 14px 0 8px; }
.pp-x { width: 44px; height: 44px; border: 0; background: none; font-size: 26px; color: var(--mut); cursor: pointer; }
.pp-payamt small { display: block; color: var(--mut); font-size: 13px; } .pp-payamt b { font-size: 24px; }
.pp-kv { margin: 10px 0; } .pp-kv > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.pp-kv dt { color: var(--mut); font-size: 13px; } .pp-kv dd { margin: 0; font-weight: 600; text-align: right; font-size: 14px; }
.pp-copy { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 8px; min-height: 30px; font: inherit; font-size: 12px; color: var(--t); cursor: pointer; }
/* steps + training */
.pp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp-steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pp-steps summary { display: flex; gap: 10px; align-items: center; padding: 13px 14px; cursor: pointer; list-style: none; min-height: 56px; }
.pp-steps summary::-webkit-details-marker { display: none; }
.pp-steps .n { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--t); color: #fff; font-size: 13px; font-weight: 600; }
.pp-steps li.done .n { background: var(--g); }
.pp-steps .t b { display: block; font-weight: 600; } .pp-steps .t small { color: var(--mut); font-size: 12.5px; }
.pp-steps .b { padding: 0 14px 14px; }
.pp-html { font-size: 14px; color: var(--mut); } .pp-html p { margin: 4px 0; }
.pp-comment { margin: 8px 0; padding: 9px 11px; border-radius: 10px; background: var(--alt); font-size: 14px; } .pp-comment.me { background: var(--ys); } .pp-comment small { display: block; color: var(--mut); font-size: 12px; }
.pp-time { display: grid; gap: 10px; }
.pp-time article { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pp-time article.past { opacity: .65; } .pp-time article.today { border: 2px solid var(--y); }
.pp-date { flex: 0 0 56px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--t); color: #fff; border-radius: 12px; }
.pp-date b { font-size: 21px; line-height: 1.1; } .pp-date span { font-size: 12px; }
.pp-tbody h3 { font-size: 15.5px; margin-top: 4px; }
/* guides */
.pp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pp-seg button { min-height: 44px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--mut); cursor: pointer; }
.pp-seg button.on { background: var(--t); color: #fff; }
[data-segbody] { display: grid; gap: 14px; } [data-segbody][hidden] { display: none; }
.pp-stack { padding: 10px 0; border-top: 1px solid var(--line); } .pp-card h3 + .pp-stack { border-top: 0; }
.pp-stack b { display: block; font-weight: 600; font-size: 14.5px; } .pp-stack span { font-size: 14px; color: var(--mut); }
.pp-ticks, .pp-ol { margin: 0; padding-left: 20px; font-size: 14.5px; } .pp-ticks li, .pp-ol li { margin: 5px 0; }
.pp-layouts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pp-layout { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.pp-layout svg { width: 100%; height: auto; display: block; background: #fafcfd; border-radius: 8px; stroke-width: 1.2; }
.pp-layout h3 { font-size: 15px; margin-top: 8px; } .pp-layout small { color: var(--t); font-size: 12.5px; font-weight: 600; } .pp-layout p { font-size: 14px; color: var(--mut); margin-top: 3px; }
.room { fill: #fff; stroke: var(--td); stroke-width: 3; } .desk { fill: #E8D5B5; stroke: #A98B5D; } .chair { fill: var(--t); stroke: #fff; } .pc { fill: #13303D; stroke: #13303D; }
.sofa { fill: var(--y); stroke: #B98C00; } .board { fill: var(--p); stroke: var(--p); } .glass { stroke: var(--s); stroke-width: 3; stroke-dasharray: 6 3; } .wall { stroke: var(--td); stroke-width: 3; } .door { fill: none; stroke: var(--g); stroke-width: 1.6; }
.pp-layout text { fill: var(--ink); stroke: none; font-size: 12px; font-family: inherit; font-weight: 600; }
.pp-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-sw { min-height: 92px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; text-align: left; font: inherit; cursor: pointer; }
.pp-sw b { display: block; font-weight: 600; } .pp-sw span { font-size: 13px; }
.pp-logo { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .pp-logo img { max-width: 170px; max-height: 80px; }
.pp-result { margin: 12px 0 0; } .pp-result img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; margin-bottom: 8px; } .pp-result figcaption { font-size: 14px; color: var(--mut); margin-bottom: 8px; }
/* login */
.pp-loginbody { min-height: 100vh; display: grid; place-items: center; padding: 18px; background: linear-gradient(135deg, #063D54, #08516E 60%, #0E6E8F); }
.pp-login { width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 26px 22px; display: grid; gap: 12px; }
.pp-login h1 { font-size: 22px; font-weight: 700; } .pp-login p { color: var(--mut); font-size: 14px; }
.pp-loginlogo { max-width: 150px; max-height: 70px; }
.pp-help { text-align: center; font-size: 13px; }
@media (max-width: 400px) { .pp-two { grid-template-columns: 1fr; gap: 0; } }
@media (min-width: 640px) { .pp-layouts { grid-template-columns: 1fr 1fr; } .pp-tiles { grid-template-columns: repeat(4, 1fr); } .pp-swatches { grid-template-columns: repeat(4, 1fr); } .pp-sheet { margin: auto; border-radius: 18px; } }
@media (min-width: 992px) {
    .pp-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
    .pp-side { display: block; position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--td); color: #fff; padding: 18px 12px; }
    .pp-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; padding: 4px 8px 16px; }
    .pp-brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #fff; }
    .pp-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px; min-height: 44px; border-radius: 10px; color: #C9DFE8; text-decoration: none; font-size: 14.5px; }
    .pp-side nav a svg { width: 20px; height: 20px; }
    .pp-side nav a.on, .pp-side nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
    .pp-side nav small { display: block; margin: 16px 10px 4px; color: #8FB6C6; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
    .pp-tabs { display: none; }
    .pp-page { padding: 22px 26px 40px; }
}
@media (min-width: 992px) { .pp-layouts { grid-template-columns: repeat(3, 1fr); } }
/* Phase PS2: premium dashboard, roadmap, photos */
body { background: #EEF4F7; }
.pp-card, .pp-3 > div, .pp-tile, .pp-menu a, .pp-layout, .pp-steps li, .pp-time article { box-shadow: 0 2px 10px rgba(8,81,110,.06); }
.pp-tl { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; flex: none; } .pp-tl img { width: 34px; height: 34px; object-fit: contain; }
.pp-top h1 { font-size: 15px; }
.pp-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px 10px; align-items: center; padding: 20px 18px; border-radius: 20px; color: #fff; overflow: hidden; background: radial-gradient(120% 90% at 100% 0, #137FA3 0, rgba(19,127,163,0) 60%), linear-gradient(140deg, #052F42, #08516E 70%); }
.pp-hero:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #038C43, #F0B811, #CB2B86); }
.pp-hero small { color: #F7D468; font-weight: 500; } .pp-hero h2 { font-size: 22px; font-weight: 700; line-height: 1.25; } .pp-hero p { color: #C9DFE8; font-size: 13.5px; }
.pp-hero-p { grid-column: 1 / -1; }
.pp-ring { position: relative; width: 84px; height: 84px; } .pp-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); stroke-width: 7; } .pp-ring .bg { stroke: rgba(255,255,255,.18); } .pp-ring .fg { stroke: var(--y); }
.pp-ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; } .pp-ring b { font-size: 17px; } .pp-ring span { font-size: 11px; color: #C9DFE8; }
.pp-mega { padding: 20px 18px; border-radius: 20px; display: grid; gap: 8px; color: var(--td); background: linear-gradient(135deg, #FFD65A, #F0B811); box-shadow: 0 12px 28px rgba(240,184,17,.38); }
.pp-mega .tag { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--td); color: #fff; font-size: 12px; font-weight: 600; }
.pp-mega h3 { font-size: 20px; font-weight: 700; line-height: 1.25; } .pp-mega .amt { font-size: 30px; font-weight: 700; line-height: 1.1; } .pp-mega .amt span { display: block; font-size: 13px; font-weight: 500; }
.pp-mega p { font-size: 14px; } .pp-mega ul { margin: 0; padding-left: 18px; font-size: 14px; font-weight: 500; }
.pp-btn.glow { background: var(--td); color: #fff; min-height: 54px; font-size: 17px; position: relative; overflow: hidden; }
.pp-btn.glow:after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); animation: ppShine 2.6s ease-in-out infinite; }
@keyframes ppShine { 60%, 100% { left: 130%; } } @media (prefers-reduced-motion: reduce) { .pp-btn.glow:after { animation: none; } }
.pp-three { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; } .pp-three li { display: flex; gap: 12px; } .pp-three b { font-weight: 600; font-size: 14.5px; display: block; line-height: 1.35; } .pp-three p { font-size: 13.5px; color: var(--mut); } .pp-three a { font-size: 13.5px; font-weight: 600; }
.pp-three .n, .pp-road .n { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 14px; background: var(--alt); color: var(--mut); } .pp-three .n svg, .pp-road .n svg { width: 18px; height: 18px; }
.pp-three .done .n, .pp-road .done .n { background: var(--g); color: #fff; } .pp-three .now .n, .pp-road .progress .n { background: var(--y); color: var(--td); } .pp-road .ready .n { background: var(--ys); color: #7a5b00; }
.pp-now { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; padding: 12px; border-radius: 12px; background: var(--alt); margin-top: 6px; } .pp-now small { width: 100%; color: var(--mut); font-size: 12px; } .pp-now b { font-weight: 600; flex: 1 1 200px; }
.pp-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; } .pp-stages div { padding: 10px; border-radius: 12px; border: 1px solid var(--line); } .pp-stages div.open { border-color: var(--g); background: #f0faf4; } .pp-stages small { display: block; font-size: 11.5px; color: var(--mut); line-height: 1.25; } .pp-stages b { font-size: 16px; }
.pp-help2 { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); } .pp-help2 h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; } .pp-help2 > div { display: grid; gap: 8px; }
.pp-help2 a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--alt); color: var(--ink); text-decoration: none; min-height: 56px; } .pp-help2 b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; } .pp-help2 small { color: var(--mut); font-size: 12.5px; }
.pp-help2 .ic { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--t); color: #fff; } .pp-help2 .ic svg { width: 20px; height: 20px; }
.pp-kit { padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, #052F42, #08516E); } .pp-kit h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; } .pp-kit h4 { font-size: 14px; margin: 14px 0 8px; color: #F7D468; font-weight: 600; }
.pp-kit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; } .pp-kit li:before { content: "\2713"; color: var(--y); font-weight: 700; margin-right: 8px; } .pp-locks { display: flex; flex-wrap: wrap; gap: 6px; } .pp-locks span { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12.5px; }
.pp-two-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pp-road { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; } .pp-road li { display: flex; gap: 12px; } .pp-road li.locked { opacity: .62; } .pp-road b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.35; } .pp-road p { font-size: 13.5px; color: var(--mut); margin-bottom: 4px; } .pp-rnote { padding: 8px 10px; background: var(--alt); border-radius: 8px; color: var(--ink)!important; margin-top: 6px; }
.pp-doc { display: block; padding: 10px 12px; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.pp-seg.four { grid-template-columns: 1fr 1fr; }
.pp-gal { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; } .pp-gal figure { position: relative; margin: 0; flex: 0 0 72%; scroll-snap-align: start; } .pp-gal img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; border-radius: 12px; background: var(--alt); }
.pp-view { position: absolute; right: 8px; bottom: 8px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--td); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; } .pp-view.in { position: static; flex: none; }
.pp-lh { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; } .pp-lh h3 { margin: 0; }
.pp-ainote { margin-top: 8px; font-size: 12.5px; }
.pp-light { width: min(96vw, 1100px); max-height: 92vh; padding: 10px; border: 0; border-radius: 14px; } .pp-light::backdrop { background: rgba(5,47,66,.85); } .pp-light img { width: 100%; height: auto; display: block; border-radius: 8px; } .pp-light .pp-x { float: right; } .pp-light [data-svg] svg { width: 100%; height: auto; stroke-width: 1.2; }
@media (min-width: 640px) { .pp-seg.four { grid-template-columns: repeat(4, 1fr); } .pp-gal figure { flex: 1 1 0; min-width: 0; } .pp-help2 > div { grid-template-columns: 1fr 1fr; } .pp-kit ul { grid-template-columns: 1fr 1fr; } }

/* Phase PS5: modern app look */
:root { --c1: #1E88E5; --c2: #038C43; --c3: #EF7C00; --c4: #7C3AED; --c5: #CB2B86; }
.c1 { --cc: var(--c1); } .c2 { --cc: var(--c2); } .c3 { --cc: var(--c3); } .c4 { --cc: var(--c4); } .c5 { --cc: var(--c5); }
.pp-top { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(8,81,110,.08); gap: 10px; }
.pp-top h1 { font-size: 16.5px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pp-burger { width: 40px; height: 40px; margin-left: -6px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; flex: none; } .pp-burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--td); }
.pp-tl { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #E3F0F5; } .pp-tl img { width: 40px; height: 40px; border-radius: 50%; }
.pp-bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--td); flex: none; } .pp-bell svg { width: 23px; height: 23px; } .pp-bell b { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #E53935; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.pp-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #7C3AED, #1E88E5); color: #fff; font-weight: 700; text-decoration: none; flex: none; }
.pp-tabs { box-shadow: 0 -4px 16px rgba(8,81,110,.08); border-top: 0; } .pp-tabs a { color: var(--mut); gap: 3px; padding: 7px 2px 6px; }
.ti { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--cc) 55%, #fff); background: color-mix(in srgb, var(--cc) 9%, #fff); color: var(--cc); flex: none; } .ti svg { width: 19px; height: 19px; }
.pp-tabs a.on { color: var(--cc); } .pp-tabs a.on .ti { background: var(--cc); border-color: var(--cc); color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--cc) 40%, transparent); }
.pp-shade { display: none; }
.pp-side { display: block; position: fixed; top: 0; bottom: 0; left: 0; z-index: 50; width: 280px; max-width: 86vw; overflow-y: auto; background: #fff; padding: 16px 12px 24px; transform: translateX(-104%); transition: transform .22s ease; }
body.pp-open .pp-side { transform: none; box-shadow: 8px 0 30px rgba(6,61,84,.25); } body.pp-open .pp-shade { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(6,61,84,.5); }
.pp-brand { display: flex; align-items: center; gap: 10px; color: var(--td); text-decoration: none; font-weight: 700; padding: 4px 6px 12px; } .pp-brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px #E3F0F5; } .pp-brand small { display: block; font-size: 12px; font-weight: 500; color: var(--mut); }
.pp-side nav small { display: block; margin: 12px 8px 4px; color: var(--mut); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pp-side nav a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; min-height: 46px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; } .pp-side nav a .ti { width: 36px; height: 32px; } .pp-side nav a.on { background: color-mix(in srgb, var(--cc) 12%, #fff); color: var(--cc); font-weight: 600; }
.pp-count { margin-left: auto; min-width: 22px; padding: 0 6px; border-radius: 11px; background: #E53935; color: #fff; font-size: 12px; text-align: center; }
.pp-count-card { padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #7C3AED, #CB2B86 60%, #EF7C00); box-shadow: 0 12px 26px rgba(124,58,237,.3); display: grid; gap: 12px; } .pp-count-card small { font-size: 13px; opacity: .9; } .pp-count-card .h b { display: block; font-size: 20px; font-weight: 700; } .pp-count-card p { font-size: 14px; }
.pp-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .pp-clock[hidden] { display: none; } .pp-clock div { padding: 10px 2px; border-radius: 14px; background: rgba(255,255,255,.18); text-align: center; } .pp-clock b { display: block; font-size: 25px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; } .pp-clock span { font-size: 11.5px; }
.pp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pp-stats a { display: block; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cc); box-shadow: 0 2px 10px rgba(8,81,110,.06); color: var(--ink); text-decoration: none; } .pp-stats small { display: block; color: var(--mut); font-size: 13px; } .pp-stats b { display: block; font-size: 20px; font-weight: 700; line-height: 1.3; } .pp-stats i { display: block; height: 6px; border-radius: 6px; background: var(--alt); overflow: hidden; margin: 5px 0; } .pp-stats i span { display: block; height: 100%; background: var(--cc); } .pp-stats em { font-style: normal; font-size: 12.5px; color: var(--mut); }
.pp-quick { display: grid; gap: 8px; } .pp-quick a { display: flex; align-items: center; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--cc) 50%, #fff); background: color-mix(in srgb, var(--cc) 8%, #fff); color: var(--cc); font-weight: 600; text-decoration: none; }
.pp-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pp-more a { display: block; padding: 14px; min-height: 78px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--cc), color-mix(in srgb, var(--cc) 62%, #063D54)); text-decoration: none; } .pp-more b { display: block; font-size: 14.5px; font-weight: 600; } .pp-more span { font-size: 12.5px; opacity: .95; }
.pp-notes { display: grid; gap: 10px; } .pp-notes article { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c, var(--t)); } .pp-notes article.new { background: #FFFBEC; } .pp-notes .h { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .pp-notes b { font-weight: 600; } .pp-notes p { font-size: 14px; color: var(--mut); margin-top: 3px; } .pp-notes small { display: block; font-size: 12px; color: var(--mut); margin-top: 6px; }
.pp-ag { display: grid; gap: 8px; justify-items: start; } .pp-ag .pp-btn { justify-self: stretch; } .pp-ag h3 { margin: 0; }
#ppMap { height: 340px; border-radius: 12px; z-index: 1; }
.pp-calc { display: grid; gap: 8px; margin-top: 4px; } .pp-calc div { padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--cc) 10%, #fff); } .pp-calc small { display: block; font-size: 13px; color: var(--mut); } .pp-calc b { font-size: 21px; font-weight: 700; color: var(--cc); }
.pp-courses { display: grid; grid-template-columns: 1fr; gap: 8px; } .pp-courses article { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; } .pp-courses article[hidden] { display: none; } .pp-courses b { display: block; font-weight: 600; font-size: 14.5px; } .pp-courses span { font-size: 13px; color: var(--mut); }
.pp-appdl { max-width: 760px; margin: 0 auto; padding: 16px; } .pp-appdl .hero { padding: 26px 20px; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(135deg, #052F42, #08516E 60%, #7C3AED); display: grid; gap: 12px; justify-items: center; } .pp-appdl .hero img { width: 92px; height: 92px; border-radius: 50%; } .pp-appdl h1 { font-size: 21px; font-weight: 700; } .pp-appdl .hero p { font-size: 14px; color: #D8E8EF; } .pp-appdl .qr { background: #fff; border-radius: 14px; padding: 10px; color: var(--ink); display: none; } .pp-appdl .qr img { border-radius: 0; width: 150px; height: 150px; } .pp-appdl .qr span { display: block; font-size: 12px; } .pp-appdl h2 { font-size: 18px; margin: 20px 2px 10px; } .pp-appdl .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .pp-appdl .steps li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; } .pp-appdl .steps li > b { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--t); color: #fff; } .pp-appdl strong { display: block; } .pp-appdl .steps span { font-size: 14px; color: var(--mut); } .pp-appdl details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; } .pp-appdl summary { font-weight: 600; cursor: pointer; } .pp-appdl details p { font-size: 14px; color: var(--mut); margin-top: 6px; }
.pp-loginlogo { width: 92px; height: 92px; max-width: none; max-height: none; border-radius: 50%; justify-self: center; }
@media (min-width: 640px) { .pp-quick { grid-template-columns: repeat(3, 1fr); } .pp-stats { grid-template-columns: repeat(4, 1fr); } .pp-more { grid-template-columns: repeat(4, 1fr); } .pp-courses { grid-template-columns: 1fr 1fr; } .pp-calc { grid-template-columns: repeat(3, 1fr); } .pp-appdl .qr { display: block; } }
@media (min-width: 992px) { .pp-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); } .pp-side { position: sticky; height: 100vh; transform: none; color: var(--ink); background: #fff; border-right: 1px solid var(--line); z-index: 5; } .pp-burger, .pp-tl, .pp-shade { display: none !important; } .pp-side nav a { color: var(--ink); } .pp-side nav a:hover { background: var(--alt); color: var(--ink); } .pp-side nav a.on, .pp-side nav a.on:hover { background: color-mix(in srgb, var(--cc) 12%, #fff); color: var(--cc); } .pp-side nav a svg { width: 19px; height: 19px; } .pp-side nav small { color: var(--mut); } .pp-brand img { background: none; } .pp-top { position: sticky; } }

/* Phase PS8 */
.pp-go { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px; margin-top: 5px; border-radius: 10px; background: var(--t); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.pp-now .pp-go { margin-top: 0; }
.pp-soon { display: grid; gap: 8px; padding: 22px 18px; border-radius: 20px; color: #fff; text-align: center; background: linear-gradient(135deg, #052F42, #08516E 65%, #137FA3); }
.pp-soon h2 { font-size: 24px; font-weight: 700; line-height: 1.25; } .pp-soon p { font-size: 17px; color: #E3F0F5; } .pp-soon .amt { font-size: 28px; font-weight: 700; color: #F7D468; } .pp-soon .pp-btn { background: var(--y); color: var(--td); }

/* Phase PS13 */
.pp-sitegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pp-sitegrid figure { margin: 0; } .pp-sitegrid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; background: var(--alt); } .pp-sitegrid figcaption { font-size: 12px; color: var(--mut); margin-top: 3px; }
.pp-cam { margin-bottom: 12px; cursor: pointer; }
.pp-geo iframe { width: 100%; height: 280px; border: 0; border-radius: 12px; margin-top: 10px; background: var(--alt); }
.pp-courses { gap: 12px; } .pp-courses article { padding: 0; overflow: hidden; border: 0; border-radius: 18px; box-shadow: 0 6px 18px rgba(8,81,110,.10); background: #fff; }
.pp-courses .top { position: relative; height: 120px; background: linear-gradient(135deg, var(--g1), var(--g2)); } .pp-courses .top img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.pp-courses .top .ic { position: absolute; left: 14px; bottom: -22px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fff; font-size: 26px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.pp-courses .bd { padding: 28px 14px 14px; } .pp-courses b { font-size: 15.5px; } .pp-courses .bd p { font-size: 13px; color: var(--mut); margin: 4px 0 8px; }
.pp-courses .chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--g1); background: color-mix(in srgb, var(--g1) 12%, #fff); }
.pp-more100 { display: grid; gap: 14px; padding: 22px 16px; border-radius: 22px; background: linear-gradient(140deg, #052F42, #08516E 55%, #7C3AED); color: #fff; text-align: center; }
.pp-more100 h2 { font-size: 26px; font-weight: 700; line-height: 1.25; }
.pp-unlock { position: relative; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.1); text-align: left; overflow: hidden; } .pp-unlock:before { content: ""; position: absolute; inset: -2px; border-radius: 20px; padding: 2px; background: conic-gradient(from var(--a, 0deg), #F0B811, #CB2B86, #24A0D9, #038C43, #F0B811); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ppRing 4s linear infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; } @keyframes ppRing { to { --a: 360deg; } }
.pp-unlock h3 { font-size: 16px; margin-bottom: 10px; color: #F7D468; } .pp-unlock ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pp-unlock li { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 14px; font-weight: 600; animation: ppPop .5s ease both; } .pp-unlock li span { font-size: 20px; }
.pp-unlock li:nth-child(2) { animation-delay: .06s } .pp-unlock li:nth-child(3) { animation-delay: .12s } .pp-unlock li:nth-child(4) { animation-delay: .18s } .pp-unlock li:nth-child(5) { animation-delay: .24s } .pp-unlock li:nth-child(6) { animation-delay: .3s } .pp-unlock li:nth-child(7) { animation-delay: .36s } .pp-unlock li:nth-child(8) { animation-delay: .42s }
@keyframes ppPop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp-unlock:before, .pp-unlock li { animation: none; } }
@media (min-width: 640px) { .pp-sitegrid { grid-template-columns: repeat(4, 1fr); } .pp-unlock ul { grid-template-columns: repeat(4, 1fr); } .pp-courses { grid-template-columns: repeat(3, 1fr); } }
