.ag-container{container-type:inline-size;margin:28px 0 44px;min-width:0}.ag-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}.ag-calendar{grid-row:1;min-width:0}.ag-agenda,.ag-memos{min-width:0}.ag-layout .section-heading{gap:12px;margin:0 0 12px;align-items:center}.ag-layout h2{font-size:19px}.ag-layout h3{font-size:14px}.ag-caption,.ag-empty{color:#616974;font-size:12px;line-height:1.8;margin:0 0 18px}.ag-empty{padding:14px 0}.ag-layout .text-btn{font-size:12px;min-height:34px;white-space:nowrap}.ag-event{border-bottom:1px solid #e8e9eb;padding:7px 0;min-width:0}.ag-event-link,.ag-event>.text-btn{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:left;white-space:normal;font-size:13px;padding:8px 0}.ag-event button>span:not(.ag-kind){flex:1;min-width:0}.ag-event b{font-weight:500;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.ag-event small{display:block;color:#616974;font-size:11px;margin-top:3px;line-height:1.6}.ag-event time{font-size:11px;white-space:nowrap;color:#616974;padding-top:3px;font-variant-numeric:tabular-nums}.ag-kind{flex:none;width:23px;height:23px;display:grid;place-items:center;color:var(--event-color);border:1px solid currentColor;border-radius:5px;font-size:11px;margin-top:2px}.ag-relative{text-align:right;margin:0 0 3px!important}.ag-history{font-size:12px;margin-top:18px}.ag-history>summary{cursor:pointer;color:#616974;padding:5px 0}.ag-history .ag-empty{margin:0}.ag-local{font-size:13px;padding:12px 0;border-bottom:1px solid #e8e9eb;overflow-wrap:anywhere}.ag-local>label{display:flex;gap:10px;align-items:flex-start}.ag-local input,.ag-done-field input,.sc-note input{width:17px;height:17px;margin-top:3px;flex:none;accent-color:#53728b}.ag-local label span{min-width:0}.ag-local b{font-weight:500;line-height:1.7}.ag-local small{display:block;font-size:11px;color:#616974;line-height:1.8;margin-top:3px}.ag-local .actions{justify-content:flex-end;margin-top:3px}.ag-local .text-btn{font-size:11px;min-height:28px}.ag-local.done b,.ag-event.done b{text-decoration:line-through;color:#697079}.ag-event.done .ag-kind{opacity:.65}.ag-calendar-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.ag-calendar-heading h2{font-size:16px}.ag-calendar-heading .actions{gap:8px}.ag-day{height:54px;min-width:0;border:1px solid transparent;border-radius:5px;padding:5px;text-align:left;font-size:12px}.ag-day:hover{background:#f2f5f7}.ag-day.other{color:#8c9299}.ag-day.other .ag-day-marks{opacity:.55}.ag-day.today{border-color:#54738e}.ag-day.selected{outline:2px solid #54738e;outline-offset:-2px;background:#f2f5f8}.ag-day-marks{display:flex;align-items:center;gap:3px;margin-top:7px;min-height:12px}.ag-day-marks i,.ag-legend i{width:6px;height:6px;border-radius:50%;flex:none}.ag-day-marks small{font-size:10px;color:#616974;margin-left:auto}.ag-legend{display:flex;gap:8px 12px;flex-wrap:wrap;font-size:11px;line-height:1.8;color:#616974;margin:14px 0 20px}.ag-legend span{display:flex;align-items:center;gap:5px}.ag-day-detail{border-top:1px solid #e8e9eb;padding-top:18px}.ag-day-detail>.actions{margin-top:12px;gap:18px}.ag-day-detail .ag-event time{white-space:normal;max-width:68px}.ag-done-field{display:flex;align-items:center;gap:10px;font-size:13px;margin-top:12px}.ag-error,#ag-form-error,#cn-error{color:#914b32;font-size:13px;line-height:1.8}.ag-error{margin-bottom:16px}.ag-calendar .sc-week{margin-top:20px}
@container (min-width:760px){.ag-layout{grid-template-columns:minmax(0,1fr) minmax(290px,.8fr);grid-template-areas:'agenda calendar' 'memos calendar';gap:28px 36px;align-items:start}.ag-agenda{grid-area:agenda}.ag-memos{grid-area:memos}.ag-calendar{grid-area:calendar;border-left:1px solid #e8e9eb;padding-left:26px}}
@container (min-width:1100px){.ag-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(310px,1.05fr);grid-template-areas:'agenda memos calendar';gap:32px}.ag-calendar{padding-left:26px}}
.sc-calendar .sc-day{position:relative;overflow:hidden;padding:5px 4px;height:57px}.sc-day .sc-day-heading{position:relative;z-index:2}.sc-day .sc-day-colors{position:absolute;inset:50% 0 0;display:flex;gap:2px;padding:0;flex-wrap:nowrap;pointer-events:none}.sc-day .sc-day-colors i{flex:1;width:auto;height:100%;border-radius:0;background:linear-gradient(to top,var(--phase-color) 0%,color-mix(in srgb,var(--phase-color) 70%,transparent) 35%,transparent 100%)}.sc-day .sc-day-bottom{position:absolute;inset:auto 3px 2px;display:flex;justify-content:space-between;align-items:center;z-index:2;pointer-events:none}.sc-day-bottom small{font-size:10px;background:#ffffffe6;color:#343b43;border-radius:3px;padding:1px 2px}.sc-day.selected{z-index:1}.sc-notes{margin-top:18px;padding-top:16px;border-top:1px solid #e8e9eb}.sc-notes .section-heading{margin:0 0 12px;gap:8px}.sc-notes h4{font-size:13px;margin:0}.sc-notes>.muted{line-height:1.8}.sc-note{padding:10px 0;border-bottom:1px solid #e8e9eb}.sc-note>label{display:flex;gap:8px;align-items:flex-start}.sc-note>label>span{min-width:0;flex:1}.sc-note-text{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.sc-note time{display:block;font-size:11px;font-variant-numeric:tabular-nums;margin-bottom:4px}.sc-note.done .sc-note-text{text-decoration:line-through;color:#697079}.sc-note>small{display:block;color:#616974;margin:5px 0 0 25px;font-size:11px}.sc-note .actions{justify-content:flex-end}.sc-notes>details{margin-top:12px}.sc-notes>details p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.sc-calendar .sc-date-node{overflow-wrap:anywhere}.sc-calendar .sc-date-node i{flex:none}
@media(max-width:760px){.ag-container{margin-top:24px}.ag-layout{gap:30px}.ag-calendar .ag-day{height:49px}.ag-calendar .ag-layout h2{font-size:18px}.sc-calendar .sc-day{height:54px}.ag-day-detail>.actions{justify-content:flex-start}.ag-day-detail{padding-bottom:10px}.ag-layout .text-btn{min-height:36px}}

.uc-ref-thumb img{object-fit:contain}.uc-reference-editor{grid-template-columns:minmax(0,1fr) minmax(230px,300px);align-items:start}.uc-reference-editor>div,.uc-reference-editor>aside{min-width:0}.uc-reference-editor .creative-reference-viewport{position:relative;display:block;height:clamp(280px,55dvh,720px);min-height:0;max-height:none;padding:0;overflow:hidden;touch-action:none;background:#f0f2f3;cursor:crosshair}.uc-reference-editor .creative-reference-viewport[data-move="true"]{cursor:grab}.uc-reference-editor .creative-reference-viewport[data-move="true"]:active{cursor:grabbing}.uc-reference-editor .creative-ref-stage{position:absolute;left:50%;top:50%;max-width:none;max-height:none;min-width:0;flex:none;transform-origin:center;background:transparent;touch-action:none}.uc-reference-editor .creative-ref-stage>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;display:block;object-fit:contain;pointer-events:none;user-select:none}.uc-reference-editor .creative-ref-region{pointer-events:none}.ref-view-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 8px}.ref-view-tools .actions{gap:5px}.ref-view-tools .btn{font-size:12px;min-height:34px;padding:6px 9px}.ref-view-tools .btn[aria-pressed="true"]{background:#e7edf2;color:#315571;border-color:#b7c5d0}.ref-view-tools .icon-btn{width:32px;height:32px;min-height:32px;min-width:32px}.ref-view-tools output{font-size:12px;min-width:42px;text-align:center;font-variant-numeric:tabular-nums}.ref-view-tools .text-btn{font-size:12px}.ref-view-hint{font-size:11px!important;color:#616974;margin:0 0 10px!important;line-height:1.7}.uc-reference-editor>aside{max-height:75dvh;overflow:auto}.uc-reference-editor .dialog-actions{gap:8px}.uc-reference-editor .dialog-actions .btn{white-space:nowrap}
@media(max-width:740px){.uc-reference-editor{grid-template-columns:minmax(0,1fr)!important}.uc-reference-editor .creative-reference-viewport{height:42dvh;min-height:220px;max-height:none}.uc-reference-editor>aside{max-height:none;overflow:visible}.ref-view-tools{gap:8px}.ref-view-tools .icon-btn{min-height:36px;height:36px}.uc-reference-editor .dialog-actions{position:static}}
