/* Hallmark · shape: Narrative Workflow, the middle of the page in the cost line's own order (estimate, bid, contract and payment, FX) · genre: modern-minimal · theme: brand · redesign: full (pass 2, 4 Dec) · job: join
 * paper: oklch(96.1% 0.008 85) · accent: oklch(51.6% 0.11 165) · display: Archivo condensed (wdth 78 to 86%) · body: Archivo · nav: edge-aligned bar, wordmark, five links, EN/TR, theme, one action · footer: mast, the wordmark and one line over two short link lists · signature: the cost-code plate (MasterFormat 03 31 00 as a drawing's title block, its figures from estimate to FX difference) and the sticky rail that keeps those figures while the sections pass
 * axes: light/grotesk-sans/chromatic-emerald · posture: restrained · contrast: pass · fold: pass · imagery: the product built in scenes · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: E, the lower half (modules to FAQ) keeps its ledgers and only takes the plate's heavy rule; the journey and the hero carry the new idea */
/* Hallmark · waive 24b · tokens.css carries the pmneX app grid rules (kicker gaps of 3 and 5px) copied unchanged · the landing keeps the app token file whole so both stay one source */
/* pmneX public pages (landing, sign in, sign up). Look tokens only (tokens.css);
   marketing type sizes above --fs-display are the one addition, kept to these pages. */
/* Archivo served from this site, so no visitor IP goes to a font host (KVKK notice §5). */
@font-face{font-family:"Archivo Local";font-style:normal;font-weight:400 800;font-stretch:62% 125%;font-display:swap;src:url(fonts/archivo-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Archivo Local";font-style:normal;font-weight:400 800;font-stretch:62% 125%;font-display:swap;src:url(fonts/archivo-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--font-sans:"Archivo Local",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;overflow-x:clip}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p,ul,ol,figure{margin:0;padding:0}
ul,ol{list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input{font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;outline:none;min-width:0}
.ico{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.num{font-family:var(--font-num);font-feature-settings:var(--num-features)}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
/* skip link: off screen until a keyboard user reaches it */
.skip{position:absolute;left:var(--s-4);top:var(--s-2);z-index:60;padding:8px 12px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font-size:14px;font-weight:500;transform:translateY(-300%)}
.skip:focus{transform:none}

/* ---- wordmark: pmne + the emerald X, one inline SVG (owner, 4 Dec) ---- */
.brand{display:inline-flex;align-items:center;height:48px;font-weight:400;font-size:36px;letter-spacing:-0.025em;color:var(--ink);line-height:1;padding-right:4px;font-stretch:96%}
:root{--brand-x:var(--accent)}
.brand .wm{display:block;height:.95em;width:auto;position:relative;top:.1em}
.brand.sm{font-size:30px}

/* ---- buttons (SPEC §6) ---------------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--control-h);padding:0 16px;border-radius:var(--r-md);font-size:14px;font-weight:600;line-height:1;white-space:nowrap;border:1px solid transparent;transition:background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease),border-color var(--dur-fast) var(--ease)}
.btn:active{filter:brightness(.92)}
.btn:disabled,.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed}
.btn-lg{height:var(--control-h-touch);padding:0 20px;font-size:15px}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn-primary:hover{background:var(--accent-hover)}
.btn-primary[aria-busy="true"]{opacity:.8;cursor:progress}
.btn-quiet{background:transparent;border-color:var(--line-strong);color:var(--ink)}
.btn-quiet:hover{background:var(--hover)}
.btn-ghost{color:var(--ink-2);padding:0 12px}
.btn-ghost:hover{background:var(--hover);color:var(--ink)}
.btn .ico{width:18px;height:18px}
.link{color:var(--accent-ink);font-weight:500;text-decoration:underline;text-decoration-color:var(--accent-line);text-underline-offset:3px}
.link:hover{text-decoration-color:currentColor}

/* ---- typed field on its write line (SPEC §6) --------------------------------- */
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.field-label{display:flex;justify-content:space-between;align-items:baseline;gap:var(--s-3);font-size:13px;line-height:16px;font-weight:500;color:var(--ink-2)}
.input{display:flex;align-items:center;gap:8px;height:var(--field-h);padding:1px 4px 0 12px;border-radius:var(--r-md);background:var(--field);border:1px solid var(--line-strong);border-bottom:2px solid var(--write-line);font-size:15px;color:var(--ink);transition:border-color var(--dur-fast) var(--ease)}
.input input{flex:1;height:100%;font-size:15px;color:var(--ink)}
.input input::placeholder{color:var(--ink-3);opacity:1}
.input:focus-within{outline:2px solid var(--focus);outline-offset:1px}
.input input:focus,.input input:focus-visible{outline:none;box-shadow:none}
.input input:-webkit-autofill,.input input:-webkit-autofill:hover,.input input:-webkit-autofill:focus{-webkit-text-fill-color:var(--ink);-webkit-box-shadow:0 0 0 40px var(--field) inset;caret-color:var(--ink);transition:background-color 9999s}
.input.is-invalid{border-color:var(--neg);border-bottom-color:var(--neg)}
.input .lead{color:var(--ink-3);width:18px;height:18px}
.input-btn{display:grid;place-items:center;width:32px;height:32px;border-radius:var(--r-sm);color:var(--ink-3)}
.input-btn:hover{background:var(--hover);color:var(--ink)}
.field-hint{font-size:13px;line-height:18px;color:var(--ink-3)}
.field-error{display:none;align-items:center;gap:8px;font-size:13px;line-height:18px;color:var(--neg)}
.field-error .ico{width:16px;height:16px}
.field.has-error .field-error{display:flex}

/* ---- checkbox (SPEC §6) ------------------------------------------------------- */
.checkrow{display:inline-flex;align-items:flex-start;gap:12px;min-height:32px;padding-top:8px;font-size:14px;line-height:20px;color:var(--ink);cursor:pointer;position:relative}
.checkrow input{position:absolute;opacity:0;width:1px;height:1px}
.check{display:inline-grid;place-items:center;width:18px;height:18px;margin-top:1px;border-radius:5px;border:1.5px solid var(--write-line);background:var(--surface);color:transparent;flex:none}
.check .ico{width:13px;height:13px;stroke-width:3}
.checkrow input:checked + .check{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.checkrow:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:4px;border-radius:var(--r-sm)}

/* ---- alert row ---------------------------------------------------------------- */
.alert{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);font-size:14px;line-height:20px}
.alert-ico{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;flex:none}
.alert-ico .ico{width:16px;height:16px}
.alert.neg .alert-ico{background:var(--neg-soft, color-mix(in srgb,var(--neg) 12%,transparent));color:var(--neg)}
.alert b{font-weight:600}

/* ---- pills, tags -------------------------------------------------------------- */
.tag{display:inline-flex;align-items:center;gap:8px;height:24px;padding:0 12px;border-radius:var(--r-pill);font-size:12px;line-height:16px;font-weight:500;background:var(--pill-on);color:var(--ink-2)}
.tag.pos{color:var(--pos);background:color-mix(in srgb,var(--pos) 12%,transparent)}
.tag.warn{color:var(--warn);background:color-mix(in srgb,var(--warn) 14%,transparent)}
.tag.accent{color:var(--accent-ink);background:var(--accent-soft)}

/* ---- mockup state switcher (review aid, not part of the product) ------------- */
.mock-state{position:fixed;right:16px;bottom:16px;z-index:50;display:flex;align-items:center;gap:4px;max-width:calc(100% - 32px);overflow-x:auto;padding:4px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line-strong);font-size:12px}
.mock-state span{padding:0 8px;color:var(--ink-3)}
.mock-state button{flex:none;white-space:nowrap;height:28px;padding:0 12px;border-radius:var(--r-pill);color:var(--ink-2);font-weight:500}
.mock-state button[aria-pressed="true"]{background:var(--pill-on);color:var(--ink)}

/* theme switch: shows the mode it switches to */
.theme-btn{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:var(--r-md);color:var(--ink-2);flex:none}
.theme-btn:hover{background:var(--hover);color:var(--ink)}
.theme-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-btn .sun,:root[data-mode="dark"] .theme-btn .moon{display:none}
:root[data-mode="dark"] .theme-btn .sun{display:block}

/* EN/TR switch (lang.js) */
.lang-mini{display:inline-flex;gap:4px;padding:4px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);font-size:12px;font-weight:500}
.lang-mini button{height:24px;padding:0 8px;border-radius:var(--r-pill);color:var(--ink-3)}
.lang-mini button[aria-pressed="true"]{background:var(--pill-on);color:var(--ink)}
.lang-mini button:hover{color:var(--ink)}
b,strong{font-weight:600}
h1,h2,h3{text-wrap:balance;overflow-wrap:break-word;min-width:0}
p{text-wrap:pretty}
::selection{background:var(--accent-soft);color:var(--ink)}
