.admin-wrap{max-width:1150px;margin:auto;padding:35px 5% 70px}.admin-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:45px;font-size:12px}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:25px}.admin-heading h1{font-size:54px;margin:12px 0}.admin-heading p{font-size:13px}.filters{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-top:25px}.order-card{background:#faf9f4;border:1px solid var(--line);padding:25px;margin-top:20px}.order-heading{display:flex;align-items:center;gap:15px;font-size:11px;flex-wrap:wrap}.order-heading time{margin-left:auto;color:var(--muted);font-size:10px}.status{padding:3px 10px;border-radius:20px;background:#e5e7df}.status.new{background:#e7edb1}.status.confirmed{background:#d5e5cc}.status.delivered{background:#c9ddd7}.status.cancelled{background:#e9dcd8}.order-card h2{font-size:25px;margin:15px 0 22px;overflow-wrap:anywhere}.order-details{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:20px;overflow-wrap:anywhere}.order-details small{font-size:9px;letter-spacing:1px;color:var(--muted)}.order-details p{margin:5px 0 12px;font-size:13px;white-space:pre-wrap}.phone-link{border-bottom:1px solid #7e8e69}.order-edit{display:grid;grid-template-columns:1fr 2fr auto;gap:20px;align-items:end;border-top:1px solid var(--line);margin-top:10px}.order-edit textarea{min-height:48px;height:48px}.order-edit .btn{margin-bottom:0;height:48px}.btn:disabled,button:disabled{opacity:.5;cursor:default}.error{color:#943a28;background:#f4e3dc;padding:12px;font-size:12px}.empty{text-align:center;padding:55px 20px;border:1px dashed var(--line);margin-top:25px}.empty p{color:var(--muted);font-size:13px}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:25px;font-size:12px}.pagination button{background:none;border:1px solid var(--line);padding:9px 15px}.order-success-id{font-size:20px;font-weight:700;letter-spacing:1px}@media(max-width:700px){.admin-heading{display:block}.admin-heading .btn{margin-top:10px}.filters,.order-details,.order-edit{grid-template-columns:1fr;gap:5px}.order-heading time{margin-left:0;flex-basis:100%}.order-edit .btn{margin-top:15px}.order-card{padding:20px}}
.admin-tabs{display:flex;gap:24px;margin-bottom:38px;border-bottom:1px solid var(--line);padding-bottom:15px}.admin-tabs a[aria-current]{color:var(--green);border-bottom:2px solid var(--green);padding-bottom:15px}.cms h1{font-size:46px}.cms-layout{display:grid;grid-template-columns:240px 1fr;gap:30px;margin-top:30px}.cms-switch{display:flex;margin-bottom:15px}.cms-switch button{flex:1;background:none;border:1px solid var(--line);padding:10px;font-size:12px}.cms-switch .active{background:var(--green);color:white}.cms aside>.btn{width:100%;margin-bottom:20px}.cms-item{display:flex;gap:10px;width:100%;padding:15px;text-align:left;background:#faf9f4;border:1px solid var(--line);margin-bottom:10px}.cms-item.active{border:1px solid var(--green);background:#e9eddf}.cms-item img{width:45px;height:55px;object-fit:cover}.cms-item strong{display:block;font-size:12px;overflow-wrap:anywhere}.cms-item small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.cms-editor{padding:25px;background:#faf9f4;border:1px solid var(--line);min-width:0}.editor-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-title h2{font-size:25px;margin:0}.cms fieldset{border:0;padding:0;margin:0;min-width:0}.long-text{min-height:190px}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.language-checks{margin-top:20px;font-size:11px}.language-checks label{display:inline-flex;gap:8px;align-items:center;margin:10px 15px 0 0}.language-checks input{width:auto;margin:0}.cover-preview img{display:block;width:100%;max-height:280px;object-fit:contain;background:#e8e9df}.cover-preview button,.secondary{border:1px solid var(--line);background:none;padding:10px 14px;font-size:11px}.cover-preview button{margin-top:10px}.editor-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px;align-items:center}.editor-actions a{font-size:11px}.cms input[type=file]{font-size:11px}.cms .result{font-size:12px}@media(max-width:760px){.cms-layout{grid-template-columns:1fr}.cms h1{font-size:36px}.cms-editor{padding:20px}.editor-title{flex-wrap:wrap}.editor-grid{grid-template-columns:1fr}.cms aside{max-height:350px;overflow:auto}}
.answer-settings{border-top:1px solid var(--line);margin-top:28px;padding-top:12px}.answer-settings h3{font-size:17px;font-weight:600}.answer-settings textarea{min-height:110px}.answer-correct{background:#dcebcf;color:#2b4d26}
.scenario-editor{border-top:1px solid var(--line);margin-top:30px;padding-top:15px}.scenario-tabs{margin-top:28px}.scenario-monologue{min-height:420px}.evidence-editor{border-bottom:1px solid var(--line);padding-bottom:20px}.scenario-editor details{margin-top:25px}.scenario-editor summary{cursor:pointer;font-size:13px}

.rich-field{margin:18px 0}.rich-field>label{display:block;margin-bottom:8px}.rich-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:8px;background:#eee9df;border:1px solid #d4ccbe;border-bottom:0;border-radius:6px 6px 0 0}.rich-toolbar button{padding:7px 10px;border:1px solid #cbc2b2;border-radius:4px;background:#fffaf0;color:#332d24;font-size:13px;cursor:pointer}.rich-toolbar button:first-child{font-weight:700}.rich-toolbar button:nth-child(2){font-style:italic}.rich-toolbar button:focus-visible{outline:2px solid #795733;outline-offset:2px}.rich-field textarea{width:100%;margin:0}.rich-preview{padding:12px;border:1px solid #d4ccbe;background:#f7f0e0}.rich-preview summary{cursor:pointer}.rich-preview .formatted-content{padding-top:20px;font-size:16px;line-height:1.8}.rich-preview .formatted-content h3{font-family:Prata,Georgia,serif}

.banner-save{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:25px 0}.banner-save span{font-size:13px;color:#716b5b}.banner-order{display:flex;gap:8px}.banner-order button,.banner-background button{padding:8px 12px;cursor:pointer}.banner-background{margin:12px 0 24px}.banner-background>img{width:100%;height:130px;object-fit:cover;border-radius:8px;display:block;margin-bottom:8px}.banner-preview-wrap{margin:24px 0}.banner-preview-wrap summary{cursor:pointer;margin-bottom:16px}.banner-preview{display:flex;align-items:center;gap:20px;padding:35px 25px;min-height:340px;border-radius:8px;background-size:cover;background-position:center;color:#f4ebd6;overflow:hidden}.banner-preview>div{flex:1;min-width:0}.banner-preview h3{font:30px/1.2 Prata,Georgia,serif;white-space:pre-line;overflow-wrap:anywhere;color:#f4ebd6;margin:20px 0}.banner-preview em{color:#d4b16c}.banner-preview p{white-space:pre-line;color:#e0d8c6;font-size:13px;line-height:1.7}.banner-preview small{font-size:9px;letter-spacing:2px}.banner-preview>img{width:29%;max-height:260px;object-fit:contain;transform:rotate(3deg)}.preview-button{display:inline-block;border-radius:30px;padding:12px 18px;background:#c9ae74;color:#29291e;font:14px Georgia,serif}.cms-switch button[aria-pressed=true]{background:#374a36;color:white}@media(max-width:600px){.banner-preview{padding:22px 16px;gap:12px}.banner-preview h3{font-size:22px}.banner-order{flex-wrap:wrap}}

.admin-account{max-width:1240px;margin:16px auto 0;padding:0 24px;display:flex;justify-content:flex-end;gap:24px;font-size:13px;color:#665e50;flex-wrap:wrap}.admin-account a{text-decoration:underline}.owner-login{max-width:640px;margin:60px auto;padding:48px;background:#faf7ed;border:1px solid #d8cfba;border-radius:8px 56px 8px 8px}.owner-login>.logo{display:block;margin-bottom:40px}.owner-login h1{font-size:clamp(32px,6vw,52px);line-height:1.2}.owner-login .btn{display:inline-flex;margin:20px 0}.owner-status{border-left:3px solid #53644a;padding:12px 16px;background:#edf0e5}.owner-shortcuts{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 28px}.owner-shortcuts a{text-decoration:underline}@media(max-width:680px){.owner-login{margin:30px 16px;padding:28px 24px}.admin-account{justify-content:flex-start;gap:12px;overflow-wrap:anywhere}}

.owner-login form{display:grid;gap:20px;margin:28px 0}.owner-login label{display:grid;gap:8px}.owner-login input{width:100%;padding:14px;border:1px solid #b7a27c;border-radius:8px;background:#fffaf0;color:#302e23;font:inherit}.owner-login button{cursor:pointer}.admin-account button{font:inherit;background:none;border:0;text-decoration:underline;cursor:pointer;color:inherit}
