@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#1e3542;background:#e8f1f5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}input,textarea,select{color:#203846}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.page-bg{position:fixed;inset:0;background:linear-gradient(180deg,rgba(230,241,246,.67),#e8f1f5 62%),url('./assets/gedung-ra.png') center 30%/cover no-repeat;filter:saturate(.82);z-index:-1}
.app-shell{max-width:1480px;margin:auto;padding:22px 28px 56px}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:9px 0 24px;gap:18px}
.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:55px;height:55px;object-fit:cover;border-radius:13px;background:white;box-shadow:0 2px 10px #13476b16}.brand strong,.brand small{display:block}.brand strong{font:800 16px/1.2 Manrope,Arial,sans-serif;letter-spacing:-.02em}.brand small{font-size:12px;color:#58707c;margin-top:3px}.eyebrow{display:block;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:800;color:#518096;margin-bottom:5px}.top-actions,.panel-actions,.export-controls>div{display:flex;align-items:center;gap:10px}.save-status{font-size:12px;color:#577483}
.button{border:1px solid #bfd4de;background:#f8fcfe;color:#224d61;border-radius:9px;padding:11px 15px;font-size:13px;font-weight:700;transition:background .15s,transform .15s}.button:hover{background:#e9f4f8;transform:translateY(-1px)}.button:focus-visible,.text-button:focus-visible,.icon-button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7cb3c6;outline-offset:2px}.button.secondary{background:#dceef3;border-color:#c4dce6}.button.primary{color:white;background:#236b88;border-color:#236b88}.button.primary:hover{background:#1b5d76}.button.ghost{background:white}.button.small{padding:9px 12px}.icon-button{font-size:28px;line-height:1;background:transparent;border:0;color:#4e6c7c;padding:4px 8px}
.hero{height:235px;border-radius:17px;overflow:hidden;background:linear-gradient(90deg,#0b4266ec 0%,#0b4266da 42%,#0b42665e 100%),url('./assets/gedung-ra.png') center 53%/cover;display:flex;align-items:end;justify-content:space-between;color:white;padding:35px 42px;box-shadow:0 16px 45px #12507520}.hero .eyebrow{color:#b7dce7}.hero h1{font:800 clamp(28px,3vw,42px)/1.08 Manrope,Arial,sans-serif;letter-spacing:-.045em;margin:0 0 12px;max-width:580px}.hero h1 em{font-style:normal;color:#bce3df}.hero p:last-child{font-size:13px;line-height:1.6;margin:0;max-width:510px;color:#e4f0f3}.hero-count{display:flex;align-items:center;gap:13px;border-left:1px solid #ffffff6b;padding-left:20px;flex:none}.hero-count strong{font:800 43px/1 Manrope,Arial,sans-serif}.hero-count span{font-size:12px;line-height:1.4;color:#e4f0f3}
.workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}.sidebar,.main-panel{background:#fafdfe;border:1px solid #d5e5eb;border-radius:14px;box-shadow:0 9px 32px #17496812}.sidebar{padding:21px;position:sticky;top:18px}.sidebar-heading{display:flex;align-items:center;justify-content:space-between}.sidebar h2,.panel-head h2{margin:0;font:800 21px/1.2 Manrope,Arial,sans-serif;letter-spacing:-.035em}.pill{background:#e7f2f0;border-radius:50px;padding:5px 8px;color:#547a76;font-size:11px;font-weight:700}.search-wrap input{width:100%;border:1px solid #d4e3e9;background:white;border-radius:8px;margin:17px 0 12px;padding:10px 12px;font-size:13px}.student-list{max-height:530px;overflow:auto;display:grid;gap:4px}.student-item{width:100%;border:0;background:transparent;border-radius:8px;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 9px;color:#345464;font-size:12.5px;font-weight:600;line-height:1.35}.student-item:hover{background:#eff7f9}.student-item.active{background:#e2f0f5;color:#1f6078}.student-number{width:25px;height:25px;display:grid;place-items:center;border:1px solid #d1e2e8;background:white;border-radius:7px;flex:none;font-size:11px;color:#738995}.student-item.active .student-number{background:#286e88;color:white;border-color:#286e88}.student-item .mini-status{margin-left:auto;font-size:10px;color:#5d837b;flex:none}.side-note{font-size:11px;line-height:1.55;color:#647f89;background:#f1f7f8;border:1px solid #dfebef;border-radius:8px;padding:11px;margin-top:16px}.backup-actions{display:flex;flex-direction:column;align-items:start;gap:3px;margin-top:10px}.text-button{border:0;background:none;color:#236b88;font-weight:700;font-size:11px;padding:5px}
.main-panel{padding:28px;min-width:0}.panel-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.panel-head p{font-size:12px;margin:7px 0 0;color:#6b8290}.progress-track{height:5px;background:#e4eef1;border-radius:20px;margin:17px 0 20px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:#7db2a7;transition:width .2s}.notice{font-size:12px;line-height:1.5;background:#f1f7f3;color:#567665;border:1px solid #dcebe0;border-radius:8px;padding:11px 13px}.period-toolbar{display:flex;gap:10px;align-items:end;margin:23px 0 19px;flex-wrap:wrap}.period-toolbar label,.export-controls label{font-size:11px;color:#5d7581;font-weight:700}.period-toolbar select,.export-controls select{display:block;min-width:155px;margin-top:5px}.form-card{border:1px solid #dce9ed;border-radius:11px;padding:22px;margin:13px 0;background:white}.section-title{display:flex;gap:12px;align-items:start;margin-bottom:21px}.section-title>span{width:26px;height:26px;border-radius:7px;background:#dceff0;display:grid;place-items:center;color:#2e7180;font-weight:800;font:800 12px Manrope,Arial,sans-serif;flex:none}.section-title h3,.export-card h3{font:800 16px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.02em;margin:0}.section-title p,.export-card p{font-size:11.5px;color:#718794;margin:5px 0 0;line-height:1.55}
.identity-grid,.feedback-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.identity-grid label,.feedback-grid label,.block-label{display:block;font-weight:700;font-size:11px;color:#526c7b}.identity-grid input,.feedback-grid input,.feedback-grid textarea,.block-label textarea,.period-toolbar select,.export-controls select,.editor-row input,.editor-row select{width:100%;background:#fbfdfe;border:1px solid #d3e2e8;border-radius:7px;padding:10px 11px;margin-top:6px;font-size:12px;outline:0}.feedback-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-grid textarea,.block-label textarea{resize:vertical;min-height:85px;line-height:1.5}.block-label textarea{min-height:94px}.table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.report-table th{font-size:10.5px;color:#577684;background:#eaf3f6;text-align:left;padding:11px 9px;font-weight:800;border-bottom:1px solid #d9e8ee}.report-table td{vertical-align:top;border-bottom:1px solid #e3edef;padding:12px 9px;font-size:11.5px;line-height:1.45}.report-table tr:last-child td{border-bottom:0}.report-table th:nth-child(1){width:11%}.report-table th:nth-child(2){width:28%}.report-table th:nth-child(3){width:21%}.report-table th:nth-child(4){width:19%}.report-table th:nth-child(5){width:21%}.report-table td:first-child{font-weight:800;color:#2d6478}.report-table td:nth-child(3){color:#65808a}.report-table select,.report-table textarea{border:1px solid #d4e4e8;background:white;width:100%;border-radius:6px;padding:7px;font-size:11px}.report-table textarea{min-height:52px;resize:vertical;line-height:1.35}.report-table textarea.activity-field{min-height:55px;background:#f8fcfd;border-color:#c9dee6;color:#25495a}.report-table textarea.activity-field:hover{border-color:#8fb8c8}.report-table textarea.activity-field:focus{background:white}.report-table select.rated{color:#255e65;background:#f0f8f4;border-color:#cfe8da;font-weight:700}.scale-key{padding-top:15px;border-top:1px solid #e3ecef;color:#728893;font-size:10.5px;line-height:1.7}.scale-key b{color:#486a79}.day-group{font-weight:800;color:#366e83;background:#f4f9fb;padding:8px 10px;font-size:11px;display:none}.narrative{border-left:3px solid #a6cfc9;padding:12px 16px;background:#f4f9f7;color:#365b5f;font-size:12px;line-height:1.7;border-radius:0 7px 7px 0;margin-bottom:16px;white-space:pre-wrap}.narrative strong{color:#225e6d}.export-card{background:#e8f3f5;border:1px solid #c9e2e8;border-radius:11px;display:flex;justify-content:space-between;gap:22px;padding:22px;margin:17px 0 4px}.export-card>div:first-child{max-width:530px}.export-controls{display:flex;align-items:end;gap:12px;flex-direction:column}.export-controls>div{white-space:nowrap}
dialog{border:1px solid #d5e4e9;border-radius:13px;box-shadow:0 25px 80px #15374850;color:#233f4c}dialog::backdrop{background:#102e40a8}.modal{width:min(850px,calc(100vw - 30px));max-height:88vh;overflow:auto;padding:24px}.modal-head{display:flex;justify-content:space-between;align-items:start}.modal-head h2{font:800 20px Manrope;margin:0}.modal>p{font-size:12px;color:#647f8b;line-height:1.5}.editor-row{display:grid;grid-template-columns:100px 2fr 1.5fr 35px;gap:8px;align-items:end;border-top:1px solid #e4eef1;padding:12px 0}.editor-row label{font-size:10px;color:#617b87;font-weight:700}.editor-row input,.editor-row select{margin-top:4px}.editor-row .icon-button{font-size:20px}.modal-foot{display:flex;justify-content:space-between;margin-top:15px}.preview-modal{width:min(950px,calc(100vw - 20px));height:min(92vh,1200px);padding:0}.preview-head{display:flex;justify-content:space-between;align-items:center;padding:9px 17px;border-bottom:1px solid #dbe8ed;font-size:13px}.preview-modal iframe{border:0;width:100%;height:calc(100% - 49px);background:#e7eef1}
.period-modal{width:min(430px,calc(100vw - 30px));padding:24px}.period-modal p{font-size:12px;color:#647f8b;line-height:1.5;margin:17px 0}.period-modal label{display:block;font-size:11px;color:#526c7b;font-weight:700}.period-modal input{display:block;width:100%;background:#fbfdfe;border:1px solid #d3e2e8;border-radius:7px;padding:10px 11px;margin-top:6px;font-size:12px}.period-modal .modal-foot{justify-content:flex-end}
@media(max-width:1000px){.workspace{grid-template-columns:230px minmax(0,1fr)}.main-panel{padding:20px}.identity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-table{min-width:720px}.export-card{flex-direction:column}.export-controls{align-items:start}}
@media(max-width:720px){.app-shell{padding:12px}.topbar{align-items:start}.top-actions{align-items:end;flex-direction:column}.top-actions .save-status{text-align:right}.hero{padding:25px;height:220px}.hero-count{display:none}.workspace{display:block}.sidebar{position:static;margin-bottom:12px;padding:15px}.student-list{display:flex;overflow-x:auto;max-height:none;gap:5px}.student-item{min-width:165px}.student-item .mini-status{display:none}.side-note,.backup-actions{display:none}.main-panel{padding:16px}.panel-head{flex-direction:column}.panel-actions{width:100%}.identity-grid,.feedback-grid{grid-template-columns:1fr}.form-card{padding:16px}.export-controls>div{display:flex;flex-wrap:wrap}.editor-row{grid-template-columns:1fr 1fr}.editor-row label:nth-child(2),.editor-row label:nth-child(3){grid-column:span 2}}
@media(max-width:430px){.brand-logo{width:43px;height:43px}.brand strong{font-size:13px}.brand small{font-size:10px}.top-actions .button{font-size:11px;padding:8px}.save-status{max-width:100px}.hero{height:195px}.hero h1{font-size:26px}.hero p:last-child{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
