/* Price-and-discount checker (SEO-TOOLS-1111). The ONLY stylesheet of /tools/price-and-discount-checker/ besides the site's own (G-R3A-WEB-10: it no longer loads the 58 KB calculator sheet).
   Open, not boxed (family guide 6.1): hairlines and space, the answer first, colour only on the one action and on focus. Logical properties throughout, so Arabic mirrors itself. */
/* The few free-tool page rules the checker uses, copied unchanged and in the same order from calc2.css (.c2-tiny, the tool-page head, the questions and folds); the checker page's c2-* classes are exactly these (tests/checker-page.test.mjs keeps the two in step). */
.c2-tiny { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.5; }
.c2-facts { font-size: 14px; line-height: 1.45; color: var(--ink-3); margin: 6px 0 0; max-width: 34em; }
.c2-tool-page { padding-top: 28px; }
.c2-tool-page h1 { font: 400 clamp(30px, 4.4vw, 44px)/1.12 var(--serif); letter-spacing: -0.01em; margin: 0 0 14px; max-width: 10.34em; }
.c2-tool-page .lead { max-width: 40em; margin: 0 0 14px; }
.c2-tool-page .c2-facts { margin: 0 0 20px; }
.c2-qa-sec { margin-top: 64px; }
.c2-qa { margin: 18px 0 0; border-top: 1px solid var(--hairline); max-width: 760px; }
.c2-fold { border-bottom: 1px solid var(--hairline); }
.c2-qa-sec + .c2-fold { margin-top: 40px; border-top: 1px solid var(--hairline); max-width: 760px; }
.c2-fold summary { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 8px 0; list-style: none; cursor: pointer; }
.c2-fold summary::-webkit-details-marker { display: none; }
.c2-fold summary h3, .c2-fold summary .c2-sum { flex: 1; margin: 0; font: 600 16px/1.4 var(--sans); }
.c2-fold summary .ic { flex: none; color: var(--ink-3); transition: transform 160ms var(--ease-move); }
.c2-fold[open] summary .ic { transform: rotate(90deg); }
[dir="rtl"] .c2-fold summary .ic { transform: scaleX(-1); }
[dir="rtl"] .c2-fold[open] summary .ic { transform: scaleX(-1) rotate(90deg); }
.c2-fold summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.c2-ans { padding: 0 0 20px; max-width: 39.06em; }
.c2-ans p { margin: 0 0 10px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.c2-ans .link { display: inline-block; margin-top: 2px; font-weight: 500; }
.c2-tool-page .lead { max-width: 39.06em; }
@media (prefers-reduced-motion: reduce) { .c2-fold summary .ic { transition: none; } }
.ck { margin: 28px 0 0; max-width: 56rem; }
.ck-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ck-top { display: grid; grid-template-columns: 1fr; gap: 14px 24px; margin: 0 0 22px; }
@media (min-width: 720px) { .ck-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); } }
.ck label { display: block; font-size: 14px; color: var(--ink-2); margin: 0 0 4px; }
.ck .ck-opt { color: var(--ink-3); }
.ck input, .ck select { width: 100%; min-height: 48px; padding: 8px 12px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; -webkit-appearance: none; appearance: none; }
.ck select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 36px; }
[dir="rtl"] .ck select { background-position: 15px 21px, 20px 21px; }
.ck input:focus-visible, .ck select:focus-visible, .ck button:focus-visible { outline: 2px solid var(--erp); outline-offset: 2px; }
.ck input[aria-invalid="true"] { border-color: #A3341F; }
.ck input[dir="ltr"] { text-align: end; }
[dir="rtl"] .ck input[dir="ltr"] { text-align: right; }
.ck-hintline { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; line-height: 1.45; }
.ck-err { font-size: 13px; color: #A3341F; margin: 4px 0 0; line-height: 1.4; }
.ck-err[hidden] { display: none; }
.ck-lines { margin: 0; min-height: 120px; }
.ck-line { border: 0; border-top: 1px solid var(--hairline); margin: 0; padding: 16px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.ck-line .ck-name { grid-column: 1 / -1; }
.ck-line .ck-discount { grid-column: auto; }
.ck-x { position: absolute; inset-block-start: 6px; inset-inline-end: -10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink-3); cursor: pointer; border-radius: 10px; }
.ck-x[hidden] { display: none; }
.ck-x:hover { color: var(--ink); }
@media (min-width: 720px) {
  .ck-line { grid-template-columns: minmax(0, 2.4fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) 36px; align-items: start; padding: 10px 0; }
  .ck-line .ck-name { grid-column: auto; }
  .ck-line:not(:first-child) .ck-f > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ck-line:first-child { padding-top: 14px; }
  .ck-lines { min-height: 112px; }
  .ck-line:first-child .ck-f > label { display: flex; align-items: flex-end; min-height: 2.8em; }
  .ck-x { position: static; align-self: end; margin-block-end: 2px; margin-inline-end: -8px; }
  .ck-line:first-child .ck-x { margin-block-end: 2px; }
}
.ck-addrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 6px 0 4px; border-top: 1px solid var(--hairline); }
.ck-link { background: none; border: 0; padding: 12px 0; min-height: 44px; font: 600 15px/1.2 var(--sans); color: var(--erp); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ck-link:disabled { color: var(--ink-4); text-decoration: none; cursor: default; }
.ck-link[data-armed] { color: #A3341F; }
.ck-out { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule); min-height: 190px; }
.ck-h { font: 400 clamp(22px, 3vw, 28px)/1.2 var(--serif); margin: 0 0 14px; }
.ck-hint { color: var(--ink-3); margin: 0; }
.ck dl { margin: 0; }
.ck-head { display: grid; grid-template-columns: 1fr; gap: 14px 28px; margin: 0 0 20px; }
@media (min-width: 720px) { .ck-head { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ck-head .ck-row { display: flex; flex-direction: column-reverse; gap: 2px; }
.ck-head dt { font-size: 14px; color: var(--ink-2); }
.ck-head dd { margin: 0; font: 400 clamp(26px, 4vw, 34px)/1.15 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.ck-more .ck-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4px 20px; padding: 10px 0; border-top: 1px solid var(--hairline); align-items: baseline; }
.ck-more .ck-row:last-child { border-bottom: 1px solid var(--hairline); }
.ck-more dt { color: var(--ink-2); font-size: 15px; }
.ck-more dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.ck-na { color: var(--ink-3); }
.ck-why { font-size: 13px; }
@media (max-width: 539px) { .ck-more .ck-row { grid-template-columns: 1fr; } .ck-more dd { text-align: start; } }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 22px 0 0; align-items: center; }
.ck-actions .btn[disabled] { opacity: .45; cursor: default; }
.ck-actions .btn { min-height: 48px; }
.ck-save { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 10px 0 0; }
.ck-file { position: relative; display: inline-flex; }
.ck-file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; min-height: 0; }
.ck-file:focus-within .ck-link { outline: 2px solid var(--erp); outline-offset: 2px; border-radius: 4px; }
.ck-toast { margin: 14px 0 0; padding: 10px 14px; background: var(--tint); border-radius: 10px; color: var(--ink); font-size: 15px; max-width: 36rem; }
.ck-toast[hidden] { display: none; }
.ck-pane { margin: 14px 0 0; max-width: 36rem; }
.ck-pane[hidden] { display: none; }
.ck-pane h3 { font: 600 15px/1.3 var(--sans); margin: 0 0 4px; }
.ck-pane textarea { width: 100%; min-height: 150px; padding: 10px 12px; font: 400 15px/1.5 var(--sans); border: 1px solid var(--rule); border-radius: 10px; resize: vertical; color: var(--ink); background: var(--paper); }
.ck-eg { margin: 36px 0 0; max-width: 38rem; }
.ck-eg h2 { margin: 0 0 6px; }
.ck-eg table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.ck-eg th, .ck-eg td { text-align: start; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: 16px; font-weight: 400; vertical-align: top; }
.ck-eg th { color: var(--ink-2); padding-inline-end: 16px; }
.ck-eg tr:last-child th, .ck-eg tr:last-child td { border-bottom: 1px solid var(--hairline); }
.ck-eg td { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) { .ck-toast { animation: ck-in .18s var(--ease-enter); } @keyframes ck-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } } }
@media print { .ck-actions, .ck-save, .ck-addrow, .ck-x { display: none; } }
/* desk-site-02-2211: the free tools' point-of-use line under a tool (G-STC-2) and the currency search box (G-SFE1611-8) */
.c2-tool-line { margin: 12px 0 0; max-width: 46em; }
.c2-tool-line a { color: var(--ink-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.ck .ck-find { margin-bottom: 8px; }
.ck .ck-find-none { margin: 6px 0 0; }
