/* Rainy Day calendar v2 */
html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost{
  padding:20px 24px 36px!important;
  background:
    radial-gradient(circle at 78% 0%,rgba(79,213,255,.30),transparent 34%),
    radial-gradient(circle at 8% 22%,rgba(100,188,255,.25),transparent 38%),
    linear-gradient(180deg,rgba(198,240,255,.74),rgba(159,219,246,.58) 56%,rgba(180,228,249,.52))!important;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .main-content{
  background:linear-gradient(180deg,rgba(198,239,255,.34),rgba(142,211,241,.20))!important;
}
.rc2-calendar{
  --ink:#143c52;--muted:#58798c;--line:rgba(69,160,201,.25);--glass:rgba(237,250,255,.78);
  color:var(--ink);position:relative;min-height:calc(100vh - 70px);
}
.rc2-calendar button,.rc2-calendar input,.rc2-calendar select,.rc2-calendar textarea{font:inherit}
.rc2-mode-switch{
  display:flex;gap:6px;width:max-content;padding:5px;margin:0 0 18px;border:1px solid rgba(62,166,211,.25);
  border-radius:18px;background:rgba(225,247,255,.72);box-shadow:0 12px 30px rgba(24,111,155,.10);
}
.rc2-mode-switch>button{
  display:flex;align-items:center;gap:10px;min-width:188px;padding:10px 15px;border:0;border-radius:13px;
  color:#4b7185;background:transparent;text-align:left;cursor:pointer;transition:.18s ease;
}
.rc2-mode-switch svg{width:19px;height:19px}.rc2-mode-switch span{display:flex;flex-direction:column;gap:1px}
.rc2-mode-switch b{font-size:13px}.rc2-mode-switch small{font-size:10.5px;opacity:.78}
.rc2-mode-switch button.active{color:#fff;background:linear-gradient(135deg,#168ec1,#2caed4);box-shadow:0 8px 20px rgba(21,132,183,.24)}
.rc2-head{display:flex;align-items:center;gap:18px;margin-bottom:14px}
.rc2-head>div:first-child{margin-right:auto}.rc2-head>div:first-child>span,.rc2-focus-goals header span,.rc2-week-board>header span,.rc2-goals>header span,.rc2-goal-source>div>span{
  display:block;margin-bottom:3px;color:#1683ad;font-size:10px;font-weight:900;letter-spacing:.16em
}
.rc2-head h1{margin:0;font-size:25px;letter-spacing:-.04em}.rc2-head p{margin:4px 0 0;color:var(--muted);font-size:12px}
.rc2-month-nav{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid var(--line);border-radius:13px;background:rgba(239,251,255,.76)}
.rc2-month-nav button{width:34px;height:32px;border:0;border-radius:9px;color:#23617d;background:transparent;font-weight:900;cursor:pointer}
.rc2-month-nav button:hover{background:rgba(47,172,218,.12)}.rc2-month-nav .today{width:auto;padding:0 11px;font-size:11px}
.rc2-primary{
  min-height:40px;padding:0 16px;border:0;border-radius:12px;color:#fff!important;background:linear-gradient(135deg,#0f91c4,#27b4d8)!important;
  box-shadow:0 9px 22px rgba(10,129,178,.22);font-size:12px;font-weight:850;cursor:pointer
}
.rc2-weekdays{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid var(--line)}
.rc2-weekdays span{padding:9px 8px;color:#53788b;font-size:10.5px;font-weight:850;text-align:center}
.rc2-weekdays .sun{color:#ca5e72}.rc2-weekdays .sat{color:#4e70c4}

/* General calendar */
.rc2-general-summary{
  display:flex;align-items:center;gap:17px;margin:0 0 10px;padding:10px 14px;border:1px solid rgba(67,168,208,.22);border-radius:14px;
  background:rgba(229,248,255,.72);color:#476d81;font-size:11px
}
.rc2-general-summary span{display:flex;align-items:center;gap:6px}.rc2-general-summary span>b{color:#087da9;font-size:16px}
.rc2-general-summary i{width:8px;height:8px;border-radius:50%;background:#238bb5}.rc2-general-summary i.leave{background:#208f83}
.rc2-general-summary i.appointment{background:#ce6f98}.rc2-general-summary i.exam{background:#e07858}
.rc2-general-summary small{margin-left:auto;color:#7190a0}
.rc2-general-month{
  overflow:hidden;border:1px solid rgba(61,157,200,.30);border-radius:21px;background:rgba(239,251,255,.82);
  box-shadow:0 22px 56px rgba(28,104,143,.14),inset 0 1px rgba(255,255,255,.8)
}
.rc2-general-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.rc2-general-cell{
  position:relative;min-height:126px;padding:8px 5px 7px;border-right:1px solid rgba(71,155,192,.16);border-bottom:1px solid rgba(71,155,192,.16);
  background:rgba(244,252,255,.48);cursor:pointer;transition:.16s ease
}
.rc2-general-cell:nth-child(7n){border-right:0}.rc2-general-cell:hover{background:rgba(213,244,255,.78)}
.rc2-general-cell.muted{background:rgba(215,237,246,.32)}.rc2-general-cell.muted>header,.rc2-general-cell.muted .rc2-event-lanes{opacity:.46}
.rc2-general-cell.selected{box-shadow:inset 0 0 0 2px rgba(14,155,204,.57);background:rgba(215,247,255,.82)}
.rc2-general-cell>header{display:flex;align-items:center;gap:6px;padding:0 4px 7px}
.rc2-general-cell>header>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:12px;font-weight:850}
.rc2-general-cell.today>header>span{color:#fff;background:#159ac8;box-shadow:0 4px 12px rgba(13,135,182,.25)}
.rc2-general-cell>header small{color:#1687ad;font-size:9px;font-weight:800}
.rc2-general-cell>header em{overflow:hidden;margin-left:auto;color:#c6576c;font-size:8px;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.rc2-event-lanes{display:flex;flex-direction:column;gap:3px;min-height:76px}
.rc2-event-bar,.rc2-exam-bar{
  display:flex;align-items:center;gap:5px;width:calc(100% + 10px);min-width:0;height:22px;margin-left:-5px;padding:0 7px;border:0;border-radius:3px;
  color:#fff;background:color-mix(in srgb,var(--event) 88%,white);font-size:9.5px;font-weight:800;text-align:left;cursor:pointer;box-shadow:0 2px 5px rgba(34,94,119,.10)
}
.rc2-event-bar.start{width:calc(100% + 5px);margin-left:0;border-radius:8px 3px 3px 8px}.rc2-event-bar.end{width:calc(100% + 5px);border-radius:3px 8px 8px 3px}
.rc2-event-bar.middle{border-radius:3px}
.rc2-event-bar.start.end{width:100%;margin-left:0;border-radius:8px}.rc2-event-bar i{flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.85)}
.rc2-event-bar span,.rc2-exam-bar span{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap}
.rc2-exam-bar{width:100%;margin-left:0;border-radius:8px;background:linear-gradient(90deg,#df7558,#e79468)}
.rc2-exam-bar i{width:4px;height:12px;border-radius:4px;background:#fff}.rc2-exam-bar b{margin-left:auto;font-size:8px;white-space:nowrap}
.rc2-more{align-self:flex-start;padding:2px 6px;border:0;color:#47768c;background:transparent;font-size:9px;font-weight:800;cursor:pointer}
.rc2-drawer{
  position:relative;z-index:2;width:auto;overflow:auto;padding:23px;
  border:1px solid rgba(56,155,197,.35);border-radius:24px;background:rgba(235,250,255,.985);
  box-shadow:0 30px 80px rgba(13,70,104,.28)
}
.rc2-drawer-close{position:absolute;top:14px;right:14px;width:31px;height:31px;border:0;border-radius:50%;color:#467084;background:#d9f1fa;font-size:20px;cursor:pointer}
.rc2-drawer>header{padding:10px 0 18px;border-bottom:1px solid var(--line)}
.rc2-drawer>header>span{color:#2683a7;font-size:10px;font-weight:850;letter-spacing:.08em}.rc2-drawer h2{margin:5px 0 12px;font-size:21px}
.rc2-drawer h2 em{color:#668494;font-size:12px;font-style:normal}.rc2-drawer>header>button{padding:9px 13px;border:0;border-radius:10px;color:#fff;background:#159bc8;font-size:11px;font-weight:850;cursor:pointer}
.rc2-drawer section{margin-top:20px}.rc2-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.rc2-section-title h3{margin:0;font-size:14px}.rc2-section-title span{color:#6b8a99;font-size:10.5px}
.rc2-event-list{display:flex;flex-direction:column;gap:7px}.rc2-event-list article{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.60)}
.rc2-event-list article>i{width:5px;height:32px;border-radius:5px;background:var(--event)}.rc2-event-list article.exam>i{background:#df7558}
.rc2-event-list article>button:not(.edit){flex:1;min-width:0;border:0;background:transparent;text-align:left;cursor:pointer}
.rc2-event-list b,.rc2-event-list small{display:block}.rc2-event-list b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.rc2-event-list small{margin-top:3px;color:#688797;font-size:9.5px}
.rc2-event-list .edit{padding:6px 8px;border:0;border-radius:8px;color:#2c718e;background:#dff3fa;font-size:9.5px;font-weight:800;cursor:pointer}
.rc2-drawer-note{padding:13px;border-radius:13px;background:rgba(48,168,210,.10)}.rc2-drawer-note b{font-size:11px}.rc2-drawer-note p{margin:4px 0 0;color:#5d8192;font-size:10px;line-height:1.5}

/* Study calendar */
.rc2-study-head{align-items:flex-end}.rc2-study-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:13px;background:rgba(235,250,255,.72)}
.rc2-study-tabs button{padding:8px 12px;border:0;border-radius:9px;color:#557a8c;background:transparent;font-size:10.5px;font-weight:850;cursor:pointer}
.rc2-study-tabs button.active{color:#fff;background:#168fbe;box-shadow:0 5px 12px rgba(15,128,174,.20)}
.rc2-study-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}
.rc2-study-stats article{position:relative;overflow:hidden;padding:13px 15px;border:1px solid rgba(67,164,204,.22);border-radius:15px;background:rgba(235,249,255,.76)}
.rc2-study-stats article:after{content:"";position:absolute;right:-15px;bottom:-20px;width:70px;height:70px;border-radius:50%;background:rgba(42,172,215,.10)}
.rc2-study-stats span,.rc2-study-stats strong,.rc2-study-stats small{display:block}.rc2-study-stats span{color:#52798b;font-size:9.5px;font-weight:800}.rc2-study-stats strong{margin:3px 0 2px;font-size:18px}.rc2-study-stats small{color:#7893a0;font-size:9px}
.rc2-study-stats .tone1{background:rgba(222,243,255,.82)}.rc2-study-stats .tone2{background:rgba(221,249,246,.82)}.rc2-study-stats .tone3{background:rgba(233,241,255,.82)}
.rc2-focus-goals{margin-bottom:10px;padding:13px 14px;border:1px solid var(--line);border-radius:17px;background:rgba(232,249,255,.76)}
.rc2-focus-goals>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.rc2-focus-goals h2{margin:0;font-size:14px}
.rc2-focus-goals>header button{border:0;color:#177fa8;background:transparent;font-size:10px;font-weight:850;cursor:pointer}
.rc2-focus-goals>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rc2-focus-goals>div>button{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.58);text-align:left;cursor:pointer}
.rc2-focus-goals>div>button.active{border-color:#159ac8;background:rgba(213,246,255,.9);box-shadow:0 6px 15px rgba(20,137,181,.12)}
.rc2-focus-goals button>i{width:5px;height:38px;border-radius:5px;background:var(--goal)}.rc2-focus-goals button>span{flex:1;min-width:0}
.rc2-focus-goals small,.rc2-focus-goals b,.rc2-focus-goals em{display:block}.rc2-focus-goals small{color:#688898;font-size:8.5px}
.rc2-focus-goals b{overflow:hidden;margin:3px 0 6px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.rc2-focus-goals em{height:4px;border-radius:5px;background:#d3eaf3}
.rc2-focus-goals em u{display:block;height:100%;border-radius:5px;background:#1ca2cb}.rc2-focus-goals strong{font-size:12px}.rc2-focus-goals .empty{grid-column:1/-1}
.rc2-study-layout{display:grid;grid-template-columns:minmax(720px,1fr) 350px;gap:11px;align-items:start}
.rc2-study-month,.rc2-study-panel,.rc2-week-board,.rc2-goals,.rc2-goal-detail,.rc2-goals>div>main{
  border:1px solid rgba(62,158,199,.27);border-radius:20px;background:rgba(235,250,255,.80);box-shadow:0 18px 42px rgba(28,105,144,.12)
}
.rc2-study-month{overflow:hidden}.rc2-study-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.rc2-study-cell{position:relative;min-height:113px;padding:7px;border-right:1px solid rgba(65,153,190,.15);border-bottom:1px solid rgba(65,153,190,.15);background:rgba(53,179,222,var(--heat));cursor:pointer}
.rc2-study-cell:nth-child(7n){border-right:0}.rc2-study-cell.muted{opacity:.40}.rc2-study-cell.selected{box-shadow:inset 0 0 0 2px rgba(13,150,199,.62)}
.rc2-study-cell.goal-range:before{content:"";position:absolute;inset:2px;border:1px dashed rgba(108,88,207,.65);border-radius:10px;pointer-events:none}
.rc2-study-cell>header{display:flex;align-items:center;gap:5px;margin-bottom:5px}.rc2-study-cell>header span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;font-size:11px;font-weight:850}
.rc2-study-cell.today>header span{color:#fff;background:#118fbd}.rc2-study-cell>header small{color:#147da4;font-size:8px;font-weight:850}
.rc2-deadline{display:flex;align-items:center;gap:4px;width:100%;margin-bottom:3px;padding:4px 5px;border:0;border-radius:7px;color:#604c73;background:rgba(239,232,255,.85);font-size:8px;cursor:pointer}
.rc2-deadline i{width:4px;height:12px;border-radius:4px;background:var(--goal)}.rc2-deadline span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rc2-deadline b{margin-left:auto;white-space:nowrap}
.rc2-study-cell-main{margin-top:7px}.rc2-study-cell-main strong,.rc2-study-cell-main small,.rc2-study-cell-main span{display:block}
.rc2-study-cell-main strong{font-size:12px}.rc2-study-cell-main small{margin-top:2px;color:#658698;font-size:8px}
.rc2-study-cell-main>i{display:block;height:4px;margin:7px 0 4px;border-radius:5px;background:rgba(98,167,194,.24)}.rc2-study-cell-main>i b{display:block;height:100%;border-radius:5px;background:#159dc8}
.rc2-study-cell-main span{color:#52798c;font-size:8px}.rc2-study-cell-empty{margin-top:21px;color:#8aa2ad;font-size:8px;text-align:center}
.rc2-study-month>footer{display:flex;align-items:center;gap:15px;padding:9px 12px;color:#5d8092;font-size:9px}.rc2-study-month>footer span{display:flex;align-items:center;gap:5px}
.rc2-study-month>footer i{width:8px;height:8px;border-radius:3px;background:#47b5db}.rc2-study-month>footer i.deadline{background:#ad8cdb}.rc2-study-month>footer i.focus{border:1px dashed #705bcb;background:transparent}
.rc2-study-month>footer small{margin-left:auto;color:#7f98a5}
.rc2-study-panel{position:sticky;top:12px;overflow:hidden}.rc2-study-panel>header{padding:16px;border-bottom:1px solid var(--line)}
.rc2-study-panel>header>span{color:#1683ac;font-size:9px;font-weight:850;letter-spacing:.08em}.rc2-study-panel h2{margin:4px 0 10px;font-size:18px}.rc2-study-panel h2 em{color:#698897;font-size:10px;font-style:normal}
.rc2-study-panel>header button{padding:7px 9px;border:0;border-radius:8px;color:#197da2;background:#d9f1fa;font-size:9.5px;font-weight:850;cursor:pointer}
.rc2-day-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:10px 12px}.rc2-day-metrics span{padding:8px;border-radius:10px;background:rgba(73,177,213,.09)}
.rc2-day-metrics small,.rc2-day-metrics b{display:block}.rc2-day-metrics small{color:#6c8a99;font-size:8px}.rc2-day-metrics b{margin-top:2px;font-size:10.5px}
.rc2-quick-study{display:flex;gap:5px;padding:0 12px 11px}.rc2-quick-study input{flex:1;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.68);font-size:10px}
.rc2-quick-study button{width:35px;border:0;border-radius:10px;color:#fff;background:#159cc8;font-size:17px;cursor:pointer}
.rc2-plan-section,.rc2-completed{padding:0 12px 12px}.rc2-plan-list{display:flex;flex-direction:column;gap:5px}
.rc2-plan-row{display:flex;align-items:center;gap:6px;padding:7px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.58)}
.rc2-plan-row.done{opacity:.62}.rc2-plan-row .check{width:20px;height:20px;border:1px solid #76b5ce;border-radius:6px;color:#fff;background:transparent;font-size:10px}
.rc2-plan-row.done .check{background:#22a58c}.rc2-plan-row .copy{display:flex;align-items:center;gap:6px;flex:1;min-width:0;border:0;background:transparent;text-align:left;cursor:pointer}
.rc2-plan-row .copy>i{width:4px;height:28px;border-radius:4px;background:var(--subject)}.rc2-plan-row .copy span{min-width:0}
.rc2-plan-row b,.rc2-plan-row small{display:block}.rc2-plan-row b{overflow:hidden;font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}.rc2-plan-row small{margin-top:2px;color:#6c8998;font-size:8px}
.rc2-plan-row>div{display:flex;gap:3px}.rc2-plan-row>div button{padding:4px;border:0;border-radius:6px;color:#35738d;background:#def1f8;font-size:7.5px;cursor:pointer}.rc2-plan-row>div .danger{color:#bd5a66;background:#f9e9ec}
.rc2-completed summary{padding:8px 0;color:#50768a;font-size:9px;font-weight:800;cursor:pointer}.rc2-completed summary span{float:right;color:#7995a2;font-weight:500}
.rc2-carry{margin:0 12px 12px;padding:10px;border:1px solid rgba(220,147,72,.25);border-radius:12px;background:rgba(255,246,225,.76)}
.rc2-carry>header{display:flex;align-items:center;justify-content:space-between}.rc2-carry>header>div{display:flex;align-items:center;gap:6px}.rc2-carry>header span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff;background:#db8c3e;font-size:10px}
.rc2-carry>header b{font-size:9.5px}.rc2-carry>header small{color:#8a765f;font-size:7.5px}.rc2-carry>div{display:flex;flex-direction:column;gap:3px;max-height:116px;overflow:auto;margin:7px 0}
.rc2-carry label{display:flex;align-items:center;gap:6px;padding:5px;border-radius:7px;background:rgba(255,255,255,.50)}.rc2-carry label span{min-width:0}
.rc2-carry label b,.rc2-carry label small{display:block}.rc2-carry label b{overflow:hidden;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.rc2-carry label small{font-size:7.5px;color:#8b765d}
.rc2-carry footer{display:flex;align-items:center;gap:4px}.rc2-carry footer button{padding:5px 6px;border:0;border-radius:7px;color:#685f55;background:#fff;font-size:7.5px;font-weight:800;cursor:pointer}
.rc2-carry footer button.primary{margin-left:auto;color:#fff;background:#d48b40}.rc2-carry footer button:disabled{opacity:.45}.rc2-carry footer span{color:#8a765f;font-size:7.5px}
.rc2-empty{padding:18px;text-align:center}.rc2-empty b,.rc2-empty span{display:block}.rc2-empty b{font-size:10px}.rc2-empty span{margin-top:4px;color:#7793a1;font-size:8.5px}

/* Week */
.rc2-week-board{padding:16px}.rc2-week-board>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.rc2-week-board h2{margin:0;font-size:18px}
.rc2-week-board>header>button{padding:8px 11px;border:0;border-radius:9px;color:#167ea6;background:#d9f1fa;font-size:9.5px;font-weight:850;cursor:pointer}
.rc2-week-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.rc2-week-columns>article{min-width:0;min-height:400px;padding:7px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.45)}
.rc2-week-columns>article.selected{border-color:#159bc8;background:rgba(216,247,255,.82)}.rc2-week-day{width:100%;padding:7px;border:0;border-radius:9px;background:rgba(72,176,214,.09);text-align:left;cursor:pointer}
.rc2-week-day span,.rc2-week-day strong,.rc2-week-day small{display:block}.rc2-week-day span{color:#5d8193;font-size:8px;font-weight:850}.rc2-week-day strong{margin:2px 0 5px;font-size:17px}.rc2-week-day small{color:#678796;font-size:7.5px;line-height:1.55}
.rc2-week-columns article>div{display:flex;flex-direction:column;gap:5px;margin-top:7px}.rc2-week-columns .rc2-plan-row{display:block}.rc2-week-columns .rc2-plan-row>.check{float:left;margin-right:4px}
.rc2-week-columns .rc2-plan-row>div{margin-top:6px}.rc2-week-empty{width:100%;padding:12px;border:1px dashed #8dc6dc;border-radius:9px;color:#498198;background:transparent;font-size:8.5px;cursor:pointer}
.rc2-week-board>footer{display:flex;justify-content:center;gap:5px;margin-top:12px}.rc2-week-board>footer button{padding:7px 10px;border:0;border-radius:8px;color:#286f8d;background:#dff3fa;font-size:9px;font-weight:800;cursor:pointer}

/* Goals */
.rc2-goals{padding:16px}.rc2-goals>header{display:flex;align-items:center;justify-content:space-between}.rc2-goals h2{margin:0;font-size:19px}.rc2-goals>header p{margin:4px 0 0;color:#698797;font-size:10px}
.rc2-goals>nav{display:flex;gap:5px;margin:13px 0}.rc2-goals>nav button{padding:7px 10px;border:1px solid var(--line);border-radius:9px;color:#557b8e;background:rgba(255,255,255,.48);font-size:9.5px;font-weight:800;cursor:pointer}
.rc2-goals>nav button.active{color:#fff;border-color:#168fbe;background:#168fbe}.rc2-goals>nav b{margin-left:4px}
.rc2-goal-layout{display:grid;grid-template-columns:minmax(430px,.9fr) minmax(460px,1.1fr);gap:10px}.rc2-goals>div>main{overflow:hidden}
.rc2-goal-list{display:flex;flex-direction:column}.rc2-goal-list article{display:flex;border-bottom:1px solid var(--line);background:rgba(255,255,255,.38)}
.rc2-goal-list article.selected{background:rgba(210,245,255,.84);box-shadow:inset 3px 0 #139bc9}.rc2-goal-list article.done{opacity:.66}
.rc2-goal-list article>button:first-child{display:flex;align-items:center;gap:9px;flex:1;min-width:0;padding:11px;border:0;background:transparent;text-align:left;cursor:pointer}
.rc2-goal-list article>button>i{width:5px;height:45px;border-radius:5px;background:var(--goal)}.rc2-goal-list article>button>span{flex:1;min-width:0}
.rc2-goal-list small,.rc2-goal-list b,.rc2-goal-list em,.rc2-goal-list u{display:block}.rc2-goal-list article small{color:#698797;font-size:8px}.rc2-goal-list article b{overflow:hidden;margin:2px 0;font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.rc2-goal-list article em{color:#668493;font-size:8px;font-style:normal}.rc2-goal-list article u{height:4px;margin-top:7px;border-radius:4px;background:#d5eaf2}.rc2-goal-list article u strong{display:block;height:100%;border-radius:4px;background:#199dc7}
.rc2-goal-list mark{color:#18485f;background:transparent;font-size:11px;font-weight:900}.rc2-goal-list .status{min-width:45px;text-align:center}.rc2-goal-list .edit{align-self:center;margin-right:8px;padding:6px;border:0;border-radius:7px;color:#33738e;background:#dff2f8;font-size:8px;cursor:pointer}
.rc2-goal-detail{overflow:hidden;--goal:#159bc8}.rc2-goal-detail>header{padding:18px;color:#fff;background:linear-gradient(135deg,color-mix(in srgb,var(--goal) 84%,#0b779f),color-mix(in srgb,var(--goal) 72%,#63d3ec))}
.rc2-goal-detail>header>span{font-size:9px;font-weight:850}.rc2-goal-detail h2{margin:5px 0 3px;font-size:20px}.rc2-goal-detail>header p{margin:0;font-size:9px;opacity:.86}
.rc2-goal-detail>header>div{display:flex;align-items:center;gap:10px;margin-top:14px}.rc2-goal-detail>header strong{font-size:22px}.rc2-goal-detail>header i{flex:1;height:6px;border-radius:8px;background:rgba(255,255,255,.30)}.rc2-goal-detail>header i b{display:block;height:100%;border-radius:8px;background:#fff}
.rc2-goal-speed{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px}.rc2-goal-speed>div{padding:10px;border-radius:11px;background:rgba(56,172,211,.08)}
.rc2-goal-speed span,.rc2-goal-speed strong,.rc2-goal-speed small{display:block}.rc2-goal-speed span{color:#638494;font-size:8px}.rc2-goal-speed strong{margin:3px 0;font-size:12px}.rc2-goal-speed small{color:#7893a0;font-size:7.5px}
.rc2-goal-source{margin:0 12px 12px;padding:12px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.48)}.rc2-goal-source h3{margin:0;font-size:12px}
.rc2-goal-source article{display:flex;align-items:center;gap:9px;margin-top:9px}.rc2-goal-source article>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#147fa8;background:#d8f1fa}.rc2-goal-source article>i svg{width:17px}
.rc2-goal-source article>span{flex:1;min-width:0}.rc2-goal-source article b,.rc2-goal-source article small{display:block}.rc2-goal-source article b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.rc2-goal-source article small{margin-top:2px;color:#718e9c;font-size:8px}
.rc2-goal-source article button,.rc2-goal-actions button{padding:6px 8px;border:0;border-radius:8px;color:#27708d;background:#dff2f8;font-size:8px;font-weight:800;cursor:pointer}
.rc2-goal-suggestion{margin:0 12px 12px;padding:12px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.48)}
.rc2-goal-suggestion>header{display:flex;align-items:center;justify-content:space-between}.rc2-goal-suggestion>header span{display:block;color:#1683ad;font-size:8px;font-weight:900;letter-spacing:.12em}
.rc2-goal-suggestion h3{margin:2px 0 0;font-size:12px}.rc2-goal-suggestion>header small{color:#718d9a;font-size:7.5px}
.rc2-goal-suggestion>div{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:9px}.rc2-goal-suggestion button{padding:7px 3px;border:1px solid var(--line);border-radius:9px;color:#245d76;background:rgba(220,244,252,.72);cursor:pointer}
.rc2-goal-suggestion button span,.rc2-goal-suggestion button b,.rc2-goal-suggestion button small{display:block}.rc2-goal-suggestion button span{font-size:7px}.rc2-goal-suggestion button b{margin:2px 0;font-size:9px}.rc2-goal-suggestion button small{color:#1683a9;font-size:7px;font-weight:850}
.rc2-goal-actions{display:flex;justify-content:flex-end;gap:5px;padding:0 12px 14px}.rc2-goal-actions .complete{color:#fff;background:#159d87}.rc2-goal-actions .reopen{color:#8b642a;background:#f9e7c8}
.rc2-empty.hero{padding:60px 20px}

/* Modal */
.rc2-modal>header{margin-bottom:14px}.rc2-modal>header span{color:#1584ad;font-size:9px;font-weight:900;letter-spacing:.15em}.rc2-modal>header h3{margin:3px 0 0;font-size:20px}
.rc2-modal .field>small{display:block;margin-top:4px;color:#718d9a;font-size:9px}.rc2-modal input[type="color"]{height:42px;padding:4px}
.rc2-modal footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.rc2-modal footer>div{display:flex;gap:6px}
.rc2-modal footer button{padding:8px 12px;border:0;border-radius:9px;color:#3e6f84;background:#e0f1f7;font-size:10px;font-weight:850;cursor:pointer}
.rc2-modal footer button.primary{color:#fff;background:#1598c5}.rc2-modal footer button.danger{color:#bd5864;background:#fae8eb}
.rc2-goal-direct{grid-template-columns:1fr 1fr 1fr;gap:8px}

@media(max-width:1240px){
  .rc2-study-layout{grid-template-columns:1fr}.rc2-study-panel{position:static}
  .rc2-week-columns{grid-template-columns:repeat(4,1fr)}.rc2-goal-layout{grid-template-columns:1fr}
}
@media(max-width:900px){
  html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost{padding:14px 12px 28px!important}
  .rc2-mode-switch{width:100%}.rc2-mode-switch>button{flex:1;min-width:0}
  .rc2-head{align-items:flex-start;flex-wrap:wrap}.rc2-head>div:first-child{width:100%}.rc2-study-tabs{order:3;width:100%}.rc2-study-tabs button{flex:1}
  .rc2-study-stats{grid-template-columns:1fr 1fr}.rc2-focus-goals>div{grid-template-columns:1fr}
  .rc2-general-month,.rc2-study-month{overflow-x:auto}.rc2-general-month>.rc2-weekdays,.rc2-general-grid,.rc2-study-month>.rc2-weekdays,.rc2-study-grid{min-width:760px}
  .rc2-week-columns{grid-template-columns:1fr 1fr}.rc2-general-summary{overflow:auto}.rc2-general-summary small{display:none}
}
@media(max-width:560px){
  .rc2-mode-switch small{display:none}.rc2-mode-switch>button{min-width:0;padding:10px}
  .rc2-study-stats{grid-template-columns:1fr 1fr}.rc2-week-columns{grid-template-columns:1fr}
  .rc2-goal-speed{grid-template-columns:1fr}.rc2-goal-direct{grid-template-columns:1fr}
}

/* AMES rainy calendar — single owner stylesheet.
   Component foundations above; everything below is the final rainy-calendar theme. */
html[data-ui-preset="rainy"][data-rainy-view="calendar"]{
  /* Rain visual contract: Home/Planner blue is the source of truth.
     Keep gray, green, yellow and sunlit casts out of the calendar palette. */
  --rc-rain-deep:#005f9f;
  --rc-rain:#00a9eb;
  --rc-rain-bright:#55c9f2;
  --rc-rain-soft:#ccefff;
  --rc-ink:#06496f;
  --rc-ink-soft:#477d9b;
  --rc-line:rgba(0,119,181,.14);
  --rc-paper:rgba(229,247,255,.94);
  --rc-font:"Pretendard Variable","Pretendard","SUIT","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] body,
html[data-ui-preset="rainy"][data-rainy-view="calendar"] button,
html[data-ui-preset="rainy"][data-rainy-view="calendar"] input,
html[data-ui-preset="rainy"][data-rainy-view="calendar"] select,
html[data-ui-preset="rainy"][data-rainy-view="calendar"] textarea{
  font-family:var(--rc-font)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .side{
  z-index:8;
  background:linear-gradient(180deg,rgba(3,43,89,.96),rgba(5,68,122,.91) 58%,rgba(4,58,107,.80))!important;
  border-right:1px solid rgba(143,218,255,.30)!important;
  box-shadow:14px 0 42px rgba(0,47,91,.20),inset -1px 0 rgba(199,239,255,.14)!important;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .shell{
  background:
    linear-gradient(112deg,rgba(0,87,174,.16),rgba(80,202,255,.05) 46%,rgba(0,117,202,.12)),
    var(--rainy-hero) center/cover no-repeat!important;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .main{
  min-width:0;
  background:transparent;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .main-content,
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .main-content.wide,
html[data-ui-preset="rainy"][data-rainy-view="calendar"] .main-content.calendar-page{
  width:100%!important;
  max-width:none!important;
  padding:0!important;
  background:transparent!important;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost{
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  width:100%;
  min-height:100vh;
  min-height:100dvh;
  padding:22px 28px 28px!important;
  overflow-x:hidden;
  color:var(--rc-ink);
  background:
    linear-gradient(112deg,rgba(0,87,174,.055),rgba(80,202,255,.015) 46%,rgba(0,117,202,.04))!important;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,69,139,.035),transparent 18%,transparent 82%,rgba(0,105,181,.025)),
    linear-gradient(180deg,rgba(111,214,255,.035),rgba(0,80,150,.025));
}
.rc2-calendar,.rc2-general,.rc2-study{position:relative;min-width:0}
.rc2-page-masthead{
  position:relative;
  z-index:4;
  display:flex;
  min-height:60px;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 4px 14px;
}
.rc2-page-masthead>div{min-width:0}
.rc2-page-date{
  display:block;
  margin-bottom:4px;
  color:rgba(233,248,255,.88);
  font-size:10.5px;
  font-weight:760;
  letter-spacing:.045em;
  text-shadow:0 2px 12px rgba(0,52,99,.34);
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost .rc2-page-masthead h1{
  margin:0!important;
  color:#f4fbff!important;
  font-family:var(--rc-font)!important;
  font-size:25px!important;
  font-weight:820!important;
  line-height:1.08!important;
  letter-spacing:-.045em!important;
  text-shadow:0 3px 18px rgba(0,48,92,.38);
}
.rc2-page-masthead h1 em{
  margin-left:4px;
  color:#d9f4ff;
  font-size:.76em;
  font-style:normal;
}
.rc2-page-dday{
  display:flex;
  min-height:49px;
  align-items:center;
  gap:9px;
  padding:0 14px 0 18px;
  border:1px solid rgba(255,255,255,.54);
  border-radius:15px;
  color:#356f92;
  background:linear-gradient(145deg,rgba(239,250,255,.94),rgba(196,230,245,.90));
  box-shadow:0 12px 28px rgba(0,62,106,.17),inset 0 1px rgba(255,255,255,.76);
  cursor:pointer;
}
.rc2-page-dday span{font-size:12px;font-weight:740}
.rc2-page-dday strong{
  color:#087fba;
  font-family:var(--font-num);
  font-size:25px;
  font-weight:850;
  letter-spacing:-.04em;
}
.rc2-page-dday svg{width:19px;height:19px;margin-left:2px}
.rc2-head{
  position:relative;
  display:flex;
  min-height:144px;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
  padding:6px 8px 10px 14px;
  border:0;
  background:transparent;
  box-shadow:none;
}
.rc2-month-copy{min-width:0}
.rc2-year{
  display:block;
  margin:0 0 4px 4px;
  color:#0872ab;
  font-size:12px;
  font-weight:780;
  letter-spacing:.08em;
  line-height:1;
}
.rc2-title-line{display:flex;align-items:center;gap:18px}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost .rc2-head h1{
  display:flex;
  align-items:flex-end;
  gap:6px;
  margin:0!important;
  color:#004f86!important;
  font-family:var(--rc-font)!important;
  font-weight:800!important;
  line-height:.9!important;
  letter-spacing:-.06em!important;
  text-shadow:0 2px 18px rgba(246,252,255,.50);
}
.rc2-head h1 strong{
  font-family:"Arial Narrow","Roboto Condensed","Helvetica Neue",var(--rc-font)!important;
  font-size:76px;
  font-weight:780;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.075em;
}
.rc2-head h1 em{
  margin-bottom:7px;
  color:#0877ad;
  font-size:21px;
  font-style:normal;
  font-weight:760;
  letter-spacing:-.04em;
}
.rc2-month-copy>p{
  display:block!important;
  max-width:390px;
  margin:10px 0 0 4px!important;
  color:#075f91!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.45;
  text-shadow:0 1px 9px rgba(245,252,255,.72);
}
.rc2-month-nav{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:11px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.rc2-month-nav button{
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  padding:0;
  border:1px solid rgba(79,190,239,.55);
  border-radius:50%;
  color:#0078b8;
  background:rgba(224,247,255,.88);
  box-shadow:0 7px 17px rgba(0,94,157,.12),inset 0 1px rgba(255,255,255,.86);
  font-size:25px!important;
  font-weight:500;
  line-height:1;
  cursor:pointer;
  transition:transform .15s ease,background .15s ease;
}
.rc2-month-nav button:hover{transform:translateY(-1px);background:rgba(239,251,255,.96)}
.rc2-head-actions{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:12px;
  padding-top:13px;
}
.rc2-mode-switch,
.rc2-calendar.general>.rc2-mode-switch,
.rc2-calendar.study>.rc2-mode-switch{
  position:static;
  isolation:isolate;
  display:flex;
  gap:0;
  width:max-content;
  margin:0;
  padding:3px;
  overflow:hidden;
  border:1px solid rgba(55,169,221,.34);
  border-radius:999px;
  background:rgba(228,248,255,.94);
  box-shadow:0 8px 22px rgba(0,96,154,.12),inset 0 1px rgba(255,255,255,.88);
}
.rc2-mode-switch:before,.rc2-mode-switch:after,
.rc2-mode-switch>button:before,.rc2-mode-switch>button:after{content:none!important;display:none!important}
.rc2-mode-switch>button{
  position:relative;
  z-index:1;
  display:flex;
  min-width:120px;
  min-height:39px;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 14px;
  border:0;
  border-radius:999px;
  color:#4b83a5;
  background:transparent;
  box-shadow:none;
  cursor:pointer;
}
.rc2-mode-switch svg{width:15px;height:15px}
.rc2-mode-switch span{display:block}.rc2-mode-switch b{font-size:11.5px;font-weight:760}.rc2-mode-switch small{display:none}
.rc2-mode-switch button.active{
  color:#fff;
  background:linear-gradient(135deg,#00b8ef,#007fc6);
  box-shadow:0 5px 13px rgba(0,113,177,.24),inset 0 1px rgba(255,255,255,.24);
}
.rc2-primary,.rc2-general .rc2-primary{
  position:static;
  min-height:47px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.62)!important;
  border-radius:999px;
  color:#fff!important;
  background:linear-gradient(135deg,#00b8ef,#007fc6)!important;
  box-shadow:0 9px 22px rgba(0,123,187,.24),inset 0 1px rgba(255,255,255,.28);
  font-size:12px!important;
  font-weight:780;
}
.rc2-general-toolbar{
  position:relative;
  z-index:4;
  display:flex;
  min-height:84px;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 22px 13px;
  border-bottom:1px solid rgba(0,111,171,.12);
  background:rgba(239,250,255,.44);
}
.rc2-general-month-title{display:flex;min-width:0;align-items:center;gap:14px}
.rc2-general-month-title .rc2-month-nav{order:0;margin:0}
.rc2-general-month-title .rc2-month-nav button{
  width:36px;
  height:36px;
  border-color:rgba(55,153,203,.20);
  color:#1c668e;
  background:rgba(248,253,255,.72);
  box-shadow:0 5px 13px rgba(22,93,132,.08),inset 0 1px rgba(255,255,255,.80);
  font-size:21px!important;
}
html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost .rc2-general-month-title h1{
  display:flex;
  align-items:baseline;
  gap:5px;
  margin:0!important;
  color:#073f6f!important;
  font-family:var(--rc-font)!important;
  font-size:31px!important;
  font-weight:830!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
  white-space:nowrap;
}
.rc2-general-month-title h1 span,.rc2-general-month-title h1 strong,.rc2-general-month-title h1 em{
  color:inherit;
  font:inherit!important;
  letter-spacing:inherit!important;
}
.rc2-general-month-title h1 em{font-style:normal!important}
.rc2-general-toolbar-actions{display:flex;align-items:center;gap:10px}
.rc2-general-toolbar .rc2-mode-switch{margin:0;background:rgba(232,247,254,.72)}
.rc2-general-toolbar .rc2-mode-switch>button{min-width:108px;min-height:36px;padding:0 12px}
.rc2-general-toolbar .rc2-primary{min-height:42px;padding:0 16px}
.rc2-general-summary{
  display:flex;
  min-height:29px;
  align-items:center;
  gap:7px;
  margin:0 4px 8px;
  padding:0 4px;
  overflow:hidden;
  border:0;
  background:transparent;
  color:#246b94;
  font-size:10px;
}
.rc2-general-summary span{
  display:flex;
  align-items:center;
  gap:5px;
  padding:4px 9px;
  border:1px solid rgba(31,139,193,.19);
  border-radius:999px;
  background:rgba(231,248,255,.72);
  white-space:nowrap;
  box-shadow:inset 0 1px rgba(255,255,255,.66);
}
.rc2-general-summary span:first-child{color:#005d91;background:rgba(179,230,250,.82)}
.rc2-general-summary span>b{font-size:12px}
.rc2-general-summary i{width:6px;height:6px;border-radius:50%;background:#4eadcb}
.rc2-general-summary i.leave{background:#5eae9d}
.rc2-general-summary i.appointment{background:#d77991}
.rc2-general-summary i.exam{background:#de9468}
.rc2-general-summary small{display:none!important}
.rc2-general-month{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(191,229,247,.82);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(244,251,255,.91),rgba(218,239,249,.84) 58%,rgba(232,247,253,.88));
  box-shadow:0 20px 48px rgba(0,69,111,.15),inset 0 1px rgba(255,255,255,.90);
}
.rc2-general-body{
  --rc-month-height:min(920px,calc(100dvh - 132px));
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(310px,25vw,420px);
  gap:16px;
  min-width:0;
  align-items:start;
}
.rc2-general-body.panel-closed{grid-template-columns:minmax(0,1fr)}
.rc2-general-body>.rc2-general-month{height:var(--rc-month-height);min-width:0}
.rc2-general-month:before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.24),transparent 38%,rgba(0,143,211,.025));
}
.rc2-weekdays{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  border-bottom:1px solid rgba(0,107,164,.12);
  background:rgba(232,247,253,.58);
}
.rc2-weekdays span{
  padding:10px 8px 9px;
  color:#1c648d;
  font-size:10.5px;
  font-weight:780;
  letter-spacing:.04em;
  text-align:center;
}
.rc2-weekdays .sun{color:#d16459}.rc2-weekdays .sat{color:#6c5caf}
.rc2-general-grid{
  position:relative;
  z-index:2;
  display:grid;
  height:calc(var(--rc-month-height) - 120px);
  min-height:430px;
  grid-template-columns:repeat(7,minmax(0,1fr));
  grid-template-rows:repeat(6,minmax(0,1fr));
}
.rc2-general-cell{
  position:relative;
  min-height:0;
  padding:7px 0 6px;
  overflow:visible;
  border:0!important;
  border-right:1px solid rgba(0,105,162,.075)!important;
  border-bottom:1px solid rgba(0,105,162,.085)!important;
  background:rgba(248,253,255,.08)!important;
  cursor:pointer;
  transition:background .14s ease;
}
.rc2-general-cell:nth-child(7n){border-right:0!important}
.rc2-general-cell:nth-last-child(-n+7){border-bottom:0!important}
.rc2-general-cell:hover{z-index:4;background:rgba(205,239,253,.34)!important;box-shadow:none}
.rc2-general-cell.muted{background:rgba(0,104,167,.025)!important}
.rc2-general-cell.muted>header,.rc2-general-cell.muted .rc2-event-lanes{opacity:.38}
.rc2-general-cell.selected{
  z-index:2;
  background:linear-gradient(145deg,rgba(214,243,255,.38),rgba(245,252,255,.10))!important;
  box-shadow:inset 0 0 0 1px rgba(15,151,205,.20);
}
.rc2-general-cell>header{
  display:flex;
  min-height:27px;
  align-items:center;
  gap:6px;
  padding:0 10px 5px;
}
.rc2-general-cell>header>span{
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  border-radius:50%;
  color:#0b527c;
  font-size:11.5px;
  font-weight:760;
}
.rc2-general-cell:nth-child(7n+1)>header>span{color:#ca5e55}
.rc2-general-cell:nth-child(7n)>header>span{color:#6255a3}
.rc2-general-cell.today>header>span{
  color:#fff;
  background:linear-gradient(145deg,#20c8f4,#0086c9);
  box-shadow:0 0 0 4px rgba(0,174,233,.12),0 5px 13px rgba(0,109,170,.20),inset 0 1px rgba(255,255,255,.40);
}
.rc2-general-cell>header small{color:#197fa4;font-size:8.5px;font-weight:800}
.rc2-general-cell>header em{
  overflow:hidden;
  margin-left:auto;
  color:#b95e66;
  font-size:8px;
  font-style:normal;
  font-weight:760;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rc2-event-lanes{display:flex;min-height:0;flex-direction:column;gap:3px;padding:0}
.rc2-event-bar,.rc2-exam-bar{
  position:relative;
  z-index:2;
  display:flex;
  height:19px;
  min-width:0;
  align-items:center;
  gap:5px;
  padding:0 7px;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--event,#55a9c5) 32%,rgba(255,255,255,.78));
  color:color-mix(in srgb,var(--event,#438ea8) 68%,#123f5d);
  background:color-mix(in srgb,var(--event,#72bed0) 17%,rgba(242,250,255,.94));
  box-shadow:none;
  font-size:9.2px!important;
  font-weight:720;
  line-height:1;
  white-space:nowrap;
}
.rc2-event-bar i{
  display:block;
  width:4px;height:4px;flex:0 0 4px;border-radius:50%;
  background:color-mix(in srgb,var(--event,#429bb5) 72%,#fff);
  box-shadow:none;
}
.rc2-event-bar span,.rc2-exam-bar span{overflow:hidden;text-overflow:ellipsis}
.rc2-event-bar.start:not(.end){width:calc(100% - 7px);margin-left:7px;border-right-color:transparent;border-radius:999px 0 0 999px}
.rc2-event-bar.middle{width:calc(100% + 2px);margin-right:-1px;margin-left:-1px;padding-left:0;border-right-color:transparent;border-left-color:transparent;border-radius:0}
.rc2-event-bar.middle i{display:none}
.rc2-event-bar.end:not(.start){width:calc(100% - 7px);margin-left:-1px;border-left-color:transparent;border-radius:0 999px 999px 0}
.rc2-event-bar.end:not(.start) i{display:none}
.rc2-event-bar.start.end{width:calc(100% - 14px);margin:0 7px;border-radius:999px}
.rc2-event-bar.start:not(.range-start) i{display:none}
.rc2-exam-bar{
  margin:0 7px;
  border-color:rgba(215,113,101,.38);
  border-radius:999px;
  color:#8b4b55;
  background:rgba(249,220,218,.88);
}
.rc2-exam-bar i{display:block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#d9735e}
.rc2-exam-bar b{margin-left:auto;font-size:8px;font-weight:800}.rc2-more{margin-left:9px;color:#326b83;font-size:9px!important}
.rc2-drawer{
  position:relative;
  z-index:2;
  top:auto;
  right:auto;
  bottom:auto;
  width:auto;
  height:var(--rc-month-height);
  min-width:0;
  max-height:var(--rc-month-height);
  padding:0;
  overflow:auto;
  border:1px solid rgba(191,229,247,.84);
  border-radius:22px;
  background:linear-gradient(155deg,rgba(244,251,255,.92),rgba(218,239,249,.87));
  color:var(--rc-ink);
  box-shadow:0 20px 48px rgba(0,69,111,.15),inset 0 1px rgba(255,255,255,.90);
}
.rc2-drawer>header{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:22px 20px 17px;
  border-bottom:1px solid rgba(0,116,177,.10);
}
.rc2-drawer>header>div>span{color:#177ca9;font-size:11px;font-weight:800;letter-spacing:.01em}
.rc2-drawer h2{margin:6px 0 0;color:#06496f!important;font-size:20px;letter-spacing:-.035em}
.rc2-drawer>header p{margin:7px 0 0;color:#5688a5;font-size:10px;line-height:1.45}
.rc2-drawer-close{
  position:static;
  display:grid;
  width:30px;
  height:30px;
  flex:0 0 30px;
  place-items:center;
  border:1px solid rgba(28,143,195,.16);
  border-radius:50%;
  color:#397e9f;
  background:rgba(225,247,255,.86);
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.rc2-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 18px 5px}
.rc2-drawer-actions button{
  min-height:34px;
  border:1px solid rgba(21,139,192,.17);
  border-radius:10px;
  color:#087eb4;
  background:rgba(229,248,255,.78);
  font-size:9.5px;
  font-weight:780;
  cursor:pointer;
}
.rc2-drawer-actions button:last-child{color:#fff;border-color:transparent;background:linear-gradient(135deg,#2bc8f3,#0789c9)}
.rc2-drawer section{margin-top:0;padding:17px 18px 3px}
.rc2-drawer .rc2-section-title{margin-bottom:8px}
.rc2-drawer .rc2-section-title h3{color:#07547e;font-size:11.5px}
.rc2-drawer .rc2-section-title span{color:#6292ac;font-size:8.5px}
.rc2-day-task-list,.rc2-event-list{display:flex;flex-direction:column;gap:6px}
.rc2-day-task{
  display:flex;
  min-width:0;
  align-items:center;
  gap:7px;
  padding:11px 10px;
  border:1px solid rgba(30,137,186,.15);
  border-radius:12px;
  background:rgba(248,253,255,.72);
}
.rc2-day-task.done{opacity:.55}
.rc2-day-task-check{
  display:grid;
  width:20px;
  height:20px;
  flex:0 0 20px;
  place-items:center;
  padding:0;
  border:1px solid rgba(43,149,197,.46);
  border-radius:6px;
  color:#fff;
  background:rgba(234,248,254,.8);
  font-size:10px;
  cursor:pointer;
}
.rc2-day-task.done .rc2-day-task-check{border-color:#32a2be;background:#32a2be}
.rc2-day-task-copy{
  display:flex;
  min-width:0;
  flex:1;
  align-items:center;
  gap:7px;
  padding:0;
  border:0;
  color:#0a4f76;
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.rc2-day-task-copy time,.rc2-event-list article>time{
  display:flex;
  width:48px;
  flex:0 0 48px;
  flex-direction:column;
  color:#1e6289;
  font-style:normal;
  line-height:1.2;
}
.rc2-day-task-copy time b,.rc2-event-list article>time b{font-size:9.5px;font-weight:800}
.rc2-day-task-copy time small,.rc2-event-list article>time small{margin-top:3px;color:#6c96ad;font-size:8px}
.rc2-day-task-copy>i{width:4px;height:28px;flex:0 0 4px;border-radius:4px;background:var(--subject)}
.rc2-day-task-copy>span{min-width:0}.rc2-day-task-copy b,.rc2-day-task-copy small{display:block}
.rc2-day-task-copy b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.rc2-day-task-copy small{margin-top:2px;color:#6790a7;font-size:8px}
.rc2-drawer .rc2-event-list article{
  gap:8px;
  padding:12px 10px;
  border-color:rgba(30,137,186,.14);
  border-radius:12px;
  background:rgba(248,253,255,.70);
}
.rc2-drawer .rc2-event-list article>i{height:29px}
.rc2-drawer .rc2-event-list b{font-size:10px}.rc2-drawer .rc2-event-list small{font-size:8px}
.rc2-drawer .rc2-event-list .edit{background:rgba(217,242,251,.82)}
.rc2-drawer .rc2-empty{padding:17px 8px;border:1px dashed rgba(38,143,191,.18);border-radius:11px;background:rgba(236,249,254,.38)}
.rc2-day-schedule{padding-bottom:16px!important}
.rc2-study .rc2-head{min-height:132px}
.rc2-study .rc2-head-actions{align-items:flex-start}
.rc2-study-tabs{border:1px solid rgba(70,143,177,.25);background:rgba(231,247,252,.72)}
.rc2-study-tabs button{color:#57778a}
.rc2-study-tabs button.active{color:#fff;background:linear-gradient(135deg,#429fbe,#69b8d0);box-shadow:0 5px 13px rgba(24,75,99,.17)}
.rc2-study-stats article,.rc2-focus-goals,.rc2-study-month,.rc2-study-panel,.rc2-week-board,.rc2-goals,.rc2-goal-detail,.rc2-goals>div>main{
  border-color:rgba(163,214,233,.58);
  background:linear-gradient(145deg,rgba(241,248,249,.975),rgba(218,233,239,.96));
  color:var(--rc-ink);
  box-shadow:0 17px 42px rgba(15,56,77,.15),inset 0 1px rgba(255,255,255,.68);
}
.rc2-study-cell{border-right:0!important;border-bottom-color:rgba(49,91,112,.08);background:radial-gradient(circle at 50% 112%,rgba(63,158,193,var(--heat)),transparent 65%),rgba(237,246,249,.08)}
.rc2-study-cell.selected{box-shadow:inset 0 0 30px rgba(62,157,193,.14)}
.rc2-study-cell.today>header span{color:#fff;background:#279bc1;box-shadow:0 4px 12px rgba(35,102,130,.18)}
@media(max-width:1320px){
  html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost{padding:12px 14px 16px!important}
  .rc2-page-masthead{min-height:56px;margin:0 4px 10px}
  html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost .rc2-page-masthead h1{font-size:22px!important}
  .rc2-page-dday{min-height:45px}.rc2-page-dday strong{font-size:22px}
  .rc2-head{min-height:126px;padding-left:8px;gap:18px}
  .rc2-head h1 strong{font-size:64px}.rc2-head h1 em{font-size:18px;margin-bottom:6px}
  .rc2-head-actions{padding-top:7px}
  .rc2-mode-switch>button{min-width:102px;padding:0 10px}
  .rc2-general-body{--rc-month-height:min(780px,calc(100dvh - 108px));grid-template-columns:minmax(0,1fr) 292px;gap:9px}
  .rc2-general-grid{min-height:430px}
}
@media(max-width:1080px){
  html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost{padding:10px 10px 82px!important;background-position:57% center}
  .rc2-page-masthead{align-items:flex-start}.rc2-page-dday{min-height:42px;padding:0 11px 0 14px}
  .rc2-head{min-height:0;flex-wrap:wrap;padding:4px 0 10px}
  .rc2-head-actions{width:100%;padding-top:0}
  .rc2-mode-switch{flex:1;width:auto}.rc2-mode-switch>button{flex:1;min-width:0}
  .rc2-primary{flex:0 0 auto}
  .rc2-general-body{display:block}.rc2-general-body>.rc2-general-month{height:auto}
  .rc2-general-grid{height:auto;min-height:0;grid-template-rows:none}
  .rc2-drawer{width:100%;height:auto;max-height:none;margin-top:10px}
  .rc2-general-cell{min-height:102px}
  .rc2-general-month>.rc2-weekdays,.rc2-general-grid,.rc2-study-month>.rc2-weekdays,.rc2-study-grid{min-width:700px}
  .rc2-general-month,.rc2-study-month{overflow-x:auto}
}
@media(max-width:600px){
  .rc2-page-masthead{gap:10px;margin-right:0;margin-left:0}
  .rc2-page-date{font-size:9px}
  html[data-ui-preset="rainy"][data-rainy-view="calendar"] #panelHost .rc2-page-masthead h1{font-size:18px!important}
  .rc2-page-dday{gap:6px;padding:0 9px 0 11px}.rc2-page-dday span{display:none}.rc2-page-dday strong{font-size:18px}.rc2-page-dday svg{width:16px;height:16px}
  .rc2-year{font-size:10px}.rc2-head h1 strong{font-size:50px}.rc2-head h1 em{font-size:16px;margin-bottom:4px}
  .rc2-month-copy>p{display:none!important}.rc2-title-line{gap:11px}.rc2-month-nav{gap:4px;margin-top:5px}
  .rc2-month-nav button{width:32px;height:32px}.rc2-head-actions{align-items:stretch;flex-direction:column}
  .rc2-mode-switch{width:100%}.rc2-primary{min-height:40px}.rc2-general-summary span:nth-child(n+4){display:none}
}
@media(prefers-reduced-motion:reduce){.rc2-general-cell,.rc2-mode-switch>button,.rc2-month-nav button{transition:none}}
