.pdf-preview-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}.pdf-preview-wrap{overflow:auto;background:#e9eae7;border:1px solid var(--border);border-radius:12px;padding:16px;max-height:65dvh}.pdf-paper{width:200mm;background:#fff;color:#111;padding:0;margin:0 auto;font:8.5pt/1.24 -apple-system,BlinkMacSystemFont,"Yu Gothic",Meiryo,sans-serif}.pdf-heading{padding:2mm 1mm 2mm}.pdf-heading h1{font-size:12pt;line-height:1.2;margin:0 0 1mm;font-weight:700}.pdf-heading h1 span{font-size:9pt;font-weight:500;margin-left:3mm}.pdf-heading p{font-size:7pt;line-height:1.2;color:#444;margin:0 0 .7mm}.pdf-table{border-collapse:collapse;table-layout:fixed;width:100%;font:inherit;color:#111}.pdf-table th,.pdf-table td{text-align:left;vertical-align:top;border:0.2mm solid #b8bcb6;padding:1.2mm 1.3mm;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.24}.pdf-table th{font-weight:650;background:#eceee9;white-space:normal}.pdf-table thead{display:table-header-group}.pdf-table tbody{display:table-row-group}.pdf-col-number{width:4%}.pdf-col-service{width:17%}.pdf-col-group{width:11%}.pdf-col-login{width:25%}.pdf-col-password{width:25%}.pdf-table.with-url .pdf-col-login{width:21%}.pdf-table.with-url .pdf-col-password{width:21%}.pdf-col-url{width:26%}.pdf-table.with-notes .pdf-col-login{width:17%}.pdf-table.with-notes .pdf-col-password{width:17%}.pdf-table.with-notes .pdf-col-url{width:17%}.pdf-col-notes{width:17%}.pdf-cell-number{color:#555;text-align:right!important}.pdf-cell-password{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.pdf-table tr{break-inside:avoid;page-break-inside:avoid}.pdf-table tr:nth-child(even) td{background:#f8f9f6}.pdf-help{font-size:.8125rem;color:var(--muted)}
@page{size:A4 portrait;margin:6mm 5mm}
@media print{
  html,body{margin:0!important;padding:0!important;width:auto!important;height:auto!important;background:#fff!important;color:#111!important}
  #app,#toast,#update-banner{display:none!important}
  #print-sheet{display:block!important;position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;font:8.5pt/1.24 -apple-system,BlinkMacSystemFont,"Yu Gothic",Meiryo,sans-serif!important}
  #print-sheet .pdf-heading h1{font-size:12pt!important;margin:0 0 1mm!important}
  #print-sheet .pdf-heading p{font-size:7pt!important;margin:0 0 .7mm!important;color:#444!important;line-height:1.2!important}
  #print-sheet .pdf-table{width:100%!important;font-size:8.5pt!important;line-height:1.24!important}
  #print-sheet .pdf-table th,#print-sheet .pdf-table td{padding:1.2mm 1.3mm!important;line-height:1.24!important;color:#111!important}
  #print-sheet .pdf-table thead{display:table-header-group!important}
  #print-sheet .pdf-table tr{break-inside:avoid;page-break-inside:avoid}
}

/* Quiet, theme-aware stationery without adding vertical bulk. */
.pdf-paper,#print-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}.pdf-heading{border-top:.5mm solid var(--accent,#48574f);border-bottom:.2mm solid var(--border,#dfe4dc);margin-bottom:2mm;padding-top:1.5mm}.pdf-brand-line{display:flex;align-items:center;gap:4mm;margin-bottom:1mm}.pdf-brand{width:28mm;height:auto;display:block}.pdf-brand-line h1{font-size:9pt;line-height:1.2;font-weight:500;letter-spacing:.08em;color:var(--accent,#48574f);margin:0}.pdf-heading p{color:var(--muted,#657164)}.pdf-table{border:0;break-inside:auto}.pdf-table th,.pdf-table td{border-left:0;border-right:0;border-top:0;border-bottom:.2mm solid var(--border,#dfe4dc)}.pdf-table th{background:var(--selected,#e1e7df);color:var(--accent,#48574f);border-bottom:.3mm solid var(--accent,#48574f)}.pdf-table tr:nth-child(even) td{background:var(--page,#f7f7f3)}.pdf-group-dot{display:inline-block;width:1.5mm;height:1.5mm;border-radius:50%;margin-right:1mm;vertical-align:middle;background:#78818a}.pdf-group-dot.color-sage{background:#478561}.pdf-group-dot.color-blue{background:#437cbb}.pdf-group-dot.color-amber{background:#b77b25}.pdf-group-dot.color-rose{background:#b65b76}.pdf-group-dot.color-violet{background:#8061b3}.pdf-group-dot.color-teal{background:#348c8b}
@media print{#print-sheet .pdf-brand-line h1{font-size:9pt!important;font-weight:500!important;color:var(--accent,#48574f)!important;margin:0!important}#print-sheet .pdf-table th{color:var(--accent,#48574f)!important;background:var(--selected,#e1e7df)!important}#print-sheet .pdf-heading p{color:var(--muted,#657164)!important}#print-sheet .pdf-heading{break-inside:avoid}}
