/* The reference desk on products/grade-library.html.
 *
 * Ships as its own stylesheet, linked only by that page, so editing the desk never
 * evicts a week of cached style.css from visitors who would not have seen the change.
 * The colours are the site's own tokens from style.css :root -- nothing here repeats a
 * hex value that the shared sheet already defines, except inside the navy panel where a
 * token would fight the white text placed on it.
 *
 * The stripe band on the panel's top edge is the same 135-degree teal line as the
 * patterned card panel in style.css (.card-media-mark), which is what makes a desk card
 * and a photo card read as one family.
 */
.desk{position:relative;overflow:hidden;background:linear-gradient(158deg,var(--navy) 0%,var(--navy-700) 52%,var(--navy-600) 100%);color:#DCE9F2;border-radius:14px;padding:30px 30px 26px;box-shadow:0 24px 46px rgba(10,43,74,.18)}
.desk::before{content:"";position:absolute;inset:0 0 auto;height:9px;background:repeating-linear-gradient(135deg,rgba(46,163,168,.55) 0 2px,transparent 2px 12px)}
.desk-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end;margin-top:6px}
.desk-label{display:block;font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#8FD3D6;margin-bottom:9px}
.desk-input{width:100%;box-sizing:border-box;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.3);border-radius:10px;padding:14px 16px;color:#fff;font-size:15.5px;font-family:inherit}
.desk-input::placeholder{color:rgba(220,233,242,.62)}
.desk-input:focus{outline:none;border-color:var(--teal);background:rgba(255,255,255,.13);box-shadow:0 0 0 3px rgba(46,163,168,.34)}
.desk-actions{display:flex;gap:9px}
.desk-hint{margin:12px 0 0;font-size:13px;color:#A9C2D4}
.desk-hint b{color:#fff;font-weight:700}
.desk-quick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}
.desk-quick-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#8FA9BD}
.desk-chip{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.26);border-radius:999px;padding:6px 12px;font-size:12.5px;color:#E4EFF6;cursor:pointer;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;transition:.16s ease}
.desk-chip:hover{background:var(--teal);border-color:var(--teal);color:#08243b}
.desk-chip:focus-visible{outline:2px solid #fff;outline-offset:2px}
.desk-out{margin-top:22px;border-top:1px solid rgba(255,255,255,.18);padding-top:20px}
.desk-state{font-size:13px;color:#A9C2D4;margin:0 0 14px}
.desk-state b{color:#fff}
.desk-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.desk-card{background:#fff;border-radius:12px;border-left:3px solid var(--teal);padding:16px 18px;color:var(--ink);box-shadow:0 10px 22px rgba(8,31,54,.14)}
.desk-card.is-nearest{border-left-color:#C9A227}
.desk-brand{font-size:10.5px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--teal-700);margin:0 0 4px}
.desk-code{margin:0 0 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;font-weight:700;color:var(--navy);line-height:1.25}
.desk-line{margin:7px 0;font-size:13.5px;line-height:1.5;color:#3D5566}
.desk-line span{display:block;font-size:10.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--muted-2);margin-bottom:2px}
.desk-badge{display:inline-block;margin-top:10px;border-radius:999px;padding:5px 11px;font-size:11.5px;font-weight:700}
.desk-badge-untested{background:var(--teal-50);color:var(--teal-700);border:1px solid #BFE3E5}
.desk-badge-validation{background:#FDF3E2;color:#8A6415;border:1px solid #EBD5A8}
.desk-badge-tested{background:#EAF6EE;color:#1F6B44;border:1px solid #BCDFC9}
.desk-badge-other{background:var(--bg);color:#40596B;border:1px solid var(--line)}
.desk-none{background:rgba(255,255,255,.07);border:1px dashed rgba(255,255,255,.3);border-radius:12px;padding:18px 20px}
.desk-none h3{margin:0 0 8px;font-size:16px;color:#fff}
.desk-none p{margin:0 0 10px;font-size:14px;color:#C4D7E5;line-height:1.55}
.desk-send{margin:14px 0 0;padding:0;list-style:none}
.desk-send li{position:relative;padding-left:22px;margin:8px 0;font-size:13.5px;color:#D3E2EE;line-height:1.45}
.desk-send li::before{content:"";position:absolute;left:0;top:6px;width:12px;height:12px;border-radius:50%;border:1px solid var(--teal);background:rgba(46,163,168,.22)}
.desk-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-size:13.5px}
.desk-links a{color:#8FD3D6;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(143,211,214,.45)}
.desk-links a:hover{color:#fff;border-bottom-color:#fff}
.desk-brief{margin-top:22px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:18px 20px}
.desk-brief-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}
.desk-brief-head h3{margin:0;font-size:15px;color:#fff}
.desk-textarea{width:100%;box-sizing:border-box;min-height:170px;resize:vertical;background:rgba(8,31,54,.5);border:1px solid rgba(255,255,255,.24);border-radius:10px;padding:14px 16px;color:#E9F2F8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;line-height:1.65;white-space:pre-wrap}
.desk-textarea:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(46,163,168,.3)}
.desk-copy-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px}
.desk-copy-state{font-size:12.5px;color:#8FD3D6}
.desk-noscript{margin:16px 0 0;font-size:13.5px;color:#C4D7E5}
@media (max-width:900px){.desk-top{grid-template-columns:minmax(0,1fr)}.desk-cards{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.desk{padding:22px 18px 20px}.desk-actions{width:100%}.desk-actions .btn{flex:1}}
