.tre-dialog{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#edf3f8;text-align:left;background:#121e2c;border:1px solid #3b4e60;border-radius:1rem;width:min(34rem,100% - 2rem);max-width:none;max-height:min(90dvh,48rem);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 1.5rem 5rem #03080dbf}.tre-dialog[open]{flex-direction:column;display:flex}.tre-dialog::backdrop{background:#040a13bc}.tre-head{background:#162434;border-bottom:1px solid #304154;flex:none;justify-content:space-between;align-items:center;gap:1rem;padding:1.05rem 1.3rem;display:flex}.tre-head p{color:#9db9cb;letter-spacing:.01em;font-size:.875rem}.tre-head h2{letter-spacing:-.035em;overflow-wrap:anywhere;margin-top:.12rem;font-size:1.45rem;font-weight:650}.tre-head h2:focus{outline:0}.tre-dialog button{cursor:pointer}.tre-close{color:#d2dfeb;border-radius:.5rem;flex:none;place-items:center;width:2.75rem;height:2.75rem;display:grid}.tre-close:hover,.tre-cancel:hover,.tre-history-tabs button:hover,.tre-history-list summary:hover{background:#233749}.tre-form{flex-direction:column;min-height:0;display:flex}.tre-body,.tre-history-content{overscroll-behavior:contain;padding:1.15rem 1.3rem;overflow:auto}.tre-fields{border:0;gap:.95rem;min-width:0;margin:0;padding:0;display:grid}.tre-fields label{color:#e4edf3;min-width:0;font-size:.94rem;font-weight:550;line-height:1.4;display:block}.tre-fields label small{color:#a8bac8;font-size:.8rem;font-weight:400}.tre-fields input:not([type=checkbox]),.tre-fields select,.tre-fields textarea{color:#f1f5f8;background-color:#0e1824;border:1px solid #3b4b5e;border-radius:.5rem;width:100%;min-width:0;min-height:2.75rem;margin-top:.3rem;padding:.48rem .7rem;font-family:inherit;font-size:1rem;font-weight:400;display:block}.tre-fields select{-webkit-appearance:none;appearance:none;background-image:linear-gradient(45deg,#0000 50%,#aec0ce 50%),linear-gradient(135deg,#aec0ce 50%,#0000 50%);background-position:calc(100% - 1.05rem),calc(100% - .74rem);background-repeat:no-repeat;background-size:.32rem .32rem,.32rem .32rem;padding-right:2.1rem}.tre-fields textarea{resize:vertical;min-height:5rem}.tre-dialog :is(input,select,textarea,button,summary):focus-visible{outline-offset:2px;outline:2px solid #7de4ca}.tre-fields input::placeholder{color:#99adbc}.tre-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.7rem;display:grid}.tre-followup{border:1px solid #344659;border-radius:.65rem;min-width:0;margin:0;padding:.7rem .85rem .85rem}.tre-followup legend{color:#cddfea;padding:0 .35rem;font-size:.95rem;font-weight:600}.tre-checklist{border:1px solid #344659;border-radius:.6rem;overflow:hidden}.tre-checklist label{grid-template-columns:1fr minmax(7.5rem,.85fr);align-items:center;gap:.8rem;padding:.3rem .7rem;display:grid}.tre-checklist label+label{border-top:1px solid #2a3b4c}.tre-checklist select{margin:0}.tre-fields .tre-checkbox{align-items:center;gap:.65rem;min-height:2.75rem;font-weight:450;display:flex}.tre-checkbox input{accent-color:#7de4ca;flex:none;width:1.15rem;height:1.15rem}.tre-damage-detail,.tre-history-list p{overflow-wrap:anywhere;white-space:pre-wrap}.tre-hint{color:#b6c6d3;font-size:.94rem}.tre-damage-detail{color:#bdcedb;border-left:2px solid #63849b;padding:.15rem .75rem;font-size:.94rem}.tre-foot{background:#152230;border-top:1px solid #304154;flex:none;padding:.75rem 1.3rem}.tre-buttons{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;display:flex}.tre-buttons button{border:1px solid #3a4e62;border-radius:.5rem;min-height:2.75rem;padding:.5rem .95rem;font-size:.94rem;font-weight:600}.tre-cancel{color:#d6e4ee}.tre-buttons .tre-save{color:#11352e;background:#7de4ca;border-color:#7de4ca}.tre-save:hover{background:#a0eddb}.tre-foot .tre-error{color:#ffd8cd;background:#35272c;border:1px solid #72524f;border-radius:.45rem;max-height:22dvh;margin:0 0 .7rem;padding:.55rem .7rem;font-size:.9rem;overflow:auto}.tre-history-tabs{border:1px solid #334657;border-radius:.55rem;grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem;margin-bottom:1rem;padding:.22rem;display:grid}.tre-history-tabs button{color:#bbcbd7;border-radius:.35rem;min-height:2.75rem;font-size:.88rem;font-weight:550}.tre-history-tabs button[aria-pressed=true]{color:#9df0d6;background:#24413e}.tre-history-tabs span{font-variant-numeric:tabular-nums;margin-left:.12rem}.tre-history-empty{color:#afbfcd;padding:.85rem .2rem 1rem}.tre-history-list li+li{border-top:1px solid #304154}.tre-history-list summary{cursor:pointer;color:#a5bbcb;min-height:2.75rem;padding:.65rem .5rem}.tre-history-list summary span{vertical-align:middle;margin-left:.3rem;display:inline-block}.tre-history-list strong,.tre-history-list small{overflow-wrap:anywhere;display:block}.tre-history-list strong{color:#e8f1f6;font-size:.95rem;font-weight:600}.tre-history-list small{color:#aabcca;font-size:.86rem}.tre-history-list p,.tre-history-items{margin:0 .6rem .85rem;font-size:.92rem}.tre-history-items{border:1px solid #304154;border-radius:.45rem;overflow:hidden}.tre-history-items div{justify-content:space-between;gap:.8rem;padding:.3rem .6rem;display:flex}.tre-history-items div+div{border-top:1px solid #263749}.tre-history-items dt{color:#acc0ce}.tre-history-items dd{text-align:right;margin:0}@media (max-width:480px){.tre-dialog{width:calc(100% - 1rem);max-height:calc(100dvh - 1rem)}.tre-head,.tre-body,.tre-history-content,.tre-foot{padding:.85rem}.tre-fields{gap:.7rem}.tre-checklist label{gap:.35rem;padding:.22rem .4rem}}@media (max-width:360px){.tre-pair{grid-template-columns:minmax(0,1fr)}.tre-history-tabs button{font-size:.8rem}}
