/* Նշումներ, հաշվետվություն, պահուստ, տեղադրում */

.note {
  display: block;
  width: 100%;
  min-height: 110px;
  margin-top: 10px;
  padding: 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
  resize: vertical;
  box-sizing: border-box;
}
.note:focus { outline: none; border-color: var(--accent); }

.note-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 12px 0;
}
.note-card h2 { font-size: 1.1rem; margin: 0 0 4px; }
.note-text { white-space: pre-wrap; margin: 8px 0 0; }
.meta { color: var(--muted); font-size: 0.9rem; margin: 0; }

.field { display: block; margin: 12px 0; font-weight: 600; }
.textin {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 12px;
  box-sizing: border-box;
}

.tool-card { display: block; text-decoration: none; color: var(--text); }
.tool-card .ctitle { display: block; }
.tool-card .cprog { display: block; font-size: 0.9rem; font-weight: 400; white-space: normal; }

.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 14px 0;
}
.section h2 { margin-top: 0; }
.section p { margin: 6px 0; }

.toolbar-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar-row .primary { margin-top: 0; width: auto; padding: 0 18px; }

/* Հաշվետվություն */
.report-wrap { overflow-x: auto; }
.report h1 { font-size: 1.5rem; margin: 4px 0; }
.report h2 { font-size: 1.15rem; margin: 22px 0 6px; }
.report table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.report th, .report td {
  text-align: left;
  padding: 7px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.report th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.rthumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--line);
  display: block;
}
.rthumb[hidden] { display: none; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.summary div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}
.summary b { display: block; font-size: 1.4rem; color: var(--accent); }

@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .noprint, .tabs, .topbar, .ghost, .privacy { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .report-wrap { overflow: visible; }
  .report th, .report td { border-bottom: 1px solid #ccc; color: #000; }
  .report h2 { break-after: avoid; }
  .summary div { border: 1px solid #999; background: #fff; }
  .summary b { color: #000; }
  .note-card { border: 1px solid #999; background: #fff; break-inside: avoid; }
  .rthumb { background: #eee; }
}
