.ta-portal-editor{max-width:1280px;margin:0 auto;color:var(--text);font-family:Inter,sans-serif}
.ta-portal-editor__header,.ta-portal-editor__section-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}
.ta-portal-editor h1{font-family:Archivo,sans-serif;font-size:clamp(26px,2.5vw,34px);font-weight:500;line-height:1.18;letter-spacing:-.025em;margin:8px 0 12px}
.ta-portal-editor h2{font-family:Archivo,sans-serif;font-size:23px;font-weight:500;line-height:1.3;letter-spacing:-.015em;margin:0 0 12px}
.ta-portal-editor h3{font-size:17px;font-weight:600;line-height:1.4;margin:8px 0}
.ta-portal-editor p{font-size:15px;line-height:1.65;margin:8px 0 16px;color:var(--muted)}
.ta-portal-editor small{font-size:12px;line-height:1.5;color:var(--muted)}
.ta-portal-editor .btn{min-height:44px;padding:10px 16px;font-size:13px;line-height:1.4;border-radius:9px;white-space:normal;text-align:center}
.ta-portal-editor .btn-ghost{background:var(--panel);border:1px solid var(--line);color:var(--text)}
.ta-portal-editor__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ta-portal-editor__status{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:var(--panel);font-size:13px}
.ta-portal-editor__status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-right:9px}
.ta-portal-editor__notice{border-left:3px solid var(--gold);background:var(--panel);padding:12px 16px;color:var(--text)!important}
.ta-portal-editor__notice p{margin:0;color:var(--text);font-size:14px}
.ta-portal-editor__notice .btn{margin-top:10px}
.ta-portal-editor__header>.ta-portal-editor__actions{flex-shrink:0}
.ta-portal-editor__header>div:first-child>.eyebrow{display:none}
.ta-portal-editor__tabs{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid var(--line);margin:24px 0 28px;scrollbar-width:thin}
.ta-portal-editor__tabs button{flex:none;background:none;border:0;border-bottom:2px solid transparent;padding:12px 0 14px;min-height:46px;font:500 14px Inter,sans-serif;color:var(--muted)}
.ta-portal-editor__tabs button[aria-current]{border-color:var(--gold);color:var(--text)}
.ta-portal-editor__tabs button:hover{color:var(--gold)}
.ta-portal-editor__body{display:grid;gap:28px}
.ta-portal-editor__hero{border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden}
.ta-portal-editor__cover{position:relative;background:var(--panel-2,var(--panel));height:210px;display:grid;place-items:center;border-bottom:1px solid var(--line)}
.ta-portal-editor__cover>img{width:100%;height:100%;object-fit:cover;display:block}
.ta-portal-editor__cover>button{position:absolute;right:18px;bottom:18px;background:var(--panel)}
.ta-portal-editor__identity{display:grid;grid-template-columns:150px 1fr;gap:28px;padding:26px}
.ta-portal-editor__portrait{display:flex;align-items:center;flex-direction:column;gap:12px}
.ta-portal-editor__portrait>img,.ta-portal-editor__portrait>span{width:78px;height:78px;object-fit:cover;border-radius:50%;background:var(--panel-2,var(--bg));display:grid;place-items:center;font-size:24px;border:1px solid var(--line)}
.ta-portal-editor__identity h2{font-size:clamp(25px,2.8vw,36px);margin:8px 0}
.ta-portal-editor__identity p{max-width:65ch}
.ta-portal-editor__metrics{font-size:12px!important;font-weight:600;letter-spacing:.04em;color:var(--text)!important}
.ta-portal-editor__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ta-portal-editor__work,.ta-portal-editor__context{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);min-width:0}
.ta-portal-editor__work>img,.ta-portal-editor__missing{width:100%;height:160px;object-fit:cover;background:var(--panel-2,var(--bg))}
.ta-portal-editor__missing{display:grid;place-items:center;font-size:13px;color:var(--muted)}
.ta-portal-editor__work>div:not(.ta-portal-editor__missing),.ta-portal-editor__context>div:last-child{padding:18px}
.ta-portal-editor__work .btn{font-size:12px;padding:8px 12px}
.ta-portal-editor__contexts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ta-portal-editor__mosaic{display:flex;height:145px;background:var(--panel-2,var(--bg));overflow:hidden;align-items:stretch}
.ta-portal-editor__mosaic img{flex:1;min-width:0;object-fit:cover;width:25%}
.ta-portal-editor__mosaic>span{padding:24px;color:var(--muted)}
.ta-portal-editor__empty{padding:32px;border:1px dashed var(--line);border-radius:14px;background:var(--panel);text-align:center}
.ta-portal-editor__empty>span svg{width:28px;height:28px;color:var(--muted)}
.ta-portal-editor__empty .btn{margin:4px}
.ta-portal-editor__reading{display:grid;gap:18px;max-width:820px}
.ta-portal-editor .card{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:none}
.ta-portal-editor__footer{border-top:1px solid var(--line);margin-top:32px;padding-top:18px;display:flex;flex-wrap:wrap;gap:12px 28px;font-size:12px;color:var(--muted)}
.ta-portal-editor__footer p{width:100%;font-size:12px}
.ta-portal-editor--form{max-width:760px}
.ta-portal-editor--form>h1{margin-top:28px}
.ta-portal-editor__form{padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:16px;margin-top:24px}
.ta-portal-editor label{display:grid;gap:8px;font-size:14px;line-height:1.5;margin-bottom:20px;color:var(--text)}
.ta-portal-editor label.rg-check{display:flex;align-items:center;min-height:44px;margin-bottom:8px}
.ta-portal-editor input:not([type=checkbox]),.ta-portal-editor select,.ta-portal-editor textarea{width:100%;min-width:0;font:400 16px/1.5 Inter,sans-serif;min-height:46px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:11px 13px}
.ta-portal-editor input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:var(--gold)}
.ta-portal-editor textarea{min-height:140px;resize:vertical}
.ta-portal-editor input[type=file]{white-space:normal;font-size:14px}
.ta-portal-editor details{border-top:1px solid var(--line);padding:12px 0;margin:12px 0}
.ta-portal-editor summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:14px;line-height:1.5}
.ta-portal-editor fieldset{border:0;padding:0;margin:22px 0}
.ta-portal-editor legend{font-weight:500;font-size:15px;margin-bottom:12px}
.ta-portal-editor__form footer{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}
.ta-portal-editor__form footer small{display:block}
.ta-portal-editor__image-preview{display:block;max-width:100%;max-height:260px;border-radius:12px;object-fit:contain;margin-bottom:20px}
.ta-portal-editor__entry-image{max-width:100%;height:180px;object-fit:cover;border-radius:8px}
.ta-portal-editor :focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.ta-portal-editor [data-rg-error]:not(:empty){border-left:3px solid currentColor;padding:12px;color:var(--text)}
.ta-portal-editor [disabled]{opacity:.55;cursor:not-allowed}
.ta-portal-editor h1,.ta-portal-editor h2,.ta-portal-editor h3,.ta-portal-editor p{overflow-wrap:anywhere}
.ta-portal-public-entry{padding:24px 0;border-bottom:1px solid var(--line)}
.ta-portal-public-entry img{max-width:100%;max-height:360px;object-fit:contain}
@media(max-width:900px){.ta-portal-editor__header{align-items:flex-start;flex-direction:column}.ta-portal-editor__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-portal-editor__section-head{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:600px){.ta-portal-editor__identity{grid-template-columns:1fr;gap:20px;padding:20px}.ta-portal-editor__portrait{align-items:flex-start;flex-direction:row}.ta-portal-editor__portrait>img,.ta-portal-editor__portrait>span{width:60px;height:60px}.ta-portal-editor__cover{height:155px}.ta-portal-editor__grid,.ta-portal-editor__contexts{grid-template-columns:1fr}.ta-portal-editor__status{align-items:flex-start;flex-direction:column;gap:8px}.ta-portal-editor__tabs{gap:22px}.ta-portal-editor__form{padding:20px 16px}.ta-portal-editor__empty{padding:24px 16px}.ta-portal-editor__header{gap:12px}.ta-portal-editor__identity h2{font-size:26px}.ta-portal-editor .rg-fields{grid-template-columns:1fr}.ta-portal-editor__form footer .btn{width:100%;margin-bottom:10px}}
@media(max-width:600px){.ta-portal-editor__header{margin-bottom:16px}.ta-portal-editor__header h1{margin:0 0 8px}.ta-portal-editor__header p{margin:0}.ta-portal-editor__status{flex-direction:row;align-items:center;padding:10px;gap:8px;font-size:12px}.ta-portal-editor__status>.btn{max-width:170px;font-size:12px;padding:8px 10px}.ta-portal-editor__tabs{margin:18px 0 20px}.ta-portal-editor__notice{padding:10px 12px}}
