.back{font-weight:650;font-size:.92rem;text-decoration:none}.back:hover{text-decoration:underline}
.proof{font-size:.94rem;color:var(--muted);margin:18px 0}
.pair-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.car{min-width:0;margin:0;padding:20px;background:white;border:1px solid var(--line);border-radius:9px;box-shadow:inset 0 4px var(--green)}
.car:nth-child(2){box-shadow:inset 0 4px #b4792e}.car h2{margin:5px 0 15px}
.car .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.field{min-width:0}.field.wide{grid-column:1/-1}.field-label{display:block;min-height:1.5em}
.field input,.field select,.field textarea{display:block;margin:4px 0 0;width:100%;min-width:0;font-weight:400;font-size:.95rem}
.field textarea{height:55px;min-height:48px}.unit-pair{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:5px}
.car details{margin:16px 0 0}.car summary{padding:12px 0 0}.car details .field-grid{margin-top:13px}
.actions{display:flex;justify-content:flex-end;gap:9px;margin:18px 0 32px}.secondary,.mobile-tabs button{background:white;color:var(--ink);border:1px solid #adbfba;padding:10px 15px;border-radius:5px;font-weight:650;min-height:43px}
.mobile-tabs,#other{display:none}
#comparison-result{padding:23px 0 30px;border-top:1px solid var(--line)}
#table{background:white;border-radius:8px;overflow:hidden;border:1px solid var(--line)}
#table table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0}
#table th,#table td{padding:10px 14px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
#table thead th{background:var(--ink);color:white}#table th:first-child{width:27%}#table tbody th{font-size:.82rem;background:#f4f6f2}
#table .missing{color:var(--muted);font-style:italic}#table tr:last-child>*{border-bottom:0}#table .reference td{border-top:2px solid var(--green)}
#table .price td{color:var(--green);font-size:1rem;font-weight:720}#table .small{display:block;color:var(--muted);font-size:.77rem;margin-top:4px}
#edit-again{margin-top:15px}
@media(max-width:760px){.nav{gap:9px}.back{font-size:.79rem}.brand{gap:5px}.mobile-tabs{display:flex;gap:5px;margin-bottom:10px}.mobile-tabs button{flex:1;padding:8px 6px;font-size:.86rem}.mobile-tabs [aria-pressed=true]{background:var(--ink);color:white}.pair-grid{display:block}.car:not(.current){display:none}.car{padding:16px}.car .field-grid{gap:10px}#other{display:block}.actions{justify-content:space-between}.unit-pair{grid-template-columns:minmax(0,1fr) 65px}.unit-pair select{padding-inline:4px}#table th,#table td{padding:8px 6px;font-size:.8rem}#table th:first-child{width:27%}.proof{font-size:.88rem}}

#table summary{min-height:44px;padding-block:10px;cursor:pointer;color:var(--green);font-weight:650}#table .certificate-detail{border-block-start:1px solid var(--line);padding-block-start:8px;margin-block:8px;font-size:.85rem}
.us-panel{margin-top:16px;padding:12px 14px;background:#f0f5f2;border-inline-start:3px solid var(--green);border-radius:4px}
.us-panel[hidden]{display:none}.us-panel select{width:100%;min-width:0;min-height:44px;margin:6px 0 0;font-size:.92rem}
.us-note{color:var(--muted);margin:5px 0 0;font-size:.84rem;line-height:1.5}.us-panel button{margin-top:8px}
#table .us-results tr:first-child>*{border-top:2px solid var(--green);background:#edf5f0}

.car .paste-listing{margin:0 0 16px}
.paste-listing summary{color:var(--green);padding:4px 0;cursor:pointer;font-weight:650}
.paste-listing textarea{display:block;width:100%;margin:8px 0;resize:vertical}
.paste-listing .paste-status:empty{display:none}
.paste-status span{display:block;margin-top:4px}
.print-heading{display:none}
#print-comparison{margin-block-end:14px}
@media print{
  @page{size:A4 portrait;margin:12mm}
  body{background:white;color:#102d39}
  [lang=ar] body,[lang=ar] .print-heading h1{font-family:Arial,Tahoma,sans-serif}
  body>header,main>.mast,main>.proof,#comparison,#comparison-result>h2,button,dialog{display:none!important}
  main.wrap{width:100%;max-width:none;margin:0;padding:0}
  #comparison-result{border:0;padding:0}
  .print-heading{display:block;border-block-end:2px solid #315c54;padding-block-end:7pt}
  .print-heading>span{color:#315c54;font-size:11pt;font-weight:700}
  .print-heading h1{font-size:20pt;line-height:1.2;margin:5pt 0}
  .print-heading p,#comparison-result>.proof{font-size:9pt;line-height:1.35;margin:5pt 0 9pt}
  #table{overflow:visible;border:0;border-radius:0}
  #table table{width:100%;border-collapse:collapse}
  #table thead{display:table-header-group}
  #table th,#table td,#table tbody th,#table .price td{padding:2.5pt 5pt;font-size:9pt;line-height:1.3;border:1px solid #b9c6c2}
  #table thead th{background:white;color:#102d39;border-block-end:1.5pt solid #315c54}
  #table th:first-child{width:23%}
  #table .small,#table .certificate-detail{font-size:8pt;line-height:1.3;margin-block:2pt}
  #table .certificate-detail{break-inside:avoid;padding-block-start:2pt}
  #table summary{padding:0;min-height:0;list-style:none}
  #table summary::-webkit-details-marker{display:none}
  #table a{color:#213e4b;text-decoration:underline}
  #table .price br{display:none}
}
