/* iOS-inspired controls; existing media geometry and MedOne branding stay intact. */
:root{--bg:#f2f2f7;--ink:#1c1c1e;--muted:#73737d;--border:#e5e5ea;--ios-surface:#fff;--ios-radius:16px}
body{font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',system-ui,sans-serif;-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--bg)}
h1,h2,h3{letter-spacing:-.45px}.page-top h1{font-weight:750}.page-top p{line-height:1.5}.sidebar{background:#ffffffeb;border-color:#dedee7}.nav-item{border-radius:13px;min-height:46px;font-weight:550}.nav-item.active{background:#3668e410}.nav-item.create{border-radius:14px;box-shadow:0 4px 12px #3668e416}.account{border-color:#e5e5ea}
.primary,.outline{min-height:44px;border-radius:13px;font-weight:650}.outline{border:1px solid #e5e5ea;background:#f5f5f9;color:#34343b}.primary:active,.outline:active{filter:brightness(.94)}.icon-button{min-width:40px;min-height:40px;border-radius:50%}.icon-button:active{background:#e8e8ee}.tabs{border:0;gap:4px;background:#e7e7ed;padding:3px;border-radius:11px}.tabs button{border:0;border-radius:8px;padding:9px 14px;min-height:34px;color:#686871}.tabs button.active{background:#fff;box-shadow:0 1px 4px #00000012;color:#1c1c1e}.feed-toolbar .tabs{width:max-content}.chip{border:0;border-radius:20px;background:#e9e9f0;min-height:36px;padding:8px 15px}.chip.active{background:#1c1c1e;color:#fff}
.post:not(.reel-card){border-color:#e6e6ec;border-radius:18px;box-shadow:0 2px 7px #20203803;overflow:hidden}.post-head{background:#fff}.post-person small{color:#8e8e93}.follow-link{color:var(--blue)}.post-body{background:#fff}.post-actions{background:#fff}.post-actions button{min-width:40px;min-height:40px;align-items:center;justify-content:center}.post-actions .liked{color:#ff375f}.post-actions .liked svg{fill:#ff375f;stroke:#ff375f}.comments-link{color:#8e8e93}.post-date{color:#98989f}.booking-ribbon{font-weight:650}.post:not(.reel-card) .booking-ribbon{border-radius:0}.guest-booking-note{background:#f5f5fa;color:#7b7b85}
input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea,select{border:1px solid transparent;border-radius:12px;background:#f2f2f7;padding:12px 14px;color:#1c1c1e;box-shadow:none}input:focus,textarea:focus,select:focus{outline:2px solid #3668e433;border-color:#3668e4!important}input[type=checkbox],input[type=radio],input[type=range]{accent-color:var(--blue)}label{color:#63636e;font-weight:550}.form-hint{color:#86868f}.form-error{color:#d73549}input[readonly]{color:#8e8e93!important}
dialog:not(.composer-dialog):not(.story-viewer){border:1px solid #ffffff9c;border-radius:24px;box-shadow:0 18px 65px #16163326;background:white}dialog::backdrop{background:#14142159;backdrop-filter:none}.modal-head{border-bottom:1px solid #ededf2;padding:16px 20px}.modal-head h2{font-size:18px;font-weight:700}.modal-head #modal-close{background:#ededf2;color:#7b7b85;min-width:30px;min-height:30px;width:30px;height:30px}.modal-head #modal-close .icon{width:17px;height:17px}.social-comment-form textarea{border-radius:22px}.social-comment-form .primary{border-radius:22px}.comments-sheet .modal-head{border-bottom:0}.comment-tools{color:#8e8e93}.profile-photo-editor .photo-pick{color:var(--blue)}
.settings-shell{background:transparent;border:0}.settings-page-header{border:0;background:transparent}.settings-page-header h2{font-weight:750}.settings-account-row{border:0;border-radius:16px;background:white;margin-bottom:22px}.settings-group{border:0;padding:0;margin:20px 0;border-radius:16px;background:white;overflow:hidden}.settings-group h3{margin:0;padding:12px 16px 8px;font-size:11px;font-weight:600;color:#8e8e93;background:#f8f8fc;text-transform:uppercase;letter-spacing:.45px}.settings-row{min-height:56px;border-bottom:1px solid #efeff4;padding:13px 16px;gap:12px}.settings-row:last-child{border:0}.settings-row b{font-weight:550;font-size:14px}.settings-row small{font-size:11px;color:#8e8e93}.settings-row>.icon:first-child{width:24px;height:24px;color:var(--blue)}.settings-logout,.settings-logout>.icon:first-child{color:#ff3b30}.settings-language select{background:#f2f2f7;border-radius:10px}.settings-footer{color:#98989f}.settings-session{margin-bottom:8px}
.profile-card{border-radius:20px;border-color:#e5e5ea;box-shadow:none}.ig-profile-actions .outline{background:#e9e9ef;border:0;min-height:36px;border-radius:10px}.profile-tabs{background:transparent;border-radius:0;border-top:1px solid #e5e5ea;box-shadow:none}.profile-tabs button.active{box-shadow:none;background:#fff}.search-input-wrap{background:#e8e8ef;border-radius:13px}.search-filters button{border-radius:10px;background:#e8e8ef}.search-filters button.active{background:var(--brand-gradient);color:white}.search-account-row{border-radius:13px}.search-section-heading h2{font-weight:700}.metric,.doctor-card,.table-card,.settings-card{border-radius:18px;border-color:#e5e5ea;box-shadow:none}.notification-row{border-radius:14px}.notification-row.unread{background:#3668e409}.trust-badge{border-radius:8px}.compose-next{color:var(--blue);font-weight:700}.ratio-options button{border-radius:12px}.ratio-options button.selected{border-color:var(--blue);color:var(--blue);background:#3668e40a}.trim-clock-panel{border-radius:14px}.composer-filmstrip{border-radius:10px}#toast{border-radius:18px;background:#262632f2;box-shadow:0 8px 30px #0002;font-weight:500}
@media(max-width:768px){input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px}.settings-page main{padding-left:16px;padding-right:16px}.settings-page-header{top:calc(58px + env(safe-area-inset-top));margin:0 -16px;padding:14px 16px;background:#f2f2f7f5}.settings-page-header h2{font-size:23px}.settings-account-row{margin-top:12px}.settings-row{min-height:58px}.settings-group{margin:18px 0}.settings-group h3{font-size:11px}.settings-language select{width:112px}.profile-photo-editor .avatar{width:88px;height:88px}}
@media(max-width:650px){.mobile-header{background:#ffffffed;border-bottom:1px solid #dedee680}.mobile-nav{background:#fffffff0;border-top:1px solid #dedee6a6}.mobile-nav .bottom-item{border-radius:14px}.mobile-nav .bottom-item.active .icon{color:var(--blue)}.mobile-nav .bottom-item:active{background:#e8e8ef}.post:not(.reel-card){border-radius:0;box-shadow:none;border-left:0;border-right:0}.feed-toolbar{background:#fff}.feed-toolbar .tabs{margin:0}.feed-toolbar .tabs button{font-size:13px;min-height:32px;padding:7px 17px}.stories{background:white;padding-top:14px;padding-bottom:14px}.chips{background:white;padding-top:9px}.post-actions button{min-width:44px;min-height:44px}.icon-button{min-width:44px;min-height:44px}dialog:not(.composer-dialog):not(.story-viewer){border-radius:22px;max-width:calc(100% - 20px)}dialog.comments-sheet{border-radius:22px 22px 0 0;max-width:100%;width:100%}.profile-card.instagram-profile{border-radius:0}.search-input-wrap{height:44px}.search-input-row{background:var(--bg)}.settings-row:active{background:#f4f4f9}.reel-card .post-media{border-radius:0}.story-viewer{border-radius:0}}
@supports(backdrop-filter:blur(10px)){@media(max-width:650px){.mobile-header,.mobile-nav{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}}
@media(prefers-reduced-transparency:reduce){.mobile-header,.mobile-nav,.sidebar{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}}

.professional-entry{margin-top:18px;border-top:1px solid #e5e5ea;padding-top:14px}.professional-entry>summary{cursor:pointer;color:var(--blue);font-size:13px;font-weight:600}.professional-entry .sso-card{margin-top:14px}.ig-profile-actions>[data-action=professional-account]{flex-basis:100%}
