body { background: radial-gradient(circle at top left, #f5f9ff 0%, #e8f1ff 42%, #dce9ff 100%); color: #1b2a4a; min-height: 100vh; } .container { max-width: 1400px; margin: 0 auto; padding: 28px 20px; } .panel-header { text-align: center; margin-bottom: 20px; padding: 20px; border-radius: 14px; border: 1px solid #c3d7ff; background: linear-gradient(140deg, #ffffff, #f2f7ff); box-shadow: 0 6px 20px rgba(40, 79, 158, 0.08); } .panel-header h1 { margin: 0; color: #1f4b99; font-size: 2rem; letter-spacing: 0.5px; } .panel-subtitle { margin: 8px 0 0 0; color: #4a6ba8; font-size: 1rem; } .toolbar, .add-bar, .attachments-editor { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; padding: 14px; border-radius: 12px; border: 1px solid #cfe0ff; background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 14px rgba(37, 84, 171, 0.08); } .attachments-editor { display: block; } .attachments-title { font-weight: 700; color: #2b4f8f; margin-bottom: 10px; } input, select { height: 38px; border: 1px solid #b6cbf3; border-radius: 8px; padding: 0 10px; color: #1e335a; background: #fff; } input:focus, select:focus { outline: none; border-color: #5c8ee6; box-shadow: 0 0 0 3px rgba(92, 142, 230, 0.2); } input[type="file"] { height: auto; min-height: 38px; padding: 6px 10px; } .btn { border: 1px solid #316ccc; background: linear-gradient(140deg, #2f69c9, #3f7de2); color: #fff; border-radius: 8px; height: 38px; padding: 0 14px; cursor: pointer; font-weight: 600; } .btn:hover { background: linear-gradient(140deg, #285cb2, #366cc6); } .btn:disabled { opacity: 0.65; cursor: not-allowed; } .btn-light { background: linear-gradient(140deg, #eef3ff, #dfeaff); color: #1f4380; border-color: #aac3f3; } .btn-light:hover { background: linear-gradient(140deg, #dfeaff, #cfdeff); } .btn-danger { background: linear-gradient(140deg, #bd3c4e, #d35364); border-color: #b23647; } .btn-danger:hover { background: linear-gradient(140deg, #a63445, #bc4658); } .table-wrap { border: 1px solid #cddfff; border-radius: 12px; overflow: auto; background: #fff; } table.flows { width: 100%; border-collapse: collapse; } table.flows th, table.flows td { padding: 10px 12px; border-bottom: 1px solid #e6eeff; text-align: left; vertical-align: top; } table.flows th { background: linear-gradient(140deg, #2f5faa, #3c72c4); color: #fff; position: sticky; top: 0; } table.flows tr.in td { background: rgba(62, 121, 211, 0.06); } table.flows tr.out td { background: rgba(41, 70, 128, 0.04); } table.flows tr:hover td { background: rgba(78, 130, 220, 0.12); } table.flows td.amount { font-weight: 700; color: #23447d; } table.flows td.ending { font-weight: 700; color: #1f4e9e; } .attachments-cell { min-width: 180px; } .attachments-cell.expandable { position: relative; padding-bottom: 24px; } .attachments-cell .expandable-content { overflow: hidden; max-height: 62px; transition: max-height 0.2s ease; } .attachments-cell.expanded .expandable-content { max-height: none; overflow: visible; } .attachments-cell .expandable-toggle { position: absolute; right: 4px; bottom: 2px; font-size: 12px; color: #345ea8; cursor: pointer; user-select: none; background: rgba(232, 241, 255, 0.9); padding: 0 4px; border-radius: 4px; z-index: 1; } .att-none { color: #94a3b8; font-size: 13px; } .att-count { display: inline-block; font-size: 12px; color: #345ea8; font-weight: 700; margin-bottom: 4px; } .att-links { display: flex; flex-direction: column; gap: 2px; } .att-links a { color: #2759a9; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; } .att-links a:hover { text-decoration: underline; } .att-extra { color: #5b76a8; font-size: 12px; } .attachments-list { display: flex; flex-direction: column; gap: 8px; } .attachment-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid #dae7ff; border-radius: 8px; background: #f8fbff; } .attachment-item a { color: #2558a7; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attachment-item a:hover { text-decoration: underline; } .empty-attachments { color: #6a7da1; } .stats { margin: 14px 0; padding: 16px; border-radius: 10px; border: 1px solid #cfe2ff; background: linear-gradient(140deg, #f8fbff, #ebf3ff); color: #244983; font-weight: 700; } .status { margin: 8px 0 12px 0; padding: 10px; border-radius: 8px; border: 1px solid #bbd3fb; background: #eef5ff; color: #254d8a; } .debug { margin: 12px 0; padding: 8px; border: 1px dashed #9db7e5; border-radius: 8px; background: #f8fbff; } .debug-actions { display: flex; gap: 8px; margin-bottom: 8px; } .debug-output { height: 220px; overflow: auto; background: #f0f5ff; padding: 8px; border-radius: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; white-space: pre-wrap; } @media (max-width: 880px) { .toolbar, .add-bar { flex-direction: column; align-items: stretch; } .toolbar .btn, .add-bar .btn, .toolbar input, .toolbar select, .add-bar input, .add-bar select { width: 100%; } table.flows th, table.flows td { padding: 8px; } }