/* Compact creator and a true US Letter, black-and-white service sheet. */
.resource-tool .wrap { padding-block: 0 28px; }
.resource-tool .page-head { margin-bottom: 14px; }
.resource-tool .page-head .lede { max-width: 60ch; }
.resource-tool .panel { padding: 12px 14px; }
.resource-tool .panel + .panel { margin-top: 10px; }
.resource-tool .panel h2 { margin-bottom: 3px; }
.resource-checklist .panel-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 3px; }
.resource-checklist .panel-heading-row h2 { margin: 0; }
.resource-checklist .clear-button { flex: none; border: 0; background: none; color: hsl(var(--muted-foreground)); font: 600 12px/1.3 var(--app-font-sans); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 3px 0; }
.resource-checklist .clear-button:hover { color: hsl(var(--foreground)); }
.resource-checklist #print-sheet { min-height: 50px; padding: 12px 32px; border: 1px solid transparent; border-radius: 12px; background: #4ade80; color: #0f1423; font-size: 16px; font-weight: 600; line-height: 1.25; transition: opacity .18s ease; }
.resource-checklist #print-sheet:hover { filter: none; opacity: .9; }
.resource-tool .panel-hint { margin-bottom: 10px; line-height: 1.45; }
.resource-tool .machine-fields { gap: 8px 14px; }
.resource-tool .field { gap: 2px; }
.resource-tool .item-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 10px; margin-bottom: 8px; }
.resource-tool .item-row { margin: 0; }
.resource-tool .item-remove { width: 36px; height: 36px; min-height: 36px; margin-top: 18px; padding: 0; border: 0; background: transparent; color: #8b949e; font-size: 20px; line-height: 1; }
.resource-tool .item-remove:hover,
.resource-tool .item-remove:focus-visible { background: transparent; color: #dc2626; }
.resource-tool .sample-hint { margin: -2px 0 10px; color: hsl(var(--muted-foreground)); font-size: 12px; }
.resource-tool .sheet-frame { position: relative; width: min(100%,700px); margin: 10px auto 0; overflow: hidden; }
.resource-tool .sheet-preview,
.resource-tool .sheet {
  box-sizing: border-box;
  width: 816px;
  min-height: 1056px;
  padding: 72px;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: 14px/1.35 Arial, Helvetica, sans-serif;
}
.resource-tool .sheet-preview { position: absolute; inset: 0 auto auto 0; margin: 0; transform-origin: top left; box-shadow: 0 8px 24px #0001; }
.resource-tool .sheet-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 2px solid #111; }
.resource-tool .sheet-title { margin: 0; color: #111; font-size: 23px; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; }
.resource-tool .sheet-asset { flex: none; font-size: 11px; font-weight: 700; white-space: nowrap; }
.resource-tool .sheet-asset .sheet-id-value { display: inline-block; min-width: 88px; max-width: 160px; margin-left: 5px; padding-bottom: 2px; border-bottom: 1px solid #111; font-size: 14px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.resource-tool .sheet-info { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 13px; border: 1px solid #777; }
.resource-tool .sheet-info .sheet-field { min-width: 0; min-height: 52px; padding: 7px 10px; border: 0; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; }
.resource-tool .sheet-info .sheet-field:nth-child(2n) { border-right: 0; }
.resource-tool .sheet-info .sheet-field:nth-last-child(-n+2) { border-bottom: 0; }
.resource-tool .sheet-field .k { display: block; color: #555; font-size: 10px; line-height: 1.1; letter-spacing: 0; }
.resource-tool .sheet-field .v { display: block; min-height: 22px; padding-top: 4px; font-weight: 700; overflow-wrap: anywhere; }
.resource-tool .sheet-field .blank { display: block; min-height: 19px; }
.resource-tool .sheet-section-title { margin: 17px 0 7px; padding-bottom: 5px; border-bottom: 1px solid #777; color: #111; font-size: 12px; line-height: 1.2; letter-spacing: .025em; }
.resource-tool .sheet-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding: 0; border: 1px solid #777; border-bottom: 0; list-style: none; }
.resource-tool .sheet-items li { display: flex; align-items: flex-start; gap: 9px; min-height: 38px; padding: 9px 11px; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa; line-height: 1.25; }
.resource-tool .sheet-items li:nth-child(2n),
.resource-tool .sheet-items li:last-child:nth-child(odd) { border-right: 0; }
.resource-tool .sheet-items li:last-child:nth-child(odd) { grid-column: span 2; }
.resource-tool .sheet-box { flex: none; width: 13px; height: 13px; margin: 1px 0 0; border: 1.5px solid #111; }
.resource-tool .parts-table { border: 1px solid #777; border-radius: 0; }
.resource-tool .parts-head { border-bottom: 1px solid #777; }
.resource-tool .parts-head span { padding: 5px 8px; color: #111; font-size: 10px; }
.resource-tool .parts-row span { min-height: 25px; }
.resource-tool .sheet-rules { height: 27px; border-color: #aaa; }
.resource-tool .sheet-footer { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 18px; border: 0; }
.resource-tool .sheet-footer .sheet-field { flex: 0 0 112px; min-height: 0; border-bottom: 1px solid #111; }
.resource-tool .sheet-footer .sheet-field .v { min-height: 18px; }
.resource-tool .sheet-preview,
.resource-tool .sheet { flex-direction: column; }
.resource-tool .sheet-preview { display: flex; }
@media (max-width: 600px) {
  .resource-tool .wrap { padding: 16px 12px 30px; }
  .resource-tool .panel { padding: 14px; }
  .resource-tool .item-list { grid-template-columns: minmax(0,1fr); }
  .resource-tool .item-remove { width: 44px; height: 44px; min-height: 44px; margin-top: 17px; }
}
@media print {
  @page { size: letter; margin: 0; }
  .resource-tool .wrap { width: 8.5in; max-width: none; margin: 0; padding: 0; }
  .resource-tool .sheet { display: flex; width: 8.5in; min-height: 11in; padding: .75in; border: 0; }
  .resource-tool .sheet-frame,
  .resource-tool .resource-cta,
  .resource-tool .resource-footer { display: none !important; }
}
