/* Review details: the "Spirit details" part of the Review Desk, and the "How it's made" panel on a review page.
   Colors and type come from the site's theme. */

/* ---------- on the Review Desk ---------- */
.dt-all > summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:2px 0}
.dt-all > summary::-webkit-details-marker,.dt-g > summary::-webkit-details-marker{display:none}
.dt-sum{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.dt-sum b{font-size:15px}
.dt-sum small{color:var(--muted);font-size:13px;line-height:1.45}
.dt-tog{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line2);background:var(--panel2);position:relative}
.dt-tog::before,.dt-tog::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;background:var(--ink);border-radius:2px}
.dt-tog::after{transform:rotate(90deg);transition:transform .15s}
.dt-all[open] > summary .dt-tog::after{transform:none}
.dt-all > summary:focus-visible,.dt-g > summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:8px}
.dt-set{margin:14px 0 0;font-size:13.5px;color:var(--muted)}
#dtBody{margin-top:12px;display:grid;gap:8px}
.dt-g{border:1px solid var(--line2);border-radius:10px;background:var(--panel2);min-width:0}
.dt-g > summary{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:11px 14px;cursor:pointer;list-style:none}
.dt-g > summary b{font-family:var(--display);font-size:16.5px}
.dt-g > summary b::before{content:"+";display:inline-block;width:16px;color:var(--gold);font-family:var(--sans);font-weight:700}
.dt-g[open] > summary b::before{content:"–"}
.dt-n{font-size:12px;color:var(--gold);font-weight:700;white-space:nowrap}
.dt-g > .sub{margin:0;padding:0 14px 10px;font-size:13.5px;color:var(--muted)}
.dt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:4px 14px;padding:2px 14px 12px}
#app .dt-f{margin:0 0 10px;min-width:0;display:flex;flex-direction:column}
#app .dt-f:has(.chips){grid-column:1/-1}
#app .dt-f .lbl em{display:block;font-style:normal;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);font-size:12.5px;margin-top:2px}
#app .dt-f select,#app .dt-f input{width:100%;min-width:0}
#app .dt-other{margin-top:6px}
#app .dt-f .chips + .dt-other{max-width:420px}
.dt-gl{display:block;margin-top:6px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.dt-also{border-style:dashed}
.dt-foot{margin:12px 0 0}
.dt-foot:empty{display:none}
.rv-made h4{margin-bottom:2px}
.rv-made-g{margin:10px 0 4px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.rv-made .rv-specs{margin-bottom:6px}

/* ---------- on a review page ---------- */
.howmade{margin:34px 0}
.post .howmade{margin:0 0 28px}
.howmade-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px 22px}
.howmade-g{min-width:0}
.howmade-g h3{margin:0 0 8px;font-family:var(--display);font-size:18px}
.howmade .howmade-specs{margin:0}
.howmade .howmade-specs div{flex:1 1 140px}
.howmade .howmade-specs dd{font-size:15px;overflow-wrap:anywhere}
/* 1.14.0.0: details placed in the desk's own sections (cigars: size and leaf, before the light, each third, part scores) */
.dt-inline:empty{display:none}
.dt-inline{margin:6px 0 4px}
.dt-g.dt-g-in{border:0;background:none;border-radius:0;margin:0 0 4px}
.dt-g-in .dt-gt{margin:10px 0 6px;font-family:var(--display);font-size:16px}
.dt-g-in .sub{margin:-2px 0 8px}
.dt-g-in .dt-grid{padding:0;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr))}
#app .dt-f.dt-wide{grid-column:1/-1}
#app .dt-f textarea{width:100%;min-width:0;resize:vertical}
#app .dt-g-in .dt-f .lbl em{display:inline;margin:0 0 0 4px}
.dt-stg{display:none;font-weight:inherit}
/* on the desk a third's own fields follow the third you're on; the sheet shows them all, each labelled */
.rd-sheet .dt-stg{display:inline}
/* 1.14.0.2: part scores on sliders, as the Cigar Desk had them */
#app .dt-f.dt-part{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,2fr) 74px auto;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);flex-direction:unset}
#app .dt-part label{margin:0}
#app .dt-part label b{font-size:15px;font-family:var(--display)}
#app .dt-part label em{font-style:normal;color:var(--faint);font-size:12px;margin-left:4px}
#app .dt-part label small{display:block;color:var(--muted);font-size:12.5px;line-height:1.4;margin-top:2px;text-transform:none;letter-spacing:0}
#app .dt-part input[type=range]{width:100%;accent-color:var(--gold);padding:0;border:0;background:none}
#app .dt-part input[type=range].unset{opacity:.35}
#app .dt-part input[type=number]{text-align:center;font-family:var(--mono);width:100%}
.dt-g-parts .dt-grid{display:block}
.dt-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin:12px 0 4px}
.dt-total b{font-family:var(--display);font-size:24px;color:var(--gold)}
.dt-total .btn.sm{padding:4px 10px;font-size:12.5px}
@media (max-width:640px){#app .dt-f.dt-part{grid-template-columns:minmax(0,1fr) 64px;grid-template-areas:"l n" "r r";gap:6px 10px}#app .dt-part label{grid-area:l}#app .dt-part input[type=number]{grid-area:n}#app .dt-part input[type=range]{grid-area:r}}
#app .dt-inline .dt-off{display:none!important}
.dt-sum .dt-sumlist{list-style:none;margin:6px 0 4px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 18px}
.dt-sum .dt-sumlist li{display:flex;justify-content:space-between;gap:8px;border-bottom:1px dotted var(--line);padding:3px 0;font-size:14px}
.dt-sum .dt-sumlist em{font-style:normal;color:var(--faint);font-size:12px}
.dt-sum .dt-sumlist b{font-family:var(--mono)}
.dt-inline[data-dtplace="score"]{margin:0 0 14px}

/* 1.41.0.0: a part's points out of its share of 100, and the 100-point total */
#app .dt-part .dt-pts{font-family:var(--mono);font-size:13px;color:var(--gold);white-space:nowrap;min-width:64px;text-align:right}
#app .dt-part .dt-pts small{color:var(--faint);font-size:11px}
.dt-sum .dt-sumlist b small{color:var(--faint);font-weight:400;font-size:11px}
.dt-total.dt-hundred b small{font-size:14px;color:var(--faint)}
@media (max-width:640px){#app .dt-f.dt-part{grid-template-columns:minmax(0,1fr) 64px auto;grid-template-areas:"l n p" "r r r"}#app .dt-part .dt-pts{grid-area:p}}
