.tp-host{--tp-blue:#079cec;--tp-ink:#123c60;--tp-line:#d6e7f4;color:var(--tp-ink);font:14px/1.45 system-ui,sans-serif;background:#fff;border:1px solid var(--tp-line);border-radius:14px;min-width:0;overflow:hidden}.tp-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 100px)}.tp-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--tp-line);background:#f6fbff}.tp-heading h2{font-size:19px;margin:0 0 4px}.tp-heading p{font-size:12px;margin:0;color:#67839a}.tp-host button{cursor:pointer;border:1px solid #c9e0f1;border-radius:8px;background:#fff;color:#123c60;font:inherit;padding:9px 12px;min-height:40px}.tp-host button:hover:not(:disabled){background:#eef8ff;border-color:#079cec}.tp-host button:focus-visible,.tp-host input:focus-visible,.tp-host select:focus-visible,.tp-host textarea:focus-visible{outline:3px solid #84ceff;outline-offset:2px}.tp-host button:disabled{cursor:default;opacity:.5}.tp-heading>button{font-size:22px;padding:1px 12px}.tp-form{padding:16px 20px;overflow:auto;min-height:0;scrollbar-gutter:stable}.tp-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.tp-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.tp-field input,.tp-field select,.tp-field textarea,.tp-day input{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #cddfee;border-radius:8px;padding:10px;background:#fff;color:#123c60;font:inherit;min-height:42px}.tp-field textarea{resize:vertical}.tp-wide{grid-column:1/-1}.tp-calendar{padding:13px;background:#f4faff;border:1px solid #d5eaf8;border-radius:12px;margin-bottom:16px}.tp-day{display:flex;gap:5px;align-items:center;margin-bottom:12px}.tp-day input{width:0;flex:1;min-width:120px}.tp-day button{padding:8px}.tp-schedule{font-size:12px;font-weight:600;margin:10px 0}.tp-busy{font-size:11px;color:#62798d;margin-bottom:10px}.tp-busy-chip{display:inline-block;background:#e8edf1;border-radius:5px;padding:3px 5px;margin:2px}.tp-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tp-slots>p{grid-column:1/-1;font-size:13px}.tp-slots button{padding:7px 3px;border-color:#a7d9c9;background:#fff;color:#196247;font-weight:600}.tp-slots button[aria-pressed=true]{background:#087ec0;border-color:#087ec0;color:#fff}.tp-help,.tp-field small,.tp-footer small{font-size:11px;color:#67839a;margin:9px 0 0}.tp-footer{display:flex;flex-direction:column;gap:9px;margin-top:15px}.tp-footer .tp-primary{background:#079cec;color:#fff;border-color:#079cec;font-weight:650}.tp-footer .tp-primary:hover:not(:disabled){background:#008bda;color:#fff}.tp-error{color:#a12727;white-space:pre-line;font-size:13px}.tp-success{color:#186446;font-size:13px;white-space:pre-line}.tp-property-chosen{background:#f0f8ff;padding:6px 9px;border-radius:8px;font-size:12px}.tp-property-chosen button{float:right;min-height:24px;padding:0 7px}.tp-property-results{max-height:180px;overflow:auto}.tp-property-results button{display:block;width:100%;text-align:left;margin-top:5px}.tp-calendar-dialog{border:0;border-radius:14px;padding:0;width:min(740px,calc(100vw - 24px));max-height:94dvh;box-shadow:0 20px 80px #173c6040}.tp-calendar-dialog::backdrop{background:#183d6060}.tp-calendar-dialog .tp-panel{max-height:92dvh}.workspace.planner-open{grid-template-columns:260px minmax(400px,1fr) 420px}.workspace.planner-open #meeting-planner{align-self:start;position:sticky;top:12px}.workspace.planner-open #meeting-planner .tp-panel{max-height:calc(100dvh - 40px)}.tp-draft-card{padding:14px;border:1px solid #cee1f1;border-radius:10px;background:#f5faff}.tp-draft-card textarea{box-sizing:border-box;width:100%;min-height:150px;resize:vertical}.tp-assist-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.tp-assist-actions button{min-height:38px}.tp-assistant-note{font-size:12px;color:#67839a}.tp-unavailable{padding:14px;border:1px solid #d5e6f4;border-radius:10px;background:#f6fbff}
@media(max-width:1500px) and (min-width:901px){.workspace.planner-open{grid-template-columns:minmax(390px,1fr) 420px}.workspace.planner-open>.chats,.workspace.planner-open>.chat-list,.workspace.planner-open>aside:not(#meeting-planner){display:none}}
@media(max-width:900px){.workspace.planner-open{display:block}.workspace.planner-open #meeting-planner{position:fixed;inset:0 0 0 auto;width:min(100vw,480px);z-index:1300;border-radius:0;box-shadow:-8px 0 35px #123c6030}.workspace.planner-open #meeting-planner .tp-panel{max-height:100dvh;height:100dvh}.tp-form{padding:14px}.tp-heading{padding:14px}.tp-day input{min-width:110px}.tp-grid{gap:10px}.tp-field input[type=datetime-local]{font-size:12px}}
@media(max-width:380px){.tp-slots{grid-template-columns:repeat(3,1fr)}.tp-grid{grid-template-columns:1fr}.tp-wide{grid-column:auto}}
@media(max-width:1500px) and (min-width:901px){.workspace.planner-open>.queue{display:none}}
#assistant-enabled{width:auto;min-height:0;margin-right:8px}
