/* THINKORA Buat 1.5 — Android-first application surface; not an Android APK. */
:root{--native-ink:#19382e;--native-muted:#647a6c;--native-glass:#ffffffed;--native-accent:#176b5e;--native-gold:#d4a755;--native-ease:cubic-bezier(.22,1,.36,1)}
body{overscroll-behavior-y:contain;-webkit-tap-highlight-color:transparent}
button,input,select,textarea,[role="button"]{font-family:inherit;touch-action:manipulation}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:3px solid #26857c!important;outline-offset:3px}
.premium-shell button,.premium-shell .btn{transition:transform .17s var(--native-ease),box-shadow .22s var(--native-ease),background-color .2s ease,border-color .2s ease;will-change:auto}
.premium-shell button:active,.premium-shell .btn:active{transform:translateY(1px) scale(.977)!important}
.premium-shell .card,.premium-shell .launch-panel{border-radius:18px;box-shadow:0 9px 34px #1b3c2f0a,0 2px 5px #1b3c2f08}
.premium-shell input,.premium-shell textarea,.premium-shell select{min-height:40px;font-size:14px;line-height:1.5;border-radius:11px}
.premium-shell textarea{min-height:85px}
.premium-shell .appbar{box-shadow:0 4px 25px #122d200b;backdrop-filter:blur(18px)}
.toast,.thinkora-notice{font-size:13px!important;line-height:1.6!important;border:1px solid #cde7db!important;border-radius:17px!important;box-shadow:0 14px 40px #0d35272a!important;backdrop-filter:blur(18px);animation:thinkora-pop .28s var(--native-ease) both!important;z-index:380!important}
.thinkora-notice{position:fixed;right:18px;top:80px;max-width:min(400px,calc(100vw - 36px));background:#f1fff9;color:#176348;padding:14px 19px;pointer-events:none}
.thinkora-notice.error{background:#fff2f1;color:#8d3134;border-color:#f0bfc0!important}
@keyframes thinkora-pop{from{opacity:0;transform:translateY(-9px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.thinkora-field-ai{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;margin:5px 0 6px 6px;padding:5px 11px!important;min-height:28px;max-height:34px;background:linear-gradient(145deg,#f0fff9,#e8efff)!important;color:#255a68!important;border:1px solid #d0dce5!important;border-radius:999px!important;box-shadow:0 2px 5px #1f556116!important;font-size:11px!important;font-weight:750!important;letter-spacing:.015em;vertical-align:middle;white-space:nowrap;cursor:pointer;isolation:isolate}
.thinkora-field-ai:hover{box-shadow:0 5px 15px #235b7829!important;transform:translateY(-1px)}
.thinkora-field-ai:active{transform:scale(.96)}
.thinkora-ai-tools{position:fixed;bottom:20px;right:24px;z-index:94}
.thinkora-ai-fab{border:1px solid #cbe0d4;border-radius:100px;padding:13px 18px;background:linear-gradient(135deg,#135b51,#247e6b);color:white;font-size:12px;font-weight:750;box-shadow:0 7px 20px #0c493a45,0 2px 0 #ffffff4a inset;cursor:pointer}
.thinkora-ai-fab:active{transform:translateY(2px)}
.thinkora-ai-mobile{display:none}
.thinkora-ai-shade{position:fixed;inset:0;z-index:600;background:#09291ca1;display:grid;place-items:center;padding:16px;backdrop-filter:blur(7px);animation:thinkora-fade .18s ease-out}
@keyframes thinkora-fade{from{opacity:0}to{opacity:1}}
.thinkora-ai-dialog{width:min(590px,100%);max-height:min(88dvh,900px);overflow:auto;background:#fff;border:1px solid #ecf1ed;border-radius:25px;box-shadow:0 30px 90px #061d1670;animation:thinkora-pop .32s var(--native-ease);color:#19382e}
.thinkora-ai-dialog-content{padding:27px;display:grid;gap:15px}
.thinkora-ai-head{display:flex;gap:12px;justify-content:space-between;align-items:start}.thinkora-ai-head h2{font-size:22px;letter-spacing:-.035em;margin:7px 0}.thinkora-ai-head p{font-size:13px;color:var(--native-muted);margin:0}.thinkora-ai-kicker{font-size:10px;letter-spacing:.13em;color:#2e8a72;font-weight:800}
.thinkora-ai-icon{border:0;width:40px;height:40px;border-radius:15px;background:#ecf4ef;color:#315e48;font-size:25px;cursor:pointer}
.thinkora-ai-dialog label{display:grid;gap:7px;font-size:12px;font-weight:730;color:#3e5b49}
.thinkora-ai-dialog input:not([type="checkbox"]),.thinkora-ai-dialog select,.thinkora-ai-dialog textarea{box-sizing:border-box;width:100%;padding:11px 13px;border:1px solid #cdded4;border-radius:12px;min-height:44px;font:inherit;font-size:14px;color:#19382e;background:#fcfdfc;line-height:1.55}
.thinkora-ai-dialog textarea{resize:vertical;min-height:95px}
.thinkora-ai-dialog textarea[readonly]{background:#f4f7f6}
.thinkora-ai-context{display:grid;gap:7px;background:#edf7f2;border:1px solid #d7eee2;border-radius:15px;padding:13px;font-size:12px}.thinkora-ai-context span{color:#2d624c}.thinkora-ai-context small{color:#68776d;font-size:11px}
.thinkora-ai-hint,.thinkora-ai-reason{color:#64766b;font-size:12px;line-height:1.7;margin:0}
.thinkora-ai-error{padding:13px;color:#963a36;background:#fff1f0;border-radius:12px;font-size:13px}
.thinkora-ai-loading{display:flex;align-items:center;gap:12px;padding:20px;border:1px dashed #b7d6c4;background:#f6fbf6;border-radius:15px;font-size:13px}
.thinkora-spinner{width:18px;height:18px;border:2px solid #e1f1e5;border-top-color:#398d6e;border-radius:50%;animation:thinkora-spin .9s linear infinite}@keyframes thinkora-spin{to{transform:rotate(360deg)}}
.thinkora-ai-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.thinkora-ai-actions button{border-radius:12px;padding:11px 15px;min-height:43px;font:inherit;font-size:12px;font-weight:760;cursor:pointer}
.thinkora-ai-primary{background:#176b5e;color:#fff;border:1px solid #176b5e;box-shadow:0 4px 10px #176b5e25}
.thinkora-ai-secondary{background:#e7f2ef;color:#14584d;border:1px solid #c5ded6}
.thinkora-ai-cancel{background:#fff;color:#567366;border:1px solid #d8e7de}
.thinkora-ai-actions button:disabled{opacity:.46;cursor:not-allowed}
.thinkora-ai-check{display:flex!important;align-items:center;gap:10px!important}.thinkora-ai-check input{accent-color:#1b715f;width:17px;height:17px}
@media(max-width:800px){
 html{font-size:16px}body{font-size:14px}
 .premium-shell .appbar{min-height:70px!important;padding:11px 16px!important;background:#fffdfbea}
 .premium-shell .appbar h1{font-size:16px!important;line-height:1.35;max-width:56vw}
 .premium-shell .management-breadcrumb{font-size:10px!important;letter-spacing:.03em!important}
 .premium-shell .burger{width:44px!important;height:44px!important;font-size:22px}
 .premium-shell .header-actions .icon-btn{width:39px!important;height:39px!important;font-size:17px}
 .premium-shell .scrollregion{padding:18px 15px calc(112px + env(safe-area-inset-bottom))!important;overscroll-behavior:contain}
 .premium-shell .premium-welcome .eyebrow{font-size:10px!important;letter-spacing:.09em!important}
 .premium-shell .premium-welcome h2{font-size:clamp(25px,7vw,35px)!important}
 .premium-shell .premium-welcome p,.premium-shell .premium-page-heading p,.premium-shell .choice-description p,.premium-shell .roster-build p,.premium-shell .roster-result p,.premium-shell .upload-well p{font-size:13px!important;line-height:1.7!important}
 .premium-shell .section-label h3{font-size:16px!important}
 .premium-shell .quick-orbits b,.premium-shell .mini-insights b{font-size:11px!important}
 .premium-shell .mini-insights small,.premium-shell .quick-orbits small{font-size:10px!important}
 .premium-shell .premium-page-heading h2{font-size:clamp(23px,6vw,31px)!important}
 .premium-shell .roster-stats small,.premium-shell .issue-list small{font-size:11px!important}
 .premium-shell .premium-bottom{min-height:70px;gap:2px;align-items:center;padding:7px 5px calc(10px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,#fffcf5f4,#fffffff0);border-top:1px solid #e4eee5;box-shadow:0 -9px 34px #263c2917;backdrop-filter:blur(24px);z-index:88}
 .premium-shell .premium-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px!important;line-height:1.25!important;color:#688271;min-height:52px!important;min-width:0;padding:7px 1px!important;border-radius:14px}
 .premium-shell .premium-bottom button .ico{font-size:23px!important}
 .premium-shell .premium-bottom button.on{background:#e8f2e6!important;color:#165e4d!important;box-shadow:inset 0 2px 5px #1c5a3215,0 2px 0 #fff}
 .premium-shell .card{padding:15px!important;max-width:100%;overflow-wrap:anywhere}
 .premium-shell .btn,.premium-shell .launch-selector>.btn{min-height:43px;font-size:12px!important}
 .premium-shell input,.premium-shell select,.premium-shell textarea{font-size:16px!important;min-height:44px;border-radius:11px}
 .premium-shell .grid-cards,.premium-shell .columns{grid-template-columns:minmax(0,1fr)!important}
 .premium-shell .modal{width:calc(100vw - 20px)!important;max-height:84dvh!important;padding:18px!important;border-radius:20px!important}
 .premium-shell .doc-table-wrapper,.premium-shell .matrix-wrapper{overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch}
 .premium-shell .premium-form-grid label,.premium-shell .settings-tabs button,.premium-shell .segmented-steps button{font-size:12px!important}
 .premium-shell .form-step-footer .btn{font-size:12px!important}
 .premium-shell .roster-steps b{font-size:11px!important}
 .premium-shell .quick-orbits button>span{width:44px;height:44px}
 .premium-shell .side{width:min(84vw,318px)!important;box-shadow:12px 0 48px #0b3c2b2c!important}
 .premium-shell .side .brand{padding:12px 8px!important}
 .premium-shell .navlink{font-size:13px;min-height:49px}
 .thinkora-ai-tools{display:none}.thinkora-ai-mobile{display:grid;position:fixed;right:13px;bottom:calc(89px + env(safe-area-inset-bottom));place-items:center;z-index:94;width:58px;height:58px;min-width:58px;border-radius:20px;border:1px solid #398d74;background:linear-gradient(150deg,#227667,#185146);color:#fff;font-size:14px;font-weight:900;box-shadow:0 10px 26px #123c307a, inset 0 2px 1px #ffffff59;cursor:pointer}
 .thinkora-ai-mobile:active{transform:scale(.96)}
 .thinkora-ai-shade{padding:9px;align-items:end}
 .thinkora-ai-dialog{max-height:92dvh;width:100%;border-radius:25px 25px 14px 14px}
 .thinkora-ai-dialog-content{padding:21px 16px calc(19px + env(safe-area-inset-bottom));gap:13px}
 .thinkora-ai-head h2{font-size:20px}
 .thinkora-ai-actions button{flex:1;min-width:90px}
 .thinkora-ai-field{font-size:12px}
 .thinkora-field-ai{font-size:12px!important;padding:7px 12px!important;min-height:35px;min-width:65px}
 .toast,.thinkora-notice{top:78px!important;right:12px!important;left:12px!important;max-width:none!important;font-size:13px!important}
}
@media(max-width:360px){.premium-shell .appbar h1{max-width:48vw;font-size:14px!important}.premium-shell .premium-bottom button{font-size:9px!important}.premium-shell .scrollregion{padding-left:12px!important;padding-right:12px!important}.thinkora-ai-dialog-content{padding-left:13px;padding-right:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.thinkora-ai-tools,.thinkora-ai-mobile,.thinkora-field-ai,.thinkora-ai-shade,.thinkora-notice{display:none!important}}

.thinkora-ai-context-preview{border:1px solid #dbe8df;border-radius:13px;padding:10px;background:#fafcfb}.thinkora-ai-context-preview summary{cursor:pointer;font-size:12px;font-weight:750;color:#386a56}.thinkora-ai-context-preview pre{max-height:155px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5;color:#50675a}
/* V23.4: secure API provider management inside the application's Settings modal. */
.thinkora-ai-dialog [hidden]{display:none!important}
.thinkora-ai-admin-section{display:grid;gap:13px;padding:15px;border:1px solid #c6dfd3;border-radius:15px;background:#f6fbf8}
.thinkora-ai-admin-section summary{cursor:pointer;font-size:13px;color:#195a47}
.thinkora-ai-admin-section form{display:grid;gap:12px;margin-top:12px}
.thinkora-ai-admin-section>button{justify-self:start;border-radius:10px;padding:10px 12px}
.thinkora-ai-dialog details>summary{cursor:pointer;font-size:13px;font-weight:700;color:#23644d}
.thinkora-ai-dialog details{padding:10px;border:1px solid #dcebe4;border-radius:12px}
