/* Macrohard 180 Office Suite */

.office-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1e1e2e;
    color: #ccc;
    font-size: 13px;
    position: relative;
}

/* ── Ribbon ── */

.office-ribbon {
    flex-shrink: 0;
    background: #252538;
    border-bottom: 1px solid #333;
}

.office-ribbon-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #333;
    padding: 0 8px;
    background: linear-gradient(to bottom, #2a2a40, #252538);
}

.office-ribbon-tab {
    padding: 6px 16px;
    cursor: pointer;
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, background 0.15s;
    border-radius: 3px 3px 0 0;
}

.office-ribbon-tab:hover {
    color: #ddd;
    background: rgba(255, 255, 255, 0.04);
}

.office-ribbon-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Accent colors for ribbon tabs */
.ribbon-turd .office-ribbon-tab.active { border-bottom-color: #2b579a; color: #7ba4d9; }
.ribbon-exhell .office-ribbon-tab.active { border-bottom-color: #217346; color: #7cb97c; }
.ribbon-pointless .office-ribbon-tab.active { border-bottom-color: #d24726; color: #e8a090; }

.office-ribbon-panel {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 2px;
    min-height: 58px;
    overflow-x: auto;
    background: linear-gradient(to bottom, #252538, #222235);
}

.office-ribbon-group {
    display: flex;
    gap: 3px;
    align-items: center;
    padding: 2px 4px;
    border-radius: 4px;
}

.office-ribbon-sep {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, #444, transparent);
    margin: 0 10px;
    flex-shrink: 0;
}

.office-ribbon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    min-width: 50px;
    transition: background 0.15s, transform 0.1s;
    border: 1px solid transparent;
}

.office-ribbon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.06);
}

.office-ribbon-btn:active {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(0.96);
}

.office-ribbon-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.office-ribbon-btn.disabled:hover {
    background: none;
    border-color: transparent;
}

/* Accent hover colors per mode */
.ribbon-turd .office-ribbon-btn:hover:not(.disabled) {
    background: rgba(43, 87, 154, 0.18);
    border-color: rgba(43, 87, 154, 0.25);
}
.ribbon-exhell .office-ribbon-btn:hover:not(.disabled) {
    background: rgba(33, 115, 70, 0.18);
    border-color: rgba(33, 115, 70, 0.25);
}
.ribbon-pointless .office-ribbon-btn:hover:not(.disabled) {
    background: rgba(210, 71, 38, 0.18);
    border-color: rgba(210, 71, 38, 0.25);
}

.office-ribbon-btn-icon {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 3px;
}

.office-ribbon-btn-label {
    font-size: 9px;
    color: #aaa;
    white-space: nowrap;
}

/* ── Document Tabs ── */

.office-tabbar {
    display: flex;
    background: #161626;
    border-bottom: 1px solid #333;
    overflow-x: auto;
    flex-shrink: 0;
}

.office-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    cursor: pointer;
    color: #777;
    font-size: 11px;
    border-right: 1px solid #222;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    border-top: 2px solid transparent;
    position: relative;
}

.office-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
}

.office-tab.active {
    color: #eee;
    background: #252538;
}

/* Tab accent borders */
.office-tab-turd.active { border-top-color: #2b579a; }
.office-tab-exhell.active { border-top-color: #217346; }
.office-tab-pointless.active { border-top-color: #d24726; }

/* Mode icons in tabs */
.office-tab-mode-icon {
    font-size: 12px;
    opacity: 0.7;
}

.office-tab-close {
    font-size: 14px;
    opacity: 0.3;
    transition: opacity 0.15s, color 0.15s;
    border-radius: 3px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-tab-close:hover {
    opacity: 1;
    background: rgba(255, 80, 80, 0.3);
    color: #ff8888;
}

/* ── Content Area ── */

.office-content {
    flex: 1;
    overflow: auto;
    position: relative;
}

/* ── Welcome Screen ── */

.office-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #666;
}

.office-welcome-icon {
    font-size: 64px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.office-welcome-title {
    font-size: 22px;
    color: #999;
    margin-bottom: 6px;
}

.office-welcome-sub {
    font-size: 13px;
    margin-bottom: 16px;
}

.office-welcome-hint {
    font-size: 12px;
    color: #555;
}

.office-welcome-open {
    margin: 12px 0 4px;
    padding: 8px 24px;
    border: 1px solid #555;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.office-welcome-open:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ddd;
}

.office-mode-turd .office-welcome-open { border-color: #4a6a9a; }
.office-mode-turd .office-welcome-open:hover { background: rgba(43, 87, 154, 0.25); color: #9cc; }
.office-mode-exhell .office-welcome-open { border-color: #4a8a4a; }
.office-mode-exhell .office-welcome-open:hover { background: rgba(33, 115, 70, 0.25); color: #9c9; }
.office-mode-pointless .office-welcome-open { border-color: #9a5a4a; }
.office-mode-pointless .office-welcome-open:hover { background: rgba(210, 71, 38, 0.25); color: #eaa; }

.office-welcome-fine {
    font-size: 9px;
    color: #444;
    margin-top: 24px;
    font-style: italic;
}

/* ══════════════════════════════════════════
   TURD (Word Processor)
   ══════════════════════════════════════════ */

.turd-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    min-height: 100%;
    background: #2a2a3a;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Ruler bar above document */
.turd-ruler {
    max-width: 680px;
    width: 100%;
    height: 18px;
    background: #e8e8e8;
    border-bottom: 1px solid #ccc;
    margin: 0 auto 0 auto;
    position: relative;
    border-radius: 2px 2px 0 0;
    display: flex;
    align-items: flex-end;
    padding: 0 4px;
    box-sizing: border-box;
    overflow: hidden;
}

.turd-ruler-marks {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 7px;
    color: #999;
    font-family: sans-serif;
    padding: 0 2px;
}

.turd-ruler-mark {
    position: relative;
    text-align: center;
    width: 1px;
}

.turd-ruler-mark::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 6px;
    background: #bbb;
}

.turd-page {
    background: #fff;
    color: #222;
    max-width: 680px;
    width: 100%;
    min-height: 500px;
    padding: 48px 56px;
    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 0, 0, 0.1);
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 13px;
    line-height: 1.7;
    cursor: text;
    outline: none;
    border: 1px solid #ddd;
    border-top: none;
    transition: box-shadow 0.2s;
}

.turd-page:focus {
    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 0, 0, 0.1),
        0 0 0 2px rgba(43, 87, 154, 0.4);
}

.turd-h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: #1a1a1a;
    border-bottom: 2px solid #2b579a;
    padding-bottom: 6px;
}

.turd-h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 20px 0 8px 0;
    color: #2b579a;
}

.turd-h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 6px 0;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.turd-para {
    margin: 0 0 12px 0;
    text-align: justify;
    text-justify: inter-word;
}

.turd-list-item {
    margin: 0 0 4px 0;
    padding-left: 18px;
    position: relative;
}

.turd-list-item::before {
    content: "\2022";
    position: absolute;
    left: 4px;
    color: #2b579a;
}

/* Status bar for Turd */
.turd-statusbar {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 3px 12px;
    background: #1e1e2e;
    color: #666;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    border-radius: 0 0 2px 2px;
    border: 1px solid #333;
    border-top: none;
    box-sizing: border-box;
}

.turd-statusbar span {
    display: inline-block;
}

/* ══════════════════════════════════════════
   EXHELL (Spreadsheet)
   ══════════════════════════════════════════ */

/* Formula bar */
.exhell-formula-bar {
    display: flex;
    align-items: center;
    background: #1a3a1a;
    border-bottom: 1px solid #2a4a2a;
    flex-shrink: 0;
    font-family: "Cascadia Code", "Fira Code", monospace;
    font-size: 12px;
}

.exhell-cell-ref {
    padding: 4px 10px;
    color: #7cb97c;
    font-weight: 700;
    font-size: 11px;
    min-width: 50px;
    text-align: center;
    border-right: 1px solid #2a4a2a;
    background: #153015;
}

.exhell-fx-label {
    padding: 4px 8px;
    color: #4a8a4a;
    font-style: italic;
    font-size: 11px;
    border-right: 1px solid #2a4a2a;
}

.exhell-formula-display {
    flex: 1;
    padding: 4px 10px;
    color: #ccc;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exhell-outer {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1c2c1c;
}

.exhell-wrapper {
    overflow: auto;
    flex: 1;
    background: #1c2c1c;
}

.exhell-grid {
    border-collapse: collapse;
    font-size: 12px;
    font-family: "Cascadia Code", "Fira Code", monospace;
    min-width: 100%;
}

.exhell-grid tr {
    border-bottom: 1px solid #2a4a2a;
}

.exhell-col-header {
    position: sticky;
    top: 0;
    z-index: 2;
}

.exhell-corner {
    width: 36px;
    min-width: 36px;
    background: #153015;
    border: 1px solid #2a4a2a;
    position: sticky;
    left: 0;
    z-index: 3;
}

.exhell-col-label {
    background: linear-gradient(to bottom, #1f3f1f, #1a3a1a);
    color: #7cb97c;
    text-align: center;
    padding: 5px 8px;
    border: 1px solid #2a4a2a;
    font-weight: 700;
    font-size: 10px;
    min-width: 80px;
    cursor: default;
    transition: background 0.1s;
}

.exhell-col-label.exhell-col-active {
    background: #217346 !important;
    color: #fff;
}

.exhell-row-num {
    background: linear-gradient(to right, #1f3f1f, #1a3a1a);
    color: #7cb97c;
    text-align: center;
    padding: 3px 6px;
    border: 1px solid #2a4a2a;
    font-weight: 700;
    font-size: 10px;
    position: sticky;
    left: 0;
    z-index: 1;
    width: 36px;
    min-width: 36px;
    cursor: default;
    transition: background 0.1s;
}

.exhell-row-num.exhell-row-active {
    background: #217346 !important;
    color: #fff;
}

.exhell-cell {
    padding: 4px 8px;
    border: 1px solid #2a4a2a;
    color: #ccc;
    white-space: nowrap;
    cursor: cell;
    transition: background 0.1s;
}

.exhell-cell:hover {
    background: rgba(33, 115, 70, 0.15);
}

.exhell-header {
    background: #1f3f1f;
    color: #8cd98c;
    font-weight: 700;
    cursor: default;
}

.exhell-header-row .exhell-cell {
    background: #1f3f1f;
    color: #8cd98c;
    font-weight: 700;
}

.exhell-even .exhell-cell {
    background: #1c2c1c;
}

.exhell-odd .exhell-cell {
    background: #1f2e1f;
}

.exhell-cell.editing {
    padding: 0;
    position: relative;
}

.exhell-cell.editing .exhell-edit-input {
    width: 100%;
    height: 100%;
    padding: 4px 8px;
    border: none;
    outline: 2px solid #217346;
    outline-offset: -1px;
    background: #0a1a0a;
    color: #fff;
    font-family: "Cascadia Code", "Fira Code", monospace;
    font-size: 12px;
    box-sizing: border-box;
}

.exhell-cell.exhell-selected {
    outline: 2px solid #217346;
    outline-offset: -1px;
    background: rgba(33, 115, 70, 0.25) !important;
}

.exhell-cell.exhell-highlight {
    background: rgba(255, 200, 0, 0.2) !important;
    outline: 2px solid #ffc800;
}

.exhell-cell.exhell-blamed {
    background: rgba(220, 50, 50, 0.3) !important;
    outline: 2px solid #dc3232;
    outline-offset: -1px;
    animation: exhell-blame-pulse 1s ease-out;
}

@keyframes exhell-blame-pulse {
    0% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.exhell-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-style: italic;
}

/* Exhell status bar */
.exhell-statusbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 3px 12px;
    background: #153015;
    border-top: 1px solid #2a4a2a;
    color: #5a9a5a;
    font-size: 10px;
    font-family: "Cascadia Code", "Fira Code", monospace;
    flex-shrink: 0;
}

.exhell-statusbar span {
    display: inline-block;
}

/* ══════════════════════════════════════════
   POINTLESS (Presentations)
   ══════════════════════════════════════════ */

.pointless-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #2a1a1a;
}

.pointless-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Slide thumbnails sidebar */
.pointless-sidebar {
    width: 120px;
    min-width: 120px;
    background: #221515;
    border-right: 1px solid #3a2020;
    overflow-y: auto;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pointless-thumb {
    background: linear-gradient(135deg, #3a1a1a 0%, #2a0a0a 100%);
    border: 2px solid #3a2020;
    border-radius: 3px;
    padding: 6px 8px;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
    position: relative;
    min-height: 52px;
}

.pointless-thumb:hover {
    border-color: #6a3a3a;
    transform: scale(1.02);
}

.pointless-thumb.active {
    border-color: #d24726;
    box-shadow: 0 0 8px rgba(210, 71, 38, 0.3);
}

.pointless-thumb-num {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 8px;
    color: #666;
}

.pointless-thumb-title {
    font-size: 7px;
    color: #e8a090;
    font-weight: 700;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid rgba(210, 71, 38, 0.3);
    padding-bottom: 2px;
    margin-bottom: 2px;
}

.pointless-thumb-preview {
    font-size: 5px;
    color: #888;
    line-height: 1.3;
    overflow: hidden;
    max-height: 24px;
}

.pointless-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pointless-slide-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pointless-slide {
    background: linear-gradient(135deg, #3a1a1a 0%, #2a0a0a 100%);
    border: 1px solid #4a2a2a;
    border-radius: 6px;
    width: 100%;
    max-width: 640px;
    min-height: 340px;
    padding: 32px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 10;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent */
.pointless-slide::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(210, 71, 38, 0.08) 50%);
    pointer-events: none;
}

.pointless-title {
    font-size: 24px;
    font-weight: 700;
    color: #e8a090;
    margin-bottom: 20px;
    border-bottom: 2px solid #d24726;
    padding-bottom: 10px;
}

.pointless-bullets {
    flex: 1;
}

.pointless-bullet {
    color: #ccc;
    font-size: 14px;
    padding: 5px 0 5px 24px;
    position: relative;
    line-height: 1.5;
}

.pointless-bullet:not(.pointless-text)::before {
    content: "\25B8";
    position: absolute;
    left: 6px;
    color: #d24726;
    font-size: 14px;
}

.pointless-text {
    padding-left: 6px;
    color: #999;
    font-style: italic;
}

/* Slide transition animation */
.pointless-slide.slide-enter {
    animation: slide-enter 0.3s ease-out;
}

@keyframes slide-enter {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.pointless-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px;
    border-top: 1px solid #3a2020;
    flex-shrink: 0;
    background: #221515;
}

.pointless-nav-btn {
    background: #3a2020;
    border: 1px solid #5a3030;
    color: #ccc;
    padding: 5px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.15s, transform 0.1s;
}

.pointless-nav-btn:hover:not(:disabled) {
    background: #4a2a2a;
    transform: translateY(-1px);
}

.pointless-nav-btn:active:not(:disabled) {
    transform: translateY(0);
}

.pointless-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pointless-counter {
    color: #888;
    font-size: 12px;
    min-width: 100px;
    text-align: center;
}

.pointless-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-style: italic;
}

/* ══════════════════════════════════════════
   CLIPPY
   ══════════════════════════════════════════ */

.office-clippy {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    z-index: 50;
    animation: clippy-entrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes clippy-entrance {
    0% { transform: translateY(40px) scale(0.5); opacity: 0; }
    50% { transform: translateY(-8px) scale(1.05); }
    70% { transform: translateY(2px) scale(0.98); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.office-clippy.hidden {
    display: none;
}

.office-clippy-char {
    font-size: 44px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    animation: clippy-idle 4s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.2s;
}

.office-clippy-char:hover {
    transform: scale(1.15) rotate(5deg);
}

@keyframes clippy-idle {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    15% { transform: rotate(-6deg) translateY(-2px); }
    30% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(0deg) translateY(-4px); }
    65% { transform: rotate(3deg) translateY(-1px); }
    80% { transform: rotate(-3deg) translateY(0); }
}

.office-clippy-bubble {
    background: linear-gradient(to bottom, #ffffdd, #ffffbb);
    color: #333;
    border: 1px solid #cc9;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 11px;
    max-width: 220px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    position: relative;
    line-height: 1.45;
    animation: clippy-bubble-in 0.3s ease-out;
}

@keyframes clippy-bubble-in {
    0% { opacity: 0; transform: scale(0.9) translateY(4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Fade when message changes */
.office-clippy-bubble.bubble-refresh {
    animation: bubble-refresh 0.4s ease;
}

@keyframes bubble-refresh {
    0% { opacity: 0.5; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1); }
}

.office-clippy-bubble::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 9px solid #ffffcc;
}

.office-clippy-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #666;
    border: 1px solid #888;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s, transform 0.15s;
}

.office-clippy-close:hover {
    background: #d44;
    transform: scale(1.1);
}

/* ── Fullscreen presentation ── */

.pointless-fullscreen {
    position: absolute;
    inset: 0;
    background: #0a0a0a;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pointless-fs-slide {
    width: 90%;
    max-width: 720px;
    padding: 48px 56px;
    animation: fs-slide-enter 0.35s ease-out;
}

@keyframes fs-slide-enter {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

.pointless-fs-title {
    font-size: 36px;
    font-weight: 700;
    color: #e8a090;
    margin-bottom: 28px;
    border-bottom: 3px solid #d24726;
    padding-bottom: 12px;
}

.pointless-fs-bullet {
    color: #ddd;
    font-size: 20px;
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.6;
}

.pointless-fs-bullet:not(.pointless-fs-text)::before {
    content: "\25B8";
    position: absolute;
    left: 4px;
    color: #d24726;
}

.pointless-fs-text {
    padding-left: 4px;
    color: #888;
    font-style: italic;
}

.pointless-fs-counter {
    position: absolute;
    bottom: 16px;
    right: 20px;
    color: #444;
    font-size: 12px;
}

/* ── PPT icon ── */
.mystuff-file-item .ppt-icon {
    color: #d24726;
}

/* ══════════════════════════════════════════
   PER-MODE WINDOW THEMING
   Each mode gets a distinct color scheme
   applied via .office-mode-{turd|exhell|pointless}
   ══════════════════════════════════════════ */

/* ── Turd: Blue theme ── */

.office-mode-turd {
    background: #1a1e2e;
}

.office-mode-turd .office-ribbon {
    background: #1e2440;
}

.office-mode-turd .office-ribbon-tabs {
    background: linear-gradient(to bottom, #222a48, #1e2440);
    border-bottom-color: #2b3a5a;
}

.office-mode-turd .office-ribbon-panel {
    background: linear-gradient(to bottom, #1e2440, #1b2038);
}

.office-mode-turd .office-tabbar {
    background: #141828;
    border-bottom-color: #2b3a5a;
}

.office-mode-turd .office-tab.active {
    background: #1e2440;
}

.office-mode-turd .office-ribbon-sep {
    background: linear-gradient(to bottom, transparent, #3a4a6a, transparent);
}

.office-mode-turd .office-welcome-icon { filter: hue-rotate(0deg); }
.office-mode-turd .office-welcome-title { color: #7ba4d9; }
.office-mode-turd .office-welcome-sub { color: #5a7aaa; }

/* ── Exhell: Green theme ── */

.office-mode-exhell {
    background: #1a2e1e;
}

.office-mode-exhell .office-ribbon {
    background: #1a301e;
}

.office-mode-exhell .office-ribbon-tabs {
    background: linear-gradient(to bottom, #1f3822, #1a301e);
    border-bottom-color: #2a5030;
}

.office-mode-exhell .office-ribbon-panel {
    background: linear-gradient(to bottom, #1a301e, #17281a);
}

.office-mode-exhell .office-tabbar {
    background: #121e14;
    border-bottom-color: #2a5030;
}

.office-mode-exhell .office-tab.active {
    background: #1a301e;
}

.office-mode-exhell .office-ribbon-sep {
    background: linear-gradient(to bottom, transparent, #3a6a40, transparent);
}

.office-mode-exhell .office-ribbon-tab {
    color: #6a9a6a;
}

.office-mode-exhell .office-ribbon-tab:hover {
    color: #8ac88a;
    background: rgba(33, 115, 70, 0.08);
}

.office-mode-exhell .office-ribbon-btn-label {
    color: #7aaa7a;
}

.office-mode-exhell .office-welcome-icon { filter: hue-rotate(90deg); }
.office-mode-exhell .office-welcome-title { color: #7cb97c; }
.office-mode-exhell .office-welcome-sub { color: #5a9a5a; }

/* ── Pointless: Red/Orange theme ── */

.office-mode-pointless {
    background: #2e1a1a;
}

.office-mode-pointless .office-ribbon {
    background: #301e1e;
}

.office-mode-pointless .office-ribbon-tabs {
    background: linear-gradient(to bottom, #3a2222, #301e1e);
    border-bottom-color: #5a2a2a;
}

.office-mode-pointless .office-ribbon-panel {
    background: linear-gradient(to bottom, #301e1e, #281717);
}

.office-mode-pointless .office-tabbar {
    background: #1e1214;
    border-bottom-color: #5a2a2a;
}

.office-mode-pointless .office-tab.active {
    background: #301e1e;
}

.office-mode-pointless .office-ribbon-sep {
    background: linear-gradient(to bottom, transparent, #6a3a3a, transparent);
}

.office-mode-pointless .office-ribbon-tab {
    color: #9a6a6a;
}

.office-mode-pointless .office-ribbon-tab:hover {
    color: #c88a8a;
    background: rgba(210, 71, 38, 0.08);
}

.office-mode-pointless .office-ribbon-btn-label {
    color: #aa7a7a;
}

.office-mode-pointless .office-welcome-icon { filter: hue-rotate(0deg); }
.office-mode-pointless .office-welcome-title { color: #e8a090; }
.office-mode-pointless .office-welcome-sub { color: #aa6a5a; }
