:root{--portal-bg:#f3f5f9;--portal-card:#fff;--portal-text:#172033;--portal-muted:#667085;--portal-primary:#b42318;--portal-border:#d0d5dd;--portal-good:#067647;--portal-warn:#b54708}*{box-sizing:border-box}body.portal-body{margin:0;background:var(--portal-bg);color:var(--portal-text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.portal-top{background:#101828;color:#fff;padding:16px 0}.portal-container{width:min(1180px,calc(100% - 32px));margin:auto}.portal-top .portal-container{display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-brand{font-weight:800;font-size:20px}.portal-nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.portal-nav a{color:#fff;text-decoration:none;opacity:.9}.portal-main{padding:28px 0 60px}.portal-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.portal-card{grid-column:span 12;background:var(--portal-card);border:1px solid var(--portal-border);border-radius:16px;padding:20px;box-shadow:0 3px 14px rgba(16,24,40,.04)}.portal-card.half{grid-column:span 6}.portal-card.third{grid-column:span 4}.portal-card h2,.portal-card h3{margin-top:0}.portal-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.portal-stat{background:#fff;border:1px solid var(--portal-border);border-radius:14px;padding:16px}.portal-stat strong{display:block;font-size:28px}.portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.portal-form label{display:flex;flex-direction:column;gap:6px;font-weight:650}.portal-form .wide{grid-column:1/-1}.portal-form input,.portal-form select,.portal-form textarea{width:100%;padding:11px 12px;border:1px solid var(--portal-border);border-radius:9px;background:#fff;font:inherit}.portal-form textarea{min-height:110px;resize:vertical}.portal-checks{display:flex;gap:12px;flex-wrap:wrap}.portal-checks label{display:flex;flex-direction:row;align-items:center;font-weight:500}.portal-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.portal-button,button.portal-button{border:0;border-radius:9px;padding:11px 16px;background:var(--portal-primary);color:#fff;font-weight:750;text-decoration:none;cursor:pointer}.portal-button.secondary{background:#344054}.portal-button.light{background:#eaecf0;color:#344054}.portal-button.danger{background:#b42318}.portal-table{width:100%;border-collapse:collapse;font-size:13px}.portal-table th,.portal-table td{padding:10px;border-bottom:1px solid #eaecf0;text-align:left;vertical-align:top}.portal-table th{background:#f9fafb}.portal-scroll{overflow:auto}.portal-badge{display:inline-block;border-radius:99px;padding:4px 8px;background:#f2f4f7;font-size:12px;font-weight:700}.portal-badge.published{background:#d1fadf;color:#05603a}.portal-badge.review,.portal-badge.scheduled{background:#fef0c7;color:#93370d}.portal-badge.failed,.portal-badge.rejected{background:#fee4e2;color:#912018}.portal-alert{padding:13px 15px;border-radius:10px;margin-bottom:18px;background:#ecfdf3;border:1px solid #abefc6}.portal-alert.error{background:#fef3f2;border-color:#fecdca}.portal-note{color:var(--portal-muted);font-size:13px}.portal-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#101828,#344054)}.portal-login-card{width:min(440px,calc(100% - 32px));background:#fff;border-radius:18px;padding:28px}.portal-login-card input{width:100%;padding:12px;border:1px solid var(--portal-border);border-radius:9px;margin:6px 0 14px}.portal-login-card button{width:100%}.portal-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portal-preview{border:1px dashed var(--portal-border);border-radius:12px;padding:16px;background:#fcfcfd}.portal-preview p{line-height:1.65}.portal-section-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.portal-section-tabs a{padding:8px 12px;border-radius:9px;background:#fff;border:1px solid var(--portal-border);text-decoration:none;color:var(--portal-text)}@media(max-width:800px){.portal-card.half,.portal-card.third{grid-column:span 12}.portal-form{grid-template-columns:1fr}.portal-stats{grid-template-columns:repeat(2,1fr)}.portal-compare{grid-template-columns:1fr}}

/* 5.6 · AI Yazı Stüdyosu */
.writer-studio-body{--writer-ai:#6d5dfc;--writer-ai-dark:#4438ca;--writer-ai-soft:#f0efff;--writer-ink:#14213d;--writer-line:#dfe3eb}.writer-studio-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin:0 0 20px;padding:24px 26px;border-radius:18px;background:linear-gradient(135deg,#151a2e 0%,#263358 62%,#493fc0 100%);color:#fff;box-shadow:0 16px 40px rgba(16,24,40,.14)}.writer-studio-hero h1{margin:6px 0 10px;max-width:820px;font-size:clamp(25px,3vw,38px);line-height:1.12}.writer-studio-hero p{margin:0;max-width:900px;color:#e6e9f5;line-height:1.65}.writer-kicker{font-size:12px;letter-spacing:.13em;font-weight:800;color:#c9c5ff}.writer-autosave{flex:0 0 auto;padding:9px 12px;border:1px solid rgba(255,255,255,.22);border-radius:99px;background:rgba(255,255,255,.1);font-size:12px;white-space:nowrap}.writer-autosave span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#fdb022;margin-right:7px}.writer-autosave.saved span{background:#32d583}.writer-compose-card{padding:26px}.writer-form{gap:18px}.writer-section-heading{display:flex;gap:13px;align-items:flex-start;margin-top:4px}.writer-section-heading.compact{margin-bottom:16px}.writer-section-heading h2{margin:0 0 4px;font-size:21px}.writer-section-heading p{margin:0;color:var(--portal-muted);font-size:13px}.writer-step-number{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:var(--writer-ai-soft);color:var(--writer-ai-dark);font-weight:900}.writer-field-meta{display:flex;justify-content:space-between;gap:12px;color:var(--portal-muted);font-size:12px;font-weight:500}.writer-ai-panel{padding:20px;border:1px solid #cfcafc;border-radius:16px;background:linear-gradient(180deg,#fbfaff,#fff)}.writer-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.writer-mode-card{position:relative;display:flex!important;flex-direction:column!important;gap:7px!important;min-height:150px;padding:15px;border:1px solid var(--writer-line);border-radius:13px;background:#fff;cursor:pointer;transition:.18s ease;font-weight:500!important}.writer-mode-card:hover{transform:translateY(-2px);border-color:#aaa2fa;box-shadow:0 8px 22px rgba(67,56,202,.09)}.writer-mode-card.selected{border:2px solid var(--writer-ai);background:var(--writer-ai-soft);padding:14px}.writer-mode-card input{position:absolute;opacity:0;pointer-events:none}.writer-mode-icon{font-size:22px}.writer-mode-card strong{font-size:14px;color:var(--writer-ink)}.writer-mode-card small{color:var(--portal-muted);line-height:1.45}.writer-options-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:17px}.writer-options-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px}.writer-options-grid .wide{grid-column:1/-1}.writer-research-box{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:17px;padding:16px;border:1px solid #b8d9ef;border-radius:13px;background:#f4faff}.writer-research-box[hidden]{display:none}.writer-research-head,.writer-safety-note{grid-column:1/-1}.writer-research-head{display:flex;justify-content:space-between;gap:12px}.writer-research-head span{color:var(--portal-muted);font-size:12px}.writer-safety-note{margin:0;color:#36566f;font-size:12px;line-height:1.5}.writer-ai-action-row{display:flex;align-items:center;gap:14px;margin-top:18px}.writer-ai-button{min-height:46px;padding-inline:20px!important;background:linear-gradient(135deg,var(--writer-ai),var(--writer-ai-dark))!important;box-shadow:0 9px 22px rgba(68,56,202,.22)}.writer-ai-button:disabled{opacity:.6;cursor:wait}.writer-ai-button-icon{margin-right:7px}.writer-ai-hint{color:var(--portal-muted);font-size:12px;line-height:1.45}.writer-progress{margin-top:16px;padding:17px;border:1px solid #cfcafc;border-radius:13px;background:#fff}.writer-progress[hidden]{display:none}.writer-progress-top{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center}.writer-progress-top p{margin:3px 0 0;color:var(--portal-muted);font-size:12px}.writer-progress-top time{font-variant-numeric:tabular-nums;color:var(--portal-muted);font-size:12px}.writer-spinner{width:32px;height:32px;border-radius:50%;border:3px solid #dfdcff;border-top-color:var(--writer-ai);animation:writer-spin .85s linear infinite}@keyframes writer-spin{to{transform:rotate(360deg)}}.writer-progress-bar{height:7px;margin:14px 0;border-radius:99px;background:#eeecff;overflow:hidden}.writer-progress-bar span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--writer-ai),#13b5a4);transition:width .45s ease}.writer-progress-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0;padding:0;list-style:none}.writer-progress-steps li{position:relative;padding-top:17px;text-align:center;color:#98a2b3;font-size:10px}.writer-progress-steps li:before{content:"";position:absolute;top:0;left:50%;width:9px;height:9px;border-radius:50%;background:#d0d5dd;transform:translateX(-50%)}.writer-progress-steps li.active{color:var(--writer-ai-dark);font-weight:800}.writer-progress-steps li.active:before{background:var(--writer-ai);box-shadow:0 0 0 4px #ebe9ff}.writer-progress-steps li.complete:before{background:#12b76a}.writer-progress-steps li.skipped{text-decoration:line-through;opacity:.45}.writer-inline-alert{margin-top:14px;padding:12px 14px;border-radius:10px;font-size:13px}.writer-inline-alert.error{border:1px solid #fecdca;background:#fef3f2;color:#912018}.writer-inline-alert.warning{border:1px solid #fedf89;background:#fffaeb;color:#93370d}.writer-inline-alert.success{border:1px solid #abefc6;background:#ecfdf3;color:#05603a}.writer-result-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.85fr);gap:16px;align-items:start}.writer-editor-shell{border:1px solid var(--writer-line);border-radius:13px;overflow:hidden;background:#fff}.writer-editor-toolbar{display:flex;align-items:center;gap:5px;padding:8px;border-bottom:1px solid var(--writer-line);background:#f8f9fc}.writer-editor-toolbar button{min-width:34px;height:31px;padding:0 8px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;cursor:pointer}.writer-editor-toolbar button:hover{border-color:var(--writer-ai);color:var(--writer-ai-dark)}.writer-editor-count{margin-left:auto;color:var(--portal-muted);font-size:12px}.writer-rich-editor{min-height:520px;padding:24px;outline:0;color:#202939;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.8}.writer-rich-editor:empty:before{content:attr(data-placeholder);color:#98a2b3}.writer-rich-editor h2{margin:28px 0 10px;font-family:Inter,system-ui,sans-serif;font-size:23px}.writer-rich-editor h3{margin:22px 0 8px;font-family:Inter,system-ui,sans-serif}.writer-rich-editor p{margin:0 0 16px}.writer-result-side{display:grid;gap:13px;position:sticky;top:14px}.writer-result-side label{display:flex;flex-direction:column;gap:6px}.writer-source-results,.writer-quality-card{padding:14px;border:1px solid var(--writer-line);border-radius:12px;background:#fbfcfe}.writer-source-results ul{margin:9px 0 0;padding-left:18px}.writer-source-results li{margin:6px 0;font-size:12px}.writer-source-results li.warning{color:#b54708}.writer-source-results a{color:var(--writer-ai-dark);word-break:break-word}.writer-quality-card{display:flex;flex-direction:column;gap:9px}.writer-quality-card>strong{margin-bottom:2px}.writer-quality-card label{display:flex;flex-direction:row;align-items:flex-start;gap:8px;font-size:12px;font-weight:500}.writer-publish-actions{padding-top:5px;border-top:1px solid #eaecf0}.writer-form textarea#writer-raw{min-height:230px;font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.7}.writer-form textarea#writer-summary{min-height:145px}.writer-form select:disabled{background:#f2f4f7;color:#98a2b3}.portal-badge.revision{background:#fff4ed;color:#b93815}.portal-badge.draft{background:#f2f4f7;color:#344054}.portal-badge.rejected{background:#fee4e2;color:#912018}
@media(max-width:1000px){.writer-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.writer-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.writer-result-layout{grid-template-columns:1fr}.writer-result-side{position:static}.writer-rich-editor{min-height:380px}}
@media(max-width:700px){.writer-studio-hero{flex-direction:column;padding:20px}.writer-autosave{white-space:normal}.writer-compose-card{padding:16px}.writer-mode-grid,.writer-options-grid,.writer-research-box{grid-template-columns:1fr}.writer-ai-action-row{align-items:stretch;flex-direction:column}.writer-ai-button{width:100%}.writer-progress-steps{grid-template-columns:1fr;gap:3px}.writer-progress-steps li{text-align:left;padding:3px 0 3px 22px}.writer-progress-steps li:before{left:5px;top:7px;transform:none}.writer-rich-editor{padding:17px;font-size:16px}.writer-editor-toolbar{overflow-x:auto}.writer-editor-count{white-space:nowrap}}
.writer-archive-check{grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;padding:10px 12px;border-radius:9px;background:#e9f5fc;font-size:12px!important;font-weight:650!important}.writer-archive-check input{width:auto!important;margin:0}.writer-research-box .writer-safety-note{grid-column:1/-1}
