.tx-span { grid-column:1/-1; }
.tx-opt { font-style:normal;font-weight:500;color:var(--subtle);font-size:10.5px; }
.tx-hint { margin:16px 0 0;padding:11px 14px;border-left:2px solid var(--violet);border-radius:0 9px 9px 0;background:rgba(14,7,19,.45);color:#d8c8e0;font-size:12px;line-height:1.5; }
.tx-hint--warn { border-left-color:#f4c27a;color:#f3dcb8; }
.tools-field select,.tools-field textarea { width:100%;min-height:48px;padding:10px 13px;border:1px solid rgba(226,172,244,.24);border-radius:10px;background:rgba(11,6,16,.6);color:var(--ink);font:500 15px var(--font-body,inherit);outline:none;resize:vertical; }
.tools-field select:focus,.tools-field textarea:focus { border-color:#d56be5;box-shadow:0 0 0 3px rgba(213,107,229,.14); }
.tools-field input[type="month"],.tools-field input[type="date"] { color-scheme:dark; }
.tools-field [aria-invalid="true"] { border-color:#ff8fb5; }
.tx-drop { position:relative;display:grid;gap:6px;margin-bottom:6px;padding:26px 20px;border:1.5px dashed rgba(226,143,244,.4);border-radius:14px;background:radial-gradient(ellipse at 50% 0,rgba(240,75,204,.1),transparent 70%),rgba(11,6,16,.5);cursor:pointer;text-align:center;transition:border-color .2s; }
.tx-drop:hover,.tx-drop:focus-within { border-color:#e88be9; }
.tx-drop input { position:absolute;inset:0;opacity:0;cursor:pointer; }
.tx-drop__title { font:600 16px var(--font-display); }
.tx-drop__meta { color:var(--subtle);font-size:11px; }
.tx-drop__name { color:#f1b8ef;font-size:12px;overflow-wrap:anywhere; }
.tx-drop:focus-within { outline:2px solid #ff9bea;outline-offset:3px; }
.tx-group { margin-top:16px; }
.tx-group legend { float:none;margin-bottom:10px; }
.tx-range { margin-top:16px; }
.tx-range span { display:flex;justify-content:space-between; }
.tx-range output { font:600 15px var(--font-display);color:var(--pink); }
.tx-range input[type="range"] { min-height:auto;padding:0;border:0;background:none;accent-color:#ed48cb; }
.tx-range.is-off input,.tx-range.is-off output { opacity:.4; }
.tx-check { display:flex;gap:10px;align-items:center;margin-top:14px;color:#eadbf0;font-size:12.5px;cursor:pointer; }
.tx-check input { width:18px;height:18px;accent-color:#ed48cb; }
.tx-entry { margin:18px 0 0;padding:16px;border:1px solid rgba(222,164,255,.16);border-radius:14px;background:rgba(14,7,19,.4); }
.tx-entry legend { padding:0 6px;color:#e8a0f6;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700; }
.tx-entry.is-editing { border-color:rgba(240,75,204,.5); }
.tx-entry__actions { display:flex;gap:8px;margin-top:14px; }
.tx-entry__actions .button { font-size:11.5px; }
.tx-entry__err { margin:10px 0 0;color:#ffb3c9;font-size:12px; }
.tx-list-head { display:flex;justify-content:space-between;align-items:baseline;margin:22px 0 8px; }
.tx-list-head h3 { margin:0;font-size:15px; } .tx-list-head span { color:var(--subtle);font:600 12px var(--font-display); }
.tx-list { display:grid;gap:8px;margin:0;padding:0;list-style:none; }
.tx-item { display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(11,6,16,.45); }
.tx-item.is-out { border-color:#f4c27a; }
.tx-item__day { display:grid;place-items:center;height:46px;border-radius:10px;background:rgba(240,75,204,.12);color:var(--pink);font:700 18px var(--font-display);line-height:1; }
.tx-item__day small { display:block;font-size:9px;color:var(--subtle);font-weight:600; }
.tx-item__body { min-width:0; }
.tx-item__body strong { display:block;font-size:13px;overflow-wrap:anywhere; }
.tx-item__body span { color:var(--muted);font-size:11.5px;overflow-wrap:anywhere; }
.tx-chip { display:inline-block;margin-right:6px;padding:1px 8px;border-radius:99px;background:rgba(179,123,255,.16);color:#d7b8ff;font-size:10.5px;font-weight:700; }
.tx-item__actions { display:flex;gap:4px; }
.tx-item__actions button { padding:7px 9px;border:1px solid transparent;border-radius:8px;background:none;color:#e88be9;font-size:11.5px;font-weight:700;cursor:pointer; }
.tx-item__actions button:hover,.tx-item__actions button:focus-visible { border-color:var(--line-bright);outline:none; }
.tx-item__actions button[data-tx-del] { color:#ff9fc0; }
.tx-empty { margin:6px 0 0;padding:16px;border:1px dashed var(--line);border-radius:12px;color:var(--subtle);font-size:12.5px;text-align:center; }
.tx-url { margin:0 0 12px;padding:14px;border:1px solid rgba(238,91,218,.35);border-radius:12px;background:rgba(11,6,16,.6);font:500 13px/1.5 var(--font-mono,monospace);overflow-wrap:anywhere;word-break:break-all;user-select:all; }
.tx-preview { display:grid;place-items:center;margin:0 0 14px;padding:12px;border-radius:12px;background:repeating-conic-gradient(rgba(255,255,255,.05) 0 25%,transparent 0 50%) 0 0/16px 16px; }
.tx-preview img { max-width:100%;max-height:320px;height:auto;border-radius:6px; }
.tx-cal { display:grid;gap:6px;margin:0;padding:0;list-style:none; }
.tx-cal li { display:grid;grid-template-columns:auto 1fr;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12.5px; }
.tx-cal time { color:var(--pink);font:600 13px var(--font-display);white-space:nowrap; }
.tx-cal strong { overflow-wrap:anywhere; } .tx-cal em { display:block;font-style:normal;color:var(--muted);overflow-wrap:anywhere; }
.tx-processing { display:grid;gap:8px; }
.tx-processing span { height:12px;border-radius:6px;background:linear-gradient(90deg,rgba(222,164,255,.08),rgba(222,164,255,.2),rgba(222,164,255,.08));background-size:200% 100%;animation:txSk 1.2s linear infinite; }
.tx-processing span:nth-child(2) { width:70%; } .tx-processing span:nth-child(3) { width:45%; }
@keyframes txSk { to { background-position:-200% 0; } }
@media (max-width:720px) { .tx-item { grid-template-columns:46px 1fr; } .tx-item__actions { grid-column:1/-1;justify-content:flex-end; } }
@media (prefers-reduced-motion:reduce) { .tx-processing span { animation:none; } }
