/* Only the new absence dialog. No changes to existing page/card/navigation styles. */
#temp-absence-dialog-1270{box-sizing:border-box;width:calc(100% - 24px);max-width:520px;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);margin:auto;padding:0;border:1px solid #db863b;border-radius:20px;background:linear-gradient(145deg,#143655,#081d35);color:#f7faff;box-shadow:0 22px 65px #0009,inset 0 1px 0 #ffe5c326;overflow:auto;color-scheme:dark}
#temp-absence-dialog-1270::backdrop{background:rgba(1,8,18,.76)}
#temp-absence-dialog-1270.ta70-fallback{position:fixed;inset:18px 0;z-index:2147483600;box-shadow:0 0 0 100vmax #000b}
#temp-absence-dialog-1270 *{box-sizing:border-box}
#temp-absence-dialog-1270 .ta70-form{padding:20px;display:block;margin:0}
#temp-absence-dialog-1270 .ta70-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
#temp-absence-dialog-1270 h2{font-size:20px;line-height:1.3;margin:0;color:#fff}
#temp-absence-dialog-1270 .ta70-close{flex-shrink:0;min-width:44px;height:44px;font-size:28px;line-height:1;border:0;background:transparent;color:#ffc17a;cursor:pointer}
#temp-absence-dialog-1270 .ta70-person{font-size:15px;line-height:1.6;overflow-wrap:anywhere;margin:10px 0 18px}
#temp-absence-dialog-1270 .ta70-person span{color:#aec5dc}
#temp-absence-dialog-1270 .ta70-reasons{margin:0 0 18px;padding:0;border:0;min-width:0}
#temp-absence-dialog-1270 legend{font-size:14px;font-weight:600;margin-bottom:10px;color:#ffc080}
#temp-absence-dialog-1270 .ta70-choice{display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 12px;margin:7px 0;border:1px solid #426386;border-radius:12px;background:#0a233d;cursor:pointer;font-size:15px;line-height:1.35;color:#fff}
#temp-absence-dialog-1270 .ta70-choice:has(input:checked){border-color:#ffad55;background:#573923;box-shadow:inset 0 1px 0 #ffdbab33}
#temp-absence-dialog-1270 .ta70-choice input{appearance:auto;-webkit-appearance:auto;accent-color:#ff961f;width:20px!important;height:20px!important;min-height:0!important;flex:0 0 20px;margin:0;box-shadow:none}
#temp-absence-dialog-1270 .ta70-comment-label{display:block;font-size:14px;margin:10px 0;color:#c5d5e5}
#temp-absence-dialog-1270 textarea{width:100%;font-size:16px!important;font-family:inherit;line-height:1.4;min-height:84px;max-height:220px;padding:12px;border:1px solid #426386;border-radius:12px;background:#061b30;color:#fff;resize:vertical}
#temp-absence-dialog-1270 .ta70-feedback{min-height:18px;font-size:13px;line-height:1.4;margin:8px 0;overflow-wrap:anywhere;color:#bcd0e5}
#temp-absence-dialog-1270 .ta70-error{color:#ffb5a8}
#temp-absence-dialog-1270 .ta70-footer{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}
#temp-absence-dialog-1270 .ta70-footer button{min-height:46px;padding:10px 18px;border-radius:12px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.2;cursor:pointer}
#temp-absence-dialog-1270 .ta70-cancel{background:#163651;border:1px solid #58748e;color:#e7f0fa}
#temp-absence-dialog-1270 .ta70-save{background:linear-gradient(#ffba5b,#ed7916);border:1px solid #ffce8a;color:#08213a;box-shadow:inset 0 1px 0 #fff8,0 4px 10px #0004}
#temp-absence-dialog-1270 button:disabled{opacity:.5;cursor:default;filter:none}
#temp-absence-dialog-1270 button:focus-visible,#temp-absence-dialog-1270 input:focus-visible,#temp-absence-dialog-1270 textarea:focus-visible{outline:2px solid #ffbd72;outline-offset:2px}
.t65-page>p.ta70-saved{padding:10px 12px;border:1px solid #389a75;background:#0b392e;color:#b4f4d4;border-radius:10px;font-size:14px}
@media(max-width:380px){#temp-absence-dialog-1270 .ta70-form{padding:14px}#temp-absence-dialog-1270 h2{font-size:18px}}
