/* STIKESMI Editorial v3: glass surfaces, deliberate motion and nine complete presets. */
:root{--ease-out:cubic-bezier(.22,1,.36,1)}html{scroll-padding-top:110px}.glass,.btn,input,textarea,select,.nav-link{transition:background-color .35s,border-color .35s,color .25s,box-shadow .35s,transform .35s var(--ease-out)}.btn:hover{transform:translateY(-2px)}.btn:active{transform:translateY(1px) scale(.98)}.work-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px -25px rgba(75,60,145,.35)}.stat-card:hover{transform:translateY(-3px)}.nav-link:hover{transform:translateX(3px)}.ambient{animation:ambient-drift 22s ease-in-out infinite alternate}.ambient-b{animation-delay:-10s}.floating-book{animation:book-float 7s ease-in-out infinite}.appearance-changing .glass{animation:surface-switch .55s var(--ease-out)}
@keyframes ambient-drift{to{transform:translate(25px,35px) scale(1.12)}}@keyframes book-float{50%{transform:translateY(-12px) rotate(-8deg)}}@keyframes surface-switch{50%{filter:brightness(1.06);transform:translateY(-2px)}}
/* iOS inspired glass: layered frost, subtle highlights, pill controls. */
html[data-theme=glassmorphism]{--bg:#e9edf8;--surface:rgba(255,255,255,.58);--solid:#f8faff;--field:rgba(255,255,255,.46);--line:rgba(115,135,170,.2);--radius:28px;--accent:#5264d9;--accent2:#9b7be8;--shadow:0 20px 65px -35px rgba(45,67,123,.3)}html[data-theme=glassmorphism][data-mode=dark]{--bg:#101726;--surface:rgba(30,42,66,.58);--solid:#1b2841;--field:rgba(14,24,43,.48);--line:rgba(180,205,255,.16);--ink:#edf3ff;--muted:#aab9d1;--accent:#aebeff;--accent2:#b499ff;--soft:rgba(166,183,255,.11)}html[data-theme=glassmorphism] .glass{background:linear-gradient(145deg,rgba(255,255,255,.16),transparent 70%),var(--surface);backdrop-filter:blur(28px) saturate(165%);-webkit-backdrop-filter:blur(28px) saturate(165%);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 1px 0 0 rgba(255,255,255,.2),var(--shadow)}html[data-theme=glassmorphism][data-mode=dark] .glass{box-shadow:inset 0 1px 0 rgba(232,243,255,.17),0 20px 60px -35px rgba(0,0,0,.7)}html[data-theme=glassmorphism] .btn,html[data-theme=glassmorphism] .appearance-tools select{border-radius:18px}html[data-theme=glassmorphism] .topbar,html[data-theme=glassmorphism] .public-header{border-radius:26px}html[data-theme=glassmorphism] .ambient-a{background:radial-gradient(circle,#b5c4f6,transparent 70%);opacity:.6}html[data-theme=glassmorphism] .ambient-b{background:radial-gradient(circle,#c8aeed,transparent 70%);opacity:.5}
html[data-theme=default]{--accent:#2453a3;--accent2:#5889c5;--radius:14px}html[data-theme=default] .glass{background:var(--solid);box-shadow:0 8px 25px -20px #203654}html[data-theme=default] .btn-primary{background:var(--accent);color:white}
html[data-theme=neon] .glass{box-shadow:inset 0 1px 0 rgba(60,220,235,.12),0 0 35px -25px #28d7e9}html[data-theme=neon] .nav-link.active{box-shadow:inset 3px 0 #31dbe8}html[data-theme=neon] .btn-primary{box-shadow:0 6px 22px -10px #1ae2e2}
html[data-theme=neumorphism]{--radius:24px;--field:rgba(124,133,170,.06)}html[data-theme=neumorphism] input,html[data-theme=neumorphism] textarea,html[data-theme=neumorphism] select{box-shadow:inset 3px 3px 8px rgba(45,51,80,.09),inset -3px -3px 8px rgba(255,255,255,.12)}html[data-theme=neumorphism] .btn-primary{background:var(--accent);color:white}
html[data-theme=bento]{--radius:20px;--accent:#4e52bd;--accent2:#8086de}html[data-theme=bento] .stat-card:nth-child(2n){background:var(--soft)}html[data-theme=bento] .work-card{border-top:4px solid var(--accent2)}html[data-theme=bento] .btn{border-radius:12px}
html[data-theme=neobrutalism]{--accent:#6842bc;--accent2:#9474de}html[data-theme=neobrutalism] .work-card:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--ink)}html[data-theme=neobrutalism] .pill{border:1px solid var(--ink);border-radius:4px}html[data-theme=neobrutalism] .glass{background:var(--solid)}html[data-theme=neobrutalism] .btn-primary{background:#e2cd69;color:#211b32}
html[data-theme=claymorphism]{--accent:#9d527c;--accent2:#c789ab;--soft:rgba(202,130,170,.12)}html[data-theme=claymorphism] .btn-primary{background:linear-gradient(135deg,#c885a5,#955b9a);box-shadow:inset 0 2px 3px #ffffff40,0 7px 15px -8px #955b9a;color:white}html[data-theme=claymorphism] .stat-icon{border-radius:16px}
html[data-theme=spatial-frost]{--accent:#377a90;--accent2:#71a9bb;--radius:22px}html[data-theme=spatial-frost] .glass{border-color:rgba(135,179,195,.24);backdrop-filter:blur(40px) saturate(140%)}html[data-theme=spatial-frost] .btn-primary{background:linear-gradient(120deg,#2b8291,#5477ac);color:white}html[data-theme=spatial-frost] .ambient-b{background:#73c7d040}
html[data-theme=liquid-glass]{--radius:32px;--accent:#7755b9;--accent2:#a080da}html[data-theme=liquid-glass] .glass{border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.22),transparent 45%),var(--surface);box-shadow:inset 0 2px 1px #ffffff50,inset 0 -1px 0 #ffffff25,0 22px 60px -36px #6c56a7;backdrop-filter:blur(34px) saturate(180%)}html[data-theme=liquid-glass] .btn{border-radius:24px}html[data-theme=liquid-glass] .icon-button{border-radius:50%}
.submission-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px}.submission-steps a{display:grid;gap:3px;text-align:center;color:var(--accent);font-weight:800;font-size:15px;padding:8px;border-radius:14px}.submission-steps span{font-size:10px;color:var(--muted)}.submission-steps a:hover{background:var(--soft)}.check-row{display:flex;align-items:flex-start;gap:12px;margin:16px 0;line-height:1.8}.check-row input{width:18px;min-width:18px;height:18px;min-height:18px;margin-top:3px;padding:0;accent-color:var(--accent)}.author-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,1fr) auto;align-items:end;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.author-row input{font-size:11px}.author-row .btn{margin-bottom:2px}.author-source{margin-top:16px}.add-files{margin-top:12px}.selected-files{display:grid;gap:10px;margin-top:15px}.selected-file{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.selected-file>div{min-width:0;flex:1}.selected-file strong{display:block;overflow-wrap:anywhere;font-size:11px}.selected-file small{font-size:10px;color:var(--muted)}.drag-over{outline:2px solid var(--accent);outline-offset:4px}.preview-link{background:transparent;border:0;color:var(--accent);font:inherit;font-size:10px;padding:6px 0 0;display:block;cursor:pointer}.document-panel{margin-top:24px;overflow:hidden}.document-frame{display:block;border:0;width:100%;height:720px;background:var(--solid)}.preview-filename{padding:0 24px;overflow-wrap:anywhere}.editorial-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr);align-items:start;gap:24px;margin-top:24px}.editorial-layout>aside{min-width:0}.stage-track{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:20px 0}.stage-track li{font-size:10px;padding:10px 13px;background:var(--soft);border:1px solid var(--line);border-radius:14px;color:var(--muted)}.stage-track .current{background:var(--accent);color:var(--solid)}.stage-action{margin-top:18px}.editorial-timeline{padding:0 0 0 15px;list-style:none;border-left:2px solid var(--line)}.editorial-timeline li{position:relative;margin:0 0 23px;font-size:11px;overflow-wrap:anywhere}.editorial-timeline li:before{content:'';position:absolute;left:-21px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--accent)}.editorial-timeline small,.discussion-message small{display:block;color:var(--muted);font-size:10px}.editorial-timeline p,.discussion-message p{font-size:12px;line-height:1.9}.discussion-list{margin-top:20px}.discussion-message{padding:18px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.notification-bell{position:relative}.notification-badge{position:absolute;right:-5px;top:-6px;border-radius:20px;background:#e9507f;color:white;padding:2px 5px;font-size:9px;line-height:1.4}.notification-row{display:flex;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.notification-row>div{flex:1;min-width:0}.notification-row p{margin:0 0 7px;font-size:12px;overflow-wrap:anywhere}.notification-row small{color:var(--muted);font-size:10px}.notification-dot{width:9px;height:9px;border-radius:50%;background:var(--line);flex-shrink:0}.unread .notification-dot{background:var(--accent)}.popup-dialog,.local-preview-dialog{border:1px solid var(--line);color:var(--ink);background:var(--solid)!important;padding:32px;text-align:center;width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);border-radius:28px;animation:popup-in .35s var(--ease-out)}.popup-dialog::backdrop,.local-preview-dialog::backdrop{background:#121a355c;backdrop-filter:blur(9px)}.popup-dialog h2{font-size:25px}.popup-dialog p{font-size:13px;line-height:1.9;overflow-wrap:anywhere;margin-bottom:24px}.popup-symbol{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 20px;border:2px solid #48b59b;border-radius:50%;color:#259a7f;font-size:35px;background:#48b59b15}.popup-symbol.error{color:#d45377;border-color:#d45377;background:#d4537715}.popup-symbol.info{color:var(--accent);border-color:var(--accent);background:var(--soft)}.local-preview-dialog{width:min(1000px,calc(100vw - 32px));max-height:90dvh}.local-preview-dialog h2{font-size:17px;overflow-wrap:anywhere}.local-preview-dialog iframe{display:block;width:100%;height:65dvh;border:0;margin-top:15px}.local-preview-dialog img{display:block;max-width:100%;max-height:65dvh;margin:15px auto;object-fit:contain}.local-preview-dialog pre{white-space:pre-wrap;text-align:left;overflow-wrap:anywhere;max-height:65dvh;overflow:auto}.is-loading:after{content:'';display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite;margin-left:8px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes popup-in{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}.detail-subtitle{font-size:17px;color:var(--muted)}
@media(max-width:1100px){.author-row{grid-template-columns:1fr 1fr}.editorial-layout{grid-template-columns:minmax(0,1fr)}.document-frame{height:600px}}@media(max-width:700px){.author-row{grid-template-columns:minmax(0,1fr)}.author-row .btn{justify-self:start}.submission-steps{gap:2px;padding:8px}.submission-steps a{font-size:12px;padding:7px 2px}.submission-steps span{font-size:9px}.selected-file{flex-wrap:wrap}.selected-file>div{flex-basis:100%}.document-frame{height:480px}.notification-row{flex-wrap:wrap}.topbar .appearance-tools select{width:84px}.topbar-title strong{font-size:11px}.topbar .appearance-tools{gap:5px}.popup-dialog{padding:25px}.stage-track li{padding:8px;font-size:9px}.local-preview-dialog{padding:18px}.document-panel .panel-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.btn:hover,.work-card:hover,.stat-card:hover,.nav-link:hover{transform:none!important}}

.swal-local-root{backdrop-filter:blur(8px)}.swal-local-box,.swal-local-toast{background:var(--solid);color:var(--ink);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}.swal-local-title,.swal-local-text,.swal-local-toast-title{color:var(--ink)}.swal-local-text{line-height:1.8}.swal-local-confirm{background:var(--accent);color:var(--solid)}.swal-local-cancel{background:var(--soft);color:var(--ink)}.swal-local-toast{border-radius:18px;max-width:calc(100vw - 24px)}
