:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;background:#f5f7fa;font-family:Inter,Noto Sans TC,Microsoft JhengHei,Arial,sans-serif}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{min-height:100vh}h1,h2,h3,p{color:inherit}*{box-sizing:border-box}body{color:#1f2937;background:#f4f6f9;min-width:320px;min-height:100vh;margin:0;font-family:Inter,Noto Sans TC,Microsoft JhengHei,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.page{min-height:100vh}.topbar{z-index:10;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;min-height:76px;padding:16px 32px;display:flex;position:sticky;top:0}.brand{color:#d97706;font-size:22px;font-weight:800}.subtitle{color:#6b7280;margin-top:3px;font-size:13px}.topbar-actions{gap:10px;display:flex}.profile-button,.logout-button,.secondary-button{color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:9px 16px}.profile-button:hover,.secondary-button:hover{background:#f9fafb}.logout-button{color:#b45309;border-color:#d97706}.logout-button:hover{background:#fff7ed}.content{width:min(1140px,100% - 32px);margin:36px auto}.welcome-card,.section-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 28px #0f172a0d}.welcome-card{border-left:5px solid #f59e0b;padding:32px}.welcome-card h1{margin:14px 0 8px;font-size:30px}.welcome-card p{color:#6b7280;margin:0;line-height:1.7}.status{color:#15803d;align-items:center;gap:8px;font-size:14px;font-weight:700;display:inline-flex}.status-dot{background:#22c55e;border-radius:50%;width:9px;height:9px}.section-card{margin-top:24px;padding:28px 32px}.section-heading{margin-bottom:22px}.application-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.section-heading h2{margin:0;font-size:21px}.section-heading p{color:#6b7280;margin:7px 0 0;font-size:14px}.application-count{color:#9a3412;background:#fff7ed;border-radius:999px;padding:6px 11px;font-size:13px;font-weight:700}.application-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.application-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;transition:transform .2s,box-shadow .2s;position:relative}.application-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a17}.application-icon{color:#c2410c;background:#fff7ed;border-radius:12px;place-items:center;width:46px;height:46px;font-size:21px;font-weight:800;display:grid}.application-status{color:#4b5563;background:#f3f4f6;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;position:absolute;top:24px;right:24px}.application-card h3{margin:20px 0 0;font-size:19px}.application-card p{color:#6b7280;min-height:50px;margin:12px 0 20px;line-height:1.65}.application-button,.primary-button{color:#fff;background:#d97706;border:0;border-radius:8px;width:100%;padding:11px 14px;font-weight:700}.application-button:hover,.primary-button:hover{background:#b45309}.primary-button:disabled{opacity:.65;cursor:wait}.profile-list{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.profile-list div{border-top:1px solid #f0f1f3;grid-template-columns:120px 1fr;gap:16px;padding:15px 0;display:grid}.profile-list div:nth-child(odd){padding-right:28px}.profile-list dt{color:#6b7280}.profile-list dd{overflow-wrap:anywhere;margin:0;font-weight:600}.message{color:#6b7280}.error-message,.success-message{border-radius:8px;padding:12px 14px}.error-message{color:#b91c1c;background:#fef2f2}.success-message{color:#15803d;background:#f0fdf4}.empty-state{color:#6b7280;text-align:center;background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;padding:30px}.modal-backdrop{z-index:100;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:min(620px,100%);max-height:calc(100vh - 40px);padding:28px;overflow:auto;box-shadow:0 24px 60px #0f172a47}.modal-header{justify-content:space-between;gap:20px;margin-bottom:24px;display:flex}.modal-header h2{margin:0;font-size:23px}.modal-header p{color:#6b7280;margin:7px 0 0;line-height:1.5}.modal-close{color:#4b5563;background:#f3f4f6;border:0;border-radius:8px;width:36px;height:36px;font-size:24px;line-height:1}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{gap:7px;display:grid}.field-full{grid-column:1/-1}.field span{color:#374151;font-size:14px;font-weight:700}.field input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:11px 12px}.field input:focus{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b24}.field input:disabled{color:#6b7280;background:#f3f4f6}.modal-actions{border-top:1px solid #e5e7eb;justify-content:space-between;gap:14px;margin-top:24px;padding-top:20px;display:flex}.modal-actions-right{gap:10px;display:flex}.primary-button{width:auto}@media (width<=900px){.application-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.topbar{padding:14px 18px}.subtitle{display:none}.content{margin-top:24px}.welcome-card,.section-card{padding:22px}.welcome-card h1{font-size:25px}.application-grid,.profile-list,.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.profile-list div:nth-child(odd){padding-right:0}.profile-list div{grid-template-columns:1fr;gap:6px}.modal-actions{flex-direction:column}.modal-actions-right{width:100%}.modal-actions-right button,.modal-actions>button{flex:1}}.content-hidden{display:none}.external-button{color:#fff;background:#d97706;border:1px solid #d97706;border-radius:8px;justify-content:center;align-items:center;padding:9px 16px;font-weight:600;line-height:normal;text-decoration:none;display:inline-flex}.external-button:hover{background:#b45309;border-color:#b45309}.embedded-content{background:#fff;width:100%;height:calc(100vh - 76px);min-height:500px;overflow:hidden}.embedded-frame{background:#fff;border:0;width:100%;height:100%;display:block}@media (width<=680px){.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.profile-button,.logout-button,.external-button{padding:8px 11px;font-size:13px}.embedded-content{height:calc(100vh - 76px);min-height:420px}}
