.tbottle-workbench{--tbottle-gold:#dfc276;--tbottle-line:rgba(223,194,118,.23);--tbottle-muted:#ccc6b7;max-width:100%;min-width:0;color:#f8f3e7;line-height:1.55;font:inherit}.tbottle-workbench *{box-sizing:border-box}.tbottle-header,.tbottle-section{min-width:0;max-width:100%;margin:0 0 1.2rem;padding:clamp(1rem,3vw,1.7rem);border:1px solid var(--tbottle-line);border-radius:22px;background:linear-gradient(145deg,rgba(39,36,27,.88),rgba(12,15,20,.94));box-shadow:0 12px 35px rgba(0,0,0,.18)}.tbottle-header h2,.tbottle-section h3{margin:0 0 .8rem;line-height:1.25;color:#f7e4ab;overflow-wrap:anywhere}.tbottle-section{scroll-margin-top:5rem}.tbottle-note,.tbottle-hint,.tbottle-live,.tbottle-current,.tbottle-warning,.tbottle-selection,.tbottle-disabled{overflow-wrap:anywhere}.tbottle-note{margin:.65rem 0;color:var(--tbottle-muted)}.tbottle-hint{display:block;font-size:.83rem;color:#bdb6a7;margin:.35rem 0}.tbottle-live{min-height:1.5em;color:#e2d4a4}.tbottle-error,.tbottle-warning{color:#ffcd9e}.tbottle-current{color:#b9e6c5}.tbottle-selection{color:#f5d47a;font-weight:700}.tbottle-disabled{padding:1rem;border:1px dashed var(--tbottle-line);border-radius:12px;color:#c0b6a0}.tbottle-nav{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:1rem}.tbottle-nav .tbottle-button{font-size:.78rem;padding:.45rem .65rem}.tbottle-form{margin:1rem 0;min-width:0}.tbottle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-width:0}.tbottle-wide{grid-column:1/-1}.tbottle-field{display:flex;flex-direction:column;gap:.3rem;min-width:0;color:#efe9da;font-size:.94rem}.tbottle-label{font-weight:600;overflow-wrap:anywhere}.tbottle-workbench input,.tbottle-workbench select,.tbottle-workbench textarea{width:100%;max-width:100%;min-width:0;background:#11161c;color:#faf5e6;border:1px solid #6d654d;border-radius:10px;padding:.7rem .75rem;font:inherit;line-height:1.4;accent-color:var(--tbottle-gold)}.tbottle-workbench textarea{resize:vertical;min-height:6rem}.tbottle-check{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin:.4rem 0}.tbottle-check input{width:1.2rem;height:1.2rem;grid-column:2;grid-row:1}.tbottle-check .tbottle-hint{grid-column:1/-1}.tbottle-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;margin:.6rem .5rem .3rem 0;padding:.7rem 1rem;max-width:100%;border-radius:999px;border:1px solid #8f7c47;background:#1c2228;color:#f3e2b1;font:inherit;font-weight:600;line-height:1.3;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.tbottle-primary{background:linear-gradient(135deg,#e5cc88,#bba45f);color:#151714;border-color:#e5cc88}.tbottle-button:disabled,.tbottle-workbench input:disabled,.tbottle-workbench select:disabled,.tbottle-workbench textarea:disabled{opacity:.55;cursor:not-allowed}.tbottle-workbench :focus-visible{outline:3px solid #f6d16d;outline-offset:3px}.tbottle-subform,.tbottle-event-row{margin:.5rem 0;padding:1rem;border:1px solid var(--tbottle-line);border-radius:14px;min-width:0}.tbottle-subform legend,.tbottle-event-row legend{padding:0 .4rem;color:#e8d49e;font-weight:600}.tbottle-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;gap:.65rem;align-items:end;margin:.7rem 0}.tbottle-row .tbottle-button{margin:0}.tbottle-details{min-width:0;margin:.8rem 0;padding:.8rem 1rem;border:1px solid var(--tbottle-line);border-radius:12px;background:rgba(0,0,0,.12)}.tbottle-details summary{cursor:pointer;color:#e8d49e;font-weight:600;overflow-wrap:anywhere}.tbottle-table-wrap{width:100%;max-width:100%;overflow:auto;margin:.9rem 0;border:1px solid var(--tbottle-line);border-radius:12px;overscroll-behavior-inline:contain}.tbottle-table{width:100%;border-collapse:collapse;font-size:.87rem;line-height:1.4}.tbottle-table th,.tbottle-table td{padding:.7rem .8rem;text-align:left;vertical-align:top;border-bottom:1px solid rgba(223,194,118,.12);min-width:7rem;max-width:28rem;overflow-wrap:anywhere}.tbottle-table th{background:rgba(223,194,118,.1);color:#f3dda3;font-weight:650}.tbottle-table tr:last-child td{border-bottom:0}.tbottle-original{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;background:#090e14;padding:.85rem;color:#e0dbcc;font: .82rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}@media(max-width:680px){.tbottle-grid,.tbottle-row{grid-template-columns:minmax(0,1fr)}.tbottle-header,.tbottle-section{border-radius:16px;padding:1rem .85rem}.tbottle-button{width:100%;margin:.5rem 0}.tbottle-nav .tbottle-button{width:auto;flex:1 1 10rem}.tbottle-table th,.tbottle-table td{padding:.6rem}.tbottle-subform,.tbottle-event-row{padding:.75rem}.tbottle-details{padding:.7rem}.tbottle-check{grid-template-columns:minmax(0,1fr) auto}}@media(prefers-reduced-motion:reduce){.tbottle-workbench *{scroll-behavior:auto!important}}
