/* ============================================================
   工具组件：磁贴内观 + 通用大窗 + 浮动便签
   ============================================================ */

/* ---------- 磁贴内观 ---------- */
.tile.t-tool { cursor: pointer; }

.t-tool .tool-in {
    position: absolute; inset: 0;
    padding: clamp(9px, 8%, 16px);
    display: flex; flex-direction: column; justify-content: space-between;
    gap: .4em; overflow: hidden;
}

.t-tool .tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5em; }

.t-tool .tool-ic {
    width: 2.7em; height: 2.7em; border-radius: .7em;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45em; line-height: 1;
    box-shadow: 0 .35em .9em rgba(16, 24, 40, .18), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1);
    flex: 0 0 auto;
}
.t-tool:hover .tool-ic { transform: translateY(-.25em) scale(1.04); }

.t-tool .tool-tag {
    font-size: .7em; letter-spacing: .06em; text-transform: uppercase;
    color: rgba(255, 255, 255, .95);
    background: rgba(15, 23, 42, .34);
    border-radius: 999px; padding: .18em .6em; white-space: nowrap;
    backdrop-filter: blur(6px);
}

.t-tool .tool-bot { display: flex; flex-direction: column; gap: .12em; min-height: 0; }
.t-tool .tool-name { font-size: 1em; font-weight: 700; color: #16202f; letter-spacing: .01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-tool .tool-sub {
    font-size: .78em; color: rgba(22, 32, 47, .62);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 深色背景 / 简约模式下文字反色 */
body.simple .t-tool .tool-name { color: #fff; }
body.simple .t-tool .tool-sub { color: rgba(255, 255, 255, .72); }

/* ---------- 卡内「组件缩小版」 ----------
   逻辑画布 320×240，JS 按卡片实际宽高等比缩放（contain 居中），
   卡片里直接就是原组件的整体样子；点击整卡仍打开大窗。 */
.tile.t-tool.t-mini-ui { cursor: pointer; }
.tile.t-tool.t-mini-ui .mi-bg {
    position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
    opacity: calc(.7 + var(--card-alpha) * .3);
}
.tile.t-tool.t-mini-ui .mi-wrap {
    position: absolute; left: 0; top: 0; width: 320px; height: 240px;
    transform-origin: 0 0; pointer-events: none;
}
.mi-pane {
    width: 100%; height: 100%; box-sizing: border-box; padding: 12px;
    display: flex; flex-direction: column; gap: 7px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #16202f; overflow: hidden;
}

/* 计算器 */
.mi-bg-calc { background: #f4f6fa; }
.mi-calc .mi-bar { display: flex; align-items: center; gap: 6px; }
.mi-pill {
    font-size: 11px; line-height: 1.5; padding: 2px 9px; border-radius: 999px;
    background: #e8edf6; color: #4b5563; white-space: nowrap;
}
.mi-pill.on { background: #fff; color: #16202f; font-weight: 600; box-shadow: 0 2px 6px rgba(31, 41, 55, .10); }
.mi-deg { margin-left: auto; font-size: 10px; line-height: 1.6; color: #2563eb; background: #e7efff; border-radius: 999px; padding: 1px 7px; }
.mi-calc .mi-scr {
    background: #fff; border-radius: 14px; padding: 6px 14px; min-height: 40px;
    display: flex; align-items: flex-end; justify-content: flex-end;
    box-shadow: 0 6px 16px rgba(31, 41, 55, .08);
}
.mi-scr b { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -.5px; color: #111827; }
.mi-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.mi-key {
    height: 27px; border-radius: 8px; background: #fff; font-style: normal;
    display: flex; align-items: center; justify-content: center;
    font-size: 12.5px; color: #111827; box-shadow: 0 3px 8px rgba(31, 41, 55, .07);
}
.mi-key.op { background: #eef3ff; color: #2f6fe4; font-weight: 600; }
.mi-key.del { background: #fdeeee; color: #e04343; font-weight: 600; }
.mi-hist {
    margin-top: auto; display: flex; align-items: baseline; gap: 8px;
    padding: 4px 10px; background: #fff; border-radius: 8px;
    font-size: 10px; color: #6b7280;
}
.mi-hist em { margin-left: auto; font-style: normal; color: #b6bcc7; }

/* 重量计算 */
.mi-bg-metal { background: linear-gradient(180deg, #f3f6fb 0%, #e9eef7 100%); }
.mi-mh { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #16202f; }
.mi-tagx {
    font-style: normal; font-size: 10px; font-weight: 500; color: #8a5a12;
    background: #fff2d8; border-radius: 999px; padding: 1px 7px;
}
.mi-mrow {
    display: flex; align-items: center; gap: 8px; height: 29px; padding: 0 9px;
    background: #fff; border: 1px solid #e6ecf5; border-radius: 9px;
    font-size: 11.5px; color: #7b8494;
}
.mi-mrow b { margin-left: auto; font-weight: 600; color: #16202f; font-variant-numeric: tabular-nums; }
.mi-mrow u { text-decoration: none; font-size: 10.5px; color: #9aa3b2; }
.mi-res {
    margin-top: auto; display: flex; align-items: baseline; gap: 5px;
    padding: 9px 12px; border-radius: 12px; color: #fff;
    background: linear-gradient(135deg, #16385c 0%, #0d2440 100%);
}
.mi-res b { font-size: 26px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mi-res u { text-decoration: none; font-size: 11px; color: rgba(255, 255, 255, .78); }
.mi-res p { margin: 0 0 0 auto; font-size: 10px; color: rgba(255, 255, 255, .58); }

/* 日期计算 */
.mi-bg-datecalc { background: linear-gradient(180deg, #f3faf6 0%, #e7f2ec 100%); }
.mi-seg {
    display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
    background: #dcebe3;
}
.mi-seg b {
    font-size: 11px; font-weight: 600; color: #0f766e; background: #fff;
    border-radius: 999px; padding: 2px 9px; box-shadow: 0 2px 6px rgba(15, 118, 110, .14);
}
.mi-seg span { font-size: 11px; color: #4f7268; padding: 2px 8px; }
.mi-big { margin-top: auto; text-align: center; color: #0f766e; }
.mi-big b { font-size: 34px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mi-big u { text-decoration: none; font-size: 12px; color: #5b7d75; margin-left: 4px; }
.mi-sub { text-align: center; font-size: 10px; color: #7b9a92; margin-top: -1px; }
.mi-date .mi-dres {
    margin-top: auto; background: #fff; border-radius: 12px; padding: 8px 12px 9px;
    text-align: center; box-shadow: 0 4px 12px rgba(15, 118, 110, .10);
    border: 1px solid #dcebe3;
}
.mi-date .mi-dres b { font-size: 30px; font-weight: 700; line-height: 1.05; color: #0f766e; font-variant-numeric: tabular-nums; }
.mi-date .mi-dres u { text-decoration: none; font-size: 12px; color: #5b7d75; margin-left: 3px; }
.mi-date .mi-dres em {
    display: block; font-style: normal; font-size: 10px; color: #7b9a92; margin-top: 2px;
}

/* 黄历 */
.mi-bg-almanac { background: linear-gradient(165deg, #fff6ef 0%, #ffe6d6 100%); }
.mi-pane.mi-alm { justify-content: center; }
.mi-alm .mi-acard {
    flex: 1; width: 100%; background: #fff; text-align: center;
    border-radius: 16px; border: 1px solid #f5ddc9;
    box-shadow: 0 10px 24px rgba(180, 90, 30, .12);
    padding: 11px 14px;
    display: flex; flex-direction: column; justify-content: center;
}
.mi-dnum { font-size: 34px; font-weight: 700; line-height: 1.08; color: #c2410c; }
.mi-dsub { font-size: 11px; color: #9a7a63; margin-top: 1px; }
.mi-lun {
    margin: 8px 0 3px; font-size: 15px; font-weight: 600; color: #43271a;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.mi-lun i {
    font-style: normal; font-size: 10px; font-weight: 500; color: #b45309;
    background: #fff1e0; border-radius: 999px; padding: 1px 7px;
}
.mi-gz { font-size: 10.5px; color: #8a6a52; }

/* 便签记事簿 */
.mi-bg-notes { background: linear-gradient(180deg, #f8f9fd 0%, #eef1f8 100%); }
.mi-notes .mi-nbar { display: flex; align-items: center; gap: 8px; }
.mi-nbar b { font-size: 12px; font-weight: 700; color: #2c3345; }
.mi-nbar em {
    margin-left: auto; font-style: normal; font-size: 10.5px; color: #2f6fe4;
    background: #eaf1ff; border-radius: 999px; padding: 3px 9px;
}
/* 便签卡底部两颗固定尺寸的按钮：放在卡面缩略图之外（不随等比缩放变小），
   卡面再小也看得清、点得准；点一下直接在页面里新建，不会打开大窗 */
.tile.t-tool.t-mini-ui .mi-quick {
    position: absolute; left: 8px; right: 8px; bottom: 7px; z-index: 5;
    display: flex; gap: 6px; pointer-events: none;
}
.mi-quick .mi-qb {
    flex: 1 1 0; min-width: 0;
    font: inherit; font-size: 11px; font-weight: 600; line-height: 1;
    padding: 7px 0; border-radius: 8px;
    border: 1px solid rgba(47, 111, 228, .42);
    background: #fff; color: #2f6fe4;
    box-shadow: 0 2px 7px rgba(18, 40, 80, .16);
    cursor: pointer; white-space: nowrap; pointer-events: auto;
    transition: filter .15s, transform .12s;
}
.mi-quick .mi-qb.t { color: #0f766e; border-color: rgba(15, 118, 110, .42); }
.mi-quick .mi-qb:hover { filter: brightness(.95); }
.mi-quick .mi-qb:active { transform: translateY(1px); }
.mi-ngrid {
    flex: 1; display: grid; grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr; gap: 8px; margin-top: 2px; min-height: 0;
}
.mi-note {
    background: #fffbe6; border-top: 3px solid #f3d97a; border-radius: 11px;
    padding: 8px 9px 6px; box-shadow: 0 5px 14px rgba(23, 34, 59, .10);
    display: flex; flex-direction: column; gap: 3px; min-height: 88px; overflow: hidden;
}
.mi-note.g { background: #eafaf1; border-top-color: #86d9b0; }
.mi-note p { margin: 0; font-size: 11.5px; font-weight: 600; color: #2c3345; line-height: 1.4; }
.mi-note s { text-decoration: none; font-size: 10px; color: #6b7385; line-height: 1.5; }
.mi-ndot { margin-top: auto; display: flex; align-items: center; gap: 4px; }
.mi-ndot i { width: 9px; height: 9px; border-radius: 50%; background: #ffd76e; border: 1px solid rgba(0, 0, 0, .08); }
.mi-ndot i:nth-child(2) { background: #a8d8ff; }
.mi-ndot i:nth-child(3) { background: #ffb3c7; }
.mi-ndot span { margin-left: auto; font-size: 9px; color: #9aa3b5; }

/* 华容道 */
.mi-bg-huarong { background: linear-gradient(160deg, #fff2f5 0%, #ffe0e7 100%); }
.mi-hr .mi-hbar { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #9c2c4a; }
.mi-hbar b { font-size: 13px; color: #4a1024; margin-left: 3px; }
.mi-hbar em {
    margin-left: auto; font-style: normal; font-size: 10px; color: #e11d48;
    background: #fff; box-shadow: inset 0 0 0 1px #ffcdd6; border-radius: 999px; padding: 2px 9px;
}
.mi-hstage {
    flex: 1; align-self: center; aspect-ratio: 4 / 5; width: auto; height: auto; box-sizing: border-box;
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr);
    gap: 3px; padding: 5px; border-radius: 12px; background: #8d3a52;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16), 0 10px 22px rgba(120, 20, 50, .22);
}
.mi-hb {
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 1px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.mi-hb.caocao { grid-column: 2 / span 2; grid-row: 1 / span 2; background: linear-gradient(150deg, #ff8a5c, #e0341f); font-size: 11px; }
.mi-hb.guanyu { grid-column: 2 / span 2; grid-row: 3; background: linear-gradient(150deg, #8fb6ff, #3b6ede); }
.mi-hb.hero { grid-column: 1; grid-row: 3 / span 2; background: linear-gradient(150deg, #7fc4a0, #2f8a63); }
.mi-hb.soldier { grid-column: 4; grid-row: 3; background: linear-gradient(150deg, #d7b98a, #a9843f); }

/* 打地鼠 */
.mi-bg-whack { background: linear-gradient(160deg, #fff7e6 0%, #ffe9c7 100%); }
.mi-wh .mi-whead { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #8a7358; }
.mi-whead span { display: flex; align-items: baseline; gap: 4px; }
.mi-whead b { font-size: 14px; color: #43301a; }
.mi-whead em {
    margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: #fff;
    background: #f59e0b; border-radius: 999px; padding: 3px 10px;
    box-shadow: 0 5px 12px rgba(245, 158, 11, .26);
}
.mi-wboard {
    flex: 1; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 7px; padding: 8px; border-radius: 14px; background: #f7e3bd;
    box-shadow: inset 0 2px 0 #fff8ea, 0 8px 20px rgba(160, 110, 30, .14);
}
.mi-hole {
    position: relative; height: auto; border-radius: 11px; overflow: hidden;
    background: radial-gradient(circle at 50% 78%, #b98a48 0%, #d9b880 62%, #e8cfa1 100%);
    display: flex; align-items: flex-end; justify-content: center;
}
.mi-hole em { font-style: normal; font-size: 22px; line-height: 1; margin-bottom: 4px; }
.mi-hole:not(.up) em { display: none; }

/* 周公解梦 */
.mi-bg-dream { background: linear-gradient(170deg, #f3f0ff 0%, #e8e2ff 100%); }
.mi-dm .mi-dsearch {
    display: flex; align-items: center; gap: 6px; background: #fff;
    border-radius: 11px; padding: 5px 6px 5px 10px;
    box-shadow: 0 8px 20px rgba(109, 40, 217, .12);
}
.mi-dsearch i { font-style: normal; font-size: 10.5px; color: #9b8fb8; flex: 1; }
.mi-dsearch em {
    font-style: normal; font-size: 10.5px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9); border-radius: 8px; padding: 5px 12px;
}
.mi-cats { display: flex; flex-wrap: wrap; gap: 5px; }
.mi-cats span {
    font-size: 9.5px; color: #5b4a80; background: #fff; border: 1px solid #ded4ff;
    border-radius: 999px; padding: 2px 8px;
}
.mi-cats span.on { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.mi-ditem {
    flex: 1; margin-top: 0; background: #fff; border-radius: 11px; padding: 8px 10px;
    box-shadow: 0 6px 16px rgba(109, 40, 217, .10); overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}
.mi-ditem b { font-size: 11.5px; color: #2c2340; }
.mi-ditem p { margin: 3px 0 0; font-size: 9.5px; line-height: 1.6; color: #6b5d84; }

/* 五子棋 */
.mi-bg-gomoku { background: linear-gradient(160deg, #eff5ff 0%, #dbe8ff 100%); }
.mi-gm .mi-gbar { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #3b6bb5; }
.mi-gbar em {
    margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; color: #fff;
    background: #1d4ed8; border-radius: 999px; padding: 3px 10px;
    box-shadow: 0 5px 12px rgba(29, 78, 216, .24);
}
.mi-gboard {
    flex: 1; align-self: center; aspect-ratio: 1 / 1; width: auto; height: auto; border-radius: 12px;
    background: #e9c98d;
    background-image:
        repeating-linear-gradient(to right, rgba(138, 96, 40, .38) 0 1px, transparent 1px 11px),
        repeating-linear-gradient(to bottom, rgba(138, 96, 40, .38) 0 1px, transparent 1px 11px);
    background-position: 6px 6px;
    box-shadow: 0 10px 22px rgba(30, 64, 175, .18);
}
.mi-gboard i {
    position: absolute; width: 11px; height: 11px; border-radius: 50%; margin: -5px 0 0 -5px;
}
.mi-gboard i.b { background: radial-gradient(circle at 35% 30%, #5b5b5b, #101010); }
.mi-gboard i.w { background: radial-gradient(circle at 35% 30%, #ffffff, #d6d6d6); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

/* 文件处理 */
.mi-bg-filetool { background: linear-gradient(170deg, #f2f8ff 0%, #e6f1fd 100%); }
.mi-ft .mi-ftop { display: flex; align-items: center; gap: 8px; }
.mi-seg2 { display: inline-flex; background: #eff4fd; border-radius: 9px; padding: 2px; }
.mi-seg2 b { font-size: 10px; font-weight: 600; color: #1d4ed8; background: #fff; border-radius: 7px; padding: 3px 9px; box-shadow: 0 2px 6px rgba(37, 99, 235, .16); }
.mi-seg2 i { font-style: normal; font-size: 10px; color: #6d84a5; padding: 3px 9px; }
.mi-ftop em { margin-left: auto; font-style: normal; font-size: 9.5px; color: #1d4ed8; background: #eaf1ff; border-radius: 999px; padding: 2px 8px; }
.mi-fgrid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; min-height: 0; }
.mi-th {
    position: relative; height: auto; border-radius: 9px; background: #fff; border: 1px solid #e5eefa;
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px;
    font-size: 9px; color: #c3d2e4;
    background-image: linear-gradient(135deg, #fbfdff 25%, transparent 25%, transparent 50%, #fbfdff 50%, #fbfdff 75%, transparent 75%);
    background-size: 14px 14px;
}
.mi-th::after {
    content: ''; position: absolute; left: 14%; right: 14%; top: 14%; height: 2px; border-radius: 2px;
    background: #e2ebf7;
    box-shadow: 0 8px 0 #e6effa, 0 16px 0 #eef4fc, 0 24px 0 #eef4fc;
}
.mi-fbtn {
    margin-top: auto; text-align: center; font-size: 11px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #4c8df6, #2563eb); border-radius: 10px; padding: 7px 0;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .22);
}
.mi-prog { height: 5px; border-radius: 999px; background: #e6f0fd; overflow: hidden; }
.mi-prog i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, #4c8df6, #2563eb); }

/* ---------- 通用大窗 ---------- */
.tool-modal {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    padding: 3vh 2vw;
    background: rgba(8, 13, 22, .52);
    backdrop-filter: blur(6px);
    /* 可见性不依赖动画：后台标签里动画会暂停，遮罩必须始终可见 */
    opacity: 1;
}

.tm-panel {
    width: min(1180px, 94vw); height: min(860px, 90vh);
    background: #fff; border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 28px 80px rgba(6, 12, 24, .38);
    animation: tmPop .22s cubic-bezier(.34, 1.3, .64, 1) both;
    transition: width .2s ease, height .2s ease, border-radius .2s ease;
}
.tm-panel.max { width: 96vw; height: 94vh; border-radius: 14px; }
/* 只动位移，不把可见性挂在 opacity 上 */
@keyframes tmPop { from { transform: translateY(10px) scale(.985); } to { transform: none; } }

.tm-head {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px 12px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: linear-gradient(180deg, #fbfcfe, #f5f7fb);
    flex: 0 0 auto;
}
.tm-ic {
    width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    box-shadow: 0 6px 14px rgba(16, 24, 40, .16), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.tm-tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm-tt b { font-size: 15px; color: #16202f; font-weight: 700; letter-spacing: .01em; }
.tm-tt span { font-size: 12px; color: #78849a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tm-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.tm-btn {
    height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(15, 23, 42, .12);
    background: #fff; color: #2b3648; font-size: 12.5px; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    font-family: inherit;
}
.tm-btn:hover { background: #eef4ff; border-color: rgba(31, 123, 245, .45); color: #1f5fd8; }
.tm-x {
    width: 32px; height: 32px; border-radius: 9px; border: 1px solid rgba(15, 23, 42, .12);
    background: #fff; color: #5a6577; font-size: 15px; cursor: pointer; line-height: 1;
    font-family: inherit;
}
.tm-x:hover { background: #ffecec; border-color: rgba(220, 38, 38, .4); color: #dc2626; }

.tm-body { flex: 1 1 auto; min-height: 0; position: relative; background: #f3f5f9; }
.tm-body iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }

/* 独立页模式：弹窗内直接是该工具自己的页面，窗口按钮在标题条右上角 */
.tm-solo { position: relative; padding: 0; }
.tm-solo .tm-bar {
    flex: 0 0 auto; height: 40px;
    display: flex; align-items: center; gap: 8px;
    padding: 0 8px 0 16px;
    background: #f7f9fc;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.tm-solo .tm-bar-t {
    flex: 1 1 auto; min-width: 0;
    font-size: 12.5px; font-weight: 600; color: #7c879a; letter-spacing: .02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tm-solo .tm-bar-acts { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.tm-ico {
    width: 30px; height: 30px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid transparent; border-radius: 8px;
    background: transparent; color: #5a6577;
    font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tm-ico svg { width: 15px; height: 15px; }
.tm-ico:hover { background: #e9effb; color: #1f5fd8; }
.tm-ico-x:hover { background: #ffe9e9; color: #dc2626; }
.tm-solo .tm-body { background: #16283c; }
.tm-solo .tm-body iframe { width: 100%; height: 100%; }
.tm-float {
    position: absolute; right: 12px; bottom: 12px; z-index: 30;
    display: flex; align-items: center; gap: 6px;
    padding: 5px 6px; border-radius: 12px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 6px 18px rgba(6, 12, 24, .22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tm-float .tm-btn { height: 28px; padding: 0 10px; font-size: 12px; border-color: rgba(15, 23, 42, .1); }
.tm-float .tm-x { width: 28px; height: 28px; font-size: 13px; }

.tm-tip {
    flex: 0 0 auto; padding: 8px 16px; font-size: 12px; color: #6b7688;
    background: #f7f9fc; border-top: 1px solid rgba(15, 23, 42, .07);
    display: none;
}
.tm-tip.on { display: block; }

/* ---------- 便签：浮动层 ---------- */
.note-layer {
    position: fixed; inset: 0; z-index: 60;
    pointer-events: none; overflow: hidden;
}

.note-card {
    position: absolute; pointer-events: auto;
    width: 230px; min-height: 92px;
    background: #fff8d6; border-radius: 12px;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .18), 0 1px 0 rgba(255, 255, 255, .8) inset;
    border: 1px solid rgba(180, 150, 60, .28);
    display: flex; flex-direction: column;
    color: #3a3a2e; font-size: 13px; line-height: 1.55;
    transition: box-shadow .16s ease, transform .16s ease;
    overflow: hidden;
    touch-action: none;
}
.note-card:hover { box-shadow: 0 14px 32px rgba(16, 24, 40, .24); }
.note-card.flash { animation: noteFlash .9s ease; }
@keyframes noteFlash {
    0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, .65); }
    55%  { box-shadow: 0 0 0 9px rgba(37, 99, 235, .12); }
    100% { box-shadow: 0 10px 26px rgba(16, 24, 40, .18); }
}
.note-card.dragging { transform: scale(1.02) rotate(-.6deg); box-shadow: 0 18px 40px rgba(16, 24, 40, .3); }
.note-card.fold { min-height: 0; width: 150px !important; }

.note-card.c-green  { background: #e6f7e9; border-color: rgba(70, 150, 90, .3); }
.note-card.c-blue   { background: #e3f1ff; border-color: rgba(60, 120, 200, .3); }
.note-card.c-pink   { background: #ffe8f0; border-color: rgba(200, 90, 130, .3); }
.note-card.c-purple { background: #efe7ff; border-color: rgba(120, 80, 200, .3); }
.note-card.c-gray   { background: #f0f2f5; border-color: rgba(120, 130, 145, .3); }

.nc-bar {
    display: flex; align-items: center; gap: 4px;
    padding: 6px 6px 4px 10px;
    cursor: grab; flex: 0 0 auto;
    user-select: none;
}
.nc-bar:active { cursor: grabbing; }
.nc-grip {
    width: 16px; height: 8px; flex: 0 0 auto;
    background-image: radial-gradient(circle at 3px 4px, rgba(60, 60, 45, .38) 1.1px, transparent 1.4px);
    background-size: 5px 5px; opacity: .8;
}
.nc-date { margin-left: auto; font-size: 10.5px; color: rgba(60, 55, 40, .55); white-space: nowrap; }
.nc-mini {
    width: 20px; height: 20px; border: 0; border-radius: 6px; background: transparent;
    color: rgba(60, 55, 40, .55); font-size: 12px; line-height: 1; cursor: pointer;
    font-family: inherit; flex: 0 0 auto;
}
.nc-mini:hover { background: rgba(0, 0, 0, .07); color: rgba(40, 40, 30, .9); }

.nc-body {
    flex: 1 1 auto; min-height: 0; overflow: auto;
    padding: 2px 12px 10px;
    outline: none; white-space: pre-wrap; word-break: break-word;
    cursor: text;
}
.nc-body:empty::before { content: '写点什么…'; color: rgba(60, 55, 40, .38); }
.note-card.fold .nc-body { display: none; }
.note-card.fold .nc-date { display: none; }

.nc-resize {
    position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px;
    cursor: nwse-resize; opacity: 0; transition: opacity .15s ease;
}
.nc-resize::before {
    content: ''; position: absolute; right: 3px; bottom: 3px; width: 8px; height: 8px;
    border-right: 2px solid rgba(60, 55, 40, .4); border-bottom: 2px solid rgba(60, 55, 40, .4);
}
.note-card:hover .nc-resize { opacity: 1; }
.note-card.fold .nc-resize { display: none; }

/* ---------- 便签：待办清单 ---------- */
.nc-tag {
    font-size: 10.5px; line-height: 1; padding: 2px 5px; border-radius: 5px;
    background: rgba(37, 99, 235, .12); color: #1f5fd8; font-weight: 600;
}
.nc-todo { padding: 2px 8px 8px; white-space: normal; cursor: default; }
.nt-list { display: flex; flex-direction: column; gap: 1px; }
.nt-item {
    display: flex; align-items: flex-start; gap: 6px;
    padding: 3px 3px; border-radius: 7px;
}
.nt-item:hover { background: rgba(255, 255, 255, .55); }
.nt-cb {
    flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; padding: 0;
    border-radius: 5px; border: 1.5px solid rgba(37, 99, 235, .45);
    background: rgba(255, 255, 255, .85); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.nt-cb svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 2.6; fill: none; opacity: 0; }
.nt-item.done .nt-cb { background: #2563eb; border-color: #2563eb; }
.nt-item.done .nt-cb svg { opacity: 1; }
.nt-txt {
    flex: 1 1 auto; min-width: 0; outline: none;
    font-size: 12.5px; line-height: 1.45; word-break: break-word;
}
.nt-item.done .nt-txt { color: rgba(60, 55, 40, .5); text-decoration: line-through; }
.nt-del {
    flex: 0 0 auto; width: 16px; height: 16px; padding: 0; border: 0;
    background: transparent; color: rgba(60, 55, 40, .35);
    font-size: 12px; line-height: 1; cursor: pointer; opacity: 0;
}
.nt-item:hover .nt-del { opacity: 1; }
.nt-empty { font-size: 12px; color: rgba(60, 55, 40, .42); padding: 2px 2px 4px; }
.nt-add {
    display: flex; align-items: center; gap: 5px;
    margin-top: 4px; padding-top: 5px; border-top: 1px dashed rgba(60, 55, 40, .18);
}
.nt-plus { flex: 0 0 auto; color: #1f5fd8; font-style: normal; font-weight: 700; font-size: 12px; }
.nt-input {
    flex: 1 1 auto; min-width: 0; height: 22px; border: 0; background: transparent;
    font-family: inherit; font-size: 12px; color: #3a3a2e; outline: none;
}
.nt-input::placeholder { color: rgba(60, 55, 40, .4); }
.nt-cnt { flex: 0 0 auto; font-size: 10.5px; font-weight: 600; color: rgba(60, 55, 40, .5); }

/* ---------- 便签簿面板（大窗内） ---------- */
.notes-board {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    background: #fff;
}
.nb-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: #fafbfd; flex: 0 0 auto; flex-wrap: wrap;
}
.nb-new {
    height: 34px; padding: 0 14px; border-radius: 9px; border: 0;
    background: linear-gradient(135deg, #4c8df6, #2563eb); color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}
.nb-new:hover { filter: brightness(1.06); }
.nb-new2 {
    background: linear-gradient(135deg, #2fa9a0, #178f86);
    box-shadow: 0 6px 14px rgba(23, 143, 134, .26);
}
.nb-tag {
    font-size: 11px; font-weight: 600; color: #1f5fd8;
    background: rgba(37, 99, 235, .1); padding: 1px 5px; border-radius: 5px; margin-right: 4px;
}
.nb-prog { font-style: normal; font-weight: 600; color: #2563eb; }
.nb-search {
    height: 34px; padding: 0 12px; border-radius: 9px; font-family: inherit;
    border: 1px solid rgba(15, 23, 42, .12); font-size: 13px; color: #2b3648;
    background: #fff; outline: none; min-width: 180px;
}
.nb-search:focus { border-color: rgba(31, 123, 245, .5); }
.nb-state { margin-left: auto; font-size: 12px; color: #78849a; }
.nb-state b { color: #2563eb; font-weight: 600; }

.nb-list {
    flex: 1 1 auto; overflow: auto; padding: 14px 16px 20px;
    display: grid; gap: 10px; align-content: start;
}
.nb-row {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 12px; border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .08); background: #fbfcfe;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.nb-row:hover { border-color: rgba(31, 123, 245, .35); box-shadow: 0 6px 18px rgba(16, 24, 40, .07); }
.nb-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; margin-top: 5px; }
.nb-dot.yellow { background: #f2d16b; } .nb-dot.green { background: #7bc98c; }
.nb-dot.blue { background: #6fa8e8; } .nb-dot.pink { background: #ee9db8; }
.nb-dot.purple { background: #ab8fe3; } .nb-dot.gray { background: #b3bcc9; }
.nb-main { flex: 1 1 auto; min-width: 0; }
.nb-text {
    font-size: 13.5px; color: #2b3648; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
    max-height: 4.6em; overflow: hidden;
}
.nb-text.empty { color: #9aa4b4; font-style: italic; }
.nb-meta { font-size: 11.5px; color: #98a2b3; margin-top: 4px; }
.nb-acts { display: flex; gap: 6px; flex: 0 0 auto; }
.nb-a {
    height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-family: inherit;
    border: 1px solid rgba(15, 23, 42, .12); background: #fff; color: #48556b; cursor: pointer;
}
.nb-a:hover { background: #eef4ff; border-color: rgba(31, 123, 245, .4); color: #1f5fd8; }
.nb-a.danger:hover { background: #ffecec; border-color: rgba(220, 38, 38, .4); color: #dc2626; }
.nb-empty { text-align: center; color: #98a2b3; font-size: 13px; padding: 60px 0; grid-column: 1 / -1; }

/* 便签纸在列表里的颜色小样 */
.nb-paper { font-size: 11.5px; color: #98a2b3; }

@media (max-width: 720px) {
    .tm-panel { width: 96vw; height: 82vh; border-radius: 14px; }
    .tm-tt span { display: none; }
    .note-card { width: 190px; }
}

/* ---------- 在线鲁班尺 ---------- */
.mi-bg-lubanchi { background: linear-gradient(170deg, #fdf4ea 0%, #f7e4cf 100%); }
.mi-lbc .mi-seg2 { background: #f6e6d8; display: flex; align-items: center; width: 100%; }
.mi-lbc .mi-seg2 b { color: #b4551c; box-shadow: 0 2px 6px rgba(180, 85, 28, .18); }
.mi-lbc .mi-seg2 i { color: #9a6a52; }
.mi-lbc .mi-seg2 u { margin-left: auto; padding-right: 6px; text-decoration: none; font-size: 9.5px; color: #a5714f; }
.mi-lbc .mi-lv { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.mi-lbc .mi-lb {
    width: 52px; height: 52px; border-radius: 50%; flex: none;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 1px;
}
.mi-lbc .mi-lb.ok { background: linear-gradient(140deg, #e0584f, #b62b22); box-shadow: 0 6px 14px rgba(182, 43, 34, .22); }
.mi-lbc .mi-lb.bad { background: linear-gradient(140deg, #5b6472, #333a46); }
.mi-lbc .mi-lt { min-width: 0; }
.mi-lbc .mi-lt b { display: block; font-size: 15px; font-weight: 700; color: #1b2432; }
.mi-lbc .mi-lt em { display: block; font-style: normal; font-size: 10px; color: #8a6a58; margin-top: 3px; }
.mi-lbc .mi-lband { margin-top: auto; }
.mi-lbc .mi-lbars {
    position: relative; display: flex; height: 26px; border-radius: 7px; overflow: hidden;
    border: 1px solid rgba(120, 70, 40, .18);
}
.mi-lbc .mi-lbars i {
    flex: 1; display: flex; align-items: center; justify-content: center;
    font-style: normal; font-size: 10px; font-weight: 700; color: #fff;
}
.mi-lbc .mi-lbars i.ok { background: linear-gradient(180deg, #d9564c, #b62b22); }
.mi-lbc .mi-lbars i.bad { background: linear-gradient(180deg, #6b7484, #3c4452); }
.mi-lbc .mi-lbars s { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #ffd15c; box-shadow: 0 0 0 1px rgba(0, 0, 0, .22); }
.mi-lbc .mi-ltk { display: flex; justify-content: space-between; font-size: 9px; color: #a08a78; margin-top: 4px; }
.mi-lbc .mi-lnear {
    display: flex; align-items: center; gap: 6px; padding: 5px 9px;
    background: #fff; border-radius: 9px; font-size: 10px; color: #8a6a58;
}
.mi-lbc .mi-lnear b { font-weight: 700; color: #b4551c; font-variant-numeric: tabular-nums; }
.mi-lbc .mi-lnear em { margin-left: auto; font-style: normal; color: #b7a595; }

/* ---------- 在线鲁班尺（按工具真实界面还原的缩略版） ---------- */
.mi-pane.mi-lbc2 {
    padding: 0; gap: 0; border-radius: 8px; background: #ececec;
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
}
.mi-lbc2 .lbc-bar {
    height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 8px;
    background: linear-gradient(#3a7ad6, #2a68c4); color: #fff;
}
.mi-lbc2 .lbc-bar s {
    width: 16px; height: 16px; flex: none; border-radius: 3px;
    background: #d22d26; color: #ffe14d; font-size: 11px; font-weight: 700;
    line-height: 16px; text-align: center; text-decoration: none;
}
.mi-lbc2 .lbc-bar b { font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.mi-lbc2 .lbc-bar i { margin-left: auto; font-style: normal; font-size: 9px; color: #dbe7fb; }
.mi-lbc2 .lbc-tabs { height: 22px; display: flex; border-bottom: 1px solid #c9c9c9; }
.mi-lbc2 .lbc-tabs b,
.mi-lbc2 .lbc-tabs i {
    flex: 1; display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 400; font-style: normal;
}
.mi-lbc2 .lbc-tabs b { background: #fff; color: #1b1b1b; }
.mi-lbc2 .lbc-tabs i { background: #dcdcdc; color: #555; }
.mi-lbc2 .lbc-body {
    flex: 1; min-height: 0; padding: 8px 9px 7px;
    display: flex; flex-direction: column; gap: 5px;
}
.mi-lbc2 .lbc-scale { position: relative; height: 32px; flex: none; }
.mi-lbc2 .lbc-scale u {
    position: absolute; left: 8px; right: 8px; top: 3px; height: 14px;
    background: #dcdcdc; border: 1px solid #bdbdbd; border-radius: 2px;
}
.mi-lbc2 .lbc-scale u::before {
    content: ""; position: absolute; left: 4px; top: -1px;
    border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-top: 10px solid #1f5fbf;
}
.mi-lbc2 .lbc-scale em {
    position: absolute; left: 8px; right: 8px; top: 21px; height: 9px;
    background: repeating-linear-gradient(90deg, #8b8b8b 0 1px, transparent 1px 9px);
}
.mi-lbc2 .lbc-cells { display: flex; height: 54px; flex: none; border: 1px solid #c00000; }
.mi-lbc2 .lbc-cells b {
    flex: 1; display: flex; align-items: center; justify-content: center;
    background: #ffff00; color: #d00000; font-size: 13px; font-weight: 700;
    border-right: 1px solid #c00000;
}
.mi-lbc2 .lbc-cells b:last-child { border-right: 0; }
.mi-lbc2 .lbc-cells b.hot { flex: 1.12; background: #ff0000; color: #ffe600; }
.mi-lbc2 .lbc-mm { display: flex; align-items: center; gap: 8px; height: 24px; flex: none; }
.mi-lbc2 .lbc-mm s,
.mi-lbc2 .lbc-mm i {
    text-decoration: none; font-style: normal;
    font-size: 11px; font-weight: 700; color: #1b1b1b;
    background: #fff; border: 1px solid #b3b3b3; padding: 2px 8px;
}
.mi-lbc2 .lbc-mm u {
    margin: 0 auto; text-decoration: none; font-size: 9px; color: #333;
    background: #e3e3e3; border: 1px solid #b3b3b3; padding: 2px 6px; border-radius: 2px;
}
.mi-lbc2 .lbc-mm u + u { margin-left: 0; }
.mi-lbc2 .lbc-pp { display: flex; align-items: center; gap: 5px; height: 22px; flex: none; }
.mi-lbc2 .lbc-pp b { font-size: 11px; color: #111; }
.mi-lbc2 .lbc-pp em {
    font-style: normal; font-size: 12px; font-weight: 700; color: #111;
    background: #fff; border: 1px solid #8aa6d2; padding: 1px 12px;
}
.mi-lbc2 .lbc-pp b:last-child { font-weight: 400; }
.mi-lbc2 .lbc-res {
    display: flex; align-items: center; gap: 5px; margin-top: auto;
    border-top: 1px dashed #c5c5c5; padding-top: 6px; min-height: 22px;
}
.mi-lbc2 .lbc-res s {
    width: 16px; height: 16px; flex: none; border-radius: 3px;
    background: #d22d26; color: #ffe14d; font-size: 11px; font-weight: 700;
    line-height: 16px; text-align: center; text-decoration: none;
}
.mi-lbc2 .lbc-res b { font-size: 10px; font-weight: 700; color: #d00000; white-space: nowrap; }
.mi-lbc2 .lbc-res i {
    font-style: normal; font-size: 9px; color: #444;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ---------- 手机版PS（在线图片处理） ---------- */
.mi-bg-mps { background: linear-gradient(170deg, #eef3fc 0%, #dde6f5 100%); }
.mi-mps { padding: 9px 10px 8px; gap: 6px; }
.mi-mps .mi-mps-menu {
    display: flex; align-items: center; gap: 7px;
    font-size: 9.5px; color: #5a6579; padding-bottom: 5px;
    border-bottom: 1px solid rgba(80, 105, 145, .14);
}
.mi-mps .mi-mps-menu b {
    margin-left: auto; font-size: 9.5px; font-weight: 700; color: #1d4ed8;
    background: #fff; border-radius: 5px; padding: 1px 6px; letter-spacing: .04em;
}
.mi-mps .mi-mps-body { flex: 1; display: flex; gap: 7px; min-height: 0; }
.mi-mps .mi-mps-tools {
    width: 42px; flex: none; display: grid;
    grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 4px;
}
.mi-mps .mi-mps-tools i {
    border-radius: 5px; background: #fff; border: 1px solid #dbe4f3;
}
.mi-mps .mi-mps-tools i:nth-child(1),
.mi-mps .mi-mps-tools i:nth-child(3) { background: linear-gradient(160deg, #cfe0fb, #a6c2ef); border-color: #b6cdf0; }
.mi-mps .mi-mps-tools i:nth-child(5) { background: linear-gradient(160deg, #ffd9cf, #f5a894); border-color: #f2bcae; }
.mi-mps .mi-mps-canvas {
    position: relative; flex: 1; min-width: 0; border-radius: 8px; overflow: hidden;
    background: #232833;
    display: flex; align-items: center; justify-content: center;
}
.mi-mps .mi-mps-canvas s {
    width: 74%; height: 66%; border-radius: 3px; text-decoration: none;
    border: 3px solid #fff;
    background: linear-gradient(180deg, #8fc2f8 0%, #5b90df 52%, #2f59a3 100%);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .45);
    display: flex; align-items: flex-start; justify-content: flex-end; padding: 6px;
}
.mi-mps .mi-mps-canvas s i {
    width: 12px; height: 12px; border-radius: 50%;
    background: #ffe9a8; box-shadow: 0 0 0 2px rgba(255, 233, 168, .45);
}
.mi-mps .mi-mps-canvas u {
    position: absolute; left: 6px; bottom: 5px; text-decoration: none;
    font-size: 8.5px; color: rgba(255, 255, 255, .62); letter-spacing: .01em;
}
.mi-mps .mi-mps-foot {
    display: flex; align-items: center; gap: 8px; font-size: 9px; color: #7b8698;
}
.mi-mps .mi-mps-foot i { font-style: normal; color: #b3bdcc; }
.mi-mps .mi-mps-foot i:last-child { margin-left: auto; color: #8fa4c4; }

/* ---------- 待（to-do）的等级与日期 ---------- */
.nt-item { flex-wrap: wrap; }
.nt-pri {
    flex: 0 0 auto; margin-top: 1px; padding: 0 5px; height: 16px; line-height: 16px;
    border: 0; border-radius: 8px; background: rgba(60, 55, 40, .09);
    font-family: inherit; font-size: 10px; color: rgba(60, 55, 40, .58); cursor: pointer;
}
.nt-pri.p1 { background: #ffe6e6; color: #c5303a; }
.nt-pri.p2 { background: #fff1d8; color: #96620a; }
.nt-pri.p3 { background: #e6efff; color: #1f5fd8; }
.nt-dt { flex: 0 0 auto; }
.nt-date {
    width: 96px; height: 20px; border: 0; border-radius: 6px; padding: 0 2px;
    background: rgba(255, 255, 255, .78); font-family: inherit; font-size: 10.5px; color: #4a4636;
}
.nt-date:focus { outline: 2px solid rgba(74, 124, 247, .22); }
.nt-add2 { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.nt-apri, .nt-adate {
    height: 22px; border: 1px solid rgba(60, 55, 40, .16); border-radius: 6px; padding: 0 3px;
    background: rgba(255, 255, 255, .78); font-family: inherit; font-size: 11px; color: #4a4636;
}
.nt-apri { width: 54px; }
.nt-adate { width: 104px; }
.nt-acal {
    margin-left: auto; height: 22px; padding: 0 9px; border: 0; border-radius: 6px;
    background: rgba(74, 124, 247, .13); color: #1f5fd8;
    font-family: inherit; font-size: 11px; cursor: pointer;
}
.nt-acal:hover { background: rgba(74, 124, 247, .2); }
.nb-date { font-size: 11px; color: #4a7cf7; font-weight: 600; }
.nb-pri { font-size: 10.5px; padding: 0 5px; border-radius: 8px; font-weight: 600; }
.nb-pri.p1 { background: #ffe6e6; color: #c5303a; }
.nb-pri.p2 { background: #fff1d8; color: #96620a; }
.nb-pri.p3 { background: #e6efff; color: #1f5fd8; }
.nc-cal { font-size: 11px !important; }
.nb-calbtn { background: #eef3ff !important; color: #1f5fd8 !important; }
