/* Tua Tua Keledai – Ruang Penulis. Styles scoped to portal only. */
.ttkw-app{--ttk-lime:#c9ed36;--ttk-ink:#171717;--ttk-line:#e4e5e1;--ttk-muted:#63666b;color:var(--ttk-ink);max-width:1160px;margin:20px auto 90px;font-family:inherit}
.ttkw-app *{box-sizing:border-box}
.ttkw-app h2,.ttkw-app h3,.ttkw-app p{margin:0}
.ttkw-app h2{font-size:clamp(30px,4vw,50px);font-weight:850;letter-spacing:-.045em;line-height:1.13;margin:8px 0 13px}
.ttkw-app h3{font-size:20px;font-weight:750;letter-spacing:-.02em}
.ttkw-app a{color:inherit;text-decoration:none}
.ttkw-head{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:8px 0 30px;border-bottom:1px solid var(--ttk-line)}
.ttkw-head p:not(.ttkw-kicker){font-size:15px;line-height:1.65;color:var(--ttk-muted)}
.ttkw-app .ttkw-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;color:#567000}
.ttkw-logout{border:1px solid var(--ttk-line);padding:10px 16px;border-radius:8px;font-size:13px;font-weight:700;white-space:nowrap}
.ttkw-layout{display:grid;grid-template-columns:minmax(200px,265px) minmax(0,1fr);gap:34px;padding-top:30px}
.ttkw-side{border:1px solid var(--ttk-line);border-radius:12px;padding:20px;align-self:start}
.ttkw-side-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.ttkw-side-heading h3{font-size:17px}
.ttkw-side-heading>a{font-size:13px;font-weight:800;color:#567000}
.ttkw-post-item{display:block!important;padding:14px 12px;border-radius:8px;border-top:1px solid var(--ttk-line)}
.ttkw-post-item:first-of-type{border-top:0}
.ttkw-post-item:hover,.ttkw-post-item.is-current{background:#f3f4ef}
.ttkw-post-item span{font-size:14px;font-weight:700;line-height:1.4;display:block}
.ttkw-post-item small{display:block;color:var(--ttk-muted);font-size:12px;margin-top:6px}
.ttkw-muted{font-size:13px;color:var(--ttk-muted);line-height:1.6}
.ttkw-main{min-width:0}
.ttkw-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.ttkw-section-head h3{font-size:22px}
.ttkw-draft-label{font-size:12px;color:var(--ttk-muted)}
.ttkw-field{margin-bottom:24px}
.ttkw-field>label{display:block;font-size:14px;font-weight:750;margin-bottom:10px;color:#161616}
.ttkw-field>label span:not(.ttkw-optional){color:#69830e}
.ttkw-optional{font-size:12px;font-weight:400;color:var(--ttk-muted)}
.ttkw-app input[type=text],.ttkw-app select,.ttkw-app input[type=password]{appearance:auto;border:1px solid #d8dad5;border-radius:9px;background:#fff;color:#171717;width:100%;min-height:50px;padding:12px 14px;font-family:inherit;font-size:15px;box-shadow:none}
.ttkw-app select{cursor:pointer}
.ttkw-app input:focus-visible,.ttkw-app select:focus-visible,.ttkw-app button:focus-visible,.ttkw-app a:focus-visible{outline:2px solid #749000;outline-offset:3px}
.ttkw-cover{aspect-ratio:16/9;width:100%;border:1px dashed #c8cbc5;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#f6f7f3;overflow:hidden;color:var(--ttk-muted);font-size:14px}
.ttkw-cover>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ttkw-upload-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:12px}
.ttkw-upload-row small,.ttkw-helper{color:var(--ttk-muted);font-size:12px;line-height:1.65}
.ttkw-upload-row small{flex:1;min-width:190px}
.ttkw-app button{font-family:inherit;cursor:pointer;box-shadow:none;transition:background-color .15s,border-color .15s}
.ttkw-app button:disabled{opacity:.62;cursor:not-allowed}
.ttkw-light-btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 18px;border:1px solid #d7dbd3!important;background:#fff!important;border-radius:8px;color:#171717!important;font-size:13px!important;font-weight:750}
.ttkw-light-btn:hover{background:#f4f5f1!important}
.ttkw-primary-btn{min-height:43px;padding:11px 22px;border:1px solid #c9ed36!important;border-radius:8px;color:#161616!important;background:#c9ed36!important;font-weight:800;font-size:13px!important}
.ttkw-primary-btn:hover{background:#b6da24!important}
.ttkw-toolbar{border:1px solid #d8dad5;border-bottom:0;border-radius:10px 10px 0 0;background:#f8f9f6;padding:8px;display:flex;flex-wrap:wrap;gap:5px}
.ttkw-toolbar button{border:1px solid transparent;border-radius:6px;min-height:34px;padding:5px 12px;color:#171717;background:transparent;font-size:13px;font-weight:750}
.ttkw-toolbar button:hover{background:#e8eae2;border-color:#d6d7ce}
.ttkw-editor{background:#fff;min-height:330px;border:1px solid #d8dad5;border-radius:0 0 10px 10px;padding:20px;outline:none;color:#303030;font-size:16px;line-height:1.85;overflow-wrap:break-word;text-align:left!important}
.ttkw-editor:focus{border-color:#718f00;box-shadow:0 0 0 1px #718f00}
.ttkw-editor:empty:before{content:attr(data-placeholder);color:#92958d;pointer-events:none}
.ttkw-editor p,.ttkw-editor div{margin:0 0 16px}
.ttkw-editor img,.ttkw-preview-text img{display:block;max-width:100%;height:auto;border-radius:6px}
.ttkw-editor figure,.ttkw-preview-text figure{max-width:100%;margin:18px 0}
.ttkw-editor h2,.ttkw-preview-text h2{font-size:24px;line-height:1.3;margin:22px 0 12px}
.ttkw-editor a,.ttkw-preview-text a{color:#577000;text-decoration:underline}
.ttkw-status{min-height:24px;margin:6px 0 12px;font-weight:650;font-size:13px;line-height:1.55}
.ttkw-status.is-error{color:#ae3232}.ttkw-status.is-success{color:#4b650a}
.ttkw-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.ttkw-app .ttkw-error{font-size:12px;color:#a63030;margin-top:8px}
.ttkw-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ttkw-modal[hidden]{display:none!important}
.ttkw-modal{position:fixed;z-index:999999;inset:0;background:rgba(14,14,14,.78);padding:30px 16px;overflow-y:auto;display:flex;justify-content:center;align-items:flex-start}
.ttkw-modal-card{width:min(100%,790px);max-height:none;background:white;border-radius:14px;padding:28px;box-shadow:0 8px 45px #0004}
.ttkw-modal-close{float:right;padding:8px 12px;border-radius:6px;background:#f3f3f3;color:#171717;border:1px solid #ddd;font-size:13px}
.ttkw-modal-card>h2{margin:18px 0 24px}
.ttkw-preview-cover{width:100%;margin-bottom:22px;overflow:hidden;border-radius:8px}
.ttkw-preview-cover img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}
.ttkw-preview-text{font-size:16px;line-height:1.85;color:#363636;overflow-wrap:break-word}
.ttkw-login{max-width:480px;margin:70px auto;background:#fff;border:1px solid var(--ttk-line);border-radius:12px;padding:32px}
.ttkw-login>p{color:var(--ttk-muted);font-size:14px;line-height:1.65;margin:0 0 18px}
.ttkw-login label{display:block;font-size:13px;font-weight:700;margin:12px 0 7px}
.ttkw-login .login-remember label{display:flex;gap:9px;align-items:center}
.ttkw-login input[type=submit]{padding:13px 24px;border:0;border-radius:8px;background:#c9ed36;color:#161616;font-weight:750;cursor:pointer}
@media(max-width:800px){.ttkw-app{margin:8px 0 90px;padding:0 15px}.ttkw-layout{grid-template-columns:1fr;gap:22px;padding-top:22px}.ttkw-side{padding:14px}.ttkw-side-heading h3{font-size:16px}.ttkw-head{padding-bottom:22px}.ttkw-head h2{font-size:34px}.ttkw-editor{min-height:270px;padding:14px;font-size:16px}.ttkw-actions>*{flex:1}.ttkw-actions>.ttkw-primary-btn{flex-basis:100%}.ttkw-modal-card{padding:18px}.ttkw-logout{font-size:12px}}
