@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600;700;800;900&family=Unbounded:wght@500;600;700;800&display=swap&subset=cyrillic');
:root {
    --author-bg: #f6efe4;
    --author-paper: #fffaf2;
    --author-ink: #17130f;
    --author-muted: #655d53;
    --author-line: rgba(23,19,15,.14);
    --author-blue: #3857ff;
    --author-lime: #d8ff42;
    --author-orange: #ff7448;
    --author-pink: #ff5aa7;
    --author-shadow: 7px 7px 0 var(--author-ink), 0 22px 55px rgba(23,19,15,.12);
}
html { min-height: 100%; background: var(--author-bg); scroll-behavior: smooth; }
body.stud-author-body, body.stud-author-public {
    min-width: 0;
    min-height: 100%;
    overflow-x: hidden;
    color: var(--author-ink);
    background: linear-gradient(180deg,#fff5e8 0%,#fffaf2 50%,#edf2ff 100%);
    font-family: Commissioner,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
.stud-author-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.stud-author-header { position: sticky; top: 0; z-index: 1000; padding: 10px 0 0; }
.stud-author-header__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 10px 12px 10px 14px;
    border: 2px solid var(--author-ink);
    border-radius: 24px;
    background: rgba(255,250,242,.97);
    box-shadow: 6px 6px 0 var(--author-ink),0 14px 40px rgba(23,19,15,.09);
}
.stud-author-brand { display: grid; grid-template-columns: 42px auto; align-items: center; gap: 9px; min-width: 188px; color: var(--author-ink)!important; text-decoration: none!important; }
.stud-author-brand__badge { display: grid; width: 42px; height: 42px; place-items: center; border: 2px solid var(--author-ink); border-radius: 13px; background: var(--author-lime); box-shadow: 4px 4px 0 var(--author-ink); font-family: Unbounded,sans-serif; font-size: 20px; font-weight: 800; transform: rotate(-4deg); }
.stud-author-brand b { display: block; font-family: Unbounded,sans-serif; font-size: 19px; line-height: 1; letter-spacing: -.06em; }
.stud-author-brand b span { color: var(--author-orange); }
.stud-author-brand em { display: block; margin-top: 4px; color: var(--author-muted); font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.stud-author-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1 1 auto; }
.stud-author-nav a { display: inline-flex; min-height: 42px; align-items: center; padding: 0 13px; border-radius: 14px; color: var(--author-ink)!important; font-size: 14px; font-weight: 900; text-decoration: none!important; white-space: nowrap; }
.stud-author-nav a:hover { background: rgba(56,87,255,.08); }
.stud-author-nav a.is-active { outline: 2px solid var(--author-ink); background: rgba(216,255,66,.45); }
.stud-author-header__actions { display: flex; align-items: center; gap: 8px; }
.stud-author-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 15px; border: 2px solid var(--author-ink); border-radius: 15px; color: var(--author-ink)!important; background: #fff; box-shadow: 4px 4px 0 var(--author-ink); font-weight: 900; text-decoration: none!important; transition: transform .16s ease,box-shadow .16s ease; }
.stud-author-btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--author-ink); }
.stud-author-btn--primary { background: var(--author-lime); }
.stud-author-burger { display: none; position: relative; width: 42px; min-width: 42px; height: 42px; padding: 0; border: 2px solid var(--author-ink); border-radius: 13px; background: #fff; box-shadow: 4px 4px 0 var(--author-ink); }
.stud-author-burger span { position: absolute; left: 10px; width: 18px; height: 2px; border-radius: 99px; background: var(--author-ink); transition: transform .18s ease,opacity .18s ease; }
.stud-author-burger span:nth-child(1){top:12px}.stud-author-burger span:nth-child(2){top:19px}.stud-author-burger span:nth-child(3){top:26px}
.stud-author-menu-open .stud-author-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.stud-author-menu-open .stud-author-burger span:nth-child(2){opacity:0}
.stud-author-menu-open .stud-author-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.stud-author-main { min-height: calc(100vh - 180px); padding: 28px 0 58px; }
.stud-author-footer { padding: 28px 0; border-top: 2px solid var(--author-ink); background: #17130f; color: #fff; }
.stud-author-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.stud-author-footer a { color: #fff!important; }
.stud-author-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 22px; align-items: stretch; margin: 12px 0 34px; }
.stud-author-hero__copy,.stud-author-hero__panel,.stud-author-card,.stud-author-form-card,.stud-author-dashboard-card,.stud-author-content-card { border: 2px solid var(--author-ink); border-radius: 26px; background: #fff; box-shadow: var(--author-shadow); }
.stud-author-hero__copy { position: relative; overflow: hidden; min-height: 470px; padding: clamp(30px,5vw,58px); background: linear-gradient(135deg,#fffaf2,#fff 56%,rgba(216,255,66,.24)); }
.stud-author-hero__copy:after { content:'₽'; position:absolute; right:34px; top:32px; display:grid; width:58px; height:58px; place-items:center; border:2px solid var(--author-ink); border-radius:18px; background:var(--author-orange); box-shadow:6px 6px 0 var(--author-ink); font-family:Unbounded,sans-serif; font-size:25px; font-weight:800; animation:authorFloat 4.8s ease-in-out infinite; }
.stud-author-chip { display:inline-flex; align-items:center; gap:8px; margin-bottom:16px; padding:8px 12px; border:1px solid var(--author-line); border-radius:999px; background:#fff; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.stud-author-chip:before { content:''; width:8px; height:8px; border-radius:50%; background:var(--author-orange); box-shadow:0 0 0 5px rgba(255,116,72,.16); }
.stud-author-hero h1 { max-width:760px; margin:0 0 18px; color:var(--author-ink); font-family:Unbounded,sans-serif; font-size:clamp(36px,5vw,62px); line-height:1.02; letter-spacing:-.07em; }
.stud-author-hero p { max-width:720px; margin:0; color:#393129; font-size:clamp(17px,1.5vw,21px); }
.stud-author-hero__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.stud-author-hero__panel { display:grid; align-content:center; gap:12px; padding:22px; background:linear-gradient(145deg,#ebe7dc,#f8f5ed 58%,#e3ebff); }
.stud-author-stat { padding:17px; border:2px solid var(--author-ink); border-radius:19px; background:#fff; box-shadow:4px 4px 0 var(--author-ink); }
.stud-author-stat:nth-child(2){background:var(--author-lime)} .stud-author-stat:nth-child(3){background:#dce4ff}
.stud-author-stat b { display:block; font-family:Unbounded,sans-serif; font-size:22px; line-height:1.05; letter-spacing:-.05em; }
.stud-author-stat span { display:block; margin-top:5px; color:#4c443d; font-weight:750; }
.stud-author-section { margin:46px 0; }
.stud-author-section__head { max-width:780px; margin-bottom:20px; }
.stud-author-section__head h2 { margin:0 0 8px; color:var(--author-ink); font-family:Unbounded,sans-serif; font-size:clamp(28px,3.5vw,44px); line-height:1.07; letter-spacing:-.06em; }
.stud-author-section__head p { margin:0; color:var(--author-muted); font-size:18px; font-weight:650; }
.stud-author-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.stud-author-card { padding:22px; }
.stud-author-card b { display:block; margin-bottom:8px; color:var(--author-ink); font-family:Unbounded,sans-serif; font-size:20px; line-height:1.15; letter-spacing:-.045em; }
.stud-author-card p { margin:0; color:var(--author-muted); font-weight:650; }
.stud-author-card__icon { display:grid; width:46px; height:46px; margin-bottom:18px; place-items:center; border:2px solid var(--author-ink); border-radius:15px; background:var(--author-lime); box-shadow:4px 4px 0 var(--author-ink); font-size:20px; font-weight:900; }
.stud-author-form-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.65fr); gap:20px; align-items:start; }
.stud-author-form-card,.stud-author-content-card,.stud-author-dashboard-card { padding:clamp(20px,3vw,32px); }
.stud-author-form-card h2,.stud-author-content-card h2,.stud-author-dashboard-card h2 { margin:0 0 16px; color:var(--author-ink); font-family:Unbounded,sans-serif; font-size:clamp(25px,3vw,36px); line-height:1.1; letter-spacing:-.055em; }
.stud-author-form-card .form-control,.stud-author-content-card .form-control { min-height:48px; border:2px solid var(--author-ink); border-radius:14px; box-shadow:none; color:var(--author-ink); font-size:16px; }
.stud-author-form-card textarea.form-control,.stud-author-content-card textarea.form-control { min-height:130px; }
.stud-author-form-card .control-label,.stud-author-content-card .control-label { color:var(--author-ink); font-weight:850; }
.stud-author-form-card .btn,.stud-author-content-card .btn { min-height:50px; padding:0 20px; border:2px solid var(--author-ink); border-radius:15px; background:var(--author-lime); color:var(--author-ink); box-shadow:5px 5px 0 var(--author-ink); font-weight:900; }
.stud-author-note-list { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.stud-author-note-list li { padding:13px 15px; border:2px solid var(--author-ink); border-radius:16px; background:#fffaf2; font-weight:750; }
.stud-author-dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.stud-author-dashboard-card { display:flex; flex-direction:column; gap:12px; }
.stud-author-dashboard-card .stud-author-btn { margin-top:auto; }
.stud-author-content-card .table,.stud-author-content-card table,.stud-author-main .table { background:#fff; }
.stud-author-main .table > thead > tr > th { border-bottom:2px solid var(--author-ink); color:var(--author-ink); }
.stud-author-main .table > tbody > tr > td { vertical-align:middle; border-top:1px solid var(--author-line); }
.stud-author-main .pagination > li > a,.stud-author-main .pagination > li > span { border:2px solid var(--author-ink); color:var(--author-ink); font-weight:800; }
.stud-author-reveal { opacity:0; transform:translateY(18px); transition:opacity .5s ease,transform .5s ease; }
.stud-author-reveal.is-visible { opacity:1; transform:none; }
@keyframes authorFloat { 0%,100%{transform:translateY(0) rotate(8deg)}50%{transform:translateY(-10px) rotate(-5deg)} }
@media (prefers-reduced-motion:reduce){.stud-author-reveal{opacity:1;transform:none;transition:none}.stud-author-hero__copy:after{animation:none}}
@media(max-width:980px){.stud-author-grid,.stud-author-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stud-author-hero{grid-template-columns:1fr}.stud-author-hero__copy{min-height:0}.stud-author-form-layout{grid-template-columns:1fr}.stud-author-header__actions{display:none}}
@media(max-width:860px){
    .stud-author-header__row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:10px;min-height:66px}
    .stud-author-brand{grid-column:1;min-width:0}
    .stud-author-burger{display:block;grid-column:2;justify-self:end}
    .stud-author-nav{position:absolute;left:10px;right:10px;top:calc(100% + 8px);display:none;flex-direction:column;align-items:stretch;padding:12px;border:2px solid var(--author-ink);border-radius:20px;background:#fffaf2;box-shadow:6px 6px 0 var(--author-ink)}
    .stud-author-nav.is-open,.stud-author-menu-open .stud-author-nav{display:flex}
    .stud-author-nav a{justify-content:center;width:100%;border:2px solid var(--author-line);background:#fff}
    .stud-author-menu-open{overflow:hidden}
}
@media(max-width:640px){.stud-author-container{width:min(100% - 20px,1180px)}.stud-author-grid,.stud-author-dashboard-grid{grid-template-columns:1fr}.stud-author-hero h1{font-size:clamp(32px,11vw,46px)}.stud-author-hero__copy{padding:26px 20px}.stud-author-hero__copy:after{right:18px;top:18px;width:48px;height:48px}.stud-author-footer__row{align-items:flex-start;flex-direction:column}.stud-author-brand em{display:none}}

/* v27: conversion-oriented author landing */
.stud-author-hero__note { margin-top: 18px !important; color: #6e6258 !important; font-size: 13px !important; font-weight: 700; line-height: 1.45; }
.stud-author-stat--income { background: linear-gradient(135deg, var(--author-lime), #fff4a8) !important; animation: authorIncomePulse 3.2s ease-in-out infinite; }
.stud-author-stat--income b { font-size: clamp(28px, 3vw, 40px); }
@keyframes authorIncomePulse { 0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-6px) rotate(.8deg)} }
.stud-author-income-grid,
.stud-author-story-grid,
.stud-author-payment-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.stud-author-income-grid article,
.stud-author-story-grid article,
.stud-author-payment-grid article,
.stud-author-legal-card {
    padding: 22px;
    border: 2px solid var(--author-ink);
    border-radius: 24px;
    background: #fff;
    box-shadow: 5px 5px 0 var(--author-ink);
}
.stud-author-income-grid article:nth-child(4n+1) { background: var(--author-lime); }
.stud-author-income-grid article:nth-child(4n+2) { background: #b9dcff; }
.stud-author-income-grid article:nth-child(4n+3) { background: #ffd0ae; }
.stud-author-income-grid article:nth-child(4n+4) { background: #e7d6ff; }
.stud-author-income-grid span,
.stud-author-payment-grid span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid var(--author-ink);
    border-radius: 14px;
    background: #fff;
    font-family: Unbounded,sans-serif;
    font-weight: 900;
}
.stud-author-income-grid b,
.stud-author-payment-grid b { display: block; margin: 16px 0 8px; color: var(--author-ink); font-size: 19px; line-height: 1.2; }
.stud-author-income-grid p,
.stud-author-payment-grid p { margin: 0; color: #4f463e; line-height: 1.52; }
.stud-author-story-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stud-author-story-grid article { position: relative; overflow: hidden; min-height: 310px; display: flex; flex-direction: column; }
.stud-author-story-grid article:nth-child(1) { background: #fff7e9; }
.stud-author-story-grid article:nth-child(2) { background: #edf3ff; }
.stud-author-story-grid article:nth-child(3) { background: #f3ffe4; }
.stud-author-story-grid__tag { align-self: flex-start; padding: 6px 10px; border: 2px solid var(--author-ink); border-radius: 999px; background: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.stud-author-story-grid h3 { margin: 22px 0 12px; color: var(--author-ink); font-family: Unbounded,sans-serif; font-size: 23px; line-height: 1.15; letter-spacing: -.045em; }
.stud-author-story-grid p { margin: 0 0 18px; color: #51483f; line-height: 1.58; }
.stud-author-story-grid b { margin-top: auto; color: var(--author-ink); line-height: 1.4; }
.stud-author-grid--steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
.stud-author-payment-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 20px; align-items: stretch; }
.stud-author-payment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stud-author-payment-grid article:nth-child(1) { background: var(--author-lime); }
.stud-author-payment-grid article:nth-child(2) { background: #b9dcff; }
.stud-author-payment-grid article:nth-child(3) { background: #ffd0ae; }
.stud-author-legal-card { background: #17130f; color: #fff; }
.stud-author-legal-card h3 { margin: 0 0 12px; color: #fff; font-family: Unbounded,sans-serif; font-size: 28px; letter-spacing: -.05em; }
.stud-author-legal-card p,
.stud-author-legal-card li { color: rgba(255,255,255,.84); line-height: 1.55; }
.stud-author-legal-card ul { margin: 16px 0; padding-left: 20px; }
.stud-author-legal-card__note { margin-bottom: 0 !important; font-size: 12px; opacity: .82; }
.stud-author-faq { display: grid; gap: 12px; }
.stud-author-faq details { border: 2px solid var(--author-ink); border-radius: 20px; background: #fff; box-shadow: 4px 4px 0 var(--author-ink); }
.stud-author-faq summary { position: relative; padding: 18px 58px 18px 20px; cursor: pointer; color: var(--author-ink); font-size: 17px; font-weight: 900; list-style: none; }
.stud-author-faq summary::-webkit-details-marker { display: none; }
.stud-author-faq summary:after { content: '+'; position: absolute; right: 16px; top: 50%; display: grid; width: 30px; height: 30px; place-items: center; transform: translateY(-50%); border: 2px solid var(--author-ink); border-radius: 10px; background: var(--author-lime); font-size: 20px; }
.stud-author-faq details[open] summary:after { content: '−'; background: var(--author-orange); }
.stud-author-faq details > div { padding: 0 20px 20px; color: #51483f; line-height: 1.58; }
@media(max-width:1100px){
    .stud-author-income-grid,.stud-author-grid--steps{grid-template-columns:repeat(2,minmax(0,1fr))}
    .stud-author-payment-layout{grid-template-columns:1fr}
}
@media(max-width:900px){
    .stud-author-story-grid,.stud-author-payment-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
    .stud-author-income-grid,.stud-author-grid--steps{grid-template-columns:1fr}
    .stud-author-story-grid article{min-height:0}
    .stud-author-stat--income b{font-size:30px}
}

/* v31: readable payout cards */
.stud-author-payment-grid span {
    display:inline-flex !important;
    width:auto !important;
    min-width:92px !important;
    height:auto !important;
    min-height:38px !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    white-space:nowrap !important;
    font-family:Commissioner,Arial,sans-serif !important;
    font-size:13px !important;
    line-height:1 !important;
}
.stud-author-payment-layout--simple .stud-author-payment-grid { align-content:start; }
.stud-author-legal-card ol { margin:16px 0; padding-left:22px; }
.stud-author-legal-card li { margin:0 0 10px; }
@media(max-width:640px){
    .stud-author-payment-grid article { padding:20px !important; }
    .stud-author-payment-grid b { font-size:18px !important; }
}
.stud-antispam-field { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; opacity:0!important; pointer-events:none!important; }

/* v32: compact author orders and finance */
.stud-author-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px}
.stud-author-page-head h1,.stud-author-finance-hero h1{margin:8px 0 8px;color:var(--author-ink);font-family:Unbounded,sans-serif;font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.055em}
.stud-author-page-head p,.stud-author-finance-hero p,.stud-author-muted{margin:0;color:#665d55;line-height:1.55}
.stud-author-orders-filter{display:grid;grid-template-columns:130px minmax(190px,1fr) minmax(180px,.8fr) minmax(180px,.8fr) auto;gap:12px;align-items:end;margin:0 0 24px;padding:18px;border:2px solid var(--author-ink);border-radius:22px;background:#fffaf2;box-shadow:4px 4px 0 var(--author-ink)}
.stud-author-orders-filter label{margin:0;color:var(--author-ink);font-size:12px;font-weight:900}
.stud-author-orders-filter .form-control{height:44px;margin-top:7px;border:2px solid var(--author-line);border-radius:13px;background:#fff;font-size:15px;box-shadow:none}
.stud-author-orders-filter__actions{display:flex;gap:8px;align-items:center}
.stud-author-order-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.stud-author-order-card{display:flex;min-width:0;flex-direction:column;padding:22px;border:2px solid var(--author-ink);border-radius:24px;background:#fff;box-shadow:5px 5px 0 var(--author-ink)}
.stud-author-order-card.is-blocked{opacity:.65}
.stud-author-order-card__top,.stud-author-order-card__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.stud-author-order-card__id{font-family:Unbounded,sans-serif;font-size:13px;font-weight:900}
.stud-author-order-status{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:2px solid var(--author-ink);border-radius:999px;background:#f0f0ee;font-size:11px;font-weight:900;white-space:nowrap}
.stud-author-order-status.is-work,.stud-author-order-status.is-resolved{background:#c9f68b}.stud-author-order-status.is-revision{background:#ffd0ae}.stud-author-order-status.is-done{background:#b9dcff}.stud-author-order-status.is-refund{background:#ffc7c7}
.stud-author-order-card h2{margin:20px 0 6px;color:var(--author-ink);font-family:Unbounded,sans-serif;font-size:clamp(19px,2vw,25px);line-height:1.15;letter-spacing:-.04em}
.stud-author-order-card__type,.stud-author-order-card__specialities{margin:0;color:#665d55;line-height:1.45}.stud-author-order-card__specialities{margin-top:6px;font-size:13px}
.stud-author-order-card__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.stud-author-order-card__facts div{padding:12px;border:1px solid #d9d3ca;border-radius:15px;background:#fffaf2}
.stud-author-order-card__facts span{display:block;margin-bottom:5px;color:#7b7168;font-size:11px;font-weight:800;text-transform:uppercase}.stud-author-order-card__facts b{color:var(--author-ink);font-size:15px;line-height:1.25}
.stud-author-order-card__bottom{margin-top:auto;padding-top:16px;border-top:1px solid #e5dfd6}.stud-author-order-card__bottom small{color:#7b7168}
.stud-author-pagination{margin:26px 0 0}
.stud-author-empty{text-align:center}
.stud-author-finance{display:grid;gap:22px}.stud-author-finance-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:24px;align-items:center;padding:28px;border:2px solid var(--author-ink);border-radius:28px;background:linear-gradient(135deg,#fffaf2,#f2f6ff);box-shadow:6px 6px 0 var(--author-ink)}
.stud-author-finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stud-author-finance-summary div{padding:16px;border:2px solid var(--author-ink);border-radius:18px;background:#fff}.stud-author-finance-summary div:first-child{background:var(--author-lime)}.stud-author-finance-summary span{display:block;margin-bottom:7px;color:#665d55;font-size:11px;font-weight:900;text-transform:uppercase}.stud-author-finance-summary b{color:var(--author-ink);font-family:Unbounded,sans-serif;font-size:18px;line-height:1.2}
.stud-author-finance-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:20px}.stud-author-finance-grid h2,.stud-author-content-card>h2{margin-top:0;color:var(--author-ink);font-family:Unbounded,sans-serif;font-size:24px;letter-spacing:-.04em}
.stud-author-payout-calc{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:-4px 0 16px}.stud-author-payout-calc span{padding:12px;border-radius:14px;background:#f3efe8;color:#665d55}.stud-author-payout-calc b,.stud-author-payout-calc strong{color:var(--author-ink);font-size:17px}
.stud-author-method-list,.stud-author-payout-list,.stud-author-history-list{display:grid;gap:12px}.stud-author-method-list article,.stud-author-payout-list article,.stud-author-history-list article{padding:16px;border:1px solid #dcd6cd;border-radius:17px;background:#fffaf2}.stud-author-method-list b{display:block;color:var(--author-ink);font-size:16px}.stud-author-method-list p{margin:6px 0;color:#665d55;line-height:1.45}.stud-author-method-list small{color:#7b7168}
.stud-author-payout-list article>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.stud-author-payout-list b{color:var(--author-ink);font-family:Unbounded,sans-serif;font-size:20px}.stud-author-payout-list em{padding:5px 9px;border-radius:999px;background:#eee;font-style:normal;font-size:11px;font-weight:900}.stud-author-payout-list em.is-paid{background:#c9f68b}.stud-author-payout-list em.is-processing{background:#b9dcff}.stud-author-payout-list em.is-rejected,.stud-author-payout-list em.is-canceled{background:#ffc7c7}.stud-author-payout-list small{color:#7b7168}.stud-author-payout-list p{margin:10px 0 0;color:#665d55}
.stud-author-history-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 16px;align-items:center}.stud-author-history-list b{font-family:Unbounded,sans-serif;font-size:17px}.stud-author-history-list b.is-plus{color:#31710a}.stud-author-history-list b.is-minus{color:#b52929}.stud-author-history-list small{grid-column:1/-1;color:#7b7168}
@media(max-width:1100px){.stud-author-orders-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.stud-author-orders-filter__actions{grid-column:1/-1}.stud-author-finance-hero,.stud-author-finance-grid{grid-template-columns:1fr}}
@media(max-width:760px){.stud-author-page-head{align-items:stretch;flex-direction:column}.stud-author-order-cards{grid-template-columns:1fr}.stud-author-orders-filter{grid-template-columns:1fr}.stud-author-orders-filter__actions{grid-column:auto;flex-wrap:wrap}.stud-author-order-card__facts{grid-template-columns:1fr}.stud-author-order-card__bottom{align-items:stretch;flex-direction:column}.stud-author-finance-hero{padding:20px}.stud-author-finance-summary{grid-template-columns:1fr}.stud-author-payout-calc{grid-template-columns:1fr}}
@media(min-width:981px){.stud-author-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* v4: auctions, header cleanup and order details */
.stud-author-header__row .stud-author-nav { margin-left: auto; }
.stud-author-page-head--auctions { align-items: center; }
.stud-author-eyebrow { display:inline-flex; margin-bottom:4px; color:#3857ff; font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.stud-auction-toolbar { display:grid; gap:14px; margin:0 0 22px; }
.stud-auction-switch { display:inline-flex; width:max-content; max-width:100%; padding:5px; border:2px solid var(--author-ink); border-radius:17px; background:#fff; box-shadow:4px 4px 0 var(--author-ink); }
.stud-auction-switch__item { display:inline-flex; min-height:42px; align-items:center; justify-content:center; padding:0 16px; border-radius:11px; color:var(--author-ink)!important; font-size:14px; font-weight:900; text-decoration:none!important; white-space:nowrap; }
.stud-auction-switch__item:hover { background:#f1ede6; }
.stud-auction-switch__item.is-active { background:var(--author-lime); box-shadow:inset 0 0 0 2px var(--author-ink); }
.stud-auction-specialities-note { display:flex; flex-wrap:wrap; align-items:center; gap:7px; color:#655d53; font-size:13px; }
.stud-auction-specialities-note b { color:var(--author-ink); }
.stud-auction-specialities-note a { margin-left:4px; font-weight:800; }
.stud-author-notice { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 22px; padding:18px 20px; border:2px solid var(--author-ink); border-radius:20px; background:#dfe8ff; box-shadow:4px 4px 0 var(--author-ink); }
.stud-author-notice b { display:block; margin-bottom:3px; color:var(--author-ink); font-size:17px; }
.stud-author-notice p { margin:0; color:#554e47; }
.stud-author-auction-grid-wrap { overflow:hidden; border:2px solid var(--author-ink); border-radius:24px; background:#fff; box-shadow:6px 6px 0 var(--author-ink); }
.stud-author-auction-grid { margin:0; overflow-x:auto; }
.stud-author-auction-grid .table { min-width:900px; margin:0; border:0; background:#fff; }
.stud-author-auction-table > thead > tr > th { padding:14px 14px!important; border:0!important; border-bottom:1px solid #d9d3ca!important; background:#fffaf2; color:#5d554d!important; font-size:11px; font-weight:900; letter-spacing:.055em; text-transform:uppercase; vertical-align:middle!important; }
.stud-author-auction-table > thead > tr.filters > td { padding:10px 12px!important; border:0!important; border-bottom:2px solid var(--author-ink)!important; background:#fffaf2; }
.stud-author-auction-table .filters .form-control { height:40px; margin:0; border:1px solid #cec7bd; border-radius:11px; background:#fff; box-shadow:none; font-size:13px; }
.stud-author-auction-table > tbody > tr > td { padding:16px 14px!important; border:0!important; border-bottom:1px solid #e8e2d9!important; color:#4f4841; vertical-align:middle!important; transition:background .15s ease; }
.stud-author-auction-table > tbody > tr:last-child > td { border-bottom:0!important; }
.stud-auction-row { cursor:pointer; outline:none; }
.stud-auction-row:hover > td, .stud-auction-row:focus > td { background:#f8fbe9; }
.stud-auction-row:focus-visible { box-shadow:inset 0 0 0 3px #3857ff; }
.stud-auction-id-link { display:inline-flex; min-width:54px; min-height:32px; align-items:center; justify-content:center; border:2px solid var(--author-ink); border-radius:10px; background:#fff; color:var(--author-ink)!important; font-family:Unbounded,sans-serif; font-size:12px; font-weight:900; text-decoration:none!important; }
.stud-auction-subject-link { display:block; color:var(--author-ink)!important; font-size:16px; font-weight:900; line-height:1.25; text-decoration:none!important; }
.stud-auction-specialities { display:block; margin-top:6px; color:#766d64; font-size:12px; line-height:1.35; }
.stud-auction-type-badge { display:inline-flex; min-height:30px; align-items:center; padding:4px 10px; border-radius:999px; background:#e3e9ff; color:#24326d; font-size:12px; font-weight:800; }
.stud-auction-date { color:var(--author-ink); font-weight:800; white-space:nowrap; }
.stud-auction-open-link { display:inline-flex; min-height:38px; align-items:center; justify-content:center; padding:0 13px; border:2px solid var(--author-ink); border-radius:12px; background:var(--author-lime); color:var(--author-ink)!important; font-size:13px; font-weight:900; text-decoration:none!important; box-shadow:3px 3px 0 var(--author-ink); }
.stud-auction-open-link:hover { transform:translate(-1px,-1px); box-shadow:4px 4px 0 var(--author-ink); }
.stud-author-grid-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 18px; border-top:2px solid var(--author-ink); background:#fffaf2; color:#655d53; font-size:13px; }
.stud-author-grid-footer .pagination { margin:0; }
.stud-author-grid-footer .pagination > li > a, .stud-author-grid-footer .pagination > li > span { margin-left:5px; border:1px solid #cfc8bf; border-radius:9px; color:var(--author-ink); }
.stud-author-grid-footer .pagination > .active > a, .stud-author-grid-footer .pagination > .active > span { border-color:var(--author-ink); background:var(--author-ink); color:#fff; }
.stud-author-auction-grid .empty { padding:0!important; }
.stud-author-empty { padding:42px 24px; text-align:center; }
.stud-author-empty h3 { margin:0 0 8px; color:var(--author-ink); font-family:Unbounded,sans-serif; font-size:20px; }
.stud-author-empty p { margin:0; color:#6a625a; }
.stud-author-invoices { margin:24px 0; padding:20px; border:1px solid #d9d3ca; border-radius:18px; background:#fffaf2; }
.stud-author-invoices h3 { margin:0 0 14px; color:var(--author-ink); font-family:Unbounded,sans-serif; font-size:20px; }
@media(max-width:760px){
    .stud-auction-switch{display:grid;width:100%;grid-template-columns:1fr}
    .stud-auction-switch__item{white-space:normal;text-align:center}
    .stud-author-notice{align-items:stretch;flex-direction:column}
    .stud-author-grid-footer{align-items:flex-start;flex-direction:column}
    .stud-col-created{display:none!important}
}

/* v5: private author proposal and instruction layout */
.stud-author-auction-details,
.stud-author-own-offer {
    margin-top: 22px;
    padding: clamp(18px, 3vw, 28px);
    border: 2px solid var(--author-ink);
    border-radius: 24px;
    background: #fff;
    box-shadow: 6px 6px 0 var(--author-ink);
}
.stud-author-own-offer__head h2 {
    margin: 5px 0 7px;
    color: var(--author-ink);
    font-family: Unbounded, sans-serif;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.08;
    letter-spacing: -.055em;
}
.stud-author-own-offer__head p { margin: 0; color: var(--author-muted); }
.stud-author-own-offer__list { margin: 20px 0 0; padding: 0; list-style: none; }
.stud-author-own-offer__item { margin: 0 0 12px; padding: 16px; border: 1px solid #d8d1c8; border-radius: 16px; background: #fffaf2; }
.stud-author-own-offer__item .meta { margin-bottom: 8px; color: #6a625a; font-size: 13px; }
.stud-author-own-offer__item .content { color: var(--author-ink); line-height: 1.55; }
.stud-author-own-offer__empty { margin-top: 18px; padding: 15px 17px; border-radius: 14px; background: #f3f1ec; color: #625b53; font-weight: 700; }
.stud-author-own-offer__form { margin-top: 22px; padding-top: 20px; border-top: 1px solid #ddd6cd; }
.stud-author-own-offer__form h3 { margin: 0 0 14px; color: var(--author-ink); font-family: Unbounded, sans-serif; font-size: 20px; line-height: 1.2; }

.stud-author-instruction-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stud-author-instruction-steps .stud-author-dashboard-card h2 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.14;
    letter-spacing: -.045em;
    overflow-wrap: break-word;
    word-break: normal;
}
.stud-author-instruction-steps .stud-author-dashboard-card p {
    margin: 0;
}
@media (max-width: 720px) {
    .stud-author-instruction-steps { grid-template-columns: 1fr; }
    .stud-author-instruction-steps .stud-author-dashboard-card h2 { font-size: 22px; }
}


/* v6: compact author signup consents below submit */
.stud-author-signup-consents { display:grid; gap:8px; margin-top:14px; padding:13px 14px; border:1px solid #d8d1c8; border-radius:14px; background:#faf8f3; }
.stud-author-signup-consent { margin:0; }
.stud-author-signup-consent > label { display:flex; align-items:flex-start; gap:9px; margin:0; color:#5c564f; font-size:12px; font-weight:600; line-height:1.45; cursor:pointer; }
.stud-author-signup-consent input[type="checkbox"] { -webkit-appearance:checkbox; appearance:auto; flex:0 0 18px; width:18px; height:18px; min-width:18px; margin:1px 0 0; accent-color:#3857ff; }
.stud-author-signup-consent a { color:#3857ff; font-weight:800; text-decoration:underline; }
.stud-author-signup-consent .help-block { margin:4px 0 0 27px; color:#b82929; font-size:11px; }
.stud-author-signup-consent .help-block:empty { display:none !important; }
.stud-author-signup-consent.has-error > label { color:#b82929; }
.stud-author-own-offer__head h2 { margin-bottom:8px; }

/* v14-rejected-author-status */
.stud-author-order-status.is-rejected { background:#ffc7c7; color:#7b1f28; }
