        .xp-web-confirm {
            position: fixed;
            inset: 0;
            z-index: 9500;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 18px;
            background: rgba(0, 0, 0, 0.24);
            font-family: Tahoma, 'Microsoft Sans Serif', sans-serif;
        }
        .xp-web-confirm.active { display: flex; }
        .xp-web-confirm__window {
            width: 420px;
            max-width: 92vw;
            background: #ece9d8;
            border: 1px solid #0054e3;
            border-radius: 7px 7px 0 0;
            box-shadow:
                1px 0 0 #6eb9ff inset,
                0 1px 0 #6eb9ff inset,
                -1px 0 0 #001a4d inset,
                0 -1px 0 #001a4d inset,
                4px 4px 16px rgba(0,0,0,0.35);
            overflow: hidden;
            color: #000;
        }
        .xp-web-confirm__titlebar {
            min-height: 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 6px 4px 8px;
            background: linear-gradient(180deg, #0997ff 0%, #0055e6 16%, #0046d4 52%, #003bbc 100%);
            color: #fff;
            font-size: 12px;
            font-weight: bold;
            text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
        }
        .xp-web-confirm__titlebtn {
            width: 20px;
            height: 20px;
            border: 1px solid #fff;
            border-radius: 3px;
            background: linear-gradient(135deg, #ffb199, #d34121 55%, #9f1e10);
            color: #fff;
            font-weight: bold;
            line-height: 16px;
            cursor: pointer;
            box-shadow: inset 1px 1px 0 rgba(255,255,255,0.55);
        }
        .xp-web-confirm__body {
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 22px 22px 18px;
            font-size: 13px;
            line-height: 1.55;
        }
        .xp-web-confirm__icon {
            width: 34px;
            height: 34px;
            flex: 0 0 auto;
        }
        .xp-web-confirm__body p { margin: 0 0 8px; }
        .xp-web-confirm__footer {
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            padding: 10px 14px 14px;
        }
        .xp-web-confirm__btn {
            min-width: 82px;
            padding: 4px 14px;
            border: 1px solid #003c74;
            border-radius: 3px;
            background: linear-gradient(#fff, #ece9d8);
            color: #000;
            font-family: inherit;
            font-size: 12px;
            cursor: pointer;
            box-shadow: inset -1px -1px 0 #aca899, inset 1px 1px 0 #fff;
        }
        .xp-web-confirm__btn:hover,
        .xp-web-confirm__btn:focus {
            border-color: #ff9400;
            outline: none;
        }
        @media (max-width: 600px) {
            .xp-start-btn { font-size: 13px; padding: 0 16px 0 8px; }
            .xp-task-entry { max-width: 140px; }
        }

        .word-btn { padding: 6px 24px; border: 1px solid var(--word-border); background: var(--word-page); color: var(--word-text); cursor: pointer; font-family: var(--ui-font); font-size: 14px; transition: all 0.1s; border-radius: 2px;}
        .word-btn:hover:not(:disabled) { border-color: #999; background: #e6f2ff; }
        .word-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        
        /* MS Word Primary Button Style */
        .word-btn.primary { border: none; background: #2B579A; color: #ffffff; border-radius: 2px; padding: 7px 32px; font-weight: normal; }
        .word-btn.primary:hover:not(:disabled) { background: #1e3f6f; }
        
        body.dark-mode .word-btn { border-color: #666; background: #444; }
        body.dark-mode .word-btn:hover:not(:disabled) { background: #555; }
        body.dark-mode .word-btn.primary { background: #7aa5eb; color: #1a1a1a; }
        body.dark-mode .word-btn.primary:hover:not(:disabled) { background: #5c8bdf; }

