/* cartesianecu.com: the public file pages (/files/..., server/api.mandiag.com/cartesian/_files/), on top of site.css and
   catalog.css (the catalogue's card, facts, columns and tables): the search forms, the pairs and reads tables, the pager, the
   order form. Plain columns and lists, no badges (the owner's rule). The tokens are site.css's. */

.fl-mono{font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:.94em;overflow-wrap:anywhere}
.fl-num{font-variant-numeric:tabular-nums;text-align:end}

/* the forms: a label over one row of field + button */
.fl-search,.fl-order-form{margin:14px 0 0;max-width:720px}
.fl-upload{margin-top:26px}
.fl-label{display:block;margin:0 0 6px;font-size:14px;color:var(--muted)}
.fl-note{margin:0 0 8px}
.fl-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fl-row input[type=search],.fl-row input[type=email]{flex:1 1 260px;min-width:0;padding:11px 14px;font:inherit;font-size:15px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.fl-row input[type=search]:focus,.fl-row input[type=email]:focus{outline:2px solid var(--accent);outline-offset:1px}
.fl-row input[type=file]{flex:1 1 260px;min-width:0;padding:9px 12px;font:inherit;font-size:14px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.fl-row .btn{flex:none}
.fl-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.fl-warn{color:var(--accent-text);font-weight:500}

/* the tables: every cell wraps but the numbers (catalog.css keeps the first two columns mono and nowrap) */
.fl-table{min-width:0;width:100%}
.fl-table th,.fl-table td{white-space:normal;vertical-align:top}
.fl-table td:first-child,.fl-table td:nth-child(2){white-space:nowrap}
.fl-table td.fl-veh,.fl-table td.fl-unit,.fl-table td.fl-hint{color:var(--muted);font-size:14px}
.fl-reads td:first-child,.fl-reads td:nth-child(2){font-family:inherit;font-size:15px}
.fl-reads td.fl-hint{font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:13px}
.fl-reads td:last-child{text-align:end}
.fl-order{padding:6px 14px;font-size:14px}

/* the pager under a family's table */
.fl-pages{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0 0;font-size:14.5px}
.fl-pages a{color:var(--accent-text);font-weight:500;text-decoration:none}
.fl-pages a:hover{text-decoration:underline}

.fl-orderfacts{margin-top:0}

/* the index: every family under its maker (the file shops' ECU types page) */
.fl-maker{margin:22px 0 8px;font-size:17px;font-weight:600;letter-spacing:-.01em}
.fl-maker a{color:inherit;text-decoration:none}
.fl-maker a:hover{color:var(--accent-text)}
.fl-types{margin-bottom:6px;font-size:14.5px}
.fl-types .fl-num{font-size:12.5px}
.fl-pay{margin:14px 0 0}
/* a read's page: the heading's numbers, two columns (the data and the texts; the buy box beside them, staying in view) */
.fl-h1-nums{display:block;margin-top:10px;font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:.52em;font-weight:500;letter-spacing:0;color:var(--card-ink3)}
.fl-product{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:0 44px;align-items:start}
.fl-main{min-width:0}
.fl-buy{position:sticky;top:calc(var(--head-h) + 20px);margin-top:34px;padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.fl-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin:0 0 16px}
.fl-price-n{font-size:34px;font-weight:600;letter-spacing:-.02em;line-height:1}
.fl-price-sub{color:var(--muted);font-size:14px}
.fl-buy .fl-cta{margin:0 0 20px}
.fl-buy .fl-cta .btn{width:100%;justify-content:center;font-size:16px;padding:13px 20px}
.fl-assure{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:9px;font-size:14.5px;line-height:1.45}
.fl-assure li{position:relative;padding-inline-start:20px}
.fl-assure li::before{content:"";position:absolute;inset-inline-start:2px;top:.52em;width:7px;height:7px;border-radius:50%;background:var(--accent)}
.fl-buy h3{margin:0 0 8px;font-size:15px;font-weight:600}
.fl-inside{margin:0 0 14px;display:grid;gap:6px;font-size:14.5px}
.fl-inside div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.fl-inside div:last-child{border-bottom:0}
.fl-inside dt{color:var(--muted)}
.fl-inside dd{margin:0;text-align:end}
.fl-help{margin:0;font-size:13.5px;color:var(--muted)}
.fl-help a{color:var(--accent-text)}
.fl-more{margin-top:14px}
.fl-specs{display:grid;gap:22px}
.fl-spec{width:100%;border-collapse:collapse;font-size:15px}
.fl-spec caption{text-align:start;padding:0 0 6px;font-size:13px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.fl-spec th{width:40%;text-align:start;font-weight:500;color:var(--muted);padding:9px 14px 9px 0;border-bottom:1px solid var(--line);vertical-align:top}
.fl-spec td{padding:9px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.fl-spec td a{color:inherit}
.fl-spec tr:last-child th,.fl-spec tr:last-child td{border-bottom:0}
@media (max-width:960px){
  .fl-product{grid-template-columns:1fr}
  .fl-buy{position:static;order:-1;margin-top:20px}
}

/* a button of its own (never inside a .cat-p: its link colour would paint the button's text) */
.fl-cta{margin:18px 0 6px}
.fl-cta .btn{font-size:15px;padding:11px 20px}

@media (max-width:600px){
  .fl-row input[type=search],.fl-row input[type=email],.fl-row input[type=file]{flex-basis:100%}
  .fl-table td.fl-veh,.fl-table td.fl-hint{display:none}
  .fl-table th:nth-child(3),.fl-reads th:nth-child(3){display:none}
}

/* ---- the Database page (/files/, /files/oem/<tab>/: _files/lib/db.php), laid out as the app's Database page: the tabs, the
   bar, the start view (the examples to try, the makes, a dimmed sample of the table, the drop hint), a search's results with
   the filters above them, a row's details, the drop layer over the whole page while a file is dragged (owner 2026-11-10:
   dropped anywhere). Plain text throughout: no badges, no pills (owner). ---- */
.db{margin-top:4px}
.db-tabs{display:flex;flex-wrap:wrap;gap:2px;margin:0 0 0 -10px;border-bottom:1px solid var(--line)}
[dir=rtl] .db-tabs{margin:0 -10px 0 0}
.db-tab{position:relative;display:inline-flex;align-items:center;padding:10px 12px 11px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:1.2px;text-decoration:none;white-space:nowrap;transition:color .15s}
.db-tab::after{content:"";position:absolute;inset-inline:10px;bottom:-1px;height:2px;border-radius:2px 2px 0 0;background:var(--accent);transform:scaleX(0);transition:transform .18s ease}
.db-tab:hover,.db-tab.on{color:var(--text)}
.db-tab.on::after{transform:scaleX(1)}
.db-tab:focus-visible{outline:2px solid var(--accent);outline-offset:-3px;border-radius:7px}
.db-desc{margin:12px 0 0;color:var(--muted);font-size:14.5px}
/* the bar: the field with its magnifier and the button, then the search by file (its own Search button only without scripts) */
.db-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:14px 0 0}
.db-form{position:relative;flex:1 1 320px;display:flex;align-items:center;gap:8px;max-width:760px;min-width:0}
.db-ico{position:absolute;inset-inline-start:12px;top:50%;width:18px;height:18px;margin-top:-9px;color:var(--muted);pointer-events:none}
.db-ico svg{display:block;width:18px;height:18px}
.db-input{flex:1;min-width:0;height:42px;padding:0 14px;padding-inline-start:40px;font:inherit;font-size:15px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.db-input:focus{outline:2px solid var(--accent);outline-offset:1px}
.db-form .btn,.db-file .btn{flex:none;height:42px;padding:0 18px;box-sizing:border-box}
.db-file{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.db-filebtn{position:relative;cursor:pointer}
.db-file.js .db-fileinput{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.db-file:not(.js) .db-filebtn{padding:0;border:0;background:none}
.db-file:not(.js) .db-fileinput{font:inherit;font-size:14px;color:var(--text)}
.db-file.is-busy{opacity:.6;pointer-events:none}
.files-page [hidden]{display:none}
.db-count{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
/* the start view */
.db-start{margin-top:18px}
.db-try{margin:0;color:var(--muted);font-size:14.5px;line-height:1.7}
.db-tryc{color:var(--text);text-decoration:none}
.db-tryc b{font-weight:500;text-decoration:underline;text-decoration-color:var(--line2);text-decoration-thickness:1px;text-underline-offset:4px;transition:text-decoration-color .15s}
.db-tryc:hover{color:var(--accent-text)}
.db-tryc:hover b{text-decoration-color:var(--accent)}
.db-makes{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;margin:8px 0 0;color:var(--muted);font-size:14px}
.db-makes-l{margin-inline-end:-8px}
.db-make{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--text)}
/* the makes' marks on the file pages (owner 2026-11-10): beside the heading of a read, a pair, a family and a catalog file's
   page, large and white on the card (.cat-hero-marks, up to four); small and muted before a vehicle in the tables and the
   brand row of the technical data (.fl-mk-s). The glyphs are the app's monochrome brand marks (assets/brand-logos.js). */
.cat-hero-h{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}
.cat-hero-h h1{flex:1 1 320px;min-width:0}
.cat-hero-marks{display:flex;flex:none;align-items:center;gap:14px}
.fl-mk{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;color:var(--card-ink)}
.fl-mk .fl-mark{width:60px;height:60px;opacity:.94;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}
.fl-mk-s{display:inline-flex;align-items:center;margin-inline-end:7px;vertical-align:-3px;color:var(--muted)}
.fl-mk-s .db-mark-s{width:15px;height:15px;opacity:.8}
@media (max-width:760px){.cat-hero-h{gap:10px 16px}.fl-mk{width:46px;height:46px}.fl-mk .fl-mark{width:42px;height:42px}}
.db-mark{flex:none;width:16px;height:16px;color:currentColor;opacity:.9}
.db-mark-s{width:14px;height:14px;opacity:.75}
.db-mk{display:inline-flex;align-items:center;margin-inline-end:6px;vertical-align:-2px;color:var(--muted)}
.db-sample{position:relative;overflow:hidden;margin:18px 0 0;padding:10px 14px 0;border:1px dashed var(--line2);border-radius:12px}
.db-sample-note{margin:0 0 4px;color:var(--muted);font-size:13px}
.db-sample .cat-tablewrap{margin:0;-webkit-mask-image:linear-gradient(to bottom,#000 55%,transparent);mask-image:linear-gradient(to bottom,#000 55%,transparent)}
.db-sample-t{opacity:.75}
.db-drophint{margin:16px 0 0;color:var(--muted);font-size:13px}
/* the drop layer (the app's .oriDrop): over the whole page while a file is dragged over it; the file may be dropped anywhere */
.db-drop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:color-mix(in srgb,var(--bg) 82%,transparent);pointer-events:none}
.db-dropbox{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:520px;padding:34px 44px;border:1.5px dashed var(--accent);border-radius:14px;background:var(--panel);color:var(--text);font-size:15px;line-height:1.5;text-align:center}
.db-dropbox svg{width:34px;height:34px;color:var(--accent)}
html.db-dragging{cursor:copy}
/* the tables: the tab's own columns; every cell wraps, the numbers are mono */
.db-table{width:100%;min-width:760px;table-layout:auto}
.db-table th,.db-table td{white-space:normal;vertical-align:top;padding:9px 14px 9px 0}
[dir=rtl] .db-table th,[dir=rtl] .db-table td{padding:9px 0 9px 14px}
.db-table td{font-size:14.5px}
.db-table td:first-child,.db-table td:nth-child(2){font-family:inherit;font-size:14.5px;white-space:normal}
.db-table .mono,.db-table td.mono,.db-table b.mono{font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:13.5px}
.db-two b{display:block;font-weight:500}
.db-two small{display:block;margin-top:2px;color:var(--muted);font-size:12.5px}
.db-dim{color:var(--muted)}
.db-table .db-size{text-align:end;white-space:nowrap}
.db-table .db-act{text-align:end;white-space:nowrap}
/* a row with a page of its own (tr[data-href], the file's page; owner 2026-11-10 "row lar full tıklanabilir olmalı"): the whole
   row opens it (assets/files-db.js), the name link and the chevron stay for the keyboard and without the script */
.db-table tr[data-href]{cursor:pointer}
.db-table tr[data-href]:hover td{background:color-mix(in srgb,var(--accent) 7%,transparent)}
.db-open{display:inline-block;padding:0 8px;color:var(--muted);font-size:20px;line-height:1;text-decoration:none}
.db-open:hover{color:var(--accent-text)}
.db-own td:first-child{box-shadow:inset 3px 0 0 var(--accent)}
.db-ext{display:inline-block;margin-inline-end:8px;font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:13px}
.db-mn{display:block;color:var(--muted);font-size:12.5px}
.db-mc{display:block;font-weight:500}
.db-br{white-space:nowrap}
.db-fname .mono{word-break:break-all}
.db-veh a{color:inherit;text-decoration:none}
.db-veh a:hover{color:var(--accent-text);text-decoration:underline}
.db-table .fl-order{padding:6px 14px;font-size:13.5px}
/* the filters of a search: one line per filter, its values plain, the one on over an accent underline (as the open tab) */
.db-facets{display:grid;gap:4px;margin:16px 0 4px}
.db-facet{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 18px;margin:0;font-size:14px}
.db-facet-l{color:var(--muted);margin-inline-end:-6px}
.db-opt{padding:3px 0 2px;border-bottom:2px solid transparent;color:var(--muted);font-weight:500;text-decoration:none;transition:color .15s,border-color .15s}
.db-opt:hover{color:var(--text)}
.db-opt.on{color:var(--text);border-bottom-color:var(--accent)}
.db-opt i{margin-inline-start:6px;font-style:normal;font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:11.5px;color:var(--muted)}
/* a row's details: the app's sections as label and value rows */
.db-detail{margin:18px 0 6px;padding:20px 22px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.db-detail-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:0 0 14px}
.db-detail-head .kicker{flex:1 0 100%;margin:0}
.db-detail-head h2{margin:0;font-size:22px;letter-spacing:0;overflow-wrap:anywhere}
.db-back{margin-inline-start:auto;color:var(--accent-text);font-size:14px;text-decoration:none}
.db-back:hover{text-decoration:underline}
.db-odg{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.db-ods{padding:12px 14px;background:var(--bg);border:1px solid var(--line);border-radius:10px}
.db-ods h3{margin:0 0 6px;font-size:13px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.db-ods dl{margin:0}
.db-od{display:flex;flex-direction:column;gap:1px;padding:7px 0;border-top:1px solid var(--line)}
.db-od:first-of-type{border-top:0}
.db-od dt{font-size:12px;color:var(--muted)}
.db-od dd{margin:0;font-size:14.5px;overflow-wrap:anywhere}
.db-num{display:inline-block;margin:2px 8px 2px 0}
[dir=rtl] .db-num{margin:2px 0 2px 8px}
.db-docs{margin:6px 0 0;padding-inline-start:18px;font-size:14px;line-height:1.5}
.db-dl{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.db-dl p{flex:1 1 320px;margin:0;color:var(--muted);font-size:14px}
.db-dlnote{margin-top:14px}
/* what was read off a searched-with file; the notes */
.db-ident{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 22px;margin:16px 0 0;padding:12px 14px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);font-size:14px}
.db-idn{flex:1 0 100%;color:var(--muted)}
.db-idl{color:var(--muted)}
.db-idv b{font-weight:500}
.db-warn{margin-top:14px}
.db-peek{margin:14px 0 0}
.db-peek a{margin-inline-end:10px;color:var(--accent-text)}
.db-empty{margin-top:16px}
@media (max-width:720px){
  .db-tab{padding:9px 9px 10px;font-size:11px;letter-spacing:1px}
  .db-form{flex-basis:100%}
  .db-detail{padding:16px}
  .db-detail-head h2{font-size:18px}
}
/* the catalog tabs' own pages (lib/oem.php): the family lists, a family, a file beside the app box */
.oem-list td:first-child{font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:14px;white-space:nowrap}
.oem-list td:nth-child(2){font-family:inherit;font-size:14px;white-space:normal}
.oem-box h3{margin:0 0 8px;font-size:17px}
.oem-box .cat-p{font-size:14.5px;color:var(--muted)}
.oem-odg{margin-top:4px}
.db-sample-t th,.db-sample-t td,.db-sample-t small,.db-sample-t .db-dim{color:var(--text)}   /* the dimmed sample: dimmed as a whole (opacity), its words in the text colour so they still read */

/* ---- buyers' reviews (owner 2026-11-11, _files/lib/reviews.php): the section on a file's page (the average, then each
   review: its marks, the name, the day, the words) and the form of an invitation's link. The marks are the text's own
   star in two inks, never a picture. The form's five marks are radio buttons drawn in reverse (5 first in the page), so
   the marks before the picked one take its ink without a script. ---- */
.fl-stars{display:inline-flex;font-size:17px;line-height:1;letter-spacing:2px;white-space:nowrap}
.fl-stars-on{color:var(--accent-text)}
.fl-stars-off{color:var(--line2)}
.fl-rev-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 8px;font-size:16px}
.fl-rev-sum .fl-stars{font-size:20px}
.fl-rev-sum b{font-weight:600}
.fl-rev-sum > span:last-child{color:var(--muted);font-size:14px}
.fl-rev-list{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid var(--line)}
.fl-rev{padding:16px 0;border-bottom:1px solid var(--line)}
.fl-rev-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0}
.fl-rev-n{font-weight:600}
.fl-rev-d{color:var(--muted);font-size:13.5px}
.fl-rev-b{margin:8px 0 0;max-width:68ch;line-height:1.6;overflow-wrap:anywhere}
.fl-rev-form{max-width:560px}
.fl-rate{margin:0 0 18px;padding:0;border:0;min-width:0}
.fl-rate-in{display:inline-flex;flex-direction:row-reverse;direction:ltr;gap:4px}
.fl-rate-in input{position:absolute;opacity:0;width:1px;height:1px}
.fl-rate-in label{position:relative;display:block;padding:2px 3px;font-size:34px;line-height:1;color:var(--line2);cursor:pointer}
.fl-rate-in input:checked ~ label{color:var(--accent-text)}
.fl-rate-in input:focus-visible + label{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
@media (hover:hover){.fl-rate-in label:hover,.fl-rate-in label:hover ~ label{color:var(--accent2)}}
.fl-in{display:block;width:100%;margin:0 0 6px;padding:11px 14px;font:inherit;font-size:15px;color:var(--text);background:var(--panel);border:1px solid var(--line2);border-radius:10px}
.fl-in:focus{outline:2px solid var(--accent);outline-offset:1px}
textarea.fl-in{resize:vertical;min-height:120px;line-height:1.5}
.fl-rev-form .fl-label{margin-top:14px}
.fl-rev-form .fl-cta{margin-top:16px}
