/* =====================================================
   GBAK v3 — halaman Pusat Dokumen
   (kalender, struktur organisasi 3D, etika chat, template)
   Dipakai bareng style.css
   ===================================================== */
/* variabel dasar: jaga-jaga kalau style.css di server belum punya (nilainya sama dengan style.css) */
:root {
    --gold: #d6a319; --gold-hi: #f4cf5a; --gold-deep: #a97c0a; --gold-soft: #fff3cc;
    --ink: #121110; --ink-2: #2b2924; --mute: #6d675b; --line: #efe7d3;
    --grad-gold: linear-gradient(135deg, #f8d96e 0%, #d6a319 55%, #b58407 100%);
    --grad-ink: linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%);
    --sh-1: 0 1px 1px rgba(60, 40, 0, .04), 0 2px 5px rgba(60, 40, 0, .04), 0 14px 30px -14px rgba(120, 86, 0, .30);
    --bevel: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(169, 124, 10, .12);
    --gold-glow: 0 10px 24px -8px rgba(214, 163, 25, .75);
    --r-md: 22px;
    --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.45, .64, 1);
}
.doc-wrap { max-width: 1100px; margin: 0 auto; }
.doc-note { margin-bottom: 22px; padding: 14px 20px; border-radius: 18px; color: var(--mute); font-size: 14.5px; background: rgba(255, 250, 240, .9); border: 1px dashed rgba(214, 163, 25, .45); }
.doc-note code { padding: 2px 8px; border-radius: 8px; font-size: 13px; color: var(--gold-deep); background: var(--gold-soft); }
.rule-box {
    position: relative; overflow: hidden; margin-bottom: 30px; padding: 28px 32px 28px 40px; border: 1px solid rgba(214, 163, 25, .32); border-radius: var(--r-md);
    background: radial-gradient(420px 200px at 100% 0%, rgba(244, 207, 90, .34), transparent 70%), linear-gradient(135deg, #fff6dc, #fff); box-shadow: var(--sh-1), var(--bevel);
}
.rule-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--grad-gold); box-shadow: 4px 0 14px rgba(214, 163, 25, .5); }
.rule-box h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.rule-box p { color: var(--ink-2); }

/* ---------- KALENDER 3D ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; padding: 10px 18px 10px 14px; border-radius: 999px; background: linear-gradient(180deg, #fff, #fff7e2); border: 1px solid #f0e2b4; box-shadow: 0 3px 0 #ead9a2, 0 14px 18px -10px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 10px; }
.dot.pendek { background: radial-gradient(circle at 32% 28%, #fff6c9 0, #f4cf5a 32%, #c28f0a 100%); box-shadow: 0 3px 6px -1px rgba(150, 100, 0, .7); }
.dot.panjang { background: radial-gradient(circle at 32% 28%, #8a8372 0, #2c281f 42%, #0a0908 100%); box-shadow: 0 3px 6px -1px rgba(0, 0, 0, .55); }

.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; padding-bottom: 18px; }
.month {
    --rx: 0deg; --ry: 0deg; --lift: 0px; --mx: 50%; --my: 0%;
    position: relative; display: flex; flex-direction: column; border-radius: 26px; border: 1px solid #f0e2b4;
    background: radial-gradient(420px 220px at 100% 100%, rgba(244, 207, 90, .16), transparent 70%), linear-gradient(170deg, #fff 0%, #fffaf0 100%);
    /* tebal kartu: tumpukan bayangan tajam = sisi ekstrusi */
    box-shadow: 0 1px 0 #efdfae, 0 2px 0 #ebd9a2, 0 3px 0 #e6d197, 0 4px 0 #e0c88b, 0 5px 0 #dabf7f, 0 6px 0 #d4b673,
        0 22px 30px -14px rgba(120, 86, 0, .45), 0 54px 70px -34px rgba(120, 86, 0, .55), inset 0 1px 0 #fff;
    transform: perspective(1100px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d; transition: box-shadow .6s var(--ease);
}
.month::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: radial-gradient(340px 240px at var(--mx) var(--my), rgba(255, 233, 150, .38), transparent 65%); }
.month:hover::after { opacity: 1; }
.month:hover { box-shadow: 0 1px 0 #efdfae, 0 2px 0 #ebd9a2, 0 3px 0 #e6d197, 0 4px 0 #e0c88b, 0 5px 0 #dabf7f, 0 6px 0 #d4b673,
        0 30px 40px -16px rgba(120, 86, 0, .5), 0 70px 90px -36px rgba(120, 86, 0, .6), inset 0 1px 0 #fff; }
.month h3 {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-radius: 25px 25px 0 0; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.01em;
    background: radial-gradient(240px 100px at 100% 0%, rgba(244, 207, 90, .45), transparent 75%), linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 45%), var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%));
    box-shadow: inset 0 -3px 0 rgba(214, 163, 25, .9), inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 14px -8px rgba(0, 0, 0, .45);
    translate: 0 0 10px;
}
.month h3 small { padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; color: var(--gold-hi); background: rgba(255, 255, 255, .1); border: 1px solid rgba(244, 207, 90, .3); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 18px 14px 12px; text-align: center; font-size: 13px; font-weight: 600; transform-style: preserve-3d; }
.days b { padding-bottom: 6px; color: var(--gold-deep); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.days span {
    position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 11px; color: var(--ink-2);
    background: linear-gradient(180deg, #fff, #fbf4e0); box-shadow: 0 2px 0 #eadcae, 0 6px 8px -5px rgba(120, 86, 0, .38), inset 0 1px 0 #fff;
    translate: 0 0 0; transition: translate .5s var(--spring), box-shadow .4s var(--ease), background .3s var(--ease);
}
.days span:empty { background: none; box-shadow: none; }
.days span.sun:not(.ev) { color: #c0392b; }
.days span:not(.ev):not(:empty):hover { translate: 0 -2px 8px; background: linear-gradient(180deg, #fff, #fff0c4); box-shadow: 0 4px 0 #e2cf94, 0 10px 12px -6px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; }
.days .ev {
    cursor: help; color: var(--ink); font-weight: 800; outline: none; background: linear-gradient(160deg, #fbe38a 0%, #e0aa17 55%, #bb880a 100%);
    box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 3px 0 #976900, 0 4px 0 #8c6000, 0 14px 14px -6px rgba(140, 92, 0, .85), inset 0 2px 2px rgba(255, 255, 255, .7), inset 0 -3px 5px rgba(120, 80, 0, .28);
    translate: 0 -2px 16px;
}
.days .ev:hover, .days .ev:focus-visible { translate: 0 -6px 34px; z-index: 3; }
.days .today { box-shadow: 0 2px 0 #eadcae, inset 0 0 0 2px var(--ink); }
.days .today.ev { box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 3px 0 #976900, 0 4px 0 #8c6000, 0 14px 14px -6px rgba(140, 92, 0, .85), inset 0 0 0 2px var(--ink); }
.days .today::before { content: ""; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: pulseDot 2s ease-out infinite; }

.days .ev::after {
    content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: 5; width: max-content; max-width: 190px; padding: 9px 13px; border-radius: 13px; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; text-align: center;
    background: var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%)); box-shadow: 0 2px 0 #000, 0 16px 24px -10px rgba(0, 0, 0, .6); opacity: 0; translate: -50% 8px; pointer-events: none; transition: opacity .35s var(--ease), translate .45s var(--ease);
}
.days .ev:hover::after, .days .ev:focus-visible::after { opacity: 1; translate: -50% 0; }
/* tooltip di kolom pinggir dirapatkan ke sisi kartu supaya tidak keluar layar */
.days > .ev:nth-child(7n)::after, .days > .ev:nth-child(7n+6)::after { left: auto; right: -6px; translate: 0 8px; }
.days > .ev:nth-child(7n):hover::after, .days > .ev:nth-child(7n+6):hover::after, .days > .ev:nth-child(7n):focus-visible::after, .days > .ev:nth-child(7n+6):focus-visible::after { translate: 0 0; }
.days > .ev:nth-child(7n+1)::after, .days > .ev:nth-child(7n+2)::after { left: -6px; translate: 0 8px; }
.days > .ev:nth-child(7n+1):hover::after, .days > .ev:nth-child(7n+2):hover::after, .days > .ev:nth-child(7n+1):focus-visible::after, .days > .ev:nth-child(7n+2):focus-visible::after { translate: 0 0; }

.month ul { flex: 1; list-style: none; margin: 0; padding: 6px 16px 20px; display: grid; gap: 9px; align-content: start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); transform-style: preserve-3d; }
.month li {
    position: relative; padding: 9px 12px 9px 38px; border-radius: 13px; border: 1px solid #f1e4ba; background: linear-gradient(180deg, #fff, #fff8e6);
    box-shadow: 0 2px 0 #ecdca6, 0 9px 10px -7px rgba(120, 86, 0, .4), inset 0 1px 0 #fff; translate: 0 0 6px;
}
.month li b { font-weight: 800; color: var(--gold-deep); }
.month li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; }
.month li.pendek::before { background: radial-gradient(circle at 32% 28%, #fff6c9 0, #f4cf5a 32%, #c28f0a 100%); box-shadow: 0 2px 4px rgba(150, 100, 0, .55); }
.month li.panjang::before { background: radial-gradient(circle at 32% 28%, #8a8372 0, #2c281f 42%, #0a0908 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, .45); }
.month li.panjang { border-left: 4px solid var(--ink); padding-left: 36px; }
.month li.panjang::before { left: 11px; }

/* ---------- STRUKTUR ORGANISASI 3D ---------- */
.org3d { position: relative; }
.org-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.org-search { position: relative; flex: 1 1 280px; max-width: 420px; }
.org-search input {
    width: 100%; padding: 14px 20px 14px 48px; border: 1px solid #f0e2b4; border-radius: 999px; outline: none; font-size: 14px; color: var(--ink);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97c0a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px center / 18px;
    box-shadow: 0 3px 0 #ead9a2, 0 14px 20px -12px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; transition: border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.org-search input:focus { border-color: var(--gold); box-shadow: 0 3px 0 #e2cf94, 0 0 0 5px rgba(214, 163, 25, .16), inset 0 1px 0 #fff; }
.org-btn {
    border: 0; border-radius: 999px; padding: 14px 22px; font-size: 13.5px; font-weight: 800; color: #fff; cursor: pointer; background: var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%));
    box-shadow: 0 1px 0 #000, 0 2px 0 #000, 0 3px 0 #000, 0 14px 20px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .16); transition: translate .4s var(--spring), box-shadow .3s var(--ease);
}
.org-btn:hover { translate: 0 -2px; }
.org-btn:active { translate: 0 3px; box-shadow: 0 0 0 #000, 0 6px 10px -6px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .16); }
.org-count { min-height: 22px; margin-bottom: 4px; text-align: center; font-size: 13px; font-weight: 700; color: var(--gold-deep); }

.org-path { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-bottom: 4px; font-size: 13.5px; font-weight: 700; color: var(--gold-deep); text-align: center; }
.org-path .pc { padding: 7px 14px; border-radius: 999px; color: var(--ink); background: linear-gradient(180deg, #fff, #fff1c4); border: 1px solid rgba(214, 163, 25, .45); box-shadow: 0 2px 0 #e2cf94, 0 8px 12px -8px rgba(120, 86, 0, .5); animation: pop .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.org-path .pc:last-of-type { color: var(--ink); background: var(--grad-gold); border-color: transparent; }
.org-path .pa { color: var(--gold); font-weight: 800; }
.org-path .px { border: 0; border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 800; cursor: pointer; color: #fff; background: var(--ink); box-shadow: 0 2px 0 #000; }

.org-stage { position: relative; padding: 26px 0 70px; perspective: 1600px; perspective-origin: 50% 25%; }
.org-plane, .org-plane * { transform-style: preserve-3d; }
.org-plane {
    --prx: 0; --pry: 0;
    position: relative; display: flex; flex-direction: column; align-items: center; padding: 44px 24px 52px;
    transform: rotateX(calc(5deg + var(--prx) * 1deg)) rotateY(calc(var(--pry) * 1deg)); transform-origin: 50% 30%; transition: transform .6s var(--ease);
}
.org-plane::before {
    content: ""; position: absolute; inset: 0; border-radius: 40px; pointer-events: none; transform: translateZ(-44px);
    background: radial-gradient(700px 320px at 50% 0%, rgba(255, 255, 255, .95), transparent 72%), repeating-linear-gradient(0deg, transparent 0 31px, rgba(214, 163, 25, .11) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(214, 163, 25, .11) 31px 32px), linear-gradient(180deg, #fffaf0, #ffefc2);
    border: 1px solid #f0e2b4;
    box-shadow: 0 1px 0 #efdfae, 0 2px 0 #ebd9a2, 0 3px 0 #e6d197, 0 4px 0 #e0c88b, 0 5px 0 #dabf7f, 0 6px 0 #d4b673, 0 8px 0 #cdab66, 0 10px 0 #c59f58, 0 46px 60px -22px rgba(120, 86, 0, .55);
}

/* kotak jabatan: tombol ekstrusi */
.n {
    position: relative; display: grid; place-items: center; min-width: 150px; padding: 13px 22px; border: 1px solid #f1e3b6; border-radius: 18px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); cursor: pointer;
    background: linear-gradient(180deg, #fff 0%, #fff6df 100%);
    box-shadow: 0 1px 0 #efe0b0, 0 2px 0 #e9d8a2, 0 3px 0 #e3d094, 0 4px 0 #ddc886, 0 5px 0 #d6bf78, 0 16px 22px -10px rgba(120, 86, 0, .5), inset 0 1px 0 #fff;
    translate: 0 0 22px; transition: translate .5s var(--spring), box-shadow .4s var(--ease), opacity .4s var(--ease), background .4s var(--ease), color .3s;
}
.n:hover, .n:focus-visible { translate: 0 -4px 36px; outline: none; }
.n:active { translate: 0 2px 14px; }
.n:focus-visible { outline: 3px solid rgba(214, 163, 25, .55); outline-offset: 3px; }
.n.dark {
    color: #fff; border-color: #000; background: linear-gradient(180deg, #3a3529 0%, #1b1812 55%, #0f0d0a 100%); translate: 0 0 34px;
    box-shadow: 0 1px 0 #000, 0 2px 0 #0d0b08, 0 3px 0 #090806, 0 4px 0 #050403, 0 5px 0 #000, 0 20px 28px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(244, 207, 90, .18);
}
.n.dark:hover, .n.dark:focus-visible { translate: 0 -4px 48px; }
.n.dark:active { translate: 0 2px 26px; }
.n.side { min-width: 132px; border: 1.5px dashed rgba(214, 163, 25, .7); background: rgba(255, 255, 255, .78); translate: 0 0 12px; box-shadow: 0 1px 0 #efe0b0, 0 2px 0 #e9d8a2, 0 3px 0 #e3d094, 0 12px 16px -10px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; }
.n.side:hover, .n.side:focus-visible { translate: 0 -4px 26px; }
.n.xs { min-width: 0; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; box-shadow: 0 1px 0 #efe0b0, 0 2px 0 #e9d8a2, 0 3px 0 #e3d094, 0 8px 10px -6px rgba(120, 86, 0, .4), inset 0 1px 0 #fff; }
/* terpilih / jalur komando / hasil cari */
.n.on-path { border-color: rgba(214, 163, 25, .9); background: linear-gradient(180deg, #fffaf0, #ffe99a); outline: 3px solid rgba(244, 207, 90, .6); outline-offset: 3px; }
.n.dark.on-path { color: #fff; background: linear-gradient(180deg, #4a4333, #1b1812 60%, #0f0d0a); border-color: var(--gold); }
.n.sel {
    color: var(--ink); border-color: transparent; background: var(--grad-gold);
    box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 3px 0 #976900, 0 4px 0 #8c6000, 0 18px 26px -10px rgba(140, 92, 0, .85), inset 0 2px 2px rgba(255, 255, 255, .7), inset 0 -3px 5px rgba(120, 80, 0, .28);
}
.n.hit { outline: 3px solid var(--gold); outline-offset: 3px; animation: hitPulse 1.6s ease-in-out infinite; }
@keyframes hitPulse { 50% { outline-offset: 6px; outline-color: rgba(214, 163, 25, .45); } }
.org-plane.has-path .n:not(.on-path):not(.sel), .org-plane.has-q .n:not(.hit) { opacity: .38; }
.org-plane.has-path .seksi:not(.has-path) { opacity: .55; }

/* garis jalur komando */
.org-line { position: relative; flex: none; width: 4px; height: 34px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--gold) 0 7px, transparent 7px 12px); translate: 0 0 10px; transition: box-shadow .5s var(--ease); }
.org-line.lit { background: linear-gradient(180deg, #ffe98a, #d6a319); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 16px 2px rgba(244, 207, 90, .9); }
.org-label { padding: 6px 20px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); background: linear-gradient(180deg, #fff, #fff3cc); border: 1px solid rgba(214, 163, 25, .4); box-shadow: 0 2px 0 #e6d197, 0 10px 14px -8px rgba(120, 86, 0, .5); translate: 0 0 18px; }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.org-core { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; width: 100%; max-width: 860px; }
.org-side { display: flex; flex-direction: column; gap: 12px; }
.org-side.l { align-items: flex-end; } .org-side.r { align-items: flex-start; }
.org-mid { display: flex; flex-direction: column; align-items: center; }
.org-core .org-line { height: 28px; }

/* seksi bidang: kartu lipat */
.org-seksi-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 16px; width: 100%; max-width: 1000px; }
.seksi {
    border-radius: 20px; border: 1px solid #f1e3b6; background: linear-gradient(180deg, #fff, #fff8e8); translate: 0 0 16px; transition: opacity .4s var(--ease);
    box-shadow: 0 1px 0 #efe0b0, 0 2px 0 #e9d8a2, 0 3px 0 #e3d094, 0 4px 0 #ddc886, 0 16px 22px -10px rgba(120, 86, 0, .45), inset 0 1px 0 #fff;
}
.seksi.has-path { outline: 3px solid rgba(244, 207, 90, .6); outline-offset: 3px; }
.seksi-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 13px 14px 13px 16px; border: 0; border-radius: 19px; font-size: 13.5px; font-weight: 800; color: #fff; text-align: left; cursor: pointer; background: var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -3px 0 rgba(214, 163, 25, .85); transition: border-radius .4s var(--ease); }
.seksi.open .seksi-head { border-radius: 19px 19px 0 0; }
.seksi-head small { margin-left: auto; font-size: 11px; font-weight: 600; opacity: .65; }
.seksi-head i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-gold); transition: rotate .5s var(--spring); }
.seksi-head i svg { width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.seksi.open .seksi-head i { rotate: 180deg; }
.seksi-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.seksi.open .seksi-body { grid-template-rows: 1fr; }
.seksi-body > div { min-height: 0; overflow: hidden; }
.seksi-list { display: flex; flex-direction: column; gap: 9px; padding: 14px 12px 16px; }
.seksi-list .n { width: 100%; }

/* ---------- ETIKA CHAT: HP INTERAKTIF ---------- */
.case-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 4px 2px 28px; }
.tab { position: relative; overflow: hidden; flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 11px 20px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--sh-1), var(--bevel); transition: background .5s var(--ease), color .4s var(--ease), border-color .4s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease); }
.tab:hover { border-color: var(--gold); translate: 0 -3px; }
.tab:active { scale: .96; }
.tab.on.bad { background: linear-gradient(160deg, #cf3a31, #a8211a); border-color: transparent; color: #fff; box-shadow: 0 14px 22px -10px rgba(179, 38, 30, .7); }
.tab.on.ok { background: linear-gradient(160deg, #27a152, #17702f); border-color: transparent; color: #fff; box-shadow: 0 14px 22px -10px rgba(30, 122, 60, .7); }
.chat-layout { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; justify-content: center; }
.phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-wrap::before { content: ""; position: absolute; width: 340px; height: 340px; top: 150px; border-radius: 50%; background: #25d366; filter: blur(90px); opacity: .3; animation: glow 6s ease-in-out infinite alternate; transition: background .8s var(--ease); }
.phone-wrap.bad::before { background: #ff6b6b; }
.phone-wrap > * { position: relative; }
@keyframes glow { to { transform: scale(1.25); opacity: .42; } }
.phone-tilt { --rx: 0deg; --ry: 0deg; transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }
.phone {
    position: relative; width: 340px; height: 640px; display: flex; flex-direction: column; background: #fff; border: 7px solid #151515; border-radius: 46px; overflow: hidden;
    box-shadow: 0 0 0 2px #3a372f, 0 50px 80px -28px rgba(0, 0, 0, .5), 0 20px 30px -16px rgba(0, 0, 0, .3); animation: phoneFloat 7s ease-in-out infinite;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@keyframes phoneFloat { 50% { translate: 0 -10px; } }
.phone button, .phone input { font-family: inherit; }
.wa-status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 4px; font-size: 12px; font-weight: bold; background: #fff; }
.wa-status::after { content: ""; position: absolute; left: 50%; top: 7px; width: 80px; height: 18px; border-radius: 12px; background: #151515; transform: translateX(-50%); }
.sys { display: flex; gap: 5px; align-items: center; }
.wa-status .ic { width: 16px; height: 16px; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; background: #fff; border-bottom: 1px solid #eef0f2; }
.wa-ava { position: relative; flex: none; }
.wa-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: bold; font-size: 14px; background: linear-gradient(135deg, #25d366, #128c7e) center/cover; }
.online { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }
.wa-who { flex: 1; min-width: 0; }
.wa-who b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-who small { display: block; font-size: 11px; color: #25a05a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-actions { display: flex; gap: 14px; color: #2b2f33; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.f { fill: currentColor; stroke: none; }
.wa-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; background: radial-gradient(circle at 1px 1px, #dfe4e8 1px, transparent 0) 0 0/18px 18px, #f6f7f9; scrollbar-width: none; }
.wa-body::-webkit-scrollbar { display: none; }
.wa-chip { align-self: center; background: #fff; color: #6b7580; font-size: 11px; padding: 4px 12px; border-radius: 999px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.row { display: flex; flex-direction: column; animation: bubbleIn .7s var(--ease) both; }
.row.in { align-items: flex-start; } .row.out { align-items: flex-end; }
@keyframes bubbleIn { from { opacity: 0; translate: 0 14px; scale: .94; } }
.msg { position: relative; max-width: 86%; padding: 8px 11px 6px; border-radius: 16px 16px 16px 4px; font-size: 13px; line-height: 1.45; color: #111; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .07); word-wrap: break-word; transition: transform .4s var(--ease); }
.msg.out { background: #d9fdd3; border-radius: 16px 16px 4px 16px; }
.msg.has-react { margin-bottom: 12px; }
.msg.flag { cursor: pointer; } .msg.flag:active { transform: scale(.97); }
.msg.flag::after { content: ""; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; animation: ping 2.2s infinite; }
.msg.bad::after { background: #e5484d; --c: 229, 72, 77; } .msg.ok::after { background: #25d366; --c: 37, 211, 102; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--c), .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(var(--c), 0); } }
.who { display: block; font-size: 12px; margin-bottom: 2px; }
.msg small { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10px; color: #7a858f; margin-top: 3px; }
.msg small .ic { width: 14px; height: 14px; stroke-width: 2; } .msg small .read { color: #34b7f1; }
.note { max-width: 86%; overflow: hidden; max-height: 0; opacity: 0; padding: 0 10px; border-radius: 10px; font-size: 11px; line-height: 1.4; transition: max-height .6s var(--ease), opacity .5s var(--ease), padding .6s var(--ease), margin .6s var(--ease); }
.note.show { max-height: 90px; opacity: 1; padding: 6px 10px; margin-top: 5px; }
.note.bad { background: #ffe5e3; color: #b3261e; } .note.ok { background: #dcf8e4; color: #1e7a3c; }
.react { position: absolute; bottom: -13px; right: 10px; background: #fff; border-radius: 999px; padding: 1px 6px; font-size: 13px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); animation: bubbleIn .6s .3s var(--ease) both; }
.typing { display: flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa4ad; animation: bounce 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 40% { transform: translateY(-5px); } }
.link-card { position: relative; overflow: hidden; display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(0, 0, 0, .06); text-decoration: none; color: #111; transition: transform .4s var(--ease); }
.link-card:hover { transform: translateY(-2px); } .link-card:active { transform: scale(.97); }
.link-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .9) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.4s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.lc-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #25d366; color: #fff; display: grid; place-items: center; }
.link-card b { display: block; font-size: 13px; } .link-card em { display: block; font-style: normal; font-size: 11px; color: #5b6670; }
.to-bottom { position: absolute; right: 14px; bottom: 96px; z-index: 3; width: 36px; height: 36px; border: none; border-radius: 50%; background: #fff; color: #2b2f33; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: scale(.7); transition: opacity .4s var(--ease), transform .5s var(--spring); }
.to-bottom.show { opacity: 1; pointer-events: auto; transform: none; }
.wa-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 4px; background: #fff; }
.wa-field { flex: 1; display: flex; align-items: center; gap: 10px; background: #f0f2f5; border-radius: 999px; padding: 10px 14px; color: #8a929b; font-size: 13px; }
.wa-field span { flex: 1; }
.wa-mic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 14px -4px rgba(37, 211, 102, .7); }
.home { background: #fff; padding: 6px 0 8px; } .home i { display: block; width: 110px; height: 5px; border-radius: 3px; background: #151515; margin: 0 auto; }
.replay { position: relative; overflow: hidden; border: none; background: var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%)); color: #fff; border-radius: 999px; padding: 12px 24px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; gap: 8px; align-items: center; box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .16); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.replay:hover { translate: 0 -3px; } .replay:active { scale: .95; }
.replay .ic { width: 16px; height: 16px; transition: rotate .8s var(--ease); } .replay:hover .ic { rotate: -360deg; }
.hint { font-size: 13px; color: #6b7580; text-align: center; max-width: 320px; margin: 0; }
.case-info { max-width: 460px; }
.case-info h3 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin: 16px 0 10px; }
.case-info p { color: var(--mute); line-height: 1.75; }
.case-info > div > * { animation: swap .8s var(--ease) backwards; }
.case-info > div > :nth-child(2) { animation-delay: .06s; } .case-info > div > :nth-child(3) { animation-delay: .12s; } .case-info > div > :nth-child(4) { animation-delay: .18s; }
.badge { display: inline-block; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .5px; }
.badge.bad { background: #ffe5e3; color: #b3261e; } .badge.ok { background: #dcf8e4; color: #1e7a3c; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 13px; border-radius: 999px; transition: translate .5s var(--ease); }
.chips li:hover { translate: 0 -3px; }
.chips.bad li { background: #ffe5e3; color: #b3261e; } .chips.ok li { background: #dcf8e4; color: #1e7a3c; }
.chips.bad li::before { content: "✗ "; } .chips.ok li::before { content: "✓ "; }

/* ---------- PANDUAN ETIKA CHAT: TEMPLATE ---------- */
.tpl { position: relative; overflow: hidden; padding: 24px 110px 24px 26px; border-radius: 24px; line-height: 1.8; color: #fff7dc; background: radial-gradient(320px 160px at 100% 0%, rgba(244, 207, 90, .3), transparent 70%), var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%)); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .14); }
.rule-box .tpl p, .tpl p { margin: 0; color: #fff7dc; font-size: 15px; }
.tpl mark { padding: 1px 9px; border-radius: 8px; font-weight: 700; color: var(--ink); background: var(--grad-gold); }
.copy { position: absolute; top: 16px; right: 16px; overflow: hidden; border: none; border-radius: 999px; padding: 9px 18px; background: var(--grad-gold); color: var(--ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: var(--gold-glow); transition: scale .4s var(--spring), background .4s var(--ease), color .3s; }
.copy:hover { scale: 1.06; } .copy:active { scale: .94; }
.copy.done { background: #fff; color: #1e7a3c; }

@media (max-width: 960px) {
    .cal-grid { grid-template-columns: 1fr 1fr; }
    .chat-layout { grid-template-columns: 1fr; justify-items: center; gap: 34px; }
    .case-info { text-align: center; }
    .chips { justify-content: center; }
}
@media (max-width: 820px) { .org-seksi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
    .org-plane { padding: 30px 12px 40px; transform: rotateX(calc(2deg + var(--prx) * 1deg)) rotateY(calc(var(--pry) * 1deg)); }
    .org-plane::before { border-radius: 28px; }
    .org-core { grid-template-columns: 1fr; gap: 16px; }
    .org-core .org-mid { order: -1; }
    .org-side { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .org-side.l, .org-side.r { align-items: center; }
    .org-row .n { min-width: 0; flex: 1 1 130px; }
}
@media (max-width: 600px) { .cal-grid { grid-template-columns: 1fr; } .tpl { padding: 22px 20px 70px; } }
@media (max-width: 440px) { .org-seksi-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .phone { width: 100%; height: min(640px, 80vh); } }
@media (prefers-reduced-motion: reduce) { .phone, .phone-wrap::before, .row, .link-card::after, .typing i, .msg.flag::after, .days .today::before, .n.hit { animation: none !important; } .org-plane { transition: none; } }

/* =====================================================
   POLISH v2 — kalender & struktur organisasi
   (menimpa aturan di atas: lebih halus, bayangan lebih tipis)
   ===================================================== */
/* ---------- kalender ---------- */
.cal-next { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: hidden; margin-bottom: 22px; padding: 26px 34px; border-radius: 30px; color: #fff;
    background: radial-gradient(420px 220px at 100% 0%, rgba(244, 207, 90, .5), transparent 70%), radial-gradient(300px 200px at 0% 100%, rgba(214, 163, 25, .2), transparent 70%), var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%));
    box-shadow: 0 1px 0 #000, 0 2px 0 #0d0b08, 0 3px 0 #000, 0 26px 40px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .16); }
.cal-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .07) 50%, transparent 60%); background-size: 250% 100%; animation: shimmer 7s linear infinite; pointer-events: none; }
.nx-l small { font-size: 11.5px; font-weight: 800; letter-spacing: .18em; color: var(--gold-hi); }
.nx-l h2 { margin: 6px 0 4px; font-size: clamp(21px, 3vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.nx-l p { color: #e9dcae; font-size: 14.5px; font-weight: 600; }
.nx-r { flex: none; display: grid; place-items: center; align-content: center; min-width: 118px; height: 118px; padding: 0 14px; border-radius: 30px; color: var(--ink); background: var(--grad-gold); box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 3px 0 #8c6000, 0 18px 24px -10px rgba(214, 163, 25, .8), inset 0 2px 2px rgba(255, 255, 255, .7), inset 0 -4px 6px rgba(120, 80, 0, .25); }
.nx-r b { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.nx-r span { font-size: 12.5px; font-weight: 800; }
.cal-year { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-bottom: 22px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .7); border: 1px solid #f0e2b4; box-shadow: inset 0 1px 0 #fff, 0 12px 18px -14px rgba(120, 86, 0, .4); }
.cal-year a { position: relative; display: grid; place-items: center; padding: 9px 0; border-radius: 14px; font-size: 12px; font-weight: 800; text-decoration: none; color: var(--mute); transition: background .4s var(--ease), color .3s, translate .4s var(--spring); }
.cal-year a i { font-style: normal; }
.cal-year a:hover { translate: 0 -2px; background: var(--gold-soft); color: var(--ink); }
.cal-year a.has::after { content: ""; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal-year a.past { color: #b9b19c; } .cal-year a.past.has::after { background: #cfc5a6; }
.cal-year a.now { color: var(--ink); background: var(--grad-gold); box-shadow: 0 2px 0 #8c6000, 0 8px 12px -6px rgba(140, 92, 0, .7); }
.cal-year a.now.has::after { background: var(--ink); }

.legend { margin-bottom: 26px; }
.sem { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 6px 0 -8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.sem::before, .sem::after { content: ""; height: 2px; border-radius: 2px; flex: 1; background: linear-gradient(90deg, transparent, rgba(214, 163, 25, .55)); }
.sem::after { background: linear-gradient(270deg, transparent, rgba(214, 163, 25, .55)); }
.sem span { padding: 7px 18px; border-radius: 999px; background: #fff; border: 1px solid #f0e2b4; box-shadow: 0 2px 0 #ead9a2; }
.cal-grid { gap: 40px 28px; }

.month { border-radius: 28px; border-color: #f2e6c0; scroll-margin-top: 120px;
    background: radial-gradient(380px 200px at 100% 100%, rgba(244, 207, 90, .13), transparent 70%), linear-gradient(175deg, #fff 0%, #fffbf2 100%);
    box-shadow: 0 1px 0 #f1e3b8, 0 2px 0 #ecdcaa, 0 3px 0 #e6d398, 0 20px 30px -16px rgba(120, 86, 0, .38), 0 46px 60px -36px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; }
.month:hover { box-shadow: 0 1px 0 #f1e3b8, 0 2px 0 #ecdcaa, 0 3px 0 #e6d398, 0 28px 38px -16px rgba(120, 86, 0, .45), 0 60px 80px -36px rgba(120, 86, 0, .55), inset 0 1px 0 #fff; }
.month.past { filter: saturate(.7); } .month.past h3 { background: radial-gradient(240px 100px at 100% 0%, rgba(244, 207, 90, .22), transparent 75%), linear-gradient(160deg, #4a453a, #2a261f); }
.month.now { box-shadow: 0 1px 0 #f1e3b8, 0 2px 0 #ecdcaa, 0 3px 0 #e6d398, 0 0 0 3px rgba(244, 207, 90, .65), 0 0 38px 2px rgba(244, 207, 90, .45), 0 46px 60px -36px rgba(120, 86, 0, .5); }
.month.now h3 small { color: var(--ink); background: var(--grad-gold); border-color: transparent; }
.month h3 { overflow: hidden; border-radius: 27px 27px 0 0; font-size: 18px; }
.month h3 span { margin-left: 6px; font-weight: 600; opacity: .6; }
.month h3::before { content: attr(data-n); }
.month h3::before { content: none; }
.month::before { content: attr(data-n); position: absolute; right: 18px; bottom: 6px; z-index: 0; font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(214, 163, 25, .16); pointer-events: none; }
.days { position: relative; z-index: 1; gap: 5px; }
.days span { background: #fff; box-shadow: 0 1px 0 #efe4c4, 0 4px 6px -4px rgba(120, 86, 0, .3), inset 0 1px 0 #fff; border-radius: 12px; }
.days span:empty { background: none; box-shadow: none; }
.days .ev { box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 3px 0 #976900, 0 12px 12px -6px rgba(140, 92, 0, .8), inset 0 2px 2px rgba(255, 255, 255, .7), inset 0 -3px 5px rgba(120, 80, 0, .25); }
.days .ev.done { color: #6d5a1f; background: linear-gradient(160deg, #f0dfa6, #cfae52); box-shadow: 0 1px 0 #a89050, 0 2px 0 #9c8445, 0 8px 10px -6px rgba(120, 86, 0, .5), inset 0 2px 2px rgba(255, 255, 255, .55); }
.days .today { box-shadow: 0 1px 0 #efe4c4, 0 0 0 2px var(--ink), 0 0 18px rgba(18, 17, 16, .25); }
.days .today.ev { box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 0 0 2px var(--ink), 0 12px 12px -6px rgba(140, 92, 0, .8); }
.month ul { position: relative; z-index: 1; padding-bottom: 22px; }
.month li { border-radius: 14px; box-shadow: 0 1px 0 #ecdca6, 0 8px 10px -8px rgba(120, 86, 0, .35), inset 0 1px 0 #fff; }
.month li.done { opacity: .62; } .month li.done b { color: var(--mute); }
@media (max-width: 720px) { .cal-next { flex-direction: column; align-items: flex-start; padding: 24px 22px; } .nx-r { height: 90px; min-width: 96px; border-radius: 24px; } .nx-r b { font-size: 36px; } .cal-year { grid-template-columns: repeat(6, 1fr); } }

/* ---------- struktur organisasi ---------- */
.org-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 2px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--mute); }
.org-legend span { display: inline-flex; align-items: center; gap: 8px; }
.org-legend .k { width: 22px; height: 14px; border-radius: 6px; background: linear-gradient(180deg, #fff, #fff1cc); border: 1px solid #e7d59a; box-shadow: 0 2px 0 #e3d094; }
.org-legend .k.dark { background: var(--grad-ink, linear-gradient(160deg, #2c281f 0%, #15130f 55%, #0a0908 100%)); border-color: #000; box-shadow: 0 2px 0 #000; }
.org-legend .k.side { background: rgba(255, 255, 255, .7); border: 1.5px dashed rgba(214, 163, 25, .8); box-shadow: none; }
.org-plane::before { border-radius: 44px; border-color: #f2e6c0;
    background: radial-gradient(760px 340px at 50% 0%, rgba(255, 255, 255, .98), transparent 72%), radial-gradient(600px 300px at 50% 100%, rgba(244, 207, 90, .28), transparent 72%),
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(214, 163, 25, .07) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(214, 163, 25, .07) 39px 40px), linear-gradient(180deg, #fffcf4, #fff3d3);
    box-shadow: 0 1px 0 #f1e3b8, 0 2px 0 #ecdcaa, 0 3px 0 #e6d398, 0 4px 0 #dfc889, 0 6px 0 #d8bd78, 0 50px 70px -26px rgba(120, 86, 0, .5), inset 0 2px 30px rgba(255, 255, 255, .8); }
.n { border-radius: 19px; letter-spacing: -.005em; box-shadow: 0 1px 0 #f0e2b2, 0 2px 0 #e9d9a4, 0 3px 0 #e2d096, 0 14px 20px -10px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; overflow: hidden; }
.n::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 48%); }
.n.dark { box-shadow: 0 1px 0 #000, 0 2px 0 #0d0b08, 0 3px 0 #000, 0 18px 26px -10px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(244, 207, 90, .2); }
.n.dark::before { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 50%); }
.n.side { box-shadow: 0 1px 0 #f0e2b2, 0 2px 0 #e9d9a4, 0 10px 14px -10px rgba(120, 86, 0, .4), inset 0 1px 0 #fff; }
.n.xs { overflow: visible; box-shadow: 0 1px 0 #f0e2b2, 0 2px 0 #e9d9a4, 0 6px 8px -6px rgba(120, 86, 0, .4), inset 0 1px 0 #fff; }
.n.sel { box-shadow: 0 1px 0 #a87806, 0 2px 0 #a07000, 0 3px 0 #976900, 0 16px 24px -10px rgba(140, 92, 0, .8), inset 0 2px 2px rgba(255, 255, 255, .7); }
.n { animation: orgIn .8s var(--ease) backwards; animation-delay: calc(var(--k, 0) * 28ms + .15s); }
@keyframes orgIn { from { opacity: 0; scale: .88; } }
.org-line { width: 4px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--gold) 0 7px, transparent 7px 12px); background-size: 4px 12px; animation: lineFlow 1.1s linear infinite; }
.org-line.lit { animation: none; }
@keyframes lineFlow { to { background-position: 0 12px; } }
.org-label { position: relative; padding: 7px 22px; font-size: 12px; background: linear-gradient(180deg, #fff, #fff1c7); box-shadow: 0 2px 0 #e6d197, 0 10px 14px -8px rgba(120, 86, 0, .45), inset 0 1px 0 #fff; }
.org-label::before, .org-label::after { content: ""; position: absolute; top: 50%; width: min(150px, 18vw); height: 2px; border-radius: 2px; background: linear-gradient(270deg, rgba(214, 163, 25, .6), transparent); right: calc(100% + 12px); }
.org-label::after { right: auto; left: calc(100% + 12px); background: linear-gradient(90deg, rgba(214, 163, 25, .6), transparent); }
.seksi { border-radius: 22px; box-shadow: 0 1px 0 #f0e2b2, 0 2px 0 #e9d9a4, 0 3px 0 #e2d096, 0 14px 20px -10px rgba(120, 86, 0, .4), inset 0 1px 0 #fff; }
.seksi-head { border-radius: 21px; padding: 14px 14px 14px 18px; }
.seksi.open .seksi-head { border-radius: 21px 21px 0 0; }
.org-path .pc { box-shadow: 0 2px 0 #e2cf94, 0 10px 14px -10px rgba(120, 86, 0, .5); }
@media (prefers-reduced-motion: reduce) { .org-line, .n, .cal-next::after { animation: none !important; } }
